Commit Graph
26790 Commits
Author SHA1 Message Date
Turtle 33e2285547 docs(infra): record the empty catch gate decision 2026-11-11 12:47:01 +08:00
Turtle 62cce39c06 fix(infra): drop --record and treat a new defect on a recorded empty catch as new 2026-11-11 12:47:01 +08:00
turtle1999 9dc86febb6 feat(infra): point empty catch rejections at the error-handling guidance 2026-11-11 12:47:01 +08:00
turtle1999 4cfd7e0257 fix(infra): read the empty catch rule the way its authors write it
Review of the gate found the reason-comment span too narrow: a comment on the
line above `catch`, or trailing the closing brace, was rejected, so the natural
place to explain a clause did not count. The span now starts at the preceding
token and ends with the line closing the clause.

A binding pattern that names nothing (`catch ({})`, `catch ([])`,
`catch ({ _ })`) counted as naming the error. The gate now requires one bound
name other than `_`.

`--record REF` writes the inventory for a merged tree and refuses any clause the
named revision does not already carry, so no command allows a clause this branch
introduced; a merge that lands recorded clauses is the only case that adds
entries. The no-op body boundary (`catch { "use strict" }`) and the tolerance
for a file the parser cannot read past are stated in the module docblock and
pinned by specification rows.
2026-11-11 12:47:01 +08:00
turtle1999 6572c8a63b chore(infra): record the clauses master added before this gate
The merge brings apps/desktop/src/client/WelcomePage.tsx:132,
apps/desktop/src/preload-platform-account.ts:26,
packages/credentials/deepseek-account-platform/src/index.ts:432, and
packages/credentials/deepseek-account-platform/src/logout.ts:33 into the
recorded inventory, so the gate passes on the merged tree. The two wide `try`
clauses need their owners' judgement: narrowing one changes which failures its
clause discards.
2026-11-11 12:47:01 +08:00
turtle1999 a51a1fc79c fix(infra): read a body of empty statements as an empty catch
`catch { ; }` counted as a handled clause because the block held one
statement. A block whose statements are all bare `;` handles nothing, so both
the clause body and its `try` now count only statements that do something.
2026-11-11 12:47:00 +08:00
turtle1999 05883ff6b5 feat(infra): reject silent empty catch clauses
AGENTS.md requires an empty `catch` to name the discarded error, state why it
needs no handling, and keep its `try` to one statement, but nothing enforced
it: 119 clauses break a condition today.

The new `verify-empty-catch` gate scans tracked and non-ignored untracked
first-party source with the TypeScript syntax tree. It records those 119 legacy
clauses by path, syntax fingerprint, and count in
`scripts/empty-catch.baseline.json`, so enforcement starts without a
repository-wide edit. A new or changed clause fails the gate, and fixing a
recorded clause requires `--prune` to retire its allowance; no command adds
one.

