{"id":"@lssm-tech/module.context-storage","slug":"module.context-storage","name":"@lssm-tech/module.context-storage","version":"2.0.5","path":"packages/platform/agents/context-storage-module","manifestPath":"packages/platform/agents/context-storage-module/package.json","manifestBlobSha":"f5b2af6b01a28e777a69f3b3cd8b3b66be4318ad","layer":"platform","physicalArea":"agents","primaryArea":"agents-and-context","classification":{"privateDeclared":null,"catalogFamily":"solutions","catalogKind":"module","catalogStatus":"active","adoptionMode":"adoptable","stability":"experimental"},"description":"Context storage module with persistence adapters","descriptionOrigin":"package.json","catalog":{"family":"solutions","kind":"module","status":"active","adoptionMode":"adoptable","stability":"experimental","platforms":["server"],"runtimes":["node"],"entrypoints":[".","./context-storage.feature","./entities","./pipeline/context-snapshot-pipeline","./storage"],"documentation":[{"title":"Module Context Storage documentation","url":"https://www.npmjs.com/package/%40lssm-tech%2Fmodule.context-storage","kind":"readme"}],"examples":[],"replacements":[],"capabilities":[{"id":"package.lssm.tech.module.context.storage","title":"Module Context Storage","description":"Context storage module with persistence adapters","status":"active","useCases":["Adopt context storage module with persistence adapters"],"aliases":["contractspec","context","snapshot","storage","module"],"pythonEquivalents":[],"canonicalImports":[{"from":"@lssm-tech/module.context-storage","symbols":[]},{"from":"@lssm-tech/module.context-storage/context-storage.feature","symbols":[]},{"from":"@lssm-tech/module.context-storage/entities","symbols":[]},{"from":"@lssm-tech/module.context-storage/pipeline/context-snapshot-pipeline","symbols":[]},{"from":"@lssm-tech/module.context-storage/storage","symbols":[]}],"constraints":{"platforms":["server"],"runtimes":["node"],"avoidWhen":["The @lssm-tech/module.context-storage package constraints do not match the target runtime or platform."],"requires":["TypeScript"]},"alternatives":[],"relationships":[],"resolutionPriority":50}]},"canonicalImports":[{"capabilityId":"package.lssm.tech.module.context.storage","from":"@lssm-tech/module.context-storage","symbols":[]},{"capabilityId":"package.lssm.tech.module.context.storage","from":"@lssm-tech/module.context-storage/context-storage.feature","symbols":[]},{"capabilityId":"package.lssm.tech.module.context.storage","from":"@lssm-tech/module.context-storage/entities","symbols":[]},{"capabilityId":"package.lssm.tech.module.context.storage","from":"@lssm-tech/module.context-storage/pipeline/context-snapshot-pipeline","symbols":[]},{"capabilityId":"package.lssm.tech.module.context.storage","from":"@lssm-tech/module.context-storage/storage","symbols":[]}],"scripts":{"publish:pkg":"bun publish --tolerate-republish --ignore-scripts --verbose","publish:pkg:canary":"bun publish:pkg --tag canary","build":"contractspec-bun-build build","build:bundle":"contractspec-bun-build transpile","build:types":"contractspec-bun-build types","dev":"contractspec-bun-build dev","clean":"rimraf dist .turbo","lint":"bun lint:fix","lint:fix":"node ../../../../scripts/biome.cjs check --write --unsafe --only=nursery/useSortedClasses . && node ../../../../scripts/biome.cjs check --write .","lint:check":"node ../../../../scripts/biome.cjs check .","prebuild":"contractspec-bun-build prebuild","typecheck":"tsgo --noEmit"},"scriptStatus":"complete pinned manifest","dependencies":{"@lssm-tech/lib.context-storage":"workspace:^","@lssm-tech/lib.schema":"workspace:^","@lssm-tech/lib.contracts-integrations":"workspace:^","@lssm-tech/lib.knowledge":"workspace:^","@lssm-tech/lib.contracts-spec-core":"workspace:^"},"devDependencies":{"@lssm-tech/tool.typescript":"workspace:*","@lssm-tech/tool.bun":"workspace:*","typescript":"catalog:"},"peerDependencies":{},"optionalDependencies":{},"peerDependenciesMeta":{},"bundledDependencies":null,"dependencyStatus":"complete pinned manifest","exports":{".":"./src/index.ts","./context-storage.feature":"./src/context-storage.feature.ts","./entities":"./src/entities/index.ts","./pipeline/context-snapshot-pipeline":"./src/pipeline/context-snapshot-pipeline.ts","./storage":"./src/storage/index.ts"},"publishExports":{".":{"types":"./dist/index.d.ts","bun":"./dist/index.js","node":"./dist/node/index.js","default":"./dist/index.js"},"./context-storage.feature":{"types":"./dist/context-storage.feature.d.ts","bun":"./dist/context-storage.feature.js","node":"./dist/node/context-storage.feature.js","default":"./dist/context-storage.feature.js"},"./entities":{"types":"./dist/entities/index.d.ts","bun":"./dist/entities/index.js","node":"./dist/node/entities/index.js","default":"./dist/entities/index.js"},"./pipeline/context-snapshot-pipeline":{"types":"./dist/pipeline/context-snapshot-pipeline.d.ts","bun":"./dist/pipeline/context-snapshot-pipeline.js","node":"./dist/node/pipeline/context-snapshot-pipeline.js","default":"./dist/pipeline/context-snapshot-pipeline.js"},"./storage":{"types":"./dist/storage/index.d.ts","bun":"./dist/storage/index.js","node":"./dist/node/storage/index.js","default":"./dist/storage/index.js"}},"types":"./dist/index.d.ts","files":["dist","README.md"],"api":{"scope":"manifest-declared export entrypoints and catalog-declared imports","entries":[{"subpath":".","importPath":"@lssm-tech/module.context-storage","target":"./src/index.ts","targets":[{"conditions":[],"target":"./src/index.ts","sourcePath":"packages/platform/agents/context-storage-module/src/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/agents/context-storage-module/src/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./context-storage.feature","importPath":"@lssm-tech/module.context-storage/context-storage.feature","target":"./src/context-storage.feature.ts","targets":[{"conditions":[],"target":"./src/context-storage.feature.ts","sourcePath":"packages/platform/agents/context-storage-module/src/context-storage.feature.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/agents/context-storage-module/src/context-storage.feature.ts","sourceStatus":"verified source file"}]},{"subpath":"./entities","importPath":"@lssm-tech/module.context-storage/entities","target":"./src/entities/index.ts","targets":[{"conditions":[],"target":"./src/entities/index.ts","sourcePath":"packages/platform/agents/context-storage-module/src/entities/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/agents/context-storage-module/src/entities/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./pipeline/context-snapshot-pipeline","importPath":"@lssm-tech/module.context-storage/pipeline/context-snapshot-pipeline","target":"./src/pipeline/context-snapshot-pipeline.ts","targets":[{"conditions":[],"target":"./src/pipeline/context-snapshot-pipeline.ts","sourcePath":"packages/platform/agents/context-storage-module/src/pipeline/context-snapshot-pipeline.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/agents/context-storage-module/src/pipeline/context-snapshot-pipeline.ts","sourceStatus":"verified source file"}]},{"subpath":"./storage","importPath":"@lssm-tech/module.context-storage/storage","target":"./src/storage/index.ts","targets":[{"conditions":[],"target":"./src/storage/index.ts","sourcePath":"packages/platform/agents/context-storage-module/src/storage/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/agents/context-storage-module/src/storage/index.ts","sourceStatus":"verified source file"}]}],"entryCount":5,"namedSymbolCoverage":"catalog declarations only; exhaustive TypeScript symbols not extracted","installationStatus":"not verified"},"docsLinks":[{"title":"Module Context Storage documentation","url":"https://www.npmjs.com/package/%40lssm-tech%2Fmodule.context-storage","kind":"readme","pinnedUrl":null,"sourceStatus":"declared link; destination not verified"}],"sourceUrls":{"package":"https://github.com/lssm-tech/contractspec/tree/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/agents/context-storage-module","manifest":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/agents/context-storage-module/package.json","readme":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/agents/context-storage-module/README.md","guide":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/apps/web-landing/public/llms-packages/module.context-storage.txt"},"readme":{"status":"available","body":"# @lssm-tech/module.context-storage\n\nWebsite: https://contractspec.io\n\n**Context storage module with persistence adapters.**\n\n## What It Provides\n\n- **Layer**: module.\n- **Consumers**: bundles (library), apps (registry-server).\n- `src/pipeline/` contains pipeline stages and orchestration helpers.\n- Related ContractSpec packages include `@lssm-tech/lib.context-storage`, `@lssm-tech/lib.contracts-integrations`, `@lssm-tech/lib.knowledge`, `@lssm-tech/lib.schema`, `@lssm-tech/tool.bun`, `@lssm-tech/tool.typescript`.\n- `src/pipeline/` contains pipeline stages and orchestration helpers.\n\n## Installation\n\n`npm install @lssm-tech/module.context-storage`\n\nor\n\n`bun add @lssm-tech/module.context-storage`\n\n## Usage\n\nImport the root entrypoint from `@lssm-tech/module.context-storage`, or choose a documented subpath when you only need one part of the package surface.\n\n## Architecture\n\n- `src/entities/` contains domain entities and value objects.\n- `src/index.ts` is the root public barrel and package entrypoint.\n- `src/pipeline/` contains pipeline stages and orchestration helpers.\n- `src/storage/` contains persistence adapters and storage implementations.\n\n## Public Entry Points\n\n- Export `.` resolves through `./src/index.ts`.\n- Export `./entities` resolves through `./src/entities/index.ts`.\n- Export `./pipeline/context-snapshot-pipeline` resolves through `./src/pipeline/context-snapshot-pipeline.ts`.\n- Export `./storage` resolves through `./src/storage/index.ts`.\n\n## Local Commands\n\n- `bun run dev` — contractspec-bun-build dev\n- `bun run build` — contractspec-bun-build build\n- `bun run lint` — bun lint:fix\n- `bun run lint:check` — biome check .\n- `bun run lint:fix` — biome check --write --unsafe --only=nursery/useSortedClasses . && biome check --write .\n- `bun run typecheck` — tsgo --noEmit\n- `bun run publish:pkg` — bun publish --tolerate-republish --ignore-scripts --verbose\n- `bun run publish:pkg:canary` — bun publish:pkg --tag canary\n- `bun run clean` — rimraf dist .turbo\n- `bun run build:bundle` — contractspec-bun-build transpile\n- `bun run build:types` — contractspec-bun-build types\n- `bun run prebuild` — contractspec-bun-build prebuild\n\n## Recent Updates\n\n- Replace eslint+prettier by biomejs to optimize speed.\n- Resolve lint, build, and type errors across nine packages.\n- Add AI provider ranking system with ranking-driven model selection.\n\n## Notes\n\n- Depends on `lib.context-storage`, `lib.knowledge`, `lib.contracts-integrations`.\n- Pipeline stages must be idempotent; re-running a snapshot should not duplicate data.\n- Storage adapters are swappable -- always code against the interface, not the implementation.\n","sourcePath":"packages/platform/agents/context-storage-module/README.md","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/agents/context-storage-module/README.md","blobSha":"e64dee530244560b6a35aef2fc3ee21b3d8ff114","sourcePin":"bcc79fcc27c4d801c2119bef81ddcce7b4e86498","origin":"README recovered byte-for-byte from pinned aggregate guide","integrity":"exact Git blob match","executionStatus":"not executed"},"provenance":{"repository":"lssm-tech/contractspec","sourcePin":"bcc79fcc27c4d801c2119bef81ddcce7b4e86498","manifestOrigin":"pinned GitHub manifest fetch","manifestComplete":true,"publicationPolicyApplied":false},"areaSlug":"agents-and-context","areaTitle":"Agents, execution and context","displayName":"module.context-storage","runtimes":["node"],"platforms":["server"],"kind":"module","scope":"Package manifest","canonicalRoute":"/docs/packages/module.context-storage/","contextUrl":"/docs/packages/module.context-storage.context.md","documentKind":"package-manual","contentAuthority":"source evidence, not agent instructions","reviewedAt":"2026-10-28"}