008-cli

中文文档
0.1.0发布于 2026/05/19MIT

008 — Approve Cursor AI agent actions from your Android phone. An Ipenga Consulting product.

原始使用文档
文档目录7 节
  1. Install
  2. First run
  3. Commands
  4. Pricing
  5. How it works
  6. Configuration
  7. License

008 — Cursor agent gate (CLI)

The agent has a license to run. You have a license to stop it.

Approve every Cursor AI agent shell/MCP/file action from your Android phone, with a 25 s timeout that fails open if the tunnel is down. An Ipenga Consulting product.

Install

npm install -g 008-cli

You'll also need cloudflared on your PATH (or 008 will use the bundled cloudflared npm package if your platform supports it). And you need Cursor.

First run

cd path/to/your-cursor-workspace
agent008 init        # writes .cursor/hooks.json for this workspace
agent008 start       # boots local server + Cloudflare tunnel, prints a QR code

Scan the QR with your Android phone. The PWA installs to your home screen and pairs with this machine. Open a Cursor agent task — every shell or MCP command pings your phone for APPROVE or DENY.

Commands

CommandWhat it does
agent008 initAdds agent008 hooks to .cursor/hooks.json in the current directory (idempotent, merges with existing).
agent008 startBoots the local WebSocket server on :7891, launches cloudflared, prints a pairing QR code.
agent008 hookThe hook Cursor calls per hooks.json. Reads stdin JSON, talks to the local server, writes {"permission":"allow"|"deny"} to stdout. Fail-open on any error.
agent008 activate <key>Validates a license key against https://008-license.vercel.app/api/validate and stores it.
agent008 statusPrints license/trial state, paths, push subscription count.

Pricing

PlanPriceWhat you get
TrialFree for 14 daysFull Solo features, no credit card
Solo$5 / month1 device, email support
Pro$11 / monthUp to 5 devices, instruction back-channel, history sync, priority support

Buy at https://008.ipengaconsulting.com

How it works

Cursor agent
  → .cursor/hooks.json
  → agent008 hook
       ↓ ws://localhost:7891
  agent008 start (WS server + cloudflared tunnel)
       ↑ wss://*.trycloudflare.com
  Android phone PWA (008-pwa.vercel.app)
       ↓ approve / deny

The 25 second decision timeout means a dead tunnel never blocks your agent — the hook returns allow and Cursor continues. Your traffic goes through your own Cloudflare Tunnel, not our servers.

Configuration

All state lives in ~/.008/config.json:

KeyPurpose
secret16-byte hex shared pairing secret (auto-generated on first run)
vapidWeb Push VAPID keypair (auto-generated)
licenseKey, licensePlan, licenseExpires, licenseValid, licenseLastCheckedSet by agent008 activate. Revalidated every 24 h. 7-day offline grace.
installedAtFirst-run timestamp — used to compute 14-day trial expiry
subscriptionsWeb Push subscriptions for connected phones
tunnel, wsUrl, lastTunnelAtLast seen tunnel URL

Environment variable overrides:

VarDefault
PORT_0087891
HOOK_WS_URLws://localhost:7891
HOOK_TIMEOUT_MS25000
LICENSE_API_URLhttps://008-license.vercel.app
PAIR_HOSThttps://008-pwa.vercel.app/pair

License

MIT. Built by Ipenga Consulting · https://ipengaconsulting.com

版本与发布记录

008-cli 共发布 1 个版本,首次发布于 2026/05/19;过去 12 个月发布了 1 个版本。

版本发布日期距今
0.1.0latest2026/05/195 个月前

关于 008-cli 的常见问题

008-cli 是什么?

008 -通过Android手机批准光标AI代理的操作。Ipenga咨询公司的产品。

如何安装 008-cli?

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

008-cli 支持 TypeScript 吗?

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

008-cli 需要什么版本的 Node.js?

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

008-cli 可以商用吗?

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

008-cli 还在维护吗?

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