- Add BUILD_AGENT_PROMPT_EXTENSION for orchestrator-focused main agent behavior - Introduce OverridableAgentName type to allow build agent customization - Update config schema to support build agent override in oh-my-opencode.json - Inject orchestration prompt into build agent's system prompt 🤖 GENERATED WITH ASSISTANCE OF [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode)
20 lines
459 B
TypeScript
20 lines
459 B
TypeScript
import type { AgentConfig } from "@opencode-ai/sdk"
|
|
|
|
export type BuiltinAgentName =
|
|
| "oracle"
|
|
| "librarian"
|
|
| "explore"
|
|
| "frontend-ui-ux-engineer"
|
|
| "document-writer"
|
|
| "multimodal-looker"
|
|
|
|
export type OverridableAgentName =
|
|
| "build"
|
|
| BuiltinAgentName
|
|
|
|
export type AgentName = BuiltinAgentName
|
|
|
|
export type AgentOverrideConfig = Partial<AgentConfig>
|
|
|
|
export type AgentOverrides = Partial<Record<OverridableAgentName, AgentOverrideConfig>>
|