Commit Graph
28073 Commits
Author SHA1 Message Date
LegGasai ece93f95ec feat(forge): draw the review lists as skeleton rows while they are read
The list column showed plain blocks until its first frame and one block per unread list. It now draws rows laid out
as the items of the reader's view, detailed or compact, with the fill and pulse of the changes view's reading state,
so the column keeps its geometry when the items arrive.
2026-11-18 11:50:33 +08:00
LegGasai 7c34ed36cc docs(forge): move the rate-limited failure upgrade guide to v0.2.2-rc.4
Master released 0.2.2-rc.4, so the guide for the change this pull request introduces belongs to the new version's
directory. The Agent Note links follow it.
2026-11-18 11:13:13 +08:00
LegGasai a86c488ba1 Merge commit '65056bc614a' into worktree/forge-m7-review-page-ee17bf 2026-11-18 11:02:26 +08: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 1870f1dc5f Merge branch 'feat/client-review-page-seams' into worktree/forge-m7-review-page-ee17bf
# Conflicts:
#	packages/experimental/client-ui-forge/README.i18n.yaml
2026-11-17 21:06:27 +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
LegGasai 1a4c16a9bd Merge branch 'feat/client-review-page-seams' into worktree/forge-m7-review-page-ee17bf
Brings in master and the required onWorkspaceSelected callback of conversation.content.

Adaptations:
- The review chat handles a picked Workspace itself: it connects the Workspace's blank, keeps only the latest pick of
  the conversation still shown, moves the draft while both Sessions are retained, and reports a failed connection.
- The compact list title uses the shared MarqueeText instead of the title marquee this stack carried.
- Master moved the change request cards into the Session panel: the review detail reuses the card's merge action and
  rows and draws its own ready-for-review action, and keeps its own Refresh status label.
2026-11-17 20:52:43 +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
imccyu bad6605c93 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.
2026-11-17 20:00:26 +08:00
imccyu 0b75b3da5a docs(notes): state that attention-protected recent views are unbounded 2026-11-17 20:00:26 +08:00
imccyu 4f9ee56b8a feat(client): retain recent sessions and skip conversation folding while unrendered 2026-11-17 20:00:25 +08:00
Turtle 2099 b1e7c58953 Merge pull request #8643 from deepseek-harness/turtle/fix-discussion-13531-d4b7fadf9b60
fix(tool-fs): copy read and glob meta text off the input string
2026-11-17 11:40:45 +00:00
std4453 f7fb1effb8 Merge pull request #8554 from deepseek-harness/agent/add-to-chat-menu-1a865c7c2f9d
feat(web): 文件右键菜单增加添加到对话
2026-11-17 19:37:02 +08:00
LegGasai 854ebc768a Merge remote-tracking branch 'origin/master' into feat/session-workspace-root 2026-11-17 19:29:22 +08:00
zhc 25244cd5e6 Merge remote-tracking branch 'origin/master' into agent/add-to-chat-menu-1a865c7c2f9d
# Conflicts:
#	packages/client/ui-conversation/README.i18n.yaml
2026-11-17 19:10:57 +08:00
imccyu c7ecf45878 ci: compute the pre-merge merge with merge-tree in a separate process (#8657)
The pre-merge step fetches blobless history, so a missing blob is fetched
from origin on demand. Within one `git merge` process, Git's cache of
loose-object directories does not see the merged blobs the merge writes;
the checkout prefetch then asks origin for those blobs, origin refuses
the whole request with "not our ref", and the step reported a clean pull
request as unmergeable. The step now computes the merged tree with
`git merge-tree --write-tree`, commits it with `git commit-tree`, and
checks it out in a separate process, and reports conflicts apart from
other merge failures.

Fixes #8655
2026-11-17 19:02:21 +08:00
zhc 4f6e5d3075 refactor(client): read reference insertion availability when the menu opens
Replace the observable SessionInput.referenceInsertionAllowed with
canInsertReferences(), a read that addReferences rechecks before editing.
The file context menu now observes only the locale; a draft that becomes
uneditable while the menu stays open reports failure on selection. The
input facade reads Session and composer-block facts through plain
functions, matching the quote-insertion dependency.
2026-11-17 18:54:57 +08:00
ihsiang 0ed8cb910f Merge pull request #7475 from deepseek-harness/Ihsiang/ui-review-refinements
fix(client): 统一图标描边、界面对齐与间距,修复模型行间拖放
2026-11-17 10:26:47 +00:00
gengruilin ae24eed1c7 Merge remote-tracking branch 'origin/master' into feat/mcp-tool-loading 2026-11-17 18:25:19 +08:00
imccyu f0774ff2d1 ci: compute the pre-merge merge with merge-tree in a separate process
The pre-merge step fetches blobless history, so a missing blob is fetched
from origin on demand. Within one `git merge` process, Git's cache of
loose-object directories does not see the merged blobs the merge writes;
the checkout prefetch then asks origin for those blobs, origin refuses
the whole request with "not our ref", and the step reported a clean pull
request as unmergeable. The step now computes the merged tree with
`git merge-tree --write-tree`, commits it with `git commit-tree`, and
checks it out in a separate process, and reports conflicts apart from
other merge failures.

Fixes #8655
2026-11-17 18:22:54 +08:00
Turtle 243fbe264b Merge pull request #8650 from deepseek-harness/turtle/plugin-reload-docs
docs(dsh-doc): state that a changed installed plugin reloads on recomposition
2026-11-17 18:22:05 +08:00