dsh-blue/blue--packages-interaction ↗★ 21

@dsh-blue/blue-interaction

提供终端UI交互层,支持输入编辑和斜杠命令 核心用于终端交互与命令管理,适合需要定制终端输入和对话框的用户。

包名
@dsh-blue/blue-interaction
兼容性
待验证
Harness 依赖范围
^0.1.2-alpha.3
Cordis 依赖范围
^4.0.2
版本
0.2.0-alpha.1
许可证
MIT
最近更新
2026年9月28日

安装

此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗

@dsh-blue/blue-interaction

English | 中文

Blue's input editor, slash-command UX, dialogs, approval/question handling, interaction state, and editor-extension runtime.

Built-in commands register on native ctx.commands. They obtain the selected Agent from ctx.blueCurrentAgent and use native dsh services for projections, tools, settings, skills, modes, models, sessions, and persistence.

blueEditorExtensions adds passive rows, diagnostics, actions, completion, and submit transforms around the single Blue editor. bluePanes and blueStatus carry the shipped queue pane and mode badge. There are no provider candidates or plugin management facade.

The ./jobs row registers /jobs against native ctx.jobs: live jobs sort first, Enter explicitly consumes output, and k kills a live job. The ./agents-command row registers /agents against native ctx.subagents, ctx.sessions, and ctx.sessionProjections, using native workflow labels when one-shot descriptors omit them; its temporary attach view keeps the parent Agent selected while rendering a child transcript and offering follow-up or interrupt actions where the child mode permits them. Continuable attach input always renders its cursor, including before the first character.