Commit Graph
28083 Commits
Author SHA1 Message Date
gengruilin 3d0f2ebd09 docs(wecom): regenerate the config catalog for the plugin entry's Config line
The catalog records the line of Config in the plugin entry, which moved up two lines when the entry stopped exporting the account types.
2026-11-18 15:15:37 +08:00
gengruilin e3fc326ff4 refactor(wecom): stop exporting the account types from the plugin entry
No other package imports them. The entry exports only what the Loader reads;
the package's own modules and tests import the types from src/types.ts.
2026-11-18 15:00:02 +08:00
gengruilin 960cf528ea chore(wecom): align the package version with 0.2.2-rc.4 2026-11-18 01:07:03 +08:00
gengruilin 4a61813759 Merge remote-tracking branch 'origin/master' into feat/wecom-plugin 2026-11-18 01:06:53 +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
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 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 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
gengruilin 810d9c789b Merge remote-tracking branch 'origin/master' into feat/upstream-skills 2026-11-17 18:18:03 +08:00
Ruilin Geng f744584083 Merge pull request #5333 from deepseek-harness/feat/mcp-oauth
feat(mcp): 支持显式 OAuth 授权、后台刷新与插件页账号连接
2026-11-17 10:16:30 +00:00
Kexin Liu 61194acc66 Merge pull request #8486 from deepseek-harness/perf/session-sqlite-payload-compression
perf(session): SQLite 以压缩帧存储事件
2026-11-17 18:13:12 +08:00
gengruilin 90ecf4d2d7 Merge remote-tracking branch 'origin/master' into feat/upstream-skills 2026-11-17 18:05:44 +08:00
turtle1999 9b431e701e docs(dsh-doc): name the one-call set_plugin reload
setPluginEnabled recomposes the profile on every call, so a single
enabled: true on the row reloads a changed package; a disable step is
not needed. Scope the paragraph to HMR and name the Client bundle
condition as its changed client.js.
2026-11-17 18:03:36 +08:00
liukx0205 d16104bd9a test(session): cover SQLite frame storage and document its settings
Fixtures construct the store with the plugin's frame defaults and read
durable history through frames; existing tests query the frames table
and its triggers. New tests cover the frame codec, frame layout per
write and per setting, sliced reads across frame boundaries, decode
grouping, and the corruption refusals for a missing frame, a frame
shorter than its range, an unknown codec, and damaged bytes.

The SQLite README, the persistence subsystem page and the generated
configuration catalog describe `frameEvents` and the frame encoding
selected by `compression`.
2026-11-17 18:00:51 +08:00
liukx0205 64c574c0e2 feat(session): make the SQLite frame size a plugin setting
The SQLite plugin validates its own Config: the JSONL fields plus
frameEvents, the maximum events per new frame, defaulting to 64. Imported
histories reach the cap; larger frames compress a few percent better and cost
proportionally more to decode for a tail read.
2026-11-17 18:00:51 +08:00