refactor(athena): remove athena_council from plugin wiring
Drop the barrel export, tool-registry registration, and agent-tool-restriction entry for the deleted athena_council tool. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
parent
1349948957
commit
9887d0a93d
@ -10,7 +10,6 @@ import {
|
||||
builtinTools,
|
||||
createBackgroundTools,
|
||||
createCallOmoAgent,
|
||||
createAthenaCouncilTool,
|
||||
createSwitchAgentTool,
|
||||
createLookAt,
|
||||
createSkillMcpTool,
|
||||
@ -51,11 +50,6 @@ 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",
|
||||
@ -133,7 +127,6 @@ export function createToolRegistry(args: {
|
||||
...createSessionManagerTools(ctx),
|
||||
...backgroundTools,
|
||||
call_omo_agent: callOmoAgent,
|
||||
athena_council: athenaCouncilTool,
|
||||
switch_agent: createSwitchAgentTool({
|
||||
client: ctx.client,
|
||||
}),
|
||||
|
||||
@ -56,7 +56,6 @@ const AGENT_RESTRICTIONS: Record<string, Record<string, boolean>> = {
|
||||
edit: false,
|
||||
task: false,
|
||||
call_omo_agent: false,
|
||||
athena_council: false,
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@ -36,7 +36,6 @@ 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 { createSwitchAgentTool } from "./switch-agent"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user