Commit Graph
26746 Commits
Author SHA1 Message Date
Huo Yaoyuan 91f70db6a6 feat(cua-windows): expose native pattern actions 2026-11-10 23:13:40 +08:00
Huo Yaoyuan abb3c004d5 fix(cua-windows): use native control type names 2026-11-10 23:13:40 +08:00
Huo Yaoyuan 79d1dd8915 Merge pull request #8161 from deepseek-harness/feat/cua-windows-2
feat(cua-windows): 移植 Windows CUA provider 并接入 helper 打包
2026-11-10 23:13:34 +08:00
creatixchu 73303a3a01 test(web): prevent automatic paging before the turn navigation jump 2026-11-10 22:39:43 +08:00
creatixchu 2deb3189c6 Merge master and adapt scoped CUA replay to string window IDs 2026-11-10 22:38:49 +08:00
imccyu 37e0924f68 Merge pull request #8257 from deepseek-harness/ptc-scoped-repl-switch
feat(ptc): run the scoped REPL by default for persistent-in-memory execution
2026-11-10 22:34:59 +08:00
creatixchu 0874eb2217 fix(cua): retain macOS permission diagnostic process IDs 2026-11-10 22:22:09 +08:00
creatixchu f9fdb61ca9 fix(cua-macos): restore strict ready frame validation 2026-11-10 22:18:41 +08:00
creatixchu 5ce7c5b1f3 Revert Windows CUA checks in the PR workflow 2026-11-10 22:11:57 +08:00
creatixchu dd23e7ae91 test(web): refresh CUA descriptions in the recommended plugin catalog 2026-11-10 21:54:51 +08:00
creatixchu c30a94a0c4 fix(cua): declare PID selectors, document Windows limits and check native PR builds 2026-11-10 21:41:16 +08:00
creatixchu 616dbd03bd fix(cua): preserve macOS process IDs in application discovery 2026-11-10 20:57:30 +08:00
creatixchu 3b8c672e6f test(web): keep image history paging independent of pointer scrolling 2026-11-10 20:35:19 +08:00
creatixchu 1a62850eec Merge master into Windows CUA branch 2026-11-10 20:21:17 +08:00
imccyu 58fa5606b7 Merge pull request #8202 from deepseek-harness/ptc-binding-copy
feat(ptc): Node PTC scoped REPL:跨调用按值拷贝顶层绑定,允许任意关键字再次声明
2026-11-10 20:11:45 +08:00
imccyu c6ef2d17da fix(ptc): keep the runtime's own experimental warnings out of program output
The child filters Node's ExperimentalWarning for vm.USE_MAIN_CONTEXT_DEFAULT_LOADER
and stripTypeScriptTypes, which the runtime itself triggers; an environment
initializer that imports a module under the scoped REPL otherwise prints it into
the first call's output. Warnings that programs emit still print. The host strips
types without printing the stripTypeScriptTypes warning.
2026-11-10 18:52:20 +08:00
imccyu 561f7f1538 test(ptc): match scoped REPL filenames with platform paths
Scoped REPL programs are named resolve(<creation cwd>, '.ptc-repl-<n>.js'), so on Windows their stacks show backslash paths. Compare locations against the resolved filename instead of a hardcoded '/' separator, keeping the submission ordinal, line, and column checks.
2026-11-10 18:52:20 +08:00
imccyu 85120aaf4a docs(ptc): correct the vm-modules flag claim in the scoped REPL note
Both child launches pass --experimental-vm-modules, so a callback-based import could show only the short filename; the default path does not use one yet.
2026-11-10 18:52:19 +08:00
imccyu 1cf3217403 fix(ptc): align scoped REPL guidance and tests with inspect output
run_code now discards completion values for TypeScript runtimes, so the
scoped REPL guidance shares the inspect output sentence with the other
modes. Tests read the output field, cover environment initialization with
copied bindings, and the ptc-scoped-repl snapshot is re-recorded with
inspect output.
2026-11-10 18:52:19 +08:00
imccyu 26cd436b86 docs(ptc): fold the scoped-repl format into the protocol 3 upgrade guide
Master's unreleased ptc-bootstrap-protocol guide already covers protocol
version 3, so the scoped-repl format, the PtcProgramFormat member and the
dsh-ssh bootstrapHash step join it instead of a second guide. Re-record the
README, Note and guide translation pairs after the rebase.
2026-11-10 18:52:19 +08:00
imccyu 5a398a9990 feat(ptc): name scoped REPL programs as hidden files in the first directory
Each call's Script filename becomes <first working directory>/.ptc-repl-<n>.js.
No file exists at that path; the directory stays because Node's default loader
resolves relative import() specifiers from the filename.
2026-11-10 18:52:19 +08:00
imccyu ba4d01126c feat(ptc): start scoped REPL var redeclarations from the earlier value
A call that declares an earlier name again only with var now gets a var
copy of the earlier value, so a var declaration that does not run, after
a throw or in an untaken branch, keeps that value as a global var does in
Node's REPL. var count = count + 1 consequently adds to the earlier value.
A function of the same name in one call takes precedence over the var.
Update the model guidance, Agent Note, READMEs, and the ptc-scoped-repl
snapshot schema.
2026-11-10 18:52:19 +08:00
imccyu 793ce790a6 feat(ptc): add scoped REPL execution with copied top-level bindings
With replScoped: true, persistent-in-memory runs each call as a separate
VM Script in one retained context. Each call starts with copies of the
top-level bindings left by earlier calls, so a later call may declare any
earlier name again with any keyword while earlier functions and
still-running code keep their values. Results, top-level await, errors
and asynchronous failures follow the existing REPL evaluator; modules
load only through dynamic import(), resolved from the environment's first
working directory.

