@mill413/dsh-client-ui-session-resume
v0.1.1
Published
Continue button for a crash-interrupted session turn, docked above the composer
Downloads
223
Readme
@mill413/dsh-client-ui-session-resume
Web UI for dsh-session-resume. Adds a Continue button above the DSH message input when the host identifies an interrupted turn awaiting continuation.
Install
Requires DSH 0.1.2-alpha.5 and the companion host package. When published to npm, install both into the same profile:
dsh plugin --profile web add @mill413/[email protected]
dsh plugin --profile web add @mill413/[email protected]For a local build, use absolute paths to the two package directories instead. Restart DSH Web and refresh the page after installation.
Behavior
- Renders in the native
conversation.input.dockslot, driven by the host'ssessionResumeprojection. - Shows nothing unless an interrupted turn is pending.
- Calls the host's resume action on click; disables the button while the request is pending and displays request errors inline.
- Disappears when a new turn starts. Never resumes automatically.
- Follows the DSH interface language, with Chinese and English copy.
The host sends continuation and tool-safety guidance ahead of queued turns. This UI does not detect interruptions independently or retry tools.
Development
From the repository root:
pnpm test
pnpm run buildUI copy lives in src/client/locales.ts; the component is covered by tests/resume-dock.client.spec.tsx. See the root README for source prerequisites and troubleshooting.
License
MIT
