Commit Graph
8682 Commits
Author SHA1 Message Date
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 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 1a62850eec Merge master into Windows CUA branch 2026-11-10 20:21:17 +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 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 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 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 4e9adccec7 Merge branch 'master' into xtr/ptc-inspect-output 2026-11-10 16:18:34 +08:00
_Kerman c7f1da5531 docs(ptc): complete protocol 3 migration details 2026-11-10 16:07:14 +08:00
_Kerman 5fd443618f fix(ptc): preserve raw text and cross-realm image inspection 2026-11-10 16:07:14 +08:00
Turtle d79851e05d Merge pull request #8180 from deepseek-harness/feat/cua-run-code-standard
feat(cua): 为标准模式提供持久 cua_run_code 工具
2026-11-10 07:59:40 +00:00
_Kerman b4e3e18867 docs(ptc): link the shared bootstrap upgrade guide 2026-11-10 14:40:43 +08:00
_Kerman 86984d8358 Merge branch 'feat/cua-run-code-standard' into xtr/ptc-inspect-output 2026-11-10 14:24:26 +08:00
_Kerman 0191dbb0cf refactor(ptc): collect nested images through custom inspection 2026-11-10 13:38:43 +08:00
creatixchu c2aa91c1ab Merge updated PTC inspect implementation into CUA output cleanup 2026-11-10 12:35:50 +08:00
creatixchu 5440d154f8 Document native and PTC output for CUA observations 2026-11-10 12:29:58 +08:00
_Kerman 5d0106771e fix(ptc): render inspected values with Node object formatting 2026-11-10 11:58:10 +08:00
creatixchu 7bba8aa868 Remove implicit observation output from the CUA object API 2026-11-10 11:57:34 +08:00
_Kerman 2bedbf2f2b fix(ptc): align JSON inspection tests and failure handling 2026-11-10 10:45:41 +08:00
Yichen Jiang 0eed137eca Merge pull request #8189 from deepseek-harness/feat/forge-overview
feat(forge): sync viewed files with GitHub and act on the change request overview
2026-11-10 10:18:54 +08:00
turtle1999 6729530215 chore(cua): merge current application selection semantics 2026-11-10 00:01:53 +08:00
turtle1999 8a898cac60 refactor(cua): make native connections own input cleanup 2026-11-09 23:13:36 +08:00
turtle1999 26427a26e1 refactor(ptc): initialize each environment through a registered hook 2026-11-09 22:19:35 +08:00
_Kerman 5bcee95efe fix(ptc): preserve automatic images for unadapted tools 2026-11-09 21:46:06 +08:00
_Kerman 8566fdb439 docs(ptc): complete runtime migration guidance 2026-11-09 21:42:31 +08:00
Yichen Jiang ef22fbe7d3 fix(forge): report unconfirmed writes and harden the overview actions
- ForgeActionFailure gains `unknown` for an answer that does not confirm
  the outcome; the GitHub provider passes it on instead of `failed`, the
  panel Remote refuses with `forgePanel/action-unknown`, a viewed mark
  stays, and the other actions ask the reader to check the browser.
- Reruns skip workflow runs with a pending check, try every finished run,
  and report the refused ones together; the card offers a rerun only when
  a failed check's run has finished.
- Review requests resolve users and teams to node ids and call
  `requestReviews`, which GitHub Enterprise Server 3.19 and 3.20 have;
  bots still go through `requestReviewsByLogin`.
- Viewed marks are kept per change request and head, so a reread at the
  same head keeps writes in flight and their locks, and paths named after
  object properties read only their own entries.
- The reviewer search never chooses from the listing of an earlier query.
- Documentation states the unknown code, the branch update evidence, and
  the `canBeRebased` approximation, and drops stray blank lines.
