Commit Graph
29737 Commits
Author SHA1 Message Date
MicroBlock dc6a0bfc7e fix(adapter-qq): name platform failures, answer clicks, render mentions (#9190)
Three defects found against the live QQ API:

- A refused request lost the platform's own code and message: every 4xx whose body carried no known code became the
  status rule's anonymous sentence, so a missing 主动消息 permission (40034105), a spent passive budget (40034128) and
  a refused interaction id (40034025) read alike. The client now names both in the error it raises, `classify()` keeps
  that sentence for a code the table does not list, and the three verified codes joined the table.
- A click's reply carried the interaction id verbatim, which the message body refuses (only `PUT /interactions/{id}`
  takes the bare id): the body now spells `INTERACTION_CREATE:<id>`, and a refusal of that field falls back to one
  active send instead of leaving the click dead.
- Neither mode declared `<at>`, so a mention reached the chat as the core fallback's plain `@name` and nobody was
  notified. The markdown mode writes QQ's text-chain tag for the `user` and `all` variants; the text mode keeps the
  readable fallback, so a mention-bearing message resolves to markdown.

Each fix carries the spec case that pins it and the refreshed markdown goldens. Logged as I14 in vendor/im/README.md.

Fixes #9183
2026-11-25 07:11:03 +00:00
Xu Hanxiang 7355ddbb7d Merge pull request #8966 from deepseek-harness/feat/liveshare-share-reconnect
feat(liveshare): 限制断线重试并支持原链接立即重连
2026-11-25 07:07:23 +00:00
Kexin Liu 584a962898 Merge pull request #8375 from deepseek-harness/feat/shared-side-conversations
feat(web): optional side conversations in the right Sidebar
2026-11-25 15:03:11 +08:00
Turtle 81b1839aaa chore(sidechat): regenerate the client slot catalog 2026-11-25 14:44:50 +08:00
15a10f911c fix(sidechat): show the side tab's display title like the Session panel
The tab fell back to the title stored at creation, which kept its creation
locale and differed from the Session panel's display title for an untitled
child. It now reads the Session list's display title and falls back to the
localized type title.

Co-authored-by: Kexin Liu <69756503+liukx0205@users.noreply.github.com>
Co-authored-by: Magolor <25860372+Magolor@users.noreply.github.com>
2026-11-25 14:44:50 +08:00
Turtle 59e3f8fd3a fix(sidechat): mark the side tab as a sidebar chat and address review findings
Mark the tab root with data-sidebar-chat so main-composer selectors exclude it,
drop the tab type's ineffective multiple and builtin priority, guard the fork
refusal check against a missing RPC error, log a /side with no conversation on
screen, align the no-completed-turn notice with the fork shortcut wording, list
the package in the experimental table, and add a browser test.
2026-11-25 14:44:50 +08:00
Turtle df9dd87c0e refactor(sidechat): drop an unreachable disposal guard and reuse the bound translator
The /side command is removed before the control is disposed, so fork never
runs on a disposed control. The tab title reuses the bound translator.
2026-11-25 14:44:50 +08:00
liukx0205 1d916f72f6 feat(sidechat): fork /side at the latest completed Turn like the ordinary fork
/side omits the cut, so the Host selects the latest completed Turn as it
does for the ordinary fork; the Client no longer reads the event window. A
source without a completed Turn is refused by the Host and reported as
nothing to branch.
2026-11-25 14:44:50 +08:00
liukx0205 24c86d459f fix(sidechat): decline /side from a subagent conversation
A side forked from a subagent would inherit the delegated approval policy
and preset through the copied log without the delegation itself, and its
tab would open beside the parent conversation. The control reports that a
subagent conversation cannot start a side conversation instead of forking.

(cherry picked from commit 59a7c5fcc585b37c5c61123153d9bcf814064fee)

