Commit Graph
8073 Commits
Author SHA1 Message Date
sjw1231 c19f8fadfe Merge remote-tracking branch 'origin/master' into fix/sdk-dsh-doc-parity
# Conflicts:
#	packages/bundle/sdk-app/README.i18n.yaml
#	packages/bundle/sdk-app/README.md
#	packages/bundle/sdk-app/README.zh.md
#	scripts/snapshots/python-sdk-single-exe/authoring/model-visible.json
#	scripts/snapshots/python-sdk-single-exe/authoring/win-x64/model-visible.json
2026-11-19 13:03:11 +08:00
yudshj dca075e2a2 feat(sdk): 普通 prompt 逐条上报用户时区
session/prompt 与 session/query 接受可选 timeZone,TS/Python 客户端透传;省略时逐条采样进程时区,写入 sdk-user 来源的 clientTimeZone。time-context 读取不带 rpcId 的 user 来源时区。补持久化记录、Agent Note、升级指南、README,并刷新 SDK snapshot。
2026-11-19 11:58:00 +08:00
sjw1231 f0fb3692d3 fix(skills): list dsh-doc in the SDK profile and the Desktop PTC preset
The SDK profile and the Desktop PTC preset now add the agent-preset skills
directory to skill-filesystem, as the Desktop standard and Creator presets do,
so the first model request of every SDK session and of Desktop standard, PTC,
and Creator sessions lists the same dsh-doc skill.

