@aictiq/cli

中文文档
0.18.0发布于 2026/10/31AGPL-3.0-onlyES Module构建来源已验证近 30 天下载 1908

Command-line client for Aictiq, including an MCP stdio bridge for coding agents.

原始使用文档

@aictiq/cli

The command-line client for Aictiq - project management for software teams and their AI agents. It talks to the same /api/v1 surface the web app uses, prints tables for people and --json for scripts, and carries a stdio MCP server so a coding agent can reach the instance without a bearer token in its configuration file.

npm install -g @aictiq/cli
aictiq auth login --url https://aictiq.example.com
aictiq item list -p ACME --filter "state:active assignee:@me"
aictiq item claim ACME-123 && aictiq item comment ACME-123 -m "starting"
aictiq run start ACME-124 --playbook implement && aictiq run logs <runId> --follow

The Aictiq skill for coding harnesses

The CLI ships an aictiq skill (skills/aictiq/SKILL.md) that tells Claude Code, Codex, Cursor, Copilot and OpenCode how to reach Aictiq: the aictiq MCP tools first, the CLI as a fallback, and how to set up a missing connection. It is installed into the user-level skills folder of each harness whose config folder exists (~/.claude/skills/aictiq/SKILL.md, ~/.codex/skills/…, ~/.cursor/skills/…, ~/.copilot/skills/…, ~/.config/opencode/skills/…; CLAUDE_CONFIG_DIR, CODEX_HOME, COPILOT_HOME and XDG_CONFIG_HOME are honoured), never into a repository.

aictiq skills install          # install or update it now, and list the paths
aictiq skills install --force  # also replace a copy you edited by hand

It also installs on its own: from the postinstall script of npm install -g (when npm runs install scripts), on the first command a new CLI version runs (npm 12 and pnpm skip install scripts by default), and after a runner self-update. The file's last line records the CLI version and a hash of its content, so the CLI only replaces a copy it wrote and left unchanged; an edited copy is left alone with a warning. A failed install is only a warning and never fails npm install. Set AICTIQ_NO_SKILL_INSTALL=1 to turn the automatic installs off.

Runners

aictiq runner turns a machine into a worker that executes agent runs dispatched from Factory → Runners:

aictiq runner register --url https://aictiq.example.com --token jrn_...
aictiq runner start --parallel 2 --tag gpu --tag docker
  • --tag <tag> (repeatable, or comma-separated) labels the runner for routing. Tags are lower case letters, digits, -, _, . or :, at most 50 characters, at most 20 of them. aictiq runner install-service accepts --tag too and writes it into the service definition.
  • --idle-exit <minutes> (1-1440) makes runner start exit with code 0 once no run has been active for that long. It never exits in the middle of a run.

Fleet mode (a paid feature of the hosted plans) lets short-lived machines join on their own. aictiq runner enroll --url <url> --token <jfe_...> [--name <name>] [--tag <tag>] trades an enrollment token for a new runner and stores it like register does, marked ephemeral (the token is read from stdin or AICTIQ_ENROLL_TOKEN when --token is omitted). On its idle exit, runner start deregisters every ephemeral runner and removes it from runner.json. A typical ephemeral machine runs:

aictiq runner enroll --url https://app.aictiq.com --token "$JFE_TOKEN" --tag gpu && aictiq runner start --idle-exit 10

Full documentation, including exit codes, the configuration precedence and the MCP bridge: docs/cli.md.

Licensed AGPL-3.0-only.

版本与发布记录

@aictiq/cli 共发布 18 个版本,首次发布于 2026/09/22;过去 12 个月发布了 18 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
0.18.0latest2026/10/318 天前
0.17.02026/10/308 天前
0.16.02026/10/1919 天前
0.15.02026/10/1920 天前
0.14.02026/10/1820 天前
0.12.02026/10/1227 天前

关于 @aictiq/cli 的常见问题

@aictiq/cli 是什么?

Command-line client for Aictiq, including an MCP stdio bridge for coding agents.

如何安装 @aictiq/cli?

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

@aictiq/cli 支持 TypeScript 吗?

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

@aictiq/cli 支持 ESM 还是 CommonJS?

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

@aictiq/cli 需要什么版本的 Node.js?

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

@aictiq/cli 可以商用吗?

@aictiq/cli 使用 AGPL-3.0-only 许可。最严格的 Copyleft:除分发外,通过网络向用户提供基于它的服务也需要开源对应源码。闭源 SaaS 使用前务必评估。以上为概括,不构成法律意见,请以许可原文为准。

@aictiq/cli 的下载量有多少?

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

@aictiq/cli 还在维护吗?

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