Files
oh-my-opencode/src/agents/dynamic-agent-prompt-builder.ts
T
YeonGyu-Kim b2e7ddfb73 fix: inject agent identity into system prompt for built-in agents (#2964)
Built-in agents (Sisyphus, Hephaestus, Atlas) now include explicit
identity section in their system prompts, matching custom agent behavior.

12 agent identity tests pass, 266 total pass, tsc clean.

Closes #2964
2026-04-07 15:29:10 +09:00

31 lines
772 B
TypeScript

export type {
AvailableAgent,
AvailableTool,
AvailableSkill,
AvailableCategory,
} from "./dynamic-agent-prompt-types"
export { categorizeTools } from "./dynamic-agent-tool-categorization"
export {
buildAgentIdentitySection,
buildKeyTriggersSection,
buildToolSelectionTable,
buildExploreSection,
buildLibrarianSection,
buildDelegationTable,
buildOracleSection,
buildNonClaudePlannerSection,
buildParallelDelegationSection,
} from "./dynamic-agent-core-sections"
export { buildCategorySkillsDelegationGuide } from "./dynamic-agent-category-skills-guide"
export {
buildHardBlocksSection,
buildAntiPatternsSection,
buildToolCallFormatSection,
buildUltraworkSection,
buildAntiDuplicationSection,
} from "./dynamic-agent-policy-sections"