opencode-multiagent 0.2.1 → 0.3.0-next.1
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/AGENTS.md +62 -0
- package/CHANGELOG.md +18 -0
- package/CONTRIBUTING.md +36 -0
- package/README.md +41 -165
- package/README.tr.md +84 -0
- package/RELEASE.md +68 -0
- package/agents/advisor.md +9 -6
- package/agents/auditor.md +8 -6
- package/agents/critic.md +19 -10
- package/agents/deep-worker.md +11 -7
- package/agents/devil.md +3 -1
- package/agents/executor.md +20 -19
- package/agents/heavy-worker.md +11 -7
- package/agents/lead.md +22 -30
- package/agents/librarian.md +6 -2
- package/agents/planner.md +18 -10
- package/agents/qa.md +9 -6
- package/agents/quick.md +12 -7
- package/agents/reviewer.md +9 -6
- package/agents/scout.md +9 -5
- package/agents/scribe.md +33 -28
- package/agents/strategist.md +10 -7
- package/agents/ui-heavy-worker.md +11 -7
- package/agents/ui-worker.md +12 -7
- package/agents/validator.md +8 -5
- package/agents/worker.md +12 -7
- package/commands/execute.md +1 -0
- package/commands/init-deep.md +1 -0
- package/commands/init.md +1 -0
- package/commands/inspect.md +1 -0
- package/commands/plan.md +1 -0
- package/commands/quality.md +1 -0
- package/commands/review.md +1 -0
- package/commands/status.md +1 -0
- package/defaults/opencode-multiagent.json +223 -0
- package/defaults/opencode-multiagent.schema.json +249 -0
- package/dist/control-plane.d.ts +4 -0
- package/dist/control-plane.d.ts.map +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1583 -0
- package/dist/opencode-multiagent/compiler.d.ts +19 -0
- package/dist/opencode-multiagent/compiler.d.ts.map +1 -0
- package/dist/opencode-multiagent/constants.d.ts +116 -0
- package/dist/opencode-multiagent/constants.d.ts.map +1 -0
- package/dist/opencode-multiagent/defaults.d.ts +10 -0
- package/dist/opencode-multiagent/defaults.d.ts.map +1 -0
- package/dist/opencode-multiagent/file-lock.d.ts +15 -0
- package/dist/opencode-multiagent/file-lock.d.ts.map +1 -0
- package/dist/opencode-multiagent/hooks.d.ts +62 -0
- package/dist/opencode-multiagent/hooks.d.ts.map +1 -0
- package/dist/opencode-multiagent/log.d.ts +2 -0
- package/dist/opencode-multiagent/log.d.ts.map +1 -0
- package/dist/opencode-multiagent/markdown.d.ts +8 -0
- package/dist/opencode-multiagent/markdown.d.ts.map +1 -0
- package/dist/opencode-multiagent/mcp.d.ts +3 -0
- package/dist/opencode-multiagent/mcp.d.ts.map +1 -0
- package/dist/opencode-multiagent/policy.d.ts +5 -0
- package/dist/opencode-multiagent/policy.d.ts.map +1 -0
- package/dist/opencode-multiagent/quality.d.ts +14 -0
- package/dist/opencode-multiagent/quality.d.ts.map +1 -0
- package/dist/opencode-multiagent/runtime.d.ts +7 -0
- package/dist/opencode-multiagent/runtime.d.ts.map +1 -0
- package/dist/opencode-multiagent/session-tracker.d.ts +32 -0
- package/dist/opencode-multiagent/session-tracker.d.ts.map +1 -0
- package/dist/opencode-multiagent/skills.d.ts +17 -0
- package/dist/opencode-multiagent/skills.d.ts.map +1 -0
- package/dist/opencode-multiagent/supervision.d.ts +12 -0
- package/dist/opencode-multiagent/supervision.d.ts.map +1 -0
- package/dist/opencode-multiagent/task-manager.d.ts +48 -0
- package/dist/opencode-multiagent/task-manager.d.ts.map +1 -0
- package/dist/opencode-multiagent/telemetry.d.ts +26 -0
- package/dist/opencode-multiagent/telemetry.d.ts.map +1 -0
- package/dist/opencode-multiagent/tools.d.ts +56 -0
- package/dist/opencode-multiagent/tools.d.ts.map +1 -0
- package/dist/opencode-multiagent/types.d.ts +36 -0
- package/dist/opencode-multiagent/types.d.ts.map +1 -0
- package/dist/opencode-multiagent/utils.d.ts +9 -0
- package/dist/opencode-multiagent/utils.d.ts.map +1 -0
- package/docs/agents.md +260 -0
- package/docs/agents.tr.md +260 -0
- package/docs/configuration.md +255 -0
- package/docs/configuration.tr.md +255 -0
- package/docs/usage-guide.md +226 -0
- package/docs/usage-guide.tr.md +227 -0
- package/examples/opencode.with-overrides.json +1 -5
- package/package.json +23 -13
- package/skills/advanced-evaluation/SKILL.md +37 -21
- package/skills/advanced-evaluation/manifest.json +2 -13
- package/skills/cek-context-engineering/SKILL.md +159 -87
- package/skills/cek-context-engineering/manifest.json +1 -3
- package/skills/cek-prompt-engineering/SKILL.md +13 -10
- package/skills/cek-prompt-engineering/manifest.json +1 -3
- package/skills/cek-test-prompt/SKILL.md +38 -28
- package/skills/cek-test-prompt/manifest.json +1 -3
- package/skills/cek-thought-based-reasoning/SKILL.md +75 -21
- package/skills/cek-thought-based-reasoning/manifest.json +1 -3
- package/skills/context-degradation/SKILL.md +14 -13
- package/skills/context-degradation/manifest.json +1 -3
- package/skills/debate/SKILL.md +23 -78
- package/skills/debate/manifest.json +2 -12
- package/skills/design-first/manifest.json +2 -13
- package/skills/dispatching-parallel-agents/SKILL.md +14 -3
- package/skills/dispatching-parallel-agents/manifest.json +1 -4
- package/skills/drift-analysis/SKILL.md +50 -29
- package/skills/drift-analysis/manifest.json +2 -12
- package/skills/evaluation/manifest.json +2 -12
- package/skills/executing-plans/SKILL.md +15 -8
- package/skills/executing-plans/manifest.json +1 -3
- package/skills/handoff-protocols/manifest.json +2 -12
- package/skills/parallel-investigation/SKILL.md +25 -12
- package/skills/parallel-investigation/manifest.json +1 -4
- package/skills/reflexion-critique/SKILL.md +21 -10
- package/skills/reflexion-critique/manifest.json +1 -3
- package/skills/reflexion-reflect/SKILL.md +36 -34
- package/skills/reflexion-reflect/manifest.json +2 -10
- package/skills/root-cause-analysis/manifest.json +2 -13
- package/skills/sadd-judge-with-debate/SKILL.md +50 -26
- package/skills/sadd-judge-with-debate/manifest.json +1 -3
- package/skills/structured-code-review/manifest.json +2 -11
- package/skills/task-decomposition/manifest.json +2 -13
- package/skills/verification-before-completion/manifest.json +2 -15
- package/skills/verification-gates/SKILL.md +27 -19
- package/skills/verification-gates/manifest.json +2 -12
- package/defaults/agent-settings.json +0 -102
- package/defaults/agent-settings.schema.json +0 -25
- package/defaults/flags.json +0 -35
- package/defaults/flags.schema.json +0 -119
- package/defaults/mcp-defaults.json +0 -47
- package/defaults/mcp-defaults.schema.json +0 -38
- package/defaults/profiles.json +0 -53
- package/defaults/profiles.schema.json +0 -60
- package/defaults/team-profiles.json +0 -83
- package/src/control-plane.ts +0 -21
- package/src/index.ts +0 -8
- package/src/opencode-multiagent/compiler.ts +0 -168
- package/src/opencode-multiagent/constants.ts +0 -178
- package/src/opencode-multiagent/file-lock.ts +0 -90
- package/src/opencode-multiagent/hooks.ts +0 -599
- package/src/opencode-multiagent/log.ts +0 -12
- package/src/opencode-multiagent/mailbox.ts +0 -287
- package/src/opencode-multiagent/markdown.ts +0 -99
- package/src/opencode-multiagent/mcp.ts +0 -35
- package/src/opencode-multiagent/policy.ts +0 -67
- package/src/opencode-multiagent/quality.ts +0 -140
- package/src/opencode-multiagent/runtime.ts +0 -55
- package/src/opencode-multiagent/skills.ts +0 -144
- package/src/opencode-multiagent/supervision.ts +0 -156
- package/src/opencode-multiagent/task-manager.ts +0 -148
- package/src/opencode-multiagent/team-manager.ts +0 -219
- package/src/opencode-multiagent/team-tools.ts +0 -359
- package/src/opencode-multiagent/telemetry.ts +0 -124
- package/src/opencode-multiagent/utils.ts +0 -54
|
@@ -0,0 +1,223 @@
|
|
|
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
|
+
"skill_sources": ["${plugin_root}/skills", "${home}/.agents/skills", "${home}/skills"],
|
|
14
|
+
"skill_injection": false,
|
|
15
|
+
"compiler": {
|
|
16
|
+
"permission_compilation": true
|
|
17
|
+
},
|
|
18
|
+
"experimental": {
|
|
19
|
+
"chat_system_transform": false,
|
|
20
|
+
"chat_messages_transform": false,
|
|
21
|
+
"session_compacting": false,
|
|
22
|
+
"text_complete": false
|
|
23
|
+
},
|
|
24
|
+
"supervision_config": {
|
|
25
|
+
"idle_timeout_ms": 180000,
|
|
26
|
+
"cooldown_ms": 300000
|
|
27
|
+
},
|
|
28
|
+
"quality_config": {
|
|
29
|
+
"reminder_idle_ms": 120000,
|
|
30
|
+
"reminder_cooldown_ms": 300000
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"agentSettings": {
|
|
34
|
+
"lead": {
|
|
35
|
+
"model": "anthropic/claude-opus-4-6",
|
|
36
|
+
"temperature": 0,
|
|
37
|
+
"steps": 500
|
|
38
|
+
},
|
|
39
|
+
"critic": {
|
|
40
|
+
"model": "openai/gpt-5.4",
|
|
41
|
+
"temperature": 0,
|
|
42
|
+
"steps": 200
|
|
43
|
+
},
|
|
44
|
+
"planner": {
|
|
45
|
+
"model": "anthropic/claude-opus-4-6",
|
|
46
|
+
"temperature": 0,
|
|
47
|
+
"steps": 100
|
|
48
|
+
},
|
|
49
|
+
"executor": {
|
|
50
|
+
"model": "anthropic/claude-sonnet-4-6",
|
|
51
|
+
"temperature": 0,
|
|
52
|
+
"steps": 200
|
|
53
|
+
},
|
|
54
|
+
"scout": {
|
|
55
|
+
"model": "anthropic/claude-sonnet-4-6",
|
|
56
|
+
"temperature": 0,
|
|
57
|
+
"steps": 24
|
|
58
|
+
},
|
|
59
|
+
"worker": {
|
|
60
|
+
"model": "openai/gpt-5.3-codex",
|
|
61
|
+
"temperature": 0,
|
|
62
|
+
"steps": 30
|
|
63
|
+
},
|
|
64
|
+
"heavy-worker": {
|
|
65
|
+
"model": "openai/gpt-5.4",
|
|
66
|
+
"temperature": 0,
|
|
67
|
+
"steps": 40
|
|
68
|
+
},
|
|
69
|
+
"deep-worker": {
|
|
70
|
+
"model": "anthropic/claude-opus-4-6",
|
|
71
|
+
"temperature": 0,
|
|
72
|
+
"steps": 60
|
|
73
|
+
},
|
|
74
|
+
"ui-worker": {
|
|
75
|
+
"model": "anthropic/claude-opus-4-6",
|
|
76
|
+
"temperature": 0,
|
|
77
|
+
"steps": 30
|
|
78
|
+
},
|
|
79
|
+
"ui-heavy-worker": {
|
|
80
|
+
"model": "anthropic/claude-opus-4-6",
|
|
81
|
+
"temperature": 0,
|
|
82
|
+
"steps": 40
|
|
83
|
+
},
|
|
84
|
+
"quick": {
|
|
85
|
+
"model": "opencode-go/minimax-m2.5",
|
|
86
|
+
"temperature": 0,
|
|
87
|
+
"steps": 16
|
|
88
|
+
},
|
|
89
|
+
"reviewer": {
|
|
90
|
+
"model": "github-copilot/grok-code-fast-1",
|
|
91
|
+
"temperature": 0,
|
|
92
|
+
"steps": 24
|
|
93
|
+
},
|
|
94
|
+
"validator": {
|
|
95
|
+
"model": "openai/gpt-5.3-codex",
|
|
96
|
+
"temperature": 0,
|
|
97
|
+
"steps": 24
|
|
98
|
+
},
|
|
99
|
+
"qa": {
|
|
100
|
+
"model": "openai/gpt-5.4",
|
|
101
|
+
"temperature": 0,
|
|
102
|
+
"steps": 24
|
|
103
|
+
},
|
|
104
|
+
"advisor": {
|
|
105
|
+
"model": "openai/gpt-5.4",
|
|
106
|
+
"temperature": 0,
|
|
107
|
+
"steps": 20
|
|
108
|
+
},
|
|
109
|
+
"auditor": {
|
|
110
|
+
"model": "openai/gpt-5.4",
|
|
111
|
+
"temperature": 0,
|
|
112
|
+
"steps": 24
|
|
113
|
+
},
|
|
114
|
+
"strategist": {
|
|
115
|
+
"model": "anthropic/claude-opus-4-6",
|
|
116
|
+
"temperature": 0,
|
|
117
|
+
"steps": 20
|
|
118
|
+
},
|
|
119
|
+
"devil": {
|
|
120
|
+
"model": "anthropic/claude-sonnet-4-6",
|
|
121
|
+
"temperature": 0,
|
|
122
|
+
"steps": 8
|
|
123
|
+
},
|
|
124
|
+
"scribe": {
|
|
125
|
+
"model": "anthropic/claude-sonnet-4-6",
|
|
126
|
+
"temperature": 0,
|
|
127
|
+
"steps": 30
|
|
128
|
+
},
|
|
129
|
+
"librarian": {
|
|
130
|
+
"model": "anthropic/claude-sonnet-4-6",
|
|
131
|
+
"temperature": 0,
|
|
132
|
+
"steps": 24
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"mcpDefaults": {
|
|
136
|
+
"code_index": {
|
|
137
|
+
"type": "local",
|
|
138
|
+
"command": ["python3", "-m", "code_index_mcp.server"],
|
|
139
|
+
"enabled": true
|
|
140
|
+
},
|
|
141
|
+
"repo": {
|
|
142
|
+
"type": "local",
|
|
143
|
+
"command": ["python3", "-m", "mcp_server_git"],
|
|
144
|
+
"enabled": true
|
|
145
|
+
},
|
|
146
|
+
"context7": {
|
|
147
|
+
"type": "remote",
|
|
148
|
+
"url": "https://mcp.context7.com/mcp",
|
|
149
|
+
"enabled": false
|
|
150
|
+
},
|
|
151
|
+
"exa": {
|
|
152
|
+
"type": "remote",
|
|
153
|
+
"url": "https://mcp.exa.ai/mcp",
|
|
154
|
+
"enabled": false
|
|
155
|
+
},
|
|
156
|
+
"gh_grep": {
|
|
157
|
+
"type": "remote",
|
|
158
|
+
"url": "https://mcp.grep.app",
|
|
159
|
+
"enabled": false
|
|
160
|
+
},
|
|
161
|
+
"github": {
|
|
162
|
+
"type": "local",
|
|
163
|
+
"command": ["npx", "-y", "@modelcontextprotocol/server-github"],
|
|
164
|
+
"environment": {
|
|
165
|
+
"GITHUB_PERSONAL_ACCESS_TOKEN": "{env:GITHUB_PAT_TOKEN}"
|
|
166
|
+
},
|
|
167
|
+
"enabled": false
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
"profiles": {
|
|
171
|
+
"minimal": {
|
|
172
|
+
"enforcement": true,
|
|
173
|
+
"observation": false,
|
|
174
|
+
"prompt_controls": false,
|
|
175
|
+
"agent_compilation": true,
|
|
176
|
+
"command_compilation": true,
|
|
177
|
+
"mcp_compilation": true,
|
|
178
|
+
"telemetry": false,
|
|
179
|
+
"supervision": false,
|
|
180
|
+
"quality_gate": false,
|
|
181
|
+
"experimental": {
|
|
182
|
+
"chat_system_transform": false,
|
|
183
|
+
"chat_messages_transform": false,
|
|
184
|
+
"session_compacting": false,
|
|
185
|
+
"text_complete": false
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
"standard": {
|
|
189
|
+
"enforcement": true,
|
|
190
|
+
"observation": true,
|
|
191
|
+
"prompt_controls": true,
|
|
192
|
+
"agent_compilation": true,
|
|
193
|
+
"command_compilation": true,
|
|
194
|
+
"mcp_compilation": true,
|
|
195
|
+
"telemetry": true,
|
|
196
|
+
"supervision": true,
|
|
197
|
+
"quality_gate": true,
|
|
198
|
+
"experimental": {
|
|
199
|
+
"chat_system_transform": false,
|
|
200
|
+
"chat_messages_transform": false,
|
|
201
|
+
"session_compacting": false,
|
|
202
|
+
"text_complete": false
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
"strict": {
|
|
206
|
+
"enforcement": true,
|
|
207
|
+
"observation": true,
|
|
208
|
+
"prompt_controls": true,
|
|
209
|
+
"agent_compilation": true,
|
|
210
|
+
"command_compilation": true,
|
|
211
|
+
"mcp_compilation": true,
|
|
212
|
+
"telemetry": true,
|
|
213
|
+
"supervision": true,
|
|
214
|
+
"quality_gate": true,
|
|
215
|
+
"experimental": {
|
|
216
|
+
"chat_system_transform": true,
|
|
217
|
+
"chat_messages_transform": true,
|
|
218
|
+
"session_compacting": true,
|
|
219
|
+
"text_complete": true
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
}
|
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "opencode-multiagent settings",
|
|
4
|
+
"description": "Unified bundled settings and schema surface for the OpenCode multi-agent plugin.",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
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
|
+
}
|
|
125
|
+
},
|
|
126
|
+
"agentSettings": {
|
|
127
|
+
"title": "opencode-multiagent agent settings",
|
|
128
|
+
"description": "Central model, temperature, and step overrides per bundled agent.",
|
|
129
|
+
"type": "object",
|
|
130
|
+
"additionalProperties": {
|
|
131
|
+
"type": "object",
|
|
132
|
+
"additionalProperties": false,
|
|
133
|
+
"properties": {
|
|
134
|
+
"model": {
|
|
135
|
+
"type": "string",
|
|
136
|
+
"pattern": "^[^\\s]+/[^\\s]+$"
|
|
137
|
+
},
|
|
138
|
+
"temperature": {
|
|
139
|
+
"type": "number",
|
|
140
|
+
"minimum": 0,
|
|
141
|
+
"maximum": 2
|
|
142
|
+
},
|
|
143
|
+
"steps": {
|
|
144
|
+
"type": "number",
|
|
145
|
+
"minimum": 1
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
"required": ["model"]
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
"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.",
|
|
154
|
+
"type": "object",
|
|
155
|
+
"additionalProperties": {
|
|
156
|
+
"type": "object",
|
|
157
|
+
"additionalProperties": false,
|
|
158
|
+
"properties": {
|
|
159
|
+
"type": {
|
|
160
|
+
"type": "string",
|
|
161
|
+
"enum": ["local", "remote"]
|
|
162
|
+
},
|
|
163
|
+
"url": {
|
|
164
|
+
"type": "string",
|
|
165
|
+
"minLength": 1
|
|
166
|
+
},
|
|
167
|
+
"command": {
|
|
168
|
+
"type": "array",
|
|
169
|
+
"items": {
|
|
170
|
+
"type": "string",
|
|
171
|
+
"minLength": 1
|
|
172
|
+
},
|
|
173
|
+
"minItems": 1
|
|
174
|
+
},
|
|
175
|
+
"environment": {
|
|
176
|
+
"type": "object",
|
|
177
|
+
"additionalProperties": {
|
|
178
|
+
"type": "string"
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
"enabled": {
|
|
182
|
+
"type": "boolean"
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
"required": ["type", "enabled"]
|
|
186
|
+
}
|
|
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
|
+
}
|
|
247
|
+
},
|
|
248
|
+
"required": ["flags", "agentSettings", "mcpDefaults", "profiles"]
|
|
249
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { PluginInput } from '@opencode-ai/plugin';
|
|
2
|
+
export declare const OpenCodeMultiAgentPlugin: (context: PluginInput) => Promise<import("./opencode-multiagent/hooks.ts").ExtendedHooks>;
|
|
3
|
+
export default OpenCodeMultiAgentPlugin;
|
|
4
|
+
//# sourceMappingURL=control-plane.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"control-plane.d.ts","sourceRoot":"","sources":["../src/control-plane.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAKvD,eAAO,MAAM,wBAAwB,GAAU,SAAS,WAAW,oEAWlE,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAIlD,QAAA,MAAM,MAAM,EAAE,MAAiC,CAAC;AAEhD,eAAe,MAAM,CAAC;AACtB,OAAO,EAAE,MAAM,IAAI,wBAAwB,EAAE,CAAC"}
|