@decagon-ai/duet-cli

中文文档
0.6.1发布于 2026/10/23SEE LICENSE IN LICENSEES Module近 30 天下载 4929

Duet in your terminal — Decagon's agent-building partner, built for coding agents. Requires an approved Decagon account.

原始使用文档
文档目录4 节
  1. Install
  2. Get started
  3. Upgrading
  4. Troubleshooting

@decagon-ai/duet-cli

Duet in your terminal — let coding agents like Claude Code, Codex, and Cursor work with Duet, Decagon's agent-building partner.

Duet CLI is in limited-access beta. Usage requires an approved Decagon account — contact your Decagon team for access.

Install

npm install -g @decagon-ai/duet-cli

Get started

duet-cli login
duet-cli plugins install --harness <claude-code|codex|cursor>

Upgrading

npm install -g @decagon-ai/duet-cli@latest

The installed skill is a copy of the one bundled in the CLI, so upgrading can leave it describing an older command surface. There is nothing to re-run: the next duet-cli command rewrites any installed skill that no longer matches the build, and says so on stderr — a harness that never installed the skill is left alone.

Troubleshooting

The CLI trusts OS certificates on Node 22.22+ and 24. On Node 24, it honors HTTPS_PROXY and NO_PROXY; on Node 22, set NODE_USE_ENV_PROXY=1 with HTTPS_PROXY. If certificate errors persist, set NODE_EXTRA_CA_CERTS to your organization's root certificate.

版本与发布记录

@decagon-ai/duet-cli 共发布 7 个版本,首次发布于 2026/07/25;过去 12 个月发布了 7 个版本。

版本发布日期距今
0.6.1latest2026/10/2320 天前
0.6.02026/10/1527 天前
0.5.02026/09/121 个月前
0.4.02026/08/132 个月前
0.3.02026/08/063 个月前
0.2.02026/08/053 个月前

关于 @decagon-ai/duet-cli 的常见问题

@decagon-ai/duet-cli 是什么?

Duet in your terminal — Decagon's agent-building partner, built for coding agents. Requires an approved Decagon account.

如何安装 @decagon-ai/duet-cli?

在项目目录运行 npm install @decagon-ai/duet-cli,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 duet-cli,可以用 npx duet-cli 直接运行。

@decagon-ai/duet-cli 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/decagon-ai__duet-cli 是否存在。

@decagon-ai/duet-cli 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@decagon-ai/duet-cli 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=22。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@decagon-ai/duet-cli 可以商用吗?

@decagon-ai/duet-cli 使用 SEE LICENSE IN LICENSE 许可。许可条款写在包内的独立文件中,请阅读该文件确认可否商用。以上为概括,不构成法律意见,请以许可原文为准。

@decagon-ai/duet-cli 的下载量有多少?

根据 npm 官方下载统计,@decagon-ai/duet-cli 在 2026/10/12 – 2026/11/10 这 30 天内被下载 4,929 次,日均约 164 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@decagon-ai/duet-cli 还在维护吗?

最新版本 0.6.1 发布于 2026/10/23(20 天前);至今共发布 7 个版本,其中过去 12 个月发布了 7 个;首次发布于 2026/07/25。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。