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,2 @@
// Auto-generated type stub — replace with real implementation
export type CoreUserData = any;

View File

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

View File

@@ -0,0 +1,22 @@
// Auto-generated type stub — replace with real implementation
export type getSessionId = any;
export type getAfkModeHeaderLatched = any;
export type getCacheEditingHeaderLatched = any;
export type getFastModeHeaderLatched = any;
export type getLastApiCompletionTimestamp = any;
export type getPromptCache1hAllowlist = any;
export type getPromptCache1hEligible = any;
export type getThinkingClearLatched = any;
export type setAfkModeHeaderLatched = any;
export type setCacheEditingHeaderLatched = any;
export type setFastModeHeaderLatched = any;
export type setLastMainRequestId = any;
export type setPromptCache1hAllowlist = any;
export type setPromptCache1hEligible = any;
export type setThinkingClearLatched = any;
export type addToTotalDurationState = any;
export type consumePostCompaction = any;
export type getIsNonInteractiveSession = any;
export type getTeleportedSessionInfo = any;
export type markFirstTeleportMessageLogged = any;
export type setLastApiCompletionTimestamp = any;

View File

@@ -0,0 +1,10 @@
// Auto-generated type stub — replace with real implementation
export type AFK_MODE_BETA_HEADER = any;
export type CONTEXT_1M_BETA_HEADER = any;
export type CONTEXT_MANAGEMENT_BETA_HEADER = any;
export type EFFORT_BETA_HEADER = any;
export type FAST_MODE_BETA_HEADER = any;
export type PROMPT_CACHING_SCOPE_BETA_HEADER = any;
export type REDACT_THINKING_BETA_HEADER = any;
export type STRUCTURED_OUTPUTS_BETA_HEADER = any;
export type TASK_BUDGETS_BETA_HEADER = 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 Notification = any;

View File

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

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type SDKAssistantMessageError = 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,2 @@
// Auto-generated type stub — replace with real implementation
export type isConnectorTextBlock = any;

View File

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

View File

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

View File

@@ -0,0 +1,6 @@
// Auto-generated type stub — replace with real implementation
export type ADVISOR_TOOL_INSTRUCTIONS = any;
export type getExperimentAdvisorModels = any;
export type isAdvisorEnabled = any;
export type isValidAdvisorModel = any;
export type modelSupportsAdvisor = any;

View File

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

View File

@@ -0,0 +1,12 @@
// Auto-generated type stub — replace with real implementation
export type getAnthropicApiKeyWithSource = any;
export type getClaudeAIOAuthTokens = any;
export type getOauthAccountInfo = any;
export type isClaudeAISubscriber = any;
export type checkAndRefreshOAuthTokenIfNeeded = any;
export type getAnthropicApiKey = any;
export type getApiKeyFromApiKeyHelper = any;
export type refreshAndGetAwsCredentials = any;
export type refreshGcpCredentialsIfNeeded = any;
export type isConsumerSubscriber = any;
export type hasProfileScope = any;

View File

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

View File

@@ -0,0 +1,5 @@
// Auto-generated type stub — replace with real implementation
export type getToolSearchBetaHeader = any;
export type modelSupportsStructuredOutputs = any;
export type shouldIncludeFirstPartyOnlyBetas = any;
export type shouldUseGlobalCacheScope = any;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,12 @@
// Auto-generated stub — replace with real implementation
export {};
export const isCachedMicrocompactEnabled: any = (() => {}) as any;
export const isModelSupportedForCacheEditing: any = (() => {}) as any;
export const getCachedMCConfig: any = (() => {}) as any;
export const createCachedMCState: any = (() => {}) as any;
export const markToolsSentToAPI: any = (() => {}) as any;
export const resetCachedMCState: any = (() => {}) as any;
export const registerToolResult: any = (() => {}) as any;
export const registerToolMessage: any = (() => {}) as any;
export const getToolResultsToDelete: any = (() => {}) as any;
export const createCacheEditsBlock: any = (() => {}) as any;

View File

@@ -0,0 +1,8 @@
// Auto-generated stub — replace with real implementation
export {};
export const isReactiveOnlyMode: any = (() => {}) as any;
export const reactiveCompactOnPromptTooLong: any = (() => {}) as any;
export const isReactiveCompactEnabled: any = (() => {}) as any;
export const isWithheldPromptTooLong: any = (() => {}) as any;
export const isWithheldMediaSizeError: any = (() => {}) as any;
export const tryReactiveCompact: any = (() => {}) as any;

View File

@@ -0,0 +1,7 @@
// Auto-generated stub — replace with real implementation
export {};
export const isSnipMarkerMessage: any = (() => {}) as any;
export const snipCompactIfNeeded: any = (() => {}) as any;
export const isSnipRuntimeEnabled: any = (() => {}) as any;
export const shouldNudgeForSnips: any = (() => {}) as any;
export const SNIP_NUDGE_TEXT: any = (() => {}) as any;

View File

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

View File

@@ -0,0 +1,2 @@
// Auto-generated type stub — replace with real implementation
export type markPostCompaction = 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 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 NOTEBOOK_EDIT_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,2 @@
// Auto-generated type stub — replace with real implementation
export type WEB_SEARCH_TOOL_NAME = any;

View File

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

View File

@@ -0,0 +1,10 @@
// Auto-generated stub — replace with real implementation
export {};
export const getStats: any = (() => {}) as any;
export const isContextCollapseEnabled: any = (() => {}) as any;
export const subscribe: any = (() => {}) as any;
export const applyCollapsesIfNeeded: any = (() => {}) as any;
export const isWithheldPromptTooLong: any = (() => {}) as any;
export const recoverFromOverflow: any = (() => {}) as any;
export const resetContextCollapse: any = (() => {}) as any;
export const initContextCollapse: any = (() => {}) as any;

View File

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

View File

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

View File

@@ -0,0 +1,4 @@
// Auto-generated stub — replace with real implementation
export type LspServerConfig = any;
export type ScopedLspServerConfig = any;
export type LspServerState = 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 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,7 @@
// Auto-generated type stub — replace with real implementation
export type dedupClaudeAiMcpServers = any;
export type doesEnterpriseMcpConfigExist = any;
export type filterMcpServersByPolicy = any;
export type getClaudeCodeMcpConfigs = any;
export type isMcpServerDisabled = any;
export type setMcpServerEnabled = 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 AssistantMessage = any;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,12 @@
// Auto-generated stub — replace with real implementation
export type BillingType = any;
export type ReferralEligibilityResponse = any;
export type OAuthTokens = any;
export type SubscriptionType = any;
export type ReferralRedemptionsResponse = any;
export type ReferrerRewardInfo = any;
export type OAuthProfileResponse = any;
export type OAuthTokenExchangeResponse = any;
export type RateLimitTier = any;
export type UserRolesResponse = any;
export type ReferralCampaign = any;

View File

@@ -0,0 +1,3 @@
// Stub - security check disabled for open-source build
export function checkManagedSettingsSecurity() { return Promise.resolve({ ok: true }) }
export function handleSecurityCheckResult() { return true }

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,2 @@
// Auto-generated stub — replace with real implementation
export {};

View File

@@ -0,0 +1,2 @@
// Auto-generated stub — replace with real implementation
export {};

View File

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

View File

@@ -0,0 +1,2 @@
// Auto-generated stub — replace with real implementation
export {};

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

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