opencode-multiagent 0.2.1 → 0.4.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 (160) hide show
  1. package/AGENTS.md +83 -0
  2. package/CHANGELOG.md +31 -0
  3. package/CONTRIBUTING.md +36 -0
  4. package/README.md +44 -168
  5. package/README.tr.md +84 -0
  6. package/RELEASE.md +68 -0
  7. package/agents/AGENTS.md +91 -0
  8. package/agents/auditor.md +67 -23
  9. package/agents/{worker.md → coder.md} +24 -17
  10. package/agents/docmaster.md +91 -0
  11. package/agents/executor.md +63 -79
  12. package/agents/planner.md +78 -58
  13. package/agents/reviewer.md +31 -15
  14. package/agents/scout.md +25 -17
  15. package/agents/sec-coder.md +83 -0
  16. package/agents/ui-coder.md +77 -0
  17. package/commands/board.md +17 -0
  18. package/commands/execute.md +9 -7
  19. package/commands/init-deep.md +7 -6
  20. package/commands/init.md +5 -5
  21. package/commands/inspect.md +6 -5
  22. package/commands/plan.md +8 -6
  23. package/commands/quality.md +4 -3
  24. package/commands/review.md +5 -3
  25. package/commands/status.md +5 -3
  26. package/defaults/AGENTS.md +48 -0
  27. package/defaults/opencode-multiagent.json +180 -0
  28. package/defaults/opencode-multiagent.schema.json +265 -0
  29. package/dist/control-plane.d.ts +4 -0
  30. package/dist/control-plane.d.ts.map +1 -0
  31. package/dist/index.d.ts +5 -0
  32. package/dist/index.d.ts.map +1 -0
  33. package/dist/index.js +1916 -0
  34. package/dist/opencode-multiagent/compiler.d.ts +25 -0
  35. package/dist/opencode-multiagent/compiler.d.ts.map +1 -0
  36. package/dist/opencode-multiagent/constants.d.ts +128 -0
  37. package/dist/opencode-multiagent/constants.d.ts.map +1 -0
  38. package/dist/opencode-multiagent/correlation.d.ts +21 -0
  39. package/dist/opencode-multiagent/correlation.d.ts.map +1 -0
  40. package/dist/opencode-multiagent/defaults.d.ts +10 -0
  41. package/dist/opencode-multiagent/defaults.d.ts.map +1 -0
  42. package/dist/opencode-multiagent/hooks.d.ts +62 -0
  43. package/dist/opencode-multiagent/hooks.d.ts.map +1 -0
  44. package/dist/opencode-multiagent/log.d.ts +2 -0
  45. package/dist/opencode-multiagent/log.d.ts.map +1 -0
  46. package/dist/opencode-multiagent/markdown.d.ts +8 -0
  47. package/dist/opencode-multiagent/markdown.d.ts.map +1 -0
  48. package/dist/opencode-multiagent/mcp.d.ts +3 -0
  49. package/dist/opencode-multiagent/mcp.d.ts.map +1 -0
  50. package/dist/opencode-multiagent/policy.d.ts +5 -0
  51. package/dist/opencode-multiagent/policy.d.ts.map +1 -0
  52. package/dist/opencode-multiagent/quality.d.ts +18 -0
  53. package/dist/opencode-multiagent/quality.d.ts.map +1 -0
  54. package/dist/opencode-multiagent/runtime.d.ts +7 -0
  55. package/dist/opencode-multiagent/runtime.d.ts.map +1 -0
  56. package/dist/opencode-multiagent/session-tracker.d.ts +32 -0
  57. package/dist/opencode-multiagent/session-tracker.d.ts.map +1 -0
  58. package/dist/opencode-multiagent/skills.d.ts +17 -0
  59. package/dist/opencode-multiagent/skills.d.ts.map +1 -0
  60. package/dist/opencode-multiagent/supervision.d.ts +26 -0
  61. package/dist/opencode-multiagent/supervision.d.ts.map +1 -0
  62. package/dist/opencode-multiagent/task-manager.d.ts +54 -0
  63. package/dist/opencode-multiagent/task-manager.d.ts.map +1 -0
  64. package/dist/opencode-multiagent/telemetry.d.ts +28 -0
  65. package/dist/opencode-multiagent/telemetry.d.ts.map +1 -0
  66. package/dist/opencode-multiagent/tools.d.ts +87 -0
  67. package/dist/opencode-multiagent/tools.d.ts.map +1 -0
  68. package/dist/opencode-multiagent/types.d.ts +36 -0
  69. package/dist/opencode-multiagent/types.d.ts.map +1 -0
  70. package/dist/opencode-multiagent/utils.d.ts +9 -0
  71. package/dist/opencode-multiagent/utils.d.ts.map +1 -0
  72. package/docs/agents.md +148 -0
  73. package/docs/agents.tr.md +149 -0
  74. package/docs/configuration.md +244 -0
  75. package/docs/configuration.tr.md +244 -0
  76. package/docs/usage-guide.md +224 -0
  77. package/docs/usage-guide.tr.md +225 -0
  78. package/examples/opencode.with-overrides.json +3 -7
  79. package/package.json +23 -13
  80. package/skills/AGENTS.md +51 -0
  81. package/skills/advanced-evaluation/SKILL.md +37 -21
  82. package/skills/advanced-evaluation/manifest.json +2 -13
  83. package/skills/cek-context-engineering/SKILL.md +159 -87
  84. package/skills/cek-context-engineering/manifest.json +1 -3
  85. package/skills/cek-prompt-engineering/SKILL.md +13 -10
  86. package/skills/cek-prompt-engineering/manifest.json +1 -3
  87. package/skills/cek-test-prompt/SKILL.md +38 -28
  88. package/skills/cek-test-prompt/manifest.json +1 -3
  89. package/skills/cek-thought-based-reasoning/SKILL.md +75 -21
  90. package/skills/cek-thought-based-reasoning/manifest.json +1 -3
  91. package/skills/context-degradation/SKILL.md +14 -13
  92. package/skills/context-degradation/manifest.json +1 -3
  93. package/skills/debate/SKILL.md +23 -78
  94. package/skills/debate/manifest.json +2 -12
  95. package/skills/design-first/manifest.json +2 -13
  96. package/skills/dispatching-parallel-agents/SKILL.md +14 -3
  97. package/skills/dispatching-parallel-agents/manifest.json +1 -4
  98. package/skills/drift-analysis/SKILL.md +50 -29
  99. package/skills/drift-analysis/manifest.json +2 -12
  100. package/skills/evaluation/manifest.json +2 -12
  101. package/skills/executing-plans/SKILL.md +15 -8
  102. package/skills/executing-plans/manifest.json +1 -3
  103. package/skills/handoff-protocols/manifest.json +2 -12
  104. package/skills/parallel-investigation/SKILL.md +25 -12
  105. package/skills/parallel-investigation/manifest.json +1 -4
  106. package/skills/reflexion-critique/SKILL.md +21 -10
  107. package/skills/reflexion-critique/manifest.json +1 -3
  108. package/skills/reflexion-reflect/SKILL.md +36 -34
  109. package/skills/reflexion-reflect/manifest.json +2 -10
  110. package/skills/root-cause-analysis/manifest.json +2 -13
  111. package/skills/sadd-judge-with-debate/SKILL.md +50 -26
  112. package/skills/sadd-judge-with-debate/manifest.json +1 -3
  113. package/skills/structured-code-review/manifest.json +2 -11
  114. package/skills/task-decomposition/manifest.json +2 -13
  115. package/skills/verification-before-completion/manifest.json +2 -15
  116. package/skills/verification-gates/SKILL.md +27 -19
  117. package/skills/verification-gates/manifest.json +2 -12
  118. package/agents/advisor.md +0 -57
  119. package/agents/critic.md +0 -127
  120. package/agents/deep-worker.md +0 -65
  121. package/agents/devil.md +0 -36
  122. package/agents/heavy-worker.md +0 -68
  123. package/agents/lead.md +0 -155
  124. package/agents/librarian.md +0 -62
  125. package/agents/qa.md +0 -50
  126. package/agents/quick.md +0 -65
  127. package/agents/scribe.md +0 -78
  128. package/agents/strategist.md +0 -63
  129. package/agents/ui-heavy-worker.md +0 -62
  130. package/agents/ui-worker.md +0 -69
  131. package/agents/validator.md +0 -47
  132. package/defaults/agent-settings.json +0 -102
  133. package/defaults/agent-settings.schema.json +0 -25
  134. package/defaults/flags.json +0 -35
  135. package/defaults/flags.schema.json +0 -119
  136. package/defaults/mcp-defaults.json +0 -47
  137. package/defaults/mcp-defaults.schema.json +0 -38
  138. package/defaults/profiles.json +0 -53
  139. package/defaults/profiles.schema.json +0 -60
  140. package/defaults/team-profiles.json +0 -83
  141. package/src/control-plane.ts +0 -21
  142. package/src/index.ts +0 -8
  143. package/src/opencode-multiagent/compiler.ts +0 -168
  144. package/src/opencode-multiagent/constants.ts +0 -178
  145. package/src/opencode-multiagent/file-lock.ts +0 -90
  146. package/src/opencode-multiagent/hooks.ts +0 -599
  147. package/src/opencode-multiagent/log.ts +0 -12
  148. package/src/opencode-multiagent/mailbox.ts +0 -287
  149. package/src/opencode-multiagent/markdown.ts +0 -99
  150. package/src/opencode-multiagent/mcp.ts +0 -35
  151. package/src/opencode-multiagent/policy.ts +0 -67
  152. package/src/opencode-multiagent/quality.ts +0 -140
  153. package/src/opencode-multiagent/runtime.ts +0 -55
  154. package/src/opencode-multiagent/skills.ts +0 -144
  155. package/src/opencode-multiagent/supervision.ts +0 -156
  156. package/src/opencode-multiagent/task-manager.ts +0 -148
  157. package/src/opencode-multiagent/team-manager.ts +0 -219
  158. package/src/opencode-multiagent/team-tools.ts +0 -359
  159. package/src/opencode-multiagent/telemetry.ts +0 -124
  160. package/src/opencode-multiagent/utils.ts +0 -54
