Commit Graph
27161 Commits
Author SHA1 Message Date
Turtle fce3880969 Merge pull request #8125 from deepseek-harness/turtle/fix-copy-failure-3ccb99f806dd
fix(web): fall back to execCommand when the clipboard write is refused
2026-11-13 13:32:37 +08:00
Turtle 7846322978 Merge pull request #8245 from deepseek-harness/turtle/fix-cmdw-after-usage-ead3844dbbbc
fix(desktop): close the window with Cmd+W from the Platform page
2026-11-13 12:47:31 +08:00
Turtle 2ec306eacb Merge pull request #8073 from deepseek-harness/turtle/fix-web-fetch-error-58da60e9770f
feat(web-fetch-http): classify transport failures and show readable causes
2026-11-13 12:39:48 +08:00
Chinesezjc 230c7b4288 Merge pull request #8396 from deepseek-harness/fix/ci-eeaeb73-stylesheet-realpath
fix(client): key stylesheets by the real package path
2026-11-13 12:14:13 +08:00
dsh-ci-bot 1732b2685b fix(client): judge stylesheet containment with pathBelow
relative() returns an absolute path when a Windows package and its stylesheet sit on different drives, and startsWith('../') read that as inside the package. Reuse the file's pathBelow() so the '..' prefix, an absolute result, and the package root all take the dependency branch, matching resource(). The new symbolic-link case also follows the repository's junction convention on Windows and asserts the compiled text still resolves.
2026-11-13 12:02:19 +08:00
MagolorandZiyaZhang d997173e45 feat(timeline): integrate Timeline as an experimental plugin (#7973)
* Add Timeline as an experimental Harness plugin

* fix(timeline): align prompt counters and release inactive views

* fix(timeline): refine frontend motion and document features

* test(timeline): refresh recorded context after upstream update

* fix(timeline): satisfy UI locale and module graph checks

* test(timeline): align integration checks with CI test lanes

* docs(timeline): document exported locale dictionaries

* fix(timeline): use session records and native client interfaces

* fix(timeline): mount edit RPC and align integration checks

* fix(timeline): follow Harness theme rules

* test(timeline): cover session recovery and client interactions

* fix(timeline): address integration review findings

* fix(timeline): isolate forked plan continuation

* docs(timeline): record the 0.4.0 integration changes

* docs(timeline): clarify the plugin description

* test(timeline): cover integration behavior and recovery edges

* fix(timeline): align dependency metadata and test lint

* fix(timeline): isolate scoped work and harden replay

* docs(timeline): refresh persistence catalog source links

* docs(timeline): document planning ownership predicate

* test(timeline): refresh the recommendation description snapshot

* build(timeline): classify Host dependency exports

* test(web): pace the Goal queue snapshot replay

* feat(timeline): make sidebar auto-open configurable

* docs(timeline): clarify sibling task weights

* fix(timeline): harden report updates and checkpoint recovery

* refactor(timeline): share detail view props

* fix(timeline): clarify progress, reports, and sidebar settings (#8347)

* fix(timeline): align the integration with current Harness contracts

* fix(timeline): preserve navigation when removing a task tree

* Reduce Timeline report replay allocations

Reuse the discussion list when report retention leaves its targets intact.
Clarify that the integrated package follows the Harness release version.

Node 24.21.0 on macOS arm64, median of three measured replays after warmup.
With 17,640 reports, replay took 5650 ms before and 804 ms after.
Peak RSS fell from 343 MiB to 288 MiB. Retained heap stayed near 33 MiB.
The serialized view stayed at 5,297,849 bytes.

---------

Co-authored-by: ZiyaZhang <[email protected]>
2026-11-13 11:54:22 +08:00
CreatixChu 7d690b9689 Merge pull request #8327 from deepseek-harness/fix/files-api-timeout-backoff
缩短 Files API 上传超时并按模型请求次数退避
2026-11-13 11:41:56 +08:00
dsh-ci-bot 16cc3b594e fix(client): key stylesheets by the real package path
Rolldown canonicalizes module ids through symbolic links, while the package directory arrives as the caller wrote it. On macOS, whose temporary directory sits below the /var -> /private/var link, relative(packageDir, fileId) no longer starts inside the package, so the package's own stylesheets were named node_modules/<own package>/... Compares both paths after resolving links, as the asset paths in the same config already do.
2026-11-13 11:40:46 +08:00
creatixchu 6c034edcea Hold cancelled transport open across the next lookup in the recovery test 2026-11-13 11:24:03 +08:00
creatixchu 5f5665cead Preserve normalized upload-index failures on cache reads 2026-11-13 11:23:09 +08:00
creatixchu bbd971ba80 Reset Files backoff in completion order and count the first uncached image 2026-11-13 11:22:24 +08:00
creatixchu 2fcc872259 Merge remote-tracking branch 'origin/master' into fix/files-api-timeout-backoff 2026-11-13 11:17:55 +08:00
imccyu 695f640063 Merge pull request #8133 from deepseek-harness/discuss-client-iframe
refactor(client): add client module js realm (with module manifest and style operation)
2026-11-13 10:11:54 +08:00
imccyu 71753fdf91 refactor(connection): add connection auth provider for remote connection (#8266)
* refactor(connection): extract peer authentication providers

* test(connection): cover provider lifecycle and satisfy package gates

* fix(packaging): publish authentication provider locale resources

* test(auth): use runtime login output and cover gateway admission

* fix(auth): preserve Worker requests and migrate Desktop fixtures

* refactor(auth): centralize route admission with required policy

* fix(release): align authentication providers with rc.2

* refactor(connection): keep peer lookup and source policy private

* test(gateway): cover centralized upgrade rejections

* fix(ci): authenticate homepage compression probe

* refactor(auth): let Token own API socket lifecycle

* fix(auth): prevent caching admission refusals and clarify ownership

* refactor(web): collect provider entry URLs after readiness

* refactor(webserver): name the shared entry URL event

* refactor(connection): provide authentication as a nested service

* fix(web-app): restore startup publication defaults

* fix(auth): scope web events and preserve callback flows

* docs(auth): record the implemented provider architecture

* fix(auth): require owner access for administrative routes
2026-11-12 23:14:32 +08:00
Ruilin Geng 98606fa09b Merge pull request #8261 from deepseek-harness/fix/markdown-cjk-strong-open
fix(ui-primitives): open CJK strong emphasis before punctuation
2026-11-12 20:32:25 +08:00
Jiawei Song fb9c0237a0 Merge pull request #8367 from deepseek-harness/docs/feedback-exported-logs
docs(feedback): describe reading feedback from exported session logs
2026-11-12 20:24:10 +08:00
Magolor bebb3fb7d3 fix(session): load the migration worker in single-file runtimes (#8376)
* fix(session): load the migration worker in single-file runtimes

* test(session): verify migrated history survives packaged restart
2026-11-12 12:15:18 +00:00
Yichen Jiang 8da86aafcf Merge pull request #8369 from deepseek-harness/worktree/sdk-cua-program-tool-600e33
feat(cua): give Agents without a preset the cua_run_code tool
2026-11-12 20:08:07 +08:00
sjw1231 52e3256e78 Merge remote-tracking branch 'origin/master' into docs/feedback-exported-logs 2026-11-12 19:57:29 +08:00
Yichen Jiang d50e1b03f1 Merge remote-tracking branch 'origin/master' into worktree/sdk-cua-program-tool-600e33
Both sides changed the macOS README, so its pairing record is recorded
again from the merged text.

# Conflicts:
#	packages/experimental/cua-macos/README.i18n.yaml
2026-11-12 19:55:41 +08:00
Yichen Jiang d9b1b1e2c4 Merge remote-tracking branch 'origin/master' into worktree/sdk-cua-program-tool-600e33
Both sides changed the macOS README, so its pairing record is recorded
again from the merged text.

# Conflicts:
#	packages/experimental/cua-macos/README.i18n.yaml
2026-11-12 19:52:06 +08:00
CreatixChu 253ccb650e Merge pull request #8378 from deepseek-harness/fix/macos-ax-execution-recovery
fix(cua-macos): 执行操作时也能找到读树已识别的目标
2026-11-12 19:51:46 +08:00
Dudu-0223 ed3b88d211 Merge pull request #8356 from deepseek-harness/fix/cua-partial-ax
fix(cua): isolate invalid AX branches during observation
2026-11-12 19:47:05 +08:00
Yichen Jiang f53238b554 Merge remote-tracking branch 'origin/master' into worktree/sdk-cua-program-tool-600e33
Both sides changed the CUA and macOS READMEs, so their pairing records are
recorded again from the merged text.

Master added a CUA guidance line and changed the cua_run_code description.
The prompt and schema sidecars of the SDK cua-run-code scenario and the
prompt sidecar of the headless cua-run-code-ptc scenario are refreshed to
match.

# Conflicts:
#	packages/experimental/cua-macos/README.i18n.yaml
#	packages/experimental/cua/README.i18n.yaml
2026-11-12 18:39:16 +08:00
Yichen Jiang 3bb3712bba docs(cua): relate creation failures to the host-plane note
The host-plane note stated that an Agent joining no preset receives no
tools and reports no error. The CUA provider now registers cua_run_code for
such an Agent and rejects its creation while the program services are
unavailable, so that consequence is corrected in place and the two notes
link to each other.

The program-tool note records why the provider rejects creation instead of
registering no tool and logging a warning, and why this differs from the
check the host-plane note rejected. The agentPreset JSDoc and the macOS
README row state that cua_run_code depends on its program services.
2026-11-12 18:34:43 +08:00
Yichen Jiang b93f93e701 test(cua): record cua_run_code under the PTC executor without presets
A headless Session on the ptc composition mounts Computer Use with the
provider's default preset selection. The recorded system prompt declares
cua_run_code among the program's tools, two run_code programs call
tools.cua_run_code, and the nested programs retain their application and
window objects across the calls.
2026-11-12 18:34:43 +08:00
Yichen Jiang c0eac04d6d fix(cua): read the optional preset registry from the service store
The provider kept the registry service it received from its optional
injection and cleared the copy in a disposer. Between the registry leaving
the service store and that disposer, the provider still classified Agents
with the retired instance.

The provider now asks the service store each time it selects a tool form.
A preset selection or a registry change updates each Agent separately: a
failed registration is logged as a warning and no longer stops the updates
of the remaining Agents or ends the registry subscription. The registry
test now mounts the registry again after unloading it.
2026-11-12 18:34:25 +08:00
_Kerman 1848364e29 Merge pull request #8380 from deepseek-harness/xtr/remove-python-ptc
refactor(ptc)!: remove all Python PTC support
2026-11-12 18:26:48 +08:00
CreatixChu b6e2913211 Merge pull request #8355 from deepseek-harness/feat/macos-system-pointer-drag
feat(cua): 支持经授权使用 macOS 系统鼠标拖拽
2026-11-12 10:19:59 +00:00
Yichen Jiang ff825c2c7b Merge pull request #8373 from deepseek-harness/worktree/model-switch-compact-overflow-dc62bb
fix(compaction): summarize on the model that last answered
2026-11-12 18:07:39 +08:00
creatixchu 226cb346d5 Sync AX execution recovery with its stack base 2026-11-12 18:06:56 +08:00
creatixchu bdefcfb66d Sync partial AX observation recovery with its stack base 2026-11-12 18:06:44 +08:00
creatixchu 0c728d9341 Merge master into macOS system-pointer drag 2026-11-12 18:06:32 +08:00
creatixchu dd7445d98e Merge partial AX observation recovery into AX execution recovery 2026-11-12 18:03:41 +08:00
imccyu 3e1e50f774 feat(ptc): define scoped REPL top-level scopes and import base in guidance (#8275)
* feat(ptc): define scoped REPL top-level scopes and import base in guidance

The scoped REPL guidance now states the rules a program follows instead of
listing edge cases: each run_code call runs one program in its own top-level
scope, whose top-level declarations and received names are copied, not
referenced, into later programs; a program either uses a copied name or
declares it again; block-level var is discouraged because it changes which
value later programs copy; a failed program keeps earlier values. It names
the missing require and module and separates the import base, fixed at the
environment's first program, from process.cwd(), which follows each program.
Formats without top-level return say to await work before the program ends.

* test(ptc): pin the scoped REPL scope and import guidance

Update the verbatim scoped REPL guidance assertion and refresh, without a key,
the recorded run_code descriptions of the PTC and CUA scenarios whose guidance
changed: the scoped REPL rules and the "before the program ends" wording
shared by retained formats.

* test(cua-mcp): refresh the cua_run_code description for the scoped REPL guidance

The cua-mcp profile expectation landed on master after this branch's base; it lists cua_run_code with the scoped REPL execution instructions.

* fix(ptc): keep the shared scoped guidance free of a consumer tool name

The runtime execution instructions are shared by run_code and cua_run_code, so
the new sentence no longer names run_code. The Agent Note also gives the
missing top-level return as the reason for the retained-state wording, which
covers the persistent script format as well as the REPLs.

* test(ptc): pin the unchanged scoped guidance across consumers

The verbatim assertion, the three scoped tool schemas, and the cua-mcp profile
fixture follow the shared sentence, which no longer names run_code.
2026-11-12 10:02:49 +00:00
creatixchu 669b998fd0 Merge macOS system-pointer drag into AX observation recovery 2026-11-12 18:01:07 +08:00
creatixchu dff6af15f4 Merge master into feat/macos-system-pointer-drag 2026-11-12 17:56:56 +08:00
Yichen Jiang 0789f36a26 docs(compaction): address review comments on summary-route wording and the snapshot fixture
State the fallback order consistently, qualify it for sessions without an assistant message, document the unavailable-answering-model limit and the tool-declaration source, share the system prompt sidecar, and align the recorded task with the scenario.
2026-11-12 17:54:23 +08:00
Huo Yaoyuan deb030335d Merge pull request #8351 from deepseek-harness/feat/cua-windows/input-complete
feat(cua-windows): support single-key events and held-input mouse movement
2026-11-12 17:54:21 +08:00
_Kerman 70be41c8ad refactor(ptc): reuse the existing scoped REPL prefix export 2026-11-12 17:52:48 +08:00
_Kerman 968ea6ebc0 fix(ptc): reject reserved scoped REPL binding names 2026-11-12 17:48:59 +08:00
Yichen Jiang f40e969164 docs: regenerate the module graph for the compaction-basic projection dependency 2026-11-12 17:48:34 +08:00
_Kerman c1e490b7b5 fix(ptc): reject unsupported providers without native fallback 2026-11-12 17:46:53 +08:00
CreatixChu 3f537aeecd Merge branch 'master' into feat/macos-system-pointer-drag 2026-11-12 17:45:54 +08:00
Yichen Jiang 77e491f9b0 refactor(compaction): record the answered route in a private projection
Review feedback: the summary route and its restorable state belong to compaction-basic. A host-only projection now records the provider/model of each assistant message source, replacing the tokenMeter.answeredRoute() service method, which had one caller.
2026-11-12 17:41:17 +08:00
Dudu-0223 ad2eb08841 refactor(cua): keep AX root recovery local to observation 2026-11-12 17:24:56 +08:00
Jiawei Song 91d416d45c Merge pull request #8177 from deepseek-harness/refactor/tool-errors-document
refactor(office): record structured error name and code for Office tool failures
2026-11-12 17:20:55 +08:00
creatixchu d365af8b6c test(cua-macos): dispatch the unique command recovered from AppKit menu ranges 2026-11-12 17:17:51 +08:00
creatixchu 413c5363dc test(cua-macos): exercise unreadable menus through the owning AppKit process 2026-11-12 17:16:33 +08:00
creatixchu 06ae2c32fc test(cua-macos): verify Paste dispatch against partial AppKit menus 2026-11-12 17:14:42 +08:00