Commit Graph
28736 Commits
Author SHA1 Message Date
creatixchu 6eb6625063 Merge master and align scoped CUA replays with system input 2026-11-20 10:43:24 +08:00
creatixchu 236147cfac Rename CUA system input and locale modules 2026-11-20 10:40:48 +08:00
LegGasai 9c60743a11 Merge pull request #8843 from deepseek-harness/turtle/base-branch-search-e0f5af0f6b55
feat(forge): use the shared menu search in the base branch pickers
2026-11-20 10:32:00 +08:00
imccyu 10d5578ce3 Merge pull request #8857 from deepseek-harness/ci/css-selector-gate-v2
ci(css): reject costly unkeyed CSS selectors and retire existing ones
2026-11-20 02:34:03 +08:00
imccyu 2754e9fe8c ci(css): reject costly unkeyed CSS selectors and retire existing ones
Add verify-css-selectors to the hygiene gates. It rejects a subject
compound without a class, id, attribute or type key that matches through
:not(), :empty or :has(); a universal selector that names no class, id
or attribute anywhere; and :has() outside the subject compound. Chromium
evaluates such rules on every restyled element or invalidates whole
subtrees. Class-scoped forms such as '.card *' and '.list > :first-child'
are accepted, and the listed base stylesheets are exempt from the subject
rules.

