opencode-collaboration 2.1.0__tar.gz → 2.2.0.post1__tar.gz

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 (98) hide show
  1. opencode_collaboration-2.2.0.post1/PKG-INFO +136 -0
  2. opencode_collaboration-2.2.0.post1/README.md +107 -0
  3. opencode_collaboration-2.2.0.post1/opencode_collaboration.egg-info/PKG-INFO +136 -0
  4. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/opencode_collaboration.egg-info/SOURCES.txt +12 -0
  5. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/pyproject.toml +2 -2
  6. opencode_collaboration-2.2.0.post1/src/core/agent_manager.py +553 -0
  7. opencode_collaboration-2.2.0.post1/src/core/meeting_manager.py +502 -0
  8. opencode_collaboration-2.2.0.post1/src/core/project_manager.py +549 -0
  9. opencode_collaboration-2.2.0.post1/src/core/resource_lock.py +468 -0
  10. opencode_collaboration-2.2.0.post1/src/core/story_manager.py +712 -0
  11. opencode_collaboration-2.2.0.post1/tests/test_agent_manager.py +284 -0
  12. opencode_collaboration-2.2.0.post1/tests/test_blackbox_v210.py +406 -0
  13. opencode_collaboration-2.2.0.post1/tests/test_e2e_v2_2_0.py +1138 -0
  14. opencode_collaboration-2.2.0.post1/tests/test_meeting_manager.py +321 -0
  15. opencode_collaboration-2.2.0.post1/tests/test_project_manager.py +275 -0
  16. opencode_collaboration-2.2.0.post1/tests/test_resource_lock.py +370 -0
  17. opencode_collaboration-2.2.0.post1/tests/test_story_manager.py +529 -0
  18. opencode_collaboration-2.1.0/PKG-INFO +0 -99
  19. opencode_collaboration-2.1.0/README.md +0 -70
  20. opencode_collaboration-2.1.0/opencode_collaboration.egg-info/PKG-INFO +0 -99
  21. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/opencode_collaboration.egg-info/dependency_links.txt +0 -0
  22. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/opencode_collaboration.egg-info/entry_points.txt +0 -0
  23. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/opencode_collaboration.egg-info/requires.txt +0 -0
  24. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/opencode_collaboration.egg-info/top_level.txt +0 -0
  25. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/setup.cfg +0 -0
  26. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/src/__init__.py +0 -0
  27. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/src/cli/__init__.py +0 -0
  28. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/src/cli/agent.py +0 -0
  29. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/src/cli/main.py +0 -0
  30. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/src/core/__init__.py +0 -0
  31. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/src/core/auto_doc_git.py +0 -0
  32. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/src/core/auto_docs.py +0 -0
  33. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/src/core/auto_engine.py +0 -0
  34. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/src/core/auto_git_sync.py +0 -0
  35. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/src/core/auto_retry.py +0 -0
  36. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/src/core/brain_engine.py +0 -0
  37. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/src/core/config_reloader.py +0 -0
  38. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/src/core/daemon.py +0 -0
  39. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/src/core/design_review_notifier.py +0 -0
  40. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/src/core/detector.py +0 -0
  41. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/src/core/doc_generator.py +0 -0
  42. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/src/core/error_templates.py +0 -0
  43. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/src/core/exception_handler.py +0 -0
  44. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/src/core/git.py +0 -0
  45. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/src/core/git_monitor.py +0 -0
  46. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/src/core/git_workflow_enforcer.py +0 -0
  47. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/src/core/iteration_status_manager.py +0 -0
  48. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/src/core/monitor.py +0 -0
  49. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/src/core/phase_advance.py +0 -0
  50. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/src/core/signoff.py +0 -0
  51. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/src/core/state_machine.py +0 -0
  52. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/src/core/state_manager.py +0 -0
  53. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/src/core/state_migrator.py +0 -0
  54. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/src/core/state_validator.py +0 -0
  55. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/src/core/supervisor.py +0 -0
  56. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/src/core/task_executor.py +0 -0
  57. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/src/core/workflow.py +0 -0
  58. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/src/main.py +0 -0
  59. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/src/utils/__init__.py +0 -0
  60. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/src/utils/date.py +0 -0
  61. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/src/utils/file.py +0 -0
  62. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/src/utils/lock.py +0 -0
  63. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/src/utils/yaml.py +0 -0
  64. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/tests/test_agent_behavior.py +0 -0
  65. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/tests/test_agent_daemon.py +0 -0
  66. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/tests/test_agent_daemon_complete.py +0 -0
  67. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/tests/test_agent_daemon_long_running.py +0 -0
  68. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/tests/test_agent_daemon_true_long_running.py +0 -0
  69. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/tests/test_auto_git_sync.py +0 -0
  70. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/tests/test_auto_retry.py +0 -0
  71. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/tests/test_brain_engine.py +0 -0
  72. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/tests/test_config_reloader.py +0 -0
  73. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/tests/test_daemon.py +0 -0
  74. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/tests/test_daemon_integration.py +0 -0
  75. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/tests/test_design_review_notifier.py +0 -0
  76. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/tests/test_detector.py +0 -0
  77. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/tests/test_doc_generator.py +0 -0
  78. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/tests/test_e2e.py +0 -0
  79. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/tests/test_error_templates.py +0 -0
  80. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/tests/test_exception_handler.py +0 -0
  81. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/tests/test_git.py +0 -0
  82. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/tests/test_git_monitor.py +0 -0
  83. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/tests/test_git_workflow_enforcer.py +0 -0
  84. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/tests/test_iteration_status_manager.py +0 -0
  85. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/tests/test_m4_enhancements.py +0 -0
  86. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/tests/test_monitor.py +0 -0
  87. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/tests/test_package_completeness.py +0 -0
  88. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/tests/test_phase_advance.py +0 -0
  89. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/tests/test_signoff.py +0 -0
  90. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/tests/test_state_machine.py +0 -0
  91. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/tests/test_state_manager.py +0 -0
  92. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/tests/test_state_manager_v2.py +0 -0
  93. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/tests/test_state_migration.py +0 -0
  94. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/tests/test_state_structure_compatibility.py +0 -0
  95. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/tests/test_state_validator.py +0 -0
  96. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/tests/test_supervisor.py +0 -0
  97. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/tests/test_task_executor.py +0 -0
  98. {opencode_collaboration-2.1.0 → opencode_collaboration-2.2.0.post1}/tests/test_workflow.py +0 -0