2026-11-09 20:56:46 +08:00
_Kerman dc240209e3 Merge origin/master into xtr/ptc-inspect-output 2026-11-09 20:27:19 +08:00
_Kerman 52f610de0f docs: refresh PTC runtime attachment dependencies 2026-11-09 19:17:09 +08:00
turtle1999 f0e9dc1c92 fix(cua): support clean source runs and preserve per-mode guidance 2026-11-09 18:17:56 +08:00
_Kerman e1f0a36193 fix(ptc): preserve native console methods 2026-11-09 18:17:19 +08:00
_Kerman a03cf79fc7 Merge origin/master into xtr/ptc-inspect-output 2026-11-09 18:03:41 +08:00
_Kerman a2ea3970fd refactor(ptc): return ordered text and image output 2026-11-09 17:44:12 +08:00
_Kerman 4f6ccd772d docs(ptc): shorten explicit output guidance 2026-11-09 17:19:55 +08:00
_Kerman 1fed265b3b fix(ptc): bound binary inspection and preserve failure output 2026-11-09 17:19:48 +08:00
Yichen Jiang b1fae5b326 docs(forge): document the overview and viewed marks
The forge subsystem page gains the overview and viewed mark types and
contracts, and the generated Cordis, configuration, and event catalogs
follow the new service methods and the maxViewedFiles option.
2026-11-09 17:13:17 +08:00
Yichen Jiang 0a4b8d1363 feat(forge): read and set viewed marks and act on the change request overview
ChangeRequestSnapshot now carries the reviewers, linked closing issues,
branch update methods, and the viewer's rights to request reviews and
rerun checks; each check names its rerun. Providers may implement viewed
mark reads and writes, failed check reruns, review requests with a
reviewer search, and head-pinned branch updates. The registry fails an
action a provider lacks without polling, and polls a watched change
request after every action the provider answered.
2026-11-09 17:12:38 +08:00
Dudu-0223 d4100b4d3f merge: preserve CUA selection fixes with AX traversal limits 2026-11-09 16:52:39 +08:00
CreatixChu 5a18be1c9a Merge pull request #8164 from deepseek-harness/feat/cua-ax-traversal-limits
feat(cua): 支持按次设置 AX 树的节点数和深度上限
2026-11-09 16:40:21 +08:00
Dudu-0223 1d246ff9af fix(cua): merge master and address selection review feedback 2026-11-09 16:33:06 +08:00
_Kerman 83e3d0ebc0 Merge remote-tracking branch 'origin/master' into xtr/ptc-inspect-output
# Conflicts:
#	packages/experimental/cua-macos/README.i18n.yaml
#	packages/experimental/cua-macos/README.md
#	packages/experimental/cua-macos/README.zh.md
#	packages/experimental/cua/src/api.ts
#	packages/experimental/cua/src/guidance.ts
#	packages/experimental/cua/src/types.ts
#	packages/experimental/cua/tests/api.spec.ts
#	snapshots/session/cua-native/system-prompt.expected.md
#	snapshots/session/cua-ptc/system-prompt.expected.md
#	snapshots/session/ptc-script-retained/system-prompt.expected.md
2026-11-09 16:17:18 +08:00
turtle1999 b9966a12a6 feat(cua): expose persistent code tool outside PTC mode 2026-11-09 15:53:22 +08:00
_Kerman 4e72e43037 chore(ptc): align fixtures and docs with simplified image handling 2026-11-09 15:42:49 +08:00
_Kerman 724e56b286 feat(ptc): unify explicit text and image inspection 2026-11-09 15:06:09 +08:00
Yichen Jiang 28df6c3117 Merge remote-tracking branch 'origin/feat/forge-review-threads' into feat/forge-review-writes
# Conflicts:
#	docs/config-catalog.md
#	docs/config-catalog.zh.md
#	packages/experimental/client-ui-forge/README.i18n.yaml
#	packages/experimental/client-ui-forge/src/client/ChangesTab.tsx
#	packages/experimental/forge-github/README.i18n.yaml
#	packages/experimental/forge-github/README.md
#	packages/experimental/forge-github/README.zh.md
#	packages/experimental/forge/README.i18n.yaml
#	packages/experimental/forge/src/index.ts
#	packages/extensions/tool-cordis/src/api-catalog.ts
2026-11-09 14:53:18 +08:00
Yichen Jiang 2479e6ddab Merge remote-tracking branch 'origin/master' into feat/forge-review-threads
# Conflicts:
#	docs/event-producer-consumer.md
#	docs/event-producer-consumer.zh.md
2026-11-09 14:43:20 +08:00