feat: 完成stub

This commit is contained in:
claude-code-best
2026-03-31 20:40:16 +08:00
parent c26d614fb2
commit bd756cc369
905 changed files with 3996 additions and 375 deletions

View File

@@ -0,0 +1,5 @@
// Auto-generated stub — replace with real implementation
export {};
export const clearAttributionCaches: any = (() => {}) as any;
export const sweepFileContentCache: any = (() => {}) as any;
export const registerAttributionHooks: any = (() => {}) as any;

View File

@@ -0,0 +1,3 @@
// Auto-generated stub — replace with real implementation
export {};
export const buildPRTrailers: any = (() => {}) as any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type getOauthConfig = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type SDKMessage = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type getOrganizationUUID = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type SuggestionItem = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type logEvent = any;

View File

@@ -0,0 +1,4 @@
// Auto-generated stub — replace with real implementation
export {};
export const parseCcshareId: any = (() => {}) as any;
export const loadCcshare: any = (() => {}) as any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type getFeatureValue_CACHED_MAY_BE_STALE = any;

View File

@@ -0,0 +1,3 @@
// Auto-generated type stub — replace with real implementation
export type AnalyticsMetadata_I_VERIFIED_THIS_IS_NOT_CODE_OR_FILEPATHS = any;
export type logEvent = any;

View File

@@ -0,0 +1,3 @@
// Auto-generated stub — replace with real implementation
export {};
export const startEventLoopStallDetector: any = (() => {}) as any;

View File

@@ -0,0 +1,24 @@
export const FILE_COUNT_LIMIT = 10000
export const OUTPUTS_SUBDIR = ".claude-code/outputs"
export const DEFAULT_UPLOAD_CONCURRENCY = 5
export interface FailedPersistence {
filePath: string
error: string
}
export interface PersistedFile {
filePath: string
fileId: string
}
export interface FilesPersistedEventData {
sessionId: string
turnStartTime: number
persistedFiles: PersistedFile[]
failedFiles: FailedPersistence[]
}
export interface TurnStartTime {
turnStartTime: number
}

View File

@@ -0,0 +1,6 @@
// Auto-generated type stub — replace with real implementation
export type HookEvent = any;
export type AsyncHookJSONOutput = any;
export type SyncHookJSONOutput = any;
export type HOOK_EVENTS = any;
export type HookEvent = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type HOOK_EVENTS = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type AppState = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type Message = any;

View File

@@ -0,0 +1,3 @@
// Auto-generated type stub — replace with real implementation
export type getSessionId = any;
export type getSdkBetas = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type DEFAULT_OUTPUT_STYLE_NAME = any;

View File

@@ -0,0 +1,3 @@
// Auto-generated type stub — replace with real implementation
export type LOCAL_COMMAND_STDERR_TAG = any;
export type LOCAL_COMMAND_STDOUT_TAG = any;

View File

@@ -0,0 +1,7 @@
// Auto-generated type stub — replace with real implementation
export type SDKAssistantMessage = any;
export type SDKCompactBoundaryMessage = any;
export type SDKMessage = any;
export type SDKRateLimitInfo = any;
export type ApiKeySource = any;
export type PermissionMode = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type ClaudeAILimits = any;

View File

@@ -0,0 +1,3 @@
// Auto-generated type stub — replace with real implementation
export type AGENT_TOOL_NAME = any;
export type LEGACY_AGENT_TOOL_NAME = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type EXIT_PLAN_MODE_V2_TOOL_NAME = any;

View File

@@ -0,0 +1,4 @@
// Auto-generated type stub — replace with real implementation
export type AssistantMessage = any;
export type CompactMetadata = any;
export type Message = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type DeepImmutable = any;

View File

@@ -0,0 +1,3 @@
// Auto-generated type stub — replace with real implementation
export type getModelStrings = any;
export type setModelStrings = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type getFeatureValue_CACHED_MAY_BE_STALE = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type OverageDisabledReason = any;

View File

@@ -0,0 +1,3 @@
// Auto-generated type stub — replace with real implementation
export type AnalyticsMetadata_I_VERIFIED_THIS_IS_NOT_CODE_OR_FILEPATHS = any;
export type logEvent = any;

View File

