Commit Graph
6094 Commits
Author SHA1 Message Date
gengruilin ebf0ea51ab chore(cli-account): match the root version 0.2.1-rc.4 2026-10-27 14:08:11 +08:00
gengruilin 6935d47056 feat(cli-account): run plugin CLIs by absolute paths named in runtime context
CLI app plugins now give the model each CLI's absolute path in required
runtime context instead of putting the CLI on a private Shell PATH.

- registerCliPathContext registers the path at the new PLUGIN_CLIS
  context order without interpolation. With `scripts`, it also tells
  the model to prefix only the commands that run the skill's scripts
  with PATH="<dir>:$PATH"; with `ready`, it contributes nothing until
  the CLI is installed.
- CliCommandExecutor takes the absolute `executable`, verifies it
  through the subprocess runtime, and spawns it without preparing an
  environment, so the kit no longer depends on shell-env.
- An Agent Note records the decision and the rejected private PATH,
  paths in skill text, shared registry, and Host check.
2026-10-27 14:04:35 +08:00
gengruilin e7671cd09f docs(cli-account): state the Host runtime precondition and complete failure contracts
The executor's module and class comments and the README now state that
its subprocess runtime must run on the Host, and `run` lists executable
lookup, spawn, and `onLine` failures among its rejections. The README and
`authorizationHosts` state that hosts are lowercase ASCII with punycode
IDNs. `CliCommandFailure.exitCode` lists every failure that leaves it
null, and `CliAccountBadge` names the bundle and row pages it renders on.
2026-10-17 19:14:25 +08:00
gengruilin 3430ac112a fix(ui-cli-account): open each operation's links and report its notice from its own start
The set of auto-opened links lived as long as the connection, so a later
operation offering the same device page never opened it. A rejected start
kept following the operation of an earlier start, which went on opening
its links and reporting its success after the page's latest action failed.

The followed operation now carries its own opened links. Each start
attempt drops the operation followed before, an accepted start follows
the returned one, and the stream's result for it ends the following.
2026-10-17 19:10:18 +08:00
gengruilin 15aa84f28c fix(ui-cli-account): stop retries and start answers from acting after disposal
`retry()` claimed the reopen only after awaiting the stopped stream, so a
second retry or a disposal in that window still subscribed a stream that
nothing released. A start that answered after disposal, or a view the
stream yielded just before it, still opened the operation's link.

