Skip to content

Commit 90baab3

Browse files
authored
fix(agents): restrict OmO-Plan to read-only tools, inherit from default plan agent (#72) (#75)
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)
1 parent 715756b commit 90baab3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,6 @@ const OhMyOpenCodePlugin: Plugin = async (ctx) => {
312312
const { name: _planName, ...planConfigWithoutName } = config.agent?.plan ?? {};
313313
const omoPlanOverride = pluginConfig.agents?.["OmO-Plan"];
314314
const omoPlanBase = {
315-
...builtinAgents.OmO,
316315
...planConfigWithoutName,
317316
description: `${config.agent?.plan?.description ?? "Plan agent"} (OhMyOpenCode version)`,
318317
color: config.agent?.plan?.color ?? "#6495ED",

0 commit comments

Comments
 (0)