跳转到内容

选择语言

当前语言: 简体中文

CLI Companion — copy-only terminal guidance

The CLI Code dashboard includes a copy-only companion for the executable CLI targets supported by this OmniRoute version. It does not start a process, write configuration, test inference or send credentials to the clipboard.

Detection, runtime and configuration status describe the machine running the OmniRoute server. If you open a remote dashboard from your laptop, a missing CLI on that server says nothing about the CLI installed on your laptop. Unknown and failed detection remain explicit; they are not treated as “not installed”. Raw diagnostic errors and configuration endpoints are not shown in this panel.

Copy commands into the terminal of the machine where you want to use the CLI. The companion does not block local instructions when server detection fails.

Start by inspecting the contexts already configured in your terminal:

终端窗口
omniroute contexts list
omniroute contexts current

Leave the companion’s context field empty to use the CLI’s active context, or enter an existing context name. A named context may point to a local or remote server. The dashboard does not read your terminal’s context store, create a context or copy its credentials. For example, if office already exists:

终端窗口
omniroute configure claude --context office
omniroute run claude --context office --dry-run

configure is interactive and writes configuration on the machine where you execute it. run --dry-run displays the launch plan without starting the target; it does not establish that upstream inference works. Authenticate the terminal using the existing CLI context workflow before running these commands.

Only capabilities declared by the executable manifest are offered. If a target requires a model, its launch command remains unavailable until you supply a real model identifier. Context/model fields accept a restricted literal character set; shell operators, whitespace and leading option syntax are rejected.

If clipboard access fails, the panel reports the failure and leaves the command visible for manual selection. Copying never executes it.

The server-only loader in src/lib/cli-helper/companionTargets.ts projects the executable manifest into public descriptors. The browser receives only target IDs, display names and capability flags, not Node modules or runtime secrets. Command validation and status mapping live in src/shared/utils/cliCompanion.ts. The panel reuses the dashboard’s existing batch-status request; it introduces no execution API or additional status polling.


undefined (a58000c7685f)

HagiCode

HagiCode 是面向项目开发的 AI 编码工作台:丰富、便捷的界面交互让规划、Agent 执行与项目工作更容易上手和跟进,带来更投入的开发体验。

丰富、便捷的界面交互,让规划、Agent 执行与项目工作更容易上手和跟进。

访问 HagiCode阅读文档
  • 智能OpenSpec 工作流把意图转化为从提案、设计、任务到交付的可执行路径。
  • 高效多 Agent 并行推进调研、实现与审阅,并支持多仓库变更和你熟悉的 Agent CLI。
  • 有趣丰富、便捷的界面交互让规划、Agent 执行与项目工作更容易上手和跟进,带来更投入的开发体验。

下载 Windows 版

从 Microsoft Store 获取全部下载

让想法变成真正交付的软件。

HagiCode 是面向项目开发的 AI 编码工作台:用 OpenSpec 工作流规划变更,多 Agent 并行执行,再由 Hero Scenario 让进度一目了然,把想法变成真正交付的软件。

智能
OpenSpec 工作流把意图变成从提案到交付的可执行路径。
高效
多 Agent 并行推进调研、实现与审阅。
有趣
丰富、便捷的界面交互,让规划、Agent 执行和项目工作更容易跟进。