Commit Graph
17773 Commits
Author SHA1 Message Date
LegGasai 58ee5a6edf fix(working-directory): move within into dsh-util-workspace-path
forge's Host code imported within from dsh-working-directory, a runtime
value edge the dependency policy refuses for a client-host package. The
helper is a stateless lexical containment test, so it now lives in the
browser-safe workspace-path utility, which joins duplicateSafePackages;
the directory service, the subagent manager, and forge import it from
there and carry the utility as an ordinary dependency.

Review: https://github.com/deepseek-harness/deepseek-harness/pull/7817#discussion_r4454836492
2026-11-04 11:33:17 +08:00
LegGasai 20383ff779 docs(worktree): state the longest-anchor rule and the missing-consumers limitation
The worktree module comment, README, and subsystem page describe creation as a
relocation that registers the checkout as an anchor, which the longest-anchor
rule then selects as the root. The working-directory README records that
workspaceRoot has no consumer yet.

Review: https://github.com/deepseek-harness/deepseek-harness/pull/7817#discussion_r4454836541
Review: https://github.com/deepseek-harness/deepseek-harness/pull/7817#discussion_r4454836557
Review: https://github.com/deepseek-harness/deepseek-harness/pull/7817#discussion_r4454836518
2026-11-04 11:02:48 +08:00
LegGasai 0289252c8a fix(subagent): relocate a child only into a registered parent anchor
A parent without a recorded project reports the deployment fallback as its
root; the child relocated into it and registered a directory that is no
checkout. Require the parent's root to be one of its anchors. The captured
child directory now carries the canonical spelling the directory service
records, so a symlinked explicit cwd inside the parent's checkout still
relocates. The subagent README and the workspace-root note state the
longest-anchor rule and that a child registers only the parent's current root.

Review: https://github.com/deepseek-harness/deepseek-harness/pull/7817#discussion_r4454836468
Review: https://github.com/deepseek-harness/deepseek-harness/pull/7817#discussion_r4454836458
Review: https://github.com/deepseek-harness/deepseek-harness/pull/7817#discussion_r4454836518
2026-11-04 11:02:46 +08:00
LegGasai 2c25ae6b23 fix(working-directory): return the committed workspace root from relocate
relocate reported the requested anchor as the root, while the projection
selects the longest registered anchor containing the current directory.
The two differ when an original project inside the registered root already
contains the directory. Return rootOf() after the commit and document the
rule on RelocatedDirectories and the method.

Review: https://github.com/deepseek-harness/deepseek-harness/pull/7817#discussion_r4454836504
2026-11-04 11:02:45 +08:00
LegGasai a657b6b187 Merge remote-tracking branch 'origin/master' into feat/session-workspace-root
# Conflicts:
#	docs/capability-seams.i18n.yaml
#	docs/subsystems/worktrees.i18n.yaml
#	docs/subsystems/worktrees.md
#	docs/subsystems/worktrees.zh.md
2026-11-03 17:35:24 +08:00
LegGasai a71975faf6 feat(working-directory): add Session workspace roots with anchored relocation
Each Session now has three directories: the immutable original project in
the header, the workspace root, and the current directory. `relocate`
registers an entered checkout as an anchor through the optional `anchor`
of one working-directory/change event, and the new workspaceRoot
projection selects the longest anchor containing the current directory,
so an ordinary cd inside a checkout moves only the cursor while entering
another checkout moves the root with it. A log without anchors keeps the
original project as its only anchor.

Worktree creation relocates instead of setting the directory; a subagent
that starts inside its parent's relocated root inherits that root; the
SDK working-directory methods return the root beside cwd; the user
context names the root while it differs from the current directory, and
a notice that selects another root ends with it. Consumers keep reading
the header or the current directory until a later change moves them.

