DAG总览 / 组目录 / G13 实验特性

dsh-experimental-client-ui-voice-input · @deepseek-ai/dsh-experimental-client-ui-voice-input

Layer 16G13L3 其余
目录:ACP 协议API 网关与控制器附件启动与插件管理客户端运行时客户端 UI 包上下文压缩上下文注入核心运行时凭据与授权交付物文档处理实验特性宿主扩展反馈通道文件系统目标与计划工具守卫Hooks 扩展宿主服务交互命令作业调度LLM 适配LSP 集成MCP 协议规划模式Agent 预设代码执行运行时运行时诊断沙箱定时调度SDK 与协议会话核心会话检索设置Shell 执行技能溢出存储SSH 远程执行存储子代理子进程终端待办类型契约框架 vendorWeb 访问Webhook工作流工作区
依赖链 · 上游(该插件依赖的前驱):
依赖链 · 下游(依赖该插件的节点):
无下游(叶子/被消费端)
同一拓扑层(Layer 16,层次遍历层序):
↑ Layer 15(16 插件)Layer 16↓ Layer 17(6 插件)

插件信息

包名@deepseek-ai/dsh-experimental-client-ui-voice-input
分组G13 · 实验特性
拓扑层Layer 16(层次遍历:被依赖方先于依赖方)
源码路径packages/experimental/client-ui-voice-input
来源层L3 其余插件(独立于 bundle 装配的扩展/变体/示例)

① 实现逻辑

Host 半边为空 `apply()`,行为在浏览器侧(src/index.ts:3)。Client 入口把生成的 speech Remote contribution 经 `ctx.remote.$mount` 挂载为实验命名空间,然后注册 UI(src/client/index.ts:13-14、src/client/mount.ts:60-65):locale 字典、录音集合生命周期、readiness 观察、composer `conversation.input.activity` 的 VoiceInput 槽,以及 voice-input bundle 的配置/激活槽(src/client/mount.ts:19-51)。动作层把 transcribe/configure/prepare 委派给 `ctx.remote.speech`(src/client/mount.ts:33-40)。

内部结构动态 DAG(深色主题:橙色=上游依赖 · 绿色=下游依赖 · 棕色=外部seam · 蓝=本插件)
本插件 上游依赖 下游依赖 外部 seam

② 注册/提供(provides)

③ 依赖(depends_on · 上游前驱)

dsh-api-gatewayE1
经网关检测语音后端可用性
src/client/readiness.ts:3 import '@deepseek-ai/dsh-api-gateway/client'
dsh-api-remotesE1+E2
在 Client 注册实验 Remote 贡献
src/client/mount.ts:3 import '@deepseek-ai/dsh-api-remotes/client' + src/client/mount.ts:17 inject 'remote' + src/client/mount.ts:61 remote.$mount
dsh-client-localeE1+E2
注册语音相关中英文文案
src/client/mount.ts:5 import '@deepseek-ai/dsh-client-locale/client' + src/client/mount.ts:17 inject 'locale' + src/client/mount.ts:20 locale.register
dsh-client-ui-conversationE1
在输入区渲染麦克风控件
src/client/VoiceInput.tsx:4 import '@deepseek-ai/dsh-client-ui-conversation/client' + src/client/mount.ts:7 import
dsh-client-ui-plugin-managerE1+E2
跳转到 voice-input 插件 bundle 进行模型准备
src/client/VoiceSetupDialog.tsx:4 import '@deepseek-ai/dsh-client-ui-plugin-manager/client' + src/client/mount.ts:17 inject 'pluginNavigation' + src/client/mount.ts:26 openBundle
dsh-client-ui-primitivesE1
复用基础 UI 组件
src/client/PreparationCard.tsx:3 + src/client/VoiceInput.tsx:13 + src/client/VoiceSetupDialog.tsx:2 import '@deepseek-ai/dsh-client-ui-primitives'
dsh-client-ui-rendererE1
让注册组件进入渲染管线
src/client/mount.ts:6 import '@deepseek-ai/dsh-client-ui-renderer/client'
dsh-experimental-api-speech-to-textE1
挂载并调用 speech Remote 命名空间
src/client/index.ts:3 import '@deepseek-ai/dsh-experimental-api-speech-to-text/remote' + src/client/mount.ts:4 import

④ 被依赖(dependents · 下游消费者)

无下游(叶子/被消费端)