Catalog npm
Back to packageRELEASE DETAILS

1.1.0-alpha.1

npm

@0xsarwagya/ontoly-cache

Local graph artifact persistence for Ontoly.

artifactscachedeveloper-toolsontolypersistencesoftware-graphstatic-analysistypescript
Published28 Jul 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.1.0-alpha.1runtime
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": "da1a2f758d0f0795050de69e0de9c29a3705fdf7",
  "tarball": "https://registry.npmjs.org/@0xsarwagya/ontoly-cache/-/ontoly-cache-1.1.0-alpha.1.tgz",
  "fileCount": 7,
  "integrity": "sha512-RWscth4ioF3N/CJYxiVQtNx0kMdwx1r9C1+hUwcavcbdo0VV1vS/ocAdzSC0kztc2E9BWOd1xvkRKuc/gBTqiw==",
  "signatures": [
    {
      "sig": "MEUCIQDN05tdkj9+8EO9/nFFLPQBVeYs19VvzC7EPN5dmy/fvwIgE6nH6zHRYoMmZcqPRZU8wkmKYmg6E1vwZftS9t1AIV4=",
      "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
    }
  ],
  "attestations": {
    "url": "https://registry.npmjs.org/-/npm/v1/attestations/@0xsarwagya%2fontoly-cache@1.1.0-alpha.1",
    "provenance": {
      "predicateType": "https://slsa.dev/provenance/v1"
    }
  },
  "unpackedSize": 57652
}

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

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 →