@@ -0,0 +1,136 @@
1
+ Metadata-Version: 2.4
2
+ Name: opencode-collaboration
3
+ Version: 2.2.0.post1
4
+ Summary: 双Agent协作框架 - 产品经理与开发的分离式协作工具
5
+ Author-email: liuzhen <dev@opencode.ai>
6
+ License: MIT
7
+ Keywords: collaboration,agent,project-management,cli
8
+ Classifier: Development Status :: 3 - Alpha
9
+ Classifier: Intended Audience :: Developers
10
+ Classifier: License :: OSI Approved :: MIT License
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: Programming Language :: Python :: 3.8
13
+ Classifier: Programming Language :: Python :: 3.9
14
+ Classifier: Programming Language :: Python :: 3.10
15
+ Classifier: Programming Language :: Python :: 3.11
16
+ Classifier: Programming Language :: Python :: 3.12
17
+ Requires-Python: >=3.8
18
+ Description-Content-Type: text/markdown
19
+ Requires-Dist: click>=8.0
20
+ Requires-Dist: pyyaml>=6.0
21
+ Requires-Dist: jinja2>=3.0
22
+ Requires-Dist: rich>=12.0
23
+ Requires-Dist: inquirer>=2.0
24
+ Provides-Extra: dev
25
+ Requires-Dist: pytest>=7.0; extra == "dev"
26
+ Requires-Dist: pytest-cov>=4.0; extra == "dev"
27
+ Requires-Dist: black>=23.0; extra == "dev"
28
+ Requires-Dist: flake8>=6.0; extra == "dev"
29
+
30
+ # 双 Agent 协作开发系统
31
+
32
+ 基于 OpenCode 的双 Agent 协作框架,实现产品经理与开发的分离式协作。
33
+
34
+ ---
35
+
36
+ ## 安装
37
+
38
+ ```bash
39
+ pip install opencode-collaboration
40
+ ```
41
+
42
+ ---
43
+
44
+ ## 快速开始
45
+
46
+ ### 1. 初始化项目
47
+
48
+ ```bash
49
+ # 创建新项目
50
+ oc-collab init myproject
51
+ cd myproject
52
+ ```
53
+
54
+ ### 2. 创建需求文档
55
+
56
+ 编辑 `docs/01-requirements/requirements_v*.md` 文件,定义需求。
57
+
58
+ ### 3. 评审并签署
59
+
60
+ ```bash
61
+ # Agent 2 (开发) 评审需求
62
+ oc-collab review requirements --comment "技术方案可行"
63
+
64
+ # Agent 1 (产品) 签署确认
65
+ oc-collab signoff requirements --comment "同意实现"
66
+ ```
67
+
68
+ ### 4. 推进到下一阶段
69
+
70
+ ```bash
71
+ # 推进到设计阶段
72
+ oc-collab advance -p design
73
+ ```
74
+
75
+ ---
76
+
77
+ ## 常用命令
78
+
79
+ | 命令 | 说明 |
80
+ |------|------|
81
+ | `oc-collab status` | 查看项目状态 |
82
+ | `oc-collab todo` | 查看待办事项 |
83
+ | `oc-collab advance -p <phase>` | 推进到指定阶段 |
84
+ | `oc-collab signoff <stage>` | 签署确认 |
85
+ | `oc-collab history` | 查看协作历史 |
86
+
87
+ ---
88
+
89
+ ## 协作流程
90
+
91
+ ```
92
+ 需求评审 → 设计评审 → 开发完成 → 测试通过 → 部署上线
93
+ ↓ ↓ ↓ ↓ ↓
94
+ 签署 签署 签署 签署 完成
95
+
96
+ 每个阶段必须双方签署后才能进入下一阶段
97
+ ```
98
+
99
+ ---
100
+
101
+ ## 阶段说明
102
+
103
+ | 阶段 | 说明 |
104
+ |------|------|
105
+ | `requirements` | 需求评审阶段 |
106
+ | `design` | 设计评审阶段 |
107
+ | `development` | 开发阶段 |
108
+ | `testing` | 测试阶段 |
109
+ | `deployment` | 部署阶段 |
110
+
111
+ ---
112
+
113
+ ## 项目结构
114
+
115
+ ```
116
+ myproject/
117
+ ├── docs/
118
+ │ ├── 01-requirements/ # 需求文档
119
+ │ ├── 02-design/ # 设计文档
120
+ │ └── 03-test/ # 测试报告
121
+ ├── state/
122
+ │ └── project_state.yaml # 项目状态
123
+ └── src/ # 源代码
124
+ ```
125
+
126
+ ---
127
+
128
+ ## 详细文档
129
+
130
+ 完整使用指南请参见项目 GitHub 仓库:
131
+ https://github.com/opencode/dual-agent-collaboration-system
132
+
133
+ ---
134
+
135
+ **Author**: liuzhen
136
+ **License**: MIT
@@ -0,0 +1,107 @@
1
+ # 双 Agent 协作开发系统
2
+
3
+ 基于 OpenCode 的双 Agent 协作框架,实现产品经理与开发的分离式协作。
4
+
5
+ ---
6
+
7
+ ## 安装
8
+
9
+ ```bash
10
+ pip install opencode-collaboration
11
+ ```
12
+
13
+ ---
14
+
15
+ ## 快速开始
16
+
17
+ ### 1. 初始化项目
18
+
19
+ ```bash
20
+ # 创建新项目
21
+ oc-collab init myproject
22
+ cd myproject
23
+ ```
24
+
25
+ ### 2. 创建需求文档
26
+
27
+ 编辑 `docs/01-requirements/requirements_v*.md` 文件,定义需求。
28
+
29
+ ### 3. 评审并签署
30
+
31
+ ```bash
32
+ # Agent 2 (开发) 评审需求
33
+ oc-collab review requirements --comment "技术方案可行"
34
+
35
+ # Agent 1 (产品) 签署确认
36
+ oc-collab signoff requirements --comment "同意实现"
37
+ ```
38
+
39
+ ### 4. 推进到下一阶段
40
+
41
+ ```bash
42
+ # 推进到设计阶段
43
+ oc-collab advance -p design
44
+ ```
45
+
46
+ ---
47
+
48
+ ## 常用命令
49
+
50
+ | 命令 | 说明 |
51
+ |------|------|
52
+ | `oc-collab status` | 查看项目状态 |
53
+ | `oc-collab todo` | 查看待办事项 |
54
+ | `oc-collab advance -p <phase>` | 推进到指定阶段 |
55
+ | `oc-collab signoff <stage>` | 签署确认 |
56
+ | `oc-collab history` | 查看协作历史 |
57
+
58
+ ---
59
+
60
+ ## 协作流程
61
+
62
+ ```
63
+ 需求评审 → 设计评审 → 开发完成 → 测试通过 → 部署上线
64
+ ↓ ↓ ↓ ↓ ↓
65
+ 签署 签署 签署 签署 完成
66
+
67
+ 每个阶段必须双方签署后才能进入下一阶段
68
+ ```
69
+
70
+ ---
71
+
72
+ ## 阶段说明
73
+
74
+ | 阶段 | 说明 |
75
+ |------|------|
76
+ | `requirements` | 需求评审阶段 |
77
+ | `design` | 设计评审阶段 |
78
+ | `development` | 开发阶段 |
79
+ | `testing` | 测试阶段 |
80
+ | `deployment` | 部署阶段 |
81
+
82
+ ---
83
+
84
+ ## 项目结构
85
+
86
+ ```
87
+ myproject/
88
+ ├── docs/
89
+ │ ├── 01-requirements/ # 需求文档
90
+ │ ├── 02-design/ # 设计文档
91
+ │ └── 03-test/ # 测试报告
92
+ ├── state/
93
+ │ └── project_state.yaml # 项目状态
94
+ └── src/ # 源代码
95
+ ```
96
+
97
+ ---
98
+
99
+ ## 详细文档
100
+
101
+ 完整使用指南请参见项目 GitHub 仓库:
102
+ https://github.com/opencode/dual-agent-collaboration-system
103
+
104
+ ---
105
+
106
+ **Author**: liuzhen
107
+ **License**: MIT
@@ -0,0 +1,136 @@
1
+ Metadata-Version: 2.4
2
+ Name: opencode-collaboration
3
+ Version: 2.2.0.post1
4
+ Summary: 双Agent协作框架 - 产品经理与开发的分离式协作工具
5
+ Author-email: liuzhen <dev@opencode.ai>
6
+ License: MIT
7
+ Keywords: collaboration,agent,project-management,cli
8
+ Classifier: Development Status :: 3 - Alpha
9
+ Classifier: Intended Audience :: Developers
10
+ Classifier: License :: OSI Approved :: MIT License
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: Programming Language :: Python :: 3.8
13
+ Classifier: Programming Language :: Python :: 3.9
14
+ Classifier: Programming Language :: Python :: 3.10
15
+ Classifier: Programming Language :: Python :: 3.11
16
+ Classifier: Programming Language :: Python :: 3.12
17
+ Requires-Python: >=3.8
18
+ Description-Content-Type: text/markdown
19
+ Requires-Dist: click>=8.0
20
+ Requires-Dist: pyyaml>=6.0
21
+ Requires-Dist: jinja2>=3.0
22
+ Requires-Dist: rich>=12.0
23
+ Requires-Dist: inquirer>=2.0
24
+ Provides-Extra: dev
25
+ Requires-Dist: pytest>=7.0; extra == "dev"
26
+ Requires-Dist: pytest-cov>=4.0; extra == "dev"
27
+ Requires-Dist: black>=23.0; extra == "dev"
28
+ Requires-Dist: flake8>=6.0; extra == "dev"
29
+
30
+ # 双 Agent 协作开发系统
31
+
32
+ 基于 OpenCode 的双 Agent 协作框架,实现产品经理与开发的分离式协作。
33
+
34
+ ---
35
+
36
+ ## 安装
37
+
38
+ ```bash
39
+ pip install opencode-collaboration
40
+ ```
41
+
42
+ ---
43
+
44
+ ## 快速开始
45
+
46
+ ### 1. 初始化项目
47
+
48
+ ```bash
49
+ # 创建新项目
50
+ oc-collab init myproject
51
+ cd myproject
52
+ ```
53
+
54
+ ### 2. 创建需求文档
55
+
56
+ 编辑 `docs/01-requirements/requirements_v*.md` 文件,定义需求。
57
+
58
+ ### 3. 评审并签署
59
+
60
+ ```bash
61
+ # Agent 2 (开发) 评审需求
62
+ oc-collab review requirements --comment "技术方案可行"
63
+
64
+ # Agent 1 (产品) 签署确认
65
+ oc-collab signoff requirements --comment "同意实现"
66
+ ```
67
+
68
+ ### 4. 推进到下一阶段
69
+
70
+ ```bash
71
+ # 推进到设计阶段
72
+ oc-collab advance -p design
73
+ ```
74
+
75
+ ---
76
+
77
+ ## 常用命令
78
+
79
+ | 命令 | 说明 |
80
+ |------|------|
81
+ | `oc-collab status` | 查看项目状态 |
82
+ | `oc-collab todo` | 查看待办事项 |
83
+ | `oc-collab advance -p <phase>` | 推进到指定阶段 |
84
+ | `oc-collab signoff <stage>` | 签署确认 |
85
+ | `oc-collab history` | 查看协作历史 |
86
+
87
+ ---
88
+
89
+ ## 协作流程
90
+
91
+ ```
92
+ 需求评审 → 设计评审 → 开发完成 → 测试通过 → 部署上线
93
+ ↓ ↓ ↓ ↓ ↓
94
+ 签署 签署 签署 签署 完成
95
+
96
+ 每个阶段必须双方签署后才能进入下一阶段
97
+ ```
98
+
99
+ ---
100
+
101
+ ## 阶段说明
102
+
103
+ | 阶段 | 说明 |
104
+ |------|------|
105
+ | `requirements` | 需求评审阶段 |
106
+ | `design` | 设计评审阶段 |
107
+ | `development` | 开发阶段 |
108
+ | `testing` | 测试阶段 |
109
+ | `deployment` | 部署阶段 |
110
+
111
+ ---
112
+
113
+ ## 项目结构
114
+
115
+ ```
116
+ myproject/
117
+ ├── docs/
118
+ │ ├── 01-requirements/ # 需求文档
119
+ │ ├── 02-design/ # 设计文档
120
+ │ └── 03-test/ # 测试报告
121
+ ├── state/
122
+ │ └── project_state.yaml # 项目状态
123
+ └── src/ # 源代码
124
+ ```
125
+
126
+ ---
127
+
128
+ ## 详细文档
129
+
130
+ 完整使用指南请参见项目 GitHub 仓库:
131
+ https://github.com/opencode/dual-agent-collaboration-system
132
+
133
+ ---
134
+
135
+ **Author**: liuzhen
136
+ **License**: MIT
@@ -12,6 +12,7 @@ src/cli/__init__.py
12
12
  src/cli/agent.py
