fix(ci): restore missing hook exports and align config-handler test fixtures
This commit is contained in:
parent
5c83fee619
commit
6ad615958f
@ -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";
|
||||
|
||||
@ -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 = {}
|
||||
|
||||
@ -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))
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user