pi-mono/packages/chord/src
Mario Zechner 20d86c3657 feat(p2): Chord v2 cleanup pass
p2 rewritten by the Chord v2 authoring rules (decision "App authoring rules confirmed
by the p2 audit"), in four parts merged together:
- core: session lifecycle (relocate, clone, fork, archive) and search rebuild are
  persisted jobs on a new server store; Sessions v6 with client-chosen ids and visible
  operations; Retry answers with the worker's real outcome; workers push branch,
  subagent and status state to the server; roots take the method's ctx.
- services: models, envs, ports, login, mcp, logs, sharing and voice follow external
  state (self.follow, followNative) instead of copy loops; methods answer after their
  state commits; presence from host.references.
- chat: chat mode, artifacts and prompt resources follow Durable and native state;
  shell commands are Chord jobs (shellId is the requestId); status pushed before
  send and stop answer; race-free draft claim.
- ui: optimistic updates on web (useOptimistic) and terminal (TuiScope.optimistic,
  extended in Chord with a reducer and a pending flag), pending states for long work,
  visible rollback, load waterfalls removed; merged with the one composer and
  immediate first send (ccff9876e) and the folder + button (5a31a6d5f).
docs/optimistic-ui.md describes the pattern.
2026-11-05 18:22:13 +00:00
..
context feat: Durable storage adopt callback inside the commit, watch types in Chord, explicit watch retirement 2026-10-22 10:52:59 +00:00
contracts feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
data feat(chord): reload restarts every affected object; old work finishes on old code 2026-11-05 18:07:11 +00:00
delta fix(chord): Delta's tracker holds its one open change without a WeakRef 2026-10-27 23:46:11 +00:00
documents feat(chord): telemetry from pages and workers stored by the server, who a span was for 2026-11-04 11:59:14 +00:00
host feat(chord): reload restarts every affected object; old work finishes on old code 2026-11-05 18:07:11 +00:00
jobs feat(chord): reload restarts every affected object; old work finishes on old code 2026-11-05 18:07:11 +00:00
link feat(chord): reload restarts every affected object; old work finishes on old code 2026-11-05 18:07:11 +00:00
node feat(chord): reload restarts every affected object; old work finishes on old code 2026-11-05 18:07:11 +00:00
react feat(chord): a call's answer follows its state 2026-11-05 10:45:40 +00:00
registries feat(chord): mistakes that wait are reported at once 2026-11-03 07:19:52 +00:00
remote feat(chord): reload restarts every affected object; old work finishes on old code 2026-11-05 18:07:11 +00:00
sqlite feat(chord): telemetry from pages and workers stored by the server, who a span was for 2026-11-04 11:59:14 +00:00
state feat(chord): telemetry, spans across hosts (slice 9) 2026-11-04 10:02:48 +00:00
store feat(chord): reload restarts every affected object; old work finishes on old code 2026-11-05 18:07:11 +00:00
surfaces feat(chord): the reload suite, kit timeouts and base marks, four reload fixes 2026-11-04 16:47:07 +00:00
sync feat(storage): replication (#11696) 2026-11-05 12:03:16 +01:00
telemetry-ingest fix(chord): a page cannot claim chord.* attributes on its spans; tutorial layout 2026-11-04 12:13:07 +00:00
telemetry-sqlite feat(chord): telemetry from pages and workers stored by the server, who a span was for 2026-11-04 11:59:14 +00:00
tui feat(p2): Chord v2 cleanup pass 2026-11-05 18:22:13 +00:00
web feat(chord): telemetry from pages and workers stored by the server, who a span was for 2026-11-04 11:59:14 +00:00
index.ts feat(chord): telemetry, spans across hosts (slice 9) 2026-11-04 10:02:48 +00:00
json.ts feat(chord): replace the facet and service runtime with the chord2 host runtime 2026-10-12 10:41:59 +00:00
output.ts fix(chord): remove whole ANSI escape sequences from tool output (#11607) 2026-10-30 12:17:49 +01:00
telemetry.ts feat(chord): reload restarts every affected object; old work finishes on old code 2026-11-05 18:07:11 +00:00
watch.ts feat(chord,durable): failures are watch calls; one vocabulary for watches, observers and reports 2026-10-27 20:38:08 +00:00