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

7
src/cli/bg.ts Normal file
View File

@@ -0,0 +1,7 @@
// Auto-generated stub — replace with real implementation
export {};
export const psHandler: any = (() => {}) as any;
export const logsHandler: any = (() => {}) as any;
export const attachHandler: any = (() => {}) as any;
export const killHandler: any = (() => {}) as any;
export const handleBgFlag: any = (() => {}) as any;

11
src/cli/handlers/ant.ts Normal file
View File

@@ -0,0 +1,11 @@
// Auto-generated stub — replace with real implementation
export {};
export const logHandler: any = (() => {}) as any;
export const errorHandler: any = (() => {}) as any;
export const exportHandler: any = (() => {}) as any;
export const taskCreateHandler: any = (() => {}) as any;
export const taskListHandler: any = (() => {}) as any;
export const taskGetHandler: any = (() => {}) as any;
export const taskUpdateHandler: any = (() => {}) as any;
export const taskDirHandler: any = (() => {}) as any;
export const completionHandler: any = (() => {}) as any;

View File

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

2
src/cli/rollback.ts Normal file
View File

@@ -0,0 +1,2 @@
// Auto-generated stub
export {};

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,14 @@
// Auto-generated type stub — replace with real implementation
export type SDKStatus = any;
export type ModelInfo = any;
export type SDKMessage = any;
export type SDKUserMessage = any;
export type SDKUserMessageReplay = any;
export type PermissionResult = any;
export type McpServerConfigForProcessTransport = any;
export type McpServerStatus = any;
export type RewindFilesResult = any;
export type HookEvent = any;
export type HookInput = any;
export type HookJSONOutput = any;
export type PermissionUpdate = any;

View File

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

View File

@@ -0,0 +1,9 @@
// Auto-generated type stub — replace with real implementation
export type StdoutMessage = any;
export type SDKControlInitializeRequest = any;
export type SDKControlInitializeResponse = any;
export type SDKControlRequest = any;
export type SDKControlResponse = any;
export type SDKControlMcpSetServersResponse = any;
export type SDKControlReloadPluginsResponse = any;
export type StdinMessage = any;

View File

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

View File

@@ -0,0 +1,5 @@
// Auto-generated type stub — replace with real implementation
export type tryGenerateSuggestion = any;
export type logSuggestionOutcome = any;
export type logSuggestionSuppressed = any;
export type PromptVariant = 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 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 isQualifiedForGrove = any;
export type checkGroveForNonInteractive = any;

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,5 @@
// Auto-generated type stub — replace with real implementation
export type ChannelMessageNotificationSchema = any;
export type gateChannelServer = any;
export type wrapChannelMessage = any;
export type findChannelEntry = any;

View File

@@ -0,0 +1,7 @@
// Auto-generated type stub — replace with real implementation
export type setupSdkMcpClients = any;
export type connectToServer = any;
export type clearServerCache = any;
export type fetchToolsForClient = any;
export type areMcpConfigsEqual = any;
export type reconnectMcpServerImpl = any;

View File

@@ -0,0 +1,6 @@
// Auto-generated type stub — replace with real implementation
export type filterMcpServersByPolicy = any;
export type getMcpConfigByName = any;
export type isMcpServerDisabled = any;
export type setMcpServerEnabled = any;
export type getAllMcpConfigs = any;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,3 @@
// Auto-generated type stub — replace with real implementation
export type downloadUserSettings = any;
export type redownloadUserSettings = 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 externalMetadataToAppState = any;

3
src/cli/src/tools.ts Normal file
View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

2
src/cli/src/utils/cwd.ts Normal file
View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,5 @@
// Auto-generated type stub — replace with real implementation
export type modelSupportsEffort = any;
export type modelSupportsMaxEffort = any;
export type EFFORT_LEVELS = any;
export type resolveAppliedEffort = any;

View File

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

View File

@@ -0,0 +1,5 @@
// Auto-generated type stub — replace with real implementation
export type isFastModeAvailable = any;
export type isFastModeEnabled = any;
export type isFastModeSupportedByModel = any;
export type getFastModeState = any;

View File

@@ -0,0 +1,5 @@
// Auto-generated type stub — replace with real implementation
export type fileHistoryRewind = any;
export type fileHistoryCanRestore = any;
export type fileHistoryEnabled = any;
export type fileHistoryGetDiffStats = any;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

4
src/cli/src/utils/log.ts Normal file
View File

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

View File

@@ -0,0 +1,8 @@
// Auto-generated type stub — replace with real implementation
export type dequeue = any;
export type dequeueAllMatching = any;
export type enqueue = any;
export type hasCommandsInQueue = any;
export type peek = any;
export type subscribeToCommandQueue = any;
export type getCommandsByMaxPriority = any;

View File

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

View File

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

View File

@@ -0,0 +1,5 @@
// Auto-generated type stub — replace with real implementation
export type getDefaultMainLoopModel = any;
export type getMainLoopModel = any;
export type modelDisplayString = any;
export type parseUserSpecifiedModel = any;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,6 @@
// Auto-generated type stub — replace with real implementation
export type isAutoModeGateEnabled = any;
export type getAutoModeUnavailableNotification = any;
export type getAutoModeUnavailableReason = any;
export type isBypassPermissionsModeDisabled = any;
export type transitionPermissionMode = any;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,7 @@
// Auto-generated type stub — replace with real implementation
export type getSessionState = any;
export type notifySessionStateChanged = any;
export type notifySessionMetadataChanged = any;
export type setPermissionModeChangedListener = any;
export type RequiresActionDetails = any;
export type SessionExternalMetadata = any;

View File

@@ -0,0 +1,11 @@
// Auto-generated type stub — replace with real implementation
export type hydrateRemoteSession = any;
export type hydrateFromCCRv2InternalEvents = any;
export type resetSessionFilePointer = any;
export type doesMessageExistInSession = any;
export type findUnresolvedToolUse = any;
export type recordAttributionSnapshot = any;
export type saveAgentSetting = any;
export type saveMode = any;
export type saveAiGeneratedTitle = any;
export type restoreSessionMetadata = any;

View File

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

View File

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

View File

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

View File

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

View File

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

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