ai-project-manage-cli 7.1.39 → 8.0.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.
Files changed (36) hide show
  1. package/README.md +6 -8
  2. package/dist/index.js +3969 -7465
  3. package/dist/webide-message-worker.js +283 -632
  4. package/package.json +1 -2
  5. package/template/AGENTS.md +0 -56
  6. package/template/apm.config.json +0 -3
  7. package/template/project/.gitkeep +0 -0
  8. package/template/rules/reply.md +0 -16
  9. package/template/rules/write_doc.md +0 -39
  10. package/template/sessions/.gitkeep +0 -0
  11. package/template/skills/apm-apply-change/SKILL.md +0 -116
  12. package/template/skills/apm-confirm-assumptions/SKILL.md +0 -3
  13. package/template/skills/apm-dev/SKILL.md +0 -80
  14. package/template/skills/apm-diff-review/SKILL.md +0 -63
  15. package/template/skills/apm-propose/SKILL.md +0 -52
  16. package/template/skills/apm-propose/design.md +0 -37
  17. package/template/skills/apm-propose/proposal.md +0 -31
  18. package/template/skills/apm-propose/specs.md +0 -39
  19. package/template/skills/apm-propose/tasks.md +0 -16
  20. package/template/skills/apm-recap/SKILL.md +0 -77
  21. package/template/skills/apm-recap/recap-template.md +0 -121
  22. package/template/skills/apm-update-plan/SKILL.md +0 -26
  23. package/template/skills/apm-write-assumptions/SKILL.md +0 -78
  24. package/template/skills/apm-write-assumptions/assumptions-template.md +0 -18
  25. package/template/skills/apm-write-backend-api/SKILL.md +0 -40
  26. package/template/skills/apm-write-backend-api/api-template.md +0 -35
  27. package/template/skills/apm-write-backend-api/backend-template.md +0 -41
  28. package/template/skills/apm-write-checklist/SKILL.md +0 -42
  29. package/template/skills/apm-write-checklist/checklist-template.md +0 -34
  30. package/template/skills/apm-write-frontend-plan/SKILL.md +0 -27
  31. package/template/skills/apm-write-frontend-plan/plan-template.md +0 -40
  32. package/template/skills/apm-write-plan/SKILL.md +0 -51
  33. package/template/skills/apm-write-plan/api-template.md +0 -35
  34. package/template/skills/apm-write-plan/plan-template.md +0 -72
  35. package/template/skills/apm-write-prd/SKILL.md +0 -14
  36. package/template/skills/apm-write-prd/template.md +0 -134
package/README.md CHANGED
@@ -13,26 +13,24 @@ apm update
13
13
  ## 登录
14
14
 
15
15
  ```bash
16
- apm login --email=you@example.com --password=*** --server=http://127.0.0.1:3000
16
+ apm login --api-key=cm_xxx --server=http://127.0.0.1:3000
17
17
  ```
18
18
 
19
19
  ## 初始化工作区
20
20
 
21
21
  ```bash
22
- apm init [--name=我的项目]
22
+ apm init
23
23
  ```
24
24
 
25
+ 按 WebIDE 工作区写入 `.apm/AGENTS.md` 与 `webide*` 规则。
26
+
25
27
  ## 常用命令
26
28
 
27
29
  ```bash
28
- apm pull <sessionId>
29
- apm sync-document <sessionId> --file PRD
30
30
  apm sync-project-documents
31
31
  apm sync-project-documents --push
32
32
  apm update-skills
33
- apm branch <sessionId>
34
- apm branch prune [--dry-run] [-A|--all]
35
- apm create-pr --session <sessionId> --title "<标题>" [--content "<正文>"]
33
+ apm deploy test --task <taskId>
36
34
  ```
37
35
 
38
36
  ## 常驻连接(后台守护)
@@ -57,4 +55,4 @@ apm daemon start -f
57
55
 
58
56
  使用全局 PM2(未安装时会自动执行 `npm install -g pm2`);同一时刻仅允许一个 connect。启动时会自动检测 CLI 更新并刷新守护配置。
59
57
 
60
- `apm pull` 会自动将平台登记的**项目文档**同步到 `.apm/project/<项目ID>/`(含 `manifest.json`)。Agent 修改该目录下文件后,`apm connect` 处理完消息会自动推回平台。
58
+ `apm connect` 处理完 WebIDE 消息后,会将 `.apm/project/<项目ID>/` 下的项目文档变更推回平台。