Commit Graph
277 Commits
Author SHA1 Message Date
Tianyi Cui 4368c2d40c Merge branch 'master' into fix/translation-brief-uncommitted-pair 2026-07-29 20:54:30 +08:00
Chinesezjc c87a20b506 Merge remote-tracking branch 'origin/master' into feat/web-terminal-card
# Conflicts:
#	packages/client/ui-conversation/README.i18n.yaml
#	packages/client/ui-conversation/README.md
#	packages/client/ui-conversation/README.zh.md
2026-07-29 15:44:58 +08:00
Hypatia May 173a1a8319 fix(dev-infra): migrate copied worktree hooks 2026-07-29 13:38:55 +08:00
Chinesezjc eba81fe1f2 Merge remote-tracking branch 'origin/master' into feat/web-terminal-card
# Conflicts:
#	packages/client/ui-conversation/README.i18n.yaml
2026-07-29 11:49:10 +08:00
ZiyaZhang 612b527cd2 fix(i18n): pin translation snapshots against gc 2026-07-28 10:28:49 -07:00
ZiyaZhang 2edc186047 Merge remote-tracking branch 'upstream/master' into fix/translation-brief-uncommitted-pair 2026-07-28 09:56:23 -07:00
imccyu c804dfde3e docs: document native TypeScript source launch 2026-07-28 23:13:28 +08:00
ZiyaZhang 7febd4b557 fix(i18n): persist uncommitted translation snapshots 2026-07-28 04:34:05 -07:00
Chinesezjc 9d8a4d50ee Merge remote-tracking branch 'origin/master' into feat/web-terminal-card
# Conflicts:
#	packages/client/ui-conversation/src/client/chat/ToolRow.tsx
2026-07-28 16:43:15 +08:00
Tianyi Cui d70cb63833 Merge remote-tracking branch 'origin/master' into worktree/replayable-gate-plans-20260727 2026-07-28 15:41:26 +08:00
Tianyi Cui 09a65125ba Merge remote-tracking branch 'origin/master' into worktree/replayable-gate-plans-20260727 2026-07-28 15:34:30 +08:00
Tianyi Cui cbbd888cab simplify gate graph validation 2026-07-28 15:33:20 +08:00
Tianyi Cui f85736e814 ci: run sandbox matrix on master only 2026-07-28 15:26:00 +08:00
Chinesezjc 5081697aaf feat(web): render bash tool output as a terminal card
The bash tool already declares the `card: 'terminal'` render intent for
both its call and its result, and host/connection/runtime already deliver
it to the browser as callView/resultView. The Web client ignored it:
rows derived from raw args, and the details panel flattened every tool's
content into one soft-wrapping `<pre>`. Column-aligned output folded into
a paragraph and a long listing stretched the panel without bound.

`TerminalBlock` (ui-primitives) renders a command as a terminal surface:
a shortened-cwd prompt line, output at `white-space: pre` in a
horizontally scrolling box, a head/tail height cap with an expand
control, an exit-code/signal status pill, and a copy control for the raw
output. ANSI SGR runs are parsed with `anser` and resolved onto `--dsw-*`
theme tokens, with literal rgb kept for values the design system has no
token for. Geometry and fonts mirror CodeBlock; the clipboard write both
need moved into a package-internal `clipboard.ts`.

Both Web render sites for a bash call consume the intent through one
derivation (`terminal-card-model.ts`), so they cannot disagree about a
command, its cwd, or its exit status: the keyed BashRow carries the card
resident below its summary row, and the render-site fallback row keeps it
behind its existing expand control. Rows cap at 8 lines against the
panel's 16.

Inline output in the chat row reverses this package's stated
no-inline-output convention, on the owner's explicit decision; the Agent
Note records the reversal and its bound.

