{"id":"@lssm-tech/lib.agent-collaboration","slug":"lib.agent-collaboration","name":"@lssm-tech/lib.agent-collaboration","version":"2.0.4","path":"packages/platform/agents/agent-collaboration","manifestPath":"packages/platform/agents/agent-collaboration/package.json","manifestBlobSha":"e3df823a6204e9444dc3e680e8175bbfe2794bf3","layer":"platform","physicalArea":"agents","primaryArea":"agents-and-context","classification":{"privateDeclared":null,"catalogFamily":"sharedLibs","catalogKind":"library","catalogStatus":"active","adoptionMode":"adoptable","stability":"experimental"},"description":"Tenant-safe multiplayer agent session collaboration primitives with deterministic replay.","descriptionOrigin":"package.json","catalog":{"family":"sharedLibs","kind":"library","status":"active","adoptionMode":"adoptable","stability":"experimental","platforms":["server"],"runtimes":["node"],"entrypoints":[".","./in-memory-store","./policy","./service","./state","./store","./types"],"documentation":[{"title":"Lib Agent Collaboration documentation","url":"https://www.npmjs.com/package/%40lssm-tech%2Flib.agent-collaboration","kind":"readme"}],"examples":[],"replacements":[],"capabilities":[{"id":"package.lssm.tech.lib.agent.collaboration","title":"Lib Agent Collaboration","description":"Tenant-safe multiplayer agent session collaboration primitives with deterministic replay.","status":"active","useCases":["Adopt tenant-safe multiplayer agent session collaboration primitives with deterministic replay"],"aliases":["contractspec","agents","collaboration","multiplayer","lib","agent"],"pythonEquivalents":[],"canonicalImports":[{"from":"@lssm-tech/lib.agent-collaboration","symbols":[]},{"from":"@lssm-tech/lib.agent-collaboration/in-memory-store","symbols":[]},{"from":"@lssm-tech/lib.agent-collaboration/policy","symbols":[]},{"from":"@lssm-tech/lib.agent-collaboration/service","symbols":[]},{"from":"@lssm-tech/lib.agent-collaboration/state","symbols":[]},{"from":"@lssm-tech/lib.agent-collaboration/store","symbols":[]},{"from":"@lssm-tech/lib.agent-collaboration/types","symbols":[]}],"constraints":{"platforms":["server"],"runtimes":["node"],"avoidWhen":["The @lssm-tech/lib.agent-collaboration package constraints do not match the target runtime or platform."],"requires":["TypeScript"]},"alternatives":[],"relationships":[],"resolutionPriority":50}]},"canonicalImports":[{"capabilityId":"package.lssm.tech.lib.agent.collaboration","from":"@lssm-tech/lib.agent-collaboration","symbols":[]},{"capabilityId":"package.lssm.tech.lib.agent.collaboration","from":"@lssm-tech/lib.agent-collaboration/in-memory-store","symbols":[]},{"capabilityId":"package.lssm.tech.lib.agent.collaboration","from":"@lssm-tech/lib.agent-collaboration/policy","symbols":[]},{"capabilityId":"package.lssm.tech.lib.agent.collaboration","from":"@lssm-tech/lib.agent-collaboration/service","symbols":[]},{"capabilityId":"package.lssm.tech.lib.agent.collaboration","from":"@lssm-tech/lib.agent-collaboration/state","symbols":[]},{"capabilityId":"package.lssm.tech.lib.agent.collaboration","from":"@lssm-tech/lib.agent-collaboration/store","symbols":[]},{"capabilityId":"package.lssm.tech.lib.agent.collaboration","from":"@lssm-tech/lib.agent-collaboration/types","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 .","test":"bun test","prebuild":"contractspec-bun-build prebuild","typecheck":"tsgo --noEmit"},"scriptStatus":"complete pinned manifest","dependencies":{},"devDependencies":{"@lssm-tech/tool.bun":"workspace:*","@lssm-tech/tool.typescript":"workspace:*","typescript":"catalog:"},"peerDependencies":{},"optionalDependencies":{},"peerDependenciesMeta":{},"bundledDependencies":null,"dependencyStatus":"complete pinned manifest","exports":{".":"./src/index.ts","./in-memory-store":"./src/in-memory-store.ts","./policy":"./src/policy.ts","./service":"./src/service.ts","./state":"./src/state.ts","./store":"./src/store.ts","./types":"./src/types.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"},"./in-memory-store":{"types":"./dist/in-memory-store.d.ts","browser":"./dist/browser/in-memory-store.js","bun":"./dist/in-memory-store.js","node":"./dist/node/in-memory-store.js","default":"./dist/in-memory-store.js"},"./policy":{"types":"./dist/policy.d.ts","browser":"./dist/browser/policy.js","bun":"./dist/policy.js","node":"./dist/node/policy.js","default":"./dist/policy.js"},"./service":{"types":"./dist/service.d.ts","browser":"./dist/browser/service.js","bun":"./dist/service.js","node":"./dist/node/service.js","default":"./dist/service.js"},"./state":{"types":"./dist/state.d.ts","browser":"./dist/browser/state.js","bun":"./dist/state.js","node":"./dist/node/state.js","default":"./dist/state.js"},"./store":{"types":"./dist/store.d.ts","browser":"./dist/browser/store.js","bun":"./dist/store.js","node":"./dist/node/store.js","default":"./dist/store.js"},"./types":{"types":"./dist/types.d.ts","browser":"./dist/browser/types.js","bun":"./dist/types.js","node":"./dist/node/types.js","default":"./dist/types.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/lib.agent-collaboration","target":"./src/index.ts","targets":[{"conditions":[],"target":"./src/index.ts","sourcePath":"packages/platform/agents/agent-collaboration/src/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/agents/agent-collaboration/src/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./in-memory-store","importPath":"@lssm-tech/lib.agent-collaboration/in-memory-store","target":"./src/in-memory-store.ts","targets":[{"conditions":[],"target":"./src/in-memory-store.ts","sourcePath":"packages/platform/agents/agent-collaboration/src/in-memory-store.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/agents/agent-collaboration/src/in-memory-store.ts","sourceStatus":"verified source file"}]},{"subpath":"./policy","importPath":"@lssm-tech/lib.agent-collaboration/policy","target":"./src/policy.ts","targets":[{"conditions":[],"target":"./src/policy.ts","sourcePath":"packages/platform/agents/agent-collaboration/src/policy.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/agents/agent-collaboration/src/policy.ts","sourceStatus":"verified source file"}]},{"subpath":"./service","importPath":"@lssm-tech/lib.agent-collaboration/service","target":"./src/service.ts","targets":[{"conditions":[],"target":"./src/service.ts","sourcePath":"packages/platform/agents/agent-collaboration/src/service.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/agents/agent-collaboration/src/service.ts","sourceStatus":"verified source file"}]},{"subpath":"./state","importPath":"@lssm-tech/lib.agent-collaboration/state","target":"./src/state.ts","targets":[{"conditions":[],"target":"./src/state.ts","sourcePath":"packages/platform/agents/agent-collaboration/src/state.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/agents/agent-collaboration/src/state.ts","sourceStatus":"verified source file"}]},{"subpath":"./store","importPath":"@lssm-tech/lib.agent-collaboration/store","target":"./src/store.ts","targets":[{"conditions":[],"target":"./src/store.ts","sourcePath":"packages/platform/agents/agent-collaboration/src/store.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/agents/agent-collaboration/src/store.ts","sourceStatus":"verified source file"}]},{"subpath":"./types","importPath":"@lssm-tech/lib.agent-collaboration/types","target":"./src/types.ts","targets":[{"conditions":[],"target":"./src/types.ts","sourcePath":"packages/platform/agents/agent-collaboration/src/types.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/agents/agent-collaboration/src/types.ts","sourceStatus":"verified source file"}]}],"entryCount":7,"namedSymbolCoverage":"catalog declarations only; exhaustive TypeScript symbols not extracted","installationStatus":"not verified"},"docsLinks":[{"title":"Lib Agent Collaboration documentation","url":"https://www.npmjs.com/package/%40lssm-tech%2Flib.agent-collaboration","kind":"readme","pinnedUrl":null,"sourceStatus":"declared link; destination not verified"}],"sourceUrls":{"package":"https://github.com/lssm-tech/contractspec/tree/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/agents/agent-collaboration","manifest":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/agents/agent-collaboration/package.json","readme":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/agents/agent-collaboration/README.md","guide":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/apps/web-landing/public/llms-packages/lib.agent-collaboration.txt"},"readme":{"status":"available","body":"# @lssm-tech/lib.agent-collaboration\n\nTenant-safe multiplayer agent session primitives with append-only events, CAS\nwrites, replay cursors, revocable membership, and a deterministic in-memory\nreference store.\n\nThis package owns collaboration semantics. It deliberately does not own agent\nteam execution, CRDT document state, transport authentication, or durable\nstorage. Bind those through their dedicated contracts and adapters.\n\nHigh-impact commands (`redirect`, `pause`, `resume`, and `handoff`) require an\nactive owner or operator. Membership changes require an owner, and the service\nwill not allow the final active owner to be revoked or demoted.\n\nEvery write requires an expected revision and an idempotency key. Reusing a key\nfor a different intent fails explicitly; reconnects replay ordered events with\nan `afterSequence` cursor.\n\nUse `@lssm-tech/integration.runtime/agent-platform` for authenticated transport\nand realtime signalling. Use\n`@lssm-tech/integration.agent-durable-store/postgres` for tenant-bound durable\ncollaboration events and tamper-evident audit storage. Realtime signals are\nnotifications only; durable replay remains authoritative after disconnects,\nprocess failure, or signal-provider outages.\n","sourcePath":"packages/platform/agents/agent-collaboration/README.md","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/agents/agent-collaboration/README.md","blobSha":"fce67d119891e4abcdaadac2c341ef5df196601e","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.agent-collaboration","runtimes":["node"],"platforms":["server"],"kind":"library","scope":"Package manifest","canonicalRoute":"/docs/packages/lib.agent-collaboration/","contextUrl":"/docs/packages/lib.agent-collaboration.context.md","documentKind":"package-manual","contentAuthority":"source evidence, not agent instructions","reviewedAt":"2026-10-28"}