Refs #2658
2026-11-03 17:24:29 +08:00
Dudu-0223 7c03d2a267 Merge pull request #7772 from deepseek-harness/fix/wait-agent-code-guidance
fix(subagent): prevent repeated wait_agent wakeups within code calls
2026-11-03 17:14:56 +08:00
imccyu 36626c7dfa Merge pull request #7700 from deepseek-harness/refactor/css-anchored-panels
refactor(client): position floating panels with CSS anchors
2026-11-03 15:43:31 +08:00
Magolor d27dc27538 fix(ui-conversation): rebuild the conversation window after a failed incremental flush (#7537)
* fix(ui-conversation): rebuild the conversation window after a failed incremental flush

* fix(ui-conversation): keep the original failure when the rebuild also fails

* test(ui-conversation): type the recovery probe view for type-aware lint

* fix(ui-conversation): finish the rebuild inside flush and report it with ConversationUpdateError

* test(ci): retain process identity while awaiting runner recovery
2026-11-03 15:37:22 +08:00
imccyu 24db102f15 release(dsh): align master packages with 0.2.2-alpha.3 2026-11-03 15:13:20 +08:00
imccyu f590c13c92 Merge master into worktree-sync-dsh-0.2.2-to-master-1103b 2026-11-03 15:10:23 +08:00
Dudu-0223 0d18d256c3 Merge master and simplify wait_agent input guidance 2026-11-03 14:51:55 +08:00
Dudu-0223 19e5a95802 Merge pull request #7773 from deepseek-harness/feat/sdk-team-mode
feat(team): support enabling Team mode through SDK Cordis patches
2026-11-03 14:32:04 +08:00
Stevring 82b953acc5 Merge master into refactor/css-anchored-panels 2026-11-03 14:26:17 +08:00
Dudu-0223 f2c8c243e7 Merge master and refresh the MCP wait_agent snapshot 2026-11-03 14:23:51 +08:00
Dudu-0223 8223beef55 docs(subagent): explain wait input delivery after code execution 2026-11-03 14:14:56 +08:00
imccyu c18851aa30 Merge pull request #7780 from deepseek-harness/worktree-sync-dsh-0.2.2-to-master-1103
release(dsh): sync release/dsh-0.2.2 back to master (#7704)
2026-11-03 14:07:24 +08:00
Yichen Jiang e2f5686a13 Merge pull request #3372 from deepseek-harness/feat/mcp-manager-core
feat(mcp): 支持插件注册与 Remote 管理的 MCP 服务器
2026-11-03 06:07:04 +00:00
Dudu-0223 8c523d9be1 refactor(team): remove startup step-history guard 2026-11-03 14:06:44 +08:00
winewill ece8f7cb77 Merge pull request #7495 from deepseek-harness/feat/desktop-update-channels
feat(desktop): 在设置中切换更新渠道
2026-11-03 14:03:04 +08:00
imccyu b3f1904e86 Merge pull request #7724 from deepseek-harness/worktree-release-dsh-0.2.2-alpha.3
release(dsh): 0.2.2-alpha.3
2026-11-03 13:55:35 +08:00
imccyu f26f308e5e Merge pull request #7768 from deepseek-harness/fix/goal-shutdown-pause
fix(goal-round-driver): keep a running goal active when its agent is disposed
2026-11-03 05:52:48 +00:00
Dudu-0223 dd9719f67a fix(team): initialize configured mode before child activation ownership 2026-11-03 13:39:02 +08:00
gengruilin d9d3b80fe3 Merge remote-tracking branch 'origin/master' into feat/mcp-manager-core 2026-11-03 13:37:58 +08:00
imccyu 1c78d475bf release(dsh): 0.2.2-alpha.3 2026-11-03 13:37:26 +08:00
imccyu c08621b991 Merge master into worktree-sync-dsh-0.2.2-to-master-1103 2026-11-03 13:32:45 +08:00
Stevring 0667efe813 Merge master into refactor/css-anchored-panels 2026-11-03 13:32:06 +08:00
gengruilin df078ddc82 Merge remote-tracking branch 'origin/master' into feat/mcp-manager-core 2026-11-03 13:31:23 +08:00
Dudu-0223 a3baa4d6e4 Merge remote-tracking branch 'origin/master' into feat/sdk-team-mode
# Conflicts:
#	docs/persistence-schema.json
2026-11-03 13:29:41 +08:00
Dudu-0223 0cb47b9d03 fix(subagent): integrate root-call scoped wait protection
Integrate PR #7774 with one-shot code guidance and matching snapshots. Cover distinct nested call IDs sharing a root and concurrent model calls with pending input.
2026-11-03 13:29:33 +08:00
winewill 3c46127816 Merge remote-tracking branch 'origin/master' into feat/desktop-update-channels 2026-11-03 13:20:42 +08:00
yudshj 3859913c68 feat(web): 网页搜索与获取设置页分开选择 Search 与 Fetch,Search 默认改为 DeepSeek Search API 2026-11-03 13:04:26 +08:00
Stevring 48b2f9adc0 fix(client): keep model menu anchored during page zoom 2026-11-03 12:57:46 +08:00
Dudu-0223 2a7d2f38fb Merge branch 'master' into fix/team-task-workflow-prompt 2026-11-03 12:43:57 +08:00
imccyu 06bf7ce024 Revert "fix(settings): show saved API keys and preserve environment detection…"
This reverts commit 9bb49604b63bb5d50e879bcf63c9f5cb2afbd737.
2026-11-03 12:33:44 +08:00
Magolor f07af538f8 fix(schedule): initialize stored task timing controls (#7704)
* fix(schedule): initialize stored task timing controls

* fix(schedule): preserve native editor timing on save

* fix(schedule): clarify validation and preserve calendar edits

* fix(schedule): clarify custom rule corrections
2026-11-03 12:30:08 +08:00
Dudu-0223 c3fda8ed51 docs(subagent): retain wait_agent input examples 2026-11-03 12:16:55 +08:00
Dudu-0223 cc673ec174 fix(team): identify the coordinator as the root agent 2026-11-03 12:12:37 +08:00
Dudu-0223 e180fce05a feat(team): enable new root Team mode through Cordis configuration 2026-11-03 12:09:30 +08:00
Dudu-0223 1f522605ed fix(subagent): clarify one-shot waits from code 2026-11-03 12:06:10 +08:00
imccyu aa4774e685 Merge master into worktree-sync-dsh-0.2.2-to-master 2026-11-03 12:05:47 +08:00
涂轶翔 012a7a2e4a Merge pull request #6958 from deepseek-harness/fix/6953-deepseek-deferred-tools
fix(llm): rebuild tool baselines after removals
2026-11-03 11:59:07 +08:00
Dudu-0223 f7c184ffd1 fix(team): restore the original shared-task policy wording 2026-11-03 11:58:27 +08:00
winewill 0535b85a1d fix(desktop): recover update settings under mandatory policy 2026-11-03 11:54:27 +08:00
Dudu-0223 48e21ac6d7 fix(team): guide agents to create and track shared tasks 2026-11-03 11:49:44 +08:00
imccyu ef5f28d0fb Merge master into worktree-sync-dsh-0.2.2-to-master 2026-11-03 11:47:40 +08:00
winewill eb5b32c9c9 fix(desktop): report and recover saved channel apply failures 2026-11-03 11:47:04 +08:00
Turtle 582c334472 Merge pull request #7022 from deepseek-harness/turtle/websearch-query-limit-96c308027005
feat(web): raise web_search defaults to 10 queries and 10 sources
2026-11-03 11:41:39 +08:00
winewill 224fe9a658 fix(desktop): distinguish committed and uncertain settings saves 2026-11-03 11:26:57 +08:00
imccyu eb1713f856 fix(session-projection): keep released units in checkpoints (#7754)
* fix(session-projection): keep released units in checkpoints

Since the Cordis rc.11 teardown order unloads the Web layer before the
base layer, Session Controller and harness-dev-context release their
projection units before their live Sessions detach. The projection
cache is still alive at that point and wrote a checkpoint holding only
the units that were still registered, replacing the complete record.
A blank Session then lost sessionListMetadata and listed as an untitled
conversation after every graceful restart.

A released unit now stays in the registry as a predecessor: it leaves
event drives, snapshots, restores, and change notifications, while
checkpoint() keeps each Session's last cell of it without advancing it.
Registering the same key again replaces the predecessor and refolds
the log. The projection cache keeps replacing whole records.

* test(session-projection): assert frozen released units across unload tests

Update the remaining unload tests that still expected a released unit
to vanish from checkpoint(): user-approval, agent-loop inbox and scope
lifecycle, time-context, and the agent registry now assert that the
same Session keeps its pre-unload row, that a later event does not
advance it, and that a Session created after the unload has no row.
The token-meter and goal unload tests also append an event after the
unload.

Document that a retained handle read still advances a released cell
that checkpoint() serves, and that restore() folds only live units, so
its refreshed rows omit released units.

* docs(session-projection): sync the ProjectionHandle type-equiv block

* docs(session-projection): record frozen released units and their upgrade

Add the upgrade guide for checkpoint() keeping a released unit's last
row, update the registration-handles Agent Note with the frozen-cell
decision and the retained predecessor, list both consequences under the
registry README's known limitations, note in the projection cache README
that a stored row can be frozen at its unit's release, and say that
restoreFloor() ignores released predecessors.

Update the agent-loop resource-lifecycle unload test, which read
checkpoints through an alias, to the frozen-row semantics.

* docs(upgrade-guide): mark the released-checkpoint snippet ignore-check

* docs(session-projection): state the retained-handle path and narrow a rejected alternative

* docs(upgrade-guide): re-record the released-checkpoint guide pairing
2026-11-03 11:07:09 +08:00