Commit Graph
532 Commits
Author SHA1 Message Date
Zhang GH 2a4ecacb43 Merge pull request #284 from dvd233/codex/fix/request-help-cleanup-timeout-277
fix(extension): bound request-help cleanup wait
2026-09-20 12:18:59 +08:00
Zhang GH d247cb7895 fix(extension): decouple help overlay and notification cleanup
Start tab and notification cleanup concurrently so a stalled notification
cannot prevent cancellation messages from reaching the page overlays.

Cover content completion, timeout, and cancellation across multiple tabs.
2026-09-20 11:48:12 +08:00
Zhang GH d04c7526f4 Merge pull request #290 from Tencent/fix/recoverable-session-starts
fix: make browser session starts recoverable
2026-09-20 09:58:04 +08:00
drakezhang 2fc2704f85 fix: expose stop request targets in the public tool schema
Share optional stop target parameters between browser_session and its internal
stop handler. Document exact request targeting, mutual exclusion, and default
stop retry behavior in the model-visible contract.

Add a public schema regression covering requestId, optional targets, and retry
guidance. Lifecycle execution remains unchanged.

Validation: 95 tool and stop recovery tests passed; TypeScript and formatting
checks passed. The new schema test reproduced the omission before the fix.
2026-09-20 09:50:49 +08:00
Zhang GH c2d0c7ed9b Merge pull request #282 from Tencent/iuyo5678/fix-windows-daemon-detach
fix(cli): detach Windows daemons from caller pipes and jobs
2026-09-20 09:42:31 +08:00
drakezhang abf0d3a74d fix: unify durable session stop recovery
Route tool, overlay, archive, unload, and recovery cleanup through one lifecycle
owner and one job per request. Persist explicit stop intent before making a
session unusable; caller cancellation only ends its wait after admission.

Retain durable completion receipts independently of the current session so a
retry cannot stop another working session, even after background cleanup or
restart. Preserve failed default callers' retries across concurrent successful
waiters. Support exact request targeting and reject ambiguous stop targets.

Cover failed normal stops, queued and in-flight cancellation, concurrent entry
points, timer and disk recovery, persistence failures, anonymous starts, reused
IDs, unconfirmed replies, and completion receipt capacity accounting.

Validation: 303 plugin tests passed, including 31 stop recovery tests;
TypeScript checking, production build, and formatting passed.
Package lint was unavailable because publint is not installed in this environment.
2026-09-20 01:00:46 +08:00
Zhang GH 58eb44b306 fix(cli): preserve shared daemons after launcher timeout
Do not terminate a running child when its launcher cannot confirm startup.
A different client may already be using it, or publication may race the
launcher's deadline. Retain cleanup only before a Windows child resumes.

Add deterministic lifecycle regressions for reuse before timeout, delayed
publication and port mismatch. Run Windows success-path and updater tests
in a same-user WMI test host that verifies it is outside all Jobs, and keep
restricted-host rejection tests in the normal CI runner.

Refs #268
2026-09-20 00:38:54 +08:00
drakezhang bfa5e521f8 fix: preserve startup ownership and isolate pending cleanup
Capture initial tab identities when creating an Agent Window and retain them
through failed startup compensation. Retry cleanup through the production
stop handler, preserving later user tabs and keeping ownership if agent tabs
still cannot close.

Separate owned starting and cleanup resources from active sessions. Publish
sessions only after initialization and claim succeed, preserve the working
current session on failure, and reject ordinary operations and captures for
resources awaiting cleanup. Recheck queued operations before execution.

Add regression coverage for production stop retries, mixed windows, delayed
claims, current-session fallback, recovery, capacity, and queued operations.
Update window API fixtures for the creation result's initial tab identities.

Validation: extension 1862 passed (103 skipped), plugin 276 passed; both
TypeScript checks and production builds passed.
2026-09-20 00:04:52 +08:00
dvd233 eb9143308e fix(extension): bound request-help cleanup wait 2026-09-18 13:45:43 -07:00
Zhang GH 6a97ac0f9a fix(cli): isolate Windows daemon startup from caller jobs
Use an explicit standard-handle inheritance list for daemon startup and the
Windows update helper. Require and verify breakaway before resuming a
background daemon, with an actionable error for restrictive host Jobs.

Share direct startup and its readiness deadline across explicit and
automatic entry points, retain child ownership through startup, and reap
Unix children after handoff.

Add native Windows EOF, Job lifetime, concurrency and failure regressions
to CI, and document persistent host setup.

Refs #268
2026-09-18 23:00:57 +08:00
drakezhang 8e357f3a02 fix: make browser session starts recoverable
Track prepared starts with stable request handles, durable plugin ownership, monotonic cancellation, and retryable cleanup. Retain delayed and failed startup resources until cleanup is confirmed, without touching other sessions.

Add regression coverage for lost replies, killed CLI processes, delayed creation, failed cleanup, restart recovery, archive and unload, capacity accounting, and reused session IDs.

