@serkanalgur/opencode-nexus 1.9.0 → 1.9.2
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/dist/index.js +5 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -11478,6 +11478,8 @@ Read your model pools from the first file that exists: \`.opencode/nexus.jsonc\`
|
|
|
11478
11478
|
"normal": "provider/model-c"
|
|
11479
11479
|
}
|
|
11480
11480
|
}
|
|
11481
|
+
\`\`\`
|
|
11482
|
+
|
|
11481
11483
|
### Delegating Tasks (Recommended — spawn + wait + result)
|
|
11482
11484
|
\`\`\`
|
|
11483
11485
|
nexus.delegate(role="coder", task="Implement JWT auth")
|
|
@@ -11500,6 +11502,7 @@ nexus.spawn(role="reviewer", task="Review implementation", wait=true, timeout=60
|
|
|
11500
11502
|
**Fallback rules:**
|
|
11501
11503
|
- Missing \`complex\` → use \`normal\`.
|
|
11502
11504
|
- Missing \`normal\`, or no config file → use the session default model everywhere (do not pass an explicit \`model\`).
|
|
11505
|
+
|
|
11503
11506
|
### Other Tools
|
|
11504
11507
|
\`\`\`
|
|
11505
11508
|
nexus.status(detailed=true) # Full state
|
|
@@ -11670,9 +11673,7 @@ var src_default = define({
|
|
|
11670
11673
|
const agentDir = join6(homedir2(), ".config", "opencode", "agents");
|
|
11671
11674
|
mkdirSync4(agentDir, { recursive: true });
|
|
11672
11675
|
const orchestratorFile = join6(agentDir, "nexus-orchestrator.md");
|
|
11673
|
-
|
|
11674
|
-
writeFileSync2(orchestratorFile, NEXUS_AGENT_CONTENT, "utf-8");
|
|
11675
|
-
}
|
|
11676
|
+
writeFileSync2(orchestratorFile, NEXUS_AGENT_CONTENT, "utf-8");
|
|
11676
11677
|
const subagents = {
|
|
11677
11678
|
"nexus-architect.md": `---
|
|
11678
11679
|
description: Nexus Architect agent — designs system architecture with cost-aware model selection
|
|
@@ -11787,9 +11788,7 @@ You are a Nexus Documenter sub-agent. Write documentation.
|
|
|
11787
11788
|
};
|
|
11788
11789
|
for (const [filename, content] of Object.entries(subagents)) {
|
|
11789
11790
|
const filepath = join6(agentDir, filename);
|
|
11790
|
-
|
|
11791
|
-
writeFileSync2(filepath, content, "utf-8");
|
|
11792
|
-
}
|
|
11791
|
+
writeFileSync2(filepath, content, "utf-8");
|
|
11793
11792
|
}
|
|
11794
11793
|
} catch {}
|
|
11795
11794
|
try {
|