# Conflicts:
#	packages/experimental/client-ui-sidechat/README.i18n.yaml
#	packages/experimental/client-ui-sidechat/README.md
#	packages/experimental/client-ui-sidechat/README.zh.md
#	packages/experimental/client-ui-sidechat/src/client/control.ts
#	packages/experimental/client-ui-sidechat/tests/apply.client.spec.ts
#	packages/experimental/client-ui-sidechat/tests/control.client.spec.ts
2026-11-25 14:44:50 +08:00
liukx0205 33a1f7838e fix(sidechat): fork on every /side and accept a window with older pages
Drop the per-source in-flight guard: a second /side creates its own side
conversation instead of being swallowed. A window whose current page shows
no turn/start but has older pages lies inside a Turn, so it forks at its
newest durable event instead of reporting that there is nothing to branch.
Align the package version with the release after the master rebase.
2026-11-25 14:44:50 +08:00
liukx0205 f843b0ce85 fix(sidechat): require a started Turn before /side forks
A source whose loaded window holds no turn/start, including a blank Session
that only holds configuration events, reports that there is nothing to
branch instead of forking those events into an empty child. The cut stays
the newest durable event once the first Turn has started, as #8871 does
for the Sidebar fork.
2026-11-25 14:44:50 +08:00
liukx0205 e340e40c5b test(sidechat): cover the package and document it
Restore the unit tests for the control, resource provider, views and
plugin lifecycle, adapted to the /side command, so the per-file coverage
gate passes. Add the package README pair and its model-experience audit
entry for the README gates.
2026-11-25 14:44:50 +08:00
liukx0205 f47eedc58c fix(sidechat): retain the child with its conversation facet
The side tab retains its child with facets: { conversation: true }, so the
Chat folds the event window instead of publishing an empty snapshot that
hides both the inherited history and every later message.
2026-11-25 14:44:50 +08:00
liukx0205 656036e2c9 fix(sidechat): keep /side consumable and align with the release version
The command stays available so a typed /side never reaches the model as a
message; the control already declines a source with a fork in flight. The
/client entry re-exports its slot, resource and locale augmentations. The
side tab derives its phase from the retained Session's open state instead of
copying the subagent Sidebar's hero derivation. Drop the unconsumed task set
from the control. Match the root release version and list the package in the
release family.
2026-11-25 14:44:50 +08:00
liukx0205 e11fd0c567 feat(sidechat): fork /side at the newest event on screen
The omitted-atSeq fork defaults to the latest completed Turn, so /side
failed with session/fork-unavailable while the first Turn was still
streaming. Pass the newest durable event seq from the retained Client
window; the Host balances a cut inside an open Turn with synthetic
closers. Without a retained window the Host default still applies.
2026-11-25 14:44:50 +08:00
liukx0205 09a85dbac5 feat(web): optional side conversations in the right Sidebar
Add @deepseek-ai/dsh-client-ui-sidechat, an experimental Client plugin that
default profiles do not install. The /side command forks the conversation at
its latest completed Turn through the ordinary Session fork and opens the
child in the right Sidebar of the Session on screen, rendered through
conversation.content with a fixed embedded Chat view. The child is an
ordinary Session listed under Ungrouped; tabs are window-local and restore
from the saved Sidebar layout.
2026-11-25 14:44:50 +08:00
Chinesezjc 77a5347e9d Merge pull request #9180 from deepseek-harness/ci/remove-environment-marker-probe
ci(probe): remove the temporary environment marker attribution probe
2026-11-25 14:22:50 +08:00
Chinesezjc 7bdd695d65 ci(probe): remove the temporary environment marker attribution probe
The workflow only supported the three live runs recorded in #9005 and is not
referenced by any other workflow, script, or configuration.
2026-11-25 14:09:37 +08:00
CreatixChu 70eff03284 Merge pull request #9173 from deepseek-harness/turtle/fix-git-add-slow-77485ec18f43
fix(workspace-changes): give up a git command after 3 s instead of 30 s
2026-11-25 14:08:34 +08:00
Chinesezjc 839affcaf5 Merge pull request #9005 from deepseek-harness/ci/env-probe-8722-abc
ci(probe): add temporary manual environment marker attribution probe
2026-11-25 14:02:44 +08:00
winewill aec47cad4f Merge pull request #9001 from deepseek-harness/turtle/fix-title-menu-dismiss-eb463486e617
fix(web): highlight a sidebar row only for a menu that row opened
2026-11-25 13:38:07 +08:00
Shigma 1e278067cc Merge pull request #9120 from deepseek-harness/fix/chat-block-spacing
fix(web): give message bubbles below process rows the block gap
2026-11-25 13:34:18 +08:00
Turtle 65ac3cfaf5 Merge pull request #9175 from deepseek-harness/turtle/revert-8674-29e8b8c91c40
revert: merge short SQLite frames inside the append transaction (#8674)
2026-11-25 13:24:36 +08:00
Ruilin Geng 1973f61547 Merge pull request #8938 from deepseek-harness/fix/mcp-session-expiry-recovery
fix(mcp-client): reconnect after the server forgets the Streamable HTTP session
2026-11-25 13:13:42 +08:00
TurtleandCreatixChu d6bb7edd5d docs(workspace-changes): re-record README translation pairing
Co-authored-by: CreatixChu <142372241+CreatixChu@users.noreply.github.com>
2026-11-25 13:02:28 +08:00
imccyu 3b21ac7972 Merge pull request #9174 from deepseek-harness/revert-8520-turtle/fix-image-margin-7d168ef652f5
Revert "fix(web): space consecutive Markdown images like paragraphs"
2026-11-25 12:58:11 +08:00
6fd18391a2 revert: merge short SQLite frames inside the append transaction (#8674)
This reverts merge commit 0a25695c87697f04af906a01e4c259048937d421.

Co-authored-by: Kexin Liu <69756503+liukx0205@users.noreply.github.com>
Co-authored-by: Magolor <25860372+Magolor@users.noreply.github.com>
2026-11-25 12:58:09 +08:00
Turtle 373769c622 Merge pull request #9168 from deepseek-harness/turtle/add-preview-fixture-rule-578e68ea890f
docs(agents): require PR preview showcase to show changed rendering
2026-11-25 12:58:00 +08:00
imccyu e46259e5cb Revert "fix(web): space consecutive Markdown images like paragraphs" 2026-11-25 12:57:38 +08:00
TurtleandCreatixChu fe3065735f docs(upgrade-guide): record the workspace-changes timeout default
Co-authored-by: CreatixChu <142372241+CreatixChu@users.noreply.github.com>
2026-11-25 12:51:22 +08:00
Turtle e029911eba Merge pull request #8520 from deepseek-harness/turtle/fix-image-margin-7d168ef652f5
fix(web): space consecutive Markdown images like paragraphs
2026-11-25 12:47:01 +08:00
TurtleandCreatixChu 2b1d214907 docs(workspace-changes): drop inaccurate tool wait bound
Co-authored-by: CreatixChu <142372241+CreatixChu@users.noreply.github.com>
2026-11-25 12:42:09 +08:00
TurtleandCreatixChu 07cc469c10 fix(workspace-changes): give up a git command after 3 s instead of 30 s
Co-authored-by: CreatixChu <142372241+CreatixChu@users.noreply.github.com>
2026-11-25 12:39:56 +08:00
Turtle 2ee08e0abd docs(agents): move preview showcase rule to root AGENTS.md
Refs #9167
2026-11-25 12:35:06 +08:00
LegGasai 3fef3cd8bc Merge pull request #9116 from deepseek-harness/fix/npm-zod-single-install
fix(deps): install one zod copy from npm
2026-11-25 12:29:11 +08:00
LegGasai cc2d601b8b fix(deps): keep the exact zod pin
Review asked to keep zod pinned instead of loosening it to ~4.6.6, so every installation runs the reviewed version.

- The 106 manifests return to exact 4.6.6, as on master.
- dsh-connector-feishu moves from ^4.4.3 to 4.6.6.
- dsh-acp, dsh-subagent-acp, dsh-experimental-subagent-oar and dsh-session-snapshot pin zod 4.6.6, so npm places that version before the ACP SDK's zod peer can hoist a newer one.

The layout gate and its messages name the pin instead of a range.

Refs #7501
2026-11-25 12:16:22 +08:00
Turtle 9dee11e36b docs(ui): limit preview showcase rule to Session content
Refs #9167
2026-11-25 12:07:35 +08:00
imccyu 0583056ecf Merge pull request #9164 from deepseek-harness/fix/source-qr-login
fix(remote-connection): restore QR sign-in on source launches
2026-11-25 11:59:24 +08:00
Turtle 82ddef3dd8 docs(ui): require PR preview showcase to show changed rendering
Refs #9167
2026-11-25 11:55:24 +08:00
Turtle 4d9935b5bc Merge pull request #7960 from deepseek-harness/turtle/plugin-refresh-progress-12b7cea43c60
feat(plugin-manager): show refresh progress beside the Refresh button
2026-11-25 11:43:51 +08:00
EricMoin 7ab433338c fix(remote-connection): redeem QR logins on source launches 2026-11-25 11:43:32 +08:00
Turtle 8641460aa3 Merge pull request #8639 from deepseek-harness/turtle/plugin-update-builds-86f822edb704
fix(plugin-manager): allow blocked build scripts when updating a plugin
2026-11-25 11:33:33 +08:00
Turtle 3f69e246c1 feat(plugin-manager): count refresh checks on the Refresh button 2026-11-25 11:26:12 +08:00
Turtle 29d2f63066 fix(plugin-manager): wait for a running check and announce refresh progress
A refresh now waits for a version check another action started, reuses
the existing list-reading text, and marks the toolbar note as a status.
2026-11-25 11:26:09 +08:00
Turtle 882f93a09a feat(plugin-manager): show refresh progress beside the Refresh button
A manual refresh now names its step in the toolbar note: loading the
plugin list, then checking for updates with the current and total count.
2026-11-25 11:26:07 +08:00
imccyu 8439d8530f Merge pull request #9140 from deepseek-harness/ui-responsive-document-hooks
feat(ui-renderer): provide mount-bound document portal and viewport hooks
2026-11-25 03:24:52 +08:00
imccyu a937361bb8 refactor(ui-renderer): keep whole-viewport selection local 2026-11-25 02:55:58 +08:00
imccyu 1f1590430e refactor(ui-renderer): bind document hooks to the application mount 2026-11-25 02:55:56 +08:00
imccyu b6fb171069 feat(ui-responsive): add document portal and viewport hooks 2026-11-25 02:54:28 +08:00
imccyu 897ab671f6 feat(ui-renderer): scope opted-in package styles on existing slot roots (#9033)
* feat(ui-renderer): scope opted-in package styles on existing slot roots

Share the package style policy between slot dispatch and stylesheet installation. Preserve global themes, root identity and component state through style-only toggles, including nested Factory, HOC and list output.

* fix(dev-web): keep launcher validation independent of package sources

* refactor(ui-renderer): identify generated scope CSS as stylesheet content

* fix(client): keep panel indicators visible under style isolation

Position a shared indicator area on the Session panel toggle. Jobs, Subagents, and Forge paint their own marks without crossing package scopes.

* refactor(ui-renderer): fix each package style scope for the page

Stamp the content supplier on existing slot roots. Read its page-owned mode when registering content and writing stylesheets instead of subscribing the render tree to live policy changes.

* fix(ui-renderer): keep scoped styles with their actual package

Resolve Loader aliases against the page module table and stamp contributions from the renderer’s own module source. Let a valid package stylesheet take over a path rejected during scope preflight or by the destination.

* fix(client-modules): declare the row callback receiver-free

* refactor(ui-renderer): scope styles from their module records

* test(ui-renderer): verify module-record style scoping

* chore(ui-renderer): restore scoped slots to the PR base

* fix(ui-renderer): mark slot roots with their supplying module

* refactor(ui-renderer): bind Factory child slots once per supplier

An outlet belongs to whoever called renderSlot for it, wherever it later
renders. A Factory's child-slot methods are now kept per Factory and per
supplier: the Factory itself for its own Component and fallback locals,
the occurrence's caller for a local it selected. One caller mounting its
local in several places shares one method, and no per-mount binding or
extra occurrence context field remains.

* refactor(ui-renderer): scan a Factory's chain children once

Whether a Factory declares a chain child is recorded once per Factory
beside its per-supplier child-slot methods, instead of once per
supplier. The Factory kit assigns `renderSlot` and `renderSlotChain`
by name rather than copying whichever keys the methods object holds.

* test(client-runtime): expect data-plugin on the mounted slot root

The slot outlet names its supplier on the existing root; the test runtime registers without a package, so the two DOM snapshots gain data-plugin="".

* test(web): launch the panel indicator scenario per isolation mode

The Host reads an entry's client isolation when its plugin starts, so
updating that field on a running entry never reached the boot graph and
the scenario waited forever. Each mode now starts its own Host: the
shipped composition, and one whose overlay declares style isolation for
the panel and the two packages drawing on its toggle. Both check the
boot graph first, then run the same interaction and indicator
assertions.
2026-11-25 02:52:49 +08:00