@@ -0,0 +1,4 @@
// Auto-generated type stub — replace with real implementation
export type ToolPermissionContext = any;
export type Tool = any;
export type ToolUseContext = any;

View File

@@ -0,0 +1,3 @@
// Auto-generated type stub — replace with real implementation
export type hasAutoMemPathOverride = any;
export type isAutoMemPath = any;

View File

@@ -0,0 +1,5 @@
// Auto-generated type stub — replace with real implementation
export type checkSecurityRestrictionGate = any;
export type checkStatsigFeatureGate_CACHED_MAY_BE_STALE = any;
export type getDynamicConfig_BLOCKS_ON_INIT = any;
export type getFeatureValue_CACHED_MAY_BE_STALE = any;

View File

@@ -0,0 +1,5 @@
// Auto-generated type stub — replace with real implementation
export type AppState = any;
export type useAppState = any;
export type useAppStateStore = any;
export type useSetAppState = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type isAgentMemoryPath = any;

View File

@@ -0,0 +1,4 @@
// Auto-generated type stub — replace with real implementation
export type CLAUDE_FOLDER_PERMISSION_PATTERN = any;
export type FILE_EDIT_TOOL_NAME = any;
export type GLOBAL_CLAUDE_FOLDER_PERMISSION_PATTERN = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type HookEvent = any;

View File

@@ -0,0 +1,3 @@
// Auto-generated stub — replace with real implementation
export {};
export const installPrepareCommitMsgHook: any = (() => {}) as any;

View File

@@ -0,0 +1,3 @@
// Auto-generated type stub — replace with real implementation
export type SetToolJSXFn = any;
export type ToolUseContext = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type setPromptId = any;

View File

@@ -0,0 +1,9 @@
// Auto-generated type stub — replace with real implementation
export type builtInCommandNames = any;
export type Command = any;
export type CommandBase = any;
export type findCommand = any;
export type getCommand = any;
export type getCommandName = any;
export type hasCommand = any;
export type PromptCommand = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type BashModeProgress = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type NO_CONTENT_MESSAGE = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type QuerySource = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type logEvent = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type BashTool = any;

View File

@@ -0,0 +1,8 @@
// Auto-generated type stub — replace with real implementation
export type AttachmentMessage<T = any> = any;
export type SystemMessage = any;
export type UserMessage = any;
export type AssistantMessage = any;
export type Message = any;
export type NormalizedUserMessage = any;
export type ProgressMessage<T = any> = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type ShellProgress = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type getContentText = any;

View File

@@ -0,0 +1,3 @@
// Auto-generated stub — replace with real implementation
export {};
export const checkProtectedNamespace: any = (() => {}) as any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type BASH_TOOL_NAME = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type FILE_EDIT_TOOL_NAME = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type FILE_READ_TOOL_NAME = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type WEB_FETCH_TOOL_NAME = any;

View File

@@ -0,0 +1,3 @@
// Auto-generated stub — replace with real implementation
export {};
export const startSdkMemoryMonitor: any = (() => {}) as any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type getOauthConfig = any;

View File

@@ -0,0 +1,3 @@
// Auto-generated stub — replace with real implementation
export type SecureStorage = any;
export type SecureStorageData = any;

View File

@@ -0,0 +1,3 @@
// Auto-generated stub — replace with real implementation
export {};
export const createSessionTurnUploader: any = (() => {}) as any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type ValidationResult = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type ConfigScope = any;

View File

@@ -0,0 +1,5 @@
// Auto-generated type stub — replace with real implementation
export type getOriginalCwd = any;
export type getSessionId = any;
export type getIsNonInteractiveSession = any;
export type isSessionPersistenceDisabled = any;

View File

@@ -0,0 +1,4 @@
// Auto-generated type stub — replace with real implementation
export type getOauthConfig = any;
export type OAUTH_BETA_HEADER = any;
export type CLAUDE_AI_PROFILE_SCOPE = any;

View File

@@ -0,0 +1,3 @@
// Auto-generated type stub — replace with real implementation
export type getSystemPrompt = any;
export type SYSTEM_PROMPT_DYNAMIC_BOUNDARY = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type QuerySource = any;

3
src/utils/src/context.ts Normal file
View File

@@ -0,0 +1,3 @@
// Auto-generated type stub — replace with real implementation
export type getSystemContext = any;
export type getUserContext = any;

View File

