@codehourra/llm-iwiki 0.1.2 → 0.2.0

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.
Files changed (3) hide show
  1. package/README.md +4 -8
  2. package/dist/index.js +190 -188
  3. package/package.json +8 -4
package/README.md CHANGED
@@ -6,27 +6,21 @@
6
6
 
7
7
  ## 安装
8
8
 
9
- > 运行时依赖 [Bun](https://bun.sh)(CLI 入口为 TypeScript,使用 `bun` shebang)。
9
+ > 运行时只需 [Node.js](https://nodejs.org) 20(无需 Bun)。SQLite 通过原生模块 `better-sqlite3` 提供,`npm install` 时自动下载预编译二进制。
10
10
 
11
11
  ```bash
12
12
  # 全局安装
13
13
  npm install -g @codehourra/llm-iwiki
14
- # 或使用 bun
15
- bun add -g @codehourra/llm-iwiki
16
14
 
17
15
  llm-iwiki init # 初始化配置与状态库
18
16
  llm-iwiki doctor # 自检
19
17
  ```
20
18
 
21
- 也可以免安装、用 `npx` / `bunx` 直接运行(CLI 入口为 TypeScript,需本机已安装 Bun):
19
+ 也可以免安装、用 `npx` 直接运行:
22
20
 
23
21
  ```bash
24
- # 一次性运行(不全局安装)
25
22
  npx @codehourra/llm-iwiki init
26
23
  npx @codehourra/llm-iwiki sync
27
-
28
- # 或使用 bunx
29
- bunx @codehourra/llm-iwiki doctor
30
24
  ```
31
25
 
32
26
  ## 当前状态
@@ -59,9 +53,11 @@ llm-iwiki skills init # 写入 AI 助手 skill
59
53
  把 AI 编程助手使用的 skill 模板写入当前项目,让 Claude Code / Codex / Cursor 能按规范驱动上面的 `summarize` / `experiences` 工作流。
60
54
 
61
55
  ```bash
56
+ llm-iwiki skills # 列出可用 target 与将写入的 skill(等同 skills list)
62
57
  llm-iwiki skills init [--target codex|claude-code|cursor] [--force] [--dry-run]
63
58
  ```
64
59
 
60
+ - 裸 `skills` / `skills list`:只读列出可用 target 和将写入 `.agents/skills/` 的 skill,不落盘。
65
61
  - `--target`:只写入指定助手的模板;省略则写入全部三种。
66
62
  - `--force`:覆盖已存在的同名文件(默认跳过)。
67
63
  - `--dry-run`:只预演将写入/跳过的文件,不落盘。