fix: fix Planner-Sisyphus visibility for OpenCode 1.1.1

- Change Planner-Sisyphus mode from "all" to "primary" for proper Tab selector visibility
- Fixes agent visibility breaking changes introduced in OpenCode 1.1.1
- 🤖 GENERATED WITH ASSISTANCE OF [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode)
This commit is contained in:
YeonGyu-Kim
2026-01-05 09:45:05 +09:00
parent 5ed031db63
commit 65b00c9720

View File

@@ -178,7 +178,7 @@ export function createConfigHandler(deps: ConfigHandlerDeps) {
const defaultModel = config.model as string | undefined; const defaultModel = config.model as string | undefined;
const plannerSisyphusBase = { const plannerSisyphusBase = {
model: (migratedPlanConfig as Record<string, unknown>).model ?? defaultModel, model: (migratedPlanConfig as Record<string, unknown>).model ?? defaultModel,
mode: "all" as const, mode: "primary" as const,
prompt: PLAN_SYSTEM_PROMPT, prompt: PLAN_SYSTEM_PROMPT,
permission: PLAN_PERMISSION, permission: PLAN_PERMISSION,
description: `${configAgent?.plan?.description ?? "Plan agent"} (OhMyOpenCode version)`, description: `${configAgent?.plan?.description ?? "Plan agent"} (OhMyOpenCode version)`,