Commit Graph
6682 Commits
Author SHA1 Message Date
_Kerman 92fca8b2b3 Merge origin/master into xtr/content-to-text 2026-11-11 16:05:11 +08:00
Jiawei Song bc45c6c17c Merge pull request #8057 from deepseek-harness/refactor/tool-errors-agent
feat(subagent,workflow,plan): give delegation, workflow, plan, and interaction tool failures error codes
2026-11-11 15:53:22 +08:00
sjw1231 3524a7a3e5 Merge remote-tracking branch 'origin/master' into refactor/tool-errors-agent
Resolves import conflicts with the brand-export split (#8214): value
brand factories are now brandString<T>() calls, and dsh-workflow's
WorkflowRunId is imported from its types entry. Generated persistence
and config catalogs are regenerated.
2026-11-11 15:40:30 +08:00
Turtle 2099 ca7e7f4018 Merge pull request #8010 from deepseek-harness/turtle/subagent-fork-divider-20436572857c
feat(web): divide a forked session's inherited history from its own messages
2026-11-11 15:32:21 +08:00
imccyu 455f7a38a6 Merge pull request #8214 from deepseek-harness/split-exports-brand-strings
refactor(brand): migrate internal identity construction
2026-11-11 15:15:26 +08:00
sjw1231 4ffad712fc Merge remote-tracking branch 'origin/master' into refactor/tool-errors-agent 2026-11-11 14:39:22 +08:00
_Kerman bb383263d8 refactor(llm): share extractTextContent across text consumers 2026-11-11 14:33:07 +08:00
imccyu 13fd88d429 🔖 chore(session): align ui-session-status with 0.2.2-rc.2
Match the new package version to the root release version and move its
upgrade guide into the v0.2.2-rc.2 directory.
2026-11-11 12:16:40 +08:00
imccyu aad0cc94e5 🐛 fix(session): reload useSessionStatus consumers with the status table
Add 'uiSession.sessionStatus' to the Cordis inject of ui-conversation,
ui-workspace, ui-subagent, and ui-workflow-run, whose components call
useSessionStatus. Unloading or reloading ui-session-status now stops these
plugins and starts them again instead of leaving their components calling
a missing hook. A whole-client test disables and re-enables the status
entry and checks that the Workspace browser and Conversation shell leave
and render again without errors.

Address the documentation, comment, and test review points: the status
class JSDoc states only its contract and links the README, the ctx.slots
type merge moves to the module that reads ctx.slots, the upgrade guide
separates type-only dependencies from hook consumers, and the
stop-shortcut test name states the invariant it guards.

Refs #4076
2026-11-11 12:16:40 +08:00
imccyu eab6beacb9 🚚 refactor(session): move Session status into client/ui-session-status
Move packages/api/session-status (@deepseek-ai/dsh-api-session-status) to
packages/client/ui-session-status (@deepseek-ai/dsh-client-ui-session-status):
the package has no Remote or Host behavior and depends on ui-session, so it
belongs to the Client group. The uiSession.sessionStatus service,
ctx.uiSession.sessionStatus, useSessionStatus, and UiSessionService keep
their names.

Add the package to the Web client's required boot entries, so startup is
rejected when the status table cannot be imported or fails to apply, as it
was when the table lived in the required ui-session entry.

Refs #4076
2026-11-11 12:16:39 +08:00
imccyu cb2910ef09 ♻️ refactor(session): move Session status into api-session-status
Move the Client Session status table (running state, the effective
pending interaction, and completion reminders) and the useSessionStatus
root hook out of ui-session into the new @deepseek-ai/dsh-api-session-status
package. The UiSessionStatus service is provided as uiSession.sessionStatus
and read as ctx.uiSession.sessionStatus through the mergeable
UiSessionService type of ctx.uiSession.

Pending-interaction registration, precedence, withdrawal, and teardown
delegation stay in ui-session unchanged; ui-session now exposes the
effective requests read-only as ctx.uiSession.pendingInteractions, which
the status table and the Conversation stop shortcut consume. ui-session no
longer depends on api-remotes.

Refs #4076
2026-11-11 12:16:37 +08:00
imccyu 4e205cd66d Merge release/dsh-0.2.2 (0.2.2-rc.2) into master
# Conflicts:
#	packages/experimental/cua-bundle/package.json
#	packages/ptc-runtime/ptc-runtime-node/package.json
2026-11-11 10:34:31 +08:00
imccyu 91319233e1 release(dsh): 0.2.2-rc.2 2026-11-11 10:18:52 +08:00
Saafo 01ad3f8b68 🐛 Preserve authored text sizes on mobile Safari 2026-11-11 09:56:15 +08:00
imccyu 17d96e0f6d refactor(exports): internalize test helpers and type fixtures 2026-11-11 07:32:55 +08:00
_Kerman 5de18e6090 fix(ui-tool): localize and validate compact image output 2026-11-10 17:02:36 +08:00
_Kerman 4e9adccec7 Merge branch 'master' into xtr/ptc-inspect-output 2026-11-10 16:18:34 +08:00
_Kerman 47fafbbfcb fix(ui-tool): show compact image references in code output 2026-11-10 16:07:14 +08:00
Turtle d79851e05d Merge pull request #8180 from deepseek-harness/feat/cua-run-code-standard
feat(cua): 为标准模式提供持久 cua_run_code 工具
2026-11-10 07:59:40 +00:00
_Kerman 86984d8358 Merge branch 'feat/cua-run-code-standard' into xtr/ptc-inspect-output 2026-11-10 14:24:26 +08:00
Yichen Jiang 7d2d22aaf9 fix(ui-primitives): look up file types in Maps so prototype keys miss
classifyFileType and classifyCodeFileType indexed plain objects by the
lowercased basename and extension, so a file named `constructor` or
`__proto__` (or with that extension) resolved an inherited
Object.prototype member and FileTypeIcon threw from its assertNever,
crashing every view that lists the file. The name and extension tables
are now Maps, so such names fall through to their real type or `other`.

Fixes #8205
2026-11-10 10:32:03 +08:00
turtle1999 f0e9dc1c92 fix(cua): support clean source runs and preserve per-mode guidance 2026-11-09 18:17:56 +08:00
_Kerman a2ea3970fd refactor(ptc): return ordered text and image output 2026-11-09 17:44:12 +08:00
sjw1231 1f4642535d Merge remote-tracking branch 'origin/master' into refactor/tool-errors-agent
# Conflicts:
#	docs/module-graph.md
#	docs/module-graph.zh.md
2026-11-09 17:24:34 +08:00
_Kerman 83e3d0ebc0 Merge remote-tracking branch 'origin/master' into xtr/ptc-inspect-output
# Conflicts:
#	packages/experimental/cua-macos/README.i18n.yaml
#	packages/experimental/cua-macos/README.md
#	packages/experimental/cua-macos/README.zh.md
#	packages/experimental/cua/src/api.ts
#	packages/experimental/cua/src/guidance.ts
#	packages/experimental/cua/src/types.ts
#	packages/experimental/cua/tests/api.spec.ts
#	snapshots/session/cua-native/system-prompt.expected.md
#	snapshots/session/cua-ptc/system-prompt.expected.md
#	snapshots/session/ptc-script-retained/system-prompt.expected.md
2026-11-09 16:17:18 +08:00
turtle1999 b9966a12a6 feat(cua): expose persistent code tool outside PTC mode 2026-11-09 15:53:22 +08:00
_Kerman 724e56b286 feat(ptc): unify explicit text and image inspection 2026-11-09 15:06:09 +08:00
Chinesezjc a6fc2ac61b Merge branch 'master' into fix/ci-21078ac-scan-dot-dirs 2026-11-09 13:54:30 +08:00
dsh-ci-bot dbf13cd572 test(ui-theme): name the dot-directory exclusion and cover a nested manifest
packageFiles() now states the dot-directory exclusion in its JSDoc, and the
inline comment no longer names one concrete temporary-root prefix. The spec
title describes what the case checks, and the case also asserts a manifest one
level below the root so an implementation that only scans the root fails.
2026-11-09 13:42:26 +08:00
sjw1231 c901372393 Merge remote-tracking branch 'origin/master' into refactor/tool-errors-agent
# Conflicts:
#	docs/module-graph.md
#	docs/module-graph.zh.md
2026-11-09 13:26:05 +08:00
_Kerman 71b5e93457 test(ptc): migrate remaining inspection consumers 2026-11-09 12:48:09 +08:00
Yichen Jiang ce1e1f2681 Merge remote-tracking branch 'origin/master' into perf/forge-changes-view 2026-11-09 11:47:49 +08:00
dsh-ci-bot 25c91d94a5 Merge remote-tracking branch 'origin/master' into fix/ci-21078ac-scan-dot-dirs 2026-11-09 02:21:35 +08:00
imccyu c22c633a25 Merge pull request #8118 from deepseek-harness/fix/loading-spinner-thinking-gap
fix(web): keep the boot spinner circular and multi-thinking rows on the 4px rhythm
2026-11-07 19:15:37 +08:00
imccyu fc92cdf7ef fix(chat): keep multi-reasoning rows on the process-row rhythm
Several reasoning blocks of one Assistant message rendered 16px apart inside the response body, while process rows of different steps sit 4px apart. A signature-only reasoning block renders no row but left its empty wrapper in the flex body, adding a full block gap.

Styles only: inside a step-group reasoning part, whose body holds only reasoning rows, the block gap is 4px, and an empty reasoning wrapper cancels its gap like a hidden one. A keyless web e2e pins the rendered gaps.
2026-11-07 18:58:57 +08:00
Yichen Jiang c5054b5fff docs(forge): record why the changes view measures pixels and how hosts mark the navigator row 2026-11-07 18:09:09 +08:00
imccyu 7b051ecee5 fix(web): keep the boot spinner arc circular
ui-theme applies a superellipse corner-shape to every element and its ::before/::after once its global sheets load, while the boot page is still shown. The progress arc inherited only the radius, so it rendered as a rounded square until React took over. State the circular corner on the arc as the track already does; the literal 50% radius puts it under the repository-wide full-round pairing gate.
2026-11-07 17:04:41 +08:00
Yichen Jiang d8d6081f44 perf(ui-sidebar-files): give the navigator's covering rules a subject
The two rules that hide a row's body under a filled navigator started with
`:has(`, so the browser treated every element as a possible subject and
restyled the whole document after any DOM change. Both rows that host the
navigator now carry data-files-navigator-row, which the rules name.
2026-11-07 16:22:21 +08:00
Dudu-0223 5195b73915 fix(ui-subagent): distinguish unread catalogs and isolate browser checks 2026-11-07 13:46:49 +08:00
Dudu-0223 ee8f1d8dab fix(ui-subagent): prepare child catalogs on retry 2026-11-07 12:24:27 +08:00
Dudu-0223 c867b5cc7e docs(ui-subagent): align catalog preparation descriptions 2026-11-07 01:06:12 +08:00
Dudu-0223 8e98ccff62 fix(ui-subagent): read direct child catalogs on explicit expansion 2026-11-07 01:06:12 +08:00
Dudu-0223 e89d2b031f fix(ui): show subagent descriptions above names without arrows (#7730)
* fix(ui): show subagent descriptions above names without disclosure arrows

* fix(ui): narrow subagent result cards

* Revert "fix(ui): narrow subagent result cards"

This reverts commit 23a5a353ac9daf0e322f28e19c9d2c2cfbb15acb.

* test(web): sample agent row geometry in one browser task
2026-11-07 01:03:59 +08:00
Yudong Han 2d463af8d2 Merge pull request #7365 from deepseek-harness/feat/sidebar-file-search
feat(ui-sidebar-files): 侧栏文件树新增搜索栏 UI 与排除规则设置
2026-11-07 00:56:13 +08:00
imccyu e48c9cc529 fix(ui-chat): keep manual history available and settle prepend anchors 2026-11-06 23:37:23 +08:00
imccyu 33f5c3ba3e fix(ui-chat): reuse screen preservation for history prepends 2026-11-06 23:37:22 +08:00
imccyu 0a228f0a6a feat(ui-chat): load earlier history with explicit consumption intent 2026-11-06 23:37:20 +08:00
Turtle 0c2559a602 Merge pull request #8032 from deepseek-harness/turtle/goal-button-order-8c781e0a57fd
fix(ui-goal): order goal actions edit, clear, pause and tighten icon gaps
2026-11-06 21:01:56 +08:00
Yudong Han d6aec866d3 Merge pull request #8001 from deepseek-harness/perf/open-in-app-cache
perf(open-in-app): 文件右键菜单不再等待关联应用查询,按文件类型缓存
2026-11-06 18:56:58 +08:00
sjw1231 de273ffe2d feat(typert): make RemoteError a HarnessError
RemoteError extended plain Error because dsh-llm, which owned
HarnessError, depends on dsh-typert-protocol. With HarnessError in the
dependency-free dsh-error package, RemoteError now extends it and keeps
its name, Remote code, details, and constructor, so a tool body that
throws one records name RemoteError and its code on tool/result.

An unknown or unloadable delegation preset therefore keeps the
registry's agent-preset/not-found or agent-preset/invalid identity, and
the subagent runtime no longer rewraps it as PRESET_UNAVAILABLE. Client
bundles inline dsh-error with the protocol layer; no client code
depends on HarnessError identity.

Refs #7869
2026-11-06 18:02:11 +08:00