Catalog npm
PACKAGE EXPLORERView in registry

@0xsarwagya/ontoly-cache

npm

Local graph artifact persistence for Ontoly.

artifactscachedeveloper-toolsontolypersistencesoftware-graphstatic-analysistypescript
Versions collected27
Direct dependencies4From release 1.3.5
Last observed21 Oct, 09:39 UTC

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.

Versions 27

Collected releases
VersionPublishedDirect dependenciesOpen version
1.3.5Registry latest7 Oct 20264
1.3.47 Oct 20264
1.3.34 Aug 20264
1.3.24 Aug 20264
1.3.14 Aug 20264
1.3.03 Aug 20264
1.2.01 Aug 20264
1.1.029 Jul 20264
1.1.0-alpha.229 Jul 20264
1.1.0-alpha.128 Jul 20264
1.0.028 Jul 20264
1.0.0-rc.2228 Jul 20264
1.0.0-rc.2128 Jul 20264
1.0.0-rc.2028 Jul 20264
1.0.0-rc.517 Jul 20264
1.0.0-rc.315 Jul 20264
1.0.0-rc.215 Jul 20264
0.1.0-alpha.1915 Jul 20264
0.1.0-alpha.1815 Jul 20264
0.1.0-alpha.1715 Jul 20264

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

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:7754f5e2494929f226f9d1145ce32ba719e8f98d79f01342e2d63600877de46b