Commit Graph
28079 Commits
Author SHA1 Message Date
creatixchu df280fc4e5 Report hold availability by execution context and cover forced disconnect 2026-11-18 15:45:21 +08:00
creatixchu 794cd66634 Keep cleanup listeners alive through unload and honor stop during finalization 2026-11-18 15:40:37 +08:00
creatixchu 15e36acd44 Record finalized SDK output without queuing another turn 2026-11-18 15:22:23 +08:00
creatixchu 14baaa2902 Preserve turn failures and discover awaited finalization in generated docs 2026-11-18 15:15:40 +08:00
creatixchu 4aaa4f1ec1 Keep complete MCP input available while requiring turns for holds 2026-11-18 15:10:56 +08:00
creatixchu 2d63749017 Identify native test events by their source and update lifecycle reference 2026-11-18 15:05:28 +08:00
creatixchu e8259b96e1 Restrict persistent ownership to explicit downs and add desktop turn checks 2026-11-18 15:00:10 +08:00
creatixchu 8d67f8732e Preserve pointer release coordinates and exercise native mixed input 2026-11-18 14:54:18 +08:00
creatixchu e7a0f330fb Align lifecycle test protocols and SDK cancellation recording 2026-11-18 14:52:40 +08:00
creatixchu ddbc1809ab Cover cleanup timeout and concurrent CUA turn ownership 2026-11-18 14:50:41 +08:00
creatixchu 50b18e554f Update input approval fixtures for active turn ownership 2026-11-18 14:47:44 +08:00
creatixchu 531004f06e Unify macOS CUA held input around turn finalization 2026-11-18 14:42:37 +08:00
CreatixChu 2f7482bcf9 Merge pull request #8429 from deepseek-harness/feat/cua-macos/mouse-toggle
feat(cua-macos): support individual mouse button presses and releases
2026-11-18 13:05:21 +08:00
creatixchu ad62a711b6 fix(cua): wait for native cleanup before the next request 2026-11-18 12:12:00 +08:00
creatixchu a2bd085fd2 Merge remote-tracking branch 'origin/master' into feat/cua-macos/mouse-toggle 2026-11-18 12:10:53 +08:00
_Kerman ed203fb7dc Merge pull request #8641 from deepseek-harness/xtr/fix-ptc-repeat-tool-reminder
fix(guard): exclude PTC subcalls from repeat reminders
2026-11-18 11:48:38 +08:00
creatixchu 2082177fe1 docs(cua-windows): remove extra mouse toggle guidance 2026-11-18 11:44:00 +08:00
LegGasai afca6e729a fix(forge): remove saved comment cards from the changes view (#8653)
* fix(forge): remove saved comment cards from the changes view

A comment added to the main input left a card beside its code that the
reader could not remove, also after its code changed or its file left
the diff. The card's menu now offers Remove for a reference and for a
publication receipt; the notice that follows offers Undo, which puts the
card back at its place. Removing a card changes neither the main input
nor the code host.

The three browser-kept cards share the thread card's geometry and its
header menu. A browser draft's Edit and Delete move into the menu, its
deletion asks first, and its move into the pending review is named Start
review while the user has none, as the comment form names it. The card
title "Your comment" is gone: the header shows the lines and the state.

* fix(forge): keep a draft's Delete while it is edited and let the view name each notice's tone

A browser draft being edited hid its menu, so a draft whose text the
reader emptied could be neither finished nor deleted. The menu now stays
during editing and offers Delete, which asks first as before.

The changes view passed its notices to a per-mount function that chose
the tone from a list of keys and forwarded the undo action. A second
mount with its own copy of that function would show a removal as a
failure without Undo. The view now passes the tone and the undo action
with each notice, and the mount hands them to the notice store as given.
2026-11-18 03:28:36 +00:00
LegGasai 8a96cba995 Merge pull request #8362 from deepseek-harness/feat/client-review-page-seams
feat(client): add panel row trailing content and owner-handled Workspace picks
2026-11-18 11:01:31 +08:00
Kexin Liu b8ad4dc7f5 Merge pull request #8611 from deepseek-harness/fix/session-sqlite-commit-yield
fix(session): SQLite 每次提交后让出事件循环
2026-11-18 04:42:43 +08:00
liukx0205 55e96102ec fix(session): yield the event loop after each SQLite commit
A writer that checkpoints step after step runs its whole append path on
settled promises and a synchronous transaction, so the process never
returns to the I/O phase: timers, other writers waiting on a lease, and
the UI starve until the writer stops. Yielding once per commit bounds
that stall to one commit.
2026-11-18 03:43:28 +08:00
imccyu 9b45d2ece6 Merge pull request #8640 from deepseek-harness/feat/client-config-migrate-globals
refactor(client): deliver page-global Host configuration through synced plugin Config
2026-11-17 23:59:02 +08:00
imccyu 15a74b03c7 test(snapshots): refresh mcp-tool-loading after the working_directory tool removal 2026-11-17 22:26:16 +08:00
imccyu 40e0850b7e fix(client-modules): publish no synced values while a pending plugin's config expression awaits an injection
The connection row's trustedHosts expression reads webStartup, which the
worker preview never provides; resolving its raw Config before activation
threw on every graph composition and logged a console error.
2026-11-17 22:20:30 +08:00
imccyu 4799c27d0b docs(client): state that live-share viewers follow plugin events with schema defaults and correct the recovery NaN rationale 2026-11-17 22:20:30 +08:00
imccyu 34481579ed fix(client): pass the connection synced Config in the built Remote chain and regenerate event graphs and the plugin package list 2026-11-17 22:20:30 +08:00
imccyu 724c2695b8 fix(client): keep the account contact form on its page global and read the stop interval at each first press 2026-11-17 22:20:29 +08:00
imccyu 3c0cef3560 refactor(client): deliver page-global Host configuration through synced plugin Config
Move shortcuts, account notifications, Models onboarding, document preview,
account contact, and connection recovery off their own webserver/index-inject
page globals onto top-level volatile Config fields that reach each browser face
as SyncedConfig. Keep cordis.yml keys and defaults, keep a typed Host config
parameter so the config catalog still lists these packages (also restoring
ui-context-menu), and regenerate catalogs.
2026-11-17 22:20:29 +08:00
imccyu ca33fd6843 Merge pull request #8667 from deepseek-harness/worktree-sync-release-dsh-0.2.2-0.2.2-rc.4-to-master
chore(release): sync release/dsh-0.2.2 0.2.2-rc.4 to master
2026-11-17 22:17:01 +08:00
imccyu 1e8b233abc chore(release): merge master into 0.2.2-rc.4 sync 2026-11-17 22:09:47 +08:00
Ruilin Geng 4426ed85bd Merge pull request #5916 from deepseek-harness/feat/mcp-tool-loading
feat(mcp): 支持按 agent 按需加载 MCP 工具
2026-11-17 13:43:32 +00:00
Ruilin Geng f12830df57 Merge pull request #7491 from deepseek-harness/feat/upstream-skills
feat(upstream-skills): 新增 CLI 应用插件共用的上游技能下载库
2026-11-17 13:40:12 +00:00
imccyu 7400626e6e chore(release): sync release/dsh-0.2.2 0.2.2-rc.4 to master
# Conflicts:
#	packages/client/hmr/package.json
#	packages/client/script-realm-iframe/package.json
#	packages/client/ui-jobs/package.json
#	packages/client/ui-session-panel/package.json
#	packages/experimental/action-cards/package.json
#	packages/experimental/client-ui-forge/package.json
#	packages/experimental/cua-bundle/package.json
#	packages/experimental/forge-gitlab/package.json
#	packages/ptc-runtime/ptc-runtime-node/package.json
#	packages/session/tool-working-directory/package.json
#	packages/util/atomic-write/package.json
2026-11-17 21:37:34 +08:00
imccyu 3f321d32bf Merge pull request #8666 from deepseek-harness/worktree-release-dsh-0.2.2-rc.4
release(dsh): 0.2.2-rc.4
dsh-v0.2.2-rc.4
2026-11-17 21:30:09 +08:00
imccyu de82673099 Merge pull request #8665 from deepseek-harness/worktree-sync-release-dsh-0.2.2-0.2.2-rc.4-to-master
chore(release): sync release-dsh-0.2.2-0.2.2-rc.4 to master
2026-11-17 21:27:44 +08:00
imccyu bc3bddffbd release(dsh): 0.2.2-rc.4 2026-11-17 21:19:11 +08:00
gengruilin 0f36fece74 Merge remote-tracking branch 'origin/master' into feat/upstream-skills 2026-11-17 21:18:10 +08:00
imccyu e62d55e99e chore(release): sync release/dsh-0.2.2 0.2.2-rc.4 to master 2026-11-17 21:12:50 +08:00
LegGasai ed21a83989 Merge commit 'fc56027d7e7' into feat/client-review-page-seams
# Conflicts:
#	packages/client/ui-conversation/README.i18n.yaml
2026-11-17 21:01:10 +08:00
imccyu 7e7b604620 feat(client): retain recent sessions and skip conversation folding while unrendered (#8502)
* feat(client): retain recent sessions and skip conversation folding while unrendered

* docs(notes): state that attention-protected recent views are unbounded

* refactor(ui-workspace): derive recent views from visit order and make the limit configurable

Recent views now hold exactly the Sessions one idempotent sync() selects from
the visit order and current snapshots, so navigation reports the shown Session
once and the main-view Session never counts. A failed Conversation resumption
leaves the binding stale so the next window change rebuilds the whole window.

* refactor(session-controller): report facet counts through retainInfo instead of SessionBinding

SessionBinding stays unchanged; SessionRetainInfo gains optional retainedFacets
counts beside retainedBy, and owners derive their facet from retainInfo and the
current binding. Adds the upgrade guide for Client plugins that render a Session
they retain, and updates two web e2e expectations: a recently viewed Session now
keeps its right Sidebar view state when the main view returns to it.

* feat(client): keep drafts with a connectionless Session hold and fold only the last page on return

Session references gain connection (true by default). When no reference keeps
it, the Session disconnects and empties its window while keeping its scope.
When the last facet is released, the Session keeps only its last Turn-aligned
page visible and its event stream buffers the older records, answering page
reads from that buffer before the Host. BoundConversation folds only while the
conversation facet is retained and drops its fold on release. The input hub
holds a Session with { source: 'draft', connection: false } while its draft has
attachments, replacing the root-level draft-attachment ownership; reload marks
remain.

* refactor(session-controller): share retain-info counting with the test fixture

* fix(client): keep gap repair, disconnect, and recent-view counting correct while Sessions are buffered

- Only page reads before the window take buffered records; a live gap repair
  reads the Host.
- A resync whose teardown a disconnect interrupted stays cold.
- A Session the main view already retains takes no recent-view slot before
  show(), so losing its unread protection during retention evicts nothing.
- Buffering marks the window partial, so the start-of-history marker survives
  after the buffer runs out.

* fix(session-controller): consume an arrived older page before buffering the window

* feat(ui-workspace): sync the recent-view limit from the Host Config

recentViewLimit becomes a volatile field of the ui-workspace Host Config
(z.natural().default(10)). The browser receives it through synced plugin
configuration, and RecentSessionViews reconciles whenever it changes, so a
cordis.yml edit takes effect without a page reload. Until a value arrives,
every counted recent view is kept.

The package gains a Host compiler face: src/types.ts holds the shared
Config type, tsconfig.host.json and tsconfig.client.json replace the single
Client config, and every reference names the face it compiles against.
2026-11-17 20:51:42 +08:00
LegGasai 76dc7d8aae refactor(ui-conversation): let each content occurrence handle a Workspace pick
The content factory took an optional onWorkspaceSession and otherwise opened the picked Workspace as the main
Session itself. Every occurrence now passes onWorkspaceSelected(workspaceId, adopt): the main shell and the subagent
Sidebar chat pass Workspace navigation's openWorkspace, so their behavior is unchanged, and an embedded owner shows
the Session itself and calls adopt to move the draft in the step that shows it. The content keeps only the draft
move; the latest-pick check and the failure notice it carried for embedded owners move to those owners.
2026-11-17 20:30:28 +08:00
LegGasai 887ec5cf4a Merge pull request #7817 from deepseek-harness/feat/session-workspace-root
feat(working-directory): add Host-moved workspace roots and remove the working_directory tool
2026-11-17 12:23:00 +00:00
LegGasai 0a2a3d5a27 Merge remote-tracking branch 'origin/master' into feat/client-review-page-seams
# Conflicts:
#	packages/client/ui-conversation/README.i18n.yaml
#	packages/client/ui-primitives/README.i18n.yaml
#	packages/client/ui-primitives/README.md
#	packages/client/ui-primitives/README.zh.md
#	packages/client/ui-sidebar/README.i18n.yaml
#	packages/client/ui-sidebar/src/client/SidebarRoot.tsx
#	packages/client/ui-workspace/src/client/rows/Rows.tsx
#	packages/client/ui-workspace/tests/browser-styles.client.spec.ts
#	packages/client/ui-workspace/tests/rows.client.spec.tsx
2026-11-17 20:11:57 +08:00
LegGasai 6db6fb4e59 Merge remote-tracking branch 'origin/master' into feat/session-workspace-root 2026-11-17 20:06:42 +08:00
imccyu 116b7d4868 feat(ui-workspace): sync the recent-view limit from the Host Config
recentViewLimit becomes a volatile field of the ui-workspace Host Config
(z.natural().default(10)). The browser receives it through synced plugin
configuration, and RecentSessionViews reconciles whenever it changes, so a
cordis.yml edit takes effect without a page reload. Until a value arrives,
every counted recent view is kept.

The package gains a Host compiler face: src/types.ts holds the shared
Config type, tsconfig.host.json and tsconfig.client.json replace the single
Client config, and every reference names the face it compiles against.
2026-11-17 20:01:33 +08:00
imccyu fff31dd57b fix(session-controller): consume an arrived older page before buffering the window 2026-11-17 20:01:33 +08:00
imccyu 24df14af28 fix(client): keep gap repair, disconnect, and recent-view counting correct while Sessions are buffered
- Only page reads before the window take buffered records; a live gap repair
  reads the Host.
- A resync whose teardown a disconnect interrupted stays cold.
- A Session the main view already retains takes no recent-view slot before
  show(), so losing its unread protection during retention evicts nothing.
- Buffering marks the window partial, so the start-of-history marker survives
  after the buffer runs out.
2026-11-17 20:01:33 +08:00
imccyu 33bf943702 refactor(session-controller): share retain-info counting with the test fixture 2026-11-17 20:01:33 +08:00
imccyu 4b01a4afda feat(client): keep drafts with a connectionless Session hold and fold only the last page on return
Session references gain connection (true by default). When no reference keeps
it, the Session disconnects and empties its window while keeping its scope.
When the last facet is released, the Session keeps only its last Turn-aligned
page visible and its event stream buffers the older records, answering page
reads from that buffer before the Host. BoundConversation folds only while the
conversation facet is retained and drops its fold on release. The input hub
holds a Session with { source: 'draft', connection: false } while its draft has
attachments, replacing the root-level draft-attachment ownership; reload marks
remain.
2026-11-17 20:01:31 +08:00
imccyu bf58ff25f4 refactor(session-controller): report facet counts through retainInfo instead of SessionBinding
SessionBinding stays unchanged; SessionRetainInfo gains optional retainedFacets
counts beside retainedBy, and owners derive their facet from retainInfo and the
current binding. Adds the upgrade guide for Client plugins that render a Session
they retain, and updates two web e2e expectations: a recently viewed Session now
keeps its right Sidebar view state when the main view returns to it.
2026-11-17 20:00:26 +08:00