diff --git a/packages/cli/package.json b/packages/cli/package.json index 3616ba8..ee6562e 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,15 @@ { "name": "@ocas/cli", "version": "0.3.0", + "description": "CLI for OCAS content-addressed store", + "keywords": [ + "cas", + "cli", + "content-addressing" + ], + "engines": { + "node": ">=22.5.0" + }, "type": "module", "bin": { "ocas": "dist/index.js" diff --git a/packages/core/README.md b/packages/core/README.md index 0697055..1e8fac5 100644 --- a/packages/core/README.md +++ b/packages/core/README.md @@ -8,7 +8,7 @@ Core CAS engine — hashing, schema, store, verify, bootstrap. Other packages build on this layer: `@ocas/fs` provides persistence, and `@ocas/cli` exposes store operations on the command line. -**Dependencies:** `ajv`, `cborg`, `xxhash-wasm` +**Dependencies:** `ajv`, `cborg`, `liquidjs`, `xxhash-wasm` ## Installation @@ -32,12 +32,7 @@ type CasNode = { timestamp: number; // Unix epoch ms }; -type Store = { - put(typeHash: Hash, payload: unknown): Promise; - get(hash: Hash): CasNode | null; - has(hash: Hash): boolean; - listByType(typeHash: Hash): Hash[]; -}; +type Store = { cas: CasStore; var: VarStore; tag: TagStore; }; type JSONSchema = Record; diff --git a/packages/core/package.json b/packages/core/package.json index a250d18..78a1d8c 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,16 @@ { "name": "@ocas/core", "version": "0.3.0", + "description": "Core CAS engine — hashing, schema, store, verify, bootstrap", + "keywords": [ + "cas", + "content-addressing", + "json-schema", + "typescript" + ], + "engines": { + "node": ">=22.5.0" + }, "type": "module", "main": "./dist/index.js", "types": "./dist/index.d.ts", diff --git a/packages/fs/package.json b/packages/fs/package.json index 6e65aeb..93e60b4 100644 --- a/packages/fs/package.json +++ b/packages/fs/package.json @@ -1,6 +1,16 @@ { "name": "@ocas/fs", "version": "0.3.0", + "description": "Filesystem-backed CAS store with SQLite", + "keywords": [ + "cas", + "filesystem", + "sqlite", + "storage" + ], + "engines": { + "node": ">=22.5.0" + }, "type": "module", "main": "./dist/index.js", "types": "./dist/index.d.ts",