Catalog npm
Back to packageRELEASE DETAILS

1.3.1

npm

@0xsarwagya/ontoly-compiler

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

compilerdeveloper-toolsontolypipelinesoftware-graphstatic-analysistypescript
Published4 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.3.1runtime
@0xsarwagya/ontoly-cache
Environment
{
  "local_name": "@0xsarwagya/ontoly-cache",
  "alias": false,
  "peer_metadata": null
}
1.3.1runtime
@0xsarwagya/ontoly-diagnostics
Environment
{
  "local_name": "@0xsarwagya/ontoly-diagnostics",
  "alias": false,
  "peer_metadata": null
}
1.3.1runtime
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": "3df48c728613c5848fe61ba5542f1beda0b6e044",
  "tarball": "https://registry.npmjs.org/@0xsarwagya/ontoly-compiler/-/ontoly-compiler-1.3.1.tgz",
  "fileCount": 35,
  "integrity": "sha512-KflqZugsZCh7zEYM5O9ZaQsHb4jo+D8LR8YxqImOZc0ZkhjZK92SuSFjxymLw7Wz+uOYx7+H2yhVigbaolWK8Q==",
  "signatures": [
    {
      "sig": "MEUCIHwEdlFNgtBSuCWHjUZ+6TRLXnr0vS2ZrpHCCFdSbMhtAiEA8dk0ZgBVuH4tf1dIStQnDurYd1raLud71xhinD4PKxk=",
      "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
    }
  ],
  "attestations": {
    "url": "https://registry.npmjs.org/-/npm/v1/attestations/@0xsarwagya%2fontoly-compiler@1.3.1",
    "provenance": {
      "predicateType": "https://slsa.dev/provenance/v1"
    }
  },
  "unpackedSize": 411855
}

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:ed02cfb53dc09bca809427d3b2f75c4b3d57e01beb574842b99703812524fac7

Other collected versions

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