cli-jaw 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -5
- package/README.zh-CN.md +5 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,6 +20,8 @@
|
|
|
20
20
|
|
|
21
21
|
---
|
|
22
22
|
|
|
23
|
+
> ⚠️ **Installation Notice:** `npm install -g cli-jaw` runs a postinstall script that may modify your globally installed CLI skill directories (`~/.agents/skills/`, `~/.claude/skills/`), custom instructions (`~/AGENTS.md` → `~/CLAUDE.md` symlink), and MCP config (`~/.cli-jaw/mcp.json` → syncs to Claude/Codex/Gemini/OpenCode/Copilot). Existing configs are preserved and merged, not overwritten.
|
|
24
|
+
|
|
23
25
|
## What is CLI-JAW?
|
|
24
26
|
|
|
25
27
|
CLI-JAW is a **personal AI assistant** that lives on your machine and works from the interfaces you already use — **Web, Terminal, and Telegram**. Ask it anything, delegate tasks, automate your workflows.
|
|
@@ -387,11 +389,11 @@ All tests run via `tsx --test` (native Node.js test runner + TypeScript).
|
|
|
387
389
|
| ---------------------------- | ------------------------------------------------------------------------------------------- |
|
|
388
390
|
| `cli-jaw: command not found` | Run `npm install -g cli-jaw` again. Check `npm bin -g` is in your `$PATH`. |
|
|
389
391
|
| `Error: node version` | Upgrade to Node.js ≥ 22: `nvm install 22` or download from [nodejs.org](https://nodejs.org) |
|
|
390
|
-
| Agent timeout / no response | Run `jaw doctor` to check CLI auth. Re-authenticate with `claude auth` / `codex login`.
|
|
391
|
-
| `EADDRINUSE: port 3457` | Another instance is running. Stop it or use `jaw serve --port 3458`.
|
|
392
|
-
| Telegram bot not responding | Check token with `jaw doctor`. Ensure `jaw serve` is running.
|
|
393
|
-
| Skills not loading | Run `jaw skill reset` then `jaw mcp sync`.
|
|
394
|
-
| Browser commands fail | Install Chrome/Chromium. Run `jaw browser start` first.
|
|
392
|
+
| Agent timeout / no response | Run `jaw doctor` to check CLI auth. Re-authenticate with `claude auth` / `codex login`. |
|
|
393
|
+
| `EADDRINUSE: port 3457` | Another instance is running. Stop it or use `jaw serve --port 3458`. |
|
|
394
|
+
| Telegram bot not responding | Check token with `jaw doctor`. Ensure `jaw serve` is running. |
|
|
395
|
+
| Skills not loading | Run `jaw skill reset` then `jaw mcp sync`. |
|
|
396
|
+
| Browser commands fail | Install Chrome/Chromium. Run `jaw browser start` first. |
|
|
395
397
|
|
|
396
398
|
</details>
|
|
397
399
|
|
package/README.zh-CN.md
CHANGED
|
@@ -22,6 +22,8 @@
|
|
|
22
22
|
|
|
23
23
|
## CLI-JAW 是什么?
|
|
24
24
|
|
|
25
|
+
> ⚠️ **安装须知:** `npm install -g cli-jaw` 运行 postinstall 脚本,可能会修改全局 CLI 技能目录(`~/.agents/skills/`、`~/.claude/skills/`)、自定义指令(`~/AGENTS.md` → `~/CLAUDE.md` 符号链接)以及 MCP 配置(`~/.cli-jaw/mcp.json` → 同步至 Claude/Codex/Gemini/OpenCode/Copilot)。现有配置不会被覆盖,而是合并处理。
|
|
26
|
+
|
|
25
27
|
CLI-JAW 是驻留在您本地机器上的**专属 AI 助手**,并在您熟悉的界面中运行 — **网页、终端和 Telegram**。您可以向它提出任何问题、委派任务或是自动化您的工作流。
|
|
26
28
|
|
|
27
29
|
> 💬 *"帮我整理一下今天的日程"* → 直接在 Telegram 上收到整理好的结果
|
|
@@ -384,11 +386,11 @@ npm test
|
|
|
384
386
|
| ---------------------------- | ----------------------------- | ------------------------------------------------------------------------ |
|
|
385
387
|
| `command not found: cli-jaw` | npm 全局 bin 不在 PATH 中 | 运行 `npm config get prefix`,将 `bin/` 加入 PATH |
|
|
386
388
|
| `doctor` 显示 CLI 缺失 | 对应 CLI 未安装 | 按提示安装,如 `npm i -g @anthropic-ai/claude-code` |
|
|
387
|
-
| 端口 3457 被占用 | 其他进程占用了端口 | 改用 `PORT=4000 jaw serve` 或终止占用进程
|
|
388
|
-
| Telegram 机器人无响应 | Token 未配置或缺少 Chat ID | 重新运行 `jaw init --telegram-token ...`
|
|
389
|
+
| 端口 3457 被占用 | 其他进程占用了端口 | 改用 `PORT=4000 jaw serve` 或终止占用进程 |
|
|
390
|
+
| Telegram 机器人无响应 | Token 未配置或缺少 Chat ID | 重新运行 `jaw init --telegram-token ...` |
|
|
389
391
|
| `npm install -g` 权限错误 | 全局目录权限不足 | 使用 `sudo npm i -g cli-jaw` 或推荐 [nvm](https://github.com/nvm-sh/nvm) |
|
|
390
392
|
| 构建失败(`tsc` 报错) | Node 版本低于 22 | `node -v` 检查 → 升级至 22+ |
|
|
391
|
-
| 会话间记忆未保留 | `~/.cli-jaw/memory/` 目录缺失 | 重新运行 `jaw init` 自动创建
|
|
393
|
+
| 会话间记忆未保留 | `~/.cli-jaw/memory/` 目录缺失 | 重新运行 `jaw init` 自动创建 |
|
|
392
394
|
|
|
393
395
|
---
|
|
394
396
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cli-jaw",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "Personal AI assistant powered by 5 engines (Claude, Codex, Gemini, OpenCode, Copilot) — Web, Terminal, and Telegram interfaces with 107 built-in skills",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|