ai-project-manage-cli 8.1.25 → 8.2.19
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 +6 -18
- package/dist/index.js +816 -814
- package/dist/worker-script.js +2731 -1564
- package/package.json +2 -2
- package/template/skills/webide-run-retro/SKILL.md +103 -0
- package/template/skills/webide-run-retro/attribution.md +26 -0
- package/template/skills/webide-run-retro/scripts/inspect-run.mjs +335 -0
- package/dist/scripts/branch_has_changes.sh +0 -53
- package/dist/scripts/commit_if_dirty.sh +0 -21
- package/dist/scripts/ensure_baseline.sh +0 -15
- package/dist/scripts/ensure_feature_branch.sh +0 -57
- package/dist/scripts/push_code.sh +0 -21
package/README.md
CHANGED
|
@@ -13,14 +13,7 @@ apm update
|
|
|
13
13
|
## 登录
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
|
-
|
|
17
|
-
apm login --api-key=cm_xxx --server=https://api.example.com:3334
|
|
18
|
-
# → API https://api.example.com ,Socket wss://api.example.com:3334
|
|
19
|
-
|
|
20
|
-
# 现在:分别传 API 与 Socket(也可用 APM_SERVER / APM_SOCKET_SERVER)
|
|
21
|
-
apm login --api-key=cm_xxx \
|
|
22
|
-
--server=https://api.example.com \
|
|
23
|
-
--socket-server=wss://ws.example.com
|
|
16
|
+
apm login --api-key=cm_xxx --server=http://127.0.0.1:3000
|
|
24
17
|
```
|
|
25
18
|
|
|
26
19
|
## 初始化工作区
|
|
@@ -34,6 +27,8 @@ apm init
|
|
|
34
27
|
## 常用命令
|
|
35
28
|
|
|
36
29
|
```bash
|
|
30
|
+
apm sync-project-documents
|
|
31
|
+
apm sync-project-documents --push
|
|
37
32
|
apm update-skills
|
|
38
33
|
```
|
|
39
34
|
|
|
@@ -41,18 +36,11 @@ apm update-skills
|
|
|
41
36
|
|
|
42
37
|
```bash
|
|
43
38
|
apm connect
|
|
44
|
-
|
|
45
|
-
apm connect --server https://api.example.com:3334
|
|
46
|
-
# 分别指定
|
|
47
|
-
apm connect --server https://api.example.com --socket-server wss://ws.example.com
|
|
39
|
+
apm connect --server https://your-server.com
|
|
48
40
|
```
|
|
49
41
|
|
|
50
|
-
地址解析:
|
|
51
|
-
|
|
52
|
-
- **历史**:只传 `--server https://host:port` → Socket 用该地址,API 为去掉端口后的 `https://host`
|
|
53
|
-
- **现在**:`--server` + `--socket-server`,或环境变量 `APM_SERVER` + `APM_SOCKET_SERVER`
|
|
54
|
-
- 登录成功后写入 `~/.config/apm/config.json` 的 `baseUrl` / `socketServer`
|
|
55
|
-
|
|
56
42
|
启动前会检测 npm registry 上当前大版本的最新包;若落后则先 `npm install -g` 更新,再以新版本重新连接。跨大版本请手动执行 `apm update --major`。
|
|
57
43
|
|
|
58
44
|
同一时刻仅允许一个 connect。
|
|
45
|
+
|
|
46
|
+
`apm connect` 处理完 WebIDE 消息后,会将 `.apm/project/<项目ID>/` 下的项目文档变更推回平台。
|