master moved internal identity construction to brandString (#8214) and
added the empty-catch gate with its recorded baseline (#4862); both touch
files this branch changes or moves.
Conflicts:
- packages/llm/llm-deepseek/tests/adapter.spec.ts,
packages/llm/llm-deepseek-account/tests/provider.spec.ts,
packages/experimental/translator/tests/paid-fixture.ts, and
packages/web/web-search-deepseek/tests/deepseek.spec.ts: master rewrote
the id constructor calls to brandString<T>() with type-only imports,
while this branch replaced the hand-built account stand-ins with
accountStub. The result keeps master's id construction and imports and
this branch's stand-ins; the one Session this branch's own search test
creates follows master's construction.
- packages/web/web-deepseek-api/package.json and
packages/web/web-search-deepseek/package.json: this branch's sorted
devDependencies plus master's dsh-brand entry.
- docs/capability-seams.md and docs/capability-seams.zh.md: master's
cuaPrograms consumer edge and this branch's deepseekAccount consumer
edges coexist; the pairing record is recorded again from the merged
pair.
- docs/module-graph.md, docs/module-graph.zh.md,
docs/persistence-schema.json, and pnpm-lock.yaml: regenerated from the
merged sources.
Beyond the conflicts:
- scripts/empty-catch.baseline.json: master recorded two clauses under
packages/credentials/deepseek-account, which this branch moves to
packages/account/deepseek-account. The two keys are renamed with the
files, as the gate requires for a moved file.
- AGENTS.md: master's checker link and this branch's account/ layout row
together exceeded the frozen 2,080-word ceiling by one word, so the row
reads "account/ DeepSeek".
The config catalog records the source line of the plugin's Config. The
previous commit grew the module comment by one line, which moved that
line and left the generated catalog stale; reflowing the comment keeps
the catalog as committed.
- web-search-deepseek: the initiating route's account credential is used
only when the search endpoint has the origin of that route's base URL.
For another origin the provider does not ask the route and sends the
API key, and readiness answers the same way. A route publishing an
unparsable base URL is treated like settings that do not resolve.
- web-deepseek-api, web-search-deepseek: after HTTP 401 a failure of the
grant's reject() is contained, so the reported error stays the HTTP
rejection whichever owner published the credential.
An unusable API key's INVALID_CREDENTIAL diagnostic was prefixed with the
literal `llm-deepseek`, left from when the lookup lived in the transport
package. It now names the mount's settings namespace, the same value the
provider directory lists: the Loader entry id, or the plugin name without
an entry. Product profiles mount the route as `llm-deepseek`, so their
diagnostic text is unchanged.
The darwin parity lane runs `vitest run` without coverage instrumentation,
so concurrent suite load, not instrumentation, is what pushed a Client
Runtime round trip past the old 20 ms deadline. Name that load, keep the
case-specific reason for the headroom, and record the two bounds the value
must respect: CDP_CALL_TIMEOUT_MS and the default 5 s test budget. Drop the
sentence that restated the file-header lane rule.
The case proves that a fired Worker deadline leaves the Client Runtime
session usable, but it also gave the follow-up evaluation the same 20 ms
budget as the deadline. A Client Runtime round trip crosses the Worker
thread and a WebSocket to the Client fixture, so under the darwin lane's
concurrent suite it can exceed 20 ms and the follow-up is rejected with
the deadline error instead of returning 42.
Raise the deadline to 1000 ms. The never-settling promise still makes the
deadline fire, the follow-up keeps 50 times the failing observation's
budget, and the lane's 90 s fixture wait stays far above the deadline.
The archive cache was wired into lanes that can select the persistent
self-hosted pool, which keeps ~/.cache on its own layout and never needs
the remote cache, and the consolidated benchmark's Windows rows restored
and saved a directory they never create.
Guard the cache steps with the same self-hosted exclusion as the pnpm
store cache, drop them from the self-hosted standby and the manual
benchmark matrix, and assert the guards in the workflow specs. Probe for
sha256sum or shasum -a 256 so a host without either fails loudly instead
of reporting a digest mismatch, clean partial downloads when a job is
cancelled, keep the retry window plus its last attempt within five
minutes, pin that contract in the test, and report cache-directory
failures with the download URL.
Launchpad outages failed every Linux CI and E2E job in the bubblewrap
preparation step before any test ran, and a stalled connection held the
step for minutes because curl had no timeouts.
Restore and save the SHA-256-verified archive with actions/cache around
each preparation step so a warm cache needs no Launchpad request, verify
cached and downloaded files against the pinned digest before use, and
bound each curl attempt and the retry window. The download URL stays
pinned to the recorded Launchpad build.
- deepseek-account: the request credential's reject() re-resolves the
account service through the resolving context, so a reload between a
request and the destination's HTTP 401 still removes the stored grant;
without a mounted service the grant stays for the next one to reject.
resolveToken and rejectToken become private; the e2e sign-in stand-in
and the generated API catalog follow.
- llm-deepseek: routeCredential().resolve() publishes the grant's headers,
value, and rejection only, keeping the adapter's onRequestError behind
the seam.
- web-deepseek-api: a route publishing an unparsable base URL becomes a
misconfigured source instead of throwing from readiness or dispatch.
- RouteCredential.configured: the owner may read its store to answer; the
contract no longer claims "without reading the credential's value". Same
text in the source JSDoc, both llm-streaming type-equiv blocks, and the
seam Agent Note.
- llm-deepseek README: replace the stale resolveAuth(connection) summary
with the resolveAuth(connection, endpoint) contract.
- llm-deepseek-account README: the listing cache is keyed by a SHA-256 of
the credential headers, not of the token.
- web-deepseek-api tests/routes.ts: note that composition.spec.ts covers the
real route plugins.
- packages/README: restore the document/, credentials/, and util/ rows and
raise the verify-doc-budgets ceiling to 1,060 for the account/ row.
A reset unit test that fails before it resolves the promise it holds left the server's disposer waiting until the hook timeout. Each test now resolves its promise at teardown, so a failing run ends at once.
The test that resets during a program that cannot be interrupted gives the runtime a ten-minute stop grace, so a reset that no longer releases the environment fails the test by its timeout on every lane. The test records the program process and kills it at teardown, so such a failing run does not leave a process spinning.
cua_reset keeps its effect: only the program process is replaced, while the connection's Agent, its native connection, and its consent decisions stay. The PTC program-tool factory no longer carries a reset operation, so packages/core/tool-executor-ptc is unchanged against master. ctx.cuaPrograms exposes release(agent), the owner release of the provider's program runtime, and the MCP frontend orders its own calls around it: it cancels the running program, releases the environment, answers after the cancelled program has settled, and holds back programs that arrive during a reset. A failed release answers with an error that asks for another cua_reset; the runtime rejects programs until a release succeeds. The reset result names cua.getApp for selecting applications again.
The Codex entry gains required = true: without it Codex waits one second for the server, and the first model request can go out without the three tools. codex exec refuses cua_run_code under the approval policy never, so an unattended run sets approval_mode = "approve" on that tool. The entry was exercised through codex exec on codex-cli 0.153.2 and 0.166.0-alpha.5.1 against a macOS desktop.
master removed the Python PTC runtime (#8307) and rewrote three bilingual
documents this branch also edits.
Conflicts:
- docs/capability-seams.i18n.yaml, packages/core/tool-executor-ptc/README.i18n.yaml,
and packages/experimental/README.i18n.yaml: both sides re-recorded the
translation pairing records. The merged documents were reviewed in both
languages and the three records recorded again from them.
master renamed the macOS Computer Use provider to @deepseek-ai/dsh-cua-macos
(#8284) and moved identity construction to brandString (#8214).
Adapted to master:
- The cua-mcp profile mounts @deepseek-ai/dsh-cua-macos and declares it as the
optional dependency; the bundle test follows the new name.
- The MCP adapter builds its Session and tool-call ids with brandString, so
@deepseek-ai/dsh-brand becomes a runtime dependency of the package.
Conflicts:
- scripts/experimental-package-policy.ts and scripts/release/families.spec.ts:
both sides added a row; the cua-macos, cua-mcp, and cua-windows rows coexist.
- scripts/package-dependency-policy.ts: took master's removal of the SessionId
safe entry. longEdgeDimensions no longer sits in the safe-export list; it
joins the existing peer-required @deepseek-ai/dsh-attachment entry, so this
branch adds no safe-export exception.
- Generated catalogs, module graphs, and the dsh-doc package reference: took
master and regenerated.
- Four translation pairing records: took master and re-recorded after
reviewing both language diffs.
RemoteError now extends HarnessError, so the early passthrough returned
plugin-market/* Remote failures unconverted. Map the four Remote codes the
tool's market reads reject with first; other HarnessErrors keep their
identity.
Apple key bindings map Home and End to scrolling the document, and the
composer sits inside the conversation scroller, so the keys scrolled the
conversation instead of moving the caret. On Apple platforms the composer
keymap now moves the caret to the start or end of the visual line, with
Shift extending the selection, and End right before a quote moves to the
end of its line as Cmd+Right does. Other platforms already move to the
line boundary.
Fixes#8291
The verify-empty-catch gate added on master requires an empty catch to
name the failure it discards; the trapped code read now binds
_codeReadTrapped.
Refs #7869