Commit Graph
18707 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
Turtle b3e8a77bdf Merge pull request #8051 from deepseek-harness/turtle/snapshot-diff-viewer-127358e84afe
ci(preview): publish a snapshot diff page with each PR preview
2026-11-11 15:49:48 +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
creatixchu 27bbae4a59 Sync master into the CUA helper packaging workflows 2026-11-11 15:37:16 +08:00
creatixchu 1cd79de4e8 Explain missing macOS helper jobs and verify artifact name selection 2026-11-11 15:35:08 +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
creatixchu 1d5e1d7757 Name helper artifacts and packaging workflows by platform 2026-11-11 15:12:02 +08:00
sjw1231 9557a247a8 fix(tool-schedule): keep the reason for an invalid delegation depth
Moving the delegation-depth read inside the operation's catch turned an
invalid runtime subagentDepth into a reasonless internal_error, so the
tool result lost the message that master still reported. The read is
back before the catch; delegationDepthOf now throws SubagentError
INVALID_DEPTH, so the tool result keeps the message and records that
name and code.

Refs #7869
2026-11-11 15:09:27 +08:00
creatixchu 3f4704cb6d Merge master into the macOS CUA naming change 2026-11-11 14:47:24 +08:00
sjw1231 e93e8e266a test(workflow-ptc): use the output field in the fatal-code fixture
Master renamed PtcRunResult.logs to output, so the fatal-code run-result
fixture no longer type-checked after merging it.

Refs #7869
2026-11-11 14:46:41 +08:00
creatixchu ce1b5182bc Clarify macOS CUA migration and provider diagnostics 2026-11-11 14:43:07 +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
sjw1231 1784d23da9 fix(workflow): keep the fatal code that ended a failed run
A fatal WorkflowError such as AGENT_CAP or ITEM_CAP was rendered to text
inside the PTC guest, so the workflow tool could only report RUN_FAILED.
WorkflowResult and the workflow/end payload now carry errorCode, the
code of the fatal error that ended an error run; the host validates it
at the process boundary and the tool fails with that code. RUN_FAILED
remains only for an error run without one: the script's own exception or
an engine runtime failure. WorkflowError narrows code to
WorkflowErrorCode.

Refs #7869
2026-11-11 13:10:55 +08:00
sjw1231 d2d79aae65 fix(subagent): give SubagentError a closed code union and stop reusing codes
Route refusals from the Session model-selection policy reused
UNAUTHORIZED, which existing consumers such as tool-office, team, and the
SDK server read as a failed caller-identity check, and an unregistered
LLM provider reused NO_PROVIDER, which means no subagent provider. They
now use MODEL_ROUTE_NOT_ALLOWED and LLM_PROVIDER_NOT_FOUND.

SubagentError's code is typed by the closed SubagentErrorCode union,
each member documented with its condition, so a new failure cannot
silently reuse an existing code.

Refs #7869
2026-11-11 12:46:48 +08:00
imccyu c20bbda218 📝 chore(client): regenerate the slot catalog after rebasing 2026-11-11 12:21:38 +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
Yichen Jiang 8c192ad810 Merge pull request #8228 from deepseek-harness/feat/forge-extension-api
feat(forge): open change request review to plugins with lenses, line annotations, and slots
2026-11-11 12:07:19 +08:00
creatixchu e7950b0ca8 Align the macOS Computer Use provider package and entry names 2026-11-11 11:43:44 +08:00
Yichen Jiang f1f987c4c2 docs(forge): name what review changes reread, when annotations draw, and brand lens ids 2026-11-11 11:34:04 +08:00
Yichen Jiang 8c8122ffb0 fix(forge-panel): settle lens runs with their plugins and keep review state through lenses
A lens registration's disposer now waits for the classification itself,
and a run whose registration ended or whose caller left before it started
never reaches the lens; changesLens refuses a lens withdrawn while the
files were read and a local result whose files changed during the run.
The extension state names each lens's version, so the view keys results
by source, files, lens, and version. Hunks holding an open comment form
or a saved browser comment stay unfolded, the view reads threads and
viewed marks again on reviewRevision, a thread jump clears a lens that
hides its file, and the Client entry re-exports the lens types.
2026-11-11 11:34:03 +08:00
Anlai Lu a91716b7ce fix(cua-windows): 修正 Windows 辅助功能遍历上限提示 2026-11-11 10:53:00 +08:00
Anlai Lu f4bb505210 test(cua-windows): 对齐 native traversal 上限边界断言 2026-11-11 10:53:00 +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
imccyu 378efd8556 Merge pull request #8265 from deepseek-harness/saafo/duo-text-autosizing
🐛 Prevent automatic text enlargement on mobile Safari
2026-11-11 10:14:58 +08:00
imccyu 4861a5022a Merge pull request #8213 from deepseek-harness/split-exports-test-fixtures
refactor(exports): internalize test helpers and type fixtures
2026-11-11 10:13:15 +08:00
Saafo 01ad3f8b68 🐛 Preserve authored text sizes on mobile Safari 2026-11-11 09:56:15 +08:00
Turtle e19c7f1a02 Merge pull request #8225 from deepseek-harness/turtle/add-desktop-ua-suffix-e911e659413d
feat(llm): report the booted profile in the provider User-Agent
2026-11-11 09:51:11 +08:00
Turtle ce6ab42635 Merge pull request #8225 from deepseek-harness/turtle/add-desktop-ua-suffix-e911e659413d
feat(llm): report the booted profile in the provider User-Agent
2026-11-11 09:28:02 +08:00
imccyu 17d96e0f6d refactor(exports): internalize test helpers and type fixtures 2026-11-11 07:32:55 +08:00
Huo Yaoyuan 176d69bd21 Revert maxDepth/maxElements changes and tests 2026-11-10 23:41:25 +08:00
Huo Yaoyuan a18dbe9138 Remove launchWaitMs config 2026-11-10 23:13:40 +08:00
Huo Yaoyuan 01d868ad1e Reword guidance 2026-11-10 23:13:40 +08:00
Huo Yaoyuan 61576d77c6 Sync maxElement config and add guidance 2026-11-10 23:13:40 +08:00
Huo Yaoyuan 7e3161e461 fix(cua): honor per-read traversal limits on Windows 2026-11-10 23:13:40 +08:00
Huo Yaoyuan 62894e715d feat(cua-windows): expose element metadata and defer disabled-state rejection 2026-11-10 23:13:40 +08:00
Huo Yaoyuan 36496e1495 feat(cua-windows): use UIA RuntimeIds as element identifiers 2026-11-10 23:13:40 +08:00
Huo Yaoyuan f5ceca4b1d feat(cua-windows): allow selecting unlisted executables by path 2026-11-10 23:13:40 +08:00
Huo Yaoyuan 1374429891 feat(cua-windows): launch AUMIDs through Explorer with bounded observation 2026-11-10 23:13:40 +08:00
Huo Yaoyuan d0d24d7779 fix(cua-windows): separate default invocation from simulated clicks 2026-11-10 23:13:40 +08:00
Huo Yaoyuan 80510f7543 feat(cua-windows): show patterns instead of actions in accessibility state 2026-11-10 23:13:40 +08:00
Huo Yaoyuan 91f70db6a6 feat(cua-windows): expose native pattern actions 2026-11-10 23:13:40 +08:00
Huo Yaoyuan abb3c004d5 fix(cua-windows): use native control type names 2026-11-10 23:13:40 +08:00
creatixchu 2deb3189c6 Merge master and adapt scoped CUA replay to string window IDs 2026-11-10 22:38:49 +08:00