`retry()` now clears `stopped` before the reopen awaits, and the reopen
subscribes only while the page is live. A start answer and a stream item
that arrive after disposal are dropped.
2026-10-17 19:08:58 +08:00
gengruilin 30514fa7e0 fix(ui-cli-account): keep generated Remote modules out of the Host build
The Web shell links ui-cli-account statically, and webworker-runtime
reaches the Web shell from the Host aggregate. ui-cli-account referenced
the api-remotes Client project, so the Host compiler compiled Client code
that imports generated /remote modules before the Typert step had written
them, and the build failed. ui-cli-account needs only the Gateway's
`ctx.remote` declaration, so it drops the api-remotes import, project
reference, and development dependency. The event matrix no longer counts
terminal-controller, whose Client listener the Host program reached only
through that path.
2026-10-16 10:42:23 +08:00
gengruilin 187603cca0 fix(ui-cli-account): show the tag on the bundle's row pages again
The structural badge subject dropped the Plugins page's row subject, which the badge showed the tag for before.
2026-10-14 23:12:24 +08:00
gengruilin b25f3de03c refactor(ui-cli-account): ship the page pieces as a Web shell platform module
Client feature packages may not request another row's runtime values through dsh.client.external, so the shared pieces become a static library the shell seeds into its module table, like ui-dockkit. Plugins import the package root, the web-app row is gone, and the badge takes a structural subject instead of importing the Plugins page types.
2026-10-14 23:08:46 +08:00
gengruilin 3e89d14b6a test(ui-cli-account): satisfy the type-aware lint rules 2026-10-14 19:22:49 +08:00
gengruilin 1e40d38359 build(ui-cli-account): use the root React types 2026-10-14 18:12:23 +08:00
gengruilin 666604a025 docs(cli-account): add the kit and connector group READMEs
Register both packages with the README, Model Experience, and product-package gates, and regenerate the config catalog, module graph, and composition reference.
2026-10-14 17:51:10 +08:00
gengruilin 57c8447e98 docs(cli-account): document the kit's contracts
Document the executor's deadlines and output limits, the runtime's
one-operation, phase-gated cancellation, trusted-link, and classified-failure
contracts, the shared config fields, and the client mirror and components.
2026-10-14 17:41:20 +08:00
gengruilin 64d8d52106 test(ui-cli-account): cover the connection mirror and Plugins page components
Port the Feishu page connection specs to the kit's connection mirror and
cover the section, tag, activation prompt, confirmation, and notice against
the shared dictionary keys.
2026-10-14 17:37:38 +08:00
gengruilin 363ca76ac1 feat(ui-cli-account): label the section's phase from the shared dictionary
The section labels its status from the plugin's `status.*` keys unless the
plugin passes a step label for an operation in progress. The notice
translator no longer narrows the toast's notice type.
2026-10-14 17:03:32 +08:00
gengruilin 7a2156aacb feat(ui-cli-account): render shared copy from the plugin's dictionary
CLI plugins translate one shared key set, CliAccountKey, for the section
title, hint, tags, activation prompt, confirmation buttons, and failure
diagnostics; the components read those keys through the plugin's
translator, so the plugin passes only its own text. The section takes its
buttons and extra rows as data and disables them while an action is pending
or the Host stream is down.
2026-10-14 16:58:21 +08:00
gengruilin bcce689968 chore(cli-account): package the kit and load its client half as a shared module
Client plugin bundles may not inline another plugin's values, so the client
kit becomes a client row that CLI plugins request through
dsh.client.external. The web app mounts the row once, as it does for other
shared Plugins page surfaces, and the plugins import its components and
connection mirror from the module table. Add the package manifests,
TypeScript projects, and path mappings for both kit packages.
2026-10-14 16:50:39 +08:00
gengruilin 99e93d27d0 feat(ui-cli-account): show failure diagnostics in the account section
describeFailure joins a failed command's identity, exit code, and the
plugin's allowlisted details for the section's diagnostic line.
2026-10-14 16:34:39 +08:00
gengruilin e21c18c693 feat(ui-cli-account): share the Plugins page connection pieces of CLI plugins
CliAccountConnection mirrors a plugin's account view, opens the
authorization link once in the browser that started the operation, and
reports outcomes; the section, tag, activation prompt, confirmation, and
notice components render a plugin's six display phases with the copy the
plugin translates. Each plugin keeps its own presentation and dictionary.
2026-10-14 15:24:53 +08:00
_Kerman 65032e4414 Merge pull request #7086 from deepseek-harness/xtr/trajectory-result-mode
feat(trajectory): 展示实时工具原始结果
2026-10-27 12:35:29 +08:00
Yifffan d4470e59dc Merge pull request #7089 from deepseek-harness/sidebar-spacing-pr1
fix(client): 统一侧边栏对齐原则,扩大操作热区,沉淀对齐方式 skills
2026-10-27 12:16:17 +08:00
_Kerman 89c5ea4d83 Merge latest master into xtr/trajectory-result-mode 2026-10-27 11:16:45 +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
Yichen Jiang 9dd1ecc1f4 Merge pull request #5961 from deepseek-harness/worktree/forge-pr-worktree-panel
feat(forge): add the pull request panel and worktree Sessions
2026-10-26 12:40:20 +00:00
Turtle 979f608f53 Merge pull request #7363 from deepseek-harness/turtle/link-boundary-fcb8291951da
fix(ui-primitives): end bare URLs before CJK punctuation
2026-10-26 20:13:09 +08:00
Yif 5a8c7c8f6b fix(client): prepare rail search before expanding the sidebar 2026-10-26 20:01:24 +08:00
EricMoin 3b432c3f40 fix(client): stack mobile font-family settings (#7356)
* fix(client): stack mobile font-family settings

* fix(client): cover font layout and touch sizing

* test(bench): interleave scaling samples
2026-10-26 19:53:18 +08:00
imccyu 6ff50a4890 Revert "fix(client): keep files tree view across session switches" 2026-10-26 19:40:44 +08:00
Turtle f266121f10 test(ui-primitives): drop unnecessary template literals 2026-10-26 19:28:41 +08:00
Turtle ca40dc544e fix(ui-primitives): end bare URLs before astral symbols and add Web snapshot 2026-10-26 19:10:55 +08:00
Turtle b84fea6768 fix(client): guard retained files trees by binding
Split the store's restore seed from start, accept a retained tree only
from the binding that currently owns the tab, drop the new unknown cast
in the body harness, document the watch lifetime limitation, and expect
the e2e Files directory to stay expanded after a Session round trip.
2026-10-26 18:58:55 +08:00
Turtle bdfc0c1d12 fix(ui-primitives): end bare URLs before CJK punctuation 2026-10-26 18:43:12 +08:00
Yichen Jiang f74e15ba08 Merge branch 'worktree/forge-bindings-stack-sync' into worktree/forge-pr-worktree-panel
# Conflicts:
#	docs/module-graph.md
#	docs/module-graph.zh.md
#	packages/experimental/README.i18n.yaml
#	packages/preset/agent-preset/skills/cordis-composition-reference/references/packages.md
2026-10-26 18:39:10 +08:00
Turtle b4c2706c41 fix(client): keep files tree view across session switches
The Files tab's session-scoped store is released when the reader leaves
the Session, so returning reseeded a fresh tree at scroll offset 0 with
every directory collapsed. Retain each tab's last drawn tree in the face
per Session and tab, seed the next store with it, and replace the
earlier binding's watches.

Fixes #7361
2026-10-26 18:37:44 +08:00
Yichen Jiang 2384f52719 fix(forge-panel): hide the actual docked or floating tab 2026-10-26 17:57:14 +08:00
1cc040b535 fix(client): clarify mobile native-open feedback (#6660)
* feat(ui-open-in-app): announce settled open outcomes app-wide

The shared file and directory opener reported a nullable failure, so it could
not tell a handoff the Host acknowledged from a gesture an adapter deliberately
dropped — a duplicate already in flight, or a controller disposed before the
gesture ran. Its notice also lived inside the control that asked for the open,
so it died with the panel, tab, or card the gesture started in.

Replace that with a discriminated outcome on both controllers and adapters, and
report each settled gesture into one `shell.overlay` entry that renders the
app-wide Toast: the Session-header command, the files-tab and Session-header
buttons, both document-preview controls, and both delivery-card controls.
`{ kind: 'skipped' }` announces nothing, because no handoff happened, so card
status and the toast never disagree about what settled.

Name the action for what it does on every surface — "Open on your computer" —
instead of after whichever application would take the handoff. The application
stays supplementary, in the tooltip beside the shortcut it runs under, which is
what the accessible name, visible text, and command label now share.

* fix(client): unify open-in-app feedback

* fix(client): report native open outcomes accurately

* fix(client): tighten open feedback outcomes and lifecycle tests

* test(ptc): synchronize hot-loop log capture

Observe a synchronous child marker before cancellation so the console retention assertion does not depend on completing Node startup within one second.

* test(bench): interleave scaling samples

* fix(client): scope native-open feedback to mobile

Explain native opens on another device for mobile and PWA clients while keeping desktop success silent. Preserve failure feedback after the initiating surface closes and ignore skipped requests.

Remove unrelated benchmark and PTC test changes and retain existing button labels.

Refs #6097

---------

Co-authored-by: EricMoin <[email protected]>
Co-authored-by: EricMoin <[email protected]>
2026-10-26 17:16:44 +08:00
_Kerman 5aa8416c11 refactor(trajectory): hide tool result service context type 2026-10-26 17:00:57 +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 31693e2151 fix(ui-conversation): drop the unused more views label from the remaining locales 2026-10-26 16:31:53 +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
imccyu 6a19d120c9 Merge master into DSH 0.2.1-rc.4 synchronization branch 2026-10-26 16:18:13 +08:00
imccyu 504a01a957 release(dsh): 0.2.1-rc.4 2026-10-26 16:15:51 +08:00
Turtle 93fefc4fbd Merge pull request #7153 from deepseek-harness/turtle/resume-blocked-goal-f1301e734784
fix(ui-goal): offer resume for a blocked goal
2026-10-26 16:12:15 +08:00
imccyu 199ffe37ba fix(ui): keep the more views tooltip fixed (#7342) 2026-10-26 16:12:05 +08:00
Turtle 699cecb83d Merge pull request #4719 from deepseek-harness/fix/toolcall-unused-args
fix(tools): tolerate unambiguous optional arguments
2026-10-26 16:06:45 +08:00
Xu Hanxiang 037ffa43d9 Merge pull request #6639 from deepseek-harness/worktree/experimental-client-ui-perf
feat(experimental): add client-ui-stats conversation view plugin
2026-10-26 15:48:06 +08:00
Yif 5616331997 fix(client): copy only declared drag-preview variables 2026-10-26 15:00:59 +08:00
_Kerman b9bf3bc4eb fix(trajectory): align live result states and JSON previews 2026-10-26 14:55:59 +08:00
_Kerman 6287b3f387 feat(trajectory): stack raw and rendered tool results 2026-10-26 14:21:08 +08:00
Yif a28c3ec88a fix(client): limit workspace header motion to search interactions 2026-10-26 14:20:39 +08:00