mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-17 22:05:50 +00:00
feat: 完成stub
This commit is contained in:
2
src/services/api/src/Tool.ts
Normal file
2
src/services/api/src/Tool.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
// Auto-generated type stub — replace with real implementation
|
||||
export type QueryChainTracking = any;
|
||||
22
src/services/api/src/bootstrap/state.ts
Normal file
22
src/services/api/src/bootstrap/state.ts
Normal 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;
|
||||
10
src/services/api/src/constants/betas.ts
Normal file
10
src/services/api/src/constants/betas.ts
Normal 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;
|
||||
2
src/services/api/src/constants/querySource.ts
Normal file
2
src/services/api/src/constants/querySource.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
// Auto-generated type stub — replace with real implementation
|
||||
export type QuerySource = any;
|
||||
2
src/services/api/src/context/notifications.ts
Normal file
2
src/services/api/src/context/notifications.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
// Auto-generated type stub — replace with real implementation
|
||||
export type Notification = any;
|
||||
2
src/services/api/src/cost-tracker.ts
Normal file
2
src/services/api/src/cost-tracker.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
// Auto-generated type stub — replace with real implementation
|
||||
export type addToTotalSessionCost = any;
|
||||
2
src/services/api/src/entrypoints/agentSdkTypes.ts
Normal file
2
src/services/api/src/entrypoints/agentSdkTypes.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
// Auto-generated type stub — replace with real implementation
|
||||
export type SDKAssistantMessageError = any;
|
||||
2
src/services/api/src/services/analytics/growthbook.ts
Normal file
2
src/services/api/src/services/analytics/growthbook.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
// Auto-generated type stub — replace with real implementation
|
||||
export type getFeatureValue_CACHED_MAY_BE_STALE = any;
|
||||
3
src/services/api/src/services/analytics/index.ts
Normal file
3
src/services/api/src/services/analytics/index.ts
Normal 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;
|
||||
2
src/services/api/src/types/connectorText.ts
Normal file
2
src/services/api/src/types/connectorText.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
// Auto-generated type stub — replace with real implementation
|
||||
export type isConnectorTextBlock = any;
|
||||
2
src/services/api/src/types/ids.ts
Normal file
2
src/services/api/src/types/ids.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
// Auto-generated type stub — replace with real implementation
|
||||
export type AgentId = any;
|
||||
5
src/services/api/src/types/message.ts
Normal file
5
src/services/api/src/types/message.ts
Normal 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;
|
||||
6
src/services/api/src/utils/advisor.ts
Normal file
6
src/services/api/src/utils/advisor.ts
Normal 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;
|
||||
2
src/services/api/src/utils/agentContext.ts
Normal file
2
src/services/api/src/utils/agentContext.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
// Auto-generated type stub — replace with real implementation
|
||||
export type getAgentContext = any;
|
||||
12
src/services/api/src/utils/auth.ts
Normal file
12
src/services/api/src/utils/auth.ts
Normal 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;
|
||||
2
src/services/api/src/utils/aws.ts
Normal file
2
src/services/api/src/utils/aws.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
// Auto-generated type stub — replace with real implementation
|
||||
export type isAwsCredentialsProviderError = any;
|
||||
5
src/services/api/src/utils/betas.ts
Normal file
5
src/services/api/src/utils/betas.ts
Normal 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;
|
||||
2
src/services/api/src/utils/claudeInChrome/common.ts
Normal file
2
src/services/api/src/utils/claudeInChrome/common.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
// Auto-generated type stub — replace with real implementation
|
||||
export type CLAUDE_IN_CHROME_MCP_SERVER_NAME = any;
|
||||
2
src/services/api/src/utils/claudeInChrome/prompt.ts
Normal file
2
src/services/api/src/utils/claudeInChrome/prompt.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
// Auto-generated type stub — replace with real implementation
|
||||
export type CHROME_TOOL_SEARCH_INSTRUCTIONS = any;
|
||||
2
src/services/api/src/utils/context.ts
Normal file
2
src/services/api/src/utils/context.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
// Auto-generated type stub — replace with real implementation
|
||||
export type getMaxThinkingTokensForModel = any;
|
||||
2
src/services/api/src/utils/debug.ts
Normal file
2
src/services/api/src/utils/debug.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
// Auto-generated type stub — replace with real implementation
|
||||
export type logForDebugging = any;
|
||||
2
src/services/api/src/utils/diagLogs.ts
Normal file
2
src/services/api/src/utils/diagLogs.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
// Auto-generated type stub — replace with real implementation
|
||||
export type logForDiagnosticsNoPII = any;
|
||||
4
src/services/api/src/utils/effort.ts
Normal file
4
src/services/api/src/utils/effort.ts
Normal 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;
|
||||
5
src/services/api/src/utils/fastMode.ts
Normal file
5
src/services/api/src/utils/fastMode.ts
Normal 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;
|
||||
2
src/services/api/src/utils/generators.ts
Normal file
2
src/services/api/src/utils/generators.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
// Auto-generated type stub — replace with real implementation
|
||||
export type returnValue = any;
|
||||
2
src/services/api/src/utils/gracefulShutdown.ts
Normal file
2
src/services/api/src/utils/gracefulShutdown.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
// Auto-generated type stub — replace with real implementation
|
||||
export type gracefulShutdown = any;
|
||||
2
src/services/api/src/utils/hash.ts
Normal file
2
src/services/api/src/utils/hash.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
// Auto-generated type stub — replace with real implementation
|
||||
export type djb2Hash = any;
|
||||
2
src/services/api/src/utils/headlessProfiler.ts
Normal file
2
src/services/api/src/utils/headlessProfiler.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
// Auto-generated type stub — replace with real implementation
|
||||
export type headlessProfilerCheckpoint = any;
|
||||
2
src/services/api/src/utils/http.ts
Normal file
2
src/services/api/src/utils/http.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
// Auto-generated type stub — replace with real implementation
|
||||
export type getUserAgent = any;
|
||||
2
src/services/api/src/utils/log.ts
Normal file
2
src/services/api/src/utils/log.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
// Auto-generated type stub — replace with real implementation
|
||||
export type logError = any;
|
||||
2
src/services/api/src/utils/mcpInstructionsDelta.ts
Normal file
2
src/services/api/src/utils/mcpInstructionsDelta.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
// Auto-generated type stub — replace with real implementation
|
||||
export type isMcpInstructionsDeltaEnabled = any;
|
||||
4
src/services/api/src/utils/messages.ts
Normal file
4
src/services/api/src/utils/messages.ts
Normal 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;
|
||||
4
src/services/api/src/utils/model/model.ts
Normal file
4
src/services/api/src/utils/model/model.ts
Normal 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;
|
||||
2
src/services/api/src/utils/model/modelStrings.ts
Normal file
2
src/services/api/src/utils/model/modelStrings.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
// Auto-generated type stub — replace with real implementation
|
||||
export type getModelStrings = any;
|
||||
4
src/services/api/src/utils/model/providers.ts
Normal file
4
src/services/api/src/utils/model/providers.ts
Normal 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;
|
||||
2
src/services/api/src/utils/modelCost.ts
Normal file
2
src/services/api/src/utils/modelCost.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
// Auto-generated type stub — replace with real implementation
|
||||
export type calculateUSDCost = any;
|
||||
2
src/services/api/src/utils/permissions/PermissionMode.ts
Normal file
2
src/services/api/src/utils/permissions/PermissionMode.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
// Auto-generated type stub — replace with real implementation
|
||||
export type PermissionMode = any;
|
||||
2
src/services/api/src/utils/permissions/filesystem.ts
Normal file
2
src/services/api/src/utils/permissions/filesystem.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
// Auto-generated type stub — replace with real implementation
|
||||
export type getClaudeTempDir = any;
|
||||
2
src/services/api/src/utils/privacyLevel.ts
Normal file
2
src/services/api/src/utils/privacyLevel.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
// Auto-generated type stub — replace with real implementation
|
||||
export type isEssentialTrafficOnly = any;
|
||||
2
src/services/api/src/utils/process.ts
Normal file
2
src/services/api/src/utils/process.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
// Auto-generated type stub — replace with real implementation
|
||||
export type writeToStderr = any;
|
||||
2
src/services/api/src/utils/proxy.ts
Normal file
2
src/services/api/src/utils/proxy.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
// Auto-generated type stub — replace with real implementation
|
||||
export type getProxyFetchOptions = any;
|
||||
3
src/services/api/src/utils/queryProfiler.ts
Normal file
3
src/services/api/src/utils/queryProfiler.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
// Auto-generated type stub — replace with real implementation
|
||||
export type endQueryProfile = any;
|
||||
export type queryCheckpoint = any;
|
||||
2
src/services/api/src/utils/slowOperations.ts
Normal file
2
src/services/api/src/utils/slowOperations.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
// Auto-generated type stub — replace with real implementation
|
||||
export type jsonStringify = any;
|
||||
2
src/services/api/src/utils/telemetry/events.ts
Normal file
2
src/services/api/src/utils/telemetry/events.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
// Auto-generated type stub — replace with real implementation
|
||||
export type logOTelEvent = any;
|
||||
4
src/services/api/src/utils/telemetry/sessionTracing.ts
Normal file
4
src/services/api/src/utils/telemetry/sessionTracing.ts
Normal 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;
|
||||
4
src/services/api/src/utils/thinking.ts
Normal file
4
src/services/api/src/utils/thinking.ts
Normal 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;
|
||||
4
src/services/api/src/utils/toolSearch.ts
Normal file
4
src/services/api/src/utils/toolSearch.ts
Normal 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;
|
||||
Reference in New Issue
Block a user