@dinoxx/dinox-cli 2.11.0 → 2.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/gateway/detect.js +20 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -103,7 +103,7 @@ winget install OpenJS.NodeJS.LTS
|
|
|
103
103
|
dino update
|
|
104
104
|
```
|
|
105
105
|
|
|
106
|
-
它会自动根据你当前的安装方式选择合适的包管理器执行更新。升级完成后会检查本机已安装的 Agent:有 `claude` 但没有 ACP 命令时安装 `@agentclientprotocol/claude-agent-acp`,有 `codex` 时安装 `@agentclientprotocol/codex-acp`,有 `zcode` 时安装 `zcode-acp`。已经装过的适配器会跳过;某个适配器安装失败只给出警告,不影响 CLI 升级本身。
|
|
106
|
+
它会自动根据你当前的安装方式选择合适的包管理器执行更新。升级完成后会检查本机已安装的 Agent:有 `claude` 但没有 ACP 命令时安装 `@agentclientprotocol/claude-agent-acp`,有 `codex` 时安装 `@agentclientprotocol/codex-acp`,有 `zcode` 时安装 `zcode-acp`,有 `pi` 时安装 `pi-acp`,有 `agy` 时安装 `agy-acp`,有 `muse` 时安装 `@bex-co/muse-code-acp`。已经装过的适配器会跳过;某个适配器安装失败只给出警告,不影响 CLI 升级本身。
|
|
107
107
|
|
|
108
108
|
---
|
|
109
109
|
|
|
@@ -947,7 +947,7 @@ dino gateway reload
|
|
|
947
947
|
dino gateway remove Hermes
|
|
948
948
|
```
|
|
949
949
|
|
|
950
|
-
`detect` 会在 `PATH` 上查找 ACP agent,并用真实握手确认能否启动。覆盖范围与 [Paseo 的 ACP catalog](https://github.com/getpaseo/paseo/blob/main/packages/app/src/data/acp-provider-catalog.ts)
|
|
950
|
+
`detect` 会在 `PATH` 上查找 ACP agent,并用真实握手确认能否启动。覆盖范围与 [Paseo 的 ACP catalog](https://github.com/getpaseo/paseo/blob/main/packages/app/src/data/acp-provider-catalog.ts) 对齐,另外包含 Pi(`pi-acp`)、Antigravity(`agy-acp`)、Muse Code(`muse-code-acp`)和 OMP(`omp acp`)。只认本机已经装好的命令,不会为了探测去 `npx -y` 下载。每个 agent 一握手完就打印,不用等最慢的那个。某个启动方式一直不应答时,不再换参数重试。`--add` 把已确认的 agent 写入当前账号的 gateway 配置,并由 daemon 托管。`gateway list` 只显示环境变量名,不显示值。`dino gateway mcp` 由这些 agent 拉起,对外提供只读的 Dinox 知识工具。
|
|
951
951
|
|
|
952
952
|
### 6.16 `info`:查看版本与技能仓库地址
|
|
953
953
|
|
package/dist/gateway/detect.js
CHANGED
|
@@ -29,7 +29,12 @@ export const KNOWN_ACP_AGENTS = [
|
|
|
29
29
|
{ id: 'copilot', name: 'GitHub Copilot', candidates: [['copilot', '--acp']] },
|
|
30
30
|
{ id: 'cursor', name: 'Cursor Agent', candidates: [['cursor-agent', 'acp']] },
|
|
31
31
|
{ id: 'opencode', name: 'OpenCode', candidates: [['opencode', 'acp']] },
|
|
32
|
-
{
|
|
32
|
+
{
|
|
33
|
+
id: 'pi',
|
|
34
|
+
name: 'pi',
|
|
35
|
+
candidates: [['pi-acp']],
|
|
36
|
+
adapter: { baseBinary: 'pi', packageName: 'pi-acp' },
|
|
37
|
+
},
|
|
33
38
|
{ id: 'goose', name: 'Goose', candidates: [['goose', 'acp']] },
|
|
34
39
|
{ id: 'qwen', name: 'Qwen Code', candidates: [['qwen', '--acp'], ['qwen', '--acp', '--experimental-skills'], ['qwen', '--experimental-acp']] },
|
|
35
40
|
{ id: 'kimi', name: 'Kimi Code CLI', candidates: [['kimi', 'acp'], ['kimi', '--acp']] },
|
|
@@ -43,7 +48,21 @@ export const KNOWN_ACP_AGENTS = [
|
|
|
43
48
|
adapter: { baseBinary: 'zcode', packageName: 'zcode-acp' },
|
|
44
49
|
},
|
|
45
50
|
// Launch lines follow Paseo's ACP catalog (packages/app/src/data/acp-provider-catalog.ts).
|
|
51
|
+
// Pi, Antigravity, Muse, and OMP are native in Paseo; here they run through ACP adapters.
|
|
46
52
|
// Local binaries only: detect must not run `npx -y`, which would download a package just to probe it.
|
|
53
|
+
{
|
|
54
|
+
id: 'antigravity',
|
|
55
|
+
name: 'Antigravity',
|
|
56
|
+
candidates: [['agy-acp']],
|
|
57
|
+
adapter: { baseBinary: 'agy', packageName: 'agy-acp' },
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
id: 'muse',
|
|
61
|
+
name: 'Muse Code',
|
|
62
|
+
candidates: [['muse-code-acp'], ['muse-acp']],
|
|
63
|
+
adapter: { baseBinary: 'muse', packageName: '@bex-co/muse-code-acp' },
|
|
64
|
+
},
|
|
65
|
+
{ id: 'omp', name: 'OMP', candidates: [['omp', 'acp'], ['omp-acp']] },
|
|
47
66
|
{ id: 'amp', name: 'Amp', candidates: [['amp-acp']] },
|
|
48
67
|
{
|
|
49
68
|
id: 'auggie',
|