Catalog npm
Back to packageRELEASE DETAILS

0.1.0-alpha.17

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.17runtime
@0xsarwagya/ontoly-cache
Environment
{
  "local_name": "@0xsarwagya/ontoly-cache",
  "alias": false,
  "peer_metadata": null
}
0.1.0-alpha.17runtime
@0xsarwagya/ontoly-diagnostics
Environment
{
  "local_name": "@0xsarwagya/ontoly-diagnostics",
  "alias": false,
  "peer_metadata": null
}
0.1.0-alpha.17runtime
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": "a7a6da513f66b5ee320327b766572f2ca2b31753",
  "tarball": "https://registry.npmjs.org/@0xsarwagya/ontoly-compiler/-/ontoly-compiler-0.1.0-alpha.17.tgz",
  "fileCount": 29,
  "integrity": "sha512-gb+FqjjabEVTpJiK7YLrc11BlsLtidnsnZOwOMH4yplexW7t8/je8jRYXUj5X+uN7cpzr675Gk0l31oD0uWuXw==",
  "signatures": [
    {
      "sig": "MEUCID5mliw1de0Si3VkL34eEMEZKWI+IXCMuQ250xEx24EzAiEAxAhmyRaRkWuqyq95PnHQHR8r0XcALCTaQ+SCl1Zr+7U=",
      "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:890d837ea6f49038a7de997133641d290bcd4602bdc8c941fa8e1b2fcb01bdb5

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 →