Fixes #245
2026-09-18 22:50:52 +08:00
Zhang GH fa953dc6fc Merge pull request #253 from Tencent/fix/background-full-page-screenshots
fix(bsk): support full-page screenshots of controlled background tabs | 支持受控后台标签页的整页截图
2026-09-18 21:17:44 +08:00
drakezhang 2766a22672 Merge main and reconcile background screenshot guidance
Preserve the streamlined skill workflow and document background support for both viewport and full-page screenshots. Keep Canvas capture guidance and remove the outdated visibility requirement for Agent full-page capture.
2026-09-18 21:10:30 +08:00
Zhang GH 64ea064cde Merge pull request #250 from Tencent/fix/background-tab-screenshots
fix(bsk): capture controlled tabs without activating them | 支持无需激活的受控后台标签页的视口截图
2026-09-18 21:03:09 +08:00
Zhang GH 66bcf8c05a Merge pull request #249 from Tencent/fix/background-tab-execution
fix(bsk): keep controlled tabs progressing in background | 支持受控标签页在后台持续执行
2026-09-18 20:57:24 +08:00
Zhang GH 5ef23e74b2 Merge pull request #280 from Tencent/fix/preserve-pending-navigation-progress
fix(navigation): preserve readiness across cancelled redirects
2026-09-18 20:49:55 +08:00
drakezhang 237667bd51 fix(navigation): preserve readiness across cancelled redirects 2026-09-18 18:54:30 +08:00
Zhang GH d1356fd216 Merge pull request #278 from Tencent/iuyo5678/fix-runner-exit-drain
fix(dsh-plugin): bound output draining after child exit
2026-09-18 17:09:56 +08:00
Zhang GH d947823664 fix(dsh-plugin): bound output draining after child exit 2026-09-18 16:47:02 +08:00
Zhang GH fa0439d5c4 Merge pull request #271 from lyingbug/perf/vom-sibling-context-cache
perf(vom): avoid repeated sibling scans for duplicate action labels
2026-09-18 14:07:10 +08:00
wizardchen f1e8374dd1 perf(vom): reuse sibling context for repeated action labels 2026-09-17 17:30:11 +08:00
Ljy-0827 d38450fa95 test: prepare controlled background execution in click regression 2026-09-17 17:11:21 +08:00
Ljy-0827 a7540c364d fix: keep full-page screenshot changes focused 2026-09-17 16:21:38 +08:00
Ljy-0827 c772fa0e8f fix: hide root overlay scrollbars during full-page capture 2026-09-17 16:06:32 +08:00
Ljy-0827 72d79a615c test: stabilize daemon discovery metadata replacement regression 2026-09-17 16:06:32 +08:00
Ljy-0827 84f7bf7d49 fix: capture full pages without activating controlled tabs 2026-09-17 16:06:32 +08:00
Ljy-0827 fb2d161fec fix: scope background screenshots to target capture 2026-09-17 15:57:02 +08:00
Ljy-0827 803482b1f6 fix: share remote device capacity across pending connections 2026-09-17 15:46:05 +08:00
Ljy-0827 6347ccf40c fix: capture controlled tabs without activating them 2026-09-17 15:46:05 +08:00
Ljy-0827 d3f9e918cd fix: preserve navigation state and tab lifecycle compatibility 2026-09-17 15:36:53 +08:00
Ljy-0827 c26560a2e2 fix: recover background navigation across document changes 2026-09-17 15:09:52 +08:00
Ljy-0827 f85876ad69 fix: keep controlled tabs progressing in background 2026-09-17 15:09:52 +08:00
Zhang GH 75e2c64aba Merge pull request #264 from Tencent/release/0.3.0
chore(release): prepare 0.3.0
dsh-plugin-v0.3.0 cli-v0.3.0 ext-v0.3.0
2026-09-16 20:20:39 +08:00
drakezhang f41f1bfbd3 fix(release): remove empty unreleased changelog headings 2026-09-16 20:14:01 +08:00
drakezhang 4bf46adcd8 chore(release): prepare 0.3.0 2026-09-16 20:05:21 +08:00
Zhang GH d505725c59 Merge pull request #263 from Tencent/docs/remote-daemon-setup-guidance
docs: clarify remote setup and persistent daemon startup
2026-09-16 19:59:16 +08:00
Zhang GH c8f9d63101 docs: reuse existing daemons and verify startup readiness 2026-09-16 19:47:07 +08:00
Zhang GH b433d3758b docs: clarify remote setup and persistent daemon startup 2026-09-16 19:30:18 +08:00
Zhang GH a092b544b7 Merge pull request #261 from Tencent/fix/browser-interaction-state
fix: improve browser input readiness and observed form state
2026-09-16 18:58:05 +08:00
drakezhang ce8d6b092f test: allow cold Chrome startup in the standalone browser job 2026-09-16 18:40:23 +08:00
drakezhang a4f9cc1888 fix: clarify wheel paint failures and isolate browser regression checks 2026-09-16 18:36:03 +08:00
drakezhang 351987452e fix: preserve input error diagnostics and configured timeouts 2026-09-16 18:07:25 +08:00
drakezhang 1edee0f25c fix: preserve native input outcomes and narrow disabled handling 2026-09-16 17:48:21 +08:00
drakezhang 933314189d test: stabilize browser readiness fixture and profile cleanup 2026-09-16 17:00:53 +08:00
drakezhang c8bfb980f0 fix: narrow document invalidation and preserve input outcome hints 2026-09-16 16:55:47 +08:00
Zhang GH 1740a1d145 fix: improve browser input readiness and observed form state 2026-09-16 16:35:48 +08:00
Zhang GH ee5afd33fd Merge pull request #256 from Tencent/fix/full-page-capture
fix: handle stalled and stale full-page captures
2026-09-15 20:46:45 +08:00
Zhang GH 37393f399c fix: scope renderer workaround to Windows agent captures 2026-09-15 20:23:27 +08:00
Zhang GH 3af3fe31d3 fix: handle stalled and stale full-page captures 2026-09-15 19:15:31 +08:00
Zhang GH 284f225050 Merge pull request #254 from Tencent/docs/release-0.3.0-readiness
docs: prepare 0.3.0 guidance and streamline browser skills
2026-09-15 18:35:54 +08:00