pi-mono/packages/server/src
Mario Zechner 48dd1e2f0f feat(coding-agent): port the experimental client/server to pi-durable
Session workers now host a durable Harness over a per-session sqlite storage.
The server keeps each session in <sessionDir>/<id>/ with meta.json and
session.sqlite and never opens the storage itself. Workers hold retirement
while the Harness task graph has live tasks and resume interrupted work on
open.

Transcript serves the root conversation's durable view directly, Models
follows the conversation's agent document, and AgentController maps prompt,
steer, follow-up, queue cancellation, abort, and compaction onto the root
conversation, plus waitForPrompt. navigate, nextRun, and resume are dropped
(see experimental/services/README.md TODO). The durable TUI and the worker
share harness-setup.ts.

pi-server exports its own SessionMetadata and no longer depends on
pi-agent-core. Chord accepts readonly JSON types in service contracts without
walking them, which recursive JSON types like pi-ai's made too deep.
2026-10-01 14:45:01 +02:00
..
testing feat(coding-agent): port the experimental client/server to pi-durable 2026-10-01 14:45:01 +02:00
transports/unix feat(coding-agent): port the experimental client/server to pi-durable 2026-10-01 14:45:01 +02:00
connection.ts feat: move service wire semantics into Chord 2026-09-01 00:53:40 +02:00
errors.ts feat: remove experimental compatibility shims 2026-09-01 10:09:01 +02:00
index.ts feat: rename service IDs to server IDs 2026-08-14 23:25:56 +02:00
listener.ts feat(agent): remove pi prefixes from client and server APIs 2026-08-20 10:51:04 +02:00
server.ts feat(coding-agent): port the experimental client/server to pi-durable 2026-10-01 14:45:01 +02:00
session-router.ts feat(coding-agent): port the experimental client/server to pi-durable 2026-10-01 14:45:01 +02:00
types.ts feat(coding-agent): port the experimental client/server to pi-durable 2026-10-01 14:45:01 +02:00