13
13
  src/cli/main.py
14
14
  src/core/__init__.py
15
+ src/core/agent_manager.py
15
16
  src/core/auto_doc_git.py
16
17
  src/core/auto_docs.py
17
18
  src/core/auto_engine.py
@@ -29,13 +30,17 @@ src/core/git.py
29
30
  src/core/git_monitor.py
30
31
  src/core/git_workflow_enforcer.py
31
32
  src/core/iteration_status_manager.py
33
+ src/core/meeting_manager.py
32
34
  src/core/monitor.py
33
35
  src/core/phase_advance.py
36
+ src/core/project_manager.py
37
+ src/core/resource_lock.py
34
38
  src/core/signoff.py
35
39
  src/core/state_machine.py
36
40
  src/core/state_manager.py
37
41
  src/core/state_migrator.py
38
42
  src/core/state_validator.py
43
+ src/core/story_manager.py
39
44
  src/core/supervisor.py
40
45
  src/core/task_executor.py
41
46
  src/core/workflow.py
@@ -49,8 +54,10 @@ tests/test_agent_daemon.py
49
54
  tests/test_agent_daemon_complete.py
50
55
  tests/test_agent_daemon_long_running.py
51
56
  tests/test_agent_daemon_true_long_running.py
57
+ tests/test_agent_manager.py
52
58
  tests/test_auto_git_sync.py
