Files
oh-my-opencode/dist/config/schema/hooks.d.ts
T
2026-03-14 04:56:50 +00:00

54 lines
2.6 KiB
TypeScript

import { z } from "zod";
export declare const HookNameSchema: z.ZodEnum<{
atlas: "atlas";
"ralph-loop": "ralph-loop";
"start-work": "start-work";
"gpt-permission-continuation": "gpt-permission-continuation";
"todo-continuation-enforcer": "todo-continuation-enforcer";
"context-window-monitor": "context-window-monitor";
"session-recovery": "session-recovery";
"session-notification": "session-notification";
"comment-checker": "comment-checker";
"tool-output-truncator": "tool-output-truncator";
"question-label-truncator": "question-label-truncator";
"directory-agents-injector": "directory-agents-injector";
"directory-readme-injector": "directory-readme-injector";
"empty-task-response-detector": "empty-task-response-detector";
"think-mode": "think-mode";
"model-fallback": "model-fallback";
"anthropic-context-window-limit-recovery": "anthropic-context-window-limit-recovery";
"preemptive-compaction": "preemptive-compaction";
"rules-injector": "rules-injector";
"background-notification": "background-notification";
"auto-update-checker": "auto-update-checker";
"startup-toast": "startup-toast";
"keyword-detector": "keyword-detector";
"agent-usage-reminder": "agent-usage-reminder";
"non-interactive-env": "non-interactive-env";
"interactive-bash-session": "interactive-bash-session";
"thinking-block-validator": "thinking-block-validator";
"category-skill-reminder": "category-skill-reminder";
"compaction-context-injector": "compaction-context-injector";
"compaction-todo-preserver": "compaction-todo-preserver";
"claude-code-hooks": "claude-code-hooks";
"auto-slash-command": "auto-slash-command";
"edit-error-recovery": "edit-error-recovery";
"json-error-recovery": "json-error-recovery";
"delegate-task-retry": "delegate-task-retry";
"prometheus-md-only": "prometheus-md-only";
"sisyphus-junior-notepad": "sisyphus-junior-notepad";
"no-sisyphus-gpt": "no-sisyphus-gpt";
"no-hephaestus-non-gpt": "no-hephaestus-non-gpt";
"unstable-agent-babysitter": "unstable-agent-babysitter";
"task-resume-info": "task-resume-info";
"stop-continuation-guard": "stop-continuation-guard";
"tasks-todowrite-disabler": "tasks-todowrite-disabler";
"runtime-fallback": "runtime-fallback";
"write-existing-file-guard": "write-existing-file-guard";
"anthropic-effort": "anthropic-effort";
"hashline-read-enhancer": "hashline-read-enhancer";
"read-image-resizer": "read-image-resizer";
"delegate-task-english-directive": "delegate-task-english-directive";
}>;
export type HookName = z.infer<typeof HookNameSchema>;