@allen.smith.legend/dsh-client-ui-my-feature
v1.0.1
Published
MyFeature surface:输入框上方的问候 dock,从 my_feature 会话投影读取,并通过 my_feature Remote 回显
Readme
@allen.smith.legend/dsh-client-ui-my-feature
MyFeature surface 插件:conversation.input.dock 条带里的问候 dock,从 host 计算的 my_feature 投影读取,并通过生成的 my_feature Remote 回显。它是 packages/examples 范文插件脚手架的浏览器半。
Surface
- 向
conversation.input.dock列表槽位(由 ui-conversation 声明)贡献my_feature条目。 - 注册
my_featurelocale 命名空间(zh/en)。 - 挂载
@allen.smith.legend/dsh-my-feature/remote贡献并读取ctx.remote.my_feature.echo。
Model Experience
Request context and condition
What the model sees
无 —— 本包只做展示;它不添加任何提示词段落,也没有工具。
Token effect
零直接 token 开销。
KV Cache effect
独立:本包不改变任何模型请求。
Runtime invariant
No runtime invariant companion is published because this surface plugin holds no store or event stream of its own — the dock's state arrives from the my_feature projection, and its slot and locale registrations are effect-owned by the registries it composes.
Known Limitations and Deferred Work
- 对消费者可见的缺口 —— dock 目前只回显;生产 surface 会渲染投影出的
count并添加删除/持久化动词,全部通过同一useProjection+ Remote 模式实现。
