@alhassanaraouf/paseo-commandcode-provider

中文文档
0.2.0发布于 2026/10/24MIT零依赖近 30 天下载 2132

Paseo provider for the Command Code coding agent (over ACP via commandcode acp)

原始使用文档
文档目录6 节
  1. Screenshots
  2. Install
  3. What works
  4. Upgrading from 0.1.x
  5. Known issues
  6. Develop

paseo-commandcode-provider

A Paseo provider plugin for Command Code (commandcode CLI). Requires Paseo >=0.8.0 and commandcode on PATH (logged in via commandcode login) — on Windows the plugin looks for cmdc instead, since commandcode isn't guaranteed to have installed a cmd shim (that name is taken by the Windows shell).

To point at a different binary (a different alias, a full path, a wrapper script), either:

  • Set it under Settings → Plugins → Command Code, or
  • Set the COMMANDCODE_CLI_COMMAND environment variable for the Paseo daemon, which takes priority over the setting.

The binary must support commandcode acp (the Agent Client Protocol server).

Screenshots

Composer controls Build and plan modes

Install

paseo plugin add npm:@alhassanaraouf/paseo-commandcode-provider

Or from GitHub:

paseo plugin add alhassanaraouf/paseo-commandcode-provider

Or from a local checkout:

paseo plugin add /path/to/paseo-commandcode-provider

Then create an agent with the Command Code provider.

What works

The provider runs commandcode acp and talks to it over the Agent Client Protocol using Paseo's ACP adapter, so most behaviour comes straight from the CLI:

  • Questions — when the agent calls ask_user_question, the options show up as a prompt in Paseo and your choice goes back to the agent. Nothing is auto-answered.
  • Permissions — file writes and shell commands ask first, with Allow once / Always allow / Reject / Always reject.
  • Modes — the CLI's own permission modes: Standard (ask before changes), Accept Edits, Plan, Don't Ask, and Bypass Permissions.
  • Models and effort — the CLI's live model list and per-model effort levels.
  • Messages, thinking, tool calls, usage and cost streamed into the timeline. The Tasks pill follows the agent's todo_write checklist.
  • Images are sent to the CLI directly (vision-capable models only).
  • Persistence — sessions resume by native session id (session/load); existing CLI sessions are listed for import.
  • Slash commands — everything the CLI advertises over ACP (/compact, installed skills, mod commands). ACP doesn't expose the CLI's built-in management commands, so the provider adds these; each runs a CLI subcommand and shows its output as a notice:
    • /status, /info, /models, /mcp-list
    • /taste-list, /taste-learn [path|owner/repo]
    • /skills-list, /skills-add <owner/repo>
    • /mods-list, /mods-add <source>
  • Interrupt cancels the running turn. Sending a message while a turn runs interrupts it and starts the new one.

Upgrading from 0.1.x

0.1.x drove commandcode -p with a single "Full auto (yolo)" toggle, which also made the CLI answer every question with its first option. That toggle is gone. Existing agents open in Standard mode; pick Bypass Permissions if you want the old full-auto behaviour. An effort of "Max" carries over as "Xhigh".

Known issues

  • The binary is chosen per Paseo daemon, not per agent: setting COMMANDCODE_CLI_COMMAND on a single agent no longer changes which binary it runs.
  • Project-level mods aren't loaded: the CLI's ACP server only loads user mods (~/.commandcode/mods). 0.1.x loaded project mods only with yolo on.
  • Interactive/TTY-only features (/usage, /login, /connect, IDE setup) aren't available — run them in a terminal.

Develop

npm install
npm run typecheck
npm test
paseo plugin reload commandcode-provider
paseo plugin logs commandcode-provider

版本与发布记录

@alhassanaraouf/paseo-commandcode-provider 共发布 6 个版本,首次发布于 2026/09/23;过去 12 个月发布了 6 个版本。

版本发布日期距今
0.2.0latest2026/10/2414 天前
0.1.42026/10/021 个月前
0.1.32026/09/241 个月前
0.1.22026/09/241 个月前
0.1.12026/09/231 个月前
0.1.02026/09/231 个月前

关于 @alhassanaraouf/paseo-commandcode-provider 的常见问题

@alhassanaraouf/paseo-commandcode-provider 是什么?

Paseo provider for the Command Code coding agent (over ACP via commandcode acp)

如何安装 @alhassanaraouf/paseo-commandcode-provider?

在项目目录运行 npm install @alhassanaraouf/paseo-commandcode-provider,或使用 pnpm add / yarn add / bun add。

@alhassanaraouf/paseo-commandcode-provider 支持 TypeScript 吗?

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

@alhassanaraouf/paseo-commandcode-provider 可以商用吗?

@alhassanaraouf/paseo-commandcode-provider 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@alhassanaraouf/paseo-commandcode-provider 的下载量有多少?

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

@alhassanaraouf/paseo-commandcode-provider 还在维护吗?

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