@tudeorangbiasa/sdd-multiagent-opencode 0.4.0 → 0.4.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.
|
@@ -88,10 +88,7 @@ export default async () => {
|
|
|
88
88
|
|
|
89
89
|
for (const [agentName, agentConfig] of Object.entries(pluginConfig.agent ?? {})) {
|
|
90
90
|
if (!agentConfig?.model) continue;
|
|
91
|
-
|
|
92
|
-
if (!cfg.agent[agentName]) {
|
|
93
|
-
cfg.agent[agentName] = {};
|
|
94
|
-
}
|
|
91
|
+
if (!cfg.agent[agentName]) continue;
|
|
95
92
|
|
|
96
93
|
cfg.agent[agentName].model = agentConfig.model;
|
|
97
94
|
}
|
|
@@ -73,7 +73,9 @@ removeOldSymlinks();
|
|
|
73
73
|
|
|
74
74
|
const AGENTS = {
|
|
75
75
|
"sdd-orchestrator": {
|
|
76
|
+
description: "Internal coordination agent for complex SDD changes. Used by SDD commands when work needs multi-agent scheduling.",
|
|
76
77
|
mode: "subagent",
|
|
78
|
+
hidden: true,
|
|
77
79
|
temperature: 0.3,
|
|
78
80
|
permission: {
|
|
79
81
|
edit: "allow",
|
|
@@ -115,7 +117,9 @@ Return a concise coordination summary with completed work, blocked work, file co
|
|
|
115
117
|
},
|
|
116
118
|
|
|
117
119
|
"sdd-planner": {
|
|
120
|
+
description: "Creates compact SDD proposal, spec, design, and task artifacts for /sdd-propose and /sdd-construct.",
|
|
118
121
|
mode: "subagent",
|
|
122
|
+
hidden: true,
|
|
119
123
|
temperature: 0.3,
|
|
120
124
|
permission: {
|
|
121
125
|
edit: "allow",
|
|
@@ -173,7 +177,9 @@ For heavy apps (monorepo, microservices, multi-team): Include optional sections:
|
|
|
173
177
|
},
|
|
174
178
|
|
|
175
179
|
"sdd-explorer": {
|
|
180
|
+
description: "Readonly codebase exploration for /sdd-explore and uncertain SDD planning requests.",
|
|
176
181
|
mode: "subagent",
|
|
182
|
+
hidden: true,
|
|
177
183
|
temperature: 0.1,
|
|
178
184
|
permission: {
|
|
179
185
|
edit: "deny",
|
|
@@ -234,7 +240,9 @@ Return findings as:
|
|
|
234
240
|
},
|
|
235
241
|
|
|
236
242
|
"sdd-implementer": {
|
|
243
|
+
description: "Systematic implementation agent for approved /sdd-apply changes and /sdd-quick edits.",
|
|
237
244
|
mode: "subagent",
|
|
245
|
+
hidden: true,
|
|
238
246
|
temperature: 0.3,
|
|
239
247
|
permission: {
|
|
240
248
|
edit: "allow",
|
|
@@ -283,7 +291,9 @@ Use the question tool for ambiguous requirements or missing information.
|
|
|
283
291
|
},
|
|
284
292
|
|
|
285
293
|
"sdd-verifier": {
|
|
294
|
+
description: "Independent SDD validation agent for implementation completeness, tests, and UI/browser checks.",
|
|
286
295
|
mode: "subagent",
|
|
296
|
+
hidden: true,
|
|
287
297
|
temperature: 0.1,
|
|
288
298
|
permission: {
|
|
289
299
|
edit: "deny",
|
|
@@ -341,7 +351,9 @@ For each acceptance criterion, find implementing code and verify it meets the cr
|
|
|
341
351
|
},
|
|
342
352
|
|
|
343
353
|
"sdd-reviewer": {
|
|
354
|
+
description: "Final SDD review agent for /sdd-ship readiness, security, performance, and spec compliance.",
|
|
344
355
|
mode: "subagent",
|
|
356
|
+
hidden: true,
|
|
345
357
|
temperature: 0.2,
|
|
346
358
|
permission: {
|
|
347
359
|
edit: "deny",
|
|
@@ -808,10 +820,18 @@ export default async ({ client, project, directory, $ }) => {
|
|
|
808
820
|
const autoReasoningHooks = await sddAutoReasoning({ client, project, directory, $ });
|
|
809
821
|
|
|
810
822
|
return {
|
|
811
|
-
agent: AGENTS,
|
|
812
823
|
...autoReasoningHooks,
|
|
813
824
|
|
|
814
825
|
config(cfg) {
|
|
826
|
+
// Register SDD agents through config; OpenCode 1.15 ignores top-level plugin `agent` hooks.
|
|
827
|
+
cfg.agent = cfg.agent || {};
|
|
828
|
+
for (const [name, agent] of Object.entries(AGENTS)) {
|
|
829
|
+
cfg.agent[name] = {
|
|
830
|
+
...(cfg.agent[name] ?? {}),
|
|
831
|
+
...agent,
|
|
832
|
+
};
|
|
833
|
+
}
|
|
834
|
+
|
|
815
835
|
// Register SDD skills path
|
|
816
836
|
const skillsDir = path.join(packageRoot, ".opencode", "skills");
|
|
817
837
|
if (fs.existsSync(skillsDir)) {
|
package/README.md
CHANGED
package/bin/sdd-opencode.js
CHANGED
|
@@ -235,7 +235,7 @@ function parseArgs(argv) {
|
|
|
235
235
|
// ─── Usage ───────────────────────────────────────────────────────────────────
|
|
236
236
|
|
|
237
237
|
function usage() {
|
|
238
|
-
console.log(`SDD Multi-Agent OpenCode Installer v0.4.
|
|
238
|
+
console.log(`SDD Multi-Agent OpenCode Installer v0.4.1
|
|
239
239
|
|
|
240
240
|
Usage:
|
|
241
241
|
sdd-opencode init [flags] Install SDD workflow into current project
|
|
@@ -513,7 +513,7 @@ async function runInit(args) {
|
|
|
513
513
|
dryRunFiles: [],
|
|
514
514
|
};
|
|
515
515
|
|
|
516
|
-
console.log("\nSDD Multi-Agent OpenCode Installer v0.4.
|
|
516
|
+
console.log("\nSDD Multi-Agent OpenCode Installer v0.4.1\n");
|
|
517
517
|
console.log(`Target: ${targetRoot}`);
|
|
518
518
|
if (ctx.dryRun) console.log("Mode: DRY RUN (no files will be written)\n");
|
|
519
519
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tudeorangbiasa/sdd-multiagent-opencode",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Spec-Driven Development workflow kit for OpenCode with 5 core commands, multi-agent support, CLI wrappers, and configurable model routing",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": ".opencode/plugins/sdd-register.js",
|