Commit graph

169 commits

Author SHA1 Message Date
Armin Ronacher
1382777ed8 fix(coding-agent): keep remote harness dependencies development-only
Separate stable and development entrypoints, exclude remote harness code from distributions, and verify isolated consumer installs before release. Fixes #9132.
2026-09-05 12:45:04 +02:00
Anton Geraschenko
c505f4c198
fix(tui): remove coding-agent config reads from pi-tui
Fixes #8698
2026-09-03 11:59:14 +02:00
Armin Ronacher
d3697e65ca feat(coding-agent): simplify experimental services and CLI 2026-08-30 22:51:00 +02:00
Armin Ronacher
429f4e756c feat: add package-based facet plugins
Bundle declarative plugin packages with Chord and load fresh generations. Scope client selections to persisted Session and TUI branches, and replace stale local server generations after protocol changes.
2026-08-30 22:05:12 +02:00
Cristina Poncela Cubeiro
758a0ee9b7 Merge branch 'main' into dev
# Conflicts:
#	packages/agent/CHANGELOG.md
#	packages/ai/scripts/generate-models.ts
#	packages/ai/src/providers/cloudflare-ai-gateway.ts
#	packages/ai/test/zai-coding-plan-models.test.ts
#	packages/coding-agent/src/modes/interactive/interactive-mode.ts
#	packages/tui/src/tui-alt-screen.ts
2026-08-28 13:19:43 +02:00
Armin Ronacher
1d0d110ab4 feat(coding-agent): connect experimental sessions through Radius 2026-08-28 02:09:53 +02:00
Armin Ronacher
4bd9438e5d feat(coding-agent): run experimental client as direct chat
Replace raw Harness and Chat service exposure with AgentController and replicated lane state. Start directly in new or resumed sessions and persist model selection.
2026-08-27 17:19:51 +02:00
Armin Ronacher
e86823096c feat(tui): add terminal capability overrides closes #8665 2026-08-26 17:40:36 +02:00
Armin Ronacher
c399e34658 feat: merge main into dev 2026-08-24 13:13:03 +02:00
Armin Ronacher
80e62761f7
feat(coding-agent): add optional PowerShell tool (#8512) 2026-08-24 12:27:03 +02:00
David Brailovsky
8798b7996d Merge remote-tracking branch 'origin/main' into dev 2026-08-24 07:50:17 +00:00
Armin Ronacher
62bcbf6be0 docs(coding-agent): document -- end-of-options delimiter 2026-08-23 00:01:33 +02:00
Armin Ronacher
74786a748f fix(coding-agent): support -- end-of-options, closes #7269 2026-08-22 23:16:40 +02:00
David Brailovsky
d94e521baa Merge remote-tracking branch 'origin/main' into dev 2026-08-20 09:20:25 +02:00
Armin Ronacher
1355cd36e0 fix(coding-agent): normalize UTF-8 BOMs in text inputs
closes #8337
2026-08-19 14:11:02 +02:00
Armin Ronacher
8065eeb486 Merge branch 'main' into dev 2026-08-17 23:46:11 +02:00
Armin Ronacher
b82a374c7d fix(coding-agent): reduce redundant slow tests 2026-08-17 22:57:18 +02:00
Armin Ronacher
b26fcee7f7 feat(coding-agent): create sessions for remote prompts 2026-08-17 10:53:56 +02:00
Christian Klotz
e761b0d0fd
feat(coding-agent): add one-shot remote prompts 2026-08-17 02:09:46 +03:00
Christian Klotz
a8f856a9a0
feat(coding-agent): configure remote session workers 2026-08-17 01:25:40 +03:00
Christian Klotz
33dac36236
feat(coding-agent): move experimental runtime outside CLI
Keep command parsing under cli/experimental and adapt missing model identities to the current Harness shape.
2026-08-16 22:53:32 +03:00
Christian Klotz
a5612a267e
feat: prompt attached remote sessions 2026-08-16 22:32:21 +03:00
Christian Klotz
9d3cba0274
feat(coding-agent): simplify experimental server runtime 2026-08-16 22:32:21 +03:00
Armin Ronacher
65ec9453bc feat(coding-agent): add demand-driven experimental servers 2026-08-16 09:56:49 +02:00
Armin Ronacher
312c5bd700 fix(coding-agent): launch internal processes portably 2026-08-15 15:51:37 +02:00
Armin Ronacher
9ad77a2c6b fix: remove redundant hidden Unix socket entries 2026-08-15 12:26:28 +02:00
Armin Ronacher
5876bc49f9 feat(coding-agent): isolate coordinators by server ID 2026-08-15 12:20:05 +02:00
Armin Ronacher
d96144c6a3 feat(coding-agent): make server directory configurable
Place the server profile and all Unix sockets under PI_SERVER_DIR, defaulting to ~/.pi/server. Keep test sockets isolated through the same override.
2026-08-15 12:06:59 +02:00
Armin Ronacher
8dce5da769 feat(coding-agent): coordinate replaceable servers and workers
Keep the stable socket in an opaque detached coordinator while server processes own detached worker discovery and lifecycle. Remove the public drain RPC in favor of server replacement through coordinator routing.
2026-08-15 11:49:53 +02:00
Christian Klotz
b35b4e0e48
feat(coding-agent): host durable sessions in workers 2026-08-15 01:09:57 +03:00
Christian Klotz
95d74e8c6b
feat(server): pass session metadata to harness hosts 2026-08-15 01:08:12 +03:00
Christian Klotz
ef93d9292e
feat(coding-agent): configure experimental server session directory 2026-08-15 01:05:27 +03:00
Armin Ronacher
80b6797c92 feat: rename service IDs to server IDs
Use canonical lowercase UUIDv4 serialization and generate launcher IDs with randomUUID().
2026-08-14 23:25:56 +02:00
Christian Klotz
9fcaac9b1a
fix: use bounded runtime paths for Unix sockets 2026-08-14 17:02:03 +03:00
Christian Klotz
6b3fb49dd9
feat: add fail-fast server generation replacement 2026-08-14 13:40:55 +03:00
David Brailovsky
09fb0d157e Merge remote-tracking branch 'origin/main' into dev 2026-08-14 10:25:49 +00:00
Anders Bech Mellson
ab0dc51fcf
fix(coding-agent): use APP_NAME in user-facing messages (#8067)
APP_NAME is derived from piConfig.name so a rebranded distribution shows
its own name, and roughly 90 call sites already use it. Twelve
user-facing strings hardcoded "pi" instead, so those messages named the
upstream binary regardless of piConfig.name:

- the trust project folder prompt
- "Restart pi for this to take effect." after a saved trust decision
- the "Start without extensions" hint on an extension load failure
- the invalid session file error
- the executable location in the self-update-unavailable notice
- the three auth command usage strings and the unknown auth command
  error, which are printed next to `${APP_NAME} --help` in main.ts and
  so contradicted it
- "is configured outside pi." in the provider setup dialog
- the uncaughtException line

Output is unchanged for pi itself: piConfig has no name, so APP_NAME
falls back to "pi".
2026-08-14 11:26:20 +02:00
Christian Klotz
17fd502621
feat(coding-agent): host sessions in child processes
Track worker startup, shutdown, and unexpected exits through hosted Harness handles. Rename PiServerService to PiServerHost.
2026-08-14 10:16:11 +03:00
Christian Klotz
e2888c4a93
feat(coding-agent): add local list and attach demo 2026-08-14 00:36:33 +03:00
Ramiz Wachtler
9795d60230
feat(coding-agent): add per-run theme selection (#7722)
- add `--use-theme` for fixed and terminal-aware theme pairs
- keep invocation state non-persistent until an explicit selection
- preserve active themes across previews, reloads, and HTML exports
2026-08-12 16:25:38 +02:00
Armin Ronacher
a261366bde feat(coding-agent): add auth preflight
closes #7152
2026-08-06 19:43:52 +02:00
Armin Ronacher
5446cd7545 feat(coding-agent): rename UI mode to TUI mode 2026-08-05 22:56:58 +02:00
Mario Zechner
fed6009cc9 fix(coding-agent): make model refresh cancellation caller-owned
Add generation-safe catalog publication, cancellable auth and storage operations, locally consistent credential mutations, and cache-first interactive model flows.
2026-08-04 00:03:52 +02:00
Armin Ronacher
c72728bc1a fix(coding-agent): remove obsolete --alt shortcut 2026-08-03 19:00:35 +02:00
David Brailovsky
c1019d9202 feat(ai): add Baseten provider
Closes #7405
2026-08-03 14:33:21 +02:00
Christian Klotz
1ee411a282
feat(coding-agent): compose experimental CLI commands 2026-08-02 11:50:56 +03:00
Christian Klotz
15b6617fac
fix(coding-agent): preserve existing CLI option values 2026-08-01 23:16:30 +03:00
Christian Klotz
b0944d75cf
fix(coding-agent): validate Unix transport URLs 2026-08-01 23:16:30 +03:00
Christian Klotz
c2923b641c
refactor(coding-agent): simplify experimental command names 2026-08-01 23:16:30 +03:00
Christian Klotz
68ad320af1
refactor(coding-agent): model experimental CLI commands 2026-08-01 23:16:30 +03:00