Tests: TerminalBlock/ansi/clipboard unit specs, ui-conversation wiring
specs at every render site, a built-client-graph snapshot covering both
chat-row shapes, and a real-browser e2e asserting the no-wrap layout and
the page's own Clipboard API.
2026-07-28 14:58:06 +08:00
Tianyi Cui 2b539346c8 Merge remote-tracking branch 'origin/master' into worktree/change-scope-trim-20260728 2026-07-28 01:12:16 +08:00
Tianyi Cui a5ed3a5cfc refactor(dev-infra): narrow change scope report 2026-07-28 01:02:43 +08:00
Tianyi Cui 9c6de3644e Merge branch 'master' into archive-agent-notes-sweep-2 2026-07-28 00:49:13 +08:00
Tianyi Cui d29cd145c9 Merge origin/master into worktree/replayable-gate-plans-20260727 2026-07-28 00:37:52 +08:00
Tianyi Cui 02f9b55699 docs(dev-infra): synchronize gate plan consequences 2026-07-28 00:37:42 +08:00
Tianyi Cui 5b79a43d4c fix(dev-infra): serialize lint after invariant staging 2026-07-28 00:36:05 +08:00
Tianyi Cui b1dc759fee Merge remote-tracking branch 'origin/master' into worktree/pr762-merge-20260728 2026-07-28 00:29:00 +08:00
Tianyi Cui e62ad4fddc Merge remote-tracking branch 'origin/master' into worktree/replayable-gate-plans-20260727 2026-07-28 00:14:37 +08:00
Tianyi Cui 55d6ab5220 fix(dev-infra): harden gate runner execution 2026-07-28 00:12:16 +08:00
Tianyi Cui 59122b9e85 Merge remote-tracking branch 'origin/master' into worktree/worktree-local-lefthook-20260727 2026-07-28 00:06:16 +08:00
Tianyi Cui c982cf7805 refactor(dev-infra): narrow worktree hook safety checks 2026-07-28 00:05:31 +08:00
Tianyi Cui f2c0021941 docs(notes): aggressive archive sweep of low-value decision records
Archive 21 implemented triplets whose shipped decisions are complete and
whose bodies no longer guide future work (one-off UI chrome, generator
applications whose scripts are self-explanatory, superseded implementation
detail, process history owned by current contracts/skills). Delete 4
rejected triplets whose premises are obsolete: the DeepReadonly proposal
(dev-invariants note now carries the alternative inline), the collapse
tool-owned presentation proposal (superseded by the shipped render-intent
union), retire-mid-turn-steering (steering is now load-bearing across
plan-mode/apiproxy/TUI), and single-session-ACP (automation-only ACP
resolved the question; multi-session isolation is pinned by tests).

Repair every inbound link: retarget intentional historical citations to
archived paths, replace decision-current citations with the surviving
authority, and fix the stale example-execute-over-tsx pointer in
pnpm-workspace.yaml. Re-record pairing sidecars and seal the archive
manifest (append-only; existing seals unchanged).
2026-07-28 00:00:51 +08:00
Tianyi Cui 3e6fbccffa refactor(dev-infra): trim gate plan surfaces 2026-07-27 23:58:27 +08:00
Tianyi Cui 752d4b9204 Merge updated origin/master into feat/tui-master-port 2026-07-27 23:56:54 +08:00
Tianyi Cui 95bba22f84 Merge remote-tracking branch 'origin/master' into worktree/worktree-local-lefthook-20260727 2026-07-27 23:47:28 +08:00
Tianyi Cui 3f27434f38 refactor(dev-infra): drop retained gate logs 2026-07-27 23:47:00 +08:00
Tianyi Cui 18835ca838 Merge updated origin/master into feat/tui-master-port 2026-07-27 23:39:59 +08:00
Tianyi Cui 35697a4529 Merge origin/master into Agent Note supersession checks 2026-07-27 23:39:18 +08:00
Tianyi Cui 6241eb6044 Require Agent Note supersession checks 2026-07-27 23:38:49 +08:00
Tianyi Cui f843d2b238 Merge origin/master into feat/tui-master-port 2026-07-27 23:34:56 +08:00
Tianyi Cui 7759b1d682 docs: record Dependabot security update boundary 2026-07-27 23:27:07 +08:00
Tianyi Cui 22e3327f68 chore: configure Dependabot updates 2026-07-27 23:21:52 +08:00
Tianyi Cui 7acb4332eb fix(dev-infra): keep change scope probes inert 2026-07-27 22:55:10 +08:00
Tianyi Cui 2e210c369b fix(dev-infra): pin replay log path identities 2026-07-27 22:54:58 +08:00
Tianyi Cui f7729b6f53 fix(dev-infra): harden worktree hook ownership 2026-07-27 22:54:44 +08:00
Tianyi Cui 74c1a76440 fix(dev-infra): detect GitHub Actions installs 2026-07-27 22:00:36 +08:00
Tianyi Cui 1f8a3dd7b1 fix(dev-infra): skip hook setup in CI 2026-07-27 21:54:04 +08:00
Tianyi Cui 19b8794966 fix(dev-infra): guard dormant worktree configs 2026-07-27 21:31:12 +08:00
Tianyi Cui 52b1a80c9c Merge remote-tracking branch 'origin/master' into worktree/replayable-gate-plans-20260727 2026-07-27 21:28:02 +08:00
Tianyi Cui 4bb60b1069 feat(dev-infra): make gate plans inspectable and replayable 2026-07-27 21:27:42 +08:00
Tianyi Cui 3feaef6ecb fix(dev-infra): harden worktree hook migration 2026-07-27 20:58:19 +08:00
Tianyi Cui b5c8b80839 fix(dev-infra): reject non-UTF-8 scope paths 2026-07-27 20:54:49 +08:00
Tianyi Cui 10b82b78ce fix(dev-infra): preserve worktree path whitespace 2026-07-27 20:07:45 +08:00
Tianyi Cui 054ee9f2cc Merge origin/master into worktree/worktree-local-lefthook-20260727 2026-07-27 20:02:39 +08:00
Tianyi Cui 3a69e7a2d8 fix(dev-infra): isolate Lefthook per worktree 2026-07-27 20:02:29 +08:00
Tianyi Cui 4aa7c9d0e1 Merge origin/master into worktree/explicit-change-scope-report-20260727 2026-07-27 20:00:24 +08:00