Commit Graph
24572 Commits
Author SHA1 Message Date
gengruilin 45fc779a11 feat(wecom): run wecom-cli by the absolute path named in runtime context
The plugin registers wecom-cli's absolute path through
registerCliPathContext, with the PATH prefix for the guide scripts that
call it by name, and runs its own commands by the same path. The
Host-runtime check, the private PATH registration, and the shell-env
dependency are removed. The skill guidance, READMEs, tests, and the
wecom-skills snapshot follow the runtime-context path.
2026-10-27 14:04:52 +08:00
gengruilin e5ae03cae7 chore(wecom): leave the root .gitattributes unchanged
The upstream guides keep their whitespace without a repository-wide exemption; only a commit that adds such lines meets the pre-commit whitespace check.
2026-10-15 17:25:11 +08:00
gengruilin 02e4bf79fd feat(wecom): publish one wecom skill with the upstream skills as its guides
The skill catalog lists only wecom. Its entry carries the DSH guidance, a one-sentence index of the 15 upstream skills that keeps their routing rules, and how to open a guide with the file tools. The upstream copy moves unchanged to skills/wecom/guides, including wecomcli-shared, whose DSH changes move to the entry, which takes precedence where they disagree. Only the guides stay vendored.
2026-10-15 16:44:48 +08:00
gengruilin 3c879ea10e refactor(wecom): import the CLI account pieces from the Web shell's platform module 2026-10-14 23:11:35 +08:00
gengruilin 056bb5a4af docs(wecom): document the WeCom plugin and register it with the doc gates
Exclude the vendored skills from bilingual pairing and regenerate the catalogs, graphs, and composition reference.
2026-10-14 21:17:13 +08:00
gengruilin eee1573c7a test(wecom): cover authorization, the Plugins page, and the skills session
The Web E2E drives a stand-in wecom-cli through a failed and a successful QR-code authorization; it needs the scaffold to resolve every selected bundle's dependencies, as Feishu's does. The wecom-skills snapshot pins the skill catalog and a wecom-cli call on the private PATH.
2026-10-14 21:17:12 +08:00
gengruilin 448212f8d2 build(wecom): package the WeCom plugin on the CLI account kit
Pin @wecom/cli 1.3.4, publish the bundled skills, register the three packages, and keep the account rules in WecomAccount like Feishu.
2026-10-14 21:17:10 +08:00
gengruilin d930c4daf4 refactor(wecom): carry the failed result in the page presentation
The presentation keeps the failed operation result itself instead of a
flag, and the section labels non-step phases from the shared `status.*`
copy.
2026-10-14 17:04:03 +08:00
gengruilin 1c869dabef refactor(wecom): pass buttons and shared copy to the kit section
The section takes the WeCom buttons and failure as data and reads the
shared title, hint, tags, activation, and diagnostic copy through the
plugin's translator.
2026-10-14 16:59:11 +08:00
gengruilin 32086b1458 refactor(wecom): report classified failures through the kit
Run `auth init` and `auth show --status` through the kit's command control
so a failed operation reports which command failed and its exit code, and
show that diagnostic beside the failure on the plugin page.
2026-10-14 16:54:59 +08:00
gengruilin 0b2268840d refactor(wecom): build the WeCom plugin on the shared CLI account kit
Run wecom-cli through CliCommandExecutor and the account operations through
CliAccountRuntime, leaving only the platform binary lookup, the
`auth show --status` and `auth init` commands, and their parsing in the
plugin. The plugin page mirrors the account with CliAccountConnection and
renders the kit's section, tag, activation, and notice components. Only the
QR-code wait can be cancelled; the recheck after a scan cannot.
2026-10-14 15:43:50 +08:00
gengruilin 002c10f71f feat(wecom): connect WeCom from its plugin page
Add the WeCom plugin bundle and its Plugins page row: the authorization
section, the title tag, guidance after the bundle is switched on, and
connection notices, following the Feishu plugin page. An initial check that
fails offers a retry instead of an endless check.
2026-10-14 13:33:50 +08:00
gengruilin 1f149bcc79 feat(wecom): run wecom-cli and its skills on the Host
Register the @wecom/cli platform binary directory on the private Shell PATH,
mount skill-filesystem over the bundled skills, and serve the account check
and QR-code connection over the `wecom` Remote. Connection runs
`auth init --noninteractive --no-browser`, offers its work.weixin.qq.com page
to the browser, and requires `auth show --status` to report authorized.
wecom-cli 1.3.4 has no logout, so the Remote offers none.
2026-10-14 13:33:49 +08:00
gengruilin d25a48ac3c feat(upstream-skills): download CLI app plugins' upstream skills from a pinned GitHub commit
WeCom and Tencent Meeting index guides that their vendors publish only in
their GitHub repositories. Instead of carrying a copy, a plugin pins one
directory of the repository by commit, total size, and a digest of the kept
files, and registerUpstreamSkills downloads the commit archive when the plugin
loads, verifies it, publishes it in the DSH cache, and lists the plugin's entry
skill with the published directory as its base directory.