Fixes #8557
2026-11-19 11:54:56 +08:00
gengruilin e360b8f017 Merge remote-tracking branch 'origin/master' into feat/feishu-plugin 2026-11-19 11:02:44 +08:00
imccyu fbbf1acb03 test(web): read the drop target again until the pointer rests on a Session row
The drag-scroll case read elementFromPoint once after moving to the drop point;
on a loaded runner the point can still miss a row, and the non-null assertions
then threw. Poll the target until it names a row, and give the reorder Host
round trip 10 seconds.
2026-11-19 01:54:59 +08:00
imccyu f92b5de6c7 test(web): allow the provider key save to settle before checking the editor closed
The Save in the provider editor writes settings and the credential on the Host
before the editor closes; the 1-second expect.poll default timed out on a loaded
CI runner. Wait up to 10 seconds, as other web e2e cases do for Host round trips.
2026-11-19 01:28:20 +08:00
Huo Yaoyuan f5e2c7db6e feat(cua): add action schema discovery (#8710)
* feat(cua): add action schema discovery

* Update guidance

* Fix prompt test

* Reduce test dependency

* Fix snapshot test
2026-11-18 20:50:54 +08:00
gengruilin fd7e341978 Merge remote-tracking branch 'origin/master' into feat/tencent-docs-plugin 2026-11-18 19:14:57 +08:00
gengruilin bb41d5e1e0 Merge remote-tracking branch 'origin/master' into feat/tencent-docs-plugin 2026-11-18 18:52:55 +08:00
imccyu a3d319bdac chore(release): sync latest master for 0.2.2-rc.5 2026-11-18 18:33:54 +08:00
imccyu 26ac56f780 chore(release): align master-only packages to 0.2.2-rc.5 2026-11-18 18:29:39 +08:00
Ruilin Geng 35f1614ba0 Merge pull request #5933 from deepseek-harness/feat/notion-plugin
feat(notion): 新增 Notion 插件并支持在插件页连接账号
2026-11-18 18:28:12 +08:00
imccyu 30b668495d chore(release): sync release/dsh-0.2.2 0.2.2-rc.5 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-18 18:26:56 +08:00
imccyu 9bf478edde release(dsh): 0.2.2-rc.5 2026-11-18 17:43:56 +08:00
imccyu e252633945 Merge pull request #8726 from deepseek-harness/worktree-sync-release-dsh-0.2.2-0.2.2-rc.5-to-master
chore(release): sync release/dsh-0.2.2 0.2.2-rc.5 to master
2026-11-18 17:43:02 +08:00
gengruilin 918e5c0531 Merge remote-tracking branch 'origin/master' into feat/notion-plugin 2026-11-18 17:42:57 +08:00
Ruilin Geng d826f38c92 Merge pull request #7683 from deepseek-harness/feat/linear-plugin
feat(linear): 新增 Linear 插件并支持在插件页连接账号
2026-11-18 17:26:05 +08:00
winewill 9f7be2ab00 Merge pull request #8056 from deepseek-harness/fix/windows-installer-drag-completion
fix(desktop): 修复安装完成时拖动导致的输入卡死及关闭按钮
2026-11-18 16:48:16 +08:00
imccyu 5d3f7b5063 chore(release): sync release/dsh-0.2.2 0.2.2-rc.5 to master
# Conflicts:
#	.agents/notes/implemented/feature/2026-10-15-deepseek-search-fetch-api.i18n.yaml
#	packages/web/tool-web/tests/integration.spec.ts
#	packages/web/tool-web/tests/tool-web.spec.ts
#	packages/web/web-deepseek-api/README.i18n.yaml
#	packages/web/web-deepseek-api/README.md
#	packages/web/web-deepseek-api/README.zh.md
#	packages/web/web-search-deepseek/README.i18n.yaml
#	packages/web/web-search-deepseek/README.md
#	packages/web/web-search-deepseek/README.zh.md
#	packages/web/web/README.i18n.yaml
2026-11-18 16:22:08 +08:00
LegGasai f47a0a2b52 Merge pull request #8707 from deepseek-harness/feat/web-search-deepseek-model-default
feat(web): default DeepSeek model conversations to Messages search
2026-11-18 15:41:59 +08:00
Chinesezjc 05500a393c Merge pull request #8694 from deepseek-harness/fix/ci-385968e-operation-history
fix(desktop): keep operation history the predecessor read would drop
2026-11-18 14:51:58 +08:00
Turtle d1e0895cb2 Merge pull request #8659 from deepseek-harness/turtle/fix-clean-wipes-sessions-01ceb27e9301
fix(desktop): keep development Harness state out of .desktop-build
2026-11-18 13:36:03 +08:00
LegGasai 803f1e0d90 Merge pull request #8697 from deepseek-harness/worktree/restore-agent-terminal-plugin
feat(web): restore persistent terminal plugin controls
2026-11-18 13:21:19 +08:00
Turtleandimccyu 00de4378d1 Merge branch 'master' into turtle/fix-clean-wipes-sessions-01ceb27e9301
Co-authored-by: imccyu <[email protected]>
2026-11-18 13:18:12 +08:00
LegGasai ff8753fb55 test(web): register the persistent terminal snapshot 2026-11-18 13:06:53 +08:00
dsh-ci-bot 70607a9de5 docs(desktop): state that an appended predecessor is skipped, not collected
The dedupe sentence claimed records appended before a rotation stay in
one segment, which implies they are collected. The predecessor is
skipped, so those records are not collected at all. Correct the English
and Chinese guides and the readOperationHistory contract.
2026-11-18 13:02:42 +08:00
winewill b69a750b0f fix(desktop): show installer completion during native dragging 2026-11-18 12:10:03 +08:00
winewill 50d976f626 Merge branch 'master' of https://github.com/deepseek-harness/deepseek-harness into fix/windows-installer-drag-completion
# Conflicts:
#	apps/desktop/README.i18n.yaml
2026-11-18 12:03:46 +08:00
LegGasai e24af31773 Merge remote-tracking branch 'origin/master' into feat/session-workspace-root-consumers 2026-11-18 11:46:53 +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
dsh-ci-bot 4b77d9c01e fix(desktop): deduplicate history segments by exact file identity
A segment rotated after an append is still one file: comparing size and
modification time split it into two segments and collected its records
twice. Deduplicate by the bigint device and inode only, which stays exact
for a Windows 64-bit file ID, and pin that precision with a test whose
stat mock returns Number identities when called without the bigint option.
Narrow fileIdentity to BigIntStats and inline both segment names.
2026-11-18 11:04:40 +08:00
LegGasai 3be6baf574 feat(web): restore persistent terminal plugin controls 2026-11-18 10:58:36 +08:00
dsh-ci-bot 3bdf5aa56c fix(desktop): report read segments and keep colliding predecessors
filesRead now counts owned segments that yielded bytes instead of
distinct identities, so two segments read under one colliding file ID
report 2. The rotation predecessor is deduplicated only when its handle
also reports the size and nanosecond modification time of the segment
already read: a reused Windows file ID cannot defeat the rotation check,
and an identity collision alone keeps the segment. The path stat that
could treat a transient failure as a rotation is removed.

Also fix the two oxlint errors in the retry loop and the cancellation
test, clear the open mock between tests so call-count assertions do not
depend on execution order, and document the bounded Windows retry and the
dedupe rule in both desktop diagnostics guides.
2026-11-18 07:40:35 +08:00
dsh-ci-bot e473fcfa82 fix(desktop): keep operation history the predecessor read would drop
readOperationHistory could silently omit the rotation predecessor:
one transient Windows sharing or permission failure on the second
segment's open was counted as unavailable, and any equal device/inode
pair dropped the segment even when the current path still named the
file already read, because the 64-bit Windows file ID is not unique.

Retry the documented Windows transient open codes on a bounded
exponential delay, and deduplicate a segment only when the current
segment path stopped naming it. Both stats now come from bigint
stats so the exact file ID is compared.

The coverage test now asserts the whole collection result, so a
missing record also reports filesRead, bytesRead and unavailableFiles.
2026-11-18 07:20:22 +08:00
gengruilin 1d04f0c75d Merge remote-tracking branch 'origin/master' into feat/linear-plugin 2026-11-18 02:17:33 +08:00
gengruilin 994c3dc57d Merge remote-tracking branch 'origin/master' into feat/tencent-docs-plugin 2026-11-18 02:05:41 +08:00
gengruilin d28b3e4966 Merge remote-tracking branch 'origin/master' into feat/notion-plugin 2026-11-18 01:58:46 +08:00
gengruilin afc88f172e Merge remote-tracking branch 'origin/master' into feat/feishu-plugin 2026-11-18 01:27:46 +08:00
imccyu 1e8b233abc chore(release): merge master into 0.2.2-rc.4 sync 2026-11-17 22:09:47 +08: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 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 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 88d7197f77 Merge branch 'feat/session-workspace-root' into feat/session-workspace-root-consumers 2026-11-17 20:30:08 +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 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
LegGasai f9eb524891 Merge branch 'feat/session-workspace-root' into feat/session-workspace-root-consumers 2026-11-17 19:50:49 +08:00
LegGasai 854ebc768a Merge remote-tracking branch 'origin/master' into feat/session-workspace-root 2026-11-17 19:29:22 +08:00
Turtleandimccyu 24c729253a fix(desktop): refuse to move state that a running Harness Dev owns
Report the underlying error when creating .desktop-dev or moving a
directory fails.

Co-authored-by: imccyu <[email protected]>
2026-11-17 19:28:31 +08:00