The recorded-inventory bookkeeping shared with `verify-no-unknown-casts` moves
to `scripts/baseline-inventory.ts`, which keeps one copy of baseline
validation, counting, pruning, and the command itself.
2026-11-11 12:47:00 +08:00
Yichen Jiang 8c192ad810 Merge pull request #8228 from deepseek-harness/feat/forge-extension-api
feat(forge): open change request review to plugins with lenses, line annotations, and slots
2026-11-11 12:07:19 +08:00
Yichen Jiang f1f987c4c2 docs(forge): name what review changes reread, when annotations draw, and brand lens ids 2026-11-11 11:34:04 +08:00
Yichen Jiang 8c8122ffb0 fix(forge-panel): settle lens runs with their plugins and keep review state through lenses
A lens registration's disposer now waits for the classification itself,
and a run whose registration ended or whose caller left before it started
never reaches the lens; changesLens refuses a lens withdrawn while the
files were read and a local result whose files changed during the run.
The extension state names each lens's version, so the view keys results
by source, files, lens, and version. Hunks holding an open comment form
or a saved browser comment stay unfolded, the view reads threads and
viewed marks again on reviewRevision, a thread jump clears a lens that
hides its file, and the Client entry re-exports the lens types.
2026-11-11 11:34:03 +08:00
agicy 1e5a6c2133 Merge pull request #8280 from deepseek-harness/luanlai/fix-windows-cua-helper-test
fix(cua-windows): 对齐 Windows 遍历上限与共享配置
2026-11-11 11:15:03 +08:00
Anlai Lu a91716b7ce fix(cua-windows): 修正 Windows 辅助功能遍历上限提示 2026-11-11 10:53:00 +08:00
Anlai Lu f4bb505210 test(cua-windows): 对齐 native traversal 上限边界断言 2026-11-11 10:53:00 +08:00
imccyu e8f7b93a34 Merge pull request #8278 from deepseek-harness/worktree-sync-release-dsh-0.2.2-rc.2-to-master
release(dsh): sync 0.2.2-rc.2 back to master
2026-11-11 10:49:46 +08:00
imccyu 4e205cd66d Merge release/dsh-0.2.2 (0.2.2-rc.2) into master
# Conflicts:
#	packages/experimental/cua-bundle/package.json
#	packages/ptc-runtime/ptc-runtime-node/package.json
2026-11-11 10:34:31 +08:00
imccyu ddac96760b Merge pull request #8277 from deepseek-harness/worktree-release-dsh-0.2.2-rc.2
release: [email protected]
dsh-v0.2.2-rc.2
2026-11-11 10:32:18 +08:00
imccyu 91319233e1 release(dsh): 0.2.2-rc.2 2026-11-11 10:18:52 +08:00
imccyu 378efd8556 Merge pull request #8265 from deepseek-harness/saafo/duo-text-autosizing
🐛 Prevent automatic text enlargement on mobile Safari
2026-11-11 10:14:58 +08:00
imccyu 4861a5022a Merge pull request #8213 from deepseek-harness/split-exports-test-fixtures
refactor(exports): internalize test helpers and type fixtures
2026-11-11 10:13:15 +08:00
imccyu 5c59a44fc7 Merge pull request #8274 from deepseek-harness/worktree/cherry-pick-8225-to-0.2.2
feat(llm): report the booted profile in the provider User-Agent
2026-11-11 10:10:01 +08:00
Saafo 01ad3f8b68 🐛 Preserve authored text sizes on mobile Safari 2026-11-11 09:56:15 +08:00
Turtle e19c7f1a02 Merge pull request #8225 from deepseek-harness/turtle/add-desktop-ua-suffix-e911e659413d
feat(llm): report the booted profile in the provider User-Agent
2026-11-11 09:51:11 +08:00
imccyu 957cb75071 Merge branch 'master' into release/dsh-0.2.2 2026-11-11 09:46:43 +08:00
Turtle ce6ab42635 Merge pull request #8225 from deepseek-harness/turtle/add-desktop-ua-suffix-e911e659413d
feat(llm): report the booted profile in the provider User-Agent
2026-11-11 09:28:02 +08:00
imccyu 17d96e0f6d refactor(exports): internalize test helpers and type fixtures 2026-11-11 07:32:55 +08:00
Huo Yaoyuan b8aed3002d Merge pull request #8260 from deepseek-harness/feat/cua-windows-align
feat(cua-windows): 对齐 Windows CUA 的 accessibility 相关实现
2026-11-11 00:29:18 +08:00
Huo Yaoyuan 176d69bd21 Revert maxDepth/maxElements changes and tests 2026-11-10 23:41:25 +08:00
Huo Yaoyuan a18dbe9138 Remove launchWaitMs config 2026-11-10 23:13:40 +08:00
Huo Yaoyuan 01d868ad1e Reword guidance 2026-11-10 23:13:40 +08:00
Huo Yaoyuan 61576d77c6 Sync maxElement config and add guidance 2026-11-10 23:13:40 +08:00
Huo Yaoyuan 7e3161e461 fix(cua): honor per-read traversal limits on Windows 2026-11-10 23:13:40 +08:00
Huo Yaoyuan 62894e715d feat(cua-windows): expose element metadata and defer disabled-state rejection 2026-11-10 23:13:40 +08:00
Huo Yaoyuan 36496e1495 feat(cua-windows): use UIA RuntimeIds as element identifiers 2026-11-10 23:13:40 +08:00
Huo Yaoyuan f5ceca4b1d feat(cua-windows): allow selecting unlisted executables by path 2026-11-10 23:13:40 +08:00
Huo Yaoyuan 1374429891 feat(cua-windows): launch AUMIDs through Explorer with bounded observation 2026-11-10 23:13:40 +08:00
Huo Yaoyuan d0d24d7779 fix(cua-windows): separate default invocation from simulated clicks 2026-11-10 23:13:40 +08:00
Huo Yaoyuan 80510f7543 feat(cua-windows): show patterns instead of actions in accessibility state 2026-11-10 23:13:40 +08:00
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