Catalog npm
Back to packageRELEASE DETAILS

1.2.0

npm

@0xsarwagya/ontoly-compiler

Repository discovery, graph build pipeline, and watch mode for Ontoly.

compilerdeveloper-toolsontolypipelinesoftware-graphstatic-analysistypescript
Published1 Aug 2026
Direct dependencies7
Transitive dependenciesNot calculated

README

Current package documentation

@0xsarwagya/ontoly-compiler

Responsibility

@0xsarwagya/ontoly-compiler owns repository discovery, compiler context, pipeline execution, graph construction, build-time validation hooks, and watch coordination. Language-specific frontends emit into compiler contracts; the compiler does not own CLI UX, MCP transport, or high-level capability workflows.

See the repository architecture map for package boundaries.

Installation

pnpm add @0xsarwagya/ontoly-compiler

API

  • buildSoftwareGraph(options) compiles a repository to a Software Graph.
  • Compiler context, passes, pipeline stages, graph builder, and validation hooks.
  • Incremental graph and frontend-product snapshots with exact source invalidation.
  • Per-stage progress, timing, and bounded deterministic task execution.
  • JavaScript/TypeScript incremental-builder reuse for watch mode and resident runners.
  • defaultCompilerPasses() for the standard deterministic pipeline.

Example

import { buildSoftwareGraphWithArtifacts } from "@0xsarwagya/ontoly-compiler";

const result = await buildSoftwareGraphWithArtifacts({
  root: process.cwd(),
  mode: "incremental",
  cache: true,
  workers: 8,
  onProgress: ({ stage, phase }) => console.log(stage, phase),
});

console.log(result.cache.hit, result.profile.durationMs);

Status

Stable v1.0.0 package. Public contracts are governed by the Software Graph specification and RFC process.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 7

Native requirements
7 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
@0xsarwagya/ontoly-core
Environment
{
  "local_name": "@0xsarwagya/ontoly-core",
  "alias": false,
  "peer_metadata": null
}
1.2.0runtime
@0xsarwagya/ontoly-cache
Environment
{
  "local_name": "@0xsarwagya/ontoly-cache",
  "alias": false,
  "peer_metadata": null
}
1.2.0runtime
@0xsarwagya/ontoly-diagnostics
Environment
{
  "local_name": "@0xsarwagya/ontoly-diagnostics",
  "alias": false,
  "peer_metadata": null
}
1.2.0runtime
tsup
Environment
{
  "local_name": "tsup",
  "alias": false,
  "peer_metadata": null
}
^8.3.5development
vitest
Environment
{
  "local_name": "vitest",
  "alias": false,
  "peer_metadata": null
}
^3.0.0development
typescript
Environment
{
  "local_name": "typescript",
  "alias": false,
  "peer_metadata": null
}
5.9.2development
@types/node
Environment
{
  "local_name": "@types/node",
  "alias": false,
  "peer_metadata": null
}
^22.15.3development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "bb7763c5ef7fc2ad24d40053c0ec50979a728f19",
  "tarball": "https://registry.npmjs.org/@0xsarwagya/ontoly-compiler/-/ontoly-compiler-1.2.0.tgz",
  "fileCount": 35,
  "integrity": "sha512-gszeYE23jqADHf+cx0ga+Gn/eV8Wzcwa/LXfur8NmrT5l4SpKLxQI9253GZjqcbWz9k61God7fljAfpD/o0NIA==",
  "signatures": [
    {
      "sig": "MEYCIQDwiXTacX9kYGONzKBhEu/az8VO6kQ5vGz3ChcTXgaRuQIhAIbR2Azvp4D9oYOh6A4t08sMt2hjYTRLLbGXnlM9GNsj",
      "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
    }
  ],
  "attestations": {
    "url": "https://registry.npmjs.org/-/npm/v1/attestations/@0xsarwagya%2fontoly-compiler@1.2.0",
    "provenance": {
      "predicateType": "https://slsa.dev/provenance/v1"
    }
  },
  "unpackedSize": 356576
}

Repository

PENDING
0xsarwagya/ontoly

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 09:39 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:583fbda8e4d435894351f8c71becae202ca6d3832b975aab9b2510d043b2e281

Other collected versions

1.3.57 Oct1.3.47 Oct1.3.34 Aug1.3.24 Aug1.3.14 Aug1.3.03 AugView all collected versions →