The handle reports installed, downloading, or failed, notifies listeners, and
retries without waiting, so a plugin's account check never waits for GitHub.
Each archive source has skillsTimeoutMs; skillsDir points at prepared files
for tests and offline installations. scripts/upstream-skills-digest.ts prints
the pin for a commit.
2026-10-28 15:00:11 +08:00
gengruilin ea28b3ab35 Merge remote-tracking branch 'origin/master' into feat/cli-account 2026-10-27 19:43:29 +08:00
Kexin Liu 1d4b80f04e Merge pull request #7413 from deepseek-harness/perf/web-startup-assets
perf(web): 压缩动态插件资源以加快冷启动
2026-10-27 18:11:41 +08:00
Kexin Liu 72a84b24bd perf(web): 合并 Web Search 设置刷新中的重复凭据查询 (#7419)
* perf(web): coalesce Web Search credential reads

* fix(web): settle credential refresh races and startup budget checks
2026-10-27 18:06:38 +08:00
liukx0205 0bfa572080 test(web): retain minified bundles in real-host smoke coverage 2026-10-27 17:55:51 +08:00
Magolorand_Kerman fcca540841 refactor(session): unify runtime projection reads (#7347)
* refactor(session): bind runtime projection reads to one session

* refactor(session): expose session-bound readers on projection handles

---------

Co-authored-by: _Kerman <[email protected]>
2026-10-27 09:50:22 +00:00
liukx0205 4f851948a5 perf(web): minify dynamic client bundles 2026-10-27 15:42:21 +08:00
Yudong Han 6e7fae82ab Merge pull request #7407 from deepseek-harness/fix/ask-multi-recommended
fix(ui-user-questions): 多选题预选所有推荐选项
2026-10-27 14:57:06 +08:00
yudshj 185eb56a2b test(web): 新增多选题多推荐项预选的 Web snapshot 场景 2026-10-27 14:31:56 +08:00
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
yudshj 07c3c10d2c test(ui-user-questions): 覆盖多选预选的计时与回看卡片 2026-10-27 13:47:34 +08:00
yudshj bf8d8494ba fix(ui-user-questions): 多选题预选所有推荐选项 2026-10-27 13:43:39 +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 9e2ec92f4a test(web): pace SVG replay under CI concurrency
Apply the focused replay-pacing fix from f9d31843e6c while preserving recording, fixtures, and connection assertions.
2026-10-27 12:14:34 +08:00
Huo Yaoyuan 09c2587b7e Merge pull request #7349 from deepseek-harness/feat/windows-administrator
fix(windows): remove LUA_TOKEN from the Windows ACL sandbox
2026-10-27 11:25:17 +08:00
gengruilin 64c716da9d fix(cli-account): stop waiting for pipes a descendant keeps open
A descendant that inherits the CLI's stdout or stderr keeps the pipes
open after the CLI exits. The executor waited for both pipes to end, so
such a command hung until its deadline and reported a timeout, or hung
indefinitely, even through cancellation and disposal, when the
descendant had left the managed process range. A reader failure, such as
an `onLine` throw, left the other reader running, so `onLine` could be
called after `run` rejected.

The executor now waits for the exit and reads the pipes for at most 2
seconds after the subprocess runtime reports it, keeping the output read
before the cut. On every path it terminates the command and stops both
readers before it settles, so every `onLine` call precedes the result.
2026-10-27 11:16:56 +08:00
_Kerman 89c5ea4d83 Merge latest master into xtr/trajectory-result-mode 2026-10-27 11:16:45 +08:00
Yichen Jiang 6300195071 Merge pull request #7378 from deepseek-harness/worktree/forge-diff-review-state
fix(forge): preserve diff review state and copy header paths
2026-10-27 11:00:22 +08:00
imccyu 3bb9682210 Merge pull request #7260 from deepseek-harness/worktree/sync-dsh-0.2.1-rc.4-to-master
release(dsh): sync 0.2.1-rc.4 to master
2026-10-27 11:00:01 +08:00
Yichen Jiang f73e140299 Merge remote-tracking branch 'origin/master' into worktree/forge-diff-review-state 2026-10-27 10:46:50 +08:00
Yichen Jiang 17b9e1536d fix(forge): release inactive diff subscriptions and menus 2026-10-27 10:46:40 +08:00
imccyu d534e65692 release(dsh): align master packages with 0.2.1-rc.4 2026-10-27 02:23:17 +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 Jiangandimccyu e2c4d0538f ci: make reference and worktree tests portable (#7381)
* fix(forge): make reference and worktree tests portable

* test(worktree): cover error and text cancellation reasons

* test(forge): brace void arrow bodies in the reference lookup spec

* test(ci): expect the joined version script path in the pre-merge check

---------

Co-authored-by: imccyu <[email protected]>
2026-10-27 02:20:02 +08:00
imccyu 9c69007eca Merge pull request #7384 from deepseek-harness/feat/pre-merge-check
feat(ci): run one script for the merged tree in the pre-merge check
2026-10-27 01:44:02 +08:00
imccyu 5d0b96b5bd docs: state the pre-merge order the check runs, without a stray blank line 2026-10-26 23:52:18 +08:00
imccyu 3ddacfd725 fix(ci): narrow the version scan and keep a crashing check inside its mode
The scan now reads exactly the manifests the release tooling rewrites, names
every directory and file it cannot read, and refuses an empty corpus; the
command takes the root it checks so the exit code is tested, and the workflow
reports a crashed check as a warning in report mode.
2026-10-26 23:51:18 +08:00
imccyu 2b485ea1db fix(ci): run the version check as the first step of the pre-merge check
It reads the manifests without an install, so it opens the step list and a
mistyped release stops the check before anything is built.
2026-10-26 23:27:39 +08:00
imccyu 1e433706f4 refactor(ci): run the pre-merge steps as one ordered list
Each step is a spawn whose stdio reaches the job log, the first failure stops
the list, and the script decides from CHECK_MODE whether to annotate as an
error or a warning, so the workflow only calls it.
2026-10-26 23:24:20 +08:00
imccyu a518d10c95 fix(ci): keep the pre-merge check's failures honest
The missing-script branch now fails in block mode instead of passing, the shell
block parses, the version walk refuses a directory it cannot read or one that
holds no manifest, the install is watched before anything else can throw, and a
spec runs `bash -n` over every Policy shell block.
2026-10-26 23:12:29 +08:00
imccyu c3998dde7c feat(ci): run one script for the merged tree in the pre-merge check
`Policy / Pre-Merge Check` now runs `scripts/pre-merge-check.ts` under plain
Node and knows nothing else about the merged tree. That script installs the
dependencies, checks that every released manifest carries the root version
while the install runs, and builds the Host and Client contracts, reporting
which step failed.
2026-10-26 22:54:02 +08:00
Yichen Jiang f92fadd30c Merge remote-tracking branch 'origin/master' into worktree/forge-diff-review-state
# Conflicts:
#	packages/experimental/client-ui-forge/README.i18n.yaml
#	packages/experimental/client-ui-forge/README.md
#	packages/experimental/client-ui-forge/README.zh.md
2026-10-26 22:38:20 +08:00
Yichen Jiang f4a0bfe44a Merge pull request #7376 from deepseek-harness/worktree/forge-session-list
feat(forge): show worktree and PR status in the session list
2026-10-26 22:33:59 +08:00
Yichen Jiang c1b1d9b71f fix(forge): keep retained diffs from scroll anchoring on session switches 2026-10-26 22:08:57 +08:00
Yichen Jiang 57716b544f fix(forge): preserve diff review state and copy header paths 2026-10-26 21:44:38 +08:00