@bingjiang0611/rotom 0.1.0-alpha.0 → 0.1.0-alpha.1
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 +5 -1
- package/bin/pi-agent +4 -2
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ npm 包名为 `@bingjiang0611/rotom`,Alpha 使用 `alpha` tag,CLI 仍为 `ro
|
|
|
9
9
|
要求 Node.js 24+ 和 POSIX shell。当前验证范围为 macOS;Linux 安装/终端运行仍待真实验证,Windows 原生入口不受支持。
|
|
10
10
|
|
|
11
11
|
```sh
|
|
12
|
-
npm install -g --ignore-scripts @bingjiang0611/rotom@alpha
|
|
12
|
+
npm install -g --ignore-scripts @bingjiang0611/rotom@alpha --registry=https://registry.npmjs.org --prefer-online
|
|
13
13
|
cd /path/to/your/project
|
|
14
14
|
rotom
|
|
15
15
|
```
|
|
@@ -22,6 +22,10 @@ rotom
|
|
|
22
22
|
|
|
23
23
|
升级重新执行上述 npm 安装命令;也支持将包名替换为已验证的本地 `.tgz` 路径安装。卸载用 `npm uninstall -g @bingjiang0611/rotom`。旧本地无 scope Alpha 包须先用 `npm uninstall -g rotom` 卸载,以免两个包争用同一个 CLI(不要使用 `--force` 覆盖)。不会自动删除用户凭据、会话或 Chrome relay 注册,后者需单独显式卸载。
|
|
24
24
|
|
|
25
|
+
## Alpha 修复
|
|
26
|
+
|
|
27
|
+
`0.1.0-alpha.1` 修复 `setup browser` 在用户或项目存在 `.claude/skills` 时误收 session 参数、报「无效参数」的问题;不需要删除或移动 skills。普通 Pi 会话的 skills 发现行为保持不变。
|
|
28
|
+
|
|
25
29
|
## 配置 Chrome 浏览器(macOS)
|
|
26
30
|
|
|
27
31
|
```sh
|
package/bin/pi-agent
CHANGED
|
@@ -176,7 +176,9 @@ claude_user_skill_dir=
|
|
|
176
176
|
if [ "${HOME+x}" = x ]; then
|
|
177
177
|
claude_user_skill_dir="$HOME/.claude/skills"
|
|
178
178
|
fi
|
|
179
|
-
|
|
179
|
+
# Setup has no session skills: prepending --skill would corrupt its original
|
|
180
|
+
# setup/browser argv before the checked dispatch below consumes those two words.
|
|
181
|
+
if [ "$setup_browser" -eq 0 ] && [ "$load_claude_project_skills" -eq 1 ]; then
|
|
180
182
|
claude_repo_root=
|
|
181
183
|
claude_probe_dir=$PWD
|
|
182
184
|
while :; do
|
|
@@ -206,7 +208,7 @@ if [ "$load_claude_project_skills" -eq 1 ]; then
|
|
|
206
208
|
claude_scan_dir=$claude_parent_dir
|
|
207
209
|
done
|
|
208
210
|
fi
|
|
209
|
-
if [ -n "$claude_user_skill_dir" ] && [ -d "$claude_user_skill_dir" ]; then
|
|
211
|
+
if [ "$setup_browser" -eq 0 ] && [ -n "$claude_user_skill_dir" ] && [ -d "$claude_user_skill_dir" ]; then
|
|
210
212
|
set -- --skill "$claude_user_skill_dir" "$@"
|
|
211
213
|
fi
|
|
212
214
|
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bingjiang0611/rotom",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.1",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@bingjiang0611/rotom",
|
|
9
|
-
"version": "0.1.0-alpha.
|
|
9
|
+
"version": "0.1.0-alpha.1",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"os": [
|
|
12
12
|
"darwin",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bingjiang0611/rotom",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.1",
|
|
4
4
|
"publishConfig": { "access": "public", "registry": "https://registry.npmjs.org", "tag": "alpha" },
|
|
5
5
|
"description": "Personal coding agent built on Pi, with explicit tools and runtime contracts",
|
|
6
6
|
"license": "MIT",
|