mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-18 06:15:51 +00:00
style: 完成所有文件的lint
This commit is contained in:
@@ -1,22 +1,25 @@
|
||||
// Auto-generated stub — replace with real implementation
|
||||
export {};
|
||||
export {}
|
||||
|
||||
import type { Message } from 'src/types/message';
|
||||
import type { CompactionResult } from './compact.js';
|
||||
import type { Message } from 'src/types/message'
|
||||
import type { CompactionResult } from './compact.js'
|
||||
|
||||
export const isReactiveOnlyMode: () => boolean = () => false;
|
||||
export const isReactiveOnlyMode: () => boolean = () => false
|
||||
export const reactiveCompactOnPromptTooLong: (
|
||||
messages: Message[],
|
||||
cacheSafeParams: Record<string, unknown>,
|
||||
options: { customInstructions?: string; trigger?: string },
|
||||
) => Promise<{ ok: boolean; reason?: string; result?: CompactionResult }> = async () => ({ ok: false });
|
||||
export const isReactiveCompactEnabled: () => boolean = () => false;
|
||||
export const isWithheldPromptTooLong: (message: Message) => boolean = () => false;
|
||||
export const isWithheldMediaSizeError: (message: Message) => boolean = () => false;
|
||||
) => Promise<{ ok: boolean; reason?: string; result?: CompactionResult }> =
|
||||
async () => ({ ok: false })
|
||||
export const isReactiveCompactEnabled: () => boolean = () => false
|
||||
export const isWithheldPromptTooLong: (message: Message) => boolean = () =>
|
||||
false
|
||||
export const isWithheldMediaSizeError: (message: Message) => boolean = () =>
|
||||
false
|
||||
export const tryReactiveCompact: (params: {
|
||||
hasAttempted: boolean;
|
||||
querySource: string;
|
||||
aborted: boolean;
|
||||
messages: Message[];
|
||||
cacheSafeParams: Record<string, unknown>;
|
||||
}) => Promise<CompactionResult | null> = async () => null;
|
||||
hasAttempted: boolean
|
||||
querySource: string
|
||||
aborted: boolean
|
||||
messages: Message[]
|
||||
cacheSafeParams: Record<string, unknown>
|
||||
}) => Promise<CompactionResult | null> = async () => null
|
||||
|
||||
Reference in New Issue
Block a user