diff --git a/src/hooks/index.ts b/src/hooks/index.ts index db656017..82c03486 100644 --- a/src/hooks/index.ts +++ b/src/hooks/index.ts @@ -32,6 +32,7 @@ export { createNoSisyphusGptHook } from "./no-sisyphus-gpt"; export { createNoHephaestusNonGptHook } from "./no-hephaestus-non-gpt"; export { createAutoSlashCommandHook } from "./auto-slash-command"; export { createEditErrorRecoveryHook } from "./edit-error-recovery"; +export { createJsonErrorRecoveryHook } from "./json-error-recovery"; export { createPrometheusMdOnlyHook } from "./prometheus-md-only"; export { createSisyphusJuniorNotepadHook } from "./sisyphus-junior-notepad"; export { createTaskResumeInfoHook } from "./task-resume-info"; @@ -48,6 +49,7 @@ export { createTasksTodowriteDisablerHook } from "./tasks-todowrite-disabler"; export { createRuntimeFallbackHook, type RuntimeFallbackHook, type RuntimeFallbackOptions } from "./runtime-fallback"; export { createWriteExistingFileGuardHook } from "./write-existing-file-guard"; export { createHashlineReadEnhancerHook } from "./hashline-read-enhancer"; +export { createHashlineEditDiffEnhancerHook } from "./hashline-edit-diff-enhancer"; export { createBeastModeSystemHook, BEAST_MODE_SYSTEM_PROMPT } from "./beast-mode-system"; export { createHashlineEditDiffEnhancerHook } from "./hashline-edit-diff-enhancer" export { createJsonErrorRecoveryHook, JSON_ERROR_TOOL_EXCLUDE_LIST, JSON_ERROR_PATTERNS, JSON_ERROR_REMINDER } from "./json-error-recovery"; diff --git a/src/plugin-handlers/config-handler.test.ts b/src/plugin-handlers/config-handler.test.ts index a3a81f92..03b0dc20 100644 --- a/src/plugin-handlers/config-handler.test.ts +++ b/src/plugin-handlers/config-handler.test.ts @@ -1281,7 +1281,7 @@ describe("disable_omo_env pass-through", () => { //#given ;(agents.createBuiltinAgents as any)?.mockRestore?.() ;(shared.fetchAvailableModels as any).mockResolvedValue( - new Set(["anthropic/claude-opus-4-6", "google/gemini-3-flash"]) + new Set(["quotio/claude-opus-4-6-thinking", "quotio/gemini-3-flash"]) ) const pluginConfig: OhMyOpenCodeConfig = { @@ -1314,7 +1314,7 @@ describe("disable_omo_env pass-through", () => { //#given ;(agents.createBuiltinAgents as any)?.mockRestore?.() ;(shared.fetchAvailableModels as any).mockResolvedValue( - new Set(["anthropic/claude-opus-4-6", "google/gemini-3-flash"]) + new Set(["quotio/claude-opus-4-6-thinking", "quotio/gemini-3-flash"]) ) const pluginConfig: OhMyOpenCodeConfig = {} diff --git a/src/plugin/event.ts b/src/plugin/event.ts index 248f207a..110c3b97 100644 --- a/src/plugin/event.ts +++ b/src/plugin/event.ts @@ -130,7 +130,6 @@ export function createEventHandler(args: { await Promise.resolve(hooks.ralphLoop?.event?.(input)) await Promise.resolve(hooks.stopContinuationGuard?.event?.(input)) await Promise.resolve(hooks.compactionTodoPreserver?.event?.(input)) - await Promise.resolve(hooks.writeExistingFileGuard?.event?.(input)) await Promise.resolve(hooks.atlasHook?.handler?.(input)) }