The browser no longer decides what belongs to the plugin:
- A failure carries untranslated diagnostic items the section joins
after the plugin's text; failureDetails() lists a classified
command and its exit code, so the kit dictionary drops its exit
code template.
- The display names the operation Connect starts in the activation
prompt instead of the browser picking the first primary button.
- The browser sends cancel for the operation in progress and shows a
result's notice as the Host sends it, without repeating the Host's
cancellable and success checks; the entry drops the cancellable
and outcome fields that only those checks read.
CLI app plugins register their account runtime with the Host service
ctx.cliAccounts instead of a browser registry. The registry serves
every account through one cliAccounts Remote and starts or cancels
only the operations each account lists. One browser half renders each
account's section, tag, activation prompt, confirmations, and notices
from the plugin's LocalizedText and the kit's shared dictionary, and
keeps link opening, notices, and the pending-action guard per browser.
The account runtime replaces its follow stream with observe(), which
the registry uses.
The Web shell's PLATFORM_MODULES list is closed to new packages, and a
feature plugin cannot runtime-import another plugin's values. Turn
ui-cli-account from a statically linked library into a dynamic client
plugin that dsh-web-app mounts.
`ctx.cliAccounts.register()` follows the plugin's account stream and
contributes the bundle section, title tag, activation prompt, and
notice. The surfaces read the shared copy from the plugin's namespace
through the locale seat; the plugin supplies its Remote operations, its
success notices, and a presenter that maps the page snapshot to the
section's translated display. Confirmations become action data the
section asks before running, and the activation prompt connects through
the section's first primary action that asks no confirmation.
Drop the shell seeding, the apps/web dependency, and the CSS
publication exception the static form needed.
The set of auto-opened links lived as long as the connection, so a later
operation offering the same device page never opened it. A rejected start
kept following the operation of an earlier start, which went on opening
its links and reporting its success after the page's latest action failed.
The followed operation now carries its own opened links. Each start
attempt drops the operation followed before, an accepted start follows
the returned one, and the stream's result for it ends the following.
`retry()` claimed the reopen only after awaiting the stopped stream, so a
second retry or a disposal in that window still subscribed a stream that
nothing released. A start that answered after disposal, or a view the
stream yielded just before it, still opened the operation's link.
`retry()` now clears `stopped` before the reopen awaits, and the reopen
subscribes only while the page is live. A start answer and a stream item
that arrive after disposal are dropped.
Client feature packages may not request another row's runtime values through dsh.client.external, so the shared pieces become a static library the shell seeds into its module table, like ui-dockkit. Plugins import the package root, the web-app row is gone, and the badge takes a structural subject instead of importing the Plugins page types.
Port the Feishu page connection specs to the kit's connection mirror and
cover the section, tag, activation prompt, confirmation, and notice against
the shared dictionary keys.