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 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;