@zonease/aiworker-cli 0.4.8 → 0.4.10

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 CHANGED
@@ -95,14 +95,19 @@ aiworker chat w_ntssfzwwzzq0 'hello' # NDJSON 流式输出
95
95
  ### 已发布
96
96
 
97
97
  ```sh
98
- bun install -g @zonease/aiworker-cli # ← 当前 latest 0.2.1(含 in-process gateway / OTP enroll / 6 LLM engine)
99
- # 或
98
+ bun install -g @zonease/aiworker-cli
99
+
100
+ # 已安装 Bun 时也可免全局安装:
101
+ bunx @zonease/aiworker-cli --help
102
+
103
+ # npm / npx 也可作为分发入口,但运行时仍需要 bun 在 PATH:
104
+ npx @zonease/aiworker-cli --help
100
105
  npm install -g @zonease/aiworker-cli
101
106
  ```
102
107
 
103
- binary 跑在 `~/.bun/bin/aiworker` 或 `$(npm bin -g)/aiworker`。第一次跑任意命令时自动 mint master key 写到 `~/.aiworker/.env`(chmod 0600)。
108
+ AIWorker CLI 是 Bun-native:`npx` / `npm install -g` 不会把 runtime 改成 Node。没有 Bun 时,CLI 会提示安装 Bun 或改用 GitHub Releases 的 standalone binary。binary 跑在 `~/.bun/bin/aiworker` 或 `$(npm bin -g)/aiworker`。第一次跑任意命令时自动 mint master key 写到 `~/.aiworker/.env`(chmod 0600)。
104
109
 
105
- **项目级 worker**(PLAN-023,可选):在 git repo 内 `aiworker init` 默认在 `<cwd>/.aiworker/` 落项目级 layout(每 project 一份独立 worker.db / master key / persona / skills),engine(claude / codex / cursor)保持 user 级共享。`aiworker scope` 诊断当前命中的 layout。详见 [docs/cli.md §`aiworker init`](docs/cli.md)。
110
+ **项目级 worker**(PLAN-023,可选):`aiworker init` 默认在当前目录 `<cwd>/.aiworker/` 落项目级 layout(每 project 一份独立 worker.db / master key / persona / skills;不要求当前目录是 git repo),engine(claude / codex / cursor)保持 user 级共享。`aiworker scope` 诊断当前命中的 layout。详见 [docs/cli.md §`aiworker init`](docs/cli.md)。
106
111
 
107
112
  ### 本地开发
108
113