Commit Graph
1087 Commits
Author SHA1 Message Date
zhc a5f1d4a16a refactor(client): bind context menus at their Slot consumers
Merge master and preserve pinned-row visibility. Remove redundant Chat and tool-tree menu forwarding, unify trigger names, and bind file targets at the consuming Slot. Address CI static and coverage gaps without changing upstream scroll assertions.
2026-10-28 19:15:45 +08:00
Saafo f1ac884b3f 🐛 Reconcile mobile UI polish with current master and review 2026-10-28 17:08:26 +08:00
zhc 49e9d42a00 refactor(context-menu): inject shared trigger bindings through slots 2026-10-28 17:08:06 +08:00
zhc 67ddc29472 Merge master and align context menu packages with rc.4 2026-10-27 11:22:41 +08:00
imccyu 543219b909 Merge remote-tracking branch 'origin/master' into worktree/sync-dsh-0.2.1-rc.4-to-master 2026-10-27 02:21:20 +08:00
zhc decd8fb29c Merge master and share native context menu feedback 2026-10-26 17:31:44 +08:00
Turtle 884077bf72 Merge pull request #7043 from deepseek-harness/turtle/cross-session-path-link-9836d52f7a4d
fix(ui-conversation): decorate pasted file and folder paths as whole tokens
2026-10-26 16:45:25 +08:00
Turtle deebbf3191 fix(ui-conversation): decorate pasted file paths as whole tokens
Closed @"…" paths and unquoted @ tokens with a separator or extension now decorate in full, matching the spans the sent message renders as references.
2026-10-26 16:33:21 +08:00
imccyu 8c9c51d86d Merge worktree/release-dsh-0.2.1-rc.4 into the 0.2.1-rc.4 synchronization branch 2026-10-26 16:21:42 +08:00
zhc aa0f1dd7b5 Merge master into feat/extensible-context-menus
Preserve upstream dependency-budget assertions and remeasure the combined 317-package install graph.
2026-10-26 16:20:36 +08:00
imccyu 199ffe37ba fix(ui): keep the more views tooltip fixed (#7342) 2026-10-26 16:12:05 +08:00
Yichen Jiang 491a834d99 fix(web): keep mobile focus on the composer after sending 2026-10-26 13:57:39 +08:00
Yichen Jiang b0e41f74ad Merge remote-tracking branch 'origin/master' into worktree/composer-host-confirmed-echo
# Conflicts:
#	packages/api/session-controller/README.i18n.yaml
#	packages/api/session-controller/src/client/sessions/session.ts
#	packages/client/ui-conversation/README.i18n.yaml
2026-10-26 13:29:33 +08:00
zhc 4abb9147cf Merge master into feat/extensible-context-menus 2026-10-26 13:28:46 +08:00
CreatixChu 7bc30c4cba fix(attachments): 复用完整图片引用,取消 Session 历史扫描 (#7021)
* test(api): measure historical image read costs

* fix(test): resolve image benchmark paths from its config

* fix(attachments): read stored images without scanning sessions

* test(attachments): complete by-id fixtures and access assertions

* fix(docs): implement image-id read on catalog fixture

* docs(attachments): refresh generated read contracts

* test(web): verify stored images across history and forks

* docs(api): clarify image read metadata and permission scope

* test(api): type benchmark instrumentation without unsafe returns

* test(api): retire unknown-cast allowances with removed history fixtures

* test(attachments): isolate browser cases and document store-wide access

* test(web): intercept the by-id thumbnail read path

* docs(perf): run generated diagnostic from its owning package

* refactor(attachments): reuse reference reads for conversation images

* docs(api): refresh complete image reference client contract

* test(ui-chat): assert complete image reference forwarding

* test(perf): measure image reads against current Session observations
2026-10-25 09:40:53 +00:00
imccyu 8ebf8a6218 Merge master into DSH 0.2.1 ACP stdout and view-tab tooltip sync
# Conflicts:
#	apps/cli/tests/profiles/acp/tests/stdout.expected.e2e.ts
#	packages/client/ui-conversation/README.i18n.yaml
#	packages/mcp/mcp-client/tests/protocol.spec.ts
2026-10-25 13:32:05 +08:00
imccyu c38265a00e fix(ui): show view tab tooltip only for overflowing labels
Conversation view tabs added a tooltip to every label in 0.2.1-rc.3, including short labels that fit the 88px cell. Estimate the glyph width and only enable the tooltip when the label is expected to overflow; keep the More trigger tooltip.

Refs #7181
2026-10-25 02:48:52 +08:00
TurtleandYudong Han 8b48ec1673 fix(client-ui-conversation): clip header actions without a scroll timeline
Fade overflowing actions inside the gap before the next header control and
clip with overflow: clip, so no animation stays attached to the header and
focus cannot scroll the title area.

Co-authored-by: Yudong Han <[email protected]>
2026-10-24 22:00:35 +08:00
zhc fa9bf4c407 feat(client): show configured shortcuts in structured session menus 2026-10-23 19:04:34 +08:00
Turtle c403ca4d77 fix(ui-conversation): end closed quoted folder tokens at the quote
A closed @"dir/" followed directly by text stays a folder reference, as in the sent-message rule; add a paste regression for the composer marks.
2026-10-23 15:57:24 +08:00
Turtle 64f4efe31d fix(ui-conversation): decorate only whole folder tokens in the composer
A pasted file path such as @src/a.ts or @"dir/a b.md" styled its directory prefix as a folder reference.
2026-10-23 15:14:06 +08:00
Yichen Jiang 948d572032 fix(web): follow master's locales and composer cases
- The Spanish, French, German, Russian, and Portuguese dictionaries name
  the sending composer.
- The device classification case expects the acceptance callback that a
  prompt submission carries.
2026-10-23 14:31:45 +08:00
Yichen Jiang 89538fb115 Merge remote-tracking branch 'origin/master' into worktree/composer-host-confirmed-echo
- The composer's primary button keeps master's rule that hides a denied
  action and draws the sending state inside it; a sending prompt stays
  interruptible through master's stopAction.
- The ui-conversation README pairing is recorded again for the merged
  sections.
2026-10-23 14:31:30 +08:00
zhc 891967ef0c Merge master into feat/extensible-context-menus 2026-10-23 11:23:35 +08:00
Turtle a0cbe9331c Merge pull request #6887 from deepseek-harness/turtle/trace-tab-indicator-clip-bede5ab93d0f
fix(ui-conversation): keep the active tab bar visible over Trajectory and widen tab targets
2026-10-23 10:14:02 +08:00
imccyu 261f2db185 Merge master into DSH 0.2.1 navigation and model listing sync 2026-10-22 23:22:35 +08:00
mektpoy 76e39794eb revert(ui-session,ui-conversation): let the stop shortcut reach the Host
A reviewer blocked the one-shot boolean access read the stop shortcut used:
the client should not expose a render-time access answer as a boolean API.
The Esc-Esc sequence submits its cancel again, and a Host refusal surfaces as
the composer failure the Stop button would have prevented. Send keeps the same
treatment: the access snapshot withholds the buttons, the Host refuses the
request, and the composer reports it.
2026-10-22 22:16:06 +08:00
mektpoy 80ce0669e9 revert(ui-conversation): leave a withheld submission to the Host
The access snapshot still withholds the Send button, Stop, and file intake, and
the Esc-Esc stop path still reads its own answer before sending a cancel. A
keyboard submission, however, once again reaches the Host, which refuses it and
reports the failure to the composer; gating that path needs a larger redesign
of the composer keyboard face.
2026-10-22 21:57:49 +08:00
mektpoy 3bcb22f732 fix(ui-conversation): gate keyboard submission and stop
Enter, Mod+Enter, and accelerated queue steering now read the same prompt
answer as the Send button, and the fixed Esc-Esc sequence reads the live
session/cancel answer before it consumes a press. The composer locks for a
denied prompt, the README states both paths, and tests pin each gesture.
2026-10-22 21:44:25 +08:00
imccyu 0d521bdd0d refactor(client): drop owner-era leftovers and gate sidebar New Session on session/create
- The Conversation binding tracking returns to master: the retainInfo subscription and the
  plugin-owned binding effects are a separate fix, not a served-page seam.
- The deliverables opener drops the ownerHostRoutes parameter no caller passes any more.
- Assertions on existing connection and HMR behavior, the menu-open-state spec, and the
  settings-general roster splice return to master.
- Workspace shortcuts no longer re-read Session access through source(); the Host refuses a
  denied rename, fork, or archive.
- The sidebar New Session button, the window-chrome New Session control, and the expanded
  brand shortcut render only while useRemoteAccess('session/create') allows it.
2026-10-22 21:44:25 +08:00
imccyu a154f70ab9 refactor(client): read composer access through useAccess and drop the branch-refusal notice
- The composer decides file intake from the Session-scope useAccess('fileUploads/upload')
  answer, like Send and Stop. The optional fileIntake hook seat, the InputHub fileIntake
  entries, and the ui-slots optional-hook typing are removed.
- The fixed Stop shortcut no longer re-reads session/cancel through a shared stop; the
  button stays hidden by useAccess and the Host refuses a withdrawn cancel.
- uiConversation.noticeBranchRefusal, branch.ts, ForkRefusal, and message.branchRefused are
  removed; a failed Chat branch leaves the source view unchanged, as on master.
2026-10-22 21:44:25 +08:00
mektpoy e30684cf9c fix(client): keep the served-page records on the master access API
The owner-baseline gating commits are superseded by master's whenAccess seams,
so the remaining records revert to the master shapes: the deliverables opener
takes no owner answer, the Japanese dictionaries carry the surviving copy, and
the test splice and owner assertions match the current services.
2026-10-22 21:44:25 +08:00
mektpoy fbc90909b1 fix(ui-conversation): gate the fixed stop shortcut through the shared stop
The button re-read the live session/cancel answer but the fixed shortcut
received the raw stop, so a withdrawal still sent Esc-Esc cancellation. Build
one gated stop used by both entry points and cover the shared gate.
2026-10-22 21:44:25 +08:00
mektpoy 938e82484f fix(ui-conversation): narrow a fork rejection before reading its code
A rejection may be null, undefined, or any non-object; reading rpcError through
it threw a TypeError and replaced the branch-refusal notice with a crash. Narrow
the value first and cover the non-object rejections.
2026-10-22 21:44:24 +08:00
mektpoy 5ff6b3cdc5 test(ui-chat): pin the owner page branch-refusal notice
A refused branch now reports itself on the owner's own page: the Chat
injection writes the notice on the addressed Session and the composer bar
renders it as an alert, so the owner-visible change has an assertion at both
seams.
2026-10-22 21:44:24 +08:00
mektpoy 6475f57942 feat(client): publish the branch, slot, and access seams a served page reads
The Workspace tree gains the Host-published branch projection plus the
access-snapshot reads its rows, menu entries, and shortcuts consult; the
Conversation package moves branch handling into its own module and exposes the
input and slot declarations a page-local plugin composes. Chat, sidebar,
deliverables, and open-in-app publish the slot surfaces those readers fill, and
the document-relative route and HMR endpoint seams keep the served page's own
base.
2026-10-22 21:44:24 +08:00
imccyu 39d2903841 fix(ui): separate navigation pins from selection and show menu icons (#6883)
* fix(ui): separate navigation pins from selection and show menu icons

* fix(ui): simplify More menus and fold conversation views on resize

* test(ui): fix navigation CI regressions and refresh catalogs

* refactor(ui): render sidebar panel icons directly

* fix(ui): keep Chat visible and stop persisting navigation pins

* refactor(ui): drop unreachable pin validation from in-memory stores
2026-10-22 20:05:33 +08:00
zhc 411f157983 feat(context-menu): add extensible resource actions and shared popup lifecycle 2026-10-22 15:35:52 +08:00
Saafo 6b25107abf ♻️ Defer global viewport styles from mobile input fixes 2026-10-22 12:04:03 +08:00
Saafo da54bbf3b0 🔀 Merge master into mobile input adaptation 2026-10-22 12:01:42 +08:00
Yichen Jiang da864e3377 Merge remote-tracking branch 'origin/master' into stack/pr-6426 2026-10-22 10:30:26 +08:00
Stevring dc83ed11bc refactor(client): simplify and cache mobile device detection 2026-10-22 10:18:39 +08:00
Shigma 230ac40b9f Merge pull request #6192 from deepseek-harness/refactor/cordis-config-access
refactor(cordis): unify configuration access and consumers
2026-10-22 00:11:57 +08:00
Shigma 719870a489 Merge remote-tracking branch 'origin/master' into refactor/cordis-config-access
# Conflicts:
#	docs/event-producer-consumer.md
#	docs/event-producer-consumer.zh.md
#	packages/client/ui-chat/tests/config.host.spec.ts
2026-10-21 23:30:16 +08:00
TurtleandShigma 11e1580b82 fix(ui-conversation): keep the active tab bar visible over Trajectory and widen tab targets
Co-authored-by: Shigma <[email protected]>
2026-10-21 22:45:28 +08:00
Yichen Jiang c29fdd3bf6 Merge branch 'worktree/composer-image-preupload' into worktree/pr-6426-review-970262 2026-10-21 16:51:49 +08:00
Yichen Jiang b22cf68e50 fix(web): explain refused image uploads and tighten image staging
Address the review of this pull request:
- A failed image upload keeps the Host's attachment refusal reason. The
  thumbnail of a refused image names the reason instead of offering a
  retry that cannot succeed, and Enter while uploads hold the send names
  the first failure; a transport failure still offers retry, and an
  image without a file name uses the pending-image label.
- An image upload stops reading at the smaller of the per-image and
  per-message byte limits.
- A carried image draft moving to a Session that sends images inline
  drops its upload instead of staging it again.
- The image upload ready state no longer carries an unread image ref.
- Docs describe stored-image admission and the command image path, and
  the attachment rail test builds typed props instead of casting through
  unknown.
2026-10-21 16:48:01 +08:00
Yichen Jiang f507430f3f test(web): describe quote drafts under Host-confirmed sending
The quote composer specs and README from master described optimistic
sending: the draft cleared on Enter and a failed send restored it. Here
the draft and its quotes stay in the read-only editor until the Host
accepts the message, a failure leaves them in place, and the sink also
receives the acceptance callback.
2026-10-21 15:22:05 +08:00
Yichen Jiang faf62f4c1a Merge branch 'worktree/composer-image-preupload' into worktree/pr-6426-review-970262
# Conflicts:
#	packages/client/ui-conversation/README.i18n.yaml
#	packages/client/ui-conversation/src/client/input/facade.ts
#	packages/client/ui-conversation/src/client/input/hub.ts
2026-10-21 15:15:46 +08:00
Yichen Jiang 1b608982cc Merge remote-tracking branch 'origin/master' into worktree/composer-image-preupload
# Conflicts:
#	docs/event-producer-consumer.md
#	docs/event-producer-consumer.zh.md
#	docs/persistence-catalog.i18n.yaml
#	docs/persistence-catalog.md
#	docs/persistence-catalog.zh.md
#	docs/persistence-schema.json
#	packages/client/ui-conversation/README.i18n.yaml
2026-10-21 15:02:15 +08:00