feat: wire up agents and expose via opencode plugin

This commit is contained in:
YeonGyu-Kim
2025-12-03 11:49:33 +09:00
parent a937239469
commit 8febf9411f
2 changed files with 142 additions and 0 deletions

10
src/agents/index.ts Normal file
View File

@@ -0,0 +1,10 @@
import type { AgentConfig } from "@opencode-ai/sdk"
import { oracleAgent } from "./oracle"
import { librarianAgent } from "./librarian"
import { exploreAgent } from "./explore"
export const builtinAgents: Record<string, AgentConfig> = {
oracle: oracleAgent,
librarian: librarianAgent,
explore: exploreAgent,
}