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
|
@@ -1,144 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"title": "opencode-multiagent settings",
|
|
4
|
-
"description": "
|
|
4
|
+
"description": "User-overridable settings for the OpenCode multi-agent plugin.",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"additionalProperties": false,
|
|
7
7
|
"properties": {
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"description": "
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
"
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
"enum": ["minimal", "standard", "strict"],
|
|
17
|
-
"description": "Named runtime profile to use as the base flag set."
|
|
18
|
-
},
|
|
19
|
-
"enforcement": {
|
|
20
|
-
"type": "boolean",
|
|
21
|
-
"description": "Enable local path and shell safety enforcement hooks."
|
|
22
|
-
},
|
|
23
|
-
"observation": {
|
|
24
|
-
"type": "boolean",
|
|
25
|
-
"description": "Enable JSONL observation logging for events and tool executions."
|
|
26
|
-
},
|
|
27
|
-
"prompt_controls": {
|
|
28
|
-
"type": "boolean",
|
|
29
|
-
"description": "Enable prompt metadata headers and risky-input logging."
|
|
30
|
-
},
|
|
31
|
-
"agent_compilation": {
|
|
32
|
-
"type": "boolean",
|
|
33
|
-
"description": "Compile bundled, global, and project agent markdown into config."
|
|
34
|
-
},
|
|
35
|
-
"command_compilation": {
|
|
36
|
-
"type": "boolean",
|
|
37
|
-
"description": "Compile bundled, global, and project command markdown into config."
|
|
38
|
-
},
|
|
39
|
-
"mcp_compilation": {
|
|
40
|
-
"type": "boolean",
|
|
41
|
-
"description": "Inject plugin-managed MCP server defaults when missing from config."
|
|
42
|
-
},
|
|
43
|
-
"telemetry": {
|
|
44
|
-
"type": "boolean",
|
|
45
|
-
"description": "Enable detailed agent and tool telemetry in the plugin JSONL log."
|
|
46
|
-
},
|
|
47
|
-
"supervision": {
|
|
48
|
-
"type": "boolean",
|
|
49
|
-
"description": "Enable parent-child idle supervision reminders."
|
|
50
|
-
},
|
|
51
|
-
"quality_gate": {
|
|
52
|
-
"type": "boolean",
|
|
53
|
-
"description": "Enable quality reminder tracking for edited sessions."
|
|
54
|
-
},
|
|
55
|
-
"task_lifecycle": {
|
|
56
|
-
"type": "boolean",
|
|
57
|
-
"description": "Enable automatic task board updates when child sessions complete."
|
|
58
|
-
},
|
|
59
|
-
"quality_gate_enforcement": {
|
|
60
|
-
"type": "boolean",
|
|
61
|
-
"description": "Block task completion via task_update unless verification evidence exists."
|
|
62
|
-
},
|
|
63
|
-
"concurrency_limit": {
|
|
64
|
-
"type": "number",
|
|
65
|
-
"minimum": 0,
|
|
66
|
-
"description": "Maximum parallel child sessions per parent. 0 means unlimited."
|
|
67
|
-
},
|
|
68
|
-
"skill_injection": {
|
|
69
|
-
"type": "boolean",
|
|
70
|
-
"description": "Enable dynamic skill registry lookup and prompt injection."
|
|
71
|
-
},
|
|
72
|
-
"skill_sources": {
|
|
73
|
-
"type": "array",
|
|
74
|
-
"description": "Skill registry search paths. Variables such as ${plugin_root} and ${home} are resolved at runtime.",
|
|
75
|
-
"items": {
|
|
76
|
-
"type": "string",
|
|
77
|
-
"minLength": 1
|
|
78
|
-
},
|
|
79
|
-
"minItems": 1
|
|
80
|
-
},
|
|
81
|
-
"compiler": {
|
|
82
|
-
"type": "object",
|
|
83
|
-
"additionalProperties": false,
|
|
84
|
-
"properties": {
|
|
85
|
-
"permission_compilation": {
|
|
86
|
-
"type": "boolean",
|
|
87
|
-
"description": "Fill missing top-level OpenCode permission defaults conservatively."
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
"experimental": {
|
|
92
|
-
"type": "object",
|
|
93
|
-
"additionalProperties": false,
|
|
94
|
-
"properties": {
|
|
95
|
-
"chat_system_transform": {
|
|
96
|
-
"type": "boolean"
|
|
97
|
-
},
|
|
98
|
-
"chat_messages_transform": {
|
|
99
|
-
"type": "boolean"
|
|
100
|
-
},
|
|
101
|
-
"session_compacting": {
|
|
102
|
-
"type": "boolean"
|
|
103
|
-
},
|
|
104
|
-
"text_complete": {
|
|
105
|
-
"type": "boolean"
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
},
|
|
109
|
-
"supervision_config": {
|
|
110
|
-
"type": "object",
|
|
111
|
-
"additionalProperties": false,
|
|
112
|
-
"properties": {
|
|
113
|
-
"idle_timeout_ms": {
|
|
114
|
-
"type": "number",
|
|
115
|
-
"minimum": 0
|
|
116
|
-
},
|
|
117
|
-
"cooldown_ms": {
|
|
118
|
-
"type": "number",
|
|
119
|
-
"minimum": 0
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
},
|
|
123
|
-
"quality_config": {
|
|
124
|
-
"type": "object",
|
|
125
|
-
"additionalProperties": false,
|
|
126
|
-
"properties": {
|
|
127
|
-
"reminder_idle_ms": {
|
|
128
|
-
"type": "number",
|
|
129
|
-
"minimum": 0
|
|
130
|
-
},
|
|
131
|
-
"reminder_cooldown_ms": {
|
|
132
|
-
"type": "number",
|
|
133
|
-
"minimum": 0
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
}
|
|
8
|
+
"telemetry": {
|
|
9
|
+
"type": "boolean",
|
|
10
|
+
"description": "Enable or disable agent and tool telemetry logging."
|
|
11
|
+
},
|
|
12
|
+
"concurrency_limit": {
|
|
13
|
+
"type": "number",
|
|
14
|
+
"minimum": 0,
|
|
15
|
+
"description": "Maximum parallel child sessions per parent. 0 means unlimited."
|
|
138
16
|
},
|
|
139
17
|
"agentSettings": {
|
|
140
|
-
"title": "
|
|
141
|
-
"description": "
|
|
18
|
+
"title": "Agent model overrides",
|
|
19
|
+
"description": "Per-agent model, temperature, and step overrides.",
|
|
142
20
|
"type": "object",
|
|
143
21
|
"additionalProperties": {
|
|
144
22
|
"type": "object",
|
|
@@ -156,14 +34,37 @@
|
|
|
156
34
|
"steps": {
|
|
157
35
|
"type": "number",
|
|
158
36
|
"minimum": 1
|
|
37
|
+
},
|
|
38
|
+
"top_p": {
|
|
39
|
+
"type": "number",
|
|
40
|
+
"minimum": 0,
|
|
41
|
+
"maximum": 1
|
|
42
|
+
},
|
|
43
|
+
"options": {
|
|
44
|
+
"type": "object",
|
|
45
|
+
"description": "Provider-specific model options (e.g., thinking budget, reasoning mode).",
|
|
46
|
+
"additionalProperties": true
|
|
47
|
+
},
|
|
48
|
+
"timeout_ms": {
|
|
49
|
+
"type": "number",
|
|
50
|
+
"minimum": 0,
|
|
51
|
+
"description": "Absolute timeout in milliseconds for this agent's sessions. 0 = disabled."
|
|
52
|
+
},
|
|
53
|
+
"retry": {
|
|
54
|
+
"type": "number",
|
|
55
|
+
"minimum": 0,
|
|
56
|
+
"description": "Maximum retry attempts on failure. 0 = no retry."
|
|
57
|
+
},
|
|
58
|
+
"escalation_model": {
|
|
59
|
+
"type": "string",
|
|
60
|
+
"description": "Model to escalate to when retries are exhausted."
|
|
159
61
|
}
|
|
160
|
-
}
|
|
161
|
-
"required": ["model"]
|
|
62
|
+
}
|
|
162
63
|
}
|
|
163
64
|
},
|
|
164
65
|
"mcpDefaults": {
|
|
165
|
-
"title": "
|
|
166
|
-
"description": "Plugin-managed MCP server definitions
|
|
66
|
+
"title": "MCP server defaults",
|
|
67
|
+
"description": "Plugin-managed MCP server definitions injected when missing from config.",
|
|
167
68
|
"type": "object",
|
|
168
69
|
"additionalProperties": {
|
|
169
70
|
"type": "object",
|
|
@@ -179,17 +80,12 @@
|
|
|
179
80
|
},
|
|
180
81
|
"command": {
|
|
181
82
|
"type": "array",
|
|
182
|
-
"items": {
|
|
183
|
-
"type": "string",
|
|
184
|
-
"minLength": 1
|
|
185
|
-
},
|
|
83
|
+
"items": { "type": "string", "minLength": 1 },
|
|
186
84
|
"minItems": 1
|
|
187
85
|
},
|
|
188
86
|
"environment": {
|
|
189
87
|
"type": "object",
|
|
190
|
-
"additionalProperties": {
|
|
191
|
-
"type": "string"
|
|
192
|
-
}
|
|
88
|
+
"additionalProperties": { "type": "string" }
|
|
193
89
|
},
|
|
194
90
|
"enabled": {
|
|
195
91
|
"type": "boolean"
|
|
@@ -197,69 +93,6 @@
|
|
|
197
93
|
},
|
|
198
94
|
"required": ["type", "enabled"]
|
|
199
95
|
}
|
|
200
|
-
},
|
|
201
|
-
"profiles": {
|
|
202
|
-
"title": "opencode-multiagent profiles",
|
|
203
|
-
"description": "Named flag bundles for switching plugin behavior by profile.",
|
|
204
|
-
"type": "object",
|
|
205
|
-
"additionalProperties": {
|
|
206
|
-
"type": "object",
|
|
207
|
-
"additionalProperties": false,
|
|
208
|
-
"properties": {
|
|
209
|
-
"enforcement": { "type": "boolean" },
|
|
210
|
-
"observation": { "type": "boolean" },
|
|
211
|
-
"prompt_controls": { "type": "boolean" },
|
|
212
|
-
"agent_compilation": { "type": "boolean" },
|
|
213
|
-
"command_compilation": { "type": "boolean" },
|
|
214
|
-
"mcp_compilation": { "type": "boolean" },
|
|
215
|
-
"telemetry": { "type": "boolean" },
|
|
216
|
-
"supervision": { "type": "boolean" },
|
|
217
|
-
"quality_gate": { "type": "boolean" },
|
|
218
|
-
"task_lifecycle": { "type": "boolean" },
|
|
219
|
-
"quality_gate_enforcement": { "type": "boolean" },
|
|
220
|
-
"concurrency_limit": { "type": "number", "minimum": 0 },
|
|
221
|
-
"skill_injection": { "type": "boolean" },
|
|
222
|
-
"skill_sources": {
|
|
223
|
-
"type": "array",
|
|
224
|
-
"items": { "type": "string", "minLength": 1 },
|
|
225
|
-
"minItems": 1
|
|
226
|
-
},
|
|
227
|
-
"compiler": {
|
|
228
|
-
"type": "object",
|
|
229
|
-
"additionalProperties": false,
|
|
230
|
-
"properties": {
|
|
231
|
-
"permission_compilation": { "type": "boolean" }
|
|
232
|
-
}
|
|
233
|
-
},
|
|
234
|
-
"experimental": {
|
|
235
|
-
"type": "object",
|
|
236
|
-
"additionalProperties": false,
|
|
237
|
-
"properties": {
|
|
238
|
-
"chat_system_transform": { "type": "boolean" },
|
|
239
|
-
"chat_messages_transform": { "type": "boolean" },
|
|
240
|
-
"session_compacting": { "type": "boolean" },
|
|
241
|
-
"text_complete": { "type": "boolean" }
|
|
242
|
-
}
|
|
243
|
-
},
|
|
244
|
-
"supervision_config": {
|
|
245
|
-
"type": "object",
|
|
246
|
-
"additionalProperties": false,
|
|
247
|
-
"properties": {
|
|
248
|
-
"idle_timeout_ms": { "type": "number", "minimum": 0 },
|
|
249
|
-
"cooldown_ms": { "type": "number", "minimum": 0 }
|
|
250
|
-
}
|
|
251
|
-
},
|
|
252
|
-
"quality_config": {
|
|
253
|
-
"type": "object",
|
|
254
|
-
"additionalProperties": false,
|
|
255
|
-
"properties": {
|
|
256
|
-
"reminder_idle_ms": { "type": "number", "minimum": 0 },
|
|
257
|
-
"reminder_cooldown_ms": { "type": "number", "minimum": 0 }
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
96
|
}
|
|
263
|
-
}
|
|
264
|
-
"required": ["flags", "agentSettings", "mcpDefaults", "profiles"]
|
|
97
|
+
}
|
|
265
98
|
}
|