Catalog npm
Back to packageRELEASE DETAILS

0.1.0-alpha.13

npm

@0xsarwagya/ontoly-cache

Local graph artifact persistence for Ontoly.

artifactscachedeveloper-toolsontolypersistencesoftware-graphstatic-analysistypescript
Published14 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
}
0.1.0-alpha.13runtime
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": "7169bbfbb716c83e568d4926cc079548f3540568",
  "tarball": "https://registry.npmjs.org/@0xsarwagya/ontoly-cache/-/ontoly-cache-0.1.0-alpha.13.tgz",
  "fileCount": 7,
  "integrity": "sha512-p7ayo7sqJoNfbBiAgDfTfF4GH0yr/T0IMFQZ1j9MOtuF02U1SbBdok6LSCMVd6R4Zf8oGH7lUqtlQ7WCdAie9Q==",
  "signatures": [
    {
      "sig": "MEQCIEU0berEoE/EbLKCBFwmWzP9Lq76W2JvPR6Tg4iTGcpNAiBdklq5nmqii7XTLQTvk+WNen+DoIHTYCxOktQBkPk/Ig==",
      "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
    }
  ],
  "unpackedSize": 18167
}

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:77009120a2e769309240c219beecd946f62258eae129bcb3932a8a8d5e61a10e

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 →