53
59
  tests/test_auto_retry.py
60
+ tests/test_blackbox_v210.py
54
61
  tests/test_brain_engine.py
55
62
  tests/test_config_reloader.py
56
63
  tests/test_daemon.py
@@ -59,6 +66,7 @@ tests/test_design_review_notifier.py
59
66
  tests/test_detector.py
60
67
  tests/test_doc_generator.py
61
68
  tests/test_e2e.py
69
+ tests/test_e2e_v2_2_0.py
62
70
  tests/test_error_templates.py
63
71
  tests/test_exception_handler.py
64
72
  tests/test_git.py
@@ -66,9 +74,12 @@ tests/test_git_monitor.py
66
74
  tests/test_git_workflow_enforcer.py
67
75
  tests/test_iteration_status_manager.py
68
76
  tests/test_m4_enhancements.py
77
+ tests/test_meeting_manager.py
69
78
  tests/test_monitor.py
70
79
  tests/test_package_completeness.py
71
80
  tests/test_phase_advance.py
81
+ tests/test_project_manager.py
82
+ tests/test_resource_lock.py
72
83
  tests/test_signoff.py
73
84
  tests/test_state_machine.py
74
85
  tests/test_state_manager.py
@@ -76,6 +87,7 @@ tests/test_state_manager_v2.py
76
87
  tests/test_state_migration.py
77
88
  tests/test_state_structure_compatibility.py
78
89
  tests/test_state_validator.py
90
+ tests/test_story_manager.py
79
91
  tests/test_supervisor.py
80
92
  tests/test_task_executor.py
81
93
  tests/test_workflow.py
@@ -4,13 +4,13 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "opencode-collaboration"
7
- version = "2.1.0"
7
+ version = "2.2.0.post1"
8
8
  description = "双Agent协作框架 - 产品经理与开发的分离式协作工具"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.8"
11
11
  license = {text = "MIT"}
12
12
  authors = [
13
- {name = "OpenCode", email = "dev@opencode.ai"}
13
+ {name = "liuzhen", email = "dev@opencode.ai"}
14
14
  ]
15
15
  keywords = ["collaboration", "agent", "project-management", "cli"]
16
16
  classifiers = [