mirror of
https://ghproxy.cflmy.top/https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-11-30 00:59:36 +08:00
* fix(typert): accept plain JSON values from any realm An isolated Client plugin builds its values in an iframe, so they inherit that realm's Array.prototype and Object.prototype, and the identity checks in the Remote JSON validation and the Gateway's record checks rejected them. dsh-util-values exports hasPlainPrototype, which matches this realm's intrinsics by identity and another realm's through their native constructors. isRemoteJsonValue and the Gateway's event-frame and event-request record checks use it. Objects and arrays that inherit any other prototype stay rejected, so an inherited toJSON cannot rewrite a validated value. * fix(client-store): compare Maps and Sets from any realm in shallowEqual shallowEqual delegated to zustand/shallow, which recognizes collections with instanceof Map and instanceof Set. A selector in a script-isolated plugin returns collections built by its iframe realm, so both checks failed and two Maps fell through to an Object.keys comparison, where any two Maps are equal. ui-workflow-run selects its running members as a Map, so under isolation its "Open ..." member buttons never appeared. shallowEqual now recognizes Maps and Sets by their Object.prototype.toString tag and otherwise keeps the one-level semantics: Object.is for scalars and values, Set membership, and own enumerable string keys for other objects and arrays. A Map comparison also requires each key to exist in the other Map, so new Map([["a", undefined]]) no longer equals new Map([["b", undefined]]). zustand remains a development dependency for createStore and subscribeWithSelector. * fix(ui-sidebar): ease the sidebar width from its layout owner props ui-sidebar eased its width under `[data-animating]:not([data-dragging])`, attributes of ui-layout's frame. With ui-sidebar's styles isolated that ancestor lies outside its scope, so collapse and expand lost the easing. ui-layout now passes the same state through `SidebarOwnerProps.animating`, true while the frame eases its tracks and false during a resize drag or a viewport change. The sidebar marks its own root `data-sidebar-animating` and keeps the width transition there, after the quiet-scrollbar transition it replaces, and reduced motion still turns it off. * fix(ui-chat): style only Chat's own DOM inside the Conversation scrollport ui-chat laid out its frame, scroller, aside layer, back-to-bottom control, and turn rail under `:global([data-conversation-scroll]) .x`, and set `overscroll-behavior-y` and `overflow-anchor` on ui-conversation's scrollport through `[data-conversation-scroll]:has(.root)`. With ui-chat's styles isolated, neither form matched, so Chat scrolled itself inside the shared scrollport and lost its anchoring, back-to-bottom position, and floating controls. Chat's rules now test the scrollport in `:is()` on its own compounds, `.frame:is(:global([data-conversation-scroll]) *)`, with unchanged specificity. The scrollport rules move to their owner: ui-conversation reads `data-conversation-overscroll="none"` and `data-conversation-scroll-anchor="none"` from an element a View marks inside the scrollport, and Chat marks its root with them, the second only while it follows the tail. * fix(ui-sidebar-documentpreview): hide the body a filling navigator covers ui-sidebar-files hid the body of any row marked `data-files-navigator-row` while its navigator Factory filled the row. The document preview's content row is documentpreview's DOM, so with ui-sidebar-files' styles isolated the covered preview stayed visible and reachable by Tab. The preview's own stylesheet now holds those rules on its `.content` row, reading the navigator's `data-files-navigator-mode` through the row's `:has()`, so the preview hides its body itself in both modes. The files page row never had a covered sibling, so ui-sidebar-files drops the rules and the `data-files-navigator-row` mark, and its README and Factory documentation state that the host hides the covered content. * chore(workflow-ptc): regenerate the workflow guest for the util-values prototype checks The guest bundles packages/util/values; its same-realm Object.prototype and Array.prototype fast paths changed the generated source.
description, kind
| description | kind |
|---|---|
| The workflow group map: model-authored orchestration scripts that fan out subagents, for users and maintainers navigating the group. | package-group |
packages/workflow
English | 中文
Summary
The workflow group lets an agent run orchestration scripts that delegate work to subagents and return a final value. The workflow tool supports scripted fan-out. Scripts use the shared PTC Node process runtime under the calling Session's file policy. Workflow hooks and child lifecycle remain owned by the workflow engine.
Table of Contents
Packages
| Package | Role | ctx key |
|---|---|---|
workflow |
Runs a model-written orchestration script that fans out subagents | ctx.workflowEngine |
workflow-ptc |
Runs workflow scripts through the shared sandboxed PTC Node process runtime | registers on ctx.workflowEngine |
tool-workflow |
Gives the model the workflow tool for scripted multi-agent orchestration |
registers on ctx.tools |
Related documentation
- Workflow subsystem — the seam's types, start request, and
workflow/*events. - Generated tool catalog — the
workflowtool schema the model receives. - Generated tool catalog — the
ralphtool schema the model receives. - Generated configuration catalog — every accepted engine config field.
- historical Dynamic workflows Agent Note — the seam design and its decisions.
- Harness-level goal-based execution reference — the fixed fresh-agent loop design and deferred work.
Dev Note
Working context for maintainers — click to expand
None.