mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
Durable publishes a stored commit inside Storage.commit's adopt: the
telemetry events, its own observers (document watches, conversation
views, task graph, scheduler, waits), and a dispatch of host
subscribeCommits listeners one microtask later, before every wait and
abort the commit triggers. A commit the storage rejects after adoption is
published before the Session fails; a throwing telemetry adapter is
reported as host_error "telemetry" instead of rejecting a durable commit.
Chord's watch listeners take one change object, { value, ops, retired }
({ value } for native watches); retirement is a flag, not an end.
Durable's document watches follow their address, and a task document's
watch ends after its retirement call. New synchronous observers for
adapters: observeDoc, observeConversation, observeTaskGraph; the watches
are built on them. The env file watcher's change type is renamed
FileChange.
|
||
|---|---|---|
| .. | ||
| 00-conversation.ts | ||
| 01-documents.ts | ||
| 02-forks.ts | ||
| 03-owned-conversations.ts | ||
| 04-watches.ts | ||
| 05-harness.ts | ||
| 06-configuration.ts | ||
| 07-harness-conversations.ts | ||
| 08-context.ts | ||
| 09-registry-reload.ts | ||
| 10-extension-state.ts | ||
| 11-tasks.ts | ||
| 12-recovery.ts | ||
| 13-chat.ts | ||
| 14-system-prompt.ts | ||
| 15-real-model.ts | ||
| 16-coding-tools.ts | ||
| 17-print.ts | ||
| 18-json.ts | ||
| 19-inbox.ts | ||
| 20-late-join.ts | ||
| 21-subagent-foreground.ts | ||
| 22-subagent-background.ts | ||
| 23-child-tasks.ts | ||
| 24-compaction.ts | ||
| 25-coding-agent.ts | ||
| 26-plan-mode.ts | ||
| 27-reviewer.ts | ||
| 28-sandbox-per-conversation.ts | ||
| 29-tool-override.ts | ||
| 30-reload-and-restart.ts | ||