lib.agent-collaboration
Tenant-safe multiplayer agent session collaboration primitives with deterministic replay.
@lssm-tech/lib.agent-collaborationbun add @lssm-tech/lib.agent-collaborationManifest declarations describe the current workspace; they do not verify registry publication or runtime execution.
Package guide
Tenant-safe multiplayer agent session primitives with append-only events, CAS writes, replay cursors, revocable membership, and a deterministic in-memory reference store.
This package owns collaboration semantics. It deliberately does not own agent team execution, CRDT document state, transport authentication, or durable storage. Bind those through their dedicated contracts and adapters.
High-impact commands (redirect, pause, resume, and handoff) require an active owner or operator. Membership changes require an owner, and the service will not allow the final active owner to be revoked or demoted.
Every write requires an expected revision and an idempotency key. Reusing a key for a different intent fails explicitly; reconnects replay ordered events with an afterSequence cursor.
Use @lssm-tech/integration.runtime/agent-platform for authenticated transport and realtime signalling. Use @lssm-tech/integration.agent-durable-store/postgres for tenant-bound durable collaboration events and tamper-evident audit storage. Realtime signals are notifications only; durable replay remains authoritative after disconnects, process failure, or signal-provider outages.
Relationships
Arrows point from a package to its direct dependency. Counts are derived from captured workspace manifests.
0 declarations
No Runtime dependencies are declared here.
Declared capabilities
Tenant-safe multiplayer agent session collaboration primitives with deterministic replay.
Scripts
publish:pkgbun publish --tolerate-republish --ignore-scripts --verbosepublish:pkg:canarybun publish:pkg --tag canarybuildcontractspec-bun-build buildbuild:bundlecontractspec-bun-build transpilebuild:typescontractspec-bun-build typesdevcontractspec-bun-build devcleanrimraf dist .turbolintbun lint:fixlint:fixnode ../../../../scripts/biome.cjs check --write --unsafe --only=nursery/useSortedClasses . && node ../../../../scripts/biome.cjs check --write .lint:checknode ../../../../scripts/biome.cjs check .testbun testprebuildcontractspec-bun-build prebuildtypechecktsgo --noEmit