chore: include pre-built dist for github install
This commit is contained in:
+50
@@ -0,0 +1,50 @@
|
||||
import type { HookName, OhMyOpenCodeConfig } from "../../config";
|
||||
import type { PluginContext } from "../types";
|
||||
import type { ModelCacheState } from "../../plugin-state";
|
||||
export declare function createCoreHooks(args: {
|
||||
ctx: PluginContext;
|
||||
pluginConfig: OhMyOpenCodeConfig;
|
||||
modelCacheState: ModelCacheState;
|
||||
isHookEnabled: (hookName: HookName) => boolean;
|
||||
safeHookEnabled: boolean;
|
||||
}): {
|
||||
claudeCodeHooks: ReturnType<typeof import("../../hooks").createClaudeCodeHooksHook> | null;
|
||||
keywordDetector: ReturnType<typeof import("../../hooks").createKeywordDetectorHook> | null;
|
||||
contextInjectorMessagesTransform: ReturnType<typeof import("../../features/context-injector").createContextInjectorMessagesTransformHook>;
|
||||
thinkingBlockValidator: ReturnType<typeof import("../../hooks").createThinkingBlockValidatorHook> | null;
|
||||
commentChecker: ReturnType<typeof import("../../hooks").createCommentCheckerHooks> | null;
|
||||
toolOutputTruncator: ReturnType<typeof import("../../hooks").createToolOutputTruncatorHook> | null;
|
||||
directoryAgentsInjector: ReturnType<typeof import("../../hooks").createDirectoryAgentsInjectorHook> | null;
|
||||
directoryReadmeInjector: ReturnType<typeof import("../../hooks").createDirectoryReadmeInjectorHook> | null;
|
||||
emptyTaskResponseDetector: ReturnType<typeof import("../../hooks").createEmptyTaskResponseDetectorHook> | null;
|
||||
rulesInjector: ReturnType<typeof import("../../hooks").createRulesInjectorHook> | null;
|
||||
tasksTodowriteDisabler: ReturnType<typeof import("../../hooks").createTasksTodowriteDisablerHook> | null;
|
||||
writeExistingFileGuard: ReturnType<typeof import("../../hooks").createWriteExistingFileGuardHook> | null;
|
||||
hashlineReadEnhancer: ReturnType<typeof import("../../hooks").createHashlineReadEnhancerHook> | null;
|
||||
jsonErrorRecovery: ReturnType<typeof import("../../hooks").createJsonErrorRecoveryHook> | null;
|
||||
readImageResizer: ReturnType<typeof import("../../hooks").createReadImageResizerHook> | null;
|
||||
contextWindowMonitor: ReturnType<typeof import("../../hooks").createContextWindowMonitorHook> | null;
|
||||
preemptiveCompaction: ReturnType<typeof import("../../hooks").createPreemptiveCompactionHook> | null;
|
||||
sessionRecovery: ReturnType<typeof import("../../hooks").createSessionRecoveryHook> | null;
|
||||
sessionNotification: ReturnType<typeof import("../../hooks").createSessionNotification> | null;
|
||||
thinkMode: ReturnType<typeof import("../../hooks").createThinkModeHook> | null;
|
||||
modelFallback: ReturnType<typeof import("../../hooks").createModelFallbackHook> | null;
|
||||
anthropicContextWindowLimitRecovery: ReturnType<typeof import("../../hooks").createAnthropicContextWindowLimitRecoveryHook> | null;
|
||||
autoUpdateChecker: ReturnType<typeof import("../../hooks").createAutoUpdateCheckerHook> | null;
|
||||
agentUsageReminder: ReturnType<typeof import("../../hooks").createAgentUsageReminderHook> | null;
|
||||
nonInteractiveEnv: ReturnType<typeof import("../../hooks").createNonInteractiveEnvHook> | null;
|
||||
interactiveBashSession: ReturnType<typeof import("../../hooks").createInteractiveBashSessionHook> | null;
|
||||
ralphLoop: ReturnType<typeof import("../../hooks").createRalphLoopHook> | null;
|
||||
editErrorRecovery: ReturnType<typeof import("../../hooks").createEditErrorRecoveryHook> | null;
|
||||
delegateTaskRetry: ReturnType<typeof import("../../hooks").createDelegateTaskRetryHook> | null;
|
||||
startWork: ReturnType<typeof import("../../hooks").createStartWorkHook> | null;
|
||||
prometheusMdOnly: ReturnType<typeof import("../../hooks").createPrometheusMdOnlyHook> | null;
|
||||
sisyphusJuniorNotepad: ReturnType<typeof import("../../hooks").createSisyphusJuniorNotepadHook> | null;
|
||||
noSisyphusGpt: ReturnType<typeof import("../../hooks").createNoSisyphusGptHook> | null;
|
||||
noHephaestusNonGpt: ReturnType<typeof import("../../hooks").createNoHephaestusNonGptHook> | null;
|
||||
questionLabelTruncator: ReturnType<typeof import("../../hooks").createQuestionLabelTruncatorHook> | null;
|
||||
taskResumeInfo: ReturnType<typeof import("../../hooks").createTaskResumeInfoHook> | null;
|
||||
anthropicEffort: ReturnType<typeof import("../../hooks/anthropic-effort").createAnthropicEffortHook> | null;
|
||||
runtimeFallback: ReturnType<typeof import("../../hooks").createRuntimeFallbackHook> | null;
|
||||
delegateTaskEnglishDirective: ReturnType<typeof import("../../hooks").createDelegateTaskEnglishDirectiveHook> | null;
|
||||
};
|
||||
Reference in New Issue
Block a user