Commit Graph
100 Commits
Author SHA1 Message Date
_Kerman f4af19d724 perf(infra): shorten doc-sync critical path 2026-08-19 13:45:34 +08:00
_Kerman cc68bbf382 Merge pull request #2517 from deepseek-harness/xtr/node-pty-1.2-beta
chore(subprocess-local): bump node-pty beta
2026-08-17 18:12:16 +08:00
_Kerman b1030d6480 Merge branch 'master' into xtr/node-pty-1.2-beta 2026-08-13 18:39:17 +08:00
_Kerman b11b5359f9 ci: use pnpm node-gyp for manylinux rebuild 2026-08-13 18:13:03 +08:00
_Kerman a785eb80f7 fix(python-runtime): fall back to node-pty prebuild 2026-08-13 18:12:36 +08:00
_Kerman 1106b0b03d ci: rebuild node-pty for manylinux 2026-08-13 18:06:36 +08:00
_Kerman 348a49b62c docs: update node-pty patch notice 2026-08-13 18:02:39 +08:00
_Kerman 078dd2b6df chore(subprocess-local): bump node-pty beta 2026-08-13 17:58:13 +08:00
_Kerman df643627c9 Merge pull request #2423 from deepseek-harness/xtr/fix-web-ui-geometry-and-sidebar-motion
fix(web): align composer geometry and sidebar motion
2026-08-13 15:57:44 +08:00
_Kerman dc0843c630 Merge pull request #2474 from deepseek-harness/xtr/trajectory-load-more-row
fix(web): keep older trajectory history loadable
2026-08-13 15:53:22 +08:00
_Kerman 598645f119 Merge pull request #2458 from deepseek-harness/xtr/fix-cold-session-list-metadata
fix(web): keep cold blank sessions out of recent lists
2026-08-13 15:34:14 +08:00
_Kerman 378a662082 Merge remote-tracking branch 'origin/master' into dshw/pr-2458 2026-08-13 15:15:39 +08:00
_Kerman 2be3e12965 fix(apiproxy): harden cold session metadata probing 2026-08-13 15:09:21 +08:00
_Kerman 2c837c267f fix(web): address trajectory pagination review 2026-08-13 14:38:15 +08:00
_Kerman 93d7eea12a fix(web): thin trajectory history divider 2026-08-13 14:20:19 +08:00
_Kerman c4226840f4 test(todo): isolate projection assertions 2026-08-13 14:11:21 +08:00
_Kerman 3c06c66ac4 fix(web): hide verified cold blank sessions 2026-08-13 14:04:16 +08:00
_Kerman 14cf3334be fix(web): keep older trajectory history loadable 2026-08-13 14:04:06 +08:00
_Kerman 326ba77f32 docs(website): read guide module facts from one per-locale record 2026-08-13 12:19:22 +08:00
_Kerman 00933877f0 docs(website): make module rows direct links 2026-08-13 12:07:30 +08:00
_Kerman f0afc4536d docs(website): link guide sidebar modules 2026-08-13 11:59:05 +08:00
_Kerman 68e1d5a587 Merge remote-tracking branch 'origin/master' into dshw/pr-2423
# Conflicts:
#	packages/client/ui-sidebar/src/client/SidebarRoot.tsx
2026-08-13 04:32:57 +08:00
_Kerman 3ef05f8a85 review: address ds-review-bot findings on composer geometry
- Rewrite the 08-04 gutter-reservation note in place: the reservation is Chat's alone and the overlay branch points to the seat-width compensation note; the Testing section now describes the uncompensated control.
- Cross-reference the earlier rejection of the seat inset in the 08-12 note and record the engine-resolved-vs-fixed-8px drift as accepted residual cost instead of asserting Firefox resolves 8px.
- Pair --dsh-scrollbar-width with the mirrored ::-webkit-scrollbar rule and the compensation consumer in the scrollbar-styles gate; document the variable in the ui-theme README.
- Rename the e2e control to compareTabsWithoutCompensation and correct the vacuity-guard comment; rewrap the WorkspaceBrowser doc comment.
2026-08-12 23:51:46 +08:00
_Kerman de97ea0ba8 fix(sidebar): synchronize collapsed rail motion 2026-08-12 22:56:36 +08:00
_Kerman 7c4c118456 fix(web): reclaim overlay scrollbar gutter 2026-08-12 22:56:36 +08:00
_Kerman d5ec13bdd9 Merge pull request #2250 from deepseek-harness/xtr/sidebar-workspace-controls
feat(web): improve workspace sidebar navigation
2026-08-12 12:41:53 +08:00
_Kerman 64326cb597 refactor(ui-workspace): extract shared drag-accept and status-dot renderers
The flat-list ordering change duplicated the document-level native-drag
acceptance effect and the status-dot block across the search and session
rows, tripping the duplication gate. Extract useNativeDragAcceptance and
SessionStatusDots so both call sites share one implementation.
2026-08-12 12:01:23 +08:00
_Kerman 3a3248b31d feat(ui-workspace): support manual flat-list ordering 2026-08-12 11:14:25 +08:00
_Kerman 3a0baa1e9d Merge remote-tracking branch 'origin/master' into dshw/pr-2250
# Conflicts:
#	packages/client/connection/tests/fake-api.client.ts
#	packages/client/runtime/tests/manager.client.spec.ts
#	packages/client/runtime/tests/workspaces-service.client.spec.ts
#	packages/host/apiproxy/tests/rpc-schemas.spec.ts
2026-08-12 04:50:51 +08:00
_Kerman f7e45ae377 test(ui-trajectory): provide the settings and remote seams the locale plugin needs
The locale plugin's inject list gained 'remote' and 'settingsScope' on
2026-08-10, but the built-bundle harness mounted it without providing
those services, so the locale fiber never started and the trajectory
plugin's apply never ran — the ring assertion saw no 'trajectory' entry.
Provide the same stubs ui-layout's apply bench uses.
2026-08-12 02:52:15 +08:00
_Kerman ee3bdac52d test(web): refresh browser goldens for the compact workspace sidebar
Re-record the sidebar regions that the redesign intentionally changed:
group session counts are gone, search is a collapsed header action, and
grouping lives in the View options menu. Session rows also follow the new
recency ordering, so their tree order updates with the counts.
2026-08-12 01:32:23 +08:00
_Kerman e76a03a20c test(web): adapt workspace browser e2e interactions to the compact sidebar
The sidebar redesign removed group session counts, collapsed search into a
header action, and moved grouping into the View options menu. Update the
browser scenarios that waited on the old surfaces:

