Files
deepseek-harness/packages/client/ui-approval
yx.zhang 7020c7e122 feat(web): superellipse corners and hairline elevation strokes
Apply global visual polish across the web client: corner-shape:
superellipse(1.5) with corner-shape: round pairing for full circles,
elevation tokens that draw 0.5px stroke outlines inside box-shadow for
floating surfaces, 0.5px hairline borders and divider lines for
neutral-token strokes, and tuned stroke contrast plus larger radii for
menus, settings panels, and cards. Stylesheet-scan specs in ui-theme
reject unpaired circles, border+shadow mixes, and 1px neutral hairlines
repo-wide.

Closes #3287
2026-09-01 18:25:20 +08:00
..

description, kind
description kind
Browser approval UI that answers Host permission requests through the scoped interaction path. package-reference

@deepseek-ai/dsh-client-ui-approval

English | 中文

Summary

Browser approval presentation over the Agent-scoped Remote Event waterfall. The plugin publishes each pending request through ctx.uiSession, takes over the Conversation composer, optionally renders correlated Tool detail, and returns the user's decision to the waiting Host request. Use it when a browser must collect approval for a waiting Host operation.

Table of Contents


Model Experience

None, as this package presents approval requests in the browser and registers nothing model-facing.

KV Cache effect

None; approval request and response rendering does not alter a model request.

Known Limitations and Deferred Work

  • The panel exposes transient decisions only — it supports allow-once and reject; persistent permission policy remains owned by Host-side approval packages.

Dev Note

Working context for maintainers — click to expand

None.

Runtime invariant: No companion is published. Registries own and observe the Remote listener and temporary Slot entry.