The control protocol moves to version 3; the upgrade guide covers
preinstalled bootstraps and the new PtcProgramFormat member. The Agent
Note records the decision and its comparison with node:repl and
vm-script, and the ptc-scoped-repl snapshot pins the model guidance.
2026-11-10 18:52:19 +08:00
CreatixChu b89adf637d Merge pull request #8251 from deepseek-harness/fix/cua-ax-zoom-result
fix(cua-macos): 复查窗口尺寸,避免 AXZoomWindow 已生效时误报失败
2026-11-10 18:33:30 +08:00
creatixchu 1aefd4de11 Merge master and migrate Windows CUA callers to explicit inspection 2026-11-10 18:24:02 +08:00
creatixchu 1991fa2b22 fix(cua): address shared API, packaging and migration review 2026-11-10 18:10:43 +08:00
creatixchu fa7fb44c9a Merge remote-tracking branch 'origin/master' into fix/cua-ax-zoom-result
# Conflicts:
#	packages/experimental/cua-macos/native/README.i18n.yaml
2026-11-10 18:05:38 +08:00
CreatixChu badd971c14 Merge pull request #8236 from deepseek-harness/fix/cua-localized-app
fix(cua): 按安装路径复用本地化应用的运行进程
2026-11-10 18:01:40 +08:00
creatixchu 53c51d8590 fix(cua-macos): resolve the zoom window when its control role is unavailable 2026-11-10 18:01:14 +08:00
CreatixChu ffab25266c Merge pull request #8209 from deepseek-harness/feat/cua-explicit-inspect
feat(cua): 移除观察结果的自动输出,改用 inspect 显式展示
2026-11-10 09:53:58 +00:00
creatixchu 82c5faca9a test(cua-macos): exercise zoom and restore on an AppKit window 2026-11-10 17:49:17 +08:00
creatixchu ac84370afc fix(cua-macos): verify window resize after AXZoomWindow errors 2026-11-10 17:46:00 +08:00
creatixchu d5ebaae1b9 Merge remote-tracking branch 'origin/feat/cua-explicit-inspect' into fix/cua-localized-app 2026-11-10 17:39:34 +08:00
creatixchu 77c722d9e3 Wait for the sidebar tab to settle before measuring the reorder target 2026-11-10 17:37:55 +08:00
creatixchu 6e68211a28 Merge remote-tracking branch 'origin/feat/cua-explicit-inspect' into fix/cua-localized-app
# Conflicts:
#	packages/experimental/cua-macos/README.i18n.yaml
2026-11-10 17:34:27 +08:00
creatixchu 864cc97c99 Sync master after PTC inspect landed 2026-11-10 17:32:30 +08:00
_Kerman 9b0db4b152 Merge pull request #8154 from deepseek-harness/xtr/ptc-inspect-output
feat(ptc): 用 inspect 统一展示文本与图片
2026-11-10 09:30:01 +00:00
creatixchu 9b28e62be3 Sync upstream Web replay fixes into CUA output cleanup 2026-11-10 17:20:02 +08:00
_Kerman a4e6f7ceea test(web): sync remaining PTC newline expectations 2026-11-10 17:18:59 +08:00
creatixchu 09559c405f fix(cua): recheck process ambiguity after application consent 2026-11-10 17:07:13 +08:00
creatixchu a5d0863db3 Merge remote-tracking branch 'origin/master' into fix/cua-localized-app
# Conflicts:
#	packages/experimental/cua-macos/README.i18n.yaml
2026-11-10 17:03:25 +08:00
_Kerman f775b74795 fix(ptc): preserve line breaks before sandbox diagnostics 2026-11-10 17:02:36 +08:00
_Kerman 5de18e6090 fix(ui-tool): localize and validate compact image output 2026-11-10 17:02:36 +08:00
creatixchu 35fd76078f Sync upstream spill and snapshot expectations for inspect output 2026-11-10 16:52:21 +08:00
_Kerman 43dea0aa7a test(ptc): sync spill and mixed-mode newline expectations 2026-11-10 16:51:05 +08:00
creatixchu 55ad0f220b Include inspect newline expectations in CUA CI 2026-11-10 16:50:31 +08:00
creatixchu 947503cb2c Align spill and session expectations with inspect line endings 2026-11-10 16:50:05 +08:00
creatixchu 5ee1c02eb8 fix(cua-windows): align provider, platform checks and replay with master 2026-11-10 16:47:17 +08:00
creatixchu 418f2ec405 Merge latest PTC inspect changes and align standalone CUA output 2026-11-10 16:40:06 +08:00
_Kerman 7526051e60 test(ptc): sync artifact expectations with emitted newlines 2026-11-10 16:31:41 +08:00