Catalog npm
Back to packageRELEASE DETAILS

1.3.0

npm

@0xsarwagya/ontoly-cache

Local graph artifact persistence for Ontoly.

artifactscachedeveloper-toolsontolypersistencesoftware-graphstatic-analysistypescript
Published3 Aug 2026
Direct dependencies4
Transitive dependenciesNot calculated

README

Current package documentation

@0xsarwagya/ontoly-cache

Responsibility

@0xsarwagya/ontoly-cache reads and writes local graph artifacts, indexes, and cache metadata. It does not decide artifact meaning, perform graph construction, run queries, or expose user-facing commands.

See the repository architecture map for package boundaries.

Installation

pnpm add @0xsarwagya/ontoly-cache

API

  • persistGraph(graph, options) writes canonical graph artifacts.
  • loadGraph(options) reads graph artifacts from disk.
  • loadOrCreateSemanticIndex(options) loads or derives the Semantic Index.
  • persistCompilerSnapshot(graph, options, manifest, products) atomically commits the reusable graph and frontend products, then the manifest that manifest(productsDigest) returns, last. loadCompilerProductsWithDigest reads the products back with the sha256 of their file.

Example

import { loadGraph } from "@0xsarwagya/ontoly-cache";

const graph = await loadGraph({ root: process.cwd(), directory: ".ontoly" });

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 4

Native requirements
4 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
@0xsarwagya/ontoly-core
Environment
{
  "local_name": "@0xsarwagya/ontoly-core",
  "alias": false,
  "peer_metadata": null
}
1.3.0runtime
tsup
Environment
{
  "local_name": "tsup",
  "alias": false,
  "peer_metadata": null
}
^8.3.5development
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": "d2277d7e03fdb6c70e10c7e1ec956de7da825417",
  "tarball": "https://registry.npmjs.org/@0xsarwagya/ontoly-cache/-/ontoly-cache-1.3.0.tgz",
  "fileCount": 7,
  "integrity": "sha512-N2PGh/FKansgiSrFnz/VYOX9WOKvMcgRJ2nrTVjQbYqm2T51PGXQ8mT5Uf1LeBYqlkdZThcgZeGnybw3EPafXA==",
  "signatures": [
    {
      "sig": "MEUCIGYmb+EkR8n+/J4T7eCbdpW6EWtVEgEhQ5TqZlM1DKSpAiEAjiBuEOaAu7snPXwxCXNgsFD9suHqKWlR0C6tMI71QT4=",
      "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
    }
  ],
  "attestations": {
    "url": "https://registry.npmjs.org/-/npm/v1/attestations/@0xsarwagya%2fontoly-cache@1.3.0",
    "provenance": {
      "predicateType": "https://slsa.dev/provenance/v1"
    }
  },
  "unpackedSize": 57610
}

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:413cf672e413747cc0ab954cce6500efdefe86f92fce33f8bec45db09d2bffbb

Other collected versions

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