Catalog npm
Back to packageRELEASE DETAILS

1.0.0-rc.22

npm

@0xsarwagya/ontoly-enhancer

Deterministic Enhancer API for immutable Ontoly Software Graph artifact transformations.

artifactscompiler-passesdeveloper-toolsenhancerontolysoftware-graphstatic-analysis
Published28 Jul 2026
Direct dependencies5
Transitive dependenciesNot calculated

README

Current package documentation

@0xsarwagya/ontoly-enhancer

Responsibility

Deterministic Enhancer API for Ontoly.

Enhancers are pure graph transformations. They consume immutable Ontoly artifacts such as SoftwareGraph and SemanticIndex, then produce versioned artifacts such as reports, diagrams, validation output, documentation, or SDK inputs.

Enhancers never parse repositories, mutate the Software Graph, or use AI.

Evidence routing is modeled as the EvidencePack artifact and evidence-pack enhancer so agents, MCP, CLI, and Workbench can share the same deterministic payload without introducing an ontoly-router package.

See the repository architecture map for package boundaries.

import {
  createEnhancerPipeline,
  createDefaultEnhancerContext,
  defineEnhancer,
} from "@0xsarwagya/ontoly-enhancer";

See docs/enhancers.md for the lifecycle, manifest format, caching model, and CLI usage.

Installation

pnpm add @0xsarwagya/ontoly-enhancer

API

  • defineEnhancer() declares deterministic graph artifact transformations.
  • runEnhancerPipeline() executes ordered enhancer DAGs.
  • Artifact registry, cache contracts, manifests, validation issues, and test helpers.

Example

import { defineEnhancer, runEnhancerPipeline } from "@0xsarwagya/ontoly-enhancer";

const enhancer = defineEnhancer({
  id: "example",
  name: "Example",
  version: "1.0.0",
  requires: [],
  produces: [],
  run: async () => ({ artifacts: [], diagnostics: [] }),
});

await runEnhancerPipeline({ enhancers: [enhancer], context });

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 5

Native requirements
5 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
@0xsarwagya/ontoly-core
Environment
{
  "local_name": "@0xsarwagya/ontoly-core",
  "alias": false,
  "peer_metadata": null
}
1.0.0-rc.22runtime
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": "5d064b0667e1437d4f417f1332cafcd5e09b8712",
  "tarball": "https://registry.npmjs.org/@0xsarwagya/ontoly-enhancer/-/ontoly-enhancer-1.0.0-rc.22.tgz",
  "fileCount": 7,
  "integrity": "sha512-SyRPkT9U8NBeLvynS4aNrOWUbDQEE5++Pv3W3xEk0BNGWq0ICc6MmgPaXXQAQn4dokuneUYDjKtnSSeXF9FU+A==",
  "signatures": [
    {
      "sig": "MEUCIQDOQZk0sG/0q6UviZhYVqjHVraOV3lHe/0dWq3Dt4NVGQIgNoaliw5PxnkVYKx+j/wGvICU9rPX0qTaNR6aE5vtsEM=",
      "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
    }
  ],
  "attestations": {
    "url": "https://registry.npmjs.org/-/npm/v1/attestations/@0xsarwagya%2fontoly-enhancer@1.0.0-rc.22",
    "provenance": {
      "predicateType": "https://slsa.dev/provenance/v1"
    }
  },
  "unpackedSize": 161846
}

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:40 UTC

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

Record identity

package_version:936455c0bf17f482c20d014aa4c71f3d3ecc54f94de7a8ec441f8978cec7e6a6

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 →