Skip to content
Open
Prev Previous commit
Next Next commit
fix: update agent addition notification to show correct message
  • Loading branch information
shift committed Aug 23, 2025
commit e9e793af7f5d9a67bd1c4b73d0c332ba5afe4519
26 changes: 16 additions & 10 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions opencode.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,21 @@
"type": "local",
"command": ["opencode", "x", "@h1deya/mcp-server-weather"]
}
},
"agent": {
"performance-specialist": {
"mode": "subagent",
"model": "github-copilot/claude-3.5-sonnet",
"prompt": "{file:./prompts/performance-specialist.md}",
"tools": {
"read": true,
"write": true,
"edit": true,
"bash": true,
"grep": true,
"glob": true,
"list": true
}
}
}
}
2 changes: 2 additions & 0 deletions packages/opencode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
"@standard-schema/spec": "1.0.0",
"@zip.js/zip.js": "2.7.62",
"ai": "catalog:",
"chalk": "5.6.0",
"commander": "14.0.0",
"decimal.js": "10.5.0",
"diff": "8.0.2",
"gray-matter": "4.0.3",
Expand Down
8 changes: 8 additions & 0 deletions packages/opencode/src/cli.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { Command } from "commander"

export class CLI extends Command {
constructor() {
super()
this.name("opencode").description("CLI tool for managing opencode.json").version("0.0.0")
}
}
8 changes: 8 additions & 0 deletions packages/opencode/src/cli/cli.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { Command } from "commander"

export class CLI extends Command {
constructor() {
super()
this.name("opencode").description("CLI tool for managing opencode.json").version("0.0.0")
}
}
Loading