crewbee 0.1.9 → 0.1.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.
Files changed (60) hide show
  1. package/README.md +19 -3
  2. package/README.zh-CN.md +24 -8
  3. package/dist/opencode-plugin.mjs +247 -55
  4. package/dist/src/adapters/opencode/config-hook.d.ts.map +1 -1
  5. package/dist/src/adapters/opencode/config-hook.js +9 -2
  6. package/dist/src/adapters/opencode/config-hook.js.map +1 -1
  7. package/dist/src/adapters/opencode/plugin.d.ts.map +1 -1
  8. package/dist/src/adapters/opencode/plugin.js +1 -1
  9. package/dist/src/adapters/opencode/plugin.js.map +1 -1
  10. package/dist/src/adapters/opencode/system-transform-hook.d.ts +2 -1
  11. package/dist/src/adapters/opencode/system-transform-hook.d.ts.map +1 -1
  12. package/dist/src/adapters/opencode/system-transform-hook.js +17 -3
  13. package/dist/src/adapters/opencode/system-transform-hook.js.map +1 -1
  14. package/dist/src/agent-teams/canonical-agent-id.d.ts.map +1 -1
  15. package/dist/src/agent-teams/canonical-agent-id.js +3 -0
  16. package/dist/src/agent-teams/canonical-agent-id.js.map +1 -1
  17. package/dist/src/agent-teams/diagnostics.d.ts +10 -0
  18. package/dist/src/agent-teams/diagnostics.d.ts.map +1 -0
  19. package/dist/src/agent-teams/diagnostics.js +29 -0
  20. package/dist/src/agent-teams/diagnostics.js.map +1 -0
  21. package/dist/src/agent-teams/filesystem.d.ts +4 -0
  22. package/dist/src/agent-teams/filesystem.d.ts.map +1 -1
  23. package/dist/src/agent-teams/filesystem.js +134 -21
  24. package/dist/src/agent-teams/filesystem.js.map +1 -1
  25. package/dist/src/agent-teams/index.d.ts +1 -0
  26. package/dist/src/agent-teams/index.d.ts.map +1 -1
  27. package/dist/src/agent-teams/index.js +5 -1
  28. package/dist/src/agent-teams/index.js.map +1 -1
  29. package/dist/src/agent-teams/library.d.ts +5 -1
  30. package/dist/src/agent-teams/library.d.ts.map +1 -1
  31. package/dist/src/agent-teams/library.js +31 -8
  32. package/dist/src/agent-teams/library.js.map +1 -1
  33. package/dist/src/agent-teams/parsers.js +3 -3
  34. package/dist/src/agent-teams/parsers.js.map +1 -1
  35. package/dist/src/agent-teams/types.d.ts +6 -0
  36. package/dist/src/agent-teams/types.d.ts.map +1 -1
  37. package/dist/src/agent-teams/validation.d.ts.map +1 -1
  38. package/dist/src/agent-teams/validation.js +50 -3
  39. package/dist/src/agent-teams/validation.js.map +1 -1
  40. package/dist/src/cli/doctor.d.ts.map +1 -1
  41. package/dist/src/cli/doctor.js +36 -1
  42. package/dist/src/cli/doctor.js.map +1 -1
  43. package/dist/src/cli/render-help.d.ts.map +1 -1
  44. package/dist/src/cli/render-help.js +2 -1
  45. package/dist/src/cli/render-help.js.map +1 -1
  46. package/dist/src/cli/run-cli.d.ts.map +1 -1
  47. package/dist/src/cli/run-cli.js +7 -0
  48. package/dist/src/cli/run-cli.js.map +1 -1
  49. package/dist/src/cli/validate.d.ts +6 -0
  50. package/dist/src/cli/validate.d.ts.map +1 -0
  51. package/dist/src/cli/validate.js +90 -0
  52. package/dist/src/cli/validate.js.map +1 -0
  53. package/dist/src/core/index.d.ts +1 -0
  54. package/dist/src/core/index.d.ts.map +1 -1
  55. package/dist/src/install/doctor.d.ts.map +1 -1
  56. package/dist/src/install/doctor.js +15 -1
  57. package/dist/src/install/doctor.js.map +1 -1
  58. package/dist/src/install/types.d.ts +7 -0
  59. package/dist/src/install/types.d.ts.map +1 -1
  60. package/package.json +1 -1
