opencode-multiagent 0.4.0 → 0.6.0
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/CHANGELOG.md +19 -0
- package/README.md +1 -1
- package/README.tr.md +1 -1
- package/agents/brainstormer.md +113 -0
- package/commands/brainstorm-conclude.md +14 -0
- package/commands/brainstorm.md +14 -0
- package/defaults/opencode-multiagent.json +64 -105
- package/defaults/opencode-multiagent.schema.json +41 -208
- package/dist/index.js +251 -105
- package/dist/opencode-multiagent/compiler.d.ts.map +1 -1
- package/dist/opencode-multiagent/constants.d.ts +0 -66
- package/dist/opencode-multiagent/constants.d.ts.map +1 -1
- package/dist/opencode-multiagent/defaults.d.ts +0 -2
- package/dist/opencode-multiagent/defaults.d.ts.map +1 -1
- package/dist/opencode-multiagent/hooks.d.ts.map +1 -1
- package/dist/opencode-multiagent/markdown.d.ts.map +1 -1
- package/dist/opencode-multiagent/runtime.d.ts.map +1 -1
- package/dist/opencode-multiagent/supervision.d.ts +4 -0
- package/dist/opencode-multiagent/supervision.d.ts.map +1 -1
- package/dist/opencode-multiagent/task-manager.d.ts +22 -0
- package/dist/opencode-multiagent/task-manager.d.ts.map +1 -1
- package/dist/opencode-multiagent/telemetry.d.ts +6 -0
- package/dist/opencode-multiagent/telemetry.d.ts.map +1 -1
- package/dist/opencode-multiagent/tools.d.ts +11 -0
- package/dist/opencode-multiagent/tools.d.ts.map +1 -1
- package/{agents → docs}/AGENTS.md +6 -2
- package/docs/agents.md +107 -17
- package/docs/agents.tr.md +107 -17
- package/docs/configuration.md +24 -16
- package/docs/configuration.tr.md +24 -17
- package/docs/usage-guide.md +54 -11
- package/docs/usage-guide.tr.md +56 -12
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.6.0](https://github.com/vaur94/opencode-multiagent/compare/v0.5.0...v0.6.0) (2026-03-15)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* add plugin resilience and observability features (token tracking, retry/escalation, timeout, dependency graph, sibling findings, override validation) ([506db74](https://github.com/vaur94/opencode-multiagent/commit/506db749281cc5a1221a727384fa20c3bed1ca4c))
|
|
9
|
+
|
|
10
|
+
## [0.5.0](https://github.com/vaur94/opencode-multiagent/compare/v0.4.0...v0.5.0) (2026-03-15)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* add brainstormer agent and /brainstorm command for pre-planning exploration ([fb29719](https://github.com/vaur94/opencode-multiagent/commit/fb297196269c8fc5a793281a0bd7765546bd210b))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* exclude uppercase documentation files (AGENTS.md) from agent/command compilation ([e993f55](https://github.com/vaur94/opencode-multiagent/commit/e993f55649bd18bb071fbc5053f675bae96ce1b7))
|
|
21
|
+
|
|
3
22
|
## [0.4.0](https://github.com/vaur94/opencode-multiagent/compare/v0.3.0...v0.4.0) (2026-03-15)
|
|
4
23
|
|
|
5
24
|
|
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
`opencode-multiagent` is an OpenCode plugin that installs a structured multi-agent control
|
|
6
6
|
plane through the standard plugin system.
|
|
7
7
|
|
|
8
|
-
-
|
|
8
|
+
- 3 primary agents: `brainstormer`, `planner`, `executor`
|
|
9
9
|
- 7 subagents for coding, review, research, and documentation
|
|
10
10
|
- plugin-managed MCP defaults, telemetry, file locks, supervision, and a shared task board
|
|
11
11
|
- compiled npm package with bundled `agents/`, `commands/`, `defaults/`, `skills/`,
|
package/README.tr.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
`opencode-multiagent`, standart plugin sistemi uzerinden yapilandirilmis bir multi-agent
|
|
6
6
|
kontrol duzlemi kuran bir OpenCode eklentisidir.
|
|
7
7
|
|
|
8
|
-
-
|
|
8
|
+
- 3 ana ajan: `brainstormer`, `planner`, `executor`
|
|
9
9
|
- kodlama, review, arastirma ve dokumantasyon icin 7 alt ajan
|
|
10
10
|
- plugin tarafindan yonetilen MCP varsayilanlari, telemetry, file lock, supervision ve ortak task board
|
|
11
11
|
- `agents/`, `commands/`, `defaults/`, `skills/`, `examples/` ve `docs/` ile birlikte yayinlanan derlenmis npm paketi
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Brainstorming agent that explores ideas with the user before planning begins
|
|
3
|
+
mode: primary
|
|
4
|
+
model: anthropic/claude-opus-4-6
|
|
5
|
+
temperature: 0.3
|
|
6
|
+
steps: 200
|
|
7
|
+
permission:
|
|
8
|
+
'*': deny
|
|
9
|
+
read:
|
|
10
|
+
'*': allow
|
|
11
|
+
'*.env': deny
|
|
12
|
+
'*.env.*': deny
|
|
13
|
+
'*.env.example': allow
|
|
14
|
+
glob: allow
|
|
15
|
+
grep: allow
|
|
16
|
+
list: allow
|
|
17
|
+
lsp: allow
|
|
18
|
+
todoread: allow
|
|
19
|
+
code_index_set_project_path: allow
|
|
20
|
+
code_index_search_code_advanced: allow
|
|
21
|
+
code_index_find_files: allow
|
|
22
|
+
code_index_get_file_summary: allow
|
|
23
|
+
code_index_get_symbol_body: allow
|
|
24
|
+
repo_git_status: allow
|
|
25
|
+
repo_git_diff_unstaged: allow
|
|
26
|
+
repo_git_diff_staged: allow
|
|
27
|
+
repo_git_diff: allow
|
|
28
|
+
repo_git_log: allow
|
|
29
|
+
context7_*: allow
|
|
30
|
+
task:
|
|
31
|
+
'*': deny
|
|
32
|
+
scout: allow
|
|
33
|
+
auditor: allow
|
|
34
|
+
skill:
|
|
35
|
+
'*': deny
|
|
36
|
+
debate: allow
|
|
37
|
+
edit: deny
|
|
38
|
+
bash: deny
|
|
39
|
+
webfetch: deny
|
|
40
|
+
websearch: deny
|
|
41
|
+
codesearch: deny
|
|
42
|
+
external_directory: allow
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
You are `brainstormer`, the pre-planning exploration agent.
|
|
46
|
+
|
|
47
|
+
Role
|
|
48
|
+
|
|
49
|
+
- Explore ideas, directions, and trade-offs with the user before any planning or implementation begins.
|
|
50
|
+
- Deepen the conversation — never rush to conclusions.
|
|
51
|
+
- Surface gaps, unstated assumptions, and alternative approaches the user hasn't considered.
|
|
52
|
+
- When the discussion matures, produce a structured brief that `planner` can act on directly.
|
|
53
|
+
|
|
54
|
+
You do not
|
|
55
|
+
|
|
56
|
+
- write or edit code
|
|
57
|
+
- create plans or task boards
|
|
58
|
+
- make final decisions — the user decides, you challenge and explore
|
|
59
|
+
- give implementation details or technical specs — stay at the conceptual level
|
|
60
|
+
|
|
61
|
+
Conversation style
|
|
62
|
+
|
|
63
|
+
- Every response must include at least one question to the user.
|
|
64
|
+
- Do not immediately agree with the user's first idea. Offer alternatives: "What if we approached it this way instead?", "Have you considered…?", "What happens if we don't do this at all?"
|
|
65
|
+
- When you spot an unexplored area, call it out explicitly: "We haven't discussed X yet — it could matter because…"
|
|
66
|
+
- Keep the tone collaborative and curious, not adversarial. You are a thinking partner, not a critic.
|
|
67
|
+
- Use `scout` to ground the discussion in repository reality when the user makes claims about the codebase.
|
|
68
|
+
- Use `auditor` to stress-test a direction the user feels strongly about, so you can relay concrete concerns.
|
|
69
|
+
- Use `context7_*` queries when framework or library behavior is relevant to the discussion.
|
|
70
|
+
|
|
71
|
+
When to conclude
|
|
72
|
+
|
|
73
|
+
- When the conversation naturally converges and the user seems satisfied with the direction, remind them: "When you're ready, use `/brainstorm:conclude` and I'll package this into a planner-ready brief."
|
|
74
|
+
- Do not conclude on your own. The user decides when brainstorming is done.
|
|
75
|
+
|
|
76
|
+
Output contract (normal turns)
|
|
77
|
+
|
|
78
|
+
```
|
|
79
|
+
## Perspective
|
|
80
|
+
Current understanding of where the discussion stands.
|
|
81
|
+
|
|
82
|
+
## Gaps
|
|
83
|
+
Areas we haven't explored yet that could affect the direction.
|
|
84
|
+
|
|
85
|
+
## Questions
|
|
86
|
+
Concrete questions for the user to consider next.
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
Output contract (`/brainstorm:conclude`)
|
|
90
|
+
|
|
91
|
+
```
|
|
92
|
+
## Discussion Summary
|
|
93
|
+
What we discussed and the key points raised.
|
|
94
|
+
|
|
95
|
+
## Agreed Direction
|
|
96
|
+
The approach the user has chosen, with rationale.
|
|
97
|
+
|
|
98
|
+
## Open Questions
|
|
99
|
+
Anything still unresolved that planner should be aware of.
|
|
100
|
+
|
|
101
|
+
## Planner Brief
|
|
102
|
+
A self-contained prompt that can be handed directly to planner.
|
|
103
|
+
Include: objective, constraints, success criteria, known risks, and any decisions already made.
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
Hard rules
|
|
107
|
+
|
|
108
|
+
- Do not skip questions. Every turn must advance the user's thinking.
|
|
109
|
+
- Do not produce a planner brief unless `/brainstorm:conclude` is invoked.
|
|
110
|
+
- Do not implement code or edit files.
|
|
111
|
+
- Do not create plans, task boards, or execution artifacts.
|
|
112
|
+
- Do not claim the discussion is complete — only the user can decide that.
|
|
113
|
+
- Stay conceptual. If the user asks for code, redirect: "That's an implementation detail — let's nail down the approach first."
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Conclude brainstorming and produce a planner-ready brief
|
|
3
|
+
agent: brainstormer
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
The user wants to conclude the brainstorming session.
|
|
7
|
+
|
|
8
|
+
Requirements:
|
|
9
|
+
|
|
10
|
+
- summarize the full discussion so far
|
|
11
|
+
- state the agreed direction clearly
|
|
12
|
+
- list any open questions that remain unresolved
|
|
13
|
+
- produce a self-contained planner brief that includes: objective, constraints, success criteria, known risks, and decisions already made
|
|
14
|
+
- the brief must be actionable by `planner` without needing to re-read the brainstorming conversation
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Start a brainstorming session to explore an idea before planning
|
|
3
|
+
agent: brainstormer
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Start a brainstorming session about: $ARGUMENTS
|
|
7
|
+
|
|
8
|
+
Requirements:
|
|
9
|
+
|
|
10
|
+
- explore the idea from multiple angles before converging on a direction
|
|
11
|
+
- inspect the current repository reality to ground the discussion
|
|
12
|
+
- challenge assumptions and surface alternatives the user may not have considered
|
|
13
|
+
- identify gaps and open questions early
|
|
14
|
+
- do not rush to a conclusion — the user decides when to wrap up with `/brainstorm:conclude`
|
|
@@ -1,83 +1,104 @@
|
|
|
1
1
|
{
|
|
2
|
-
"flags": {
|
|
3
|
-
"profile": "standard",
|
|
4
|
-
"enforcement": true,
|
|
5
|
-
"observation": true,
|
|
6
|
-
"prompt_controls": true,
|
|
7
|
-
"agent_compilation": true,
|
|
8
|
-
"command_compilation": true,
|
|
9
|
-
"mcp_compilation": true,
|
|
10
|
-
"telemetry": true,
|
|
11
|
-
"supervision": true,
|
|
12
|
-
"quality_gate": true,
|
|
13
|
-
"task_lifecycle": true,
|
|
14
|
-
"quality_gate_enforcement": false,
|
|
15
|
-
"concurrency_limit": 5,
|
|
16
|
-
"skill_sources": ["${plugin_root}/skills", "${home}/.agents/skills", "${home}/skills"],
|
|
17
|
-
"skill_injection": false,
|
|
18
|
-
"compiler": {
|
|
19
|
-
"permission_compilation": true
|
|
20
|
-
},
|
|
21
|
-
"experimental": {
|
|
22
|
-
"chat_system_transform": false,
|
|
23
|
-
"chat_messages_transform": false,
|
|
24
|
-
"session_compacting": false,
|
|
25
|
-
"text_complete": false
|
|
26
|
-
},
|
|
27
|
-
"supervision_config": {
|
|
28
|
-
"idle_timeout_ms": 180000,
|
|
29
|
-
"cooldown_ms": 300000
|
|
30
|
-
},
|
|
31
|
-
"quality_config": {
|
|
32
|
-
"reminder_idle_ms": 120000,
|
|
33
|
-
"reminder_cooldown_ms": 300000
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
2
|
"agentSettings": {
|
|
37
3
|
"planner": {
|
|
38
4
|
"model": "anthropic/claude-opus-4-6",
|
|
39
5
|
"temperature": 0,
|
|
40
|
-
"steps": 200
|
|
6
|
+
"steps": 200,
|
|
7
|
+
"top_p": 1,
|
|
8
|
+
"options": {},
|
|
9
|
+
"timeout_ms": 0,
|
|
10
|
+
"retry": 0,
|
|
11
|
+
"escalation_model": ""
|
|
41
12
|
},
|
|
42
13
|
"executor": {
|
|
43
14
|
"model": "anthropic/claude-sonnet-4-6",
|
|
44
15
|
"temperature": 0,
|
|
45
|
-
"steps": 200
|
|
16
|
+
"steps": 200,
|
|
17
|
+
"top_p": 1,
|
|
18
|
+
"options": {},
|
|
19
|
+
"timeout_ms": 0,
|
|
20
|
+
"retry": 0,
|
|
21
|
+
"escalation_model": ""
|
|
46
22
|
},
|
|
47
23
|
"coder": {
|
|
48
24
|
"model": "anthropic/claude-sonnet-4-6",
|
|
49
25
|
"temperature": 0,
|
|
50
|
-
"steps": 40
|
|
26
|
+
"steps": 40,
|
|
27
|
+
"top_p": 1,
|
|
28
|
+
"options": {},
|
|
29
|
+
"timeout_ms": 0,
|
|
30
|
+
"retry": 0,
|
|
31
|
+
"escalation_model": ""
|
|
51
32
|
},
|
|
52
33
|
"ui-coder": {
|
|
53
34
|
"model": "anthropic/claude-sonnet-4-6",
|
|
54
35
|
"temperature": 0,
|
|
55
|
-
"steps": 40
|
|
36
|
+
"steps": 40,
|
|
37
|
+
"top_p": 1,
|
|
38
|
+
"options": {},
|
|
39
|
+
"timeout_ms": 0,
|
|
40
|
+
"retry": 0,
|
|
41
|
+
"escalation_model": ""
|
|
56
42
|
},
|
|
57
43
|
"sec-coder": {
|
|
58
44
|
"model": "anthropic/claude-opus-4-6",
|
|
59
45
|
"temperature": 0,
|
|
60
|
-
"steps": 60
|
|
46
|
+
"steps": 60,
|
|
47
|
+
"top_p": 1,
|
|
48
|
+
"options": {},
|
|
49
|
+
"timeout_ms": 0,
|
|
50
|
+
"retry": 0,
|
|
51
|
+
"escalation_model": ""
|
|
61
52
|
},
|
|
62
53
|
"reviewer": {
|
|
63
54
|
"model": "anthropic/claude-sonnet-4-6",
|
|
64
55
|
"temperature": 0,
|
|
65
|
-
"steps": 30
|
|
56
|
+
"steps": 30,
|
|
57
|
+
"top_p": 1,
|
|
58
|
+
"options": {},
|
|
59
|
+
"timeout_ms": 0,
|
|
60
|
+
"retry": 0,
|
|
61
|
+
"escalation_model": ""
|
|
66
62
|
},
|
|
67
63
|
"auditor": {
|
|
68
64
|
"model": "anthropic/claude-opus-4-6",
|
|
69
65
|
"temperature": 0,
|
|
70
|
-
"steps": 40
|
|
66
|
+
"steps": 40,
|
|
67
|
+
"top_p": 1,
|
|
68
|
+
"options": {},
|
|
69
|
+
"timeout_ms": 0,
|
|
70
|
+
"retry": 0,
|
|
71
|
+
"escalation_model": ""
|
|
71
72
|
},
|
|
72
73
|
"scout": {
|
|
73
74
|
"model": "anthropic/claude-sonnet-4-6",
|
|
74
75
|
"temperature": 0,
|
|
75
|
-
"steps": 30
|
|
76
|
+
"steps": 30,
|
|
77
|
+
"top_p": 1,
|
|
78
|
+
"options": {},
|
|
79
|
+
"timeout_ms": 0,
|
|
80
|
+
"retry": 0,
|
|
81
|
+
"escalation_model": ""
|
|
76
82
|
},
|
|
77
83
|
"docmaster": {
|
|
78
84
|
"model": "anthropic/claude-sonnet-4-6",
|
|
79
85
|
"temperature": 0,
|
|
80
|
-
"steps": 30
|
|
86
|
+
"steps": 30,
|
|
87
|
+
"top_p": 1,
|
|
88
|
+
"options": {},
|
|
89
|
+
"timeout_ms": 0,
|
|
90
|
+
"retry": 0,
|
|
91
|
+
"escalation_model": ""
|
|
92
|
+
},
|
|
93
|
+
"brainstormer": {
|
|
94
|
+
"model": "anthropic/claude-opus-4-6",
|
|
95
|
+
"temperature": 0.3,
|
|
96
|
+
"steps": 200,
|
|
97
|
+
"top_p": 1,
|
|
98
|
+
"options": {},
|
|
99
|
+
"timeout_ms": 0,
|
|
100
|
+
"retry": 0,
|
|
101
|
+
"escalation_model": ""
|
|
81
102
|
}
|
|
82
103
|
},
|
|
83
104
|
"mcpDefaults": {
|
|
@@ -114,67 +135,5 @@
|
|
|
114
135
|
},
|
|
115
136
|
"enabled": false
|
|
116
137
|
}
|
|
117
|
-
},
|
|
118
|
-
"profiles": {
|
|
119
|
-
"minimal": {
|
|
120
|
-
"enforcement": true,
|
|
121
|
-
"observation": false,
|
|
122
|
-
"prompt_controls": false,
|
|
123
|
-
"agent_compilation": true,
|
|
124
|
-
"command_compilation": true,
|
|
125
|
-
"mcp_compilation": true,
|
|
126
|
-
"telemetry": false,
|
|
127
|
-
"supervision": false,
|
|
128
|
-
"quality_gate": false,
|
|
129
|
-
"task_lifecycle": false,
|
|
130
|
-
"quality_gate_enforcement": false,
|
|
131
|
-
"concurrency_limit": 0,
|
|
132
|
-
"experimental": {
|
|
133
|
-
"chat_system_transform": false,
|
|
134
|
-
"chat_messages_transform": false,
|
|
135
|
-
"session_compacting": false,
|
|
136
|
-
"text_complete": false
|
|
137
|
-
}
|
|
138
|
-
},
|
|
139
|
-
"standard": {
|
|
140
|
-
"enforcement": true,
|
|
141
|
-
"observation": true,
|
|
142
|
-
"prompt_controls": true,
|
|
143
|
-
"agent_compilation": true,
|
|
144
|
-
"command_compilation": true,
|
|
145
|
-
"mcp_compilation": true,
|
|
146
|
-
"telemetry": true,
|
|
147
|
-
"supervision": true,
|
|
148
|
-
"quality_gate": true,
|
|
149
|
-
"task_lifecycle": true,
|
|
150
|
-
"quality_gate_enforcement": false,
|
|
151
|
-
"concurrency_limit": 5,
|
|
152
|
-
"experimental": {
|
|
153
|
-
"chat_system_transform": false,
|
|
154
|
-
"chat_messages_transform": false,
|
|
155
|
-
"session_compacting": false,
|
|
156
|
-
"text_complete": false
|
|
157
|
-
}
|
|
158
|
-
},
|
|
159
|
-
"strict": {
|
|
160
|
-
"enforcement": true,
|
|
161
|
-
"observation": true,
|
|
162
|
-
"prompt_controls": true,
|
|
163
|
-
"agent_compilation": true,
|
|
164
|
-
"command_compilation": true,
|
|
165
|
-
"mcp_compilation": true,
|
|
166
|
-
"telemetry": true,
|
|
167
|
-
"supervision": true,
|
|
168
|
-
"quality_gate": true,
|
|
169
|
-
"task_lifecycle": true,
|
|
170
|
-
"quality_gate_enforcement": true,
|
|
171
|
-
"concurrency_limit": 5,
|
|
172
|
-
"experimental": {
|
|
173
|
-
"chat_system_transform": true,
|
|
174
|
-
"chat_messages_transform": true,
|
|
175
|
-
"session_compacting": true,
|
|
176
|
-
"text_complete": true
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
138
|
}
|
|
180
139
|
}
|