@serkanalgur/opencode-nexus 1.2.4 → 1.2.5

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 (2) hide show
  1. package/dist/index.js +10 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -10282,9 +10282,18 @@ Please continue from where the previous agent left off.`;
10282
10282
  const modelName = slashIndex > -1 ? modelConfig.slice(slashIndex + 1) : modelConfig;
10283
10283
  const roleEmoji = this.configManager.getRoleEmoji(config.role);
10284
10284
  const title = `${roleEmoji} ${this.configManager.getRoleDisplayName(config.role)} — ${modelConfig}`;
10285
+ const agentTypeMap = {
10286
+ architect: "build",
10287
+ coder: "build",
10288
+ reviewer: "code-reviewer",
10289
+ tester: "build",
10290
+ explorer: "explore",
10291
+ documenter: "doc-writer"
10292
+ };
10293
+ const agentType = agentTypeMap[config.role] || "build";
10285
10294
  const session = await this.ctx.session.create({
10286
10295
  title,
10287
- agent: "build",
10296
+ agent: agentType,
10288
10297
  model: modelName ? { providerID: provider, id: modelName } : undefined
10289
10298
  });
10290
10299
  const agent = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serkanalgur/opencode-nexus",
3
- "version": "1.2.4",
3
+ "version": "1.2.5",
4
4
  "description": "Adaptive Multi-Agent Orchestration with Cost Intelligence for OpenCode V2",
5
5
  "keywords": [
6
6
  "opencode",