- Wait on the Ungrouped bucket row instead of the removed session-count text.
- Expand the collapsed search control before filling the renamed input.
- Open the View options menu instead of the removed Group by button.
- Assert the persisted grouping under the new dsh.workspace.view.v4 key.
- built-boot: assert the fixture workspace group row instead of its count.
2026-08-12 01:32:08 +08:00
_Kerman a2432be53b Merge remote-tracking branch 'origin/master' into dshw/pr-2250 2026-08-11 23:10:27 +08:00
_Kerman a1d0d6a3a1 Merge remote-tracking branch 'origin/master' into dshw/pr-2250 2026-08-11 22:33:12 +08:00
_Kerman ef3eb0494c Merge remote-tracking branch 'origin/master' into xtr/sidebar-workspace-controls 2026-08-11 19:58:15 +08:00
_Kerman fb3ac235d1 style(ui-workspace): refine drag insertion marker 2026-08-11 19:57:07 +08:00
_Kerman 16dddc128b fix(ui-workspace): expand workspace before new session 2026-08-11 19:31:02 +08:00
_Kerman e35513e4dc fix(ui-workspace): restore active folder styling 2026-08-11 19:17:15 +08:00
_Kerman 5bb70d7cf2 feat(ui-workspace): reorder ungrouped sessions 2026-08-11 19:14:57 +08:00
_Kerman 94897de821 Merge remote-tracking branch 'origin/master' into xtr/sidebar-workspace-controls 2026-08-11 18:59:11 +08:00
_Kerman 909725f2e9 fix(client): prune removed workspace view state 2026-08-11 18:59:06 +08:00
_Kerman 230f3b8295 refactor(host): reuse workspace stream baseline 2026-08-11 18:58:59 +08:00
_Kerman e991c63bdb test(client): cover workspace ordering transports 2026-08-11 17:51:40 +08:00
_Kerman 6898b06160 fix(client): restore host-confirmed workspace order 2026-08-11 17:51:31 +08:00
_Kerman 7222a99e33 refactor(client): remove dead sidebar ordering surfaces 2026-08-11 17:51:18 +08:00
_Kerman a661eeeba0 Merge pull request #2257 from deepseek-harness/xtr/python-sdk-finish-reason
fix(python): report run finish reason
2026-08-11 16:56:51 +08:00
_Kerman ed39516c20 test(client): type session timestamp assertions 2026-08-11 16:49:29 +08:00
_Kerman 79b9f3d524 style(client): reduce expanded search height 2026-08-11 16:49:26 +08:00
_Kerman fcbe3ac836 fix(client): preserve sidebar drag ordering 2026-08-11 16:49:21 +08:00
_Kerman dbbe55fdb1 fix(python): reject malformed finish reasons 2026-08-11 16:48:41 +08:00
_Kerman 5b1da441d5 fix(client): refine workspace view controls 2026-08-11 16:46:52 +08:00
_Kerman 6896fd1545 fix(python): report run finish reason 2026-08-11 16:25:59 +08:00
_Kerman 34e90dc3fe test(client): accept session creation timestamps 2026-08-11 16:03:13 +08:00
_Kerman bc390318ac Merge remote-tracking branch 'origin/master' into xtr/sidebar-workspace-controls 2026-08-11 15:59:40 +08:00
_Kerman 2ad471123d fix(client): persist workspace drag order 2026-08-11 15:57:43 +08:00
_Kerman 31768a348e fix(client): update recency from user messages 2026-08-11 15:57:34 +08:00
_Kerman d672eace2f style(client): refine drag insertion markers 2026-08-11 15:42:44 +08:00
_Kerman 3f09330f4b docs(web): record workspace sidebar behavior 2026-08-11 15:25:11 +08:00
_Kerman 6e303ac0b7 test(web): cover workspace sidebar behavior 2026-08-11 15:25:11 +08:00
_Kerman 8005ab78bd fix(client): keep flat sessions ordered by recency 2026-08-11 15:25:11 +08:00
_Kerman c4affa852c style(client): reduce conversation tab indicator 2026-08-11 15:25:11 +08:00
_Kerman 23889483cf style(client): refine conversation tab indicator 2026-08-11 15:25:11 +08:00
_Kerman 3f315a0134 feat(client): refine workspace sidebar interactions 2026-08-11 15:25:11 +08:00
_Kerman d86ecf7b29 style(client): collapse search into header action 2026-08-11 15:25:11 +08:00
_Kerman 4ce51888be fix(client): inherit current workspace for new sessions 2026-08-11 15:25:11 +08:00
_Kerman a46a7bf912 style(client): simplify expanded workspace icon 2026-08-11 15:25:11 +08:00
_Kerman 325da4dab1 fix(client): preserve workspace browser interactions 2026-08-11 15:25:11 +08:00
_Kerman e713cc820d style(client): polish sidebar spacing 2026-08-11 15:25:11 +08:00
_Kerman 1a1729a138 feat(client): refine workspace sidebar interactions 2026-08-11 15:25:11 +08:00
_Kerman b3e843056e feat(workspace): support persistent workspace ordering 2026-08-11 15:25:11 +08:00
_Kerman 1d4ab4492e style(client): tighten sidebar layout 2026-08-11 15:25:11 +08:00
_Kerman 8e0cb2bdba feat(client): improve workspace session browsing 2026-08-11 15:25:11 +08:00
_Kerman b6cd817aca Merge pull request #2131 from deepseek-harness/fix/web-favicon-dark-mode
fix(web): make the favicon follow the color scheme
2026-08-11 14:58:43 +08:00
_Kerman c2569c3f9d feat(web): include referenced media in the session-log export
The export ZIP now carries every image any included log references under
media/<attachmentId>.<ext>, read and verified from the attachment store with
one entry per shared image. The endpoint requires the attachments service
alongside persistence and session-query; a referenced image that cannot be
read fails the stream like a missing descendant.
2026-08-11 14:08:58 +08:00
_Kerman c8a201bebd Merge remote-tracking branch 'origin/master' into feat/web-session-log-export 2026-08-11 13:46:46 +08:00
_Kerman 1e22fe459b test(session): cover the readRaw abort-reason fallback branch 2026-08-11 13:39:23 +08:00
_Kerman ab0b76d0a3 fix(session): reject readRaw abort with an Error to satisfy contracts lint 2026-08-11 13:20:23 +08:00
_Kerman 1b8175ddfd Merge remote-tracking branch 'origin/master' into feat/web-session-log-export 2026-08-11 12:59:05 +08:00
_Kerman 96646ce481 chore: regenerate cordis catalog after merging latest master 2026-08-11 12:55:39 +08:00
_Kerman 4724a69476 Merge remote-tracking branch 'origin/master' into feat/web-session-log-export 2026-08-11 12:54:33 +08:00
_Kerman b701090c4f docs: refresh module graph after merging master 2026-08-11 12:49:47 +08:00
_Kerman 3a6112f641 fix(web): satisfy contracts-ready lint and dedup the stable-file read
Rescope nothing new: drop the needless async from the inherited readRaw
default (reject explicitly on abort), fix the void arrow shorthand in
downloadBlob, and share one revision-stable file-read loop between readRaw
and readPrefix in the JSONL backend.
2026-08-11 12:49:27 +08:00
_Kerman 118b1a8787 Merge remote-tracking branch 'origin/master' into feat/web-session-log-export
# Conflicts:
#	docs/subsystems/persistence.i18n.yaml
#	docs/subsystems/persistence.md
#	docs/subsystems/persistence.zh.md
#	packages/client/ui-trajectory/README.i18n.yaml
#	packages/client/ui-trajectory/README.md
#	packages/client/ui-trajectory/README.zh.md
#	packages/client/ui-trajectory/package.json
#	packages/client/ui-trajectory/src/client/TrajectoryView.tsx
#	packages/client/ui-trajectory/src/client/index.ts
#	packages/client/ui-trajectory/tests/client-bundle.spec.ts
#	packages/client/ui-trajectory/tests/views.spec.tsx
#	packages/host/apiproxy/package.json
#	pnpm-lock.yaml
2026-08-11 12:42:53 +08:00
_Kerman 2076c43442 fix(web): keep trajectory toolbar Duration/Turns/Calls/Export untranslated
Show the four toolbar terms in English even in the Simplified Chinese
dictionary, including their tooltips, aria labels, and the export failure
message, and update the pinned-zh specs to match.
2026-08-11 11:53:32 +08:00
_Kerman ec9a08f1e2 refactor(web): rename trajectory detail tabs source→raw and origin→source
The markdown raw-source tab becomes Raw and the message-origin tab becomes
Source, keeping the renamed identifiers, labels, and overview links in sync.
2026-08-11 11:53:28 +08:00
_Kerman eadff0532b Merge branch 'master' into fix/web-favicon-dark-mode 2026-08-11 11:29:25 +08:00
_Kerman fa2dce28ce test(web): adapt ui-trajectory benches to the merged locale settings scope
The locale plugin now derives its durable preference from a settings scope
bound to the connection service, so the trajectory benches provide a
connection handle before loading it.
2026-08-10 20:15:31 +08:00
_Kerman 9b96a1380b Merge remote-tracking branch 'origin/master' into feat/web-session-log-export 2026-08-10 20:02:24 +08:00
_Kerman fbd09a70f3 docs: document SessionRawArtifact and fix backpressure claims
The persistence subsystem page gains the SessionRawArtifact section (with a
type-equiv manifest entry and zh counterpart), and the README and Agent Note
describe the drain-based backpressure instead of claiming the archive never
accumulates.
2026-08-10 19:50:43 +08:00
_Kerman 2a34ca51a3 test(web): assembled session-log download e2e and refreshed golden
The navigation-panes replay scenario clicks the trajectory toolbar export
button and asserts the real host-streamed download: filename, a single
session.jsonl entry, and byte-verbatim seed content. The toolbar golden
refreshes for the localized export button.
2026-08-10 19:50:32 +08:00
_Kerman 53d9810461 fix(web): localize the trajectory toolbar and simplify the download
Toolbar strings route through the locale dictionary's standard t seat (the
export button no longer mixes languages in the English golden), exportLog
passes the response blob straight to the browser save instead of copying it
three times, the client id sanitizer rejects dot segments like the host one,
and the fixture stub comment no longer misattributes the 404.
2026-08-10 19:50:20 +08:00
_Kerman beb1d0601f fix(apiproxy): address session-export review — surrogate-safe chunks, backpressure drain, strict flag
Chunk boundaries never split a surrogate pair (a lone high surrogate
re-encodes as U+FFFD and silently corrupts the exported artifact), production
yields whenever the response queue fills so a slow consumer bounds the
accumulation, includeDescendants rejects values other than true/false instead
of silently under-exporting, the dead missing-services arm is deleted by
narrowing the streaming deps, and the readRaw failure answers 500 without
leaking host paths into the browser error bar.
2026-08-10 19:50:09 +08:00
_Kerman bf70da473b fix(session-persistence): async readRaw default and full branch coverage
The inherited readRaw default now rejects like the async backend overrides
instead of throwing synchronously, and its arms plus the JSONL override's
retry loop, zero-frame, and corrupt-header branches get dedicated tests.
2026-08-10 19:49:57 +08:00
_Kerman 61a0530061 Merge branch 'master' into fix/web-favicon-dark-mode 2026-08-10 18:57:09 +08:00
_Kerman ced7caabf8 docs(notes): agent note for web session-log export 2026-08-10 17:57:40 +08:00
_Kerman 9574a99f45 feat(web): export the session log from the trajectory toolbar
The 导出 button fetches GET /api/session.export and saves the ZIP (root
artifact plus subagent descendants). The plugin exposes exportLog through
the view's inject face, resolves the tab label through the locale service,
and disables the button while in flight; fixture mode answers 404 so the
error bar explains the gap.
2026-08-10 17:57:40 +08:00
_Kerman ded90bffba feat(apiproxy): host session-log download surface
Streams one ZIP of the root session artifact plus each subagent descendant
verbatim (the persistence readRaw bytes) from GET /api/session.export as a
host-only download — no wire envelope, absent from IApiClient. The downloads
domain owns the query schema, the fetch handler answers the GET alongside the
SSE routes, and compression runs on the host with fflate's streaming Zip API.
2026-08-10 17:57:40 +08:00
_Kerman 80b7f929ea feat(session-persistence): expose readRaw for per-session artifacts
The persistence contract gains a concrete readRaw default (undefined for
backends without a per-session artifact) and the JSONL backend overrides it
with the decode of its physical zstd frames, so a consumer can read the
stored artifact text verbatim — the session-log export depends on it.
2026-08-10 17:57:40 +08:00
_Kerman 3c0217b17e Merge branch 'master' into fix/web-favicon-dark-mode 2026-08-10 16:54:33 +08:00
_Kerman 25403246bb Merge branch 'master' into fix/web-favicon-dark-mode 2026-08-10 16:12:35 +08:00