@@ -0,0 +1,37 @@
// Auto-generated type stub — replace with real implementation
export type ExitReason = any;
export type HookEvent = any;
export type SDKAssistantMessageError = any;
export type ModelUsage = any;
export type SDKMessage = any;
export type SyncHookJSONOutput = any;
export type HookInput = any;
export type HookJSONOutput = any;
export type NotificationHookInput = any;
export type PostToolUseHookInput = any;
export type PostToolUseFailureHookInput = any;
export type PermissionDeniedHookInput = any;
export type PreCompactHookInput = any;
export type PostCompactHookInput = any;
export type PreToolUseHookInput = any;
export type SessionStartHookInput = any;
export type SessionEndHookInput = any;
export type SetupHookInput = any;
export type StopHookInput = any;
export type StopFailureHookInput = any;
export type SubagentStartHookInput = any;
export type SubagentStopHookInput = any;
export type TeammateIdleHookInput = any;
export type TaskCreatedHookInput = any;
export type TaskCompletedHookInput = any;
export type ConfigChangeHookInput = any;
export type CwdChangedHookInput = any;
export type FileChangedHookInput = any;
export type InstructionsLoadedHookInput = any;
export type UserPromptSubmitHookInput = any;
export type PermissionRequestHookInput = any;
export type ElicitationHookInput = any;
export type ElicitationResultHookInput = any;
export type PermissionUpdate = any;
export type AsyncHookJSONOutput = any;
export type SDKAssistantMessage = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type StdoutMessage = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type EffortLevel = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type isAnalyticsDisabled = any;

View File

@@ -0,0 +1,5 @@
// Auto-generated type stub — replace with real implementation
export type checkGate_CACHED_OR_BLOCKING = any;
export type getFeatureValue_CACHED_MAY_BE_STALE = any;
export type checkStatsigFeatureGate_CACHED_MAY_BE_STALE = any;
export type getDynamicConfig_BLOCKS_ON_INIT = any;

View File

@@ -0,0 +1,4 @@
// Auto-generated type stub — replace with real implementation
export type AnalyticsMetadata_I_VERIFIED_THIS_IS_NOT_CODE_OR_FILEPATHS = any;
export type logEvent = any;
export type AnalyticsMetadata_I_VERIFIED_THIS_IS_NOT_CODE_OR_FILEPATHS = any;

View File

@@ -0,0 +1,3 @@
// Auto-generated type stub — replace with real implementation
export type AnalyticsMetadata_I_VERIFIED_THIS_IS_NOT_CODE_OR_FILEPATHS = any;
export type sanitizeToolNameForAnalytics = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type microcompactMessages = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type prefetchAllMcpResources = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type ScopedMcpServerConfig = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type notifyVscodeFileUpdated = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type isPolicyAllowed = any;

2
src/utils/src/tools.ts Normal file
View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type getTools = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type EXPLORE_AGENT = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type PLAN_AGENT = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type areExplorePlanAgentsEnabled = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type AGENT_TOOL_NAME = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type ASK_USER_QUESTION_TOOL_NAME = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type BashTool = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type ExitPlanModeV2Tool = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type FileEditTool = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type FILE_EDIT_TOOL_NAME = any;

View File

@@ -0,0 +1,4 @@
// Auto-generated type stub — replace with real implementation
export type normalizeFileEditInput = any;
export type stripTrailingWhitespace = any;
export type getSnippetForTwoFileDiff = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type getDefaultFileReadingLimits = any;

View File

@@ -0,0 +1,3 @@
// Auto-generated type stub — replace with real implementation
export type FILE_READ_TOOL_NAME = any;
export type MAX_LINES_TO_READ = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type FileWriteTool = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type FILE_WRITE_TOOL_NAME = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type GLOB_TOOL_NAME = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type GREP_TOOL_NAME = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type LSP_TOOL_NAME = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type LIST_MCP_RESOURCES_TOOL_NAME = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type NOTEBOOK_EDIT_TOOL_NAME = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type TASK_STOP_TOOL_NAME = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type WEB_SEARCH_TOOL_NAME = any;

View File

@@ -0,0 +1,3 @@
// Auto-generated type stub — replace with real implementation
export type AgentId = any;
export type SessionId = any;

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type LogOption = any;

Some files were not shown because too many files have changed in this diff Show More