opencode-multiagent 0.3.0-next.1 → 0.5.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.
Files changed (96) hide show
  1. package/AGENTS.md +21 -0
  2. package/CHANGELOG.md +25 -0
  3. package/README.md +4 -4
  4. package/README.tr.md +4 -4
  5. package/agents/AGENTS.md +95 -0
  6. package/agents/auditor.md +59 -17
  7. package/agents/brainstormer.md +113 -0
  8. package/agents/{worker.md → coder.md} +12 -10
  9. package/agents/{scribe.md → docmaster.md} +16 -8
  10. package/agents/executor.md +45 -62
  11. package/agents/planner.md +59 -47
  12. package/agents/reviewer.md +22 -9
  13. package/agents/scout.md +16 -12
  14. package/agents/sec-coder.md +83 -0
  15. package/agents/ui-coder.md +77 -0
  16. package/commands/board.md +17 -0
  17. package/commands/brainstorm-conclude.md +14 -0
  18. package/commands/brainstorm.md +14 -0
  19. package/commands/execute.md +8 -7
  20. package/commands/init-deep.md +6 -6
  21. package/commands/init.md +4 -5
  22. package/commands/inspect.md +5 -5
  23. package/commands/plan.md +7 -6
  24. package/commands/quality.md +3 -3
  25. package/commands/review.md +4 -3
  26. package/commands/status.md +4 -3
  27. package/defaults/AGENTS.md +48 -0
  28. package/defaults/opencode-multiagent.json +16 -150
  29. package/defaults/opencode-multiagent.schema.json +16 -190
  30. package/dist/index.js +471 -218
  31. package/dist/opencode-multiagent/compiler.d.ts +8 -2
  32. package/dist/opencode-multiagent/compiler.d.ts.map +1 -1
  33. package/dist/opencode-multiagent/constants.d.ts +3 -57
  34. package/dist/opencode-multiagent/constants.d.ts.map +1 -1
  35. package/dist/opencode-multiagent/correlation.d.ts +21 -0
  36. package/dist/opencode-multiagent/correlation.d.ts.map +1 -0
  37. package/dist/opencode-multiagent/defaults.d.ts +0 -2
  38. package/dist/opencode-multiagent/defaults.d.ts.map +1 -1
  39. package/dist/opencode-multiagent/hooks.d.ts.map +1 -1
  40. package/dist/opencode-multiagent/log.d.ts.map +1 -1
  41. package/dist/opencode-multiagent/markdown.d.ts.map +1 -1
  42. package/dist/opencode-multiagent/quality.d.ts +4 -0
  43. package/dist/opencode-multiagent/quality.d.ts.map +1 -1
  44. package/dist/opencode-multiagent/runtime.d.ts.map +1 -1
  45. package/dist/opencode-multiagent/supervision.d.ts +14 -0
  46. package/dist/opencode-multiagent/supervision.d.ts.map +1 -1
  47. package/dist/opencode-multiagent/task-manager.d.ts +8 -2
  48. package/dist/opencode-multiagent/task-manager.d.ts.map +1 -1
  49. package/dist/opencode-multiagent/telemetry.d.ts +2 -0
  50. package/dist/opencode-multiagent/telemetry.d.ts.map +1 -1
  51. package/dist/opencode-multiagent/tools.d.ts +32 -1
  52. package/dist/opencode-multiagent/tools.d.ts.map +1 -1
  53. package/docs/agents.md +77 -175
  54. package/docs/agents.tr.md +78 -175
  55. package/docs/configuration.md +17 -27
  56. package/docs/configuration.tr.md +17 -27
  57. package/docs/usage-guide.md +35 -34
  58. package/docs/usage-guide.tr.md +36 -35
  59. package/examples/opencode.with-overrides.json +2 -2
  60. package/package.json +1 -1
  61. package/skills/AGENTS.md +51 -0
  62. package/skills/advanced-evaluation/manifest.json +1 -1
  63. package/skills/cek-context-engineering/manifest.json +1 -1
  64. package/skills/cek-prompt-engineering/manifest.json +1 -1
  65. package/skills/cek-test-prompt/manifest.json +1 -1
  66. package/skills/cek-thought-based-reasoning/manifest.json +1 -1
  67. package/skills/context-degradation/manifest.json +1 -1
  68. package/skills/debate/manifest.json +1 -1
  69. package/skills/design-first/manifest.json +1 -1
  70. package/skills/dispatching-parallel-agents/manifest.json +1 -1
  71. package/skills/drift-analysis/manifest.json +1 -1
  72. package/skills/evaluation/manifest.json +1 -1
  73. package/skills/parallel-investigation/manifest.json +1 -1
  74. package/skills/reflexion-critique/manifest.json +1 -1
  75. package/skills/reflexion-reflect/manifest.json +1 -1
  76. package/skills/root-cause-analysis/manifest.json +1 -1
  77. package/skills/sadd-judge-with-debate/manifest.json +1 -1
  78. package/skills/structured-code-review/manifest.json +1 -1
  79. package/skills/task-decomposition/manifest.json +1 -1
  80. package/skills/verification-before-completion/manifest.json +1 -1
  81. package/skills/verification-gates/manifest.json +1 -1
  82. package/agents/advisor.md +0 -60
  83. package/agents/critic.md +0 -136
  84. package/agents/deep-worker.md +0 -69
  85. package/agents/devil.md +0 -38
  86. package/agents/heavy-worker.md +0 -72
  87. package/agents/lead.md +0 -147
  88. package/agents/librarian.md +0 -66
  89. package/agents/qa.md +0 -53
  90. package/agents/quick.md +0 -70
  91. package/agents/strategist.md +0 -66
  92. package/agents/ui-heavy-worker.md +0 -66
  93. package/agents/ui-worker.md +0 -74
  94. package/agents/validator.md +0 -50
  95. package/dist/opencode-multiagent/file-lock.d.ts +0 -15
  96. package/dist/opencode-multiagent/file-lock.d.ts.map +0 -1
