feat(06-01): register athena council tool in runtime registry

- export createAthenaCouncilTool from tools index

- wire athena_council with agents.athena.council config in tool registry
This commit is contained in:
ismeth 2026-02-12 16:04:24 +01:00 committed by YeonGyu-Kim
parent 362f446b46
commit 4b0838b30e
2 changed files with 8 additions and 0 deletions

View File

@ -10,6 +10,7 @@ import {
builtinTools,
createBackgroundTools,
createCallOmoAgent,
createAthenaCouncilTool,
createLookAt,
createSkillMcpTool,
createSkillTool,
@ -49,6 +50,11 @@ export function createToolRegistry(args: {
const backgroundTools = createBackgroundTools(managers.backgroundManager, ctx.client)
const callOmoAgent = createCallOmoAgent(ctx, managers.backgroundManager, pluginConfig.disabled_agents ?? [])
const athenaCouncilConfig = pluginConfig.agents?.athena?.council
const athenaCouncilTool = createAthenaCouncilTool({
backgroundManager: managers.backgroundManager,
councilConfig: athenaCouncilConfig,
})
const isMultimodalLookerEnabled = !(pluginConfig.disabled_agents ?? []).some(
(agent) => agent.toLowerCase() === "multimodal-looker",
@ -126,6 +132,7 @@ export function createToolRegistry(args: {
...createSessionManagerTools(ctx),
...backgroundTools,
call_omo_agent: callOmoAgent,
athena_council: athenaCouncilTool,
...(lookAt ? { look_at: lookAt } : {}),
task: delegateTask,
skill_mcp: skillMcpTool,

View File

@ -35,6 +35,7 @@ import type { BackgroundManager } from "../features/background-agent"
type OpencodeClient = PluginInput["client"]
export { createCallOmoAgent } from "./call-omo-agent"
export { createAthenaCouncilTool } from "./athena-council"
export { createLookAt } from "./look-at"
export { createDelegateTask } from "./delegate-task"
export {