Commit Graph
5774 Commits
Author SHA1 Message Date
Armin Ronacher 7edcfe25e4 Merge branch 'main' into dev 2026-08-14 12:45:57 +02:00
Armin Ronacher c36552212e agents: Adjust rules for changelog entries 2026-08-14 12:45:26 +02:00
David Brailovsky 3d93ae29b9 refactor(agent): extract memory fork content selection 2026-08-14 12:43:13 +02:00
Christian Klotz 6b3fb49dd9 feat: add fail-fast server generation replacement 2026-08-14 13:40:55 +03:00
Vegard Stikbakke 4a92eb61a7 docs(agent): document session repository benchmarks 2026-08-14 12:39:18 +02:00
Vegard Stikbakke 0537b2f702 feat(agent): benchmark session repository forks 2026-08-14 12:38:11 +02:00
David Brailovsky c09fb2041c docs(agent): document session fork options 2026-08-14 12:34:52 +02:00
David Brailovsky d46aaa5f1c fix(agent): narrow memory fork lane leaf registers type-safely 2026-08-14 12:30:48 +02:00
David Brailovsky 09fb0d157e Merge remote-tracking branch 'origin/main' into dev 2026-08-14 10:25:49 +00:00
Vegard Stikbakke 48e4ef1f5d feat(agent): share session benchmark infrastructure 2026-08-14 12:17:40 +02:00
Vegard Stikbakke 7b8ee7a3f5 feat(agent): add session repository catalog benchmark 2026-08-14 12:17:40 +02:00
David Brailovsky 4f069996d4 refactor(agent): extract memory fork source validation 2026-08-14 12:16:23 +02:00
David Brailovsky 0e0021fbbe Add [Unreleased] section for next cycle 2026-08-14 12:00:04 +02:00
David Brailovsky 914cf1472e Release v0.84.2 v0.84.2 2026-08-14 12:00:00 +02:00
David Brailovsky 9b4adc823f docs: audit changelogs since v0.84.1 2026-08-14 09:50:22 +00:00
David Brailovsky d10c974b94 docs: audit changelogs since v0.84.1 2026-08-14 11:47:05 +02:00
Panoplosand富永 誠 4caa3c440b fix(tui): route selection copy through the host clipboard (#8110)
TuiAltScreen.copySelectionToClipboard() wrote a bare OSC 52 sequence and
flashed "Copied!" unconditionally. Terminals that ignore OSC 52 clipboard
writes (macOS Terminal.app, VTE terminals, tmux without OSC 52 passthrough)
left the system clipboard untouched while the toast reported success.

Add an injectable copySelection option to TuiAltScreenOptions (an async
handler returning whether the copy succeeded) and use it when provided,
falling back to the existing OSC 52 write otherwise. The coding agent now
injects its native clipboard implementation (clipboard addon + pbcopy /
wl-copy / xclip / xsel), so selection copy reaches the real clipboard and
the toast only fires on verified success, with "Copy failed" otherwise.

Closes #7761

Co-authored-by: 富永 誠 <makoto@credify.one>
2026-08-14 11:46:46 +02:00
github-actions[bot] 48bd3f424d chore: approve contributors from issue #8092 2026-08-14 09:41:22 +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
Mario Zechner 5093641a56 fix(ai): preserve Google length stops with tool calls
closes #8059
2026-08-14 11:25:40 +02:00
github-actions[bot] c5b7cd2a33 chore: approve contributors from issue #8063 2026-08-14 09:20:04 +00:00
Vegard Stikbakke b863f1cff6 fix: revert SQLite conformance CI isolation 2026-08-14 11:16:49 +02:00
Vegard Stikbakke f7a00fe43b fix: isolate incomplete SQLite conformance job 2026-08-14 11:12:20 +02:00
Vegard Stikbakke a2dd8ab2a7 fix: skip incomplete SQLite conformance cases 2026-08-14 11:09:48 +02:00
David Brailovsky f0182cdc9e fix(agent): make fork parent source-derived
Move optional fork destination id into ForkOptions and stop allowing fork callers to pass a parentSessionId override. Update the harness spec to state that fork destination parentSessionId is always the source session id.
2026-08-14 10:55:25 +02:00
github-actions[bot] f3c406a9b2 chore: approve contributors from issue #8018 2026-08-14 08:51:32 +00:00
Vegard Stikbakke 75bb6a0fcd feat(agent): add SQLite storage conformance coverage 2026-08-14 10:50:23 +02:00
github-actions[bot] 0589435e7d chore: approve contributors from issue #8007 2026-08-14 08:49:18 +00:00
Vegard Stikbakke 893d82525f feat(agent): isolate JSONL repository conformance tests 2026-08-14 10:48:45 +02:00
David Brailovsky f43f1ef81d remove defensive options capture 2026-08-14 10:46:26 +02:00
Vegard Stikbakke 21dec988de feat(agent): isolate JSONL storage conformance tests 2026-08-14 10:44:50 +02:00
David Brailovsky 23ddba6a2b test(agent): run JSONL message conformance 2026-08-14 10:26:34 +02:00
Vegard Stikbakke 18ddf8ad90 fix(agent): test session destination reservation order 2026-08-14 10:24:04 +02:00
Mario Zechner e14afc648e fix(coding-agent): collapse fallback tool output closes #7979 2026-08-14 10:22:36 +02:00
David Brailovsky 781859c7d0 feat(agent): add JSONL session repository lifecycle 2026-08-14 10:21:04 +02:00
Mario Zechner 83aed2ba58 fix(tui): handle generic SGR mouse releases
closes #7963
2026-08-14 10:11:15 +02:00
Mario Zechner 6633618350 fix(coding-agent): update vulnerable nanoid dependency 2026-08-14 10:09:35 +02:00
github-actions[bot] 721e2768ee chore: approve contributors from issue #7973 2026-08-14 08:03:33 +00:00
alexsavio d268454e9c fix(examples): accept array-form tools in the subagent example (#7598)
`parseFrontmatter` runs a real YAML parser, so `tools: [read, bash]`
arrives as an array while `tools: read, bash` arrives as a string. The
loader only handled the string form and called `.split(",")`, which
throws on the array form.

The throw escapes `loadAgentsFromDir` -- only `readdirSync` and
`readFileSync` are guarded -- so one agent file using the array form
broke discovery for every agent in that scope, not just itself.

Normalize both spellings in one helper, and type the frontmatter fields
as `unknown` so the string assumptions are explicit. The previous
`parseFrontmatter<Record<string, string>>` annotation asserted a shape
the YAML parser never guarantees, which is what hid the mismatch from
tsc while `AgentConfig.tools` was already typed `string[]`.
2026-08-14 09:59:42 +02:00
Cristina Poncela Cubeiro 4ea01980ff feat(sqlite): append entry to branch index 2026-08-14 09:51:00 +02:00
David Brailovsky fd389abc46 Merge remote-tracking branch 'origin/main' into dev 2026-08-14 09:33:00 +02:00
David Brailovsky 5f7195c51e fix(coding-agent): update Cloudflare compat test model 2026-08-14 09:32:24 +02:00
David Brailovsky b01c21e5e6 feat(agent): separate session ownership conformance 2026-08-14 09:27:02 +02:00
Vegard Stikbakke e3234b0fcb fix(agent): cover register rollback in storage conformance 2026-08-14 09:20: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
David Brailovsky 76bb78c6b3 feat(agent): split session repo conformance by capability 2026-08-14 09:14:46 +02:00
David Brailovsky 69c7f1fea2 feat(agent): simplify session repo conformance setup 2026-08-14 09:14:46 +02:00
Christian Klotz ce142b2a69 fix: restore client-server protocol test coverage 2026-08-14 01:32:32 +03:00
Christian Klotz e2888c4a93 feat(coding-agent): add local list and attach demo 2026-08-14 00:36:33 +03:00
Christian Klotz 7479148479 feat(client): discover local Unix services 2026-08-13 23:53:52 +03:00