pi-mono/apps/p2/plugins
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
..
agent feat(p2): tools declare who may call them and where, turn origin from the run's inputs, agents give their own tools 2026-11-04 23:28:14 +00:00
artifacts feat(p2): Chord v2 cleanup pass 2026-11-05 18:22:13 +00:00
chat feat(p2): Chord v2 cleanup pass 2026-11-05 18:22:13 +00:00
chat-mode feat(p2): Chord v2 cleanup pass 2026-11-05 18:22:13 +00:00
codemode feat(p2): Chord v2 cleanup pass 2026-11-05 18:22:13 +00:00
coding-tools feat(p2): subagent messages start with a <sender kind="subagent"> block instead of a [subagent …] line 2026-11-05 07:23:22 +00:00
conversations feat(p2): Chord v2 cleanup pass 2026-11-05 18:22:13 +00:00
dev-tools feat(p2): tools declare who may call them and where, turn origin from the run's inputs, agents give their own tools 2026-11-04 23:28:14 +00:00
devices feat(p2): Chord v2 cleanup pass 2026-11-05 18:22:13 +00:00
drafts feat(p2): Chord v2 cleanup pass 2026-11-05 18:22:13 +00:00
envs feat(p2): Chord v2 cleanup pass 2026-11-05 18:22:13 +00:00
file-index feat(p2): Chord v2 cleanup pass 2026-11-05 18:22:13 +00:00
files feat: add apps/p2 (imported from pi-private at 7dadff697) 2026-11-03 13:39:06 +00:00
history feat(p2): Chord v2 cleanup pass 2026-11-05 18:22:13 +00:00
locations feat(p2): Chord v2 cleanup pass 2026-11-05 18:22:13 +00:00
login feat(p2): Chord v2 cleanup pass 2026-11-05 18:22:13 +00:00
logs feat(p2): Chord v2 cleanup pass 2026-11-05 18:22:13 +00:00
mcp feat(p2): Chord v2 cleanup pass 2026-11-05 18:22:13 +00:00
models feat(p2): Chord v2 cleanup pass 2026-11-05 18:22:13 +00:00
ports feat(p2): Chord v2 cleanup pass 2026-11-05 18:22:13 +00:00
powershell feat(p2): Chord v2 cleanup pass 2026-11-05 18:22:13 +00:00
prompt feat(p2): Chord v2 cleanup pass 2026-11-05 18:22:13 +00:00
proxy-marker feat: add apps/p2 (imported from pi-private at 7dadff697) 2026-11-03 13:39:06 +00:00
quiet-tools feat(p2): quiet-tools plugin and plugin settings in the TUI 2026-11-04 14:55:06 +01:00
radius feat: add apps/p2 (imported from pi-private at 7dadff697) 2026-11-03 13:39:06 +00:00
search feat(p2): Chord v2 cleanup pass 2026-11-05 18:22:13 +00:00
send-file feat: add apps/p2 (imported from pi-private at 7dadff697) 2026-11-03 13:39:06 +00:00
sessions feat(p2): Chord v2 cleanup pass 2026-11-05 18:22:13 +00:00
sharing feat(p2): Chord v2 cleanup pass 2026-11-05 18:22:13 +00:00
status feat(p2): Chord v2 cleanup pass 2026-11-05 18:22:13 +00:00
subagents feat(p2): Chord v2 cleanup pass 2026-11-05 18:22:13 +00:00
terminals feat(p2): Chord v2 cleanup pass 2026-11-05 18:22:13 +00:00
tree feat(p2): Chord v2 cleanup pass 2026-11-05 18:22:13 +00:00
voice feat(p2): Chord v2 cleanup pass 2026-11-05 18:22:13 +00:00
web-shell feat: add apps/p2 (imported from pi-private at 7dadff697) 2026-11-03 13:39:06 +00:00
workspace feat(p2): Chord v2 cleanup pass 2026-11-05 18:22:13 +00:00