Catalog npm
Back to packageRELEASE DETAILS

0.1.0-alpha.18

npm

@0xsarwagya/ontoly-compiler

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

compilerdeveloper-toolsontolypipelinesoftware-graphstatic-analysistypescript
Published15 Jul 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
}
0.1.0-alpha.18runtime
@0xsarwagya/ontoly-cache
Environment
{
  "local_name": "@0xsarwagya/ontoly-cache",
  "alias": false,
  "peer_metadata": null
}
0.1.0-alpha.18runtime
@0xsarwagya/ontoly-diagnostics
Environment
{
  "local_name": "@0xsarwagya/ontoly-diagnostics",
  "alias": false,
  "peer_metadata": null
}
0.1.0-alpha.18runtime
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": "aafa5628ae9c1069defefaf7999b464d3341395b",
  "tarball": "https://registry.npmjs.org/@0xsarwagya/ontoly-compiler/-/ontoly-compiler-0.1.0-alpha.18.tgz",
  "fileCount": 29,
  "integrity": "sha512-Rci5mnbX9usABwsMXx3p5FvJptjj2uF1mapxLxbxXDOEobNlXwK58A+LUM+V6RQNRyZv6LRQvMbAZ0KgzkKoyw==",
  "signatures": [
    {
      "sig": "MEUCICAgpa8KeSVX7DUtZ+EV7AoQsQpWp5AVAmaJS46N09ATAiEAid8+i36XtA54kZ++qwGjSdKzMGEKAJVsz6t83rYNq+M=",
      "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
    }
  ],
  "unpackedSize": 210265
}

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

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 →