Files
deepseek-harness/packages/extensions
Yif c5187d38a5 fix(web): align the sidebar Cordis panel with menu and footer conventions
The Cordis popup now uses the standard menu surface (layer-3 fill,
inverted border, lv3 shadow) so it stays visible in dark mode, closes on
outside pointerdown, and anchors to its trigger through a measured fixed
position that escapes the sidebar overflow clip. The Cordis and Settings
footer triggers share the same 42px row, icon size, padding, and hover
fill, and the panel's header, heading, and card spacing is rebalanced.

Refs #2526
2026-08-13 19:13:29 +08:00
..
2026-08-13 13:07:24 +08:00
2026-08-13 02:29:17 +08:00
2026-08-13 02:29:17 +08:00
2026-08-13 02:29:17 +08:00

extensions/ — the agent modifies its own runtime

English | 中文

Model-facing tools over the live cordis runtime the agent itself runs inside: inspect the loaded plugins and service API, define and run model-written dynamic packages, and retract them again — plus the restricted repository Plugin runtime. Both browser-half packages live here rather than under packages/client/ because they are halves of this subsystem's dual-half packages; the host aggregate excludes them so each face keeps its own compiler program. Design home: the toolset Agent Note.

Package Role ctx key
tool-cordis/ Model-facing runtime inspection and dynamic-package tools registers on ctx.tools
cordis-host-runner/ Definition registry, the node:vm sandbox for host halves, and the request-run round trip provides ctx.dynamicCordisRunner
cordis-client-runner/ Browser half of a dual-half package: evaluates the definition into a live browser plugin and answers the run request client face; provides the browser ctx.dynamicCordisRunner
ui-cordis/ Browser surfaces: the frame-wide panel that operates every definition, and the read-only define card client face; registers slots