pi-mono/packages/chord/test/examples
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
..
35-plugins feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
36-plugin-failures feat(chord): reload restarts every affected object; old work finishes on old code 2026-11-05 18:07:11 +00:00
37-plugin-imports feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
38-watch-and-rollout feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
39-browser-build feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
40-http feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
41-workers feat(chord): split the worker base at dynamic imports; workers/child entry 2026-11-05 08:49:17 +01:00
42-worker-crash feat(chord): split the worker base at dynamic imports; workers/child entry 2026-11-05 08:49:17 +01:00
43-rollout feat(chord): split the worker base at dynamic imports; workers/child entry 2026-11-05 08:49:17 +01:00
44-http-wraps feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
45-plugin-socket feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
46-allowed-hosts feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
47-http-own-server feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
48-http-baseline feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
49-plugin-api feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
50-plugin-imports fix(chord): mark plugin-imports test fixture private so preview publishing skips it 2026-11-03 00:04:15 +01:00
51-single-file-plugin feat(chord): reload restarts every affected object; old work finishes on old code 2026-11-05 18:07:11 +00:00
52-test-plugin feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
53-app feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
54-app-sessions feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
55-app-export feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
56-web feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
57-tui feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
58-themes feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
59-chat feat(chord): live queries over an object's own tables (self.query) 2026-11-03 19:40:48 +00:00
60-session-sync feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
61-tutorial feat(chord): reload restarts every affected object; old work finishes on old code 2026-11-05 18:07:11 +00:00
62-telemetry feat(chord): telemetry from pages and workers stored by the server, who a span was for 2026-11-04 11:59:14 +00:00
01-objects.ts feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
02-documents.ts feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
03-derives.ts feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
04-watches.ts feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
05-errors.ts feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
06-natives.ts feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
07-failures.ts feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
08-remote.ts feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
09-calls.ts feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
10-drops.ts feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
11-linger-and-retry.ts feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
12-routes.ts feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
13-relay.ts feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
14-flow-control.ts feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
15-revocation.ts feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
16-presence-and-activity.ts feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
17-limits-and-compression.ts feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
18-routines.ts feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
19-jobs.ts feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
20-tables.ts feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
21-persisted-documents.ts feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
22-migrations.ts feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
23-keyed-watches.ts feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
24-keyed-members.ts feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
25-export-import.ts feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
28-persisted-jobs.ts feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
29-registries.ts feat(chord): mistakes that wait are reported at once 2026-11-03 07:19:52 +00:00
30-host-root.ts feat(chord): mistakes that wait are reported at once 2026-11-03 07:19:52 +00:00
31-parked-dependencies.ts feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
32-startup.ts feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
33-reload.ts feat(chord): reload restarts every affected object; old work finishes on old code 2026-11-05 18:07:11 +00:00
34-versions.ts feat(chord): Chord v2 is the package's root 2026-11-02 22:36:55 +00:00
63-optimistic-answers.ts feat(p2): Chord v2 cleanup pass 2026-11-05 18:22:13 +00:00
64-old-work.ts feat(chord): reload restarts every affected object; old work finishes on old code 2026-11-05 18:07:11 +00:00