Existing occurrences are recorded in scripts/css-selectors.baseline.json;
new ones fail and retired ones must be pruned. Rewrite existing selectors
where the matched elements stay the same, and document the rule in the
Web styling reference.
2026-11-20 01:59:10 +08:00
imccyu 0d36b3179e Merge pull request #8854 from deepseek-harness/test/ptc-explicit-execution-mode
test(ptc): name the Node PTC execution mode in tests and add scoped REPL counterparts
2026-11-20 01:58:51 +08:00
Ruilin Geng 86295eee18 Merge pull request #8815 from deepseek-harness/feat/dingtalk-plugin
feat(dingtalk): 新增钉钉插件并支持在插件页登录钉钉账号
2026-11-20 00:57:01 +08:00
imccyu 9fae65aeea test(ptc): name the Node PTC execution mode in tests and add scoped REPL counterparts 2026-11-20 00:27:32 +08:00
imccyuandimccyu e25df02c51 refactor(session): prepare Session validation and header building for SessionData (#8676)
* refactor(session): move Session log validation into a module

Move header, seed-event envelope, and inherited-cut validation out of the
Session constructor into validation.ts without changing check order or error
text. Export needsInheritedSeedMarker for the fork marker rule the
constructor applies.

* feat(session): validate a Session log without constructing a Session

validateSessionLog composes the header, seed-event, surface, and
inherited-cut checks of Session construction in the same order. Omitting
eventState matches Session.create; an event state matches
Session.fromRestore.

* refactor: validate stored Session logs with validateSessionLog

The chat importer, session-query readSession, the format catalog, and JSONL
generation verification constructed a discarded Session only to validate a
log. They now call validateSessionLog with the same mode, inherited count,
and message interpreters.

* refactor(session): extract buildSessionHeader

Move new-Session header construction out of SessionStore.prepare into the
exported buildSessionHeader and name its input SessionHeaderMeta.
Automatic ids and duplicate checks stay in prepare.

* refactor(session): move header and fork error helpers out of the session index

Move buildSessionHeader into validation.ts and SessionForkError with
SessionForkErrorCode into fork.ts so later modules can import them without
importing index.ts. index.ts re-exports both under the same names. Complete
the JSDoc of the exported validation helpers.

* refactor(session): extract checkSessionLog from the Session constructor

Move header validation, seed acceptance with surface admission, and the inherited-cut check into checkSessionLog in validation.ts, keeping the constructor's order and errors. The Session constructor and validateSessionLog call it.

* test(session): cover Session log validation and construction helpers

Cover validateSessionLog against Session.create and Session.fromRestore in
every event state, buildSessionHeader, needsInheritedSeedMarker,
Session.readEvents range semantics, and the fork subpath export of
SessionForkError.

* docs(session): document Session log validation

Document validateSessionLog, buildSessionHeader, needsInheritedSeedMarker,
Session.readEvents, and the SessionForkError subpath export in the package
README. Align the Session and CreateSessionOptions type blocks, add
SessionHeaderMeta, regenerate the Cordis, event graph, and persistence
catalogs, and update the plugin entry, unknown-cast, and package dependency
registries.

---------

Co-authored-by: imccyu <[email protected]>
2026-11-20 00:11:27 +08:00
gengruilin 0260239371 test(dingtalk): load the session projection registry in the test host
Master's #6941 makes the system prompt plugin require the session projection registry and added it to the Feishu, WeCom, Tencent Meeting and CLI account test hosts; this package exists only on this branch.
2026-11-19 23:38:23 +08:00
imccyu 7e5d8f789f ci: fetch Ubuntu archives over HTTPS and install Playwright beside the build (#8850) 2026-11-19 23:37:59 +08:00
gengruilin 9d121f8bdd test(dingtalk): refresh the dingtalk-skills fixture for the section-based system prompt
Master's #6941 records system instructions as sections and refreshed every fixture on master; this fixture exists only on this branch. Refreshed with test:snapshot:refresh.
2026-11-19 23:02:41 +08:00
gengruilin 76b3d7f931 Merge remote-tracking branch 'origin/master' into feat/dingtalk-plugin 2026-11-19 23:02:35 +08:00
imccyu b5e0f319da ci: fetch Ubuntu archives over HTTPS and install Playwright beside the build 2026-11-19 22:49:33 +08:00
EricMoin a4df6e5dbc Merge pull request #7675 from deepseek-harness/feat/request-pairing
feat(web): add pairing and approval for remote connection
2026-11-19 22:15:02 +08:00
EricMoin aab288650b fix(web): preserve reviewed pairing behavior after rebase 2026-11-19 21:27:14 +08:00
EricMoin f4f10e05f9 fix(web): hide stale pairing requests on failure
Keep the retry action available until a successful read supplies a current approval list. A decision that settles during a failed read cannot make cached requests visible again.
2026-11-19 21:25:59 +08:00
EricMoin dc3a25f0ef fix(web): remove the empty pairing request badge 2026-11-19 21:25:59 +08:00
EricMoin 39a9b14a47 fix(web): match pairing actions to standard small buttons 2026-11-19 21:25:59 +08:00
EricMoin 634b23ce56 test(liveshare): settle relay refusal before admitting owner turns 2026-11-19 21:25:58 +08:00
EricMoin 67baa380a6 test(web): isolate rate-limit pairing fixtures 2026-11-19 21:25:58 +08:00
EricMoin 2a799fe712 fix(web): clarify pairing recovery feedback
Keep the primary action readable while pairing is busy, and distinguish
rate limits from connection failures during recovery. After the retry
budget is exhausted, tell users to wait before requesting again.

(cherry picked from commit 3c8ef5f6cb6f9e76d0a22614c608d59107bf6bf0)
2026-11-19 21:25:58 +08:00
EricMoin b331a96b18 fix(web): align anonymous sign-in methods
Give token entry and device pairing matching headings and descriptions
so the two choices are easier to scan. Keep sign-in guidance visible
when token validation fails.
2026-11-19 21:25:58 +08:00
EricMoin 6f10f39ec3 fix(web): clarify anonymous sign-in guidance 2026-11-19 21:25:58 +08:00
EricMoin 13d2505276 test(web): wait for replacement pairing code before snapshots 2026-11-19 21:25:58 +08:00
EricMoin 5313ad4bfa feat(remote-connection): pair browsers through the shared root login page 2026-11-19 21:25:58 +08:00
EricMoin 971cda8344 fix(remote-connection): retain reviewed fixes from previous merges 2026-11-19 21:25:02 +08:00
EricMoin b5a8cb26ba test(web): wait for model settings before measuring headings 2026-11-19 21:24:43 +08:00
EricMoin 41713a0143 docs: refresh remote connection config source links 2026-11-19 21:24:42 +08:00
EricMoin aba9c78d80 fix(web): stretch copy link on narrow remote connection cards 2026-11-19 21:24:42 +08:00
EricMoin d5620f9c2e fix(web): use standard small remote connection controls 2026-11-19 21:24:42 +08:00
EricMoin 871b79ca2a test(web): order clipboard fixture after connection reset 2026-11-19 21:24:42 +08:00
EricMoin 8810f48065 test(web): preserve settings heading spacing after upstream layout changes 2026-11-19 21:24:42 +08:00
EricMoin 7eef744ed5 test(remote-connection): cover copying before deployment loads 2026-11-19 21:24:42 +08:00
EricMoin 41321f8c0d fix(web): guide Token entry with the current Host address 2026-11-19 21:24:42 +08:00
EricMoin c77a2dba2d fix(web): clear copied credential warnings when leaving settings 2026-11-19 21:24:42 +08:00
EricMoin fc1a735971 fix(web): retain the QR cancellation action 2026-11-19 21:24:42 +08:00
EricMoin 8a1dee1196 fix(web): align remote connection controls and typography 2026-11-19 21:24:42 +08:00
EricMoin d76a072cd3 fix(web): preserve address copying without credentials 2026-11-19 21:24:42 +08:00
EricMoin 6dcd480f42 fix(web): explain unavailable remote addresses 2026-11-19 21:24:42 +08:00
EricMoin f575fb30c0 fix(web): reorder remote connection panel
Help users identify the destination before choosing a sign-in method.
2026-11-19 21:24:42 +08:00
EricMoin 32f024ae7f fix(web): widen settings navigation
(cherry picked from commit f323d98ad2fbe485440dd4ffd8fddc54092baf8a)
2026-11-19 21:24:42 +08:00
EricMoin ba9a8fa333 fix(web): align agent preset headings
Use the Models heading hierarchy in Agent preset settings so shared
settings sections use consistent typography.
2026-11-19 21:24:42 +08:00
EricMoin a5024f905e fix(remote-connection): align package release version 2026-11-19 21:24:42 +08:00
EricMoin d49522e8ff chore: refresh merged client slot catalog 2026-11-19 21:24:42 +08:00
EricMoin 3308f3c81e feat(remote-connection): add settings extension slot 2026-11-19 21:24:42 +08:00
EricMoin 8007167877 fix(remote-connection): retain sign-in options after QR failures 2026-11-19 21:24:42 +08:00
EricMoin 9788c9b75d refactor(remote-connection): exchange QR credentials at the root login page 2026-11-19 21:24:42 +08:00
EricMoin 98c294a0ab fix(remote-connection): shorten QR and link action labels 2026-11-19 21:24:42 +08:00
EricMoin cd168a0c12 test(web): include Remote connection in settings snapshots 2026-11-19 21:24:42 +08:00