Commit Graph
9292 Commits
Author SHA1 Message Date
Yudong Han c68faa601f Merge pull request #8081 from deepseek-harness/feat/sdk-time-zone
feat(sdk): 普通 prompt 逐条上报用户时区,对齐 plan mode 措辞
2026-11-19 12:50:03 +08:00
imccyu 7e5721d713 Merge pull request #8763 from deepseek-harness/worktree-archive-observe-session
refactor(session-query): remove inspectSession; worktree archive reads through observeSession
2026-11-19 12:45:31 +08:00
yudshj 0c5e9de2c4 fix(sdk): 固定 Python 快照时区并更新升级指南与错误说明 2026-11-19 12:22:06 +08:00
yudshj 0173308347 fix(sdk): 重新生成 module graph,更新 Python 单文件 SDK 快照的时区输出
sdk-server 新增对 dsh-util-time 的依赖,module graph 需要重新生成。
Python 单文件 smoke 不传 time_zone 时记录运行时进程时区;smoke 固定 TZ=UTC,
快照中普通 prompt 的来源带 clientTimeZone: UTC,时间行报告 UTC。
2026-11-19 11:58:07 +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
gengruilin e360b8f017 Merge remote-tracking branch 'origin/master' into feat/feishu-plugin 2026-11-19 11:02:44 +08:00
imccyu 6544a7171e docs: regenerate event producer-consumer graph for the forge panel session/disposed listener 2026-11-19 00:08:54 +08:00
imccyu 16072178a9 fix(forge-panel): follow the panel after the Session opens and name cold Sessions by id
The panel follow resolved its Session argument by resuming the Agent while the
main view was still opening the same Session, so the Host read the Session log
twice. The follow stream now holds a forgePanel Session reference and waits for
the Session's history to open before following. refresh, reviewStage, and
worktreeCleanup only need the identity, so they take a SessionId and no longer
resume an Agent; worktrees.cleanupOf takes the id as well.
2026-11-18 23:06:35 +08:00
Ruilin Geng 51d084e0f6 Merge pull request #8727 from deepseek-harness/feat/upstream-skills-profile-cache
feat(upstream-skills): 上游技能按 profile 存放,新的固定提交替换旧的
2026-11-18 19:40:16 +08:00
gengruilin bb41d5e1e0 Merge remote-tracking branch 'origin/master' into feat/tencent-docs-plugin 2026-11-18 18:52:55 +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
gengruilin 5de4257956 fix(upstream-skills): delete the other pins once per registration
Processes of one profile can run different versions of a plugin at the same time, and they share
the profile's pin directory. A registration that deleted the other pins after every download made
two such processes delete each other's pin and download their own again at every check. Each
registration now deletes the other pins once, the first time its own pin is in place; a process
whose pin another process deleted downloads it again and leaves that process's pin in place.

The README and the Agent Note no longer state that no other installation reads the directory, and
the README lists the remaining case as a known limitation.
2026-11-18 18:24:39 +08:00
LegGasai 3891a53527 Merge commit '6eeb115fd19' into worktree/forge-m7-review-page-ee17bf 2026-11-18 17:45:41 +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
gengruilin f5c30538f8 feat(upstream-skills): keep each profile's pins in its own cache directory and replace earlier ones
In a profile that dsh launches, the Service publishes a plugin's upstream files under
$DSH_HOME/cache/<name>/<profile>. Once a pin is in place there, at load or after its download, it
deletes the other pins of that directory, so a plugin update that changes the pin leaves one copy
and an unchanged pin is not downloaded again. Without a profile the shared directory and every pin
in it stay as before, and a configured skillsDir is never deleted.
2026-11-18 16:54:06 +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
gengruilin 09e6d8f982 docs(feishu): 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:23:43 +08:00
LegGasai 338175acda Merge commit 'bd331686bc1' into worktree/forge-m7-review-page-ee17bf
# Conflicts:
#	packages/experimental/client-ui-forge/README.i18n.yaml
2026-11-18 13:36:35 +08:00
LegGasai 792cc9b967 Merge pull request #7820 from deepseek-harness/feat/session-workspace-root-consumers
feat(working-directory): route sandbox, file views, and discovery through the Session workspace root
2026-11-18 05:16:34 +00:00
creatixchu a2bd085fd2 Merge remote-tracking branch 'origin/master' into feat/cua-macos/mouse-toggle 2026-11-18 12:10:53 +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 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
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 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
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
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 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 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 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 4f9ee56b8a feat(client): retain recent sessions and skip conversation folding while unrendered 2026-11-17 20:00:25 +08:00
LegGasai f9eb524891 Merge branch 'feat/session-workspace-root' into feat/session-workspace-root-consumers 2026-11-17 19:50:49 +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
LegGasai 854ebc768a Merge remote-tracking branch 'origin/master' into feat/session-workspace-root 2026-11-17 19:29:22 +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