@actario/cli

中文文档
0.2.10发布于 2026/10/31Apache-2.0ES Module近 30 天下载 1883

Capture, redact and distil your AI coding sessions into decisions, facts and open questions. Runs on your machine; redaction happens before anything is uploaded.

原始使用文档
文档目录5 节
  1. Install
  2. Commands
  3. As an MCP server
  4. ChatGPT
  5. Where things live

@actario/cli

Actario's command-line client and MCP server.

It reads your AI coding sessions (Claude Code, Cowork, ChatGPT and Claude exports) on your own machine, redacts credentials and personal data before anything leaves that machine, scores the capture and uploads it. Your own agent then distils the sessions into decisions, facts and open questions, which land in an inbox for you to confirm before any other agent can see them.

Install

npx @actario/cli login

Or install it for real:

npm install -g @actario/cli
actario login

login opens your browser at Actario: sign in with your own account, pick a workspace and approve. This machine is then linked -- no token to copy. On a machine without a browser (SSH, a container), actario login --device prints a URL and a short code to approve from any device. actario init still takes a pasted capture token if you prefer.

Commands

actario login         link this machine by signing in with the browser
actario capture       capture, redact and upload new sessions
actario analyze       analyse the captured batch here, on your own subscription
actario status        local capture state, or one upload's progress
actario doctor        diagnose sources and report format changes
actario unmask        reverse pseudonyms in a downloaded export, locally
actario mcp           serve capture / analyze as MCP tools over stdio
actario agent         agent messages: peek (unread count), whoami, trust (approve another of your computers), new-key

actario --help has the options.

As an MCP server

actario mcp serves the same capture and analysis flow as tools, for agents that have no shell. Most people should not wire this up by hand — install the Actario plugin instead, which carries the server config and the skill that drives it.

ChatGPT

ChatGPT cannot run a local program, so Actario also serves a hosted MCP server at https://actario.app/api/mcp (OAuth with your Actario account). In ChatGPT it reads what you saved — overview, search, bringing a session back, memories, shares, weekly reports, download links — but cannot capture the ChatGPT conversation itself: capture stays on a computer, with this CLI (or the Claude / Codex plugin, which run it). Add the URL as a custom MCP server in ChatGPT to try it.

Where things live

Config, upload state and the pseudonym salt live in ~/.actario (ACTARIO_HOME overrides it). The salt never leaves the machine, and neither does the pseudonym map: actario unmask reverses an export locally, which is the only way it can be reversed at all.

The command was called distill before this release. A machine set up under that name keeps working: ~/.distill is moved to ~/.actario on first run, and DISTILL_* variables are still read, with a note asking you to rename them.

版本与发布记录

@actario/cli 共发布 17 个版本,首次发布于 2026/09/19;过去 12 个月发布了 17 个版本。

版本发布日期距今
0.2.10latest2026/10/317 天前
0.2.92026/10/2811 天前
0.2.82026/10/2712 天前
0.2.72026/10/2316 天前
0.2.62026/10/2019 天前
0.2.52026/10/1920 天前

关于 @actario/cli 的常见问题

@actario/cli 是什么?

Capture, redact and distil your AI coding sessions into decisions, facts and open questions. Runs on your machine; redaction happens before anything is uploaded.

如何安装 @actario/cli?

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

@actario/cli 支持 TypeScript 吗?

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

@actario/cli 支持 ESM 还是 CommonJS?

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

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

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

@actario/cli 可以商用吗?

@actario/cli 使用 Apache-2.0 许可。宽松许可:允许商业使用、修改和再分发,并附带明确的专利授权;分发时需保留许可与 NOTICE 文件,修改过的文件要注明改动。以上为概括,不构成法律意见,请以许可原文为准。

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

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

@actario/cli 还在维护吗?

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