@@ -1,131 +1,22 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "title": "opencode-multiagent settings",
4
- "description": "Unified bundled settings and schema surface for the OpenCode multi-agent plugin.",
4
+ "description": "User-overridable settings for the OpenCode multi-agent plugin.",
5
5
  "type": "object",
6
6
  "additionalProperties": false,
7
7
  "properties": {
8
- "flags": {
9
- "title": "opencode-multiagent flags",
10
- "description": "Partial runtime overrides for the OpenCode multi-agent control plane plugin.",
11
- "type": "object",
12
- "additionalProperties": false,
13
- "properties": {
14
- "profile": {
15
- "type": "string",
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
- "skill_injection": {
56
- "type": "boolean",
57
- "description": "Enable dynamic skill registry lookup and prompt injection."
58
- },
59
- "skill_sources": {
60
- "type": "array",
61
- "description": "Skill registry search paths. Variables such as ${plugin_root} and ${home} are resolved at runtime.",
62
- "items": {
63
- "type": "string",
64
- "minLength": 1
65
- },
66
- "minItems": 1
67
- },
68
- "compiler": {
69
- "type": "object",
70
- "additionalProperties": false,
71
- "properties": {
72
- "permission_compilation": {
73
- "type": "boolean",
74
- "description": "Fill missing top-level OpenCode permission defaults conservatively."
75
- }
76
- }
77
- },
78
- "experimental": {
79
- "type": "object",
80
- "additionalProperties": false,
81
- "properties": {
82
- "chat_system_transform": {
83
- "type": "boolean"
84
- },
85
- "chat_messages_transform": {
86
- "type": "boolean"
87
- },
88
- "session_compacting": {
89
- "type": "boolean"
90
- },
91
- "text_complete": {
92
- "type": "boolean"
93
- }
94
- }
95
- },
96
- "supervision_config": {
97
- "type": "object",
98
- "additionalProperties": false,
99
- "properties": {
100
- "idle_timeout_ms": {
101
- "type": "number",
102
- "minimum": 0
103
- },
104
- "cooldown_ms": {
105
- "type": "number",
106
- "minimum": 0
107
- }
108
- }
109
- },
110
- "quality_config": {
111
- "type": "object",
112
- "additionalProperties": false,
113
- "properties": {
114
- "reminder_idle_ms": {
115
- "type": "number",
116
- "minimum": 0
117
- },
118
- "reminder_cooldown_ms": {
119
- "type": "number",
120
- "minimum": 0
121
- }
122
- }
123
- }
124
- }
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."
125
16
  },
126
17
  "agentSettings": {
127
- "title": "opencode-multiagent agent settings",
128
- "description": "Central model, temperature, and step overrides per bundled agent.",
18
+ "title": "Agent model overrides",
19
+ "description": "Per-agent model, temperature, and step overrides.",
129
20
  "type": "object",
130
21
  "additionalProperties": {
131
22
  "type": "object",
@@ -149,8 +40,8 @@
149
40
  }
150
41
  },
151
42
  "mcpDefaults": {
152
- "title": "opencode-multiagent MCP defaults",
153
- "description": "Plugin-managed MCP server definitions that are conservatively injected when missing from the active OpenCode config.",
43
+ "title": "MCP server defaults",
44
+ "description": "Plugin-managed MCP server definitions injected when missing from config.",
154
45
  "type": "object",
155
46
  "additionalProperties": {
156
47
  "type": "object",
@@ -166,17 +57,12 @@
166
57
  },
167
58
  "command": {
168
59
  "type": "array",
169
- "items": {
170
- "type": "string",
171
- "minLength": 1
172
- },
60
+ "items": { "type": "string", "minLength": 1 },
173
61
  "minItems": 1
174
62
  },
175
63
  "environment": {
176
64
  "type": "object",
177
- "additionalProperties": {
178
- "type": "string"
179
- }
65
+ "additionalProperties": { "type": "string" }
180
66
  },
181
67
  "enabled": {
182
68
  "type": "boolean"
@@ -184,66 +70,6 @@
184
70
  },
185
71
  "required": ["type", "enabled"]
186
72
  }
187
- },
188
- "profiles": {
189
- "title": "opencode-multiagent profiles",
190
- "description": "Named flag bundles for switching plugin behavior by profile.",
191
- "type": "object",
192
- "additionalProperties": {
193
- "type": "object",
194
- "additionalProperties": false,
195
- "properties": {
196
- "enforcement": { "type": "boolean" },
197
- "observation": { "type": "boolean" },
198
- "prompt_controls": { "type": "boolean" },
199
- "agent_compilation": { "type": "boolean" },
200
- "command_compilation": { "type": "boolean" },
201
- "mcp_compilation": { "type": "boolean" },
202
- "telemetry": { "type": "boolean" },
203
- "supervision": { "type": "boolean" },
204
- "quality_gate": { "type": "boolean" },
205
- "skill_injection": { "type": "boolean" },
206
- "skill_sources": {
207
- "type": "array",
208
- "items": { "type": "string", "minLength": 1 },
209
- "minItems": 1
210
- },
211
- "compiler": {
212
- "type": "object",
213
- "additionalProperties": false,
214
- "properties": {
215
- "permission_compilation": { "type": "boolean" }
216
- }
217
- },
218
- "experimental": {
219
- "type": "object",
220
- "additionalProperties": false,
221
- "properties": {
222
- "chat_system_transform": { "type": "boolean" },
223
- "chat_messages_transform": { "type": "boolean" },
224
- "session_compacting": { "type": "boolean" },
225
- "text_complete": { "type": "boolean" }
226
- }
227
- },
228
- "supervision_config": {
229
- "type": "object",
230
- "additionalProperties": false,
231
- "properties": {
232
- "idle_timeout_ms": { "type": "number", "minimum": 0 },
233
- "cooldown_ms": { "type": "number", "minimum": 0 }
234
- }
235
- },
236
- "quality_config": {
237
- "type": "object",
238
- "additionalProperties": false,
239
- "properties": {
240
- "reminder_idle_ms": { "type": "number", "minimum": 0 },
241
- "reminder_cooldown_ms": { "type": "number", "minimum": 0 }
242
- }
243
- }
244
- }
245
- }
246
73
  }
247
- },
248
- "required": ["flags", "agentSettings", "mcpDefaults", "profiles"]
74
+ }
249
75
  }