Commit graph

14423 commits

Author SHA1 Message Date
pku-xht
1a5d004524 Merge commit 'bc954280ae67e349291e51e5787c6987e767fa40' into schedule-web-catalog
# Conflicts:
#	packages/client/ui-workspace/src/client/rows/Rows.tsx
#	tsconfig.base.json
2026-08-28 07:24:24 +08:00
Yif
f14f50416e docs(notes): record the turn-tail stat pill decision 2026-08-28 02:22:47 +08:00
Yif
6f16d5868c refactor(ui-chat): drop the flat usage-variant debug switch and square narrow pills
The A/B test settled on the twin-pill layout, so the TEMPORARY
?usage-variant=flat trigger, its locale keys, and its tests leave with it.
Below 480px the stat pills now take the sibling action-button geometry so
their bare icons keep the row's rhythm instead of drifting on the wider
label padding and the -6px pair rebate.
2026-08-28 02:14:37 +08:00
Yif
9effa0c6b3 feat(ui-chat): split turn stats into usage and time pills with dialogs
The turn tail's exposed meta line collapses into two icon pills — Usage
(database glyph, turn total) and Ran-for (clock glyph, wall time) — each
click-opening a details dialog; the calendar clock trails as plain text.
Cache hit, TPS, and TTFT move dialog-only, and narrow viewports collapse
the pills to bare icons. The TEMPORARY flat variant keeps the whole-line
trigger for the A/B test.
2026-08-28 01:34:18 +08:00
imccyu
cd5ef81481 Merge pull request #3248 from deepseek-harness/release/dsh-0.1.2-alpha.1
release: dsh@0.1.2-alpha.1
2026-08-28 00:57:43 +08:00
imccyu
6c705be1ce release(dsh): 0.1.2-alpha.1 2026-08-28 00:50:12 +08:00
Tianyi Cui
8437bfb9e4 Merge pull request #3074 from deepseek-harness/worktree/ptc-rename-base
Rename code-mode to ptc (PTC mode), except session-persistent vocabulary
2026-08-28 00:49:44 +08:00
Yif
5ba375fd88 feat(client): hover swim morph for the hero fish 2026-08-28 00:37:46 +08:00
Tianyi Cui
188d77ed4b docs: sync remaining code mode-value prose to ptc in notes and spill README
Review bot findings: DSH_TOOLS_MODE values, the wire-replacement
wording, 'code-only' mode references, and the spill README's
dispatch-log waterfall name all still named the removed 'code' value.
2026-08-28 00:24:05 +08:00
Tianyi Cui
b7c71d805a docs(zh): sync remaining code mode-value prose to ptc
The review bot found stale 'code' configuration values in the zh tools
and agent-tool-presentation READMEs and the zh tool catalog, which the
runtime schema already rejects in favor of 'ptc'.
2026-08-28 00:16:29 +08:00
Tianyi Cui
84dd2447f3 docs: point note references at the surviving RPC test homes
Master removed the ApiProxy package; its former test paths now live in
the client connection, API gateway, and settings controller test
directories. Update the three notes' references so verify-package-paths
resolves.
2026-08-27 23:22:02 +08:00
_Kerman
13c1541c63 Merge remote-tracking branch 'github/master' into xtr/session-projection-migrations
# Conflicts:
#	docs/module-graph.i18n.yaml
#	docs/module-graph.md
#	docs/module-graph.zh.md
#	pnpm-lock.yaml
2026-08-27 23:18:55 +08:00
Tianyi Cui
558b6d9193 fix(notices): restore the SDK 0.3.241 platform payload rows
The rename commit regenerated the notices file against a stale local
install (0.3.220); the lockfile and CI install resolve 0.3.241.
2026-08-27 23:14:33 +08:00
Tianyi Cui
cf12723ba8 docs: re-record pairing hashes after the master rebase merge
The rebase merged master's SDK-example and telemetry prose with the
ptc renames in the tools and CLI reference READMEs and the executor
collapse note; re-record their pair hashes.
2026-08-27 23:14:33 +08:00
Tianyi Cui
c3904faee0 test(snapshot): restore canonical packed fixture layout
The DSH_SNAPSHOT refresh recorded the internal seq-range form; the
canonical fixture layout expands those ranges. Apply the mechanical
migration instead.
2026-08-27 23:14:33 +08:00
Tianyi Cui
ee42efbccd test(snapshot): re-record cordis-inspect-jsdoc after the seq-range projection
Master's session persistence projection now writes sourceEventSeqs as
compressed ranges; the recorded replay fixture must match the new output.
2026-08-27 23:14:33 +08:00
Tianyi Cui
70af4edf3e fix: point the rename note at the fail-closed session-event vocabulary note
Master replaced the session-log-version-mechanism note with the
fail-closed-session-event-vocabulary note; update the rename note's links
(en/zh) so cross-links resolve.
2026-08-27 23:14:33 +08:00
Tianyi Cui
215e90dfb2 fix: rename the remaining code mode-value prose found in review
The subagent review found stale code mode-value prose the mechanical pass
missed: tools and agent-tool-presentation READMEs (en/zh), the CLI reference
page (DSH_TOOLS_MODE and the preset roster), the zh tool catalog, the
execute JSDoc and collapse comments in dsh-tools, the codeModeHarness
helper in agent-loop tests, and stale code-mode titles in ptc.spec.
2026-08-27 23:14:33 +08:00
Tianyi Cui
409f9ee304 fix: repair merged README remnants and note links after the master rebase
Apply the rename pass to READMEs and docs the master sweep rewrote, fix
PTC mode anchors and the renamed-note links in the spill READMEs, and
regenerate the doc graphs.
2026-08-27 23:14:33 +08:00
Tianyi Cui
45c514a42b fix: align mode-value prose and stale persistent mentions with the split
The split kept the session-persistent vocabulary (tool/code-dispatch*,
tools-code-mode, :code:) on this PR, but several prose surfaces still named
the new values: the zh persistence/tool catalogs, the renamed Agent Notes'
event mentions, spill-policy comments, and a garbled 're-enPTC mode'
replacement. Also rename the mode value to ptc in the places the rename
missed (tools and agent-tool-presentation READMEs, the Config JSDoc, note
mode unions) and the codeModeHarness* e2e helpers.
2026-08-27 23:14:32 +08:00
Tianyi Cui
3ca9c7d489 rename code-mode to ptc (PTC mode), except session-persistent vocabulary
Rename the tool-presentation transport from code-mode to ptc everywhere
that is not written into session logs: the mode config value becomes 'ptc',
the preset directory/id becomes ptc, the demo becomes demo:ptc, the
dispatch waterfall becomes tools/ptc-dispatch-log (types PtcDispatch*), the
prompt rule becomes tools:ptc-only, source/test files become ptc.ts etc.,
and prose says PTC mode / PTC 模式. The session-persistent vocabulary
(durable events tool/code-dispatch*, logged plugin name tools-code-mode,
sub-call id segment :code:) intentionally stays and moves in the stacked
persistence PR, which is blocked until the SESSION_FORMAT_VERSION v0→v1
migration lands with it. run_code, its code parameter, CodeSdkLanguage,
CodeRunFailedError, the dsh-code-runtime family, third-party codex names,
and frozen archived notes keep their names.
2026-08-27 23:14:31 +08:00
Yif
f15078532f feat(ui-chat): reshape the usage trigger as an icon-row pill
The whole-line meta trigger read as plain text and hid what was clickable.
The Turn-usage trigger is now a data-icon pill (Usage {total} · Cache hit
{percent}%) seated right of the branch action with the action buttons'
hover chrome, so the one interactive element in the tail is visibly a
button; the timing facts (clock, run time, speed, TTFT) return to plain
non-clickable text behind a dot separator. The details dialog keeps the
Turn-usage title and full token buckets, gains a permanent cache-hit row,
and breathes with wider vertical padding. Narrow columns trim the pill
label to an ellipsis instead of widening the chat column. User rows and
turn tails share the recency gate: only the latest row of each kind keeps
its actions visible without hover.
2026-08-27 23:14:08 +08:00
_Kerman
2bcd4cc552 fix(agent-presets): treat absent turn boundary as blank 2026-08-27 23:12:22 +08:00
imccyu
57aba7695b Merge pull request #3235 from deepseek-harness/worktree-apire-f
refactor(api): remove ApiProxy transport
2026-08-27 23:10:56 +08:00
imccyu
9fa87800a2 fix(api): keep file-reference output in its project 2026-08-27 22:58:43 +08:00
Chinesezjc
bb7a640237 Merge pull request #3236 from deepseek-harness/fix/file-search-unreadable-subtree-test
test(file-reference-local): pin the unreadable-subtree test to POSIX non-root
2026-08-27 22:48:31 +08:00
imccyu
b0c44e54ba fix: build 2026-08-27 22:48:16 +08:00
imccyu
26f1eda42a test(connection): allow non-Error rejection fixture 2026-08-27 22:29:47 +08:00
imccyu
e57e7c3f25 docs(api): describe Connection-owned transport 2026-08-27 22:26:30 +08:00
imccyu
4f00a8b82a refactor(api): remove ApiProxy package 2026-08-27 22:26:29 +08:00
imccyu
e14d354e83 refactor(connection): own RPC transport contracts 2026-08-27 22:26:29 +08:00
imccyu
3b40a14555 test(session-export): assign Host compiler face 2026-08-27 22:26:29 +08:00
imccyu
40929d6e1a refactor(client): replace host description consumers 2026-08-27 22:26:28 +08:00
imccyu
e036aae7c0 refactor(connection): carry Host facts with generations 2026-08-27 22:26:28 +08:00
imccyu
17c03bbbcc feat(session-export): own the download route 2026-08-27 22:26:28 +08:00
imccyu
e5e4b02742 feat(connection): register exact Fetch routes 2026-08-27 22:26:27 +08:00
imccyu
5ba36aa350 Merge pull request #3217 from deepseek-harness/worktree-apire-remaining
refactor(api): migrate remaining API proxy endpoints
2026-08-27 22:22:33 +08:00
imccyu
ea07f465ac docs: refresh module graph 2026-08-27 22:00:58 +08:00
imccyu
2ff3a0c09f fix(file-reference): remove unused zod dependency 2026-08-27 21:57:58 +08:00
imccyu
18ae39a665 fix(api): preserve native path opening behavior 2026-08-27 21:57:58 +08:00
imccyu
72cf4fae83 fix(settings): preserve config catalog source anchor 2026-08-27 21:57:57 +08:00
imccyu
89ee54ebb7 test(api): align migrated client contracts 2026-08-27 21:57:57 +08:00
imccyu
5f6293e67a test(client): update remote session fixtures 2026-08-27 21:57:57 +08:00
imccyu
812556040d fix(api): restore migrated remote coverage 2026-08-27 21:57:57 +08:00
imccyu
88f2f0aaec test(api): complete migrated Remote coverage 2026-08-27 21:57:57 +08:00
imccyu
674301721c fix(build): correct workspace dependency declarations 2026-08-27 21:57:57 +08:00
imccyu
160706be60 test(api): refresh Remote migration artifacts 2026-08-27 21:57:56 +08:00
imccyu
ce3391e280 refactor(apiproxy): retire migrated unary routes 2026-08-27 21:57:56 +08:00
imccyu
5b2f679e4a refactor(client): consume migrated Remote namespaces 2026-08-27 21:57:56 +08:00
imccyu
2d4393d842 refactor(api): expose remaining domain remotes 2026-08-27 21:57:55 +08:00