{"id":"@lssm-tech/lib.runtime-sandbox","slug":"lib.runtime-sandbox","name":"@lssm-tech/lib.runtime-sandbox","version":"5.0.5","path":"packages/platform/agents/runtime-sandbox","manifestPath":"packages/platform/agents/runtime-sandbox/package.json","manifestBlobSha":"97261e72102e415891014de6549e5edb28d48335","layer":"platform","physicalArea":"agents","primaryArea":"agents-and-context","classification":{"privateDeclared":null,"catalogFamily":"runtime","catalogKind":"library","catalogStatus":"active","adoptionMode":"adoptable","stability":"stable"},"description":"Sandboxed runtime primitives for executing governed ContractSpec workloads.","descriptionOrigin":"package.json","catalog":{"family":"runtime","kind":"library","status":"active","adoptionMode":"adoptable","stability":"stable","platforms":["server"],"runtimes":["node"],"entrypoints":["."],"documentation":[{"title":"Lib Runtime Sandbox documentation","url":"https://www.npmjs.com/package/%40lssm-tech%2Flib.runtime-sandbox","kind":"readme"}],"examples":[],"replacements":[],"capabilities":[{"id":"package.lssm.tech.lib.runtime.sandbox","title":"Lib Runtime Sandbox","description":"Sandboxed runtime primitives for executing governed ContractSpec workloads.","status":"active","useCases":["Adopt sandboxed runtime primitives for executing governed contractspec workloads"],"aliases":["lib","runtime","sandbox"],"pythonEquivalents":[],"canonicalImports":[{"from":"@lssm-tech/lib.runtime-sandbox","symbols":[]}],"constraints":{"platforms":["server"],"runtimes":["node"],"avoidWhen":["The @lssm-tech/lib.runtime-sandbox package constraints do not match the target runtime or platform."],"requires":["TypeScript"]},"alternatives":[],"relationships":[],"resolutionPriority":50}]},"canonicalImports":[{"capabilityId":"package.lssm.tech.lib.runtime.sandbox","from":"@lssm-tech/lib.runtime-sandbox","symbols":[]}],"scripts":{"publish:pkg":"bun publish --tolerate-republish --ignore-scripts --verbose","publish:pkg:canary":"bun publish:pkg --tag canary","clean":"rm -rf dist","lint":"bun run 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 .","build":"contractspec-bun-build build","build:bundle":"contractspec-bun-build transpile","build:types":"contractspec-bun-build types","dev":"contractspec-bun-build dev","prebuild":"contractspec-bun-build prebuild","typecheck":"tsgo --noEmit"},"scriptStatus":"complete pinned manifest","dependencies":{"@lssm-tech/lib.contracts-integrations":"workspace:^","@lssm-tech/lib.contracts-spec-core":"workspace:^","@lssm-tech/lib.crypto-utils":"workspace:^"},"devDependencies":{"@lssm-tech/tool.typescript":"workspace:*","typescript":"catalog:","@electric-sql/pglite":"catalog:data","drizzle-orm":"catalog:data","@types/bun":"catalog:types","@lssm-tech/tool.bun":"workspace:*","@apollo/client":"catalog:graphql","@graphql-tools/schema":"^10.1.1","graphql":"catalog:graphql"},"peerDependencies":{"@electric-sql/pglite":"catalog:data","drizzle-orm":"^0.45.2","@apollo/client":"catalog:graphql","@graphql-tools/schema":"^10.1.1","graphql":"catalog:graphql"},"optionalDependencies":{},"peerDependenciesMeta":{"@electric-sql/pglite":{"optional":true},"drizzle-orm":{"optional":true},"@apollo/client":{"optional":true},"@graphql-tools/schema":{"optional":true},"graphql":{"optional":true}},"bundledDependencies":null,"dependencyStatus":"complete pinned manifest","exports":{".":"./src/index.ts"},"publishExports":{".":{"types":"./dist/index.d.ts","browser":"./dist/browser/index.js","bun":"./dist/index.js","node":"./dist/node/index.js","default":"./dist/index.js"}},"types":"./dist/index.d.ts","files":["src","dist"],"api":{"scope":"manifest-declared export entrypoints and catalog-declared imports","entries":[{"subpath":".","importPath":"@lssm-tech/lib.runtime-sandbox","target":"./src/index.ts","targets":[{"conditions":[],"target":"./src/index.ts","sourcePath":"packages/platform/agents/runtime-sandbox/src/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/agents/runtime-sandbox/src/index.ts","sourceStatus":"verified source file"}]}],"entryCount":1,"namedSymbolCoverage":"catalog declarations only; exhaustive TypeScript symbols not extracted","installationStatus":"not verified"},"docsLinks":[{"title":"Lib Runtime Sandbox documentation","url":"https://www.npmjs.com/package/%40lssm-tech%2Flib.runtime-sandbox","kind":"readme","pinnedUrl":null,"sourceStatus":"declared link; destination not verified"}],"sourceUrls":{"package":"https://github.com/lssm-tech/contractspec/tree/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/agents/runtime-sandbox","manifest":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/agents/runtime-sandbox/package.json","readme":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/agents/runtime-sandbox/README.md","guide":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/apps/web-landing/public/llms-packages/lib.runtime-sandbox.txt"},"readme":{"status":"available","body":"# @lssm-tech/lib.runtime-sandbox\n\n**Browser-compatible database abstraction built on PGLite for client-side SQL execution.**\n\n## What It Provides\n\n- **Layer**: lib.\n- **Consumers**: bundles, apps.\n- `src/adapters/` contains runtime, provider, or environment-specific adapters.\n- Related ContractSpec packages include `@lssm-tech/tool.bun`, `@lssm-tech/tool.typescript`.\n- `src/adapters/` contains runtime, provider, or environment-specific adapters.\n\n## Installation\n\n`npm install @lssm-tech/lib.runtime-sandbox`\n\nor\n\n`bun add @lssm-tech/lib.runtime-sandbox`\n\n## Usage\n\nImport the root entrypoint from `@lssm-tech/lib.runtime-sandbox`, or choose a documented subpath when you only need one part of the package surface.\n\n## Architecture\n\n- `src/adapters/` contains runtime, provider, or environment-specific adapters.\n- `src/index.ts` is the root public barrel and package entrypoint.\n- `src/ports` is part of the package's public or composition surface.\n- `src/types` is part of the package's public or composition surface.\n- `src/web` is part of the package's public or composition surface.\n\n## Public Entry Points\n\n- Export `.` resolves through `./src/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 run 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` — rm -rf dist\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\n## Notes\n\n- DatabasePort interface is the adapter boundary — consumers depend on the port, not the implementation.\n- PGLite adapter must stay browser-compatible (no Node-only APIs).\n- Migration schema must remain stable — breaking changes require a migration path.\n","sourcePath":"packages/platform/agents/runtime-sandbox/README.md","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/agents/runtime-sandbox/README.md","blobSha":"70f75ffef1696d5d8b075ca52420b328508547b5","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":"lib.runtime-sandbox","runtimes":["node"],"platforms":["server"],"kind":"library","scope":"Package manifest","canonicalRoute":"/docs/packages/lib.runtime-sandbox/","contextUrl":"/docs/packages/lib.runtime-sandbox.context.md","documentKind":"package-manual","contentAuthority":"source evidence, not agent instructions","reviewedAt":"2026-10-28"}