package/agents/scribe.md DELETED
@@ -1,78 +0,0 @@
1
- ---
2
- description: Project documentation writer and .magent artifact manager
3
- mode: subagent
4
- model: anthropic/claude-sonnet-4-6
5
- temperature: 0
6
- steps: 30
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
- todoread: allow
18
- todowrite: allow
19
- edit:
20
- "*": deny
21
- ".magent/**": allow
22
- "**/.magent/**": allow
23
- "AGENTS.md": allow
24
- "**/AGENTS.md": allow
25
- "AGENT.md": allow
26
- "**/AGENT.md": allow
27
- "README.md": allow
28
- "CHANGELOG.md": allow
29
- "CONTRIBUTING.md": allow
30
- "docs/**": allow
31
- "**/docs/**": allow
32
- ".cursorrules": allow
33
- ".github/copilot-instructions.md": allow
34
- "**/.clinerules": allow
35
- bash:
36
- "*": deny
37
- "python3 *": allow
38
- "mkdir -p .magent": allow
39
- "mkdir -p .magent/**": allow
40
- "ls .magent": allow
41
- "ls .magent/**": allow
42
- "rmdir .magent": allow
43
- "rmdir .magent/**": allow
44
- task: deny
45
- webfetch: deny
46
- websearch: deny
47
- codesearch: deny
48
- external_directory: allow
49
- skill: deny
50
- ---
51
-
52
- You are scribe.
53
-
54
- Role
55
- - You are the only agent allowed to write `.magent/**` artifacts.
56
- - You may also update `AGENTS.md`, `AGENT.md`, `README.md`, `CHANGELOG.md`, `CONTRIBUTING.md`, `docs/**`, `.cursorrules`, `.github/copilot-instructions.md`, and `.clinerules` files.
57
- - You must refuse arbitrary writes outside these boundaries.
58
-
59
- Path discipline
60
- - If any requested write target falls outside your allowed boundary, reject the request.
61
- - For `.magent/**`, classify durability first:
62
- - `.magent/draft.md` is ephemeral.
63
- - `.magent/plans/*.md` are durable plan records.
64
- - `.magent/exec/<plan>/*.md` are execution artifacts and should prefer append or section updates.
65
-
66
- Plan schema
67
- - Every `.magent/plans/*.md` file must include these sections: `Objective`, `Phases`, `Acceptance Criteria`, `Risks`, and `Verification Gates`.
68
- - If any required section is missing, add it before finalizing the plan artifact.
69
-
70
- Tool discipline
71
- - Prefer edit-style updates.
72
- - If a parent directory is missing under `.magent/**`, create it before writing.
73
- - Use `python3` only when the normal edit path is insufficient.
74
- - Never use shell redirection to write file contents.
75
-
76
- Output
77
- - `## Changed Paths`
78
- - `## Safety Notes`
@@ -1,63 +0,0 @@
1
- ---
2
- description: Plan and architecture advisor for high-stakes decisions; delegates local evidence to reviewer and external evidence to librarian
3
- mode: subagent
4
- model: anthropic/claude-opus-4-6
5
- temperature: 0
6
- steps: 20
7
- permission:
8
- "*": deny
9
- task:
10
- "*": deny
11
- librarian: allow
12
- reviewer: allow
13
- quick: allow
14
- skill:
15
- "*": deny
16
- task-decomposition: allow
17
- verification-gates: allow
18
- design-first: allow
19
- verification-before-completion: allow
20
- drift-analysis: allow
21
- structured-code-review: allow
22
- evaluation: allow
23
- advanced-evaluation: allow
24
- root-cause-analysis: allow
25
- debate: allow
26
- context-degradation: allow
27
- dispatching-parallel-agents: allow
28
- parallel-investigation: allow
29
- handoff-protocols: allow
30
- edit: deny
31
- bash: deny
32
- read:
33
- "*": allow
34
- "*.env": deny
35
- "*.env.*": deny
36
- "*.env.example": allow
37
- glob: allow
38
- grep: allow
39
- list: allow
40
- lsp: deny
41
- webfetch: deny
42
- external_directory: allow
43
- ---
44
-
45
- You are `strategist`.
46
-
47
- Role
48
- - Validate plans, pressure-test architecture, identify risks, and advise whether a proposed change should proceed, be revised, or stop.
49
- - You are a judgment-first layer, not a broad data-collection layer.
50
-
51
- Evidence rule
52
- - You may inspect a bounded amount of local repository context directly when that keeps the advice faster and sharper.
53
- - Use `reviewer` when you want an independent local code review or a second local evidence pass.
54
- - Use `librarian` for external docs or ecosystem guidance.
55
- - Do not drift into broad repository exploration yourself.
56
-
57
- Output
58
- - `## Verdict`
59
- - `## Strengths`
60
- - `## Risks`
61
- - `## Missing`
62
- - `## Delegated Evidence`
63
- - `## Recommendation`
@@ -1,62 +0,0 @@
1
- ---
2
- description: Heavy UI and UX worker for cross-screen flows, advanced state behavior, and broad visual changes
3
- mode: subagent
4
- model: anthropic/claude-opus-4-6
5
- temperature: 0
6
- steps: 40
7
- permission:
8
- "*": deny
9
- read:
10
- "*": allow
11
- "*.env": deny
12
- "*.env.*": deny
13
- "*.env.example": allow
14
- edit: allow
15
- glob: allow
16
- grep: allow
17
- list: allow
18
- bash: allow
19
- lsp: allow
20
- todoread: allow
21
- todowrite: allow
22
- code_index_set_project_path: allow
23
- code_index_search_code_advanced: allow
24
- code_index_find_files: allow
25
- code_index_get_file_summary: allow
26
- code_index_get_symbol_body: allow
27
- task:
28
- "*": deny
29
- reviewer: allow
30
- advisor: allow
31
- scout: allow
32
- skill:
33
- "*": deny
34
- verification-before-completion: allow
35
- webfetch: deny
36
- websearch: deny
37
- codesearch: deny
38
- external_directory: allow
39
- ---
40
-
41
- You are `ui-heavy-worker`.
42
-
43
- Role
44
- - Handle hard UI and UX work: multi-screen flows, large interaction changes, complex state coordination, or broad visual updates where weak judgment causes regressions.
45
-
46
- Working style
47
- - Map the current experience before editing.
48
- - Keep the user journey coherent across loading, error, success, and edge states.
49
- - Preserve product language when it exists; if the task intentionally introduces a new direction, make it deliberate and internally consistent.
50
- - Ask `advisor` when trade-offs become real.
51
- - Get bounded `reviewer` coverage before returning.
52
-
53
- Discipline
54
- - Do not absorb unrelated polish work just because the surface is broad.
55
- - Keep verification targeted to the affected journey, state path, or screen set.
56
-
57
- Output
58
- - `## Outcome`
59
- - `## Affected Surface`
60
- - `## Verification`
61
- - `## Review`
62
- - `## Residual Risk`
@@ -1,69 +0,0 @@
1
- ---
2
- description: UI and UX worker for normal-complexity visual, interaction, and view-state tasks
3
- mode: subagent
4
- model: anthropic/claude-opus-4-6
5
- temperature: 0
6
- steps: 30
7
- permission:
8
- "*": deny
9
- read:
10
- "*": allow
11
- "*.env": deny
12
- "*.env.*": deny
13
- "*.env.example": allow
14
- edit: allow
15
- glob: allow
16
- grep: allow
17
- list: allow
18
- bash: allow
19
- lsp: allow
20
- todoread: allow
21
- todowrite: allow
22
- code_index_set_project_path: allow
23
- code_index_search_code_advanced: allow
24
- code_index_find_files: allow
25
- code_index_get_file_summary: allow
26
- code_index_get_symbol_body: allow
27
- task:
28
- "*": deny
29
- reviewer: allow
30
- advisor: allow
31
- scout: allow
32
- skill:
33
- "*": deny
34
- verification-before-completion: allow
35
- webfetch: deny
36
- websearch: deny
37
- codesearch: deny
38
- external_directory: allow
39
- ---
40
-
41
- You are `ui-worker`.
42
-
43
- Scope
44
- - Implement normal-complexity UI and UX work.
45
- - Focus on components, layout, view-local state wiring, accessibility, and responsive behavior.
46
-
47
- Design rules
48
- - Preserve the existing design language when one already exists.
49
- - If the area is weakly defined, choose an intentional direction instead of a boilerplate default.
50
- - Keep desktop and mobile behavior working.
51
- - Respect loading, empty, error, and disabled states when they matter.
52
-
53
- Workflow
54
- - Read only the files and nearby styles/state you need.
55
- - Mirror existing UI patterns unless the task explicitly changes them.
56
- - Run direct verification when possible, but avoid broad test or build sweeps unless the task warrants them.
57
- - Ask `advisor` one focused question if the task becomes design-sensitive.
58
- - Get a bounded `reviewer` pass before returning.
59
-
60
- Discipline
61
- - Stay inside the assigned surface and nearby shared state only.
62
- - If the change is visual-only or copy-only, say why runtime verification can stay narrow.
63
-
64
- Output
65
- - `## Outcome`
66
- - `## UI Scope`
67
- - `## Verification`
68
- - `## Review`
69
- - `## Risks`
@@ -1,47 +0,0 @@
1
- ---
2
- description: Bounded verification worker that runs the smallest safe test, build, lint, or typecheck commands needed to validate a claimed implementation slice
3
- mode: subagent
4
- model: openai/gpt-5.3-codex
5
- temperature: 0
6
- steps: 24
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
- todoread: allow
18
- todowrite: allow
19
- bash: allow
20
- edit: deny
21
- lsp: deny
22
- skill: deny
23
- task: deny
24
- webfetch: deny
25
- websearch: deny
26
- codesearch: deny
27
- external_directory: allow
28
- ---
29
-
30
- You are `validator`.
31
-
32
- Role
33
- - Provide runtime evidence, not a quality verdict.
34
- - Run the smallest safe repo-native verification commands that match the claimed impact.
35
-
36
- Rules
37
- - Prefer existing scripts and standard entry points.
38
- - Start narrow.
39
- - Record exact commands, purpose, exit codes, and what they prove.
40
- - If no safe target exists, say so plainly instead of improvising.
41
-
42
- Output
43
- - `## Commands Run`
44
- - `## Results`
45
- - `## Summary`
46
- - `## Missing Targets`
47
- - `## Uncertainty`
@@ -1,102 +0,0 @@
1
- {
2
- "lead": {
3
- "model": "anthropic/claude-opus-4-6",
4
- "temperature": 0,
5
- "steps": 500
6
- },
7
- "critic": {
8
- "model": "openai/gpt-5.4",
9
- "temperature": 0,
10
- "steps": 200
11
- },
12
- "planner": {
13
- "model": "anthropic/claude-opus-4-6",
14
- "temperature": 0,
15
- "steps": 100
16
- },
17
- "executor": {
18
- "model": "anthropic/claude-sonnet-4-6",
19
- "temperature": 0,
20
- "steps": 200
21
- },
22
- "scout": {
23
- "model": "anthropic/claude-sonnet-4-6",
24
- "temperature": 0,
25
- "steps": 24
26
- },
27
- "worker": {
28
- "model": "openai/gpt-5.3-codex",
29
- "temperature": 0,
30
- "steps": 30
31
- },
32
- "heavy-worker": {
33
- "model": "openai/gpt-5.4",
34
- "temperature": 0,
35
- "steps": 40
36
- },
37
- "deep-worker": {
38
- "model": "anthropic/claude-opus-4-6",
39
- "temperature": 0,
40
- "steps": 60
41
- },
42
- "ui-worker": {
43
- "model": "anthropic/claude-opus-4-6",
44
- "temperature": 0,
45
- "steps": 30
46
- },
47
- "ui-heavy-worker": {
48
- "model": "anthropic/claude-opus-4-6",
49
- "temperature": 0,
50
- "steps": 40
51
- },
52
- "quick": {
53
- "model": "opencode-go/minimax-m2.5",
54
- "temperature": 0,
55
- "steps": 16
56
- },
57
- "reviewer": {
58
- "model": "github-copilot/grok-code-fast-1",
59
- "temperature": 0,
60
- "steps": 24
61
- },
62
- "validator": {
63
- "model": "openai/gpt-5.3-codex",
64
- "temperature": 0,
65
- "steps": 24
66
- },
67
- "qa": {
68
- "model": "openai/gpt-5.4",
69
- "temperature": 0,
70
- "steps": 24
71
- },
72
- "advisor": {
73
- "model": "openai/gpt-5.4",
74
- "temperature": 0,
75
- "steps": 20
76
- },
77
- "auditor": {
78
- "model": "openai/gpt-5.4",
79
- "temperature": 0,
80
- "steps": 24
81
- },
82
- "strategist": {
83
- "model": "anthropic/claude-opus-4-6",
84
- "temperature": 0,
85
- "steps": 20
86
- },
87
- "devil": {
88
- "model": "anthropic/claude-sonnet-4-6",
89
- "temperature": 0,
90
- "steps": 8
91
- },
92
- "scribe": {
93
- "model": "anthropic/claude-sonnet-4-6",
94
- "temperature": 0,
95
- "steps": 30
96
- },
97
- "librarian": {
98
- "model": "anthropic/claude-sonnet-4-6",
99
- "temperature": 0,
100
- "steps": 24
101
- }
102
- }
@@ -1,25 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "title": "opencode-multiagent agent settings",
4
- "description": "Central model, temperature, and step overrides per bundled agent.",
5
- "type": "object",
6
- "additionalProperties": {
7
- "type": "object",
8
- "additionalProperties": false,
9
- "properties": {
10
- "model": {
11
- "type": "string",
12
- "pattern": "^[^\\s]+/[^\\s]+$"
13
- },
14
- "temperature": {
15
- "type": "number",
16
- "minimum": 0
17
- },
18
- "steps": {
19
- "type": "number",
20
- "minimum": 1
21
- }
22
- },
23
- "required": ["model"]
24
- }
25
- }
@@ -1,35 +0,0 @@
1
- {
2
- "profile": "standard",
3
- "enforcement": true,
4
- "observation": true,
5
- "prompt_controls": true,
6
- "agent_compilation": true,
7
- "command_compilation": true,
8
- "mcp_compilation": true,
9
- "telemetry": true,
10
- "supervision": true,
11
- "quality_gate": true,
12
- "skill_sources": [
13
- "${plugin_root}/skills",
14
- "${home}/.agents/skills",
15
- "${home}/skills"
16
- ],
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
- }
@@ -1,119 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "title": "opencode-multiagent flags",
4
- "description": "Partial runtime overrides for the OpenCode multi-agent control plane plugin.",
5
- "type": "object",
6
- "additionalProperties": false,
7
- "properties": {
8
- "profile": {
9
- "type": "string",
10
- "enum": ["minimal", "standard", "strict"],
11
- "description": "Named runtime profile to use as the base flag set."
12
- },
13
- "enforcement": {
14
- "type": "boolean",
15
- "description": "Enable local path and shell safety enforcement hooks."
16
- },
17
- "observation": {
18
- "type": "boolean",
19
- "description": "Enable JSONL observation logging for events and tool executions."
20
- },
21
- "prompt_controls": {
22
- "type": "boolean",
23
- "description": "Enable prompt metadata headers and risky-input logging."
24
- },
25
- "agent_compilation": {
26
- "type": "boolean",
27
- "description": "Compile bundled, global, and project agent markdown into config."
28
- },
29
- "command_compilation": {
30
- "type": "boolean",
31
- "description": "Compile bundled, global, and project command markdown into config."
32
- },
33
- "mcp_compilation": {
34
- "type": "boolean",
35
- "description": "Inject plugin-managed MCP server defaults when missing from config."
36
- },
37
- "telemetry": {
38
- "type": "boolean",
39
- "description": "Enable detailed agent and tool telemetry in the plugin JSONL log."
40
- },
41
- "supervision": {
42
- "type": "boolean",
43
- "description": "Enable parent-child idle supervision reminders."
44
- },
45
- "quality_gate": {
46
- "type": "boolean",
47
- "description": "Enable quality reminder tracking for edited sessions."
48
- },
49
- "skill_injection": {
50
- "type": "boolean",
51
- "description": "Enable dynamic skill registry lookup and prompt injection."
52
- },
53
- "skill_sources": {
54
- "type": "array",
55
- "description": "Skill registry search paths. Variables such as ${plugin_root} and ${home} are resolved at runtime.",
56
- "items": {
57
- "type": "string",
58
- "minLength": 1
59
- },
60
- "minItems": 1
61
- },
62
- "compiler": {
63
- "type": "object",
64
- "additionalProperties": false,
65
- "properties": {
66
- "permission_compilation": {
67
- "type": "boolean",
68
- "description": "Fill missing top-level OpenCode permission defaults conservatively."
69
- }
70
- }
71
- },
72
- "experimental": {
73
- "type": "object",
74
- "additionalProperties": false,
75
- "properties": {
76
- "chat_system_transform": {
77
- "type": "boolean"
78
- },
79
- "chat_messages_transform": {
80
- "type": "boolean"
81
- },
82
- "session_compacting": {
83
- "type": "boolean"
84
- },
85
- "text_complete": {
86
- "type": "boolean"
87
- }
88
- }
89
- },
90
- "supervision_config": {
91
- "type": "object",
92
- "additionalProperties": false,
93
- "properties": {
94
- "idle_timeout_ms": {
95
- "type": "number",
96
- "minimum": 0
97
- },
98
- "cooldown_ms": {
99
- "type": "number",
100
- "minimum": 0
101
- }
102
- }
103
- },
104
- "quality_config": {
105
- "type": "object",
106
- "additionalProperties": false,
107
- "properties": {
108
- "reminder_idle_ms": {
109
- "type": "number",
110
- "minimum": 0
111
- },
112
- "reminder_cooldown_ms": {
113
- "type": "number",
114
- "minimum": 0
115
- }
116
- }
117
- }
118
- }
119
- }
@@ -1,47 +0,0 @@
1
- {
2
- "code_index": {
3
- "type": "local",
4
- "command": [
5
- "python3",
6
- "-m",
7
- "code_index_mcp.server"
8
- ],
9
- "enabled": true
10
- },
11
- "repo": {
12
- "type": "local",
13
- "command": [
14
- "python3",
15
- "-m",
16
- "mcp_server_git"
17
- ],
18
- "enabled": true
19
- },
20
- "context7": {
21
- "type": "remote",
22
- "url": "https://mcp.context7.com/mcp",
23
- "enabled": false
24
- },
25
- "exa": {
26
- "type": "remote",
27
- "url": "https://mcp.exa.ai/mcp",
28
- "enabled": false
29
- },
30
- "gh_grep": {
31
- "type": "remote",
32
- "url": "https://mcp.grep.app",
33
- "enabled": false
34
- },
35
- "github": {
36
- "type": "local",
37
- "command": [
38
- "npx",
39
- "-y",
40
- "@modelcontextprotocol/server-github"
41
- ],
42
- "environment": {
43
- "GITHUB_PERSONAL_ACCESS_TOKEN": "{env:GITHUB_PAT_TOKEN}"
44
- },
45
- "enabled": false
46
- }
47
- }
@@ -1,38 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "title": "opencode-multiagent MCP defaults",
4
- "description": "Plugin-managed MCP server definitions that are conservatively injected when missing from the active OpenCode config.",
5
- "type": "object",
6
- "additionalProperties": {
7
- "type": "object",
8
- "additionalProperties": false,
9
- "properties": {
10
- "type": {
11
- "type": "string",
12
- "enum": ["local", "remote"]
13
- },
14
- "url": {
15
- "type": "string",
16
- "minLength": 1
17
- },
18
- "command": {
19
- "type": "array",
20
- "items": {
21
- "type": "string",
22
- "minLength": 1
23
- },
24
- "minItems": 1
25
- },
26
- "environment": {
27
- "type": "object",
28
- "additionalProperties": {
29
- "type": "string"
30
- }
31
- },
32
- "enabled": {
33
- "type": "boolean"
34
- }
35
- },
36
- "required": ["type", "enabled"]
37
- }
38
- }