package/README.md CHANGED
@@ -38,9 +38,12 @@ The current version already delivers a complete **CrewBee → OpenCode** MVP pat
38
38
 
39
39
  - [CrewBeeLab Website](https://crewbeelab.github.io)
40
40
  - [Installation Guide](docs/guide/installation.md)
41
- - [Custom Agent Team Guide](docs/guide/custom-agent-team.md)
41
+ - [Custom Agent Team Guide](docs/guide/custom-agent-team.en.md)
42
+ - [Project-Level Team Configuration Guide](docs/guide/project-team-config.en.md)
42
43
  - [Release Guide](docs/guide/release.md)
43
44
 
45
+ For Chinese documentation, use [README.zh-CN.md](README.zh-CN.md) and the `*.zh-CN.md` / default Chinese guide files under `docs/guide`.
46
+
44
47
  ## Agent IDs in OpenCode
45
48
 
46
49
  CrewBee uses a single **canonical agent id** across projection, default selection, session binding, delegation, and user-facing selection.
@@ -67,6 +70,7 @@ The same id is used for OpenCode `default_agent`, session-level selection, deleg
67
70
  * [Built-in Coding Team Design](#built-in-coding-team-design)
68
71
  * [Configuration, Install, and Operations Scripts](#configuration-install-and-operations-scripts)
69
72
  * [Uninstall](#uninstall)
73
+ * [Acknowledgements](#acknowledgements)
70
74
 
71
75
  ---
72
76
 
@@ -219,7 +223,7 @@ Or read the guide yourself:
219
223
 
220
224
  ### Shortest path for LLM Agents
221
225
 
222
- Read and follow:
226
+ Read and follow the English guides:
223
227
 
224
228
  ```text
225
229
  docs/guide/installation.md
@@ -303,7 +307,9 @@ After installation:
303
307
 
304
308
  ## How Agent Teams and Agent Profiles Are Defined
305
309
 
306
- To design and register your own file-based Team, start with the [Custom Agent Team Guide](docs/guide/custom-agent-team.md). It walks through the real runnable directory layout, `crewbee.json` registration, Team policy design, agent role boundaries, and validation checklist.
310
+ To design and register your own file-based Team, start with the [Custom Agent Team Guide](docs/guide/custom-agent-team.en.md). It walks through the real runnable directory layout, `crewbee.json` registration, Team policy design, agent role boundaries, and validation checklist.
311
+
312
+ If you need project-local Teams that override or complement global Teams, read the [Project-Level Team Configuration Guide](docs/guide/project-team-config.en.md).
307
313
 
308
314
  ### Actual file-based Team structure
309
315
 
@@ -642,3 +648,13 @@ If you want to verify the uninstall state afterward, run:
642
648
  ```bash
643
649
  npm run doctor
644
650
  ```
651
+
652
+ ---
653
+
654
+ ## Acknowledgements
655
+
656
+ CrewBee is inspired by OpenCode and by community projects such as Oh My OpenAgent, which have explored how agent-team workflows can improve real development environments.
657
+
658
+ Thanks to the builders and maintainers who made these ideas visible and practical.
659
+
660
+ CrewBee continues this direction by treating Agent Teams as manageable engineering assets: defined once, projected into host runtimes, configured for different task modes, and evolved as reusable team packages.
package/README.zh-CN.md CHANGED
@@ -37,9 +37,12 @@ CrewBee 是一个 **Team-first(团队优先)** 的 Agent Team 框架。
37
37
  ## 快速入口
38
38
 
39
39
  - [CrewBeeLab 官网](https://crewbeelab.github.io)
40
- - [安装指南](docs/guide/installation.md)
40
+ - [安装指南](docs/guide/installation.zh-CN.md)
41
41
  - [自定义 Agent Team 指南](docs/guide/custom-agent-team.md)
42
- - [发布指南](docs/guide/release.md)
42
+ - [项目级 Team 配置指南](docs/guide/project-team-config.md)
43
+ - [发布指南](docs/guide/release.zh-CN.md)
44
+
45
+ 英文文档请从 [README.md](README.md) 进入,并优先阅读 `docs/guide` 下的英文指南文件。
43
46
 
44
47
  ## OpenCode 中的 Agent ID
45
48
 
@@ -67,6 +70,7 @@ CrewBee 统一使用单一的 **canonical agent id**,贯穿投影、默认选
67
70
  * [内置 Coding Team 的设计思想](#内置-coding-team-的设计思想)
68
71
  * [配置、安装与运维脚本](#配置安装与运维脚本)
69
72
  * [卸载](#卸载)
73
+ * [致谢](#致谢)
70
74
 
71
75
  ---
72
76
 
@@ -215,21 +219,21 @@ CrewBee 已经具备完整的本地构建、用户级安装、doctor 校验和
215
219
  如果你在用 LLM Agent,直接把下面这段发给它:
216
220
 
217
221
  ```text
218
- 请按照当前仓库中的 docs/guide/installation.md 完成 CrewBee 安装。
222
+ 请按照当前仓库中的 docs/guide/installation.zh-CN.md 完成 CrewBee 安装。
219
223
  只使用 OpenCode 用户级安装流程,不要使用旧的 project-local 安装方式。
220
224
  ```
221
225
 
222
226
  或者你自己阅读:
223
227
 
224
- * [安装指南](docs/guide/installation.md)
228
+ * [安装指南](docs/guide/installation.zh-CN.md)
225
229
 
226
230
  ### 给 LLM Agent 的最短路径
227
231
 
228
- 直接读取并执行:
232
+ 直接读取并执行中文指南:
229
233
 
230
234
  ```text
231
- docs/guide/installation.md
232
- docs/guide/release.md
235
+ docs/guide/installation.zh-CN.md
236
+ docs/guide/release.zh-CN.md
233
237
  ```
234
238
 
235
239
  ### Windows 一键本地安装脚本
@@ -311,6 +315,8 @@ npm run version
311
315
 
312
316
  如果你要设计并注册自己的文件型 Team,请先阅读 [自定义 Agent Team 指南](docs/guide/custom-agent-team.md)。它会说明真实可运行的目录结构、`crewbee.json` 注册方式、Team policy 设计、Agent 职责边界和验证清单。
313
317
 
318
+ 如果你需要让项目级 Team 覆盖或补充全局 Team,请继续阅读 [项目级 Team 配置指南](docs/guide/project-team-config.md)。
319
+
314
320
  ### 文件型 Team 的实际结构
315
321
 
316
322
  当前真实可运行的文件型 Team 结构是:
@@ -617,7 +623,7 @@ crewbee
617
623
  发布手册:
618
624
 
619
625
  ```text
620
- docs/guide/release.md
626
+ docs/guide/release.zh-CN.md
621
627
  ```
622
628
 
623
629
  Windows 下默认仍优先使用:
@@ -648,3 +654,13 @@ npm run uninstall:user
648
654
  ```bash
649
655
  npm run doctor
650
656
  ```
657
+
658
+ ---
659
+
660
+ ## 致谢
661
+
662
+ CrewBee 受 OpenCode 以及 Oh My OpenAgent 等社区项目启发。这些项目探索了 Agent Team 工作流在真实开发环境中的价值,也让更多开发者看到了多 Agent 协作的潜力。
663
+
664
+ 感谢这些项目的开发者与维护者。
665
+
666
+ CrewBee 在这个方向上继续推进:把 Agent Team 从一组提示词或角色配置,进一步整理为可管理、可投影、可配置、可复用的工程资产,使不同任务场景下的 Agent Team 能够更清晰地定义、运行和演化。