Unloading the account route removed its sign-out listener and running-task report while a model request it had dispatched kept streaming, so a later sign-out neither closed that request nor cancelled its turn. A route credential grant now carries an optional `revoked` signal. The account service aborts it at each sign-out, after the deepseek-account/signed-out listeners return, and the shared transport runs the model request and its file operations under it. The route plugin names that end ACCOUNT_SIGN_IN_REQUIRED and cancels the route's running Agents from the request's own failure callback, so a turn whose route was disabled mid-turn still ends with the signed-out cause, and disabling the route never waits for a turn. The Search and Fetch API providers and Messages search run their request under the same signal and report WEB_PROVIDER_ERROR with sign-in guidance, keeping WEB_ABORTED for caller cancellation. Account model requests outside an Agent turn and account-billed web requests therefore end at sign-out as well. The web-search-account-signout recorded scenario pins the failure the model sees. While the route is disabled, a task it started that is executing a tool is not reported to the sign-out confirmation and ends at its next model request, which fails because the route is no longer registered. The API-key route README Summary exceeded its 100-word limit; the origin detail moves to the usage section.
description, kind
| description | kind |
|---|---|
| Runtime API inspection, process-local runners, and historical Cordis cards. | package-group |
packages/extensions
English | 中文
Summary
The extensions group provides read-only runtime API discovery for agents, process-local runners for programmatic and browser consumers, and historical generated-plugin cards. Standard and Creator modes install persistent plugins through Plugin Manager. Choose a child package for inspection, Host execution, Client execution, or browser controls.
Table of Contents
Packages
| Package | Role | ctx key |
|---|---|---|
tool-cordis |
Two read-only tools for runtime API discovery | registers on ctx.tools |
cordis-host-runner |
Host half: definition registry, sandboxed host-half lifecycle, and the inspect registry that answers browser queries | provides ctx.dynamicCordisRunner and ctx.cordisInspect |
cordis-client-runner |
Browser half: evaluates a browser-half source into a live plugin and answers run requests | client face; provides browser ctx.dynamicCordisRunner |
ui-cordis |
Browser panel and historical lifecycle tool cards | client face; registers slots |
Related documentation
- Extensions subsystem — the generated
ctx.cordisInspectandctx.dynamicCordisRunnerservice API. - Generated tool catalog — the two read-only tool schemas.
- Generated configuration catalog — the runner's accepted config fields.
- Self-referential Cordis toolset reference — design home for sandbox semantics, lifecycle, and composition.
- Client shells and dynamic packages Agent Note — package placement and build faces for the client halves.
Dev Note
Working context for maintainers — click to expand
The two browser-half packages live in this group rather than under packages/client/ because they are halves of this subsystem's dual-half packages; the client face compiles them through the client program, while the host program references only the host runner.