Remove OmO agent permission spread from omoPlanBase to ensure OmO-Plan: - Uses read-only tools only (read, glob, grep, etc) - Focuses on planning and analysis - Can ask follow-up questions for clarification - Does not execute code changes 🤖 Generated with assistance of OhMyOpenCode (https://github.com/code-yeongyu/oh-my-opencode)
This commit is contained in:
@@ -312,7 +312,6 @@ const OhMyOpenCodePlugin: Plugin = async (ctx) => {
|
|||||||
const { name: _planName, ...planConfigWithoutName } = config.agent?.plan ?? {};
|
const { name: _planName, ...planConfigWithoutName } = config.agent?.plan ?? {};
|
||||||
const omoPlanOverride = pluginConfig.agents?.["OmO-Plan"];
|
const omoPlanOverride = pluginConfig.agents?.["OmO-Plan"];
|
||||||
const omoPlanBase = {
|
const omoPlanBase = {
|
||||||
...builtinAgents.OmO,
|
|
||||||
...planConfigWithoutName,
|
...planConfigWithoutName,
|
||||||
description: `${config.agent?.plan?.description ?? "Plan agent"} (OhMyOpenCode version)`,
|
description: `${config.agent?.plan?.description ?? "Plan agent"} (OhMyOpenCode version)`,
|
||||||
color: config.agent?.plan?.color ?? "#6495ED",
|
color: config.agent?.plan?.color ?? "#6495ED",
|
||||||
|
|||||||
Reference in New Issue
Block a user