InkdownInkdown
Start writing

Claude-Code

62 filesยท4 subfolders

Shared Workspace

Claude-Code
codex

1100_full_codebase_file_inventory_grouped_by_directory

Shared from "Claude-Code" on Inkdown

Complete Module Inventory: Every File Grouped By Directory

This appendix is the traversal coverage proof. Every file under /Users/shubhojeetbera/Downloads/src appears once.

Traversal stats: 1902 files, 514587 lines, 0 unreadable files.

(root)

Root orchestration and shared abstractions: CLI startup, query engine, tool base types, setup, and top-level session wiring. This section covers 18 file(s).

  • commands.ts: Module under (root). Named exports: , , , , , , .... Environment variables read here: , . External packages imported here: , . Area context: Root orchestration and shared abstractions: CLI startup, query engine, tool base types, setup, and top-level session wiring.
0000_start_here_index_and_recommended_reading_order.md
0100_project_overview_tech_stack_runtime_modes_and_folder_map.md
0200_startup_flow_entry_points_and_cold_start_sequence.md
0300_codebase_modules_layers_state_models_and_schemas.md
0400_system_architecture_and_design_rationale.md
0500_interactive_repl_request_flow_end_to_end.md
0600_headless_sdk_and_print_mode_request_flow_end_to_end.md
0700_mcp_integration_connection_and_tool_call_flow.md
0800_external_services_sdks_storage_and_local_dependencies.md
0900_environment_variables_settings_feature_flags_and_failure_modes.md
1000_non_obvious_patterns_gotchas_and_debugging_traps.md
1100_full_codebase_file_inventory_grouped_by_directory.md
kimi
00-overview.md
01-entrypoints.md
02-state-management.md
03-query-system.md
04-tools-system.md
05-tasks-system.md
06-ui-components.md
07-bridge-remote.md
08-services.md
09-skills-plugins.md
10-commands.md
11-testing-architecture.md
12-permission-system.md
13-build-system.md
14-ink-internals.md
15-git-internals.md
16-context-compaction.md
17-vim-mode.md
18-mailbox-notifications.md
19-session-persistence.md
20-hooks-system.md
21-error-recovery.md
README.md
qwen
00-overview.md
01-entry-points.md
02-query-engine.md
03-tools-and-tasks.md
04-commands-and-skills.md
05-state-management.md
06-ink-rendering.md
07-bridge-remote.md
08-mcp-services.md
09-services-overview.md
10-multi-agent.md
11-system-prompt-constants.md
12-tool-interface.md
13-memory-system.md
14-buddy-companion.md
15-keybindings.md
16-stop-hooks.md
17-vim-mode.md
18-upstreamproxy.md
19-cost-tracking-history.md
20-contexts-styles-onboarding.md
21-hooks.md
22-screens.md
tweets-explain
claude-code-memory-analysis.md
compact
memory-system
agentic-architecture
INTERNAL_ONLY_COMMANDS
builtInCommandNames
meetsAvailabilityRequirement
getCommands
clearCommandMemoizationCaches
clearCommandsCache
IS_DEMO
USER_TYPE
bun:bundle
lodash-es/memoize.js
  • context.ts: Module under (root). Named exports: getSystemPromptInjection, setSystemPromptInjection, getGitStatus, getSystemContext, getUserContext. Environment variables read here: CLAUDE_CODE_DISABLE_CLAUDE_MDS, CLAUDE_CODE_REMOTE, NODE_ENV. External packages imported here: bun:bundle, lodash-es/memoize.js. Area context: Root orchestration and shared abstractions: CLI startup, query engine, tool base types, setup, and top-level session wiring.
  • cost-tracker.ts: Module under (root). Named exports: getStoredSessionCosts, restoreCostStateForSession, saveCurrentSessionCosts, formatTotalCost, addToTotalSessionCost. External packages imported here: chalk. Area context: Root orchestration and shared abstractions: CLI startup, query engine, tool base types, setup, and top-level session wiring.
  • costHook.ts: Module under (root). Named exports: useCostSummary. External packages imported here: react. Area context: Root orchestration and shared abstractions: CLI startup, query engine, tool base types, setup, and top-level session wiring.
  • dialogLaunchers.tsx: Module under (root). Named exports: launchSnapshotUpdateDialog, launchInvalidSettingsDialog, launchAssistantSessionChooser, launchAssistantInstallWizard, launchTeleportResumeWrapper, launchTeleportRepoMismatchDialog, .... External packages imported here: react. Area context: Root orchestration and shared abstractions: CLI startup, query engine, tool base types, setup, and top-level session wiring.
  • history.ts: Module under (root). Named exports: getPastedTextRefNumLines, formatPastedTextRef, formatImageRef, parseReferences, expandPastedTextRefs, TimestampedHistoryEntry, .... Environment variables read here: CLAUDE_CODE_SKIP_PROMPT_HISTORY. External packages imported here: fs/promises, path. Area context: Root orchestration and shared abstractions: CLI startup, query engine, tool base types, setup, and top-level session wiring.
  • ink.ts: Module under (root). Named exports: render, createRoot. External packages imported here: react. Area context: Root orchestration and shared abstractions: CLI startup, query engine, tool base types, setup, and top-level session wiring.
  • interactiveHelpers.tsx: Module under (root). Named exports: completeOnboarding, showDialog, exitWithError, exitWithMessage, showSetupDialog, renderAndRun, .... Environment variables read here: ANTHROPIC_API_KEY, CLAUBBIT, CLAUDE_CODE_FRAME_TIMING_LOG, IS_DEMO. External packages imported here: bun:bundle, fs, react. Area context: Root orchestration and shared abstractions: CLI startup, query engine, tool base types, setup, and top-level session wiring.
  • main.tsx: Module under (root). Named exports: startDeferredPrefetches, main. Environment variables read here: ANTHROPIC_BASE_URL, ANTHROPIC_MODEL, CLAUDE_CODE_ACTION, CLAUDE_CODE_AGENT, CLAUDE_CODE_BRIEF, CLAUDE_CODE_CLIENT_CERT, .... External packages imported here: @commander-js/extra-typings, bun:bundle, chalk, fs, lodash-es/mapValues.js, .... Area context: Root orchestration and shared abstractions: CLI startup, query engine, tool base types, setup, and top-level session wiring.
  • projectOnboardingState.ts: Module under (root). Named exports: Step, getSteps, isProjectOnboardingComplete, maybeMarkProjectOnboardingComplete, shouldShowProjectOnboarding, incrementProjectOnboardingSeenCount. Environment variables read here: IS_DEMO. External packages imported here: lodash-es/memoize.js, path. Area context: Root orchestration and shared abstractions: CLI startup, query engine, tool base types, setup, and top-level session wiring.
  • query.ts: Module under (root). Named exports: QueryParams. Environment variables read here: CLAUDE_CODE_MAX_OUTPUT_TOKENS, USER_TYPE. External packages imported here: bun:bundle. Area context: Root orchestration and shared abstractions: CLI startup, query engine, tool base types, setup, and top-level session wiring.
  • QueryEngine.ts: Module under (root). Named exports: QueryEngineConfig, QueryEngine. Environment variables read here: CLAUDE_CODE_EAGER_FLUSH, CLAUDE_CODE_IS_COWORK, MAX_STRUCTURED_OUTPUT_RETRIES. External packages imported here: bun:bundle, crypto, lodash-es/last.js, strip-ansi. Area context: Root orchestration and shared abstractions: CLI startup, query engine, tool base types, setup, and top-level session wiring.
  • replLauncher.tsx: Module under (root). Named exports: launchRepl. External packages imported here: react. Area context: Root orchestration and shared abstractions: CLI startup, query engine, tool base types, setup, and top-level session wiring.
  • setup.ts: Module under (root). Named exports: setup. Environment variables read here: CLAUDE_CODE_BUBBLEWRAP, CLAUDE_CODE_ENTRYPOINT, CLAUDE_CODE_SYNC_PLUGIN_INSTALL, IS_SANDBOX, NODE_ENV, USER_TYPE. External packages imported here: bun:bundle, chalk. Area context: Root orchestration and shared abstractions: CLI startup, query engine, tool base types, setup, and top-level session wiring.
  • Task.ts: Module under (root). Named exports: TaskType, TaskStatus, isTerminalTaskStatus, TaskHandle, SetAppState, TaskContext, .... External packages imported here: crypto. Area context: Root orchestration and shared abstractions: CLI startup, query engine, tool base types, setup, and top-level session wiring.
  • tasks.ts: Module under (root). Named exports: getAllTasks, getTaskByType. External packages imported here: bun:bundle. Area context: Root orchestration and shared abstractions: CLI startup, query engine, tool base types, setup, and top-level session wiring.
  • Tool.ts: Module under (root). Named exports: ToolInputJSONSchema, QueryChainTracking, ValidationResult, SetToolJSXFn, ToolPermissionContext, getEmptyToolPermissionContext, .... Area context: Root orchestration and shared abstractions: CLI startup, query engine, tool base types, setup, and top-level session wiring.
  • tools.ts: Module under (root). Named exports: TOOL_PRESETS, ToolPreset, parseToolPreset, getToolsForDefaultPreset, getAllBaseTools, filterToolsByDenyRules, .... Environment variables read here: CLAUDE_CODE_SIMPLE, CLAUDE_CODE_VERIFY_PLAN, ENABLE_LSP_TOOL, NODE_ENV, USER_TYPE. External packages imported here: bun:bundle, lodash-es/uniqBy.js. Area context: Root orchestration and shared abstractions: CLI startup, query engine, tool base types, setup, and top-level session wiring.
  • entrypoints

    Bootstrap entrypoints and public SDK or CLI type contracts. This section covers 8 file(s).

    • entrypoints/agentSdkTypes.ts: Process entrypoint or SDK contract module. Named exports: tool, createSdkMcpServer, AbortError, query, unstable_v2_createSession, unstable_v2_resumeSession, .... Area context: Bootstrap entrypoints and public SDK or CLI type contracts.
    • entrypoints/cli.tsx: Process entrypoint or SDK contract module. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Environment variables read here: CLAUDE_CODE_ABLATION_BASELINE, CLAUDE_CODE_REMOTE, CLAUDE_CODE_SIMPLE, COREPACK_ENABLE_AUTO_PIN, NODE_OPTIONS. External packages imported here: bun:bundle. Area context: Bootstrap entrypoints and public SDK or CLI type contracts.
    • entrypoints/init.ts: Process entrypoint or SDK contract module. Named exports: init, initializeTelemetryAfterTrust. Environment variables read here: CLAUDE_CODE_REMOTE. External packages imported here: lodash-es/memoize.js. Area context: Bootstrap entrypoints and public SDK or CLI type contracts.
    • entrypoints/mcp.ts: Process entrypoint or SDK contract module. Named exports: startMCPServer. External packages imported here: @modelcontextprotocol/sdk/server/index.js, @modelcontextprotocol/sdk/server/stdio.js, @modelcontextprotocol/sdk/types.js. Area context: Bootstrap entrypoints and public SDK or CLI type contracts.
    • entrypoints/sandboxTypes.ts: Process entrypoint or SDK contract module. Named exports: SandboxNetworkConfigSchema, SandboxFilesystemConfigSchema, SandboxSettingsSchema, SandboxSettings, SandboxNetworkConfig, SandboxFilesystemConfig, .... External packages imported here: zod/v4. Area context: Bootstrap entrypoints and public SDK or CLI type contracts.
    • entrypoints/sdk/controlSchemas.ts: Process entrypoint or SDK contract module. Named exports: JSONRPCMessagePlaceholder, SDKHookCallbackMatcherSchema, SDKControlInitializeRequestSchema, SDKControlInitializeResponseSchema, SDKControlInterruptRequestSchema, SDKControlPermissionRequestSchema, .... External packages imported here: zod/v4. Area context: Bootstrap entrypoints and public SDK or CLI type contracts.
    • entrypoints/sdk/coreSchemas.ts: Process entrypoint or SDK contract module. Named exports: ModelUsageSchema, OutputFormatTypeSchema, BaseOutputFormatSchema, JsonSchemaOutputFormatSchema, OutputFormatSchema, ApiKeySourceSchema, .... External packages imported here: zod/v4. Area context: Bootstrap entrypoints and public SDK or CLI type contracts.
    • entrypoints/sdk/coreTypes.ts: Process entrypoint or SDK contract module. Named exports: HOOK_EVENTS, EXIT_REASONS. Area context: Bootstrap entrypoints and public SDK or CLI type contracts.

    bootstrap

    Process-global bootstrap state and counters used very early in startup and throughout the session. This section covers 1 file(s).

    • bootstrap/state.ts: Module under bootstrap. Named exports: ChannelEntry, AttributedCounter, getSessionId, regenerateSessionId, getParentSessionId, switchSession, .... Environment variables read here: NODE_ENV, USER_TYPE. External packages imported here: fs, lodash-es/sumBy.js, process. Area context: Process-global bootstrap state and counters used very early in startup and throughout the session.

    state

    AppState shape, store utilities, and state change propagation. This section covers 6 file(s).

    • state/AppState.tsx: State or store module. Named exports: AppStoreContext, AppStateProvider, useAppState, useSetAppState, useAppStateStore, useAppStateMaybeOutsideOfProvider. External packages imported here: bun:bundle, react, react/compiler-runtime. Area context: AppState shape, store utilities, and state change propagation.
    • state/AppStateStore.ts: State or store module. Named exports: CompletionBoundary, SpeculationResult, SpeculationState, IDLE_SPECULATION_STATE, FooterItem, AppState, .... Area context: AppState shape, store utilities, and state change propagation.
    • state/onChangeAppState.ts: State or store module. Named exports: externalMetadataToAppState, onChangeAppState. Environment variables read here: USER_TYPE. Area context: AppState shape, store utilities, and state change propagation.
    • state/selectors.ts: State or store module. Named exports: getViewedTeammateTask, ActiveAgentForInput, getActiveAgentForInput. Area context: AppState shape, store utilities, and state change propagation.
    • state/store.ts: State or store module. Named exports: Store, createStore. Area context: AppState shape, store utilities, and state change propagation.
    • state/teammateViewHelpers.ts: State or store module. Named exports: enterTeammateView, exitTeammateView, stopOrDismissAgent. Area context: AppState shape, store utilities, and state change propagation.

    commands

    Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more. This section covers 207 file(s).

    • commands/add-dir/add-dir.tsx: Command-layer module. Named exports: call. External packages imported here: chalk, figures, react, react/compiler-runtime. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/add-dir/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/add-dir/validation.ts: Command-layer module. Named exports: AddDirectoryResult, validateDirectoryForWorkspace, addDirHelpMessage. External packages imported here: chalk, fs/promises, path. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/advisor.ts: Command-layer module. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/agents/agents.tsx: Command-layer module. Named exports: call. External packages imported here: react. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/agents/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/ant-trace/index.js: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/autofix-pr/index.js: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/backfill-sessions/index.js: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/branch/branch.ts: Command-layer module. Named exports: deriveFirstPrompt, call. External packages imported here: crypto, fs/promises. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/branch/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. External packages imported here: bun:bundle. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/break-cache/index.js: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/bridge-kick.ts: Command-layer module. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Environment variables read here: USER_TYPE. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/bridge/bridge.tsx: Command-layer module. Named exports: call. External packages imported here: bun:bundle, qrcode, react, react/compiler-runtime. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/bridge/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. External packages imported here: bun:bundle. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/brief.ts: Command-layer module. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. External packages imported here: bun:bundle, zod/v4. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/btw/btw.tsx: Command-layer module. Named exports: call. External packages imported here: react, react/compiler-runtime, usehooks-ts. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/btw/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/bughunter/index.js: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/chrome/chrome.tsx: Command-layer module. Named exports: call. External packages imported here: react, react/compiler-runtime. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/chrome/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/clear/caches.ts: Command-layer module. Named exports: clearSessionCaches. Environment variables read here: USER_TYPE. External packages imported here: bun:bundle. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/clear/clear.ts: Command-layer module. Named exports: call. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/clear/conversation.ts: Command-layer module. Named exports: clearConversation. Environment variables read here: CLAUDE_CODE_SESSION_ID, USER_TYPE. External packages imported here: bun:bundle, crypto. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/clear/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/color/color.ts: Command-layer module. Named exports: call. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/color/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/commit-push-pr.ts: Command-layer module. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Environment variables read here: SAFEUSER, USER, USER_TYPE. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/commit.ts: Command-layer module. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Environment variables read here: USER_TYPE. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/compact/compact.ts: Command-layer module. Named exports: call. External packages imported here: bun:bundle, chalk. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/compact/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Environment variables read here: DISABLE_COMPACT. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/config/config.tsx: Command-layer module. Named exports: call. External packages imported here: react. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/config/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/context/context-noninteractive.ts: Command-layer module. Named exports: collectContextData, call. Environment variables read here: USER_TYPE. External packages imported here: bun:bundle. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/context/context.tsx: Command-layer module. Named exports: call. External packages imported here: bun:bundle, react. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/context/index.ts: Index or entry module for its directory. Named exports: context, contextNonInteractive. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/copy/copy.tsx: Command-layer module. Named exports: collectRecentAssistantTexts, fileExtension, call. External packages imported here: fs/promises, marked, os, path, react, .... Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/copy/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/cost/cost.ts: Command-layer module. Named exports: call. Environment variables read here: USER_TYPE. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/cost/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Environment variables read here: USER_TYPE. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/createMovedToPluginCommand.ts: Command-layer module. Named exports: createMovedToPluginCommand. Environment variables read here: USER_TYPE. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/ctx_viz/index.js: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/debug-tool-call/index.js: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/desktop/desktop.tsx: Command-layer module. Named exports: call. External packages imported here: react. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/desktop/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/diff/diff.tsx: Command-layer module. Named exports: call. External packages imported here: react. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/diff/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/doctor/doctor.tsx: Command-layer module. Named exports: call. External packages imported here: react. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/doctor/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Environment variables read here: DISABLE_DOCTOR_COMMAND. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/effort/effort.tsx: Command-layer module. Named exports: showCurrentEffort, executeEffort, call. Environment variables read here: CLAUDE_CODE_EFFORT_LEVEL. External packages imported here: react, react/compiler-runtime. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/effort/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/env/index.js: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/exit/exit.tsx: Command-layer module. Named exports: call. External packages imported here: bun:bundle, child_process, lodash-es/sample.js, react. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/exit/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/export/export.tsx: Command-layer module. Named exports: extractFirstPrompt, sanitizeFilename, call. External packages imported here: path, react. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/export/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/extra-usage/extra-usage-core.ts: Command-layer module. Named exports: runExtraUsage. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/extra-usage/extra-usage-noninteractive.ts: Command-layer module. Named exports: call. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/extra-usage/extra-usage.tsx: Command-layer module. Named exports: call. External packages imported here: react. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/extra-usage/index.ts: Index or entry module for its directory. Named exports: extraUsage, extraUsageNonInteractive. Environment variables read here: DISABLE_EXTRA_USAGE_COMMAND. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/fast/fast.tsx: Command-layer module. Named exports: FastModePicker, call. External packages imported here: react, react/compiler-runtime. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/fast/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/feedback/feedback.tsx: Command-layer module. Named exports: renderFeedbackComponent, call. External packages imported here: react. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/feedback/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Environment variables read here: CLAUDE_CODE_USE_BEDROCK, CLAUDE_CODE_USE_FOUNDRY, CLAUDE_CODE_USE_VERTEX, DISABLE_BUG_COMMAND, DISABLE_FEEDBACK_COMMAND, USER_TYPE. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/files/files.ts: Command-layer module. Named exports: call. External packages imported here: path. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/files/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Environment variables read here: USER_TYPE. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/good-claude/index.js: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/heapdump/heapdump.ts: Command-layer module. Named exports: call. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/heapdump/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/help/help.tsx: Command-layer module. Named exports: call. External packages imported here: react. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/help/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/hooks/hooks.tsx: Command-layer module. Named exports: call. External packages imported here: react. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/hooks/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/ide/ide.tsx: Command-layer module. Named exports: call, formatWorkspaceFolders. External packages imported here: chalk, path, react, react/compiler-runtime. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/ide/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/init-verifiers.ts: Command-layer module. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/init.ts: Command-layer module. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Environment variables read here: CLAUDE_CODE_NEW_INIT, USER_TYPE. External packages imported here: bun:bundle. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/insights.ts: Command-layer module. Named exports: deduplicateSessionBranches, detectMultiClauding, InsightsExport, buildExportData, generateUsageReport. Environment variables read here: SAFEUSER, USER, USER_TYPE. External packages imported here: child_process, diff, , , , .... Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/install-github-app/ApiKeyStep.tsx: Command-layer module. Named exports: ApiKeyStep. External packages imported here: react, react/compiler-runtime. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/install-github-app/CheckExistingSecretStep.tsx: Command-layer module. Named exports: CheckExistingSecretStep. External packages imported here: react, react/compiler-runtime. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/install-github-app/CheckGitHubStep.tsx: Command-layer module. Named exports: CheckGitHubStep. External packages imported here: react, react/compiler-runtime. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/install-github-app/ChooseRepoStep.tsx: Command-layer module. Named exports: ChooseRepoStep. External packages imported here: react, react/compiler-runtime. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/install-github-app/CreatingStep.tsx: Command-layer module. Named exports: CreatingStep. External packages imported here: react, react/compiler-runtime. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/install-github-app/ErrorStep.tsx: Command-layer module. Named exports: ErrorStep. External packages imported here: react, react/compiler-runtime. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/install-github-app/ExistingWorkflowStep.tsx: Command-layer module. Named exports: ExistingWorkflowStep. External packages imported here: react, react/compiler-runtime. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/install-github-app/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Environment variables read here: DISABLE_INSTALL_GITHUB_APP_COMMAND. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/install-github-app/install-github-app.tsx: Command-layer module. Named exports: call. External packages imported here: execa, react. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/install-github-app/InstallAppStep.tsx: Command-layer module. Named exports: InstallAppStep. External packages imported here: figures, react, react/compiler-runtime. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/install-github-app/OAuthFlowStep.tsx: Command-layer module. Named exports: OAuthFlowStep. External packages imported here: react. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/install-github-app/setupGitHubActions.ts: Command-layer module. Named exports: setupGitHubActions. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/install-github-app/SuccessStep.tsx: Command-layer module. Named exports: SuccessStep. External packages imported here: react, react/compiler-runtime. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/install-github-app/WarningsStep.tsx: Command-layer module. Named exports: WarningsStep. External packages imported here: figures, react, react/compiler-runtime. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/install-slack-app/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/install-slack-app/install-slack-app.ts: Command-layer module. Named exports: call. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/install.tsx: Command-layer module. Named exports: install. External packages imported here: node:os, node:path, react, react/compiler-runtime. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/issue/index.js: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/keybindings/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/keybindings/keybindings.ts: Command-layer module. Named exports: call. External packages imported here: fs/promises, path. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/login/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Environment variables read here: DISABLE_LOGIN_COMMAND. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/login/login.tsx: Command-layer module. Named exports: call, Login. External packages imported here: bun:bundle, react, react/compiler-runtime. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/logout/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Environment variables read here: DISABLE_LOGOUT_COMMAND. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/logout/logout.tsx: Command-layer module. Named exports: performLogout, clearAuthRelatedCaches, call. External packages imported here: react. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/mcp/addCommand.ts: Command-layer module. Named exports: registerMcpAddCommand. External packages imported here: @commander-js/extra-typings. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/mcp/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/mcp/mcp.tsx: Command-layer module. Named exports: call. External packages imported here: react, react/compiler-runtime. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/mcp/xaaIdpCommand.ts: Command-layer module. Named exports: registerMcpXaaIdpCommand. Environment variables read here: MCP_XAA_IDP_CLIENT_SECRET. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/memory/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/memory/memory.tsx: Command-layer module. Named exports: call. Environment variables read here: EDITOR, VISUAL. External packages imported here: fs/promises, react. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/mobile/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/mobile/mobile.tsx: Command-layer module. Named exports: call. External packages imported here: qrcode, react, react/compiler-runtime. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/mock-limits/index.js: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/model/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/model/model.tsx: Command-layer module. Named exports: call. External packages imported here: chalk, react, react/compiler-runtime. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/oauth-refresh/index.js: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/onboarding/index.js: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/output-style/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/output-style/output-style.tsx: Command-layer module. Named exports: call. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/passes/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/passes/passes.tsx: Command-layer module. Named exports: call. External packages imported here: react. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/perf-issue/index.js: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/permissions/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/permissions/permissions.tsx: Command-layer module. Named exports: call. External packages imported here: react. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/plan/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/plan/plan.tsx: Command-layer module. Named exports: call. External packages imported here: react, react/compiler-runtime. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/plugin/AddMarketplace.tsx: Command-layer module. Named exports: AddMarketplace. External packages imported here: react. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/plugin/BrowseMarketplace.tsx: Command-layer module. Named exports: BrowseMarketplace. External packages imported here: figures, react. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/plugin/DiscoverPlugins.tsx: Command-layer module. Named exports: DiscoverPlugins. External packages imported here: figures, react, react/compiler-runtime. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/plugin/index.tsx: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/plugin/ManageMarketplaces.tsx: Command-layer module. Named exports: ManageMarketplaces. External packages imported here: figures, react, react/compiler-runtime. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/plugin/ManagePlugins.tsx: Command-layer module. Named exports: filterManagedDisabledPlugins, ManagePlugins. External packages imported here: figures, fs/promises, path, react. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/plugin/parseArgs.ts: Command-layer module. Named exports: ParsedCommand, parsePluginArgs. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/plugin/plugin.tsx: Command-layer module. Named exports: call. External packages imported here: react. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/plugin/pluginDetailsHelpers.tsx: Command-layer module. Named exports: InstallablePlugin, PluginDetailsMenuOption, extractGitHubRepo, buildPluginDetailsMenuOptions, PluginSelectionKeyHint. External packages imported here: react, react/compiler-runtime. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/plugin/PluginErrors.tsx: Command-layer module. Named exports: formatErrorMessage, getErrorGuidance. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/plugin/PluginOptionsDialog.tsx: Command-layer module. Named exports: buildFinalValues, PluginOptionsDialog. External packages imported here: figures, react, react/compiler-runtime. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/plugin/PluginOptionsFlow.tsx: Command-layer module. Named exports: findPluginOptionsTarget, PluginOptionsFlow. External packages imported here: react. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/plugin/PluginSettings.tsx: Command-layer module. Named exports: PluginSettings. External packages imported here: figures, react, react/compiler-runtime. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/plugin/PluginTrustWarning.tsx: Command-layer module. Named exports: PluginTrustWarning. External packages imported here: figures, react, react/compiler-runtime. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/plugin/UnifiedInstalledCell.tsx: Command-layer module. Named exports: UnifiedInstalledCell. External packages imported here: figures, react, react/compiler-runtime. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/plugin/usePagination.ts: Command-layer module. Named exports: usePagination. External packages imported here: react. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/plugin/ValidatePlugin.tsx: Command-layer module. Named exports: ValidatePlugin. External packages imported here: figures, react, react/compiler-runtime. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/pr_comments/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/privacy-settings/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/privacy-settings/privacy-settings.tsx: Command-layer module. Named exports: call. External packages imported here: react. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/rate-limit-options/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/rate-limit-options/rate-limit-options.tsx: Command-layer module. Named exports: call. External packages imported here: react, react/compiler-runtime. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/release-notes/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/release-notes/release-notes.ts: Command-layer module. Named exports: call. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/reload-plugins/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/reload-plugins/reload-plugins.ts: Command-layer module. Named exports: call. Environment variables read here: CLAUDE_CODE_REMOTE. External packages imported here: bun:bundle. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/remote-env/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/remote-env/remote-env.tsx: Command-layer module. Named exports: call. External packages imported here: react. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/remote-setup/api.ts: Command-layer module. Named exports: RedactedGithubToken, ImportTokenResult, ImportTokenError, importGithubToken, createDefaultEnvironment, isSignedIn, .... External packages imported here: axios. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/remote-setup/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/remote-setup/remote-setup.tsx: Command-layer module. Named exports: call. External packages imported here: execa, react. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/rename/generateSessionName.ts: Command-layer module. Named exports: generateSessionName. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/rename/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/rename/rename.ts: Command-layer module. Named exports: call. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/reset-limits/index.js: Index or entry module for its directory. Named exports: resetLimits, resetLimitsNonInteractive. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/resume/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/resume/resume.tsx: Command-layer module. Named exports: filterResumableSessions, call. External packages imported here: chalk, figures, react, react/compiler-runtime. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/review.ts: Command-layer module. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/review/reviewRemote.ts: Command-layer module. Named exports: confirmOverage, OverageGate, checkOverageGate, launchRemoteReview. Environment variables read here: BUGHUNTER_DEV_BUNDLE_B64. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/review/ultrareviewCommand.tsx: Command-layer module. Named exports: call. External packages imported here: react. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/review/ultrareviewEnabled.ts: Command-layer module. Named exports: isUltrareviewEnabled. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/review/UltrareviewOverageDialog.tsx: Command-layer module. Named exports: UltrareviewOverageDialog. External packages imported here: react, react/compiler-runtime. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/rewind/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/rewind/rewind.ts: Command-layer module. Named exports: call. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/sandbox-toggle/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. External packages imported here: figures. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/sandbox-toggle/sandbox-toggle.tsx: Command-layer module. Named exports: call. External packages imported here: path, react. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/security-review.ts: Command-layer module. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/session/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/session/session.tsx: Command-layer module. Named exports: call. External packages imported here: qrcode, react, react/compiler-runtime. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/share/index.js: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/skills/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/skills/skills.tsx: Command-layer module. Named exports: call. External packages imported here: react. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/stats/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/stats/stats.tsx: Command-layer module. Named exports: call. External packages imported here: react. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/status/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/status/status.tsx: Command-layer module. Named exports: call. External packages imported here: react. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/statusline.tsx: Command-layer module. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/stickers/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/stickers/stickers.ts: Command-layer module. Named exports: call. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/summary/index.js: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/tag/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Environment variables read here: USER_TYPE. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/tag/tag.tsx: Command-layer module. Named exports: call. External packages imported here: chalk, react, react/compiler-runtime. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/tasks/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/tasks/tasks.tsx: Command-layer module. Named exports: call. External packages imported here: react. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/teleport/index.js: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/terminalSetup/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/terminalSetup/terminalSetup.tsx: Command-layer module. Named exports: getNativeCSIuTerminalDisplayName, shouldOfferTerminalSetup, setupTerminal, isShiftEnterKeyBindingInstalled, hasUsedBackslashReturn, markBackslashReturnUsed, .... Environment variables read here: APPDATA, PATH, VSCODE_GIT_ASKPASS_MAIN, . External packages imported here: , , , , , .... Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/theme/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/theme/theme.tsx: Command-layer module. Named exports: call. External packages imported here: react, react/compiler-runtime. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/thinkback-play/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/thinkback-play/thinkback-play.ts: Command-layer module. Named exports: call. Environment variables read here: USER_TYPE. External packages imported here: path. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/thinkback/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/thinkback/thinkback.tsx: Command-layer module. Named exports: playAnimation, call. External packages imported here: execa, fs/promises, path, react, react/compiler-runtime. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/ultraplan.tsx: Command-layer module. Named exports: CCR_TERMS_URL, buildUltraplanPrompt, stopUltraplan, launchUltraplan. Environment variables read here: SESSION_INGRESS_URL, ULTRAPLAN_PROMPT_FILE. External packages imported here: fs. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/upgrade/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Environment variables read here: DISABLE_UPGRADE_COMMAND. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/upgrade/upgrade.tsx: Command-layer module. Named exports: call. External packages imported here: react. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/usage/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/usage/usage.tsx: Command-layer module. Named exports: call. External packages imported here: react. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/version.ts: Command-layer module. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Environment variables read here: USER_TYPE. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/vim/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/vim/vim.ts: Command-layer module. Named exports: call. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/voice/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.
    • commands/voice/voice.ts: Command-layer module. Named exports: call. Area context: Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more.

    components

    Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives. This section covers 389 file(s).

    • components/AgentProgressLine.tsx: UI component or UI helper. Named exports: AgentProgressLine. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/agents/AgentDetail.tsx: UI component or UI helper. Named exports: AgentDetail. External packages imported here: figures, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/agents/AgentEditor.tsx: UI component or UI helper. Named exports: AgentEditor. External packages imported here: chalk, figures, react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/agents/agentFileUtils.ts: UI component or UI helper. Named exports: formatAgentAsMarkdown, getNewAgentFilePath, getActualAgentFilePath, getNewRelativeAgentFilePath, getActualRelativeAgentFilePath, saveAgentToFile, .... External packages imported here: fs/promises, path. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/agents/AgentNavigationFooter.tsx: UI component or UI helper. Named exports: AgentNavigationFooter. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/agents/AgentsList.tsx: UI component or UI helper. Named exports: AgentsList. External packages imported here: figures, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/agents/AgentsMenu.tsx: UI component or UI helper. Named exports: AgentsMenu. External packages imported here: chalk, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/agents/ColorPicker.tsx: UI component or UI helper. Named exports: ColorPicker. External packages imported here: figures, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/agents/generateAgent.ts: UI component or UI helper. Named exports: generateAgent. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/agents/ModelSelector.tsx: UI component or UI helper. Named exports: ModelSelector. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/agents/new-agent-creation/CreateAgentWizard.tsx: UI component or UI helper. Named exports: CreateAgentWizard. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/agents/new-agent-creation/wizard-steps/ColorStep.tsx: UI component or UI helper. Named exports: ColorStep. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/agents/new-agent-creation/wizard-steps/ConfirmStep.tsx: UI component or UI helper. Named exports: ConfirmStep. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/agents/new-agent-creation/wizard-steps/ConfirmStepWrapper.tsx: UI component or UI helper. Named exports: ConfirmStepWrapper. External packages imported here: chalk, react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/agents/new-agent-creation/wizard-steps/DescriptionStep.tsx: UI component or UI helper. Named exports: DescriptionStep. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/agents/new-agent-creation/wizard-steps/GenerateStep.tsx: UI component or UI helper. Named exports: GenerateStep. External packages imported here: @anthropic-ai/sdk, react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/agents/new-agent-creation/wizard-steps/LocationStep.tsx: UI component or UI helper. Named exports: LocationStep. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/agents/new-agent-creation/wizard-steps/MemoryStep.tsx: UI component or UI helper. Named exports: MemoryStep. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/agents/new-agent-creation/wizard-steps/MethodStep.tsx: UI component or UI helper. Named exports: MethodStep. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/agents/new-agent-creation/wizard-steps/ModelStep.tsx: UI component or UI helper. Named exports: ModelStep. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/agents/new-agent-creation/wizard-steps/PromptStep.tsx: UI component or UI helper. Named exports: PromptStep. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/agents/new-agent-creation/wizard-steps/ToolsStep.tsx: UI component or UI helper. Named exports: ToolsStep. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/agents/new-agent-creation/wizard-steps/TypeStep.tsx: UI component or UI helper. Named exports: TypeStep. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/agents/ToolSelector.tsx: UI component or UI helper. Named exports: ToolSelector. External packages imported here: figures, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/agents/types.ts: UI component or UI helper. Named exports: AGENT_PATHS, ModeState, AgentValidationResult. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/agents/utils.ts: UI component or UI helper. Named exports: getAgentSourceDisplayName. External packages imported here: lodash-es/capitalize.js. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/agents/validateAgent.ts: UI component or UI helper. Named exports: AgentValidationResult, validateAgentType, validateAgent. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/App.tsx: UI component or UI helper. Named exports: App. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/ApproveApiKey.tsx: UI component or UI helper. Named exports: ApproveApiKey. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/AutoModeOptInDialog.tsx: UI component or UI helper. Named exports: AUTO_MODE_DESCRIPTION, AutoModeOptInDialog. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/AutoUpdater.tsx: UI component or UI helper. Named exports: AutoUpdater. External packages imported here: react, usehooks-ts. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/AutoUpdaterWrapper.tsx: UI component or UI helper. Named exports: AutoUpdaterWrapper. External packages imported here: bun:bundle, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/AwsAuthStatusBox.tsx: UI component or UI helper. Named exports: AwsAuthStatusBox. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/BaseTextInput.tsx: UI component or UI helper. Named exports: BaseTextInput. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/BashModeProgress.tsx: UI component or UI helper. Named exports: BashModeProgress. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/BridgeDialog.tsx: UI component or UI helper. Named exports: BridgeDialog. External packages imported here: path, qrcode, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/BypassPermissionsModeDialog.tsx: UI component or UI helper. Named exports: BypassPermissionsModeDialog. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/ChannelDowngradeDialog.tsx: UI component or UI helper. Named exports: ChannelDowngradeChoice, ChannelDowngradeDialog. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/ClaudeCodeHint/PluginHintMenu.tsx: UI component or UI helper. Named exports: PluginHintMenu. External packages imported here: react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/ClaudeInChromeOnboarding.tsx: UI component or UI helper. Named exports: ClaudeInChromeOnboarding. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/ClaudeMdExternalIncludesDialog.tsx: UI component or UI helper. Named exports: ClaudeMdExternalIncludesDialog. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/ClickableImageRef.tsx: UI component or UI helper. Named exports: ClickableImageRef. External packages imported here: react, react/compiler-runtime, url. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/CompactSummary.tsx: UI component or UI helper. Named exports: CompactSummary. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/ConfigurableShortcutHint.tsx: UI component or UI helper. Named exports: ConfigurableShortcutHint. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/ConsoleOAuthFlow.tsx: UI component or UI helper. Named exports: ConsoleOAuthFlow. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/ContextSuggestions.tsx: UI component or UI helper. Named exports: ContextSuggestions. External packages imported here: figures, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/ContextVisualization.tsx: UI component or UI helper. Named exports: ContextVisualization. External packages imported here: bun:bundle, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/CoordinatorAgentStatus.tsx: UI component or UI helper. Named exports: getVisibleAgentTasks, CoordinatorTaskPanel, useCoordinatorTaskCount. External packages imported here: figures, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/CostThresholdDialog.tsx: UI component or UI helper. Named exports: CostThresholdDialog. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/CtrlOToExpand.tsx: UI component or UI helper. Named exports: SubAgentProvider, CtrlOToExpand, ctrlOToExpand. External packages imported here: chalk, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/CustomSelect/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/CustomSelect/option-map.ts: UI component or UI helper. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/CustomSelect/select-input-option.tsx: UI component or UI helper. Named exports: SelectInputOption. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/CustomSelect/select-option.tsx: UI component or UI helper. Named exports: SelectOptionProps, SelectOption. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/CustomSelect/select.tsx: UI component or UI helper. Named exports: OptionWithDescription, SelectProps, Select. External packages imported here: figures, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/CustomSelect/SelectMulti.tsx: UI component or UI helper. Named exports: SelectMultiProps, SelectMulti. External packages imported here: figures, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/CustomSelect/use-multi-select-state.ts: UI component or UI helper. Named exports: UseMultiSelectStateProps, MultiSelectState, useMultiSelectState. External packages imported here: react, util. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/CustomSelect/use-select-input.ts: UI component or UI helper. Named exports: UseSelectProps, useSelectInput. External packages imported here: react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/CustomSelect/use-select-navigation.ts: UI component or UI helper. Named exports: UseSelectNavigationProps, SelectNavigation, useSelectNavigation. External packages imported here: react, util. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/CustomSelect/use-select-state.ts: UI component or UI helper. Named exports: UseSelectStateProps, SelectState, useSelectState. External packages imported here: react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/design-system/Byline.tsx: UI component or UI helper. Named exports: Byline. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/design-system/color.ts: UI component or UI helper. Named exports: color. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/design-system/Dialog.tsx: UI component or UI helper. Named exports: Dialog. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/design-system/Divider.tsx: UI component or UI helper. Named exports: Divider. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/design-system/FuzzyPicker.tsx: UI component or UI helper. Named exports: FuzzyPicker. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/design-system/KeyboardShortcutHint.tsx: UI component or UI helper. Named exports: KeyboardShortcutHint. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/design-system/ListItem.tsx: UI component or UI helper. Named exports: ListItem. External packages imported here: figures, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/design-system/LoadingState.tsx: UI component or UI helper. Named exports: LoadingState. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/design-system/Pane.tsx: UI component or UI helper. Named exports: Pane. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/design-system/ProgressBar.tsx: UI component or UI helper. Named exports: ProgressBar. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/design-system/Ratchet.tsx: UI component or UI helper. Named exports: Ratchet. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/design-system/StatusIcon.tsx: UI component or UI helper. Named exports: StatusIcon. External packages imported here: figures, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/design-system/Tabs.tsx: UI component or UI helper. Named exports: Tabs, Tab, useTabsWidth, useTabHeaderFocus. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/design-system/ThemedBox.tsx: UI component or UI helper. Named exports: Props. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/design-system/ThemedText.tsx: UI component or UI helper. Named exports: TextHoverColorContext, Props. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/design-system/ThemeProvider.tsx: UI component or UI helper. Named exports: ThemeProvider, useTheme, useThemeSetting, usePreviewTheme. External packages imported here: bun:bundle, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/DesktopHandoff.tsx: UI component or UI helper. Named exports: getDownloadUrl, DesktopHandoff. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/DesktopUpsell/DesktopUpsellStartup.tsx: UI component or UI helper. Named exports: getDesktopUpsellConfig, shouldShowDesktopUpsellStartup, DesktopUpsellStartup. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/DevBar.tsx: UI component or UI helper. Named exports: DevBar. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/DevChannelsDialog.tsx: UI component or UI helper. Named exports: DevChannelsDialog. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/DiagnosticsDisplay.tsx: UI component or UI helper. Named exports: DiagnosticsDisplay. External packages imported here: path, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/diff/DiffDetailView.tsx: UI component or UI helper. Named exports: DiffDetailView. External packages imported here: path, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/diff/DiffDialog.tsx: UI component or UI helper. Named exports: DiffDialog. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/diff/DiffFileList.tsx: UI component or UI helper. Named exports: DiffFileList. External packages imported here: figures, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/EffortCallout.tsx: UI component or UI helper. Named exports: EffortCallout, shouldShowEffortCallout. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/EffortIndicator.ts: UI component or UI helper. Named exports: getEffortNotificationText, effortLevelToSymbol. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/ExitFlow.tsx: UI component or UI helper. Named exports: ExitFlow. External packages imported here: lodash-es/sample.js, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/ExportDialog.tsx: UI component or UI helper. Named exports: ExportDialog. External packages imported here: path, react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/FallbackToolUseErrorMessage.tsx: UI component or UI helper. Named exports: FallbackToolUseErrorMessage. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/FallbackToolUseRejectedMessage.tsx: UI component or UI helper. Named exports: FallbackToolUseRejectedMessage. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/FastIcon.tsx: UI component or UI helper. Named exports: FastIcon, getFastIconString. External packages imported here: chalk, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/Feedback.tsx: UI component or UI helper. Named exports: redactSensitiveInfo, Feedback, createGitHubIssueUrl. External packages imported here: axios, fs/promises, react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/FeedbackSurvey/FeedbackSurvey.tsx: UI component or UI helper. Named exports: FeedbackSurvey. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/FeedbackSurvey/FeedbackSurveyView.tsx: UI component or UI helper. Named exports: isValidResponseInput, FeedbackSurveyView. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/FeedbackSurvey/submitTranscriptShare.ts: UI component or UI helper. Named exports: TranscriptShareTrigger, submitTranscriptShare. External packages imported here: axios, fs/promises. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/FeedbackSurvey/TranscriptSharePrompt.tsx: UI component or UI helper. Named exports: TranscriptShareResponse, TranscriptSharePrompt. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/FeedbackSurvey/useDebouncedDigitInput.ts: UI component or UI helper. Named exports: useDebouncedDigitInput. External packages imported here: react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/FeedbackSurvey/useFeedbackSurvey.tsx: UI component or UI helper. Named exports: useFeedbackSurvey. Environment variables read here: CLAUDE_CODE_DISABLE_FEEDBACK_SURVEY, CLAUDE_FORCE_DISPLAY_SURVEY. External packages imported here: react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/FeedbackSurvey/useMemorySurvey.tsx: UI component or UI helper. Named exports: useMemorySurvey. Environment variables read here: CLAUDE_CODE_DISABLE_FEEDBACK_SURVEY. External packages imported here: react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/FeedbackSurvey/usePostCompactSurvey.tsx: UI component or UI helper. Named exports: usePostCompactSurvey. Environment variables read here: CLAUDE_CODE_DISABLE_FEEDBACK_SURVEY. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/FeedbackSurvey/useSurveyState.tsx: UI component or UI helper. Named exports: useSurveyState. External packages imported here: crypto, react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/FileEditToolDiff.tsx: UI component or UI helper. Named exports: FileEditToolDiff. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/FileEditToolUpdatedMessage.tsx: UI component or UI helper. Named exports: FileEditToolUpdatedMessage. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/FileEditToolUseRejectedMessage.tsx: UI component or UI helper. Named exports: FileEditToolUseRejectedMessage. External packages imported here: path, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/FilePathLink.tsx: UI component or UI helper. Named exports: FilePathLink. External packages imported here: react, react/compiler-runtime, url. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/FullscreenLayout.tsx: UI component or UI helper. Named exports: ScrollChromeContext, useUnseenDivider, countUnseenAssistantTurns, UnseenDivider, computeUnseenDivider, FullscreenLayout. External packages imported here: figures, react, react/compiler-runtime, url. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/GlobalSearchDialog.tsx: UI component or UI helper. Named exports: GlobalSearchDialog, parseRipgrepLine. External packages imported here: path, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/grove/Grove.tsx: UI component or UI helper. Named exports: GroveDecision, GroveDialog, PrivacySettingsDialog. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/HelpV2/Commands.tsx: UI component or UI helper. Named exports: Commands. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/HelpV2/General.tsx: UI component or UI helper. Named exports: General. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/HelpV2/HelpV2.tsx: UI component or UI helper. Named exports: HelpV2. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/HighlightedCode.tsx: UI component or UI helper. Named exports: HighlightedCode. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/HighlightedCode/Fallback.tsx: UI component or UI helper. Named exports: HighlightedCodeFallback. External packages imported here: path, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/HistorySearchDialog.tsx: UI component or UI helper. Named exports: HistorySearchDialog. External packages imported here: react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/hooks/HooksConfigMenu.tsx: UI component or UI helper. Named exports: HooksConfigMenu. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/hooks/PromptDialog.tsx: UI component or UI helper. Named exports: PromptDialog. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/hooks/SelectEventMode.tsx: UI component or UI helper. Named exports: SelectEventMode. External packages imported here: figures, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/hooks/SelectHookMode.tsx: UI component or UI helper. Named exports: SelectHookMode. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/hooks/SelectMatcherMode.tsx: UI component or UI helper. Named exports: SelectMatcherMode. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/hooks/ViewHookMode.tsx: UI component or UI helper. Named exports: ViewHookMode. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/IdeAutoConnectDialog.tsx: UI component or UI helper. Named exports: IdeAutoConnectDialog, shouldShowAutoConnectDialog, IdeDisableAutoConnectDialog, shouldShowDisableAutoConnectDialog. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/IdeOnboardingDialog.tsx: UI component or UI helper. Named exports: IdeOnboardingDialog, hasIdeOnboardingDialogBeenShown. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/IdeStatusIndicator.tsx: UI component or UI helper. Named exports: IdeStatusIndicator. External packages imported here: path, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/IdleReturnDialog.tsx: UI component or UI helper. Named exports: IdleReturnDialog. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/InterruptedByUser.tsx: UI component or UI helper. Named exports: InterruptedByUser. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/InvalidConfigDialog.tsx: UI component or UI helper. Named exports: showInvalidConfigDialog. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/InvalidSettingsDialog.tsx: UI component or UI helper. Named exports: InvalidSettingsDialog. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/KeybindingWarnings.tsx: UI component or UI helper. Named exports: KeybindingWarnings. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/LanguagePicker.tsx: UI component or UI helper. Named exports: LanguagePicker. External packages imported here: figures, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/LogoV2/AnimatedAsterisk.tsx: UI component or UI helper. Named exports: AnimatedAsterisk. External packages imported here: react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/LogoV2/AnimatedClawd.tsx: UI component or UI helper. Named exports: AnimatedClawd. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/LogoV2/ChannelsNotice.tsx: UI component or UI helper. Named exports: ChannelsNotice. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/LogoV2/Clawd.tsx: UI component or UI helper. Named exports: ClawdPose, Clawd. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/LogoV2/CondensedLogo.tsx: UI component or UI helper. Named exports: CondensedLogo. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/LogoV2/EmergencyTip.tsx: UI component or UI helper. Named exports: EmergencyTip. External packages imported here: react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/LogoV2/Feed.tsx: UI component or UI helper. Named exports: FeedLine, FeedConfig, calculateFeedWidth, Feed. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/LogoV2/FeedColumn.tsx: UI component or UI helper. Named exports: FeedColumn. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/LogoV2/feedConfigs.tsx: UI component or UI helper. Named exports: createRecentActivityFeed, createWhatsNewFeed, createProjectOnboardingFeed, createGuestPassesFeed. External packages imported here: figures, os, react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/LogoV2/GuestPassesUpsell.tsx: UI component or UI helper. Named exports: useShowGuestPassesUpsell, incrementGuestPassesSeenCount, GuestPassesUpsell. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/LogoV2/LogoV2.tsx: UI component or UI helper. Named exports: LogoV2. Environment variables read here: CLAUDE_CODE_FORCE_FULL_LOGO, CLAUDE_CODE_TMUX_PREFIX, CLAUDE_CODE_TMUX_PREFIX_CONFLICTS, CLAUDE_CODE_TMUX_SESSION, DEMO_VERSION, IS_DEMO. External packages imported here: bun:bundle, react, . Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/LogoV2/Opus1mMergeNotice.tsx: UI component or UI helper. Named exports: shouldShowOpus1mMergeNotice, Opus1mMergeNotice. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/LogoV2/OverageCreditUpsell.tsx: UI component or UI helper. Named exports: isEligibleForOverageCreditGrant, shouldShowOverageCreditUpsell, maybeRefreshOverageCreditCache, useShowOverageCreditUpsell, incrementOverageCreditUpsellSeenCount, OverageCreditUpsell, .... External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/LogoV2/VoiceModeNotice.tsx: UI component or UI helper. Named exports: VoiceModeNotice. External packages imported here: bun:bundle, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/LogoV2/WelcomeV2.tsx: UI component or UI helper. Named exports: WelcomeV2. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/LogSelector.tsx: UI component or UI helper. Named exports: LogSelectorProps, LogSelector. External packages imported here: chalk, figures, fuse.js, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/LspRecommendation/LspRecommendationMenu.tsx: UI component or UI helper. Named exports: LspRecommendationMenu. External packages imported here: react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/ManagedSettingsSecurityDialog/ManagedSettingsSecurityDialog.tsx: UI component or UI helper. Named exports: ManagedSettingsSecurityDialog. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/ManagedSettingsSecurityDialog/utils.ts: UI component or UI helper. Named exports: DangerousSettings, extractDangerousSettings, hasDangerousSettings, hasDangerousSettingsChanged, formatDangerousSettingsList. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/Markdown.tsx: UI component or UI helper. Named exports: Markdown, StreamingMarkdown. External packages imported here: marked, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/MarkdownTable.tsx: UI component or UI helper. Named exports: MarkdownTable. External packages imported here: react, strip-ansi. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/mcp/CapabilitiesSection.tsx: UI component or UI helper. Named exports: CapabilitiesSection. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/mcp/ElicitationDialog.tsx: UI component or UI helper. Named exports: ElicitationDialog. External packages imported here: figures, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/mcp/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/mcp/MCPAgentServerMenu.tsx: UI component or UI helper. Named exports: MCPAgentServerMenu. External packages imported here: figures, react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/mcp/MCPListPanel.tsx: UI component or UI helper. Named exports: MCPListPanel. External packages imported here: figures, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/mcp/McpParsingWarnings.tsx: UI component or UI helper. Named exports: McpParsingWarnings. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/mcp/MCPReconnect.tsx: UI component or UI helper. Named exports: MCPReconnect. External packages imported here: figures, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/mcp/MCPRemoteServerMenu.tsx: UI component or UI helper. Named exports: MCPRemoteServerMenu. Environment variables read here: CLAUDE_CODE_ENTRYPOINT. External packages imported here: figures, react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/mcp/MCPSettings.tsx: UI component or UI helper. Named exports: MCPSettings. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/mcp/MCPStdioServerMenu.tsx: UI component or UI helper. Named exports: MCPStdioServerMenu. External packages imported here: figures, react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/mcp/MCPToolDetailView.tsx: UI component or UI helper. Named exports: MCPToolDetailView. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/mcp/MCPToolListView.tsx: UI component or UI helper. Named exports: MCPToolListView. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/mcp/utils/reconnectHelpers.tsx: UI component or UI helper. Named exports: ReconnectResult, handleReconnectResult, handleReconnectError. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/MCPServerApprovalDialog.tsx: UI component or UI helper. Named exports: MCPServerApprovalDialog. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/MCPServerDesktopImportDialog.tsx: UI component or UI helper. Named exports: MCPServerDesktopImportDialog. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/MCPServerDialogCopy.tsx: UI component or UI helper. Named exports: MCPServerDialogCopy. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/MCPServerMultiselectDialog.tsx: UI component or UI helper. Named exports: MCPServerMultiselectDialog. External packages imported here: lodash-es/partition.js, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/memory/MemoryFileSelector.tsx: UI component or UI helper. Named exports: MemoryFileSelector. External packages imported here: bun:bundle, chalk, fs/promises, path, react, .... Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/memory/MemoryUpdateNotification.tsx: UI component or UI helper. Named exports: getRelativeMemoryPath, MemoryUpdateNotification. External packages imported here: os, path, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/MemoryUsageIndicator.tsx: UI component or UI helper. Named exports: MemoryUsageIndicator. External packages imported here: react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/Message.tsx: UI component or UI helper. Named exports: Props, hasThinkingContent, areMessagePropsEqual, Message. External packages imported here: bun:bundle, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/messageActions.tsx: UI component or UI helper. Named exports: NavigableType, NavigableOf, NavigableMessage, isNavigableMessage, toolCallOf, MessageActionCaps, .... External packages imported here: figures, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/MessageModel.tsx: UI component or UI helper. Named exports: MessageModel. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/MessageResponse.tsx: UI component or UI helper. Named exports: MessageResponse. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/MessageRow.tsx: UI component or UI helper. Named exports: Props, hasContentAfterIndex, isMessageStreaming, allToolsResolved, areMessageRowPropsEqual, MessageRow. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/Messages.tsx: UI component or UI helper. Named exports: filterForBriefTool, dropTextInBriefTurns, SliceAnchor, computeSliceStart, Messages, shouldRenderStatically. Environment variables read here: CLAUDE_CODE_DISABLE_VIRTUAL_SCROLL. External packages imported here: bun:bundle, chalk, , . Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/messages/AdvisorMessage.tsx: UI component or UI helper. Named exports: AdvisorMessage. External packages imported here: figures, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/messages/AssistantRedactedThinkingMessage.tsx: UI component or UI helper. Named exports: AssistantRedactedThinkingMessage. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/messages/AssistantTextMessage.tsx: UI component or UI helper. Named exports: AssistantTextMessage. Environment variables read here: API_TIMEOUT_MS. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/messages/AssistantThinkingMessage.tsx: UI component or UI helper. Named exports: AssistantThinkingMessage. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/messages/AssistantToolUseMessage.tsx: UI component or UI helper. Named exports: AssistantToolUseMessage. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/messages/AttachmentMessage.tsx: UI component or UI helper. Named exports: AttachmentMessage. Environment variables read here: IS_DEMO. External packages imported here: bun:bundle, path, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/messages/CollapsedReadSearchContent.tsx: UI component or UI helper. Named exports: CollapsedReadSearchContent. External packages imported here: bun:bundle, path, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/messages/CompactBoundaryMessage.tsx: UI component or UI helper. Named exports: CompactBoundaryMessage. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/messages/GroupedToolUseContent.tsx: UI component or UI helper. Named exports: GroupedToolUseContent. External packages imported here: react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/messages/HighlightedThinkingText.tsx: UI component or UI helper. Named exports: HighlightedThinkingText. External packages imported here: figures, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/messages/HookProgressMessage.tsx: UI component or UI helper. Named exports: HookProgressMessage. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/messages/nullRenderingAttachments.ts: UI component or UI helper. Named exports: NullRenderingAttachmentType, isNullRenderingAttachment. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/messages/PlanApprovalMessage.tsx: UI component or UI helper. Named exports: PlanApprovalRequestDisplay, PlanApprovalResponseDisplay, tryRenderPlanApprovalMessage, formatTeammateMessageContent. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/messages/RateLimitMessage.tsx: UI component or UI helper. Named exports: getUpsellMessage, RateLimitMessage. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/messages/ShutdownMessage.tsx: UI component or UI helper. Named exports: ShutdownRequestDisplay, ShutdownRejectedDisplay, tryRenderShutdownMessage, getShutdownMessageSummary. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/messages/SystemAPIErrorMessage.tsx: UI component or UI helper. Named exports: SystemAPIErrorMessage. Environment variables read here: API_TIMEOUT_MS. External packages imported here: react, react/compiler-runtime, usehooks-ts. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/messages/SystemTextMessage.tsx: UI component or UI helper. Named exports: SystemTextMessage. External packages imported here: bun:bundle, figures, lodash-es/sample.js, path, react, .... Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/messages/TaskAssignmentMessage.tsx: UI component or UI helper. Named exports: TaskAssignmentDisplay, tryRenderTaskAssignmentMessage, getTaskAssignmentSummary. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/messages/teamMemCollapsed.tsx: UI component or UI helper. Named exports: checkHasTeamMemOps, TeamMemCountParts. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/messages/teamMemSaved.ts: UI component or UI helper. Named exports: teamMemSavedPart. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/messages/UserAgentNotificationMessage.tsx: UI component or UI helper. Named exports: UserAgentNotificationMessage. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/messages/UserBashInputMessage.tsx: UI component or UI helper. Named exports: UserBashInputMessage. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/messages/UserBashOutputMessage.tsx: UI component or UI helper. Named exports: UserBashOutputMessage. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/messages/UserChannelMessage.tsx: UI component or UI helper. Named exports: UserChannelMessage. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/messages/UserCommandMessage.tsx: UI component or UI helper. Named exports: UserCommandMessage. External packages imported here: figures, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/messages/UserImageMessage.tsx: UI component or UI helper. Named exports: UserImageMessage. External packages imported here: react, react/compiler-runtime, url. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/messages/UserLocalCommandOutputMessage.tsx: UI component or UI helper. Named exports: UserLocalCommandOutputMessage. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/messages/UserMemoryInputMessage.tsx: UI component or UI helper. Named exports: UserMemoryInputMessage. External packages imported here: lodash-es/sample.js, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/messages/UserPlanMessage.tsx: UI component or UI helper. Named exports: UserPlanMessage. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/messages/UserPromptMessage.tsx: UI component or UI helper. Named exports: UserPromptMessage. Environment variables read here: CLAUDE_CODE_BRIEF. External packages imported here: bun:bundle, react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/messages/UserResourceUpdateMessage.tsx: UI component or UI helper. Named exports: UserResourceUpdateMessage. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/messages/UserTeammateMessage.tsx: UI component or UI helper. Named exports: UserTeammateMessage, TeammateMessageContent. External packages imported here: figures, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/messages/UserTextMessage.tsx: UI component or UI helper. Named exports: UserTextMessage. External packages imported here: bun:bundle, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/messages/UserToolResultMessage/RejectedPlanMessage.tsx: UI component or UI helper. Named exports: RejectedPlanMessage. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/messages/UserToolResultMessage/RejectedToolUseMessage.tsx: UI component or UI helper. Named exports: RejectedToolUseMessage. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/messages/UserToolResultMessage/UserToolCanceledMessage.tsx: UI component or UI helper. Named exports: UserToolCanceledMessage. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/messages/UserToolResultMessage/UserToolErrorMessage.tsx: UI component or UI helper. Named exports: UserToolErrorMessage. External packages imported here: bun:bundle, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/messages/UserToolResultMessage/UserToolRejectMessage.tsx: UI component or UI helper. Named exports: UserToolRejectMessage. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/messages/UserToolResultMessage/UserToolResultMessage.tsx: UI component or UI helper. Named exports: UserToolResultMessage. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/messages/UserToolResultMessage/UserToolSuccessMessage.tsx: UI component or UI helper. Named exports: UserToolSuccessMessage. External packages imported here: bun:bundle, figures, react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/messages/UserToolResultMessage/utils.tsx: UI component or UI helper. Named exports: useGetToolFromMessages. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/MessageSelector.tsx: UI component or UI helper. Named exports: MessageSelector, selectableUserMessagesFilter, messagesAfterAreOnlySynthetic. External packages imported here: crypto, figures, path, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/MessageTimestamp.tsx: UI component or UI helper. Named exports: MessageTimestamp. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/ModelPicker.tsx: UI component or UI helper. Named exports: Props, ModelPicker. External packages imported here: lodash-es/capitalize.js, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/NativeAutoUpdater.tsx: UI component or UI helper. Named exports: NativeAutoUpdater. External packages imported here: react, usehooks-ts. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/NotebookEditToolUseRejectedMessage.tsx: UI component or UI helper. Named exports: NotebookEditToolUseRejectedMessage. External packages imported here: path, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/OffscreenFreeze.tsx: UI component or UI helper. Named exports: OffscreenFreeze. External packages imported here: react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/Onboarding.tsx: UI component or UI helper. Named exports: Onboarding, SkippableStep. Environment variables read here: ANTHROPIC_API_KEY. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/OutputStylePicker.tsx: UI component or UI helper. Named exports: OutputStylePickerProps, OutputStylePicker. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/PackageManagerAutoUpdater.tsx: UI component or UI helper. Named exports: PackageManagerAutoUpdater. External packages imported here: react, react/compiler-runtime, usehooks-ts. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/Passes/Passes.tsx: UI component or UI helper. Named exports: Passes. External packages imported here: react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/permissions/AskUserQuestionPermissionRequest/AskUserQuestionPermissionRequest.tsx: UI component or UI helper. Named exports: AskUserQuestionPermissionRequest. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/permissions/AskUserQuestionPermissionRequest/PreviewBox.tsx: UI component or UI helper. Named exports: PreviewBox. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/permissions/AskUserQuestionPermissionRequest/PreviewQuestionView.tsx: UI component or UI helper. Named exports: PreviewQuestionView. External packages imported here: figures, react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/permissions/AskUserQuestionPermissionRequest/QuestionNavigationBar.tsx: UI component or UI helper. Named exports: QuestionNavigationBar. External packages imported here: figures, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/permissions/AskUserQuestionPermissionRequest/QuestionView.tsx: UI component or UI helper. Named exports: QuestionView. External packages imported here: figures, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/permissions/AskUserQuestionPermissionRequest/SubmitQuestionsView.tsx: UI component or UI helper. Named exports: SubmitQuestionsView. External packages imported here: figures, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/permissions/AskUserQuestionPermissionRequest/use-multiple-choice-state.ts: UI component or UI helper. Named exports: AnswerValue, QuestionState, MultipleChoiceState, useMultipleChoiceState. External packages imported here: react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/permissions/BashPermissionRequest/BashPermissionRequest.tsx: UI component or UI helper. Named exports: BashPermissionRequest. External packages imported here: bun:bundle, figures, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/permissions/BashPermissionRequest/bashToolUseOptions.tsx: UI component or UI helper. Named exports: BashToolUseOption, bashToolUseOptions. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/permissions/ComputerUseApproval/ComputerUseApproval.tsx: UI component or UI helper. Named exports: ComputerUseApproval. External packages imported here: @ant/computer-use-mcp/sentinelApps, @ant/computer-use-mcp/types, figures, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/permissions/EnterPlanModePermissionRequest/EnterPlanModePermissionRequest.tsx: UI component or UI helper. Named exports: EnterPlanModePermissionRequest. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/permissions/ExitPlanModePermissionRequest/ExitPlanModePermissionRequest.tsx: UI component or UI helper. Named exports: buildPermissionUpdates, autoNameSessionFromPlan, ExitPlanModePermissionRequest, buildPlanApprovalOptions. External packages imported here: bun:bundle, figures, react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/permissions/FallbackPermissionRequest.tsx: UI component or UI helper. Named exports: FallbackPermissionRequest. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/permissions/FileEditPermissionRequest/FileEditPermissionRequest.tsx: UI component or UI helper. Named exports: FileEditPermissionRequest. External packages imported here: path, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/permissions/FilePermissionDialog/FilePermissionDialog.tsx: UI component or UI helper. Named exports: FilePermissionDialogProps, FilePermissionDialog. External packages imported here: path, react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/permissions/FilePermissionDialog/ideDiffConfig.ts: UI component or UI helper. Named exports: FileEdit, IDEDiffConfig, IDEDiffChangeInput, IDEDiffSupport, createSingleEditDiffConfig. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/permissions/FilePermissionDialog/permissionOptions.tsx: UI component or UI helper. Named exports: isInClaudeFolder, isInGlobalClaudeFolder, PermissionOption, PermissionOptionWithLabel, FileOperationType, getFilePermissionOptions. External packages imported here: os, path, react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/permissions/FilePermissionDialog/useFilePermissionDialog.ts: UI component or UI helper. Named exports: ToolInput, UseFilePermissionDialogProps, UseFilePermissionDialogResult, useFilePermissionDialog. External packages imported here: react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/permissions/FilePermissionDialog/usePermissionHandler.ts: UI component or UI helper. Named exports: PermissionHandlerParams, PermissionHandlerOptions, PERMISSION_HANDLERS. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/permissions/FilesystemPermissionRequest/FilesystemPermissionRequest.tsx: UI component or UI helper. Named exports: FilesystemPermissionRequest. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/permissions/FileWritePermissionRequest/FileWritePermissionRequest.tsx: UI component or UI helper. Named exports: FileWritePermissionRequest. External packages imported here: path, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/permissions/FileWritePermissionRequest/FileWriteToolDiff.tsx: UI component or UI helper. Named exports: FileWriteToolDiff. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/permissions/hooks.ts: UI component or UI helper. Named exports: UnaryEvent, usePermissionRequestLogging. Environment variables read here: USER_TYPE. External packages imported here: bun:bundle, react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/permissions/NotebookEditPermissionRequest/NotebookEditPermissionRequest.tsx: UI component or UI helper. Named exports: NotebookEditPermissionRequest. External packages imported here: path, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/permissions/NotebookEditPermissionRequest/NotebookEditToolDiff.tsx: UI component or UI helper. Named exports: NotebookEditToolDiff. External packages imported here: path, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/permissions/PermissionDecisionDebugInfo.tsx: UI component or UI helper. Named exports: PermissionDecisionDebugInfo. External packages imported here: bun:bundle, chalk, figures, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/permissions/PermissionDialog.tsx: UI component or UI helper. Named exports: PermissionDialog. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/permissions/PermissionExplanation.tsx: UI component or UI helper. Named exports: usePermissionExplainerUI, PermissionExplainerContent. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/permissions/PermissionPrompt.tsx: UI component or UI helper. Named exports: FeedbackType, PermissionPromptOption, ToolAnalyticsContext, PermissionPromptProps, PermissionPrompt. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/permissions/PermissionRequest.tsx: UI component or UI helper. Named exports: PermissionRequestProps, ToolUseConfirm, PermissionRequest. External packages imported here: bun:bundle, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/permissions/PermissionRequestTitle.tsx: UI component or UI helper. Named exports: PermissionRequestTitle. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/permissions/PermissionRuleExplanation.tsx: UI component or UI helper. Named exports: PermissionRuleExplanationProps, PermissionRuleExplanation. External packages imported here: bun:bundle, chalk, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/permissions/PowerShellPermissionRequest/PowerShellPermissionRequest.tsx: UI component or UI helper. Named exports: PowerShellPermissionRequest. External packages imported here: react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/permissions/PowerShellPermissionRequest/powershellToolUseOptions.tsx: UI component or UI helper. Named exports: PowerShellToolUseOption, powershellToolUseOptions. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/permissions/rules/AddPermissionRules.tsx: UI component or UI helper. Named exports: optionForPermissionSaveDestination, AddPermissionRules. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/permissions/rules/AddWorkspaceDirectory.tsx: UI component or UI helper. Named exports: AddWorkspaceDirectory. External packages imported here: figures, react, react/compiler-runtime, usehooks-ts. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/permissions/rules/PermissionRuleDescription.tsx: UI component or UI helper. Named exports: PermissionRuleDescription. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/permissions/rules/PermissionRuleInput.tsx: UI component or UI helper. Named exports: PermissionRuleInputProps, PermissionRuleInput. External packages imported here: figures, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/permissions/rules/PermissionRuleList.tsx: UI component or UI helper. Named exports: PermissionRuleList. External packages imported here: chalk, figures, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/permissions/rules/RecentDenialsTab.tsx: UI component or UI helper. Named exports: RecentDenialsTab. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/permissions/rules/RemoveWorkspaceDirectory.tsx: UI component or UI helper. Named exports: RemoveWorkspaceDirectory. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/permissions/rules/WorkspaceTab.tsx: UI component or UI helper. Named exports: WorkspaceTab. External packages imported here: figures, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/permissions/SandboxPermissionRequest.tsx: UI component or UI helper. Named exports: SandboxPermissionRequestProps, SandboxPermissionRequest. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/permissions/SedEditPermissionRequest/SedEditPermissionRequest.tsx: UI component or UI helper. Named exports: SedEditPermissionRequest. External packages imported here: path, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/permissions/shellPermissionHelpers.tsx: UI component or UI helper. Named exports: generateShellSuggestionsLabel. External packages imported here: path, react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/permissions/SkillPermissionRequest/SkillPermissionRequest.tsx: UI component or UI helper. Named exports: SkillPermissionRequest. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/permissions/useShellPermissionFeedback.ts: UI component or UI helper. Named exports: useShellPermissionFeedback. External packages imported here: react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/permissions/utils.ts: UI component or UI helper. Named exports: logUnaryPermissionEvent. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/permissions/WebFetchPermissionRequest/WebFetchPermissionRequest.tsx: UI component or UI helper. Named exports: WebFetchPermissionRequest. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/permissions/WorkerBadge.tsx: UI component or UI helper. Named exports: WorkerBadgeProps, WorkerBadge. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/permissions/WorkerPendingPermission.tsx: UI component or UI helper. Named exports: WorkerPendingPermission. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/PrBadge.tsx: UI component or UI helper. Named exports: PrBadge. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/PressEnterToContinue.tsx: UI component or UI helper. Named exports: PressEnterToContinue. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/PromptInput/HistorySearchInput.tsx: UI component or UI helper. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/PromptInput/inputModes.ts: UI component or UI helper. Named exports: prependModeCharacterToInput, getModeFromInput, getValueFromInput, isInputModeCharacter. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/PromptInput/inputPaste.ts: UI component or UI helper. Named exports: maybeTruncateMessageForInput, maybeTruncateInput. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/PromptInput/IssueFlagBanner.tsx: UI component or UI helper. Named exports: IssueFlagBanner. External packages imported here: react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/PromptInput/Notifications.tsx: UI component or UI helper. Named exports: FOOTER_TEMPORARY_STATUS_TIMEOUT, Notifications. Environment variables read here: CLAUDE_CODE_REMOTE. External packages imported here: bun:bundle, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/PromptInput/PromptInput.tsx: UI component or UI helper. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. External packages imported here: bun:bundle, chalk, path, react, strip-ansi. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/PromptInput/PromptInputFooter.tsx: UI component or UI helper. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. External packages imported here: bun:bundle, react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/PromptInput/PromptInputFooterLeftSide.tsx: UI component or UI helper. Named exports: PromptInputFooterLeftSide. External packages imported here: bun:bundle, figures, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/PromptInput/PromptInputFooterSuggestions.tsx: UI component or UI helper. Named exports: SuggestionItem, SuggestionType, OVERLAY_MAX_ITEMS, PromptInputFooterSuggestions. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/PromptInput/PromptInputHelpMenu.tsx: UI component or UI helper. Named exports: PromptInputHelpMenu. External packages imported here: bun:bundle, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/PromptInput/PromptInputModeIndicator.tsx: UI component or UI helper. Named exports: PromptInputModeIndicator. External packages imported here: figures, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/PromptInput/PromptInputQueuedCommands.tsx: UI component or UI helper. Named exports: PromptInputQueuedCommands. External packages imported here: bun:bundle, react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/PromptInput/PromptInputStashNotice.tsx: UI component or UI helper. Named exports: PromptInputStashNotice. External packages imported here: figures, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/PromptInput/SandboxPromptFooterHint.tsx: UI component or UI helper. Named exports: SandboxPromptFooterHint. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/PromptInput/ShimmeredInput.tsx: UI component or UI helper. Named exports: HighlightedInput. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/PromptInput/useMaybeTruncateInput.ts: UI component or UI helper. Named exports: useMaybeTruncateInput. External packages imported here: react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/PromptInput/usePromptInputPlaceholder.ts: UI component or UI helper. Named exports: usePromptInputPlaceholder. External packages imported here: bun:bundle, react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/PromptInput/useShowFastIconHint.ts: UI component or UI helper. Named exports: useShowFastIconHint. External packages imported here: react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/PromptInput/useSwarmBanner.ts: UI component or UI helper. Named exports: useSwarmBanner. External packages imported here: react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/PromptInput/utils.ts: UI component or UI helper. Named exports: isVimModeEnabled, getNewlineInstructions, isNonSpacePrintable. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/PromptInput/VoiceIndicator.tsx: UI component or UI helper. Named exports: VoiceIndicator, VoiceWarmupHint. External packages imported here: bun:bundle, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/QuickOpenDialog.tsx: UI component or UI helper. Named exports: QuickOpenDialog. External packages imported here: path, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/RemoteCallout.tsx: UI component or UI helper. Named exports: RemoteCallout, shouldShowRemoteCallout. External packages imported here: react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/RemoteEnvironmentDialog.tsx: UI component or UI helper. Named exports: RemoteEnvironmentDialog. External packages imported here: chalk, figures, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/ResumeTask.tsx: UI component or UI helper. Named exports: ResumeTask. External packages imported here: react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/sandbox/SandboxConfigTab.tsx: UI component or UI helper. Named exports: SandboxConfigTab. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/sandbox/SandboxDependenciesTab.tsx: UI component or UI helper. Named exports: SandboxDependenciesTab. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/sandbox/SandboxDoctorSection.tsx: UI component or UI helper. Named exports: SandboxDoctorSection. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/sandbox/SandboxOverridesTab.tsx: UI component or UI helper. Named exports: SandboxOverridesTab. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/sandbox/SandboxSettings.tsx: UI component or UI helper. Named exports: SandboxSettings. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/SandboxViolationExpandedView.tsx: UI component or UI helper. Named exports: SandboxViolationExpandedView. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/ScrollKeybindingHandler.tsx: UI component or UI helper. Named exports: shouldClearSelectionOnKey, selectionFocusMoveForKey, WheelAccelState, computeWheelStep, readScrollSpeedBase, initWheelAccel, .... Environment variables read here: CLAUDE_CODE_SCROLL_SPEED, TERM_PROGRAM. External packages imported here: react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/SearchBox.tsx: UI component or UI helper. Named exports: SearchBox. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/SentryErrorBoundary.ts: UI component or UI helper. Named exports: SentryErrorBoundary. External packages imported here: react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/SessionBackgroundHint.tsx: UI component or UI helper. Named exports: SessionBackgroundHint. Environment variables read here: CLAUDE_CODE_DISABLE_BACKGROUND_TASKS. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/SessionPreview.tsx: UI component or UI helper. Named exports: SessionPreview. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/Settings/Config.tsx: UI component or UI helper. Named exports: Config. Environment variables read here: ANTHROPIC_API_KEY, CLAUDE_CODE_DISABLE_FILE_CHECKPOINTING. External packages imported here: bun:bundle, chalk, figures, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/Settings/Settings.tsx: UI component or UI helper. Named exports: Settings. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/Settings/Status.tsx: UI component or UI helper. Named exports: buildDiagnostics, Status. External packages imported here: figures, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/Settings/Usage.tsx: UI component or UI helper. Named exports: Usage. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/shell/ExpandShellOutputContext.tsx: UI component or UI helper. Named exports: ExpandShellOutputProvider, useExpandShellOutput. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/shell/OutputLine.tsx: UI component or UI helper. Named exports: tryFormatJson, tryJsonFormatContent, linkifyUrlsInText, OutputLine, stripUnderlineAnsi. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/shell/ShellProgressMessage.tsx: UI component or UI helper. Named exports: ShellProgressMessage. External packages imported here: react, react/compiler-runtime, strip-ansi. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/shell/ShellTimeDisplay.tsx: UI component or UI helper. Named exports: ShellTimeDisplay. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/ShowInIDEPrompt.tsx: UI component or UI helper. Named exports: ShowInIDEPrompt. External packages imported here: path, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/SkillImprovementSurvey.tsx: UI component or UI helper. Named exports: SkillImprovementSurvey. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/skills/SkillsMenu.tsx: UI component or UI helper. Named exports: SkillsMenu. External packages imported here: lodash-es/capitalize.js, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/Spinner.tsx: UI component or UI helper. Named exports: SpinnerWithVerb, BriefIdleStatus, Spinner. Environment variables read here: CLAUDE_CODE_BRIEF. External packages imported here: bun:bundle, figures, lodash-es/sample.js, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/Spinner/FlashingChar.tsx: UI component or UI helper. Named exports: FlashingChar. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/Spinner/GlimmerMessage.tsx: UI component or UI helper. Named exports: GlimmerMessage. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/Spinner/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/Spinner/ShimmerChar.tsx: UI component or UI helper. Named exports: ShimmerChar. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/Spinner/SpinnerAnimationRow.tsx: UI component or UI helper. Named exports: SpinnerAnimationRowProps, SpinnerAnimationRow. External packages imported here: figures, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/Spinner/SpinnerGlyph.tsx: UI component or UI helper. Named exports: SpinnerGlyph. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/Spinner/teammateSelectHint.ts: UI component or UI helper. Named exports: TEAMMATE_SELECT_HINT. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/Spinner/TeammateSpinnerLine.tsx: UI component or UI helper. Named exports: TeammateSpinnerLine. External packages imported here: figures, lodash-es/sample.js, react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/Spinner/TeammateSpinnerTree.tsx: UI component or UI helper. Named exports: TeammateSpinnerTree. External packages imported here: figures, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/Spinner/useShimmerAnimation.ts: UI component or UI helper. Named exports: useShimmerAnimation. External packages imported here: react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/Spinner/useStalledAnimation.ts: UI component or UI helper. Named exports: useStalledAnimation. External packages imported here: react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/Spinner/utils.ts: UI component or UI helper. Named exports: getDefaultCharacters, interpolateColor, toRGBColor, hueToRgb, parseRGB. Environment variables read here: TERM. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/Stats.tsx: UI component or UI helper. Named exports: Stats. External packages imported here: asciichart, bun:bundle, chalk, figures, react, .... Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/StatusLine.tsx: UI component or UI helper. Named exports: statusLineShouldDisplay, getLastAssistantMessageId, StatusLine. External packages imported here: bun:bundle, react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/StatusNotices.tsx: UI component or UI helper. Named exports: StatusNotices. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/StructuredDiff.tsx: UI component or UI helper. Named exports: StructuredDiff. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/StructuredDiff/colorDiff.ts: UI component or UI helper. Named exports: ColorModuleUnavailableReason, getColorModuleUnavailableReason, expectColorDiff, expectColorFile, getSyntaxTheme. Environment variables read here: CLAUDE_CODE_SYNTAX_HIGHLIGHT. External packages imported here: color-diff-napi. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/StructuredDiff/Fallback.tsx: UI component or UI helper. Named exports: LineObject, StructuredDiffFallback, transformLinesToObjects, processAdjacentLines, calculateWordDiffs, numberDiffLines. External packages imported here: diff, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/StructuredDiffList.tsx: UI component or UI helper. Named exports: StructuredDiffList. External packages imported here: react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/TagTabs.tsx: UI component or UI helper. Named exports: TagTabs. External packages imported here: react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/TaskListV2.tsx: UI component or UI helper. Named exports: TaskListV2. External packages imported here: figures, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/tasks/AsyncAgentDetailDialog.tsx: UI component or UI helper. Named exports: AsyncAgentDetailDialog. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/tasks/BackgroundTask.tsx: UI component or UI helper. Named exports: BackgroundTask. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/tasks/BackgroundTasksDialog.tsx: UI component or UI helper. Named exports: BackgroundTasksDialog. External packages imported here: bun:bundle, figures, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/tasks/BackgroundTaskStatus.tsx: UI component or UI helper. Named exports: BackgroundTaskStatus. External packages imported here: figures, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/tasks/DreamDetailDialog.tsx: UI component or UI helper. Named exports: DreamDetailDialog. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/tasks/InProcessTeammateDetailDialog.tsx: UI component or UI helper. Named exports: InProcessTeammateDetailDialog. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/tasks/RemoteSessionDetailDialog.tsx: UI component or UI helper. Named exports: formatToolUseSummary, RemoteSessionDetailDialog. External packages imported here: figures, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/tasks/RemoteSessionProgress.tsx: UI component or UI helper. Named exports: formatReviewStageCounts, RemoteSessionProgress. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/tasks/renderToolActivity.tsx: UI component or UI helper. Named exports: renderToolActivity. External packages imported here: react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/tasks/ShellDetailDialog.tsx: UI component or UI helper. Named exports: ShellDetailDialog. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/tasks/ShellProgress.tsx: UI component or UI helper. Named exports: TaskStatusText, ShellProgress. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/tasks/taskStatusUtils.tsx: UI component or UI helper. Named exports: isTerminalStatus, getTaskStatusIcon, getTaskStatusColor, describeTeammateActivity, shouldHideTasksFooter. External packages imported here: figures. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/TeammateViewHeader.tsx: UI component or UI helper. Named exports: TeammateViewHeader. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/teams/TeamsDialog.tsx: UI component or UI helper. Named exports: TeamsDialog. External packages imported here: crypto, figures, react, react/compiler-runtime, usehooks-ts. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/teams/TeamStatus.tsx: UI component or UI helper. Named exports: TeamStatus. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/TeleportError.tsx: UI component or UI helper. Named exports: TeleportLocalErrorType, TeleportError, getTeleportErrors. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/TeleportProgress.tsx: UI component or UI helper. Named exports: TeleportProgress, teleportWithProgress. External packages imported here: figures, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/TeleportRepoMismatchDialog.tsx: UI component or UI helper. Named exports: TeleportRepoMismatchDialog. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/TeleportResumeWrapper.tsx: UI component or UI helper. Named exports: TeleportResumeWrapper. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/TeleportStash.tsx: UI component or UI helper. Named exports: TeleportStash. External packages imported here: figures, react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/TextInput.tsx: UI component or UI helper. Named exports: Props. Environment variables read here: CLAUDE_CODE_ACCESSIBILITY. External packages imported here: bun:bundle, chalk, react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/ThemePicker.tsx: UI component or UI helper. Named exports: ThemePickerProps, ThemePicker. Environment variables read here: CLAUDE_CODE_SYNTAX_HIGHLIGHT. External packages imported here: bun:bundle, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/ThinkingToggle.tsx: UI component or UI helper. Named exports: Props, ThinkingToggle. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/TokenWarning.tsx: UI component or UI helper. Named exports: TokenWarning. External packages imported here: bun:bundle, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/ToolUseLoader.tsx: UI component or UI helper. Named exports: ToolUseLoader. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/TrustDialog/TrustDialog.tsx: UI component or UI helper. Named exports: TrustDialog. External packages imported here: os, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/TrustDialog/utils.ts: UI component or UI helper. Named exports: getHooksSources, getBashPermissionSources, formatListWithAnd, getOtelHeadersHelperSources, getApiKeyHelperSources, getAwsCommandsSources, .... Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/ui/OrderedList.tsx: UI component or UI helper. Named exports: OrderedList. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/ui/OrderedListItem.tsx: UI component or UI helper. Named exports: OrderedListItemContext, OrderedListItem. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/ui/TreeSelect.tsx: UI component or UI helper. Named exports: TreeNode, TreeSelectProps, TreeSelect. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/ValidationErrorsList.tsx: UI component or UI helper. Named exports: ValidationErrorsList. External packages imported here: lodash-es/setWith.js, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/VimTextInput.tsx: UI component or UI helper. Named exports: Props. External packages imported here: chalk, react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/VirtualMessageList.tsx: UI component or UI helper. Named exports: StickyPrompt, JumpHandle, VirtualMessageList. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/wizard/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/wizard/useWizard.ts: UI component or UI helper. Named exports: useWizard. External packages imported here: react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/wizard/WizardDialogLayout.tsx: UI component or UI helper. Named exports: WizardDialogLayout. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/wizard/WizardNavigationFooter.tsx: UI component or UI helper. Named exports: WizardNavigationFooter. External packages imported here: react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/wizard/WizardProvider.tsx: UI component or UI helper. Named exports: WizardContext, WizardProvider. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/WorkflowMultiselectDialog.tsx: UI component or UI helper. Named exports: WorkflowMultiselectDialog. External packages imported here: react, react/compiler-runtime. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.
    • components/WorktreeExitDialog.tsx: UI component or UI helper. Named exports: WorktreeExitDialog. External packages imported here: react. Area context: Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives.

    hooks

    React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state. This section covers 104 file(s).

    • hooks/fileSuggestions.ts: React or runtime hook module. Named exports: onIndexBuildComplete, clearFileSuggestionCaches, pathListSignature, getDirectoryNames, getDirectoryNamesAsync, getPathsForSuggestions, .... External packages imported here: fs, ignore, path. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/notifs/useAutoModeUnavailableNotification.ts: React or runtime hook module. Named exports: useAutoModeUnavailableNotification. External packages imported here: bun:bundle, react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/notifs/useCanSwitchToExistingSubscription.tsx: React or runtime hook module. Named exports: useCanSwitchToExistingSubscription. External packages imported here: react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/notifs/useDeprecationWarningNotification.tsx: React or runtime hook module. Named exports: useDeprecationWarningNotification. External packages imported here: react, react/compiler-runtime. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/notifs/useFastModeNotification.tsx: React or runtime hook module. Named exports: useFastModeNotification. External packages imported here: react, react/compiler-runtime. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/notifs/useIDEStatusIndicator.tsx: React or runtime hook module. Named exports: useIDEStatusIndicator. External packages imported here: react, react/compiler-runtime. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/notifs/useInstallMessages.tsx: React or runtime hook module. Named exports: useInstallMessages. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/notifs/useLspInitializationNotification.tsx: React or runtime hook module. Named exports: useLspInitializationNotification. External packages imported here: react, react/compiler-runtime, usehooks-ts. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/notifs/useMcpConnectivityStatus.tsx: React or runtime hook module. Named exports: useMcpConnectivityStatus. External packages imported here: react, react/compiler-runtime. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/notifs/useModelMigrationNotifications.tsx: React or runtime hook module. Named exports: useModelMigrationNotifications. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/notifs/useNpmDeprecationNotification.tsx: React or runtime hook module. Named exports: useNpmDeprecationNotification. Environment variables read here: DISABLE_INSTALLATION_CHECKS. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/notifs/usePluginAutoupdateNotification.tsx: React or runtime hook module. Named exports: usePluginAutoupdateNotification. External packages imported here: react, react/compiler-runtime. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/notifs/usePluginInstallationStatus.tsx: React or runtime hook module. Named exports: usePluginInstallationStatus. External packages imported here: react, react/compiler-runtime. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/notifs/useRateLimitWarningNotification.tsx: React or runtime hook module. Named exports: useRateLimitWarningNotification. External packages imported here: react, react/compiler-runtime. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/notifs/useSettingsErrors.tsx: React or runtime hook module. Named exports: useSettingsErrors. External packages imported here: react, react/compiler-runtime. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/notifs/useStartupNotification.ts: React or runtime hook module. Named exports: useStartupNotification. External packages imported here: react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/notifs/useTeammateShutdownNotification.ts: React or runtime hook module. Named exports: useTeammateLifecycleNotification. External packages imported here: react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/renderPlaceholder.ts: React or runtime hook module. Named exports: renderPlaceholder. External packages imported here: chalk. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/toolPermission/handlers/coordinatorHandler.ts: React or runtime hook module. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. External packages imported here: bun:bundle. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/toolPermission/handlers/interactiveHandler.ts: React or runtime hook module. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. External packages imported here: bun:bundle, crypto. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/toolPermission/handlers/swarmWorkerHandler.ts: React or runtime hook module. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. External packages imported here: bun:bundle. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/toolPermission/PermissionContext.ts: React or runtime hook module. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. External packages imported here: bun:bundle. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/toolPermission/permissionLogging.ts: React or runtime hook module. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. External packages imported here: bun:bundle. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/unifiedSuggestions.ts: React or runtime hook module. Named exports: generateUnifiedSuggestions. External packages imported here: fuse.js, path. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useAfterFirstRender.ts: React or runtime hook module. Named exports: useAfterFirstRender. Environment variables read here: CLAUDE_CODE_EXIT_AFTER_FIRST_RENDER, USER_TYPE. External packages imported here: react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useApiKeyVerification.ts: React or runtime hook module. Named exports: VerificationStatus, ApiKeyVerificationResult, useApiKeyVerification. External packages imported here: react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useArrowKeyHistory.tsx: React or runtime hook module. Named exports: HistoryMode, useArrowKeyHistory. External packages imported here: react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useAssistantHistory.ts: React or runtime hook module. Named exports: useAssistantHistory. External packages imported here: crypto, react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useAwaySummary.ts: React or runtime hook module. Named exports: useAwaySummary. External packages imported here: bun:bundle, react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useBackgroundTaskNavigation.ts: React or runtime hook module. Named exports: useBackgroundTaskNavigation. External packages imported here: react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useBlink.ts: React or runtime hook module. Named exports: useBlink. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useCancelRequest.ts: React or runtime hook module. Named exports: CancelRequestHandler. External packages imported here: react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useCanUseTool.tsx: React or runtime hook module. Named exports: CanUseToolFn. External packages imported here: @anthropic-ai/sdk, bun:bundle, react, react/compiler-runtime. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useChromeExtensionNotification.tsx: React or runtime hook module. Named exports: useChromeExtensionNotification. External packages imported here: react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useClaudeCodeHintRecommendation.tsx: React or runtime hook module. Named exports: useClaudeCodeHintRecommendation. External packages imported here: react, react/compiler-runtime. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useClipboardImageHint.ts: React or runtime hook module. Named exports: useClipboardImageHint. External packages imported here: react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useCommandKeybindings.tsx: React or runtime hook module. Named exports: CommandKeybindingHandlers. External packages imported here: react, react/compiler-runtime. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useCommandQueue.ts: React or runtime hook module. Named exports: useCommandQueue. External packages imported here: react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useCopyOnSelect.ts: React or runtime hook module. Named exports: useCopyOnSelect, useSelectionBgColor. External packages imported here: react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useDeferredHookMessages.ts: React or runtime hook module. Named exports: useDeferredHookMessages. External packages imported here: react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useDiffData.ts: React or runtime hook module. Named exports: DiffFile, DiffData, useDiffData. External packages imported here: react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useDiffInIDE.ts: React or runtime hook module. Named exports: useDiffInIDE, computeEditsFromContents. Environment variables read here: WSL_DISTRO_NAME. External packages imported here: crypto, path, react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useDirectConnect.ts: React or runtime hook module. Named exports: useDirectConnect. External packages imported here: react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useDoublePress.ts: React or runtime hook module. Named exports: DOUBLE_PRESS_TIMEOUT_MS, useDoublePress. External packages imported here: react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useDynamicConfig.ts: React or runtime hook module. Named exports: useDynamicConfig. Environment variables read here: NODE_ENV. External packages imported here: react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useElapsedTime.ts: React or runtime hook module. Named exports: useElapsedTime. External packages imported here: react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useExitOnCtrlCD.ts: React or runtime hook module. Named exports: ExitState, useExitOnCtrlCD. External packages imported here: react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useExitOnCtrlCDWithKeybindings.ts: React or runtime hook module. Named exports: useExitOnCtrlCDWithKeybindings. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useFileHistorySnapshotInit.ts: React or runtime hook module. Named exports: useFileHistorySnapshotInit. External packages imported here: react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useGlobalKeybindings.tsx: React or runtime hook module. Named exports: GlobalKeybindingHandlers. External packages imported here: bun:bundle, react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useHistorySearch.ts: React or runtime hook module. Named exports: useHistorySearch. External packages imported here: bun:bundle, react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useIdeAtMentioned.ts: React or runtime hook module. Named exports: IDEAtMentioned, useIdeAtMentioned. External packages imported here: react, zod/v4. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useIdeConnectionStatus.ts: React or runtime hook module. Named exports: IdeStatus, useIdeConnectionStatus. External packages imported here: react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useIDEIntegration.tsx: React or runtime hook module. Named exports: useIDEIntegration. Environment variables read here: CLAUDE_CODE_AUTO_CONNECT_IDE, CLAUDE_CODE_SSE_PORT. External packages imported here: react, react/compiler-runtime. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useIdeLogging.ts: React or runtime hook module. Named exports: useIdeLogging. External packages imported here: react, zod/v4. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useIdeSelection.ts: React or runtime hook module. Named exports: SelectionPoint, SelectionData, IDESelection, useIdeSelection. External packages imported here: react, zod/v4. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useInboxPoller.ts: React or runtime hook module. Named exports: useInboxPoller. External packages imported here: crypto, react, usehooks-ts. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useInputBuffer.ts: React or runtime hook module. Named exports: BufferEntry, UseInputBufferProps, UseInputBufferResult, useInputBuffer. External packages imported here: react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useIssueFlagBanner.ts: React or runtime hook module. Named exports: isSessionContainerCompatible, hasFrictionSignal, useIssueFlagBanner. Environment variables read here: USER_TYPE. External packages imported here: react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useLogMessages.ts: React or runtime hook module. Named exports: useLogMessages. External packages imported here: react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useLspPluginRecommendation.tsx: React or runtime hook module. Named exports: LspRecommendationState, useLspPluginRecommendation. External packages imported here: path, react, react/compiler-runtime. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useMailboxBridge.ts: React or runtime hook module. Named exports: useMailboxBridge. External packages imported here: react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useMainLoopModel.ts: React or runtime hook module. Named exports: useMainLoopModel. External packages imported here: react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useManagePlugins.ts: React or runtime hook module. Named exports: useManagePlugins. Environment variables read here: CLAUDE_CODE_PLUGIN_CACHE_DIR, USER_TYPE. External packages imported here: react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useMemoryUsage.ts: React or runtime hook module. Named exports: MemoryUsageStatus, MemoryUsageInfo, useMemoryUsage. External packages imported here: react, usehooks-ts. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useMergedClients.ts: React or runtime hook module. Named exports: mergeClients, useMergedClients. External packages imported here: lodash-es/uniqBy.js, react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useMergedCommands.ts: React or runtime hook module. Named exports: useMergedCommands. External packages imported here: lodash-es/uniqBy.js, react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useMergedTools.ts: React or runtime hook module. Named exports: useMergedTools. External packages imported here: react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useMinDisplayTime.ts: React or runtime hook module. Named exports: useMinDisplayTime. External packages imported here: react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useNotifyAfterTimeout.ts: React or runtime hook module. Named exports: DEFAULT_INTERACTION_THRESHOLD_MS, useNotifyAfterTimeout. Environment variables read here: NODE_ENV. External packages imported here: react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useOfficialMarketplaceNotification.tsx: React or runtime hook module. Named exports: useOfficialMarketplaceNotification. External packages imported here: react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/usePasteHandler.ts: React or runtime hook module. Named exports: usePasteHandler. External packages imported here: path, react, usehooks-ts. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/usePluginRecommendationBase.tsx: React or runtime hook module. Named exports: usePluginRecommendationBase, installPluginAndNotify. External packages imported here: figures, react, react/compiler-runtime. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/usePromptsFromClaudeInChrome.tsx: React or runtime hook module. Named exports: usePromptsFromClaudeInChrome. External packages imported here: react, react/compiler-runtime, zod/v4. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/usePromptSuggestion.ts: React or runtime hook module. Named exports: usePromptSuggestion. Environment variables read here: USER_TYPE. External packages imported here: react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/usePrStatus.ts: React or runtime hook module. Named exports: PrStatusState, usePrStatus. External packages imported here: react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useQueueProcessor.ts: React or runtime hook module. Named exports: useQueueProcessor. External packages imported here: react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useRemoteSession.ts: React or runtime hook module. Named exports: useRemoteSession. External packages imported here: react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useReplBridge.tsx: React or runtime hook module. Named exports: BRIDGE_FAILURE_DISMISS_MS, useReplBridge. External packages imported here: bun:bundle, react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useScheduledTasks.ts: React or runtime hook module. Named exports: useScheduledTasks. External packages imported here: react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useSearchInput.ts: React or runtime hook module. Named exports: useSearchInput. External packages imported here: react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useSessionBackgrounding.ts: React or runtime hook module. Named exports: useSessionBackgrounding. External packages imported here: react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useSettings.ts: React or runtime hook module. Named exports: ReadonlySettings, useSettings. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useSettingsChange.ts: React or runtime hook module. Named exports: useSettingsChange. External packages imported here: react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useSkillImprovementSurvey.ts: React or runtime hook module. Named exports: useSkillImprovementSurvey. External packages imported here: react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useSkillsChange.ts: React or runtime hook module. Named exports: useSkillsChange. External packages imported here: react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useSSHSession.ts: React or runtime hook module. Named exports: useSSHSession. External packages imported here: crypto, react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useSwarmInitialization.ts: React or runtime hook module. Named exports: useSwarmInitialization. External packages imported here: react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useSwarmPermissionPoller.ts: React or runtime hook module. Named exports: PermissionResponseCallback, registerPermissionCallback, unregisterPermissionCallback, hasPermissionCallback, clearAllPendingCallbacks, processMailboxPermissionResponse, .... External packages imported here: react, usehooks-ts. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useTaskListWatcher.ts: React or runtime hook module. Named exports: useTaskListWatcher. External packages imported here: fs, react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useTasksV2.ts: React or runtime hook module. Named exports: useTasksV2, useTasksV2WithCollapseEffect. External packages imported here: fs, react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useTeammateViewAutoExit.ts: React or runtime hook module. Named exports: useTeammateViewAutoExit. External packages imported here: react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useTeleportResume.tsx: React or runtime hook module. Named exports: TeleportResumeError, TeleportSource, useTeleportResume. External packages imported here: react, react/compiler-runtime. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useTerminalSize.ts: React or runtime hook module. Named exports: useTerminalSize. External packages imported here: react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useTextInput.ts: React or runtime hook module. Named exports: UseTextInputProps, useTextInput. External packages imported here: strip-ansi. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useTimeout.ts: React or runtime hook module. Named exports: useTimeout. External packages imported here: react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useTurnDiffs.ts: React or runtime hook module. Named exports: TurnFileDiff, TurnDiff, useTurnDiffs. External packages imported here: react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useTypeahead.tsx: React or runtime hook module. Named exports: extractSearchToken, formatReplacementValue, applyShellSuggestion, applyDirectorySuggestion, extractCompletionToken, useTypeahead. External packages imported here: react, usehooks-ts. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useUpdateNotification.ts: React or runtime hook module. Named exports: getSemverPart, shouldShowUpdateNotification, useUpdateNotification. External packages imported here: react, semver. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useVimInput.ts: React or runtime hook module. Named exports: useVimInput. External packages imported here: react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useVirtualScroll.ts: React or runtime hook module. Named exports: VirtualScrollResult, useVirtualScroll. External packages imported here: react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useVoice.ts: React or runtime hook module. Named exports: normalizeLanguageForSTT, FIRST_PRESS_FALLBACK_MS, computeLevel, useVoice. External packages imported here: react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useVoiceEnabled.ts: React or runtime hook module. Named exports: useVoiceEnabled. External packages imported here: react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.
    • hooks/useVoiceIntegration.tsx: React or runtime hook module. Named exports: useVoiceIntegration, useVoiceKeybindingHandler, VoiceKeybindingHandler. External packages imported here: bun:bundle, react. Area context: React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state.

    screens

    Top-level screens such as REPL and doctor or resume flows. This section covers 3 file(s).

    • screens/Doctor.tsx: UI component module. Named exports: Doctor. External packages imported here: figures, path, react, react/compiler-runtime. Area context: Top-level screens such as REPL and doctor or resume flows.
    • screens/REPL.tsx: UI component module. Named exports: Props, Screen, REPL. Environment variables read here: CLAUDE_CODE_DISABLE_MESSAGE_ACTIONS, CLAUDE_CODE_DISABLE_TERMINAL_TITLE, CLAUDE_CODE_DISABLE_VIRTUAL_SCROLL, CLAUDE_CODE_IDLE_THRESHOLD_MINUTES, CLAUDE_CODE_IDLE_TOKEN_THRESHOLD, CLAUDE_MORERIGHT. External packages imported here: bun:bundle, child_process, crypto, figures, fs/promises, .... Area context: Top-level screens such as REPL and doctor or resume flows.
    • screens/ResumeConversation.tsx: UI component module. Named exports: ResumeConversation. External packages imported here: bun:bundle, path, react, react/compiler-runtime. Area context: Top-level screens such as REPL and doctor or resume flows.

    services

    Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more. This section covers 130 file(s).

    • services/AgentSummary/agentSummary.ts: Service or integration module. Named exports: startAgentSummarization. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/analytics/config.ts: Service or integration module. Named exports: isAnalyticsDisabled, isFeedbackSurveyDisabled. Environment variables read here: CLAUDE_CODE_USE_BEDROCK, CLAUDE_CODE_USE_FOUNDRY, CLAUDE_CODE_USE_VERTEX, NODE_ENV. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/analytics/datadog.ts: Service or integration module. Named exports: initializeDatadog, shutdownDatadog, trackDatadogEvent. Environment variables read here: CLAUDE_CODE_DATADOG_FLUSH_INTERVAL_MS, NODE_ENV, USER_TYPE. External packages imported here: axios, crypto, lodash-es/memoize.js. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/analytics/firstPartyEventLogger.ts: Service or integration module. Named exports: EventSamplingConfig, getEventSamplingConfig, shouldSampleEvent, shutdown1PEventLogging, is1PEventLoggingEnabled, logEventTo1P, .... Environment variables read here: NODE_ENV, OTEL_LOGS_EXPORT_INTERVAL, USER_TYPE. External packages imported here: , , , , . Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/analytics/firstPartyEventLoggingExporter.ts: Service or integration module. Named exports: FirstPartyEventLoggingExporter. Environment variables read here: ANTHROPIC_BASE_URL, USER_TYPE. External packages imported here: @opentelemetry/core, axios, crypto, fs/promises, path. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/analytics/growthbook.ts: Service or integration module. Named exports: GrowthBookUserAttributes, onGrowthBookRefresh, hasGrowthBookEnvOverride, getAllGrowthBookFeatures, getGrowthBookConfigOverrides, setGrowthBookConfigOverride, .... Environment variables read here: ANTHROPIC_BASE_URL, CLAUDE_CODE_GB_BASE_URL, CLAUDE_INTERNAL_FC_OVERRIDES, , . External packages imported here: , . Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/analytics/index.ts: Index or entry module for its directory. Named exports: AnalyticsMetadata_I_VERIFIED_THIS_IS_NOT_CODE_OR_FILEPATHS, AnalyticsMetadata_I_VERIFIED_THIS_IS_PII_TAGGED, stripProtoFields, AnalyticsSink, attachAnalyticsSink, logEvent, .... Environment variables read here: USER_TYPE. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/analytics/metadata.ts: Service or integration module. Named exports: AnalyticsMetadata_I_VERIFIED_THIS_IS_NOT_CODE_OR_FILEPATHS, sanitizeToolNameForAnalytics, isToolDetailsLoggingEnabled, isAnalyticsToolDetailsLoggingEnabled, mcpToolDetailsForAnalytics, extractMcpToolDetails, .... Environment variables read here: CI, CLAUBBIT, CLAUDE_AGENT_SDK_VERSION, , , , .... External packages imported here: , , . Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/analytics/sink.ts: Service or integration module. Named exports: initializeAnalyticsGates, initializeAnalyticsSink. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/analytics/sinkKillswitch.ts: Service or integration module. Named exports: SinkName, isSinkKilled. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/api/adminRequests.ts: Service or integration module. Named exports: AdminRequestType, AdminRequestStatus, AdminRequestSeatUpgradeDetails, AdminRequestCreateParams, AdminRequest, createAdminRequest, .... External packages imported here: axios. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/api/bootstrap.ts: Service or integration module. Named exports: fetchBootstrapData. External packages imported here: axios, lodash-es/isEqual.js, zod. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/api/claude.ts: Service or integration module. Named exports: getExtraBodyParams, getPromptCachingEnabled, getCacheControl, configureTaskBudgetParams, getAPIMetadata, verifyApiKey, .... Environment variables read here: API_TIMEOUT_MS, CLAUDE_CODE_DISABLE_ADAPTIVE_THINKING, CLAUDE_CODE_DISABLE_NONSTREAMING_FALLBACK, , , , .... External packages imported here: , , . Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/api/client.ts: Service or integration module. Named exports: getAnthropicClient, CLIENT_REQUEST_ID_HEADER. Environment variables read here: ANTHROPIC_AUTH_TOKEN, ANTHROPIC_CUSTOM_HEADERS, ANTHROPIC_FOUNDRY_API_KEY, ANTHROPIC_SMALL_FAST_MODEL_AWS_REGION, ANTHROPIC_VERTEX_PROJECT_ID, API_TIMEOUT_MS, .... External packages imported here: @anthropic-ai/sdk, . Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/api/dumpPrompts.ts: Service or integration module. Named exports: getLastApiRequests, clearApiRequestCache, clearDumpState, clearAllDumpState, addApiRequestToCache, getDumpPromptsPath, .... Environment variables read here: USER_TYPE. External packages imported here: crypto, fs, path. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/api/emptyUsage.ts: Service or integration module. Named exports: EMPTY_USAGE. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/api/errors.ts: Service or integration module. Named exports: API_ERROR_MESSAGE_PREFIX, startsWithApiErrorPrefix, PROMPT_TOO_LONG_ERROR_MESSAGE, isPromptTooLongMessage, parsePromptTooLongTokenCounts, getPromptTooLongTokenGap, .... Environment variables read here: ANTHROPIC_API_KEY, ANTHROPIC_MODEL, CLAUDE_CODE_REMOTE, , . External packages imported here: . Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/api/errorUtils.ts: Service or integration module. Named exports: ConnectionErrorDetails, extractConnectionErrorDetails, getSSLErrorHint, sanitizeAPIError, formatAPIError. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/api/filesApi.ts: Service or integration module. Named exports: File, FilesApiConfig, DownloadResult, downloadFile, buildDownloadPath, downloadAndSaveFile, .... Environment variables read here: ANTHROPIC_BASE_URL, CLAUDE_CODE_API_BASE_URL. External packages imported here: axios, crypto, , . Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/api/firstTokenDate.ts: Service or integration module. Named exports: fetchAndStoreClaudeCodeFirstTokenDate. External packages imported here: axios. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/api/grove.ts: Service or integration module. Named exports: AccountSettings, GroveConfig, ApiResult, getGroveSettings, markGroveNoticeViewed, updateGroveSettings, .... External packages imported here: axios, lodash-es/memoize.js. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/api/logging.ts: Service or integration module. Named exports: GlobalCacheStrategy, logAPIQuery, logAPIError, logAPISuccessAndDuration. Environment variables read here: ANTHROPIC_BASE_URL, ANTHROPIC_MODEL, ANTHROPIC_SMALL_FAST_MODEL, USER_TYPE. External packages imported here: @anthropic-ai/sdk, . Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/api/metricsOptOut.ts: Service or integration module. Named exports: checkMetricsEnabled, _clearMetricsEnabledCacheForTesting. External packages imported here: axios. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/api/overageCreditGrant.ts: Service or integration module. Named exports: OverageCreditGrantInfo, getCachedOverageCreditGrant, invalidateOverageCreditGrantCache, refreshOverageCreditGrantCache, formatGrantAmount. External packages imported here: axios. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/api/promptCacheBreakDetection.ts: Service or integration module. Named exports: CACHE_TTL_1HOUR_MS, PromptStateSnapshot, recordPromptState, checkResponseForCacheBreak, notifyCacheDeletion, notifyCompaction, .... External packages imported here: diff, fs/promises, path. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/api/referral.ts: Service or integration module. Named exports: fetchReferralEligibility, fetchReferralRedemptions, checkCachedPassesEligibility, formatCreditAmount, getCachedReferrerReward, getCachedRemainingPasses, .... External packages imported here: axios. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/api/sessionIngress.ts: Service or integration module. Named exports: appendSessionLog, getSessionLogs, getSessionLogsViaOAuth, getTeleportEvents, clearSession, clearAllSessions. Environment variables read here: CLAUDE_AFTER_LAST_COMPACT. External packages imported here: axios. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/api/ultrareviewQuota.ts: Service or integration module. Named exports: UltrareviewQuotaResponse, fetchUltrareviewQuota. External packages imported here: axios. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/api/usage.ts: Service or integration module. Named exports: RateLimit, ExtraUsage, Utilization, fetchUtilization. External packages imported here: axios. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/api/withRetry.ts: Service or integration module. Named exports: BASE_DELAY_MS, RetryContext, CannotRetryError, FallbackTriggeredError, getRetryDelay, parseMaxTokensContextOverflowError, .... Environment variables read here: CLAUDE_CODE_MAX_RETRIES, CLAUDE_CODE_REMOTE, CLAUDE_CODE_UNATTENDED_RETRY, , , , .... External packages imported here: , . Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/autoDream/autoDream.ts: Service or integration module. Named exports: initAutoDream, executeAutoDream. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/autoDream/config.ts: Service or integration module. Named exports: isAutoDreamEnabled. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/autoDream/consolidationLock.ts: Service or integration module. Named exports: readLastConsolidatedAt, tryAcquireConsolidationLock, rollbackConsolidationLock, listSessionsTouchedSince, recordConsolidation. External packages imported here: fs/promises, path. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/autoDream/consolidationPrompt.ts: Service or integration module. Named exports: buildConsolidationPrompt. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/awaySummary.ts: Service or integration module. Named exports: generateAwaySummary. External packages imported here: @anthropic-ai/sdk. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/claudeAiLimits.ts: Service or integration module. Named exports: getRateLimitDisplayName, OverageDisabledReason, ClaudeAILimits, getRawUtilization, statusListeners, emitStatusChange, .... External packages imported here: @anthropic-ai/sdk, lodash-es/isEqual.js. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/claudeAiLimitsHook.ts: Service or integration module. Named exports: useClaudeAiLimits. External packages imported here: react. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/compact/apiMicrocompact.ts: Service or integration module. Named exports: ContextEditStrategy, ContextManagementConfig, getAPIContextManagement. Environment variables read here: API_MAX_INPUT_TOKENS, API_TARGET_INPUT_TOKENS, USER_TYPE, USE_API_CLEAR_TOOL_RESULTS, USE_API_CLEAR_TOOL_USES. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/compact/autoCompact.ts: Service or integration module. Named exports: getEffectiveContextWindowSize, AutoCompactTrackingState, AUTOCOMPACT_BUFFER_TOKENS, WARNING_THRESHOLD_BUFFER_TOKENS, ERROR_THRESHOLD_BUFFER_TOKENS, MANUAL_COMPACT_BUFFER_TOKENS, .... Environment variables read here: CLAUDE_AUTOCOMPACT_PCT_OVERRIDE, CLAUDE_CODE_AUTO_COMPACT_WINDOW, CLAUDE_CODE_BLOCKING_LIMIT_OVERRIDE, , . External packages imported here: . Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/compact/compact.ts: Service or integration module. Named exports: POST_COMPACT_MAX_FILES_TO_RESTORE, POST_COMPACT_TOKEN_BUDGET, POST_COMPACT_MAX_TOKENS_PER_FILE, POST_COMPACT_MAX_TOKENS_PER_SKILL, POST_COMPACT_SKILLS_TOKEN_BUDGET, stripImagesFromMessages, .... External packages imported here: @anthropic-ai/sdk, bun:bundle, lodash-es/uniqBy.js. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/compact/compactWarningHook.ts: Service or integration module. Named exports: useCompactWarningSuppression. External packages imported here: react. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/compact/compactWarningState.ts: Service or integration module. Named exports: compactWarningStore, suppressCompactWarning, clearCompactWarningSuppression. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/compact/grouping.ts: Service or integration module. Named exports: groupMessagesByApiRound. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/compact/microCompact.ts: Service or integration module. Named exports: TIME_BASED_MC_CLEARED_MESSAGE, consumePendingCacheEdits, getPinnedCacheEdits, pinCacheEdits, markToolsSentToAPIState, resetMicrocompactState, .... External packages imported here: bun:bundle. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/compact/postCompactCleanup.ts: Service or integration module. Named exports: runPostCompactCleanup. External packages imported here: bun:bundle. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/compact/prompt.ts: Service or integration module. Named exports: getPartialCompactPrompt, getCompactPrompt, formatCompactSummary, getCompactUserSummaryMessage. External packages imported here: bun:bundle. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/compact/sessionMemoryCompact.ts: Service or integration module. Named exports: SessionMemoryCompactConfig, DEFAULT_SM_COMPACT_CONFIG, setSessionMemoryCompactConfig, getSessionMemoryCompactConfig, resetSessionMemoryCompactConfig, hasTextBlocks, .... Environment variables read here: DISABLE_CLAUDE_CODE_SM_COMPACT, ENABLE_CLAUDE_CODE_SM_COMPACT, USER_TYPE. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/compact/timeBasedMCConfig.ts: Service or integration module. Named exports: TimeBasedMCConfig, getTimeBasedMCConfig. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/diagnosticTracking.ts: Service or integration module. Named exports: Diagnostic, DiagnosticFile, DiagnosticTrackingService, diagnosticTracker. External packages imported here: figures. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/extractMemories/extractMemories.ts: Service or integration module. Named exports: createAutoMemCanUseTool, initExtractMemories, executeExtractMemories, drainPendingExtraction. Environment variables read here: USER_TYPE. External packages imported here: bun:bundle, path. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/extractMemories/prompts.ts: Service or integration module. Named exports: buildExtractAutoOnlyPrompt, buildExtractCombinedPrompt. External packages imported here: bun:bundle. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/internalLogging.ts: Service or integration module. Named exports: getContainerId, logPermissionContextForAnts. Environment variables read here: USER_TYPE. External packages imported here: fs/promises, lodash-es/memoize.js. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/lsp/config.ts: Service or integration module. Named exports: getAllLspServers. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/lsp/LSPClient.ts: Service or integration module. Named exports: LSPClient, createLSPClient. External packages imported here: child_process, vscode-jsonrpc/node.js. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/lsp/LSPDiagnosticRegistry.ts: Service or integration module. Named exports: PendingLSPDiagnostic, registerPendingLSPDiagnostic, checkForLSPDiagnostics, clearAllLSPDiagnostics, resetAllLSPDiagnosticState, clearDeliveredDiagnosticsForFile, .... External packages imported here: crypto, lru-cache. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/lsp/LSPServerInstance.ts: Service or integration module. Named exports: LSPServerInstance, createLSPServerInstance. External packages imported here: path, url. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/lsp/LSPServerManager.ts: Service or integration module. Named exports: LSPServerManager, createLSPServerManager. External packages imported here: path, url. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/lsp/manager.ts: Service or integration module. Named exports: _resetLspManagerForTesting, getLspServerManager, getInitializationStatus, isLspConnected, waitForInitialization, initializeLspServerManager, .... Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/lsp/passiveFeedback.ts: Service or integration module. Named exports: formatDiagnosticsForAttachment, HandlerRegistrationResult, registerLSPNotificationHandlers. External packages imported here: url. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/MagicDocs/magicDocs.ts: Service or integration module. Named exports: clearTrackedMagicDocs, detectMagicDocHeader, registerMagicDoc, initMagicDocs. Environment variables read here: USER_TYPE. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/MagicDocs/prompts.ts: Service or integration module. Named exports: buildMagicDocsUpdatePrompt. External packages imported here: path. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/mcp/auth.ts: Service or integration module. Named exports: normalizeOAuthErrorBody, AuthenticationCancelledError, getServerKey, hasMcpDiscoveryButNoToken, revokeServerTokens, clearServerTokensFromLocalStorage, .... Environment variables read here: MCP_CLIENT_SECRET, MCP_OAUTH_CLIENT_METADATA_URL. External packages imported here: @modelcontextprotocol/sdk/client/auth.js, , , , , .... Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/mcp/channelAllowlist.ts: Service or integration module. Named exports: ChannelAllowlistEntry, getChannelAllowlist, isChannelsEnabled, isChannelAllowlisted. External packages imported here: zod/v4. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/mcp/channelNotification.ts: Service or integration module. Named exports: ChannelMessageNotificationSchema, CHANNEL_PERMISSION_METHOD, ChannelPermissionNotificationSchema, CHANNEL_PERMISSION_REQUEST_METHOD, ChannelPermissionRequestParams, wrapChannelMessage, .... External packages imported here: zod/v4. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/mcp/channelPermissions.ts: Service or integration module. Named exports: isChannelPermissionRelayEnabled, ChannelPermissionResponse, ChannelPermissionCallbacks, PERMISSION_REPLY_RE, shortRequestId, truncateForPreview, .... Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/mcp/claudeai.ts: Service or integration module. Named exports: fetchClaudeAIMcpConfigsIfEligible, clearClaudeAIMcpConfigsCache, markClaudeAiMcpConnected, hasClaudeAiMcpEverConnected. Environment variables read here: ENABLE_CLAUDEAI_MCP_SERVERS. External packages imported here: axios, lodash-es/memoize.js. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/mcp/client.ts: Service or integration module. Named exports: McpAuthError, McpToolCallError_I_VERIFIED_THIS_IS_NOT_CODE_OR_FILEPATHS, isMcpSessionExpiredError, clearMcpAuthCache, createClaudeAiProxyFetch, wrapFetchWithTimeout, .... Environment variables read here: CLAUDE_AGENT_SDK_MCP_NO_PREFIX, CLAUDE_CODE_SHELL_PREFIX, ENABLE_MCP_LARGE_OUTPUT_FILES, , , , .... External packages imported here: , , , , , .... Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/mcp/config.ts: Service or integration module. Named exports: getEnterpriseMcpFilePath, unwrapCcrProxyUrl, getMcpServerSignature, dedupPluginMcpServers, dedupClaudeAiMcpServers, filterMcpServersByPolicy, .... External packages imported here: bun:bundle, fs/promises, lodash-es/mapValues.js, , . Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/mcp/elicitationHandler.ts: Service or integration module. Named exports: ElicitationWaitingState, ElicitationRequestEvent, registerElicitationHandler, runElicitationHooks, runElicitationResultHooks. External packages imported here: @modelcontextprotocol/sdk/types.js. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/mcp/envExpansion.ts: Service or integration module. Named exports: expandEnvVarsInString. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/mcp/headersHelper.ts: Service or integration module. Named exports: getMcpHeadersFromHelper, getMcpServerHeaders. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/mcp/InProcessTransport.ts: Service or integration module. Named exports: createLinkedTransportPair. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/mcp/MCPConnectionManager.tsx: Service or integration module. Named exports: useMcpReconnect, useMcpToggleEnabled, MCPConnectionManager. External packages imported here: react, react/compiler-runtime. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/mcp/mcpStringUtils.ts: Service or integration module. Named exports: mcpInfoFromString, getMcpPrefix, buildMcpToolName, getToolNameForPermissionCheck, getMcpDisplayName, extractMcpToolDisplayName. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/mcp/normalization.ts: Service or integration module. Named exports: normalizeNameForMCP. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/mcp/oauthPort.ts: Service or integration module. Named exports: buildRedirectUri, findAvailablePort. Environment variables read here: MCP_OAUTH_CALLBACK_PORT. External packages imported here: http. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/mcp/officialRegistry.ts: Service or integration module. Named exports: prefetchOfficialMcpUrls, isOfficialMcpUrl, resetOfficialMcpUrlsForTesting. Environment variables read here: CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC. External packages imported here: axios. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/mcp/SdkControlTransport.ts: Service or integration module. Named exports: SendMcpMessageCallback, SdkControlClientTransport, SdkControlServerTransport. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/mcp/types.ts: Service or integration module. Named exports: ConfigScopeSchema, ConfigScope, TransportSchema, Transport, McpStdioServerConfigSchema, McpSSEServerConfigSchema, .... External packages imported here: zod/v4. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/mcp/useManageMCPConnections.ts: Service or integration module. Named exports: useManageMCPConnections. Environment variables read here: USER_TYPE. External packages imported here: @modelcontextprotocol/sdk/types.js, bun:bundle, lodash-es/omit.js, lodash-es/reject.js, path, .... Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/mcp/utils.ts: Service or integration module. Named exports: filterToolsByServer, commandBelongsToServer, filterCommandsByServer, filterMcpPromptsByServer, filterResourcesByServer, excludeToolsByServer, .... External packages imported here: crypto, path. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/mcp/vscodeSdkMcp.ts: Service or integration module. Named exports: LogEventNotificationSchema, notifyVscodeFileUpdated, setupVscodeSdkMcp. Environment variables read here: USER_TYPE. External packages imported here: zod/v4. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/mcp/xaa.ts: Service or integration module. Named exports: XaaTokenExchangeError, ProtectedResourceMetadata, discoverProtectedResource, AuthorizationServerMetadata, discoverAuthorizationServer, JwtAuthGrantResult, .... External packages imported here: @modelcontextprotocol/sdk/client/auth.js, zod/v4. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/mcp/xaaIdpLogin.ts: Service or integration module. Named exports: isXaaEnabled, XaaIdpSettings, getXaaIdpSettings, IdpLoginOptions, issuerKey, getCachedIdpIdToken, .... Environment variables read here: CLAUDE_CODE_ENABLE_XAA. External packages imported here: @modelcontextprotocol/sdk/client/auth.js, @modelcontextprotocol/sdk/shared/auth.js, , , , .... Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/mcpServerApproval.tsx: Service or integration module. Named exports: handleMcpjsonServerApprovals. External packages imported here: react. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/mockRateLimits.ts: Service or integration module. Named exports: MockHeaderKey, MockScenario, setMockHeader, addExceededLimit, setMockEarlyWarning, clearMockEarlyWarning, .... Environment variables read here: CLAUDE_MOCK_HEADERLESS_429, USER_TYPE. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/notifier.ts: Service or integration module. Named exports: NotificationOptions, sendNotification. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/oauth/auth-code-listener.ts: Service or integration module. Named exports: AuthCodeListener. External packages imported here: http. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/oauth/client.ts: Service or integration module. Named exports: shouldUseClaudeAIAuth, parseScopes, buildAuthUrl, exchangeCodeForTokens, refreshOAuthToken, fetchAndStoreUserRoles, .... Environment variables read here: CLAUDE_CODE_ACCOUNT_UUID, CLAUDE_CODE_ORGANIZATION_UUID, CLAUDE_CODE_USER_EMAIL. External packages imported here: . Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/oauth/crypto.ts: Service or integration module. Named exports: generateCodeVerifier, generateCodeChallenge, generateState. External packages imported here: crypto. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/oauth/getOauthProfile.ts: Service or integration module. Named exports: getOauthProfileFromApiKey, getOauthProfileFromOauthToken. External packages imported here: axios. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/oauth/index.ts: Index or entry module for its directory. Named exports: OAuthService. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/plugins/pluginCliCommands.ts: Service or integration module. Named exports: installPlugin, uninstallPlugin, enablePlugin, disablePlugin, disableAllPlugins, updatePluginCli. External packages imported here: figures. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/plugins/PluginInstallationManager.ts: Service or integration module. Named exports: performBackgroundPluginInstallations. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/plugins/pluginOperations.ts: Service or integration module. Named exports: VALID_INSTALLABLE_SCOPES, InstallableScope, VALID_UPDATE_SCOPES, assertInstallableScope, isInstallableScope, getProjectPathForScope, .... External packages imported here: path. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/policyLimits/index.ts: Index or entry module for its directory. Named exports: _resetPolicyLimitsForTesting, initializePolicyLimitsLoadingPromise, isPolicyLimitsEligible, waitForPolicyLimitsToLoad, isPolicyAllowed, loadPolicyLimits, .... External packages imported here: axios, crypto, fs, , . Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/policyLimits/types.ts: Service or integration module. Named exports: PolicyLimitsResponseSchema, PolicyLimitsResponse, PolicyLimitsFetchResult. External packages imported here: zod/v4. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/preventSleep.ts: Service or integration module. Named exports: startPreventSleep, stopPreventSleep, forceStopPreventSleep. External packages imported here: child_process. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/PromptSuggestion/promptSuggestion.ts: Service or integration module. Named exports: PromptVariant, getPromptVariant, shouldEnablePromptSuggestion, abortPromptSuggestion, getSuggestionSuppressReason, tryGenerateSuggestion, .... Environment variables read here: CLAUDE_CODE_ENABLE_PROMPT_SUGGESTION, USER_TYPE. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/PromptSuggestion/speculation.ts: Service or integration module. Named exports: ActiveSpeculationState, prepareMessagesForInjection, isSpeculationEnabled, startSpeculation, acceptSpeculation, abortSpeculation, .... Environment variables read here: USER_TYPE. External packages imported here: crypto, fs, , . Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/rateLimitMessages.ts: Service or integration module. Named exports: RATE_LIMIT_ERROR_PREFIXES, isRateLimitErrorMessage, RateLimitMessage, getRateLimitMessage, getRateLimitErrorMessage, getRateLimitWarning, .... Environment variables read here: USER_TYPE. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/rateLimitMocking.ts: Service or integration module. Named exports: processRateLimitHeaders, shouldProcessRateLimits, checkMockRateLimitError, isMockRateLimitError. External packages imported here: @anthropic-ai/sdk. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/remoteManagedSettings/index.ts: Index or entry module for its directory. Named exports: initializeRemoteManagedSettingsLoadingPromise, computeChecksumFromSettings, isEligibleForRemoteManagedSettings, waitForRemoteManagedSettingsToLoad, clearRemoteManagedSettingsCache, loadRemoteManagedSettings, .... External packages imported here: axios, crypto, fs/promises. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/remoteManagedSettings/securityCheck.tsx: Service or integration module. Named exports: SecurityCheckResult, checkManagedSettingsSecurity, handleSecurityCheckResult. External packages imported here: react. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/remoteManagedSettings/syncCache.ts: Service or integration module. Named exports: resetSyncCache, isRemoteManagedSettingsEligible. Environment variables read here: CLAUDE_CODE_ENTRYPOINT. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/remoteManagedSettings/syncCacheState.ts: Service or integration module. Named exports: setSessionCache, resetSyncCache, setEligibility, getSettingsPath, getRemoteManagedSettingsSyncFromCache. External packages imported here: path. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/remoteManagedSettings/types.ts: Service or integration module. Named exports: RemoteManagedSettingsResponseSchema, RemoteManagedSettingsResponse, RemoteManagedSettingsFetchResult. External packages imported here: zod/v4. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/SessionMemory/prompts.ts: Service or integration module. Named exports: DEFAULT_SESSION_MEMORY_TEMPLATE, loadSessionMemoryTemplate, loadSessionMemoryPrompt, isSessionMemoryEmpty, buildSessionMemoryUpdatePrompt, truncateSessionMemoryForCompact. External packages imported here: fs/promises, path. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/SessionMemory/sessionMemory.ts: Service or integration module. Named exports: resetLastMemoryMessageUuid, shouldExtractMemory, initSessionMemory, ManualExtractionResult, manuallyExtractSessionMemory, createMemoryFileCanUseTool. Environment variables read here: USER_TYPE. External packages imported here: fs/promises, lodash-es/memoize.js. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/SessionMemory/sessionMemoryUtils.ts: Service or integration module. Named exports: SessionMemoryConfig, DEFAULT_SESSION_MEMORY_CONFIG, getLastSummarizedMessageId, setLastSummarizedMessageId, markExtractionStarted, markExtractionCompleted, .... Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/settingsSync/index.ts: Index or entry module for its directory. Named exports: uploadUserSettingsInBackground, _resetDownloadPromiseForTesting, downloadUserSettings, redownloadUserSettings. External packages imported here: axios, bun:bundle, fs/promises, lodash-es/pickBy.js, path. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/settingsSync/types.ts: Service or integration module. Named exports: UserSyncContentSchema, UserSyncDataSchema, UserSyncData, SettingsSyncFetchResult, SettingsSyncUploadResult, SYNC_KEYS. External packages imported here: zod/v4. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/teamMemorySync/index.ts: Index or entry module for its directory. Named exports: SyncState, createSyncState, hashContent, batchDeltaByBytes, isTeamMemorySyncAvailable, pullTeamMemory, .... Environment variables read here: TEAM_MEMORY_SYNC_URL. External packages imported here: axios, crypto, fs/promises, . Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/teamMemorySync/secretScanner.ts: Service or integration module. Named exports: SecretMatch, scanForSecrets, getSecretLabel, redactSecrets. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/teamMemorySync/teamMemSecretGuard.ts: Service or integration module. Named exports: checkTeamMemSecrets. External packages imported here: bun:bundle. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/teamMemorySync/types.ts: Service or integration module. Named exports: TeamMemoryContentSchema, TeamMemoryDataSchema, TeamMemoryTooManyEntriesSchema, TeamMemoryData, SkippedSecretFile, TeamMemorySyncFetchResult, .... External packages imported here: zod/v4. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/teamMemorySync/watcher.ts: Service or integration module. Named exports: isPermanentFailure, startTeamMemoryWatcher, notifyTeamMemoryWrite, stopTeamMemoryWatcher, _resetWatcherStateForTesting, _startFileWatcherForTesting. External packages imported here: bun:bundle, fs, fs/promises, . Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/tips/tipHistory.ts: Service or integration module. Named exports: recordTipShown, getSessionsSinceLastShown. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/tips/tipRegistry.ts: Service or integration module. Named exports: getRelevantTips. Environment variables read here: CLAUDE_CODE_USE_POWERSHELL_TOOL, COLORTERM, USER_TYPE. External packages imported here: chalk. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/tips/tipScheduler.ts: Service or integration module. Named exports: selectTipWithLongestTimeSinceShown, getTipToShowOnSpinner, recordShownTip. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/tokenEstimation.ts: Service or integration module. Named exports: countTokensWithAPI, countMessagesTokensWithAPI, roughTokenCountEstimation, bytesPerTokenForFileType, roughTokenCountEstimationForFileType, countTokensViaHaikuFallback, .... Environment variables read here: CLAUDE_CODE_USE_BEDROCK, CLAUDE_CODE_USE_VERTEX. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/tools/StreamingToolExecutor.ts: Service or integration module. Named exports: StreamingToolExecutor. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/tools/toolExecution.ts: Service or integration module. Named exports: HOOK_TIMING_DISPLAY_THRESHOLD_MS, classifyToolError, MessageUpdateLazy, McpServerType, buildSchemaNotSentHint. Environment variables read here: USER_TYPE. External packages imported here: bun:bundle. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/tools/toolHooks.ts: Service or integration module. Named exports: PostToolUseHooksResult, resolveHookPermissionDecision. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/tools/toolOrchestration.ts: Service or integration module. Named exports: MessageUpdate. Environment variables read here: CLAUDE_CODE_MAX_TOOL_USE_CONCURRENCY. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/toolUseSummary/toolUseSummaryGenerator.ts: Service or integration module. Named exports: GenerateToolUseSummaryParams, generateToolUseSummary. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/vcr.ts: Service or integration module. Named exports: withVCR, withTokenCountVCR. Environment variables read here: CI, CLAUDE_CODE_TEST_FIXTURES_ROOT, FORCE_VCR, NODE_ENV, USER_TYPE, VCR_RECORD. External packages imported here: crypto, fs/promises, , , . Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/voice.ts: Service or integration module. Named exports: _resetArecordProbeForTesting, _resetAlsaCardsForTesting, checkVoiceDependencies, RecordingAvailability, requestMicrophonePermission, checkRecordingAvailability, .... Environment variables read here: CLAUDE_CODE_REMOTE. External packages imported here: child_process, fs/promises. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/voiceKeyterms.ts: Service or integration module. Named exports: splitIdentifier, getVoiceKeyterms. External packages imported here: path. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.
    • services/voiceStreamSTT.ts: Service or integration module. Named exports: FINALIZE_TIMEOUTS_MS, VoiceStreamCallbacks, FinalizeSource, VoiceStreamConnection, isVoiceStreamAvailable, connectVoiceStream. Environment variables read here: VOICE_STREAM_BASE_URL. External packages imported here: ws. Area context: Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more.

    tools

    Model-callable tools, their prompts, UI surfaces, and shared tool helpers. This section covers 184 file(s).

    • tools/AgentTool/agentColorManager.ts: Model-callable tool module or tool helper. Named exports: AgentColorName, AGENT_COLORS, AGENT_COLOR_TO_THEME_COLOR, getAgentColor, setAgentColor. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/AgentTool/agentDisplay.ts: Model-callable tool module or tool helper. Named exports: AgentSourceGroup, AGENT_SOURCE_GROUPS, ResolvedAgent, resolveAgentOverrides, resolveAgentModelDisplay, getOverrideSourceLabel, .... Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/AgentTool/agentMemory.ts: Model-callable tool module or tool helper. Named exports: AgentMemoryScope, getAgentMemoryDir, isAgentMemoryPath, getAgentMemoryEntrypoint, getMemoryScopeDisplay, loadAgentMemoryPrompt. Environment variables read here: CLAUDE_CODE_REMOTE_MEMORY_DIR, CLAUDE_COWORK_MEMORY_EXTRA_GUIDELINES. External packages imported here: path. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/AgentTool/agentMemorySnapshot.ts: Model-callable tool module or tool helper. Named exports: getSnapshotDirForAgent, checkAgentMemorySnapshot, initializeFromSnapshot, replaceFromSnapshot, markSnapshotSynced. External packages imported here: fs/promises, path, zod/v4. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/AgentTool/AgentTool.tsx: Model-callable tool module or tool helper. Named exports: inputSchema, outputSchema, RemoteLaunchedOutput, Progress, AgentTool. Environment variables read here: CLAUDE_AUTO_BACKGROUND_TASKS, CLAUDE_CODE_COORDINATOR_MODE, CLAUDE_CODE_DISABLE_BACKGROUND_TASKS. External packages imported here: bun:bundle, , . Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/AgentTool/agentToolUtils.ts: Model-callable tool module or tool helper. Named exports: ResolvedAgentTools, filterToolsForAgent, resolveAgentTools, agentToolResultSchema, AgentToolResult, countToolUses, .... External packages imported here: bun:bundle, zod/v4. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/AgentTool/built-in/claudeCodeGuideAgent.ts: Model-callable tool module or tool helper. Named exports: CLAUDE_CODE_GUIDE_AGENT_TYPE, CLAUDE_CODE_GUIDE_AGENT. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/AgentTool/built-in/exploreAgent.ts: Model-callable tool module or tool helper. Named exports: EXPLORE_AGENT_MIN_QUERIES, EXPLORE_AGENT. Environment variables read here: USER_TYPE. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/AgentTool/built-in/generalPurposeAgent.ts: Model-callable tool module or tool helper. Named exports: GENERAL_PURPOSE_AGENT. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/AgentTool/built-in/planAgent.ts: Model-callable tool module or tool helper. Named exports: PLAN_AGENT. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/AgentTool/built-in/statuslineSetup.ts: Model-callable tool module or tool helper. Named exports: STATUSLINE_SETUP_AGENT. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/AgentTool/built-in/verificationAgent.ts: Model-callable tool module or tool helper. Named exports: VERIFICATION_AGENT. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/AgentTool/builtInAgents.ts: Model-callable tool module or tool helper. Named exports: areExplorePlanAgentsEnabled, getBuiltInAgents. Environment variables read here: CLAUDE_AGENT_SDK_DISABLE_BUILTIN_AGENTS, CLAUDE_CODE_COORDINATOR_MODE, CLAUDE_CODE_ENTRYPOINT. External packages imported here: bun:bundle. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/AgentTool/constants.ts: Model-callable tool module or tool helper. Named exports: AGENT_TOOL_NAME, LEGACY_AGENT_TOOL_NAME, VERIFICATION_AGENT_TYPE, ONE_SHOT_BUILTIN_AGENT_TYPES. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/AgentTool/forkSubagent.ts: Model-callable tool module or tool helper. Named exports: isForkSubagentEnabled, FORK_SUBAGENT_TYPE, FORK_AGENT, isInForkChild, buildForkedMessages, buildChildMessage, .... External packages imported here: bun:bundle, crypto. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/AgentTool/loadAgentsDir.ts: Model-callable tool module or tool helper. Named exports: AgentMcpServerSpec, BaseAgentDefinition, BuiltInAgentDefinition, CustomAgentDefinition, PluginAgentDefinition, AgentDefinition, .... Environment variables read here: CLAUDE_CODE_SIMPLE, USER_TYPE. External packages imported here: bun:bundle, , , . Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/AgentTool/prompt.ts: Model-callable tool module or tool helper. Named exports: formatAgentLine, shouldInjectAgentListInMessages, getPrompt. Environment variables read here: CLAUDE_CODE_AGENT_LIST_IN_MESSAGES, CLAUDE_CODE_DISABLE_BACKGROUND_TASKS, USER_TYPE. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/AgentTool/resumeAgent.ts: Model-callable tool module or tool helper. Named exports: ResumeAgentResult, resumeAgentBackground. External packages imported here: fs. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/AgentTool/runAgent.ts: Model-callable tool module or tool helper. Named exports: filterIncompleteToolCalls. Environment variables read here: USER_TYPE. External packages imported here: bun:bundle, crypto, lodash-es/uniqBy.js. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/AgentTool/UI.tsx: Model-callable tool module or tool helper. Named exports: AgentPromptDisplay, AgentResponseDisplay, renderToolResultMessage, renderToolUseMessage, renderToolUseTag, renderToolUseProgressMessage, .... External packages imported here: react, react/compiler-runtime. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/AskUserQuestionTool/AskUserQuestionTool.tsx: Model-callable tool module or tool helper. Named exports: _sdkInputSchema, _sdkOutputSchema, Question, QuestionOption, Output, AskUserQuestionTool. External packages imported here: bun:bundle, react, react/compiler-runtime, zod/v4. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/AskUserQuestionTool/prompt.ts: Model-callable tool module or tool helper. Named exports: ASK_USER_QUESTION_TOOL_NAME, ASK_USER_QUESTION_TOOL_CHIP_WIDTH, DESCRIPTION, PREVIEW_FEATURE_PROMPT, ASK_USER_QUESTION_TOOL_PROMPT. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/BashTool/bashCommandHelpers.ts: Model-callable tool module or tool helper. Named exports: CommandIdentityCheckers, checkCommandOperatorPermissions. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/BashTool/bashPermissions.ts: Model-callable tool module or tool helper. Named exports: MAX_SUBCOMMANDS_FOR_SECURITY_CHECK, MAX_SUGGESTED_RULES_FOR_COMPOUND, getSimpleCommandPrefix, getFirstWordPrefix, permissionRuleExtractPrefix, matchWildcardPattern, .... Environment variables read here: CLAUDE_CODE_DISABLE_COMMAND_INJECTION_CHECK, USER_TYPE. External packages imported here: @anthropic-ai/sdk, . Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/BashTool/bashSecurity.ts: Model-callable tool module or tool helper. Named exports: stripSafeHeredocSubstitutions, hasSafeHeredocSubstitution, bashCommandIsSafe_DEPRECATED, bashCommandIsSafeAsync_DEPRECATED. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/BashTool/BashTool.tsx: Model-callable tool module or tool helper. Named exports: isSearchOrReadBashCommand, BashToolInput, Out, detectBlockedSleepPattern, BashTool. Environment variables read here: CLAUDE_CODE_BASH_SANDBOX_SHOW_INDICATOR, CLAUDE_CODE_DISABLE_BACKGROUND_TASKS. External packages imported here: bun:bundle, fs/promises, , . Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/BashTool/BashToolResultMessage.tsx: Model-callable tool module or tool helper. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. External packages imported here: react, react/compiler-runtime. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/BashTool/commandSemantics.ts: Model-callable tool module or tool helper. Named exports: CommandSemantic, interpretCommandResult. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/BashTool/commentLabel.ts: Model-callable tool module or tool helper. Named exports: extractBashCommentLabel. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/BashTool/destructiveCommandWarning.ts: Model-callable tool module or tool helper. Named exports: getDestructiveCommandWarning. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/BashTool/modeValidation.ts: Model-callable tool module or tool helper. Named exports: checkPermissionMode, getAutoAllowedCommands. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/BashTool/pathValidation.ts: Model-callable tool module or tool helper. Named exports: PathCommand, PATH_EXTRACTORS, COMMAND_OPERATION_TYPE, createPathChecker, checkPathConstraints, stripWrappersFromArgv. External packages imported here: os, path. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/BashTool/prompt.ts: Model-callable tool module or tool helper. Named exports: getDefaultTimeoutMs, getMaxTimeoutMs, getSimplePrompt. Environment variables read here: CLAUDE_CODE_DISABLE_BACKGROUND_TASKS, CLAUDE_CODE_SIMPLE, USER_TYPE. External packages imported here: bun:bundle. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/BashTool/readOnlyValidation.ts: Model-callable tool module or tool helper. Named exports: isCommandSafeViaFlagParsing, checkReadOnlyConstraints. Environment variables read here: USER_TYPE. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/BashTool/sedEditParser.ts: Model-callable tool module or tool helper. Named exports: SedEditInfo, isSedInPlaceEdit, parseSedEditCommand, applySedSubstitution. External packages imported here: crypto. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/BashTool/sedValidation.ts: Model-callable tool module or tool helper. Named exports: isLinePrintingCommand, isPrintCommand, sedCommandIsAllowedByAllowlist, hasFileArgs, extractSedExpressions, checkSedConstraints. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/BashTool/shouldUseSandbox.ts: Model-callable tool module or tool helper. Named exports: shouldUseSandbox. Environment variables read here: USER_TYPE. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/BashTool/toolName.ts: Model-callable tool module or tool helper. Named exports: BASH_TOOL_NAME. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/BashTool/UI.tsx: Model-callable tool module or tool helper. Named exports: BackgroundHint, renderToolUseMessage, renderToolUseProgressMessage, renderToolUseQueuedMessage, renderToolResultMessage, renderToolUseErrorMessage. Environment variables read here: CLAUDE_CODE_DISABLE_BACKGROUND_TASKS. External packages imported here: react, react/compiler-runtime. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/BashTool/utils.ts: Model-callable tool module or tool helper. Named exports: stripEmptyLines, isImageOutput, parseDataUri, buildImageToolResult, resizeShellImageOutput, formatOutput, .... External packages imported here: fs/promises. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/BriefTool/attachments.ts: Model-callable tool module or tool helper. Named exports: ResolvedAttachment, validateAttachmentPaths, resolveAttachments. Environment variables read here: CLAUDE_CODE_BRIEF_UPLOAD. External packages imported here: bun:bundle, fs/promises. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/BriefTool/BriefTool.ts: Model-callable tool module or tool helper. Named exports: Output, isBriefEntitled, isBriefEnabled, BriefTool. Environment variables read here: CLAUDE_CODE_BRIEF. External packages imported here: bun:bundle, zod/v4. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/BriefTool/prompt.ts: Model-callable tool module or tool helper. Named exports: BRIEF_TOOL_NAME, LEGACY_BRIEF_TOOL_NAME, DESCRIPTION, BRIEF_TOOL_PROMPT, BRIEF_PROACTIVE_SECTION. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/BriefTool/UI.tsx: Model-callable tool module or tool helper. Named exports: renderToolUseMessage, renderToolResultMessage, AttachmentList. External packages imported here: figures, react, react/compiler-runtime. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/BriefTool/upload.ts: Model-callable tool module or tool helper. Named exports: BriefUploadContext, uploadBriefAttachment. Environment variables read here: ANTHROPIC_BASE_URL. External packages imported here: axios, bun:bundle, crypto, fs/promises, path, .... Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/ConfigTool/ConfigTool.ts: Model-callable tool module or tool helper. Named exports: Input, Output, ConfigTool. External packages imported here: bun:bundle, zod/v4. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/ConfigTool/constants.ts: Model-callable tool module or tool helper. Named exports: CONFIG_TOOL_NAME. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/ConfigTool/prompt.ts: Model-callable tool module or tool helper. Named exports: DESCRIPTION, generatePrompt. External packages imported here: bun:bundle. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/ConfigTool/supportedSettings.ts: Model-callable tool module or tool helper. Named exports: SUPPORTED_SETTINGS, isSupported, getConfig, getAllKeys, getOptionsForSetting, getPath. Environment variables read here: USER_TYPE. External packages imported here: bun:bundle. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/ConfigTool/UI.tsx: Model-callable tool module or tool helper. Named exports: renderToolUseMessage, renderToolResultMessage, renderToolUseRejectedMessage. External packages imported here: react. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/EnterPlanModeTool/constants.ts: Model-callable tool module or tool helper. Named exports: ENTER_PLAN_MODE_TOOL_NAME. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/EnterPlanModeTool/EnterPlanModeTool.ts: Model-callable tool module or tool helper. Named exports: Output, EnterPlanModeTool. External packages imported here: bun:bundle, zod/v4. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/EnterPlanModeTool/prompt.ts: Model-callable tool module or tool helper. Named exports: getEnterPlanModeToolPrompt. Environment variables read here: USER_TYPE. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/EnterPlanModeTool/UI.tsx: Model-callable tool module or tool helper. Named exports: renderToolUseMessage, renderToolResultMessage, renderToolUseRejectedMessage. External packages imported here: react. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/EnterWorktreeTool/constants.ts: Model-callable tool module or tool helper. Named exports: ENTER_WORKTREE_TOOL_NAME. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/EnterWorktreeTool/EnterWorktreeTool.ts: Model-callable tool module or tool helper. Named exports: Output, EnterWorktreeTool. External packages imported here: zod/v4. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/EnterWorktreeTool/prompt.ts: Model-callable tool module or tool helper. Named exports: getEnterWorktreeToolPrompt. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/EnterWorktreeTool/UI.tsx: Model-callable tool module or tool helper. Named exports: renderToolUseMessage, renderToolResultMessage. External packages imported here: react. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/ExitPlanModeTool/constants.ts: Model-callable tool module or tool helper. Named exports: EXIT_PLAN_MODE_TOOL_NAME, EXIT_PLAN_MODE_V2_TOOL_NAME. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/ExitPlanModeTool/ExitPlanModeV2Tool.ts: Model-callable tool module or tool helper. Named exports: AllowedPrompt, _sdkInputSchema, outputSchema, Output, ExitPlanModeV2Tool. External packages imported here: bun:bundle, fs/promises, zod/v4. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/ExitPlanModeTool/prompt.ts: Model-callable tool module or tool helper. Named exports: EXIT_PLAN_MODE_V2_TOOL_PROMPT. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/ExitPlanModeTool/UI.tsx: Model-callable tool module or tool helper. Named exports: renderToolUseMessage, renderToolResultMessage, renderToolUseRejectedMessage. External packages imported here: react. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/ExitWorktreeTool/constants.ts: Model-callable tool module or tool helper. Named exports: EXIT_WORKTREE_TOOL_NAME. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/ExitWorktreeTool/ExitWorktreeTool.ts: Model-callable tool module or tool helper. Named exports: Output, ExitWorktreeTool. External packages imported here: zod/v4. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/ExitWorktreeTool/prompt.ts: Model-callable tool module or tool helper. Named exports: getExitWorktreeToolPrompt. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/ExitWorktreeTool/UI.tsx: Model-callable tool module or tool helper. Named exports: renderToolUseMessage, renderToolResultMessage. External packages imported here: react. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/FileEditTool/constants.ts: Model-callable tool module or tool helper. Named exports: FILE_EDIT_TOOL_NAME, CLAUDE_FOLDER_PERMISSION_PATTERN, GLOBAL_CLAUDE_FOLDER_PERMISSION_PATTERN, FILE_UNEXPECTEDLY_MODIFIED_ERROR. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/FileEditTool/FileEditTool.ts: Model-callable tool module or tool helper. Named exports: FileEditTool. Environment variables read here: CLAUDE_CODE_REMOTE, CLAUDE_CODE_SIMPLE. External packages imported here: path. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/FileEditTool/prompt.ts: Model-callable tool module or tool helper. Named exports: getEditToolDescription. Environment variables read here: USER_TYPE. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/FileEditTool/types.ts: Model-callable tool module or tool helper. Named exports: FileEditInput, EditInput, FileEdit, hunkSchema, gitDiffSchema, FileEditOutput. External packages imported here: zod/v4. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/FileEditTool/UI.tsx: Model-callable tool module or tool helper. Named exports: userFacingName, getToolUseSummary, renderToolUseMessage, renderToolResultMessage, renderToolUseRejectedMessage, renderToolUseErrorMessage. External packages imported here: react, react/compiler-runtime. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/FileEditTool/utils.ts: Model-callable tool module or tool helper. Named exports: LEFT_SINGLE_CURLY_QUOTE, RIGHT_SINGLE_CURLY_QUOTE, LEFT_DOUBLE_CURLY_QUOTE, RIGHT_DOUBLE_CURLY_QUOTE, normalizeQuotes, stripTrailingWhitespace, .... External packages imported here: diff. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/FileReadTool/FileReadTool.ts: Model-callable tool module or tool helper. Named exports: registerFileReadListener, MaxFileReadTokenExceededError, Input, Output, FileReadTool, CYBER_RISK_MITIGATION_REMINDER, .... Environment variables read here: CLAUDE_CODE_SIMPLE. External packages imported here: fs/promises, path, . Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/FileReadTool/imageProcessor.ts: Model-callable tool module or tool helper. Named exports: SharpInstance, SharpFunction, getImageProcessor, getImageCreator. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/FileReadTool/limits.ts: Model-callable tool module or tool helper. Named exports: DEFAULT_MAX_OUTPUT_TOKENS, FileReadingLimits, getDefaultFileReadingLimits. Environment variables read here: CLAUDE_CODE_FILE_READ_MAX_OUTPUT_TOKENS. External packages imported here: lodash-es/memoize.js. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/FileReadTool/prompt.ts: Model-callable tool module or tool helper. Named exports: FILE_READ_TOOL_NAME, FILE_UNCHANGED_STUB, MAX_LINES_TO_READ, DESCRIPTION, LINE_FORMAT_INSTRUCTION, OFFSET_INSTRUCTION_DEFAULT, .... Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/FileReadTool/UI.tsx: Model-callable tool module or tool helper. Named exports: renderToolUseMessage, renderToolUseTag, renderToolResultMessage, renderToolUseErrorMessage, userFacingName, getToolUseSummary. External packages imported here: react. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/FileWriteTool/FileWriteTool.ts: Model-callable tool module or tool helper. Named exports: Output, FileWriteToolInput, FileWriteTool. Environment variables read here: CLAUDE_CODE_REMOTE. External packages imported here: path, zod/v4. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/FileWriteTool/prompt.ts: Model-callable tool module or tool helper. Named exports: FILE_WRITE_TOOL_NAME, DESCRIPTION, getWriteToolDescription. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/FileWriteTool/UI.tsx: Model-callable tool module or tool helper. Named exports: countLines, userFacingName, isResultTruncated, getToolUseSummary, renderToolUseMessage, renderToolUseRejectedMessage, .... External packages imported here: path, react, react/compiler-runtime. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/GlobTool/GlobTool.ts: Model-callable tool module or tool helper. Named exports: Output, GlobTool. External packages imported here: zod/v4. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/GlobTool/prompt.ts: Model-callable tool module or tool helper. Named exports: GLOB_TOOL_NAME, DESCRIPTION. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/GlobTool/UI.tsx: Model-callable tool module or tool helper. Named exports: userFacingName, renderToolUseMessage, renderToolUseErrorMessage, renderToolResultMessage, getToolUseSummary. External packages imported here: react. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/GrepTool/GrepTool.ts: Model-callable tool module or tool helper. Named exports: GrepTool. Environment variables read here: NODE_ENV. External packages imported here: zod/v4. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/GrepTool/prompt.ts: Model-callable tool module or tool helper. Named exports: GREP_TOOL_NAME, getDescription. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/GrepTool/UI.tsx: Model-callable tool module or tool helper. Named exports: renderToolUseMessage, renderToolUseErrorMessage, renderToolResultMessage, getToolUseSummary. External packages imported here: react, react/compiler-runtime. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/ListMcpResourcesTool/ListMcpResourcesTool.ts: Model-callable tool module or tool helper. Named exports: Output, ListMcpResourcesTool. External packages imported here: zod/v4. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/ListMcpResourcesTool/prompt.ts: Model-callable tool module or tool helper. Named exports: LIST_MCP_RESOURCES_TOOL_NAME, DESCRIPTION, PROMPT. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/ListMcpResourcesTool/UI.tsx: Model-callable tool module or tool helper. Named exports: renderToolUseMessage, renderToolResultMessage. External packages imported here: react. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/LSPTool/formatters.ts: Model-callable tool module or tool helper. Named exports: formatGoToDefinitionResult, formatFindReferencesResult, formatHoverResult, formatDocumentSymbolResult, formatWorkspaceSymbolResult, formatPrepareCallHierarchyResult, .... External packages imported here: path. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/LSPTool/LSPTool.ts: Model-callable tool module or tool helper. Named exports: Output, Input, LSPTool. External packages imported here: fs/promises, path, url, zod/v4. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/LSPTool/prompt.ts: Model-callable tool module or tool helper. Named exports: LSP_TOOL_NAME, DESCRIPTION. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/LSPTool/schemas.ts: Model-callable tool module or tool helper. Named exports: lspToolInputSchema, LSPToolInput, isValidLSPOperation. External packages imported here: zod/v4. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/LSPTool/symbolContext.ts: Model-callable tool module or tool helper. Named exports: getSymbolAtPosition. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/LSPTool/UI.tsx: Model-callable tool module or tool helper. Named exports: userFacingName, renderToolUseMessage, renderToolUseErrorMessage, renderToolResultMessage. External packages imported here: react, react/compiler-runtime. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/McpAuthTool/McpAuthTool.ts: Model-callable tool module or tool helper. Named exports: McpAuthOutput, createMcpAuthTool. External packages imported here: lodash-es/reject.js, zod/v4. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/MCPTool/classifyForCollapse.ts: Model-callable tool module or tool helper. Named exports: classifyMcpToolForCollapse. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/MCPTool/MCPTool.ts: Model-callable tool module or tool helper. Named exports: inputSchema, outputSchema, Output, MCPTool. External packages imported here: zod/v4. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/MCPTool/prompt.ts: Model-callable tool module or tool helper. Named exports: PROMPT, DESCRIPTION. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/MCPTool/UI.tsx: Model-callable tool module or tool helper. Named exports: renderToolUseMessage, renderToolUseProgressMessage, renderToolResultMessage, tryFlattenJson, tryUnwrapTextPayload, trySlackSendCompact. External packages imported here: bun:bundle, figures, react, react/compiler-runtime. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/NotebookEditTool/constants.ts: Model-callable tool module or tool helper. Named exports: NOTEBOOK_EDIT_TOOL_NAME. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/NotebookEditTool/NotebookEditTool.ts: Model-callable tool module or tool helper. Named exports: inputSchema, outputSchema, Output, NotebookEditTool. External packages imported here: bun:bundle, path, zod/v4. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/NotebookEditTool/prompt.ts: Model-callable tool module or tool helper. Named exports: DESCRIPTION, PROMPT. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/NotebookEditTool/UI.tsx: Model-callable tool module or tool helper. Named exports: getToolUseSummary, renderToolUseMessage, renderToolUseRejectedMessage, renderToolUseErrorMessage, renderToolResultMessage. External packages imported here: react. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/PowerShellTool/clmTypes.ts: Model-callable tool module or tool helper. Named exports: CLM_ALLOWED_TYPES, normalizeTypeName, isClmAllowedType. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/PowerShellTool/commandSemantics.ts: Model-callable tool module or tool helper. Named exports: CommandSemantic, interpretCommandResult. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/PowerShellTool/commonParameters.ts: Model-callable tool module or tool helper. Named exports: COMMON_SWITCHES, COMMON_VALUE_PARAMS, COMMON_PARAMETERS. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/PowerShellTool/destructiveCommandWarning.ts: Model-callable tool module or tool helper. Named exports: getDestructiveCommandWarning. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/PowerShellTool/gitSafety.ts: Model-callable tool module or tool helper. Named exports: isGitInternalPathPS, isDotGitPathPS. External packages imported here: path. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/PowerShellTool/modeValidation.ts: Model-callable tool module or tool helper. Named exports: isSymlinkCreatingCommand, checkPermissionMode. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/PowerShellTool/pathValidation.ts: Model-callable tool module or tool helper. Named exports: isDangerousRemovalRawPath, dangerousRemovalDeny, checkPathConstraints. External packages imported here: os, path. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/PowerShellTool/powershellPermissions.ts: Model-callable tool module or tool helper. Named exports: powershellPermissionRule, powershellToolCheckExactMatchPermission, powershellToolCheckPermission, powershellToolHasPermission. External packages imported here: path. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/PowerShellTool/powershellSecurity.ts: Model-callable tool module or tool helper. Named exports: powershellCommandIsSafe. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/PowerShellTool/PowerShellTool.tsx: Model-callable tool module or tool helper. Named exports: detectBlockedSleepPattern, PowerShellToolInput, Out, PowerShellTool. Environment variables read here: CLAUDE_CODE_DISABLE_BACKGROUND_TASKS. External packages imported here: bun:bundle, fs/promises, react, zod/v4. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/PowerShellTool/prompt.ts: Model-callable tool module or tool helper. Named exports: getDefaultTimeoutMs, getMaxTimeoutMs, getPrompt. Environment variables read here: CLAUDE_CODE_DISABLE_BACKGROUND_TASKS. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/PowerShellTool/readOnlyValidation.ts: Model-callable tool module or tool helper. Named exports: argLeaksValue, CMDLET_ALLOWLIST, resolveToCanonical, isCwdChangingCmdlet, isSafeOutputCommand, isAllowlistedPipelineTail, .... Environment variables read here: USER_TYPE. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/PowerShellTool/toolName.ts: Model-callable tool module or tool helper. Named exports: POWERSHELL_TOOL_NAME. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/PowerShellTool/UI.tsx: Model-callable tool module or tool helper. Named exports: renderToolUseMessage, renderToolUseProgressMessage, renderToolUseQueuedMessage, renderToolResultMessage, renderToolUseErrorMessage. External packages imported here: react. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/ReadMcpResourceTool/prompt.ts: Model-callable tool module or tool helper. Named exports: DESCRIPTION, PROMPT. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/ReadMcpResourceTool/ReadMcpResourceTool.ts: Model-callable tool module or tool helper. Named exports: inputSchema, outputSchema, Output, ReadMcpResourceTool. External packages imported here: @modelcontextprotocol/sdk/types.js, zod/v4. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/ReadMcpResourceTool/UI.tsx: Model-callable tool module or tool helper. Named exports: renderToolUseMessage, userFacingName, renderToolResultMessage. External packages imported here: react. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/RemoteTriggerTool/prompt.ts: Model-callable tool module or tool helper. Named exports: REMOTE_TRIGGER_TOOL_NAME, DESCRIPTION, PROMPT. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/RemoteTriggerTool/RemoteTriggerTool.ts: Model-callable tool module or tool helper. Named exports: Input, Output, RemoteTriggerTool. External packages imported here: axios, zod/v4. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/RemoteTriggerTool/UI.tsx: Model-callable tool module or tool helper. Named exports: renderToolUseMessage, renderToolResultMessage. External packages imported here: react. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/REPLTool/constants.ts: Model-callable tool module or tool helper. Named exports: REPL_TOOL_NAME, isReplModeEnabled, REPL_ONLY_TOOLS. Environment variables read here: CLAUDE_CODE_ENTRYPOINT, CLAUDE_CODE_REPL, CLAUDE_REPL_MODE, USER_TYPE. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/REPLTool/primitiveTools.ts: Model-callable tool module or tool helper. Named exports: getReplPrimitiveTools. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/ScheduleCronTool/CronCreateTool.ts: Model-callable tool module or tool helper. Named exports: CreateOutput, CronCreateTool. External packages imported here: zod/v4. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/ScheduleCronTool/CronDeleteTool.ts: Model-callable tool module or tool helper. Named exports: DeleteOutput, CronDeleteTool. External packages imported here: zod/v4. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/ScheduleCronTool/CronListTool.ts: Model-callable tool module or tool helper. Named exports: ListOutput, CronListTool. External packages imported here: zod/v4. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/ScheduleCronTool/prompt.ts: Model-callable tool module or tool helper. Named exports: DEFAULT_MAX_AGE_DAYS, isKairosCronEnabled, isDurableCronEnabled, CRON_CREATE_TOOL_NAME, CRON_DELETE_TOOL_NAME, CRON_LIST_TOOL_NAME, .... Environment variables read here: CLAUDE_CODE_DISABLE_CRON. External packages imported here: bun:bundle. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/ScheduleCronTool/UI.tsx: Model-callable tool module or tool helper. Named exports: renderCreateToolUseMessage, renderCreateResultMessage, renderDeleteToolUseMessage, renderDeleteResultMessage, renderListToolUseMessage, renderListResultMessage. External packages imported here: react. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/SendMessageTool/constants.ts: Model-callable tool module or tool helper. Named exports: SEND_MESSAGE_TOOL_NAME. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/SendMessageTool/prompt.ts: Model-callable tool module or tool helper. Named exports: DESCRIPTION, getPrompt. External packages imported here: bun:bundle. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/SendMessageTool/SendMessageTool.ts: Model-callable tool module or tool helper. Named exports: Input, MessageRouting, MessageOutput, BroadcastOutput, RequestOutput, ResponseOutput, .... External packages imported here: bun:bundle, zod/v4. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/SendMessageTool/UI.tsx: Model-callable tool module or tool helper. Named exports: renderToolUseMessage, renderToolResultMessage. External packages imported here: react. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/shared/gitOperationTracking.ts: Model-callable tool module or tool helper. Named exports: CommitKind, BranchAction, PrAction, parseGitCommitId, detectGitOperation, trackGitOperations. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/shared/spawnMultiAgent.ts: Model-callable tool module or tool helper. Named exports: resolveTeammateModel, SpawnOutput, SpawnTeammateConfig, generateUniqueTeammateName, spawnTeammate. External packages imported here: react. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/SkillTool/constants.ts: Model-callable tool module or tool helper. Named exports: SKILL_TOOL_NAME. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/SkillTool/prompt.ts: Model-callable tool module or tool helper. Named exports: SKILL_BUDGET_CONTEXT_PERCENT, CHARS_PER_TOKEN, DEFAULT_CHAR_BUDGET, MAX_LISTING_DESC_CHARS, getCharBudget, formatCommandsWithinBudget, .... Environment variables read here: SLASH_COMMAND_TOOL_CHAR_BUDGET, USER_TYPE. External packages imported here: lodash-es. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/SkillTool/SkillTool.ts: Model-callable tool module or tool helper. Named exports: inputSchema, outputSchema, Output, SkillTool. Environment variables read here: USER_TYPE. External packages imported here: bun:bundle, lodash-es/uniqBy.js, path, zod/v4. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/SkillTool/UI.tsx: Model-callable tool module or tool helper. Named exports: renderToolResultMessage, renderToolUseMessage, renderToolUseProgressMessage, renderToolUseRejectedMessage, renderToolUseErrorMessage. External packages imported here: react. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/SleepTool/prompt.ts: Model-callable tool module or tool helper. Named exports: SLEEP_TOOL_NAME, DESCRIPTION, SLEEP_TOOL_PROMPT. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/SyntheticOutputTool/SyntheticOutputTool.ts: Model-callable tool module or tool helper. Named exports: Output, SYNTHETIC_OUTPUT_TOOL_NAME, isSyntheticOutputToolEnabled, SyntheticOutputTool, createSyntheticOutputTool. External packages imported here: ajv, zod/v4. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/TaskCreateTool/constants.ts: Model-callable tool module or tool helper. Named exports: TASK_CREATE_TOOL_NAME. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/TaskCreateTool/prompt.ts: Model-callable tool module or tool helper. Named exports: DESCRIPTION, getPrompt. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/TaskCreateTool/TaskCreateTool.ts: Model-callable tool module or tool helper. Named exports: Output, TaskCreateTool. External packages imported here: zod/v4. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/TaskGetTool/constants.ts: Model-callable tool module or tool helper. Named exports: TASK_GET_TOOL_NAME. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/TaskGetTool/prompt.ts: Model-callable tool module or tool helper. Named exports: DESCRIPTION, PROMPT. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/TaskGetTool/TaskGetTool.ts: Model-callable tool module or tool helper. Named exports: Output, TaskGetTool. External packages imported here: zod/v4. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/TaskListTool/constants.ts: Model-callable tool module or tool helper. Named exports: TASK_LIST_TOOL_NAME. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/TaskListTool/prompt.ts: Model-callable tool module or tool helper. Named exports: DESCRIPTION, getPrompt. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/TaskListTool/TaskListTool.ts: Model-callable tool module or tool helper. Named exports: Output, TaskListTool. External packages imported here: zod/v4. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/TaskOutputTool/constants.ts: Model-callable tool module or tool helper. Named exports: TASK_OUTPUT_TOOL_NAME. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/TaskOutputTool/TaskOutputTool.tsx: Model-callable tool module or tool helper. Named exports: TaskOutputTool. External packages imported here: react, react/compiler-runtime, zod/v4. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/TaskStopTool/prompt.ts: Model-callable tool module or tool helper. Named exports: TASK_STOP_TOOL_NAME, DESCRIPTION. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/TaskStopTool/TaskStopTool.ts: Model-callable tool module or tool helper. Named exports: Output, TaskStopTool. Environment variables read here: USER_TYPE. External packages imported here: zod/v4. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/TaskStopTool/UI.tsx: Model-callable tool module or tool helper. Named exports: renderToolUseMessage, renderToolResultMessage. External packages imported here: react. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/TaskUpdateTool/constants.ts: Model-callable tool module or tool helper. Named exports: TASK_UPDATE_TOOL_NAME. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/TaskUpdateTool/prompt.ts: Model-callable tool module or tool helper. Named exports: DESCRIPTION, PROMPT. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/TaskUpdateTool/TaskUpdateTool.ts: Model-callable tool module or tool helper. Named exports: Output, TaskUpdateTool. External packages imported here: bun:bundle, zod/v4. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/TeamCreateTool/constants.ts: Model-callable tool module or tool helper. Named exports: TEAM_CREATE_TOOL_NAME. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/TeamCreateTool/prompt.ts: Model-callable tool module or tool helper. Named exports: getPrompt. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/TeamCreateTool/TeamCreateTool.ts: Model-callable tool module or tool helper. Named exports: Output, Input, TeamCreateTool. External packages imported here: zod/v4. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/TeamCreateTool/UI.tsx: Model-callable tool module or tool helper. Named exports: renderToolUseMessage. External packages imported here: react. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/TeamDeleteTool/constants.ts: Model-callable tool module or tool helper. Named exports: TEAM_DELETE_TOOL_NAME. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/TeamDeleteTool/prompt.ts: Model-callable tool module or tool helper. Named exports: getPrompt. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/TeamDeleteTool/TeamDeleteTool.ts: Model-callable tool module or tool helper. Named exports: Output, Input, TeamDeleteTool. External packages imported here: zod/v4. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/TeamDeleteTool/UI.tsx: Model-callable tool module or tool helper. Named exports: renderToolUseMessage, renderToolResultMessage. External packages imported here: react. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/testing/TestingPermissionTool.tsx: Model-callable tool module or tool helper. Named exports: TestingPermissionTool. External packages imported here: zod/v4. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/TodoWriteTool/constants.ts: Model-callable tool module or tool helper. Named exports: TODO_WRITE_TOOL_NAME. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/TodoWriteTool/prompt.ts: Model-callable tool module or tool helper. Named exports: PROMPT, DESCRIPTION. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/TodoWriteTool/TodoWriteTool.ts: Model-callable tool module or tool helper. Named exports: Output, TodoWriteTool. External packages imported here: bun:bundle, zod/v4. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/ToolSearchTool/constants.ts: Model-callable tool module or tool helper. Named exports: TOOL_SEARCH_TOOL_NAME. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/ToolSearchTool/prompt.ts: Model-callable tool module or tool helper. Named exports: isDeferredTool, formatDeferredToolLine, getPrompt. Environment variables read here: USER_TYPE. External packages imported here: bun:bundle. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/ToolSearchTool/ToolSearchTool.ts: Model-callable tool module or tool helper. Named exports: inputSchema, outputSchema, Output, clearToolSearchDescriptionCache, ToolSearchTool. External packages imported here: lodash-es/memoize.js, zod/v4. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/utils.ts: Model-callable tool module or tool helper. Named exports: tagMessagesWithToolUseID, getToolUseIDFromParentMessage. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/WebFetchTool/preapproved.ts: Model-callable tool module or tool helper. Named exports: PREAPPROVED_HOSTS, isPreapprovedHost. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/WebFetchTool/prompt.ts: Model-callable tool module or tool helper. Named exports: WEB_FETCH_TOOL_NAME, DESCRIPTION, makeSecondaryModelPrompt. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/WebFetchTool/UI.tsx: Model-callable tool module or tool helper. Named exports: renderToolUseMessage, renderToolUseProgressMessage, renderToolResultMessage, getToolUseSummary. External packages imported here: react. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/WebFetchTool/utils.ts: Model-callable tool module or tool helper. Named exports: clearWebFetchCache, MAX_MARKDOWN_LENGTH, isPreapprovedUrl, validateURL, checkDomainBlocklist, isPermittedRedirect, .... Environment variables read here: USER_TYPE. External packages imported here: axios, lru-cache. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/WebFetchTool/WebFetchTool.ts: Model-callable tool module or tool helper. Named exports: Output, WebFetchTool. External packages imported here: zod/v4. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/WebSearchTool/prompt.ts: Model-callable tool module or tool helper. Named exports: WEB_SEARCH_TOOL_NAME, getWebSearchPrompt. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/WebSearchTool/UI.tsx: Model-callable tool module or tool helper. Named exports: renderToolUseMessage, renderToolUseProgressMessage, renderToolResultMessage, getToolUseSummary. External packages imported here: react. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.
    • tools/WebSearchTool/WebSearchTool.ts: Model-callable tool module or tool helper. Named exports: SearchResult, Output, WebSearchTool. External packages imported here: zod/v4. Area context: Model-callable tools, their prompts, UI surfaces, and shared tool helpers.

    tasks

    Background, local, and remote task state models and task implementations. This section covers 12 file(s).

    • tasks/DreamTask/DreamTask.ts: Module under tasks. Named exports: DreamTurn, DreamPhase, DreamTaskState, isDreamTask, registerDreamTask, addDreamTurn, .... Area context: Background, local, and remote task state models and task implementations.
    • tasks/InProcessTeammateTask/InProcessTeammateTask.tsx: UI component module. Named exports: InProcessTeammateTask, requestTeammateShutdown, appendTeammateMessage, injectUserMessageToTeammate, findTeammateTaskByAgentId, getAllInProcessTeammateTasks, .... Area context: Background, local, and remote task state models and task implementations.
    • tasks/InProcessTeammateTask/types.ts: Module under tasks. Named exports: TeammateIdentity, InProcessTeammateTaskState, isInProcessTeammateTask, TEAMMATE_MESSAGES_UI_CAP, appendCappedMessage. Area context: Background, local, and remote task state models and task implementations.
    • tasks/LocalAgentTask/LocalAgentTask.tsx: UI component module. Named exports: ToolActivity, AgentProgress, ProgressTracker, createProgressTracker, getTokenCountFromTracker, ActivityDescriptionResolver, .... Area context: Background, local, and remote task state models and task implementations.
    • tasks/LocalMainSessionTask.ts: Module under tasks. Named exports: LocalMainSessionTaskState, registerMainSessionTask, completeMainSessionTask, foregroundMainSessionTask, isMainSessionTask, startBackgroundSession. External packages imported here: crypto. Area context: Background, local, and remote task state models and task implementations.
    • tasks/LocalShellTask/guards.ts: Module under tasks. Named exports: BashTaskKind, LocalShellTaskState, isLocalShellTask. Area context: Background, local, and remote task state models and task implementations.
    • tasks/LocalShellTask/killShellTasks.ts: Module under tasks. Named exports: killTask, killShellTasksForAgent. Area context: Background, local, and remote task state models and task implementations.
    • tasks/LocalShellTask/LocalShellTask.tsx: UI component module. Named exports: BACKGROUND_BASH_SUMMARY_PREFIX, looksLikePrompt, LocalShellTask, spawnShellTask, registerForeground, hasForegroundTasks, .... External packages imported here: bun:bundle, fs/promises. Area context: Background, local, and remote task state models and task implementations.
    • tasks/pillLabel.ts: Module under tasks. Named exports: getPillLabel, pillNeedsCta. Area context: Background, local, and remote task state models and task implementations.
    • tasks/RemoteAgentTask/RemoteAgentTask.tsx: UI component module. Named exports: RemoteAgentTaskState, RemoteTaskType, AutofixPrRemoteTaskMetadata, RemoteTaskMetadata, RemoteTaskCompletionChecker, registerCompletionChecker, .... Environment variables read here: SESSION_INGRESS_URL. Area context: Background, local, and remote task state models and task implementations.
    • tasks/stopTask.ts: Module under tasks. Named exports: StopTaskError, stopTask. Area context: Background, local, and remote task state models and task implementations.
    • tasks/types.ts: Module under tasks. Named exports: TaskState, BackgroundTaskState, isBackgroundTask. Area context: Background, local, and remote task state models and task implementations.

    remote

    Remote session viewer and manager pieces for CCR-backed sessions. This section covers 4 file(s).

    • remote/remotePermissionBridge.ts: Remote session or bridge module. Named exports: createSyntheticAssistantMessage, createToolStub. External packages imported here: crypto. Area context: Remote session viewer and manager pieces for CCR-backed sessions.
    • remote/RemoteSessionManager.ts: Remote session or bridge module. Named exports: RemotePermissionResponse, RemoteSessionConfig, RemoteSessionCallbacks, RemoteSessionManager, createRemoteSessionConfig. Area context: Remote session viewer and manager pieces for CCR-backed sessions.
    • remote/sdkMessageAdapter.ts: Remote session or bridge module. Named exports: ConvertedMessage, convertSDKMessage, isSessionEndMessage, isSuccessResult, getResultText. Area context: Remote session viewer and manager pieces for CCR-backed sessions.
    • remote/SessionsWebSocket.ts: Remote session or bridge module. Named exports: SessionsWebSocketCallbacks, SessionsWebSocket. External packages imported here: crypto. Area context: Remote session viewer and manager pieces for CCR-backed sessions.

    bridge

    Remote-control and CCR bridge transport, polling, adapters, permission callbacks, and session registration. This section covers 31 file(s).

    • bridge/bridgeApi.ts: Remote session or bridge module. Named exports: validateBridgeId, BridgeFatalError, createBridgeApiClient, isExpiredErrorType, isSuppressible403. External packages imported here: axios. Area context: Remote-control and CCR bridge transport, polling, adapters, permission callbacks, and session registration.
    • bridge/bridgeConfig.ts: Remote session or bridge module. Named exports: getBridgeTokenOverride, getBridgeBaseUrlOverride, getBridgeAccessToken, getBridgeBaseUrl. Environment variables read here: CLAUDE_BRIDGE_BASE_URL, CLAUDE_BRIDGE_OAUTH_TOKEN, USER_TYPE. Area context: Remote-control and CCR bridge transport, polling, adapters, permission callbacks, and session registration.
    • bridge/bridgeDebug.ts: Remote session or bridge module. Named exports: BridgeDebugHandle, registerBridgeDebugHandle, clearBridgeDebugHandle, getBridgeDebugHandle, injectBridgeFault, wrapApiForFaultInjection. Area context: Remote-control and CCR bridge transport, polling, adapters, permission callbacks, and session registration.
    • bridge/bridgeEnabled.ts: Remote session or bridge module. Named exports: isBridgeEnabled, isBridgeEnabledBlocking, getBridgeDisabledReason, isEnvLessBridgeEnabled, isCseShimEnabled, checkBridgeMinVersion, .... Environment variables read here: CLAUDE_CODE_CCR_MIRROR. External packages imported here: bun:bundle. Area context: Remote-control and CCR bridge transport, polling, adapters, permission callbacks, and session registration.
    • bridge/bridgeMain.ts: Remote session or bridge module. Named exports: BackoffConfig, runBridgeLoop, isConnectionError, isServerError, ParsedArgs, parseArgs, .... Environment variables read here: CLAUDE_BRIDGE_SESSION_INGRESS_URL, CLAUDE_BRIDGE_USE_CCR_V2, USER_TYPE. External packages imported here: , , , . Area context: Remote-control and CCR bridge transport, polling, adapters, permission callbacks, and session registration.
    • bridge/bridgeMessaging.ts: Remote session or bridge module. Named exports: isSDKMessage, isSDKControlResponse, isSDKControlRequest, isEligibleBridgeMessage, extractTitleText, handleIngressMessage, .... External packages imported here: crypto. Area context: Remote-control and CCR bridge transport, polling, adapters, permission callbacks, and session registration.
    • bridge/bridgePermissionCallbacks.ts: Remote session or bridge module. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Remote-control and CCR bridge transport, polling, adapters, permission callbacks, and session registration.
    • bridge/bridgePointer.ts: Remote session or bridge module. Named exports: BRIDGE_POINTER_TTL_MS, BridgePointer, getBridgePointerPath, writeBridgePointer, readBridgePointer, readBridgePointerAcrossWorktrees, .... External packages imported here: fs/promises, path, zod/v4. Area context: Remote-control and CCR bridge transport, polling, adapters, permission callbacks, and session registration.
    • bridge/bridgeStatusUtil.ts: Remote session or bridge module. Named exports: StatusState, TOOL_DISPLAY_EXPIRY_MS, SHIMMER_INTERVAL_MS, timestamp, abbreviateActivity, buildBridgeConnectUrl, .... Area context: Remote-control and CCR bridge transport, polling, adapters, permission callbacks, and session registration.
    • bridge/bridgeUI.ts: Remote session or bridge module. Named exports: createBridgeLogger. Environment variables read here: USER_TYPE. External packages imported here: chalk, qrcode. Area context: Remote-control and CCR bridge transport, polling, adapters, permission callbacks, and session registration.
    • bridge/capacityWake.ts: Remote session or bridge module. Named exports: CapacitySignal, CapacityWake, createCapacityWake. Area context: Remote-control and CCR bridge transport, polling, adapters, permission callbacks, and session registration.
    • bridge/codeSessionApi.ts: Remote session or bridge module. Named exports: createCodeSession, RemoteCredentials, fetchRemoteCredentials. External packages imported here: axios. Area context: Remote-control and CCR bridge transport, polling, adapters, permission callbacks, and session registration.
    • bridge/createSession.ts: Remote session or bridge module. Named exports: createBridgeSession, getBridgeSession, archiveBridgeSession, updateBridgeSessionTitle. Area context: Remote-control and CCR bridge transport, polling, adapters, permission callbacks, and session registration.
    • bridge/debugUtils.ts: Remote session or bridge module. Named exports: redactSecrets, debugTruncate, debugBody, describeAxiosError, extractHttpStatus, extractErrorDetail, .... Area context: Remote-control and CCR bridge transport, polling, adapters, permission callbacks, and session registration.
    • bridge/envLessBridgeConfig.ts: Remote session or bridge module. Named exports: EnvLessBridgeConfig, DEFAULT_ENV_LESS_BRIDGE_CONFIG, getEnvLessBridgeConfig, checkEnvLessBridgeMinVersion, shouldShowAppUpgradeMessage. External packages imported here: zod/v4. Area context: Remote-control and CCR bridge transport, polling, adapters, permission callbacks, and session registration.
    • bridge/flushGate.ts: Remote session or bridge module. Named exports: FlushGate. Area context: Remote-control and CCR bridge transport, polling, adapters, permission callbacks, and session registration.
    • bridge/inboundAttachments.ts: Remote session or bridge module. Named exports: InboundAttachment, extractInboundAttachments, resolveInboundAttachments, prependPathRefs, resolveAndPrepend. External packages imported here: axios, crypto, fs/promises, path, zod/v4. Area context: Remote-control and CCR bridge transport, polling, adapters, permission callbacks, and session registration.
    • bridge/inboundMessages.ts: Remote session or bridge module. Named exports: extractInboundMessageFields, normalizeImageBlocks. Area context: Remote-control and CCR bridge transport, polling, adapters, permission callbacks, and session registration.
    • bridge/initReplBridge.ts: Remote session or bridge module. Named exports: InitBridgeOptions, initReplBridge. Environment variables read here: CLAUDE_BRIDGE_SESSION_INGRESS_URL, USER_TYPE. External packages imported here: bun:bundle, os. Area context: Remote-control and CCR bridge transport, polling, adapters, permission callbacks, and session registration.
    • bridge/jwtUtils.ts: Remote session or bridge module. Named exports: decodeJwtPayload, decodeJwtExpiry, createTokenRefreshScheduler. Area context: Remote-control and CCR bridge transport, polling, adapters, permission callbacks, and session registration.
    • bridge/pollConfig.ts: Remote session or bridge module. Named exports: getPollIntervalConfig. External packages imported here: zod/v4. Area context: Remote-control and CCR bridge transport, polling, adapters, permission callbacks, and session registration.
    • bridge/pollConfigDefaults.ts: Remote session or bridge module. Named exports: PollIntervalConfig, DEFAULT_POLL_CONFIG. Area context: Remote-control and CCR bridge transport, polling, adapters, permission callbacks, and session registration.
    • bridge/remoteBridgeCore.ts: Remote session or bridge module. Named exports: EnvLessBridgeParams, initEnvLessBridgeCore, fetchRemoteCredentials. Environment variables read here: CLAUDE_CODE_SESSION_ACCESS_TOKEN. External packages imported here: axios, bun:bundle. Area context: Remote-control and CCR bridge transport, polling, adapters, permission callbacks, and session registration.
    • bridge/replBridge.ts: Remote session or bridge module. Named exports: ReplBridgeHandle, BridgeState, BridgeCoreParams, BridgeCoreHandle, initBridgeCore. Environment variables read here: CLAUDE_BRIDGE_USE_CCR_V2, USER_TYPE. External packages imported here: crypto. Area context: Remote-control and CCR bridge transport, polling, adapters, permission callbacks, and session registration.
    • bridge/replBridgeHandle.ts: Remote session or bridge module. Named exports: setReplBridgeHandle, getReplBridgeHandle, getSelfBridgeCompatId. Area context: Remote-control and CCR bridge transport, polling, adapters, permission callbacks, and session registration.
    • bridge/replBridgeTransport.ts: Remote session or bridge module. Named exports: ReplBridgeTransport, createV1ReplTransport, createV2ReplTransport. Area context: Remote-control and CCR bridge transport, polling, adapters, permission callbacks, and session registration.
    • bridge/sessionIdCompat.ts: Remote session or bridge module. Named exports: setCseShimGate, toCompatSessionId, toInfraSessionId. Area context: Remote-control and CCR bridge transport, polling, adapters, permission callbacks, and session registration.
    • bridge/sessionRunner.ts: Remote session or bridge module. Named exports: safeFilenameId, PermissionRequest, createSessionSpawner. Environment variables read here: USER_TYPE. External packages imported here: child_process, fs, os, path, readline. Area context: Remote-control and CCR bridge transport, polling, adapters, permission callbacks, and session registration.
    • bridge/trustedDevice.ts: Remote session or bridge module. Named exports: getTrustedDeviceToken, clearTrustedDeviceTokenCache, clearTrustedDeviceToken, enrollTrustedDevice. Environment variables read here: CLAUDE_TRUSTED_DEVICE_TOKEN. External packages imported here: axios, lodash-es/memoize.js, os. Area context: Remote-control and CCR bridge transport, polling, adapters, permission callbacks, and session registration.
    • bridge/types.ts: Remote session or bridge module. Named exports: DEFAULT_SESSION_TIMEOUT_MS, BRIDGE_LOGIN_INSTRUCTION, BRIDGE_LOGIN_ERROR, REMOTE_CONTROL_DISCONNECTED_MSG, WorkData, WorkResponse, .... Area context: Remote-control and CCR bridge transport, polling, adapters, permission callbacks, and session registration.
    • bridge/workSecret.ts: Remote session or bridge module. Named exports: decodeWorkSecret, buildSdkUrl, sameSessionId, buildCCRv2SdkUrl, registerWorker. External packages imported here: axios. Area context: Remote-control and CCR bridge transport, polling, adapters, permission callbacks, and session registration.

    plugins

    Built-in plugin definitions and bundled plugin registration. This section covers 2 file(s).

    • plugins/builtinPlugins.ts: Module under plugins. Named exports: BUILTIN_MARKETPLACE_NAME, registerBuiltinPlugin, isBuiltinPluginId, getBuiltinPluginDefinition, getBuiltinPlugins, getBuiltinPluginSkillCommands, .... Area context: Built-in plugin definitions and bundled plugin registration.
    • plugins/bundled/index.ts: Index or entry module for its directory. Named exports: initBuiltinPlugins. Area context: Built-in plugin definitions and bundled plugin registration.

    skills

    Bundled skill loading and skill-directory support. This section covers 20 file(s).

    • skills/bundled/batch.ts: Module under skills. Named exports: registerBatchSkill. Area context: Bundled skill loading and skill-directory support.
    • skills/bundled/claudeApi.ts: Module under skills. Named exports: registerClaudeApiSkill. External packages imported here: fs/promises. Area context: Bundled skill loading and skill-directory support.
    • skills/bundled/claudeApiContent.ts: Module under skills. Named exports: SKILL_MODEL_VARS, SKILL_PROMPT, SKILL_FILES. Area context: Bundled skill loading and skill-directory support.
    • skills/bundled/claudeInChrome.ts: Module under skills. Named exports: registerClaudeInChromeSkill. External packages imported here: @ant/claude-for-chrome-mcp. Area context: Bundled skill loading and skill-directory support.
    • skills/bundled/debug.ts: Module under skills. Named exports: registerDebugSkill. Environment variables read here: USER_TYPE. External packages imported here: fs/promises. Area context: Bundled skill loading and skill-directory support.
    • skills/bundled/index.ts: Index or entry module for its directory. Named exports: initBundledSkills. External packages imported here: bun:bundle. Area context: Bundled skill loading and skill-directory support.
    • skills/bundled/keybindings.ts: Module under skills. Named exports: registerKeybindingsSkill. Area context: Bundled skill loading and skill-directory support.
    • skills/bundled/loop.ts: Module under skills. Named exports: registerLoopSkill. Area context: Bundled skill loading and skill-directory support.
    • skills/bundled/loremIpsum.ts: Module under skills. Named exports: registerLoremIpsumSkill. Environment variables read here: USER_TYPE. Area context: Bundled skill loading and skill-directory support.
    • skills/bundled/remember.ts: Module under skills. Named exports: registerRememberSkill. Environment variables read here: USER_TYPE. Area context: Bundled skill loading and skill-directory support.
    • skills/bundled/scheduleRemoteAgents.ts: Module under skills. Named exports: registerScheduleRemoteAgentsSkill. Area context: Bundled skill loading and skill-directory support.
    • skills/bundled/simplify.ts: Module under skills. Named exports: registerSimplifySkill. Area context: Bundled skill loading and skill-directory support.
    • skills/bundled/skillify.ts: Module under skills. Named exports: registerSkillifySkill. Environment variables read here: USER_TYPE. Area context: Bundled skill loading and skill-directory support.
    • skills/bundled/stuck.ts: Module under skills. Named exports: registerStuckSkill. Environment variables read here: USER_TYPE. Area context: Bundled skill loading and skill-directory support.
    • skills/bundled/updateConfig.ts: Module under skills. Named exports: registerUpdateConfigSkill. External packages imported here: zod/v4. Area context: Bundled skill loading and skill-directory support.
    • skills/bundled/verify.ts: Module under skills. Named exports: registerVerifySkill. Environment variables read here: USER_TYPE. Area context: Bundled skill loading and skill-directory support.
    • skills/bundled/verifyContent.ts: Module under skills. Named exports: SKILL_MD, SKILL_FILES. Area context: Bundled skill loading and skill-directory support.
    • skills/bundledSkills.ts: Module under skills. Named exports: BundledSkillDefinition, registerBundledSkill, getBundledSkills, clearBundledSkills, getBundledSkillExtractDir. External packages imported here: fs, fs/promises, path. Area context: Bundled skill loading and skill-directory support.
    • skills/loadSkillsDir.ts: Module under skills. Named exports: LoadedFrom, getSkillsPath, estimateSkillFrontmatterTokens, parseSkillFrontmatterFields, createSkillCommand, getSkillDirCommands, .... Environment variables read here: CLAUDE_CODE_DISABLE_POLICY_SKILLS. External packages imported here: fs/promises, , , . Area context: Bundled skill loading and skill-directory support.
    • skills/mcpSkillBuilders.ts: Module under skills. Named exports: MCPSkillBuilders, registerMCPSkillBuilders, getMCPSkillBuilders. Area context: Bundled skill loading and skill-directory support.

    utils

    Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue. This section covers 564 file(s).

    • utils/abortController.ts: Shared infrastructure or helper module. Named exports: createAbortController, createChildAbortController. External packages imported here: events. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/activityManager.ts: Shared infrastructure or helper module. Named exports: ActivityManager, activityManager. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/advisor.ts: Shared infrastructure or helper module. Named exports: AdvisorServerToolUseBlock, AdvisorToolResultBlock, AdvisorBlock, isAdvisorBlock, isAdvisorEnabled, canUserConfigureAdvisor, .... Environment variables read here: CLAUDE_CODE_DISABLE_ADVISOR_TOOL, USER_TYPE. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/agentContext.ts: Shared infrastructure or helper module. Named exports: SubagentContext, TeammateAgentContext, AgentContext, getAgentContext, runWithAgentContext, isSubagentContext, .... External packages imported here: async_hooks. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/agenticSessionSearch.ts: Shared infrastructure or helper module. Named exports: agenticSessionSearch. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/agentId.ts: Shared infrastructure or helper module. Named exports: formatAgentId, parseAgentId, generateRequestId, parseRequestId. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/agentSwarmsEnabled.ts: Shared infrastructure or helper module. Named exports: isAgentSwarmsEnabled. Environment variables read here: CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS, USER_TYPE. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/analyzeContext.ts: Shared infrastructure or helper module. Named exports: TOOL_TOKEN_COUNT_OVERHEAD, DeferredBuiltinTool, SystemToolDetail, SystemPromptSectionDetail, ContextData, countToolDefinitionTokens, .... Environment variables read here: CLAUDE_CODE_SIMPLE, USER_TYPE. External packages imported here: bun:bundle. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/ansiToPng.ts: Shared infrastructure or helper module. Named exports: AnsiToPngOptions, ansiToPng. External packages imported here: zlib. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/ansiToSvg.ts: Shared infrastructure or helper module. Named exports: AnsiColor, DEFAULT_FG, DEFAULT_BG, TextSpan, ParsedLine, parseAnsi, .... Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/api.ts: Shared infrastructure or helper module. Named exports: CacheScope, SystemPromptBlock, toolToAPISchema, logAPIPrefix, splitSysPromptPrefix, appendSystemContext, .... Environment variables read here: CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS, CLAUDE_CODE_ENABLE_FINE_GRAINED_TOOL_STREAMING, NODE_ENV. External packages imported here: . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/apiPreconnect.ts: Shared infrastructure or helper module. Named exports: preconnectAnthropicApi. Environment variables read here: ANTHROPIC_BASE_URL, ANTHROPIC_UNIX_SOCKET, CLAUDE_CODE_CLIENT_CERT, CLAUDE_CODE_CLIENT_KEY, CLAUDE_CODE_USE_BEDROCK, CLAUDE_CODE_USE_FOUNDRY, .... Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/appleTerminalBackup.ts: Shared infrastructure or helper module. Named exports: markTerminalSetupInProgress, markTerminalSetupComplete, getTerminalPlistPath, backupTerminalPreferences, checkAndRestoreTerminalBackup. External packages imported here: fs/promises, os, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/argumentSubstitution.ts: Shared infrastructure or helper module. Named exports: parseArguments, parseArgumentNames, generateProgressiveArgumentHint, substituteArguments. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/array.ts: Shared infrastructure or helper module. Named exports: intersperse, count, uniq. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/asciicast.ts: Shared infrastructure or helper module. Named exports: getRecordFilePath, _resetRecordingStateForTesting, getSessionRecordingPaths, renameRecordingForSession, flushAsciicastRecorder, installAsciicastRecorder. Environment variables read here: CLAUDE_CODE_TERMINAL_RECORDING, SHELL, TERM, . External packages imported here: , . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/attachments.ts: Shared infrastructure or helper module. Named exports: TODO_REMINDER_CONFIG, PLAN_MODE_ATTACHMENT_CONFIG, AUTO_MODE_ATTACHMENT_CONFIG, RELEVANT_MEMORIES_CONFIG, VERIFY_PLAN_REMINDER_CONFIG, FileAttachment, .... Environment variables read here: CLAUDE_CODE_DISABLE_ATTACHMENTS, CLAUDE_CODE_ENABLE_TOKEN_USAGE_ATTACHMENT, CLAUDE_CODE_SIMPLE, , , . External packages imported here: , , , , . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/attribution.ts: Shared infrastructure or helper module. Named exports: AttributionTexts, getAttributionTexts, countUserPromptsInMessages, getEnhancedPRAttribution. Environment variables read here: CLAUDE_CODE_REMOTE_SESSION_ID, SESSION_INGRESS_URL, USER_TYPE. External packages imported here: bun:bundle, fs/promises. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/auth.ts: Shared infrastructure or helper module. Named exports: isAnthropicAuthEnabled, getAuthTokenSource, ApiKeySource, getAnthropicApiKey, hasAnthropicApiKeyAuth, getAnthropicApiKeyWithSource, .... Environment variables read here: ANTHROPIC_API_KEY, ANTHROPIC_AUTH_TOKEN, ANTHROPIC_UNIX_SOCKET, , , , .... External packages imported here: , , , , , .... Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/authFileDescriptor.ts: Shared infrastructure or helper module. Named exports: CCR_OAUTH_TOKEN_PATH, CCR_API_KEY_PATH, CCR_SESSION_INGRESS_TOKEN_PATH, maybePersistTokenForSubprocesses, readTokenFromWellKnownFile, getOAuthTokenFromFileDescriptor, .... Environment variables read here: CLAUDE_CODE_REMOTE. External packages imported here: fs. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/authPortable.ts: Shared infrastructure or helper module. Named exports: maybeRemoveApiKeyFromMacOSKeychainThrows, normalizeApiKeyForConfig. External packages imported here: execa. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/autoModeDenials.ts: Shared infrastructure or helper module. Named exports: AutoModeDenial, recordAutoModeDenial, getAutoModeDenials. External packages imported here: bun:bundle. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/autoRunIssue.tsx: Shared infrastructure or helper module. Named exports: AutoRunIssueNotification, AutoRunIssueReason, shouldAutoRunIssue, getAutoRunCommand, getAutoRunIssueReasonText. External packages imported here: react, react/compiler-runtime. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/autoUpdater.ts: Shared infrastructure or helper module. Named exports: InstallStatus, AutoUpdaterResult, MaxVersionConfig, assertMinVersion, getMaxVersion, getMaxVersionMessage, .... Environment variables read here: NODE_ENV, USER_TYPE. External packages imported here: axios, fs, , , . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/aws.ts: Shared infrastructure or helper module. Named exports: AwsCredentials, AwsStsOutput, isAwsCredentialsProviderError, isValidAwsStsOutput, checkStsCallerIdentity, clearAwsIniCache. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/awsAuthStatusManager.ts: Shared infrastructure or helper module. Named exports: AwsAuthStatus, AwsAuthStatusManager. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/background/remote/preconditions.ts: Shared infrastructure or helper module. Named exports: checkNeedsClaudeAiLogin, checkIsGitClean, checkHasRemoteEnvironment, checkIsInGitRepo, checkHasGitRemote, checkGithubAppInstalled, .... External packages imported here: axios. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/background/remote/remoteSession.ts: Shared infrastructure or helper module. Named exports: BackgroundRemoteSession, BackgroundRemoteSessionPrecondition, checkBackgroundRemoteSessionEligibility. Environment variables read here: CCR_ENABLE_BUNDLE, CCR_FORCE_BUNDLE. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/backgroundHousekeeping.ts: Shared infrastructure or helper module. Named exports: startBackgroundHousekeeping. Environment variables read here: USER_TYPE. External packages imported here: bun:bundle. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/bash/ast.ts: Shared infrastructure or helper module. Named exports: Redirect, SimpleCommand, ParseForSecurityResult, nodeTypeId, parseForSecurity, parseForSecurityFromAst, .... Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/bash/bashParser.ts: Shared infrastructure or helper module. Named exports: TsNode, ensureParserInitialized, getParserModule, SHELL_KEYWORDS. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/bash/bashPipeCommand.ts: Shared infrastructure or helper module. Named exports: rearrangePipeCommand. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/bash/commands.ts: Shared infrastructure or helper module. Named exports: splitCommandWithOperators, filterControlOperators, splitCommand_DEPRECATED, isHelpCommand, getCommandSubcommandPrefix, clearCommandPrefixCaches, .... External packages imported here: crypto. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/bash/heredoc.ts: Shared infrastructure or helper module. Named exports: HeredocInfo, HeredocExtractionResult, extractHeredocs, restoreHeredocs, containsHeredoc. External packages imported here: crypto. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/bash/ParsedCommand.ts: Shared infrastructure or helper module. Named exports: OutputRedirection, IParsedCommand, RegexParsedCommand_DEPRECATED, buildParsedCommandFromRoot, ParsedCommand. External packages imported here: lodash-es/memoize.js. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/bash/parser.ts: Shared infrastructure or helper module. Named exports: Node, ParsedCommandData, ensureInitialized, parseCommand, PARSE_ABORTED, parseCommandRaw, .... External packages imported here: bun:bundle. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/bash/prefix.ts: Shared infrastructure or helper module. Named exports: getCommandPrefixStatic, getCompoundCommandPrefixesStatic. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/bash/registry.ts: Shared infrastructure or helper module. Named exports: CommandSpec, Argument, Option, loadFigSpec, getCommandSpec. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/bash/shellCompletion.ts: Shared infrastructure or helper module. Named exports: ShellCompletionType, getShellCompletions. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/bash/shellPrefix.ts: Shared infrastructure or helper module. Named exports: formatShellPrefixCommand. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/bash/shellQuote.ts: Shared infrastructure or helper module. Named exports: ShellParseResult, ShellQuoteResult, tryParseShellCommand, tryQuoteShellArgs, hasMalformedTokens, hasShellQuoteSingleQuoteBug, .... External packages imported here: shell-quote. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/bash/shellQuoting.ts: Shared infrastructure or helper module. Named exports: quoteShellCommand, hasStdinRedirect, shouldAddStdinRedirect, rewriteWindowsNullRedirect. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/bash/ShellSnapshot.ts: Shared infrastructure or helper module. Named exports: createRipgrepShellIntegration, createFindGrepShellIntegration, createAndSaveSnapshot. Environment variables read here: CLAUDE_CODE_DONT_INHERIT_ENV, PATH. External packages imported here: child_process, execa, fs/promises, os, . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/bash/specs/alias.ts: Shared infrastructure or helper module. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/bash/specs/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/bash/specs/nohup.ts: Shared infrastructure or helper module. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/bash/specs/pyright.ts: Shared infrastructure or helper module. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/bash/specs/sleep.ts: Shared infrastructure or helper module. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/bash/specs/srun.ts: Shared infrastructure or helper module. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/bash/specs/time.ts: Shared infrastructure or helper module. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/bash/specs/timeout.ts: Shared infrastructure or helper module. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/bash/treeSitterAnalysis.ts: Shared infrastructure or helper module. Named exports: QuoteContext, CompoundStructure, DangerousPatterns, TreeSitterAnalysis, extractQuoteContext, extractCompoundStructure, .... Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/betas.ts: Shared infrastructure or helper module. Named exports: filterAllowedSdkBetas, modelSupportsISP, modelSupportsContextManagement, modelSupportsStructuredOutputs, modelSupportsAutoMode, getToolSearchBetaHeader, .... Environment variables read here: ANTHROPIC_BETAS, CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS, CLAUDE_CODE_ENTRYPOINT, , , , .... External packages imported here: , . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/billing.ts: Shared infrastructure or helper module. Named exports: hasConsoleBillingAccess, setMockBillingAccessOverride, hasClaudeAiBillingAccess. Environment variables read here: DISABLE_COST_WARNINGS. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/binaryCheck.ts: Shared infrastructure or helper module. Named exports: isBinaryInstalled, clearBinaryCache. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/browser.ts: Shared infrastructure or helper module. Named exports: openPath, openBrowser. Environment variables read here: BROWSER. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/bufferedWriter.ts: Shared infrastructure or helper module. Named exports: BufferedWriter, createBufferedWriter. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/bundledMode.ts: Shared infrastructure or helper module. Named exports: isRunningWithBun, isInBundledMode. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/caCerts.ts: Shared infrastructure or helper module. Named exports: getCACertificates, clearCACertsCache. Environment variables read here: NODE_EXTRA_CA_CERTS. External packages imported here: lodash-es/memoize.js. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/caCertsConfig.ts: Shared infrastructure or helper module. Named exports: applyExtraCACertsFromConfig. Environment variables read here: NODE_EXTRA_CA_CERTS. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/cachePaths.ts: Shared infrastructure or helper module. Named exports: CACHE_PATHS. External packages imported here: env-paths, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/CircularBuffer.ts: Shared infrastructure or helper module. Named exports: CircularBuffer. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/classifierApprovals.ts: Shared infrastructure or helper module. Named exports: setClassifierApproval, getClassifierApproval, setYoloClassifierApproval, getYoloClassifierApproval, setClassifierChecking, clearClassifierChecking, .... External packages imported here: bun:bundle. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/classifierApprovalsHook.ts: Shared infrastructure or helper module. Named exports: useIsClassifierChecking. External packages imported here: react. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/claudeCodeHints.ts: Shared infrastructure or helper module. Named exports: ClaudeCodeHintType, ClaudeCodeHint, extractClaudeCodeHints, setPendingHint, clearPendingHint, markShownThisSession, .... Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/claudeDesktop.ts: Shared infrastructure or helper module. Named exports: getClaudeDesktopConfigPath, readClaudeDesktopMcpServers. Environment variables read here: USERPROFILE. External packages imported here: fs/promises, os, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/claudeInChrome/chromeNativeHost.ts: Shared infrastructure or helper module. Named exports: sendChromeMessage, runChromeNativeHost. Environment variables read here: USER_TYPE. External packages imported here: fs/promises, net, os, path, zod. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/claudeInChrome/common.ts: Shared infrastructure or helper module. Named exports: CLAUDE_IN_CHROME_MCP_SERVER_NAME, CHROMIUM_BROWSERS, BROWSER_DETECTION_ORDER, getAllBrowserDataPaths, getAllNativeMessagingHostsDirs, getAllWindowsRegistryKeys, .... Environment variables read here: USER, USERNAME. External packages imported here: fs, , , . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/claudeInChrome/mcpServer.ts: Shared infrastructure or helper module. Named exports: createChromeContext, runClaudeInChromeMcpServer. Environment variables read here: ANT_ONLY_BUILD, CLAUDE_CHROME_PERMISSION_MODE, LOCAL_BRIDGE, USER_TYPE, USE_LOCAL_OAUTH, USE_STAGING_OAUTH. External packages imported here: @ant/claude-for-chrome-mcp, , . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/claudeInChrome/prompt.ts: Shared infrastructure or helper module. Named exports: BASE_CHROME_PROMPT, CHROME_TOOL_SEARCH_INSTRUCTIONS, getChromeSystemPrompt, CLAUDE_IN_CHROME_SKILL_HINT, CLAUDE_IN_CHROME_SKILL_HINT_WITH_WEBBROWSER. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/claudeInChrome/setup.ts: Shared infrastructure or helper module. Named exports: shouldEnableClaudeInChrome, shouldAutoEnableClaudeInChrome, setupClaudeInChrome, installChromeNativeHostManifest, isChromeExtensionInstalled. Environment variables read here: APPDATA, CLAUDE_CHROME_PERMISSION_MODE, CLAUDE_CODE_ENABLE_CFC, USER_TYPE. External packages imported here: , , , , . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/claudeInChrome/setupPortable.ts: Shared infrastructure or helper module. Named exports: CHROME_EXTENSION_URL, ChromiumBrowser, BrowserPath, getAllBrowserDataPathsPortable, detectExtensionInstallationPortable, isChromeExtensionInstalledPortable, .... Environment variables read here: USER_TYPE. External packages imported here: fs/promises, os, . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/claudeInChrome/toolRendering.tsx: Shared infrastructure or helper module. Named exports: ChromeToolName, renderChromeToolResultMessage, getClaudeInChromeMCPToolOverrides. External packages imported here: react. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/claudemd.ts: Shared infrastructure or helper module. Named exports: MAX_MEMORY_CHARACTER_COUNT, MemoryFileInfo, stripHtmlComments, processMemoryFile, processMdRules, getMemoryFiles, .... Environment variables read here: CLAUDE_CODE_ADDITIONAL_DIRECTORIES_CLAUDE_MD. External packages imported here: bun:bundle, ignore, , , , .... Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/cleanup.ts: Shared infrastructure or helper module. Named exports: CleanupResult, addCleanupResults, convertFileNameToDate, cleanupOldMessageFiles, cleanupOldSessionFiles, cleanupOldPlanFiles, .... Environment variables read here: USER_TYPE. External packages imported here: fs/promises, os, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/cleanupRegistry.ts: Shared infrastructure or helper module. Named exports: registerCleanup, runCleanupFunctions. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/cliArgs.ts: Shared infrastructure or helper module. Named exports: eagerParseCliFlag, extractArgsAfterDoubleDash. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/cliHighlight.ts: Shared infrastructure or helper module. Named exports: CliHighlight, getCliHighlightPromise, getLanguageName. External packages imported here: path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/codeIndexing.ts: Shared infrastructure or helper module. Named exports: CodeIndexingTool, detectCodeIndexingFromCommand, detectCodeIndexingFromMcpTool, detectCodeIndexingFromMcpServerName. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/collapseBackgroundBashNotifications.ts: Shared infrastructure or helper module. Named exports: collapseBackgroundBashNotifications. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/collapseHookSummaries.ts: Shared infrastructure or helper module. Named exports: collapseHookSummaries. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/collapseReadSearch.ts: Shared infrastructure or helper module. Named exports: SearchOrReadResult, getToolSearchOrReadInfo, getSearchOrReadFromContent, getToolUseIdsFromCollapsedGroup, hasAnyToolInProgress, getDisplayMessageFromCollapsed, .... External packages imported here: bun:bundle. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/collapseTeammateShutdowns.ts: Shared infrastructure or helper module. Named exports: collapseTeammateShutdowns. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/combinedAbortSignal.ts: Shared infrastructure or helper module. Named exports: createCombinedAbortSignal. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/commandLifecycle.ts: Shared infrastructure or helper module. Named exports: setCommandLifecycleListener, notifyCommandLifecycle. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/commitAttribution.ts: Shared infrastructure or helper module. Named exports: getAttributionRepoRoot, getRepoClassCached, isInternalModelRepoCached, isInternalModelRepo, sanitizeSurfaceKey, sanitizeModelName, .... Environment variables read here: CLAUDE_CODE_ENTRYPOINT. External packages imported here: crypto, fs/promises, . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/completionCache.ts: Shared infrastructure or helper module. Named exports: setupShellCompletion, regenerateCompletionCache. Environment variables read here: SHELL, XDG_CONFIG_HOME. External packages imported here: chalk, fs/promises, os, path, url. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/computerUse/appNames.ts: Shared infrastructure or helper module. Named exports: filterAppsForDescription. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/computerUse/cleanup.ts: Shared infrastructure or helper module. Named exports: cleanupComputerUseAfterTurn. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/computerUse/common.ts: Shared infrastructure or helper module. Named exports: COMPUTER_USE_MCP_SERVER_NAME, CLI_HOST_BUNDLE_ID, getTerminalBundleId, CLI_CU_CAPABILITIES, isComputerUseMCPServer. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/computerUse/computerUseLock.ts: Shared infrastructure or helper module. Named exports: AcquireResult, CheckResult, checkComputerUseLock, isLockHeldLocally, tryAcquireComputerUseLock, releaseComputerUseLock. External packages imported here: fs/promises, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/computerUse/drainRunLoop.ts: Shared infrastructure or helper module. Named exports: retainPump, releasePump, drainRunLoop. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/computerUse/escHotkey.ts: Shared infrastructure or helper module. Named exports: registerEscHotkey, unregisterEscHotkey, notifyExpectedEscape. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/computerUse/executor.ts: Shared infrastructure or helper module. Named exports: createCliExecutor, unhideComputerUseApps. External packages imported here: @ant/computer-use-mcp. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/computerUse/gates.ts: Shared infrastructure or helper module. Named exports: getChicagoEnabled, getChicagoSubGates, getChicagoCoordinateMode. Environment variables read here: ALLOW_ANT_COMPUTER_USE_MCP, MONOREPO_ROOT_DIR, USER_TYPE. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/computerUse/hostAdapter.ts: Shared infrastructure or helper module. Named exports: getComputerUseHostAdapter. External packages imported here: util. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/computerUse/inputLoader.ts: Shared infrastructure or helper module. Named exports: requireComputerUseInput. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/computerUse/mcpServer.ts: Shared infrastructure or helper module. Named exports: createComputerUseMcpServerForCli, runComputerUseMcpServer. External packages imported here: @ant/computer-use-mcp, @modelcontextprotocol/sdk/server/stdio.js, @modelcontextprotocol/sdk/types.js, os. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/computerUse/setup.ts: Shared infrastructure or helper module. Named exports: setupComputerUseMCP. External packages imported here: @ant/computer-use-mcp, path, url. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/computerUse/swiftLoader.ts: Shared infrastructure or helper module. Named exports: requireComputerUseSwift. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/computerUse/toolRendering.tsx: Shared infrastructure or helper module. Named exports: getComputerUseMCPRenderingOverrides. External packages imported here: react. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/computerUse/wrapper.tsx: Shared infrastructure or helper module. Named exports: buildSessionContext, getComputerUseMCPToolOverrides. External packages imported here: @ant/computer-use-mcp, react. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/concurrentSessions.ts: Shared infrastructure or helper module. Named exports: SessionKind, SessionStatus, isBgSession, registerSession, updateSessionName, updateSessionBridgeId, .... Environment variables read here: CLAUDE_CODE_AGENT, CLAUDE_CODE_ENTRYPOINT, CLAUDE_CODE_MESSAGING_SOCKET, , , . External packages imported here: , , . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/config.ts: Shared infrastructure or helper module. Named exports: PastedContent, SerializedStructuredHistoryEntry, HistoryEntry, ReleaseChannel, ProjectConfig, InstallMethod, .... Environment variables read here: DISABLE_AUTOUPDATER, FORCE_AUTOUPDATE_PLUGINS, NODE_ENV. External packages imported here: , , , , , .... Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/configConstants.ts: Shared infrastructure or helper module. Named exports: NOTIFICATION_CHANNELS, EDITOR_MODES, TEAMMATE_MODES. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/contentArray.ts: Shared infrastructure or helper module. Named exports: insertBlockAfterToolResults. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/context.ts: Shared infrastructure or helper module. Named exports: MODEL_CONTEXT_WINDOW_DEFAULT, COMPACT_MAX_OUTPUT_TOKENS, CAPPED_DEFAULT_MAX_TOKENS, ESCALATED_MAX_TOKENS, is1mContextDisabled, has1mContext, .... Environment variables read here: CLAUDE_CODE_DISABLE_1M_CONTEXT, CLAUDE_CODE_MAX_CONTEXT_TOKENS, USER_TYPE. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/contextAnalysis.ts: Shared infrastructure or helper module. Named exports: analyzeContext, tokenStatsToStatsigMetrics. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/contextSuggestions.ts: Shared infrastructure or helper module. Named exports: SuggestionSeverity, ContextSuggestion, generateContextSuggestions. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/controlMessageCompat.ts: Shared infrastructure or helper module. Named exports: normalizeControlMessageKeys. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/conversationRecovery.ts: Shared infrastructure or helper module. Named exports: TeleportRemoteResponse, TurnInterruptionState, DeserializeResult, deserializeMessages, deserializeMessagesWithInterruptDetection, restoreSkillStateFromMessages, .... External packages imported here: bun:bundle, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/cron.ts: Shared infrastructure or helper module. Named exports: CronFields, parseCronExpression, computeNextCronRun, cronToHuman. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/cronJitterConfig.ts: Shared infrastructure or helper module. Named exports: getCronJitterConfig. External packages imported here: zod/v4. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/cronScheduler.ts: Shared infrastructure or helper module. Named exports: isRecurringTaskAged, CronScheduler, createCronScheduler, buildMissedTaskNotification. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/cronTasks.ts: Shared infrastructure or helper module. Named exports: CronTask, getCronFilePath, readCronTasks, hasCronTasksSync, writeCronTasks, addCronTask, .... External packages imported here: crypto, fs, fs/promises, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/cronTasksLock.ts: Shared infrastructure or helper module. Named exports: SchedulerLockOptions, tryAcquireSchedulerLock, releaseSchedulerLock. External packages imported here: fs/promises, path, zod/v4. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/crossProjectResume.ts: Shared infrastructure or helper module. Named exports: CrossProjectResumeResult, checkCrossProjectResume. Environment variables read here: USER_TYPE. External packages imported here: path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/crypto.ts: Shared infrastructure or helper module. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. External packages imported here: crypto. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/Cursor.ts: Shared infrastructure or helper module. Named exports: pushToKillRing, getLastKill, getKillRingItem, getKillRingSize, clearKillRing, resetKillAccumulation, .... Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/cwd.ts: Shared infrastructure or helper module. Named exports: runWithCwdOverride, pwd, getCwd. External packages imported here: async_hooks. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/debug.ts: Shared infrastructure or helper module. Named exports: DebugLogLevel, getMinDebugLogLevel, isDebugMode, enableDebugLogging, getDebugFilter, isDebugToStdErr, .... Environment variables read here: CLAUDE_CODE_DEBUG_LOGS_DIR, CLAUDE_CODE_DEBUG_LOG_LEVEL, DEBUG, DEBUG_SDK, , . External packages imported here: , , . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/debugFilter.ts: Shared infrastructure or helper module. Named exports: DebugFilter, parseDebugFilter, extractDebugCategories, shouldShowDebugCategories, shouldShowDebugMessage. External packages imported here: lodash-es/memoize.js. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/deepLink/banner.ts: Shared infrastructure or helper module. Named exports: DeepLinkBannerInfo, buildDeepLinkBanner, readLastFetchTime. External packages imported here: fs/promises, os, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/deepLink/parseDeepLink.ts: Shared infrastructure or helper module. Named exports: DEEP_LINK_PROTOCOL, DeepLinkAction, parseDeepLink, buildDeepLink. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/deepLink/protocolHandler.ts: Shared infrastructure or helper module. Named exports: handleDeepLinkUri, handleUrlSchemeLaunch. External packages imported here: os. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/deepLink/registerProtocol.ts: Shared infrastructure or helper module. Named exports: MACOS_BUNDLE_ID, registerProtocolHandler, isProtocolHandlerCurrent, ensureDeepLinkProtocolRegistered. External packages imported here: fs, os, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/deepLink/terminalLauncher.ts: Shared infrastructure or helper module. Named exports: TerminalInfo, detectTerminal, launchInTerminal. Environment variables read here: TERMINAL, TERM_PROGRAM. External packages imported here: child_process, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/deepLink/terminalPreference.ts: Shared infrastructure or helper module. Named exports: updateDeepLinkTerminalPreference. Environment variables read here: TERM_PROGRAM. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/desktopDeepLink.ts: Shared infrastructure or helper module. Named exports: DesktopInstallStatus, getDesktopInstallStatus, openCurrentSessionInDesktop. Environment variables read here: LOCALAPPDATA, NODE_ENV. External packages imported here: fs/promises, path, semver. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/detectRepository.ts: Shared infrastructure or helper module. Named exports: ParsedRepository, clearRepositoryCaches, detectCurrentRepository, detectCurrentRepositoryWithHost, getCachedRepository, parseGitRemote, .... Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/diagLogs.ts: Shared infrastructure or helper module. Named exports: logForDiagnosticsNoPII, withDiagnosticsTiming. Environment variables read here: CLAUDE_CODE_DIAGNOSTICS_FILE. External packages imported here: path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/diff.ts: Shared infrastructure or helper module. Named exports: CONTEXT_LINES, DIFF_TIMEOUT_MS, adjustHunkLineNumbers, countLinesChanged, getPatchFromContents, getPatchForDisplay. External packages imported here: diff. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/directMemberMessage.ts: Shared infrastructure or helper module. Named exports: parseDirectMemberMessage, DirectMessageResult, sendDirectMemberMessage. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/displayTags.ts: Shared infrastructure or helper module. Named exports: stripDisplayTags, stripDisplayTagsAllowEmpty, stripIdeContextTags. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/doctorContextWarnings.ts: Shared infrastructure or helper module. Named exports: ContextWarning, ContextWarnings, checkContextWarnings. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/doctorDiagnostic.ts: Shared infrastructure or helper module. Named exports: InstallationType, DiagnosticInfo, getCurrentInstallationType, getInvokedBinary, detectLinuxGlobPatternWarnings, getDoctorDiagnostic. Environment variables read here: DISABLE_INSTALLATION_CHECKS, NODE_ENV, PATH. External packages imported here: , , , . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/dxt/helpers.ts: Shared infrastructure or helper module. Named exports: validateManifest, parseAndValidateManifestFromText, parseAndValidateManifestFromBytes, generateExtensionId. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/dxt/zip.ts: Shared infrastructure or helper module. Named exports: isPathSafe, validateZipFile, unzipFile, parseZipModes, readAndUnzipFile. External packages imported here: path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/earlyInput.ts: Shared infrastructure or helper module. Named exports: startCapturingEarlyInput, stopCapturingEarlyInput, consumeEarlyInput, hasEarlyInput, seedEarlyInput, isCapturingEarlyInput. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/editor.ts: Shared infrastructure or helper module. Named exports: classifyGuiEditor, openFileInExternalEditor, getExternalEditor. Environment variables read here: EDITOR, VISUAL. External packages imported here: child_process, lodash-es/memoize.js, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/effort.ts: Shared infrastructure or helper module. Named exports: EFFORT_LEVELS, EffortValue, modelSupportsEffort, modelSupportsMaxEffort, isEffortLevel, parseEffortValue, .... Environment variables read here: CLAUDE_CODE_ALWAYS_ENABLE_EFFORT, CLAUDE_CODE_EFFORT_LEVEL, USER_TYPE. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/embeddedTools.ts: Shared infrastructure or helper module. Named exports: hasEmbeddedSearchTools, embeddedSearchToolsBinaryPath. Environment variables read here: CLAUDE_CODE_ENTRYPOINT, EMBEDDED_SEARCH_TOOLS. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/env.ts: Shared infrastructure or helper module. Named exports: getGlobalClaudeFile, JETBRAINS_IDES, detectDeploymentEnvironment, env, getHostPlatformForAnalytics. Environment variables read here: ALACRITTY_LOG, APP_URL, AWS_EXECUTION_ENV, AWS_LAMBDA_FUNCTION_NAME, AZURE_FUNCTIONS_ENVIRONMENT, , .... External packages imported here: , , . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/envDynamic.ts: Shared infrastructure or helper module. Named exports: getTerminalWithJetBrainsDetectionAsync, getTerminalWithJetBrainsDetection, initJetBrainsDetection, envDynamic. Environment variables read here: CLAUDE_CODE_BUBBLEWRAP, TERMINAL_EMULATOR. External packages imported here: bun:bundle, fs/promises, lodash-es/memoize.js. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/envUtils.ts: Shared infrastructure or helper module. Named exports: getClaudeConfigHomeDir, getTeamsDir, hasNodeOption, isEnvTruthy, isEnvDefinedFalsy, isBareMode, .... Environment variables read here: AWS_DEFAULT_REGION, AWS_REGION, CLAUDE_BASH_MAINTAIN_PROJECT_WORKING_DIR, CLAUDE_CODE_SIMPLE, , , .... External packages imported here: , , . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/envValidation.ts: Shared infrastructure or helper module. Named exports: EnvVarValidationResult, validateBoundedIntEnvVar. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/errorLogSink.ts: Shared infrastructure or helper module. Named exports: getErrorsPath, getMCPLogsPath, _flushLogWritersForTesting, _clearLogWritersForTesting, initializeErrorLogSink. Environment variables read here: USER_TYPE. External packages imported here: axios, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/errors.ts: Shared infrastructure or helper module. Named exports: ClaudeError, MalformedCommandError, AbortError, isAbortError, ConfigParseError, ShellError, .... External packages imported here: @anthropic-ai/sdk. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/exampleCommands.ts: Shared infrastructure or helper module. Named exports: countAndSortItems, pickDiverseCoreFiles, getExampleCommandFromCache, refreshExampleCommands. Environment variables read here: NODE_ENV. External packages imported here: lodash-es/memoize.js, lodash-es/sample.js. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/execFileNoThrow.ts: Shared infrastructure or helper module. Named exports: execFileNoThrow, execFileNoThrowWithCwd. External packages imported here: execa. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/execFileNoThrowPortable.ts: Shared infrastructure or helper module. Named exports: execSyncWithDefaults_DEPRECATED. External packages imported here: execa. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/execSyncWrapper.ts: Shared infrastructure or helper module. Named exports: execSync_DEPRECATED. External packages imported here: child_process. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/exportRenderer.tsx: Shared infrastructure or helper module. Named exports: streamRenderedMessages, renderMessagesToPlainText. External packages imported here: react, strip-ansi. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/extraUsage.ts: Shared infrastructure or helper module. Named exports: isBilledAsExtraUsage. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/fastMode.ts: Shared infrastructure or helper module. Named exports: isFastModeEnabled, isFastModeAvailable, getFastModeUnavailableReason, FAST_MODE_MODEL_DISPLAY, getFastModeModel, getInitialFastModeSetting, .... Environment variables read here: CLAUDE_CODE_DISABLE_FAST_MODE, CLAUDE_CODE_SKIP_FAST_MODE_NETWORK_ERRORS, USER_TYPE. External packages imported here: . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/file.ts: Shared infrastructure or helper module. Named exports: File, pathExists, MAX_OUTPUT_SIZE, readFileSafe, getFileModificationTime, getFileModificationTimeAsync, .... Environment variables read here: USERPROFILE. External packages imported here: fs, fs/promises, os, . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/fileHistory.ts: Shared infrastructure or helper module. Named exports: FileHistoryBackup, FileHistorySnapshot, FileHistoryState, DiffStats, fileHistoryEnabled, fileHistoryTrackEdit, .... Environment variables read here: CLAUDE_CODE_DISABLE_FILE_CHECKPOINTING, CLAUDE_CODE_ENABLE_SDK_FILE_CHECKPOINTING. External packages imported here: crypto, , , , . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/fileOperationAnalytics.ts: Shared infrastructure or helper module. Named exports: logFileOperation. External packages imported here: crypto. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/filePersistence/filePersistence.ts: Shared infrastructure or helper module. Named exports: runFilePersistence, executeFilePersistence, isFilePersistenceEnabled. Environment variables read here: CLAUDE_CODE_REMOTE_SESSION_ID. External packages imported here: bun:bundle, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/filePersistence/outputsScanner.ts: Shared infrastructure or helper module. Named exports: logDebug, getEnvironmentKind, findModifiedFiles. Environment variables read here: CLAUDE_CODE_ENVIRONMENT_KIND. External packages imported here: fs/promises, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/fileRead.ts: Shared infrastructure or helper module. Named exports: LineEndingType, detectEncodingForResolvedPath, detectLineEndingsForString, readFileSyncWithMetadata, readFileSync. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/fileReadCache.ts: Shared infrastructure or helper module. Named exports: fileReadCache. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/fileStateCache.ts: Shared infrastructure or helper module. Named exports: FileState, READ_FILE_STATE_CACHE_SIZE, FileStateCache, createFileStateCacheWithSizeLimit, cacheToObject, cacheKeys, .... External packages imported here: lru-cache, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/findExecutable.ts: Shared infrastructure or helper module. Named exports: findExecutable. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/fingerprint.ts: Shared infrastructure or helper module. Named exports: FINGERPRINT_SALT, extractFirstMessageText, computeFingerprint, computeFingerprintFromMessages. External packages imported here: crypto. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/forkedAgent.ts: Shared infrastructure or helper module. Named exports: CacheSafeParams, saveCacheSafeParams, getLastCacheSafeParams, ForkedAgentParams, ForkedAgentResult, createCacheSafeParams, .... External packages imported here: crypto. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/format.ts: Shared infrastructure or helper module. Named exports: formatFileSize, formatSecondsShort, formatDuration, formatNumber, formatTokens, formatRelativeTime, .... Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/formatBriefTimestamp.ts: Shared infrastructure or helper module. Named exports: formatBriefTimestamp. Environment variables read here: LANG, LC_ALL, LC_TIME. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/fpsTracker.ts: Shared infrastructure or helper module. Named exports: FpsMetrics, FpsTracker. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/frontmatterParser.ts: Shared infrastructure or helper module. Named exports: FrontmatterData, ParsedMarkdown, FRONTMATTER_REGEX, parseFrontmatter, splitPathInFrontmatter, parsePositiveIntFromFrontmatter, .... Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/fsOperations.ts: Shared infrastructure or helper module. Named exports: FsOperations, safeResolvePath, isDuplicatePath, resolveDeepestExistingAncestorSync, getPathsForPermissionCheck, NodeFsOperations, .... External packages imported here: fs, fs/promises, os, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/fullscreen.ts: Shared infrastructure or helper module. Named exports: isTmuxControlMode, _resetTmuxControlModeProbeForTesting, isFullscreenEnvEnabled, isMouseTrackingEnabled, isMouseClicksDisabled, isFullscreenActive, .... Environment variables read here: CLAUDE_CODE_DISABLE_MOUSE, CLAUDE_CODE_DISABLE_MOUSE_CLICKS, CLAUDE_CODE_NO_FLICKER, , , , .... External packages imported here: . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/generatedFiles.ts: Shared infrastructure or helper module. Named exports: isGeneratedFile, filterGeneratedFiles. External packages imported here: path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/generators.ts: Shared infrastructure or helper module. Named exports: lastX, returnValue, toArray. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/genericProcessUtils.ts: Shared infrastructure or helper module. Named exports: isProcessRunning, getAncestorPidsAsync, getProcessCommand, getAncestorCommandsAsync, getChildPids. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/getWorktreePaths.ts: Shared infrastructure or helper module. Named exports: getWorktreePaths. External packages imported here: path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/getWorktreePathsPortable.ts: Shared infrastructure or helper module. Named exports: getWorktreePathsPortable. External packages imported here: child_process, util. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/ghPrStatus.ts: Shared infrastructure or helper module. Named exports: PrReviewState, PrStatus, deriveReviewState, fetchPrStatus. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/git.ts: Shared infrastructure or helper module. Named exports: findGitRoot, findCanonicalGitRoot, gitExe, getIsGit, getGitDir, isAtGitRoot, .... External packages imported here: crypto, fs, fs/promises, lodash-es/memoize.js, . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/git/gitConfigParser.ts: Shared infrastructure or helper module. Named exports: parseGitConfigValue, parseConfigString. External packages imported here: fs/promises, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/git/gitFilesystem.ts: Shared infrastructure or helper module. Named exports: clearResolveGitDirCache, resolveGitDir, isSafeRefName, isValidGitSha, readGitHead, resolveRef, .... Environment variables read here: NODE_ENV. External packages imported here: fs, fs/promises, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/git/gitignore.ts: Shared infrastructure or helper module. Named exports: isPathGitignored, getGlobalGitignorePath, addFileGlobRuleToGitignore. External packages imported here: fs/promises, os, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/gitDiff.ts: Shared infrastructure or helper module. Named exports: GitDiffStats, PerFileStats, GitDiffResult, fetchGitDiff, fetchGitDiffHunks, NumstatResult, .... Environment variables read here: CLAUDE_CODE_BASE_REF. External packages imported here: fs/promises, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/github/ghAuthStatus.ts: Shared infrastructure or helper module. Named exports: GhAuthStatus, getGhAuthStatus. External packages imported here: execa. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/githubRepoPathMapping.ts: Shared infrastructure or helper module. Named exports: updateGithubRepoPathMapping, getKnownPathsForRepo, filterExistingPaths, validateRepoAtPath, removePathFromRepo. External packages imported here: fs/promises. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/gitSettings.ts: Shared infrastructure or helper module. Named exports: shouldIncludeGitInstructions. Environment variables read here: CLAUDE_CODE_DISABLE_GIT_INSTRUCTIONS. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/glob.ts: Shared infrastructure or helper module. Named exports: extractGlobBaseDirectory, glob. Environment variables read here: CLAUDE_CODE_GLOB_HIDDEN, CLAUDE_CODE_GLOB_NO_IGNORE. External packages imported here: path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/gracefulShutdown.ts: Shared infrastructure or helper module. Named exports: setupGracefulShutdown, gracefulShutdownSync, isShuttingDown, resetShutdownState, getPendingShutdownForTesting, gracefulShutdown. Environment variables read here: CLAUDE_CODE_DISABLE_TERMINAL_TITLE, NODE_ENV. External packages imported here: chalk, , , . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/groupToolUses.ts: Shared infrastructure or helper module. Named exports: MessageWithoutProgress, GroupingResult, applyGrouping. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/handlePromptSubmit.ts: Shared infrastructure or helper module. Named exports: PromptInputHelpers, HandlePromptSubmitParams, handlePromptSubmit. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/hash.ts: Shared infrastructure or helper module. Named exports: djb2Hash, hashContent, hashPair. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/headlessProfiler.ts: Shared infrastructure or helper module. Named exports: headlessProfilerStartTurn, headlessProfilerCheckpoint, logHeadlessProfilerTurn. Environment variables read here: CLAUDE_CODE_ENTRYPOINT, CLAUDE_CODE_PROFILE_STARTUP, USER_TYPE. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/heapDumpService.ts: Shared infrastructure or helper module. Named exports: HeapDumpResult, MemoryDiagnostics, captureMemoryDiagnostics, performHeapDump. External packages imported here: fs, fs/promises, path, stream/promises, v8. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/heatmap.ts: Shared infrastructure or helper module. Named exports: HeatmapOptions, generateHeatmap. External packages imported here: chalk. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/highlightMatch.tsx: Shared infrastructure or helper module. Named exports: highlightMatch. External packages imported here: react. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/hooks.ts: Shared infrastructure or helper module. Named exports: getSessionEndHookTimeoutMs, shouldSkipHookDueToTrust, createBaseHookInput, HookBlockingError, ElicitationResponse, HookResult, .... Environment variables read here: CLAUDE_CODE_SESSIONEND_HOOKS_TIMEOUT_MS, CLAUDE_CODE_SHELL_PREFIX, CLAUDE_CODE_SIMPLE. External packages imported here: , , , . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/hooks/apiQueryHookHelper.ts: Shared infrastructure or helper module. Named exports: ApiQueryHookContext, ApiQueryHookConfig, ApiQueryResult, createApiQueryHook. External packages imported here: crypto. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/hooks/AsyncHookRegistry.ts: Shared infrastructure or helper module. Named exports: PendingAsyncHook, registerPendingAsyncHook, getPendingAsyncHooks, checkForAsyncHookResponses, removeDeliveredAsyncHooks, finalizePendingAsyncHooks, .... Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/hooks/execAgentHook.ts: Shared infrastructure or helper module. Named exports: execAgentHook. External packages imported here: crypto. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/hooks/execHttpHook.ts: Shared infrastructure or helper module. Named exports: execHttpHook. External packages imported here: axios. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/hooks/execPromptHook.ts: Shared infrastructure or helper module. Named exports: execPromptHook. External packages imported here: crypto. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/hooks/fileChangedWatcher.ts: Shared infrastructure or helper module. Named exports: setEnvHookNotifier, initializeFileChangedWatcher, updateWatchPaths, onCwdChangedForHooks, resetFileChangedWatcherForTesting. External packages imported here: chokidar, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/hooks/hookEvents.ts: Shared infrastructure or helper module. Named exports: HookStartedEvent, HookProgressEvent, HookResponseEvent, HookExecutionEvent, HookEventHandler, registerHookEventHandler, .... Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/hooks/hookHelpers.ts: Shared infrastructure or helper module. Named exports: hookResponseSchema, addArgumentsToPrompt, createStructuredOutputTool, registerStructuredOutputEnforcement. External packages imported here: zod/v4. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/hooks/hooksConfigManager.ts: Shared infrastructure or helper module. Named exports: MatcherMetadata, HookEventMetadata, getHookEventMetadata, groupHooksByEventAndMatcher, getSortedMatchersForEvent, getHooksForMatcher, .... Environment variables read here: USER_TYPE. External packages imported here: lodash-es/memoize.js. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/hooks/hooksConfigSnapshot.ts: Shared infrastructure or helper module. Named exports: shouldAllowManagedHooksOnly, shouldDisableAllHooksIncludingManaged, captureHooksConfigSnapshot, updateHooksConfigSnapshot, getHooksConfigFromSnapshot, resetHooksConfigSnapshot. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/hooks/hooksSettings.ts: Shared infrastructure or helper module. Named exports: HookSource, IndividualHookConfig, isHookEqual, getHookDisplayText, getAllHooks, getHooksForEvent, .... External packages imported here: path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/hooks/postSamplingHooks.ts: Shared infrastructure or helper module. Named exports: REPLHookContext, PostSamplingHook, registerPostSamplingHook, clearPostSamplingHooks, executePostSamplingHooks. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/hooks/registerFrontmatterHooks.ts: Shared infrastructure or helper module. Named exports: registerFrontmatterHooks. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/hooks/registerSkillHooks.ts: Shared infrastructure or helper module. Named exports: registerSkillHooks. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/hooks/sessionHooks.ts: Shared infrastructure or helper module. Named exports: FunctionHookCallback, FunctionHook, SessionStore, SessionHooksState, addSessionHook, addFunctionHook, .... Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/hooks/skillImprovement.ts: Shared infrastructure or helper module. Named exports: SkillUpdate, initSkillImprovement, applySkillImprovement. External packages imported here: bun:bundle. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/hooks/ssrfGuard.ts: Shared infrastructure or helper module. Named exports: isBlockedAddress, ssrfGuardedLookup. External packages imported here: dns, net. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/horizontalScroll.ts: Shared infrastructure or helper module. Named exports: HorizontalScrollWindow, calculateHorizontalScrollWindow. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/http.ts: Shared infrastructure or helper module. Named exports: getUserAgent, getMCPUserAgent, getWebFetchUserAgent, AuthHeaders, getAuthHeaders, withOAuth401Retry. Environment variables read here: CLAUDE_AGENT_SDK_CLIENT_APP, CLAUDE_AGENT_SDK_VERSION, CLAUDE_CODE_ENTRYPOINT, USER_TYPE. External packages imported here: . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/hyperlink.ts: Shared infrastructure or helper module. Named exports: OSC8_START, OSC8_END, createHyperlink. External packages imported here: chalk. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/ide.ts: Shared infrastructure or helper module. Named exports: DetectedIDEInfo, IdeType, isVSCodeIde, isJetBrainsIde, isSupportedVSCodeTerminal, isSupportedJetBrainsTerminal, .... Environment variables read here: CLAUDE_CODE_IDE_HOST_OVERRIDE, CLAUDE_CODE_IDE_SKIP_AUTO_INSTALL, CLAUDE_CODE_IDE_SKIP_VALID_CHECK, , , , .... External packages imported here: , , , , , .... Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/idePathConversion.ts: Shared infrastructure or helper module. Named exports: IDEPathConverter, WindowsToWSLConverter, checkWSLDistroMatch. External packages imported here: child_process. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/idleTimeout.ts: Shared infrastructure or helper module. Named exports: createIdleTimeoutManager. Environment variables read here: CLAUDE_CODE_EXIT_AFTER_STOP_DELAY. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/imagePaste.ts: Shared infrastructure or helper module. Named exports: PASTE_THRESHOLD, ImageWithDimensions, hasImageInClipboard, getImageFromClipboard, getImagePathFromClipboard, IMAGE_EXTENSION_REGEX, .... Environment variables read here: CLAUDE_CODE_TMPDIR, TEMP. External packages imported here: bun:bundle, , , . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/imageResizer.ts: Shared infrastructure or helper module. Named exports: ImageResizeError, ImageDimensions, ResizeResult, maybeResizeAndDownsampleImageBuffer, ImageBlockWithDimensions, maybeResizeAndDownsampleImageBlock, .... Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/imageStore.ts: Shared infrastructure or helper module. Named exports: cacheImagePath, storeImage, storeImages, getStoredImagePath, clearStoredImagePaths, cleanupOldImageCaches. External packages imported here: fs/promises, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/imageValidation.ts: Shared infrastructure or helper module. Named exports: OversizedImage, ImageSizeError, validateImagesForAPI. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/immediateCommand.ts: Shared infrastructure or helper module. Named exports: shouldInferenceConfigCommandBeImmediate. Environment variables read here: USER_TYPE. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/ink.ts: Shared infrastructure or helper module. Named exports: toInkColor. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/inProcessTeammateHelpers.ts: Shared infrastructure or helper module. Named exports: findInProcessTeammateTaskId, setAwaitingPlanApproval, handlePlanApprovalResponse, isPermissionRelatedResponse. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/intl.ts: Shared infrastructure or helper module. Named exports: getGraphemeSegmenter, firstGrapheme, lastGrapheme, getWordSegmenter, getRelativeTimeFormat, getTimeZone, .... Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/iTermBackup.ts: Shared infrastructure or helper module. Named exports: markITerm2SetupComplete, checkAndRestoreITerm2Backup. External packages imported here: fs/promises, os, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/jetbrains.ts: Shared infrastructure or helper module. Named exports: isJetBrainsPluginInstalled, isJetBrainsPluginInstalledCached, isJetBrainsPluginInstalledCachedSync. Environment variables read here: APPDATA, LOCALAPPDATA. External packages imported here: os, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/json.ts: Shared infrastructure or helper module. Named exports: safeParseJSON, safeParseJSONC, parseJSONL, readJSONLFile, addItemToJSONCArray. External packages imported here: fs/promises, jsonc-parser/lib/esm/main.js. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/jsonRead.ts: Shared infrastructure or helper module. Named exports: stripBOM. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/keyboardShortcuts.ts: Shared infrastructure or helper module. Named exports: MACOS_OPTION_SPECIAL_CHARS, isMacosOptionChar. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/lazySchema.ts: Shared infrastructure or helper module. Named exports: lazySchema. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/listSessionsImpl.ts: Shared infrastructure or helper module. Named exports: SessionInfo, ListSessionsOptions, parseSessionInfoFromLite, listCandidates, listSessionsImpl. External packages imported here: fs/promises, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/localInstaller.ts: Shared infrastructure or helper module. Named exports: getLocalClaudePath, isRunningFromLocalInstallation, ensureLocalPackageEnvironment, installOrUpdateClaudePackage, localInstallationExists, getShellType. Environment variables read here: SHELL. External packages imported here: fs/promises, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/lockfile.ts: Shared infrastructure or helper module. Named exports: lock, lockSync, unlock, check. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/log.ts: Shared infrastructure or helper module. Named exports: getLogDisplayTitle, dateToFilename, ErrorLogSink, attachErrorLogSink, logError, getInMemoryErrors, .... Environment variables read here: CLAUDE_CODE_USE_BEDROCK, CLAUDE_CODE_USE_FOUNDRY, CLAUDE_CODE_USE_VERTEX, DISABLE_ERROR_REPORTING, . External packages imported here: , , , . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/logoV2Utils.ts: Shared infrastructure or helper module. Named exports: LayoutMode, LayoutDimensions, getLayoutMode, calculateLayoutDimensions, calculateOptimalLeftWidth, formatWelcomeMessage, .... Environment variables read here: DEMO_VERSION, USER_TYPE. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/mailbox.ts: Shared infrastructure or helper module. Named exports: MessageSource, Message, Mailbox. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/managedEnv.ts: Shared infrastructure or helper module. Named exports: applySafeConfigEnvironmentVariables, applyConfigEnvironmentVariables. Environment variables read here: ANTHROPIC_UNIX_SOCKET, CLAUDE_CODE_ENTRYPOINT, CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/managedEnvConstants.ts: Shared infrastructure or helper module. Named exports: isProviderManagedEnvVar, DANGEROUS_SHELL_SETTINGS, SAFE_ENV_VARS. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/markdown.ts: Shared infrastructure or helper module. Named exports: configureMarked, applyMarkdown, formatToken, padAligned. External packages imported here: chalk, marked, strip-ansi. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/markdownConfigLoader.ts: Shared infrastructure or helper module. Named exports: CLAUDE_CONFIG_DIRECTORIES, ClaudeConfigDirectory, MarkdownFile, extractDescriptionFromMarkdown, parseAgentToolsFromFrontmatter, parseSlashCommandToolsFromFrontmatter, .... Environment variables read here: CLAUDE_CODE_USE_NATIVE_FILE_SEARCH. External packages imported here: bun:bundle, fs, , , , .... Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/mcp/dateTimeParser.ts: Shared infrastructure or helper module. Named exports: DateTimeParseResult, parseNaturalLanguageDateTime, looksLikeISO8601. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/mcp/elicitationValidation.ts: Shared infrastructure or helper module. Named exports: ValidationResult, isEnumSchema, isMultiSelectEnumSchema, getMultiSelectValues, getMultiSelectLabels, getMultiSelectLabel, .... External packages imported here: zod/v4. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/mcpInstructionsDelta.ts: Shared infrastructure or helper module. Named exports: McpInstructionsDelta, ClientSideInstruction, isMcpInstructionsDeltaEnabled, getMcpInstructionsDelta. Environment variables read here: CLAUDE_CODE_MCP_INSTR_DELTA, USER_TYPE. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/mcpOutputStorage.ts: Shared infrastructure or helper module. Named exports: getFormatDescription, getLargeOutputInstructions, extensionForMimeType, isBinaryContentType, PersistBinaryResult, persistBinaryContent, .... External packages imported here: fs/promises, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/mcpValidation.ts: Shared infrastructure or helper module. Named exports: MCP_TOKEN_COUNT_THRESHOLD_FACTOR, IMAGE_TOKEN_ESTIMATE, getMaxMcpOutputTokens, MCPToolResult, getContentSizeEstimate, mcpContentNeedsTruncation, .... Environment variables read here: MAX_MCP_OUTPUT_TOKENS. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/mcpWebSocketTransport.ts: Shared infrastructure or helper module. Named exports: WebSocketTransport. External packages imported here: @modelcontextprotocol/sdk/types.js. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/memoize.ts: Shared infrastructure or helper module. Named exports: memoizeWithTTL, memoizeWithTTLAsync, memoizeWithLRU. External packages imported here: lru-cache. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/memory/types.ts: Shared infrastructure or helper module. Named exports: MEMORY_TYPE_VALUES, MemoryType. External packages imported here: bun:bundle. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/memory/versions.ts: Shared infrastructure or helper module. Named exports: projectIsInGitRepo. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/memoryFileDetection.ts: Shared infrastructure or helper module. Named exports: detectSessionFileType, detectSessionPatternType, isAutoMemFile, MemoryScope, memoryScopeForPath, isAutoManagedMemoryFile, .... External packages imported here: bun:bundle, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/messagePredicates.ts: Shared infrastructure or helper module. Named exports: isHumanTurn. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/messageQueueManager.ts: Shared infrastructure or helper module. Named exports: SetAppState, subscribeToCommandQueue, getCommandQueueSnapshot, getCommandQueue, getCommandQueueLength, hasCommandsInQueue, .... External packages imported here: bun:bundle. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/messages.ts: Shared infrastructure or helper module. Named exports: withMemoryCorrectionHint, deriveShortMessageId, INTERRUPT_MESSAGE, INTERRUPT_MESSAGE_FOR_TOOL_USE, CANCEL_MESSAGE, REJECT_MESSAGE, .... Environment variables read here: CLAUDE_CODE_VERIFY_PLAN, NODE_ENV, USER_TYPE. External packages imported here: , , , . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/messages/mappers.ts: Shared infrastructure or helper module. Named exports: toInternalMessages, toSDKCompactMetadata, fromSDKCompactMetadata, toSDKMessages, localCommandOutputToSDKAssistantMessage, toSDKRateLimitInfo. External packages imported here: crypto, strip-ansi. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/messages/systemInit.ts: Shared infrastructure or helper module. Named exports: sdkCompatToolName, SystemInitInputs, buildSystemInitMessage. External packages imported here: bun:bundle, crypto. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/model/agent.ts: Shared infrastructure or helper module. Named exports: AGENT_MODEL_OPTIONS, AgentModelAlias, AgentModelOption, getDefaultSubagentModel, getAgentModel, getAgentModelDisplay, .... Environment variables read here: CLAUDE_CODE_SUBAGENT_MODEL. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/model/aliases.ts: Shared infrastructure or helper module. Named exports: MODEL_ALIASES, ModelAlias, isModelAlias, MODEL_FAMILY_ALIASES, isModelFamilyAlias. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/model/antModels.ts: Shared infrastructure or helper module. Named exports: AntModel, AntModelSwitchCalloutConfig, AntModelOverrideConfig, getAntModelOverrideConfig, getAntModels, resolveAntModel. Environment variables read here: USER_TYPE. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/model/bedrock.ts: Shared infrastructure or helper module. Named exports: getBedrockInferenceProfiles, findFirstMatch, createBedrockRuntimeClient, getInferenceProfileBackingModel, isFoundationModel, extractModelIdFromArn, .... Environment variables read here: ANTHROPIC_BEDROCK_BASE_URL, AWS_BEARER_TOKEN_BEDROCK, CLAUDE_CODE_SKIP_BEDROCK_AUTH. External packages imported here: . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/model/check1mAccess.ts: Shared infrastructure or helper module. Named exports: checkOpus1mAccess, checkSonnet1mAccess. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/model/configs.ts: Shared infrastructure or helper module. Named exports: ModelConfig, CLAUDE_3_7_SONNET_CONFIG, CLAUDE_3_5_V2_SONNET_CONFIG, CLAUDE_3_5_HAIKU_CONFIG, CLAUDE_HAIKU_4_5_CONFIG, CLAUDE_SONNET_4_CONFIG, .... Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/model/contextWindowUpgradeCheck.ts: Shared infrastructure or helper module. Named exports: getUpgradeMessage. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/model/deprecation.ts: Shared infrastructure or helper module. Named exports: getModelDeprecationWarning. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/model/model.ts: Shared infrastructure or helper module. Named exports: ModelShortName, ModelName, ModelSetting, getSmallFastModel, isNonCustomOpusModel, getUserSpecifiedModelSetting, .... Environment variables read here: ANTHROPIC_DEFAULT_HAIKU_MODEL, ANTHROPIC_DEFAULT_OPUS_MODEL, ANTHROPIC_DEFAULT_SONNET_MODEL, , , , .... Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/model/modelAllowlist.ts: Shared infrastructure or helper module. Named exports: isModelAllowed. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/model/modelCapabilities.ts: Shared infrastructure or helper module. Named exports: ModelCapability, getModelCapability, refreshModelCapabilities. Environment variables read here: USER_TYPE. External packages imported here: fs, fs/promises, lodash-es/isEqual.js, lodash-es/memoize.js, path, .... Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/model/modelOptions.ts: Shared infrastructure or helper module. Named exports: ModelOption, getDefaultOptionForUser, getSonnet46_1MOption, getOpus46_1MOption, getMaxSonnet46_1MOption, getMaxOpus46_1MOption, .... Environment variables read here: ANTHROPIC_CUSTOM_MODEL_OPTION, ANTHROPIC_CUSTOM_MODEL_OPTION_DESCRIPTION, ANTHROPIC_CUSTOM_MODEL_OPTION_NAME, , , , .... Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/model/modelStrings.ts: Shared infrastructure or helper module. Named exports: ModelStrings, resolveOverriddenModel, getModelStrings, ensureModelStringsInitialized. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/model/modelSupportOverrides.ts: Shared infrastructure or helper module. Named exports: ModelCapabilityOverride, get3PModelCapabilityOverride. External packages imported here: lodash-es/memoize.js. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/model/providers.ts: Shared infrastructure or helper module. Named exports: APIProvider, getAPIProvider, getAPIProviderForStatsig, isFirstPartyAnthropicBaseUrl. Environment variables read here: ANTHROPIC_BASE_URL, CLAUDE_CODE_USE_BEDROCK, CLAUDE_CODE_USE_FOUNDRY, CLAUDE_CODE_USE_VERTEX, USER_TYPE. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/model/validateModel.ts: Shared infrastructure or helper module. Named exports: validateModel. Environment variables read here: ANTHROPIC_CUSTOM_MODEL_OPTION. External packages imported here: @anthropic-ai/sdk. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/modelCost.ts: Shared infrastructure or helper module. Named exports: ModelCosts, COST_TIER_3_15, COST_TIER_15_75, COST_TIER_5_25, COST_TIER_30_150, COST_HAIKU_35, .... Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/modifiers.ts: Shared infrastructure or helper module. Named exports: ModifierKey, prewarmModifiers, isModifierPressed. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/mtls.ts: Shared infrastructure or helper module. Named exports: MTLSConfig, TLSConfig, getMTLSConfig, getMTLSAgent, getWebSocketTLSOptions, getTLSFetchOptions, .... Environment variables read here: CLAUDE_CODE_CLIENT_CERT, CLAUDE_CODE_CLIENT_KEY, CLAUDE_CODE_CLIENT_KEY_PASSPHRASE, . External packages imported here: , . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/nativeInstaller/download.ts: Shared infrastructure or helper module. Named exports: ARTIFACTORY_REGISTRY_URL, getLatestVersionFromArtifactory, getLatestVersionFromBinaryRepo, getLatestVersion, downloadVersionFromArtifactory, downloadVersionFromBinaryRepo, .... Environment variables read here: CLAUDE_CODE_STALL_TIMEOUT_MS_FOR_TESTING, USER_TYPE. External packages imported here: axios, , , , . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/nativeInstaller/index.ts: Index or entry module for its directory. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/nativeInstaller/installer.ts: Shared infrastructure or helper module. Named exports: VERSION_RETENTION_COUNT, SetupMessage, getPlatform, getBinaryName, removeDirectoryIfEmpty, checkInstall, .... Environment variables read here: DISABLE_INSTALLATION_CHECKS, ENABLE_LOCKLESS_UPDATES, PATH. External packages imported here: , , , . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/nativeInstaller/packageManagers.ts: Shared infrastructure or helper module. Named exports: PackageManager, getOsRelease, detectMise, detectAsdf, detectHomebrew, detectWinget, .... External packages imported here: fs/promises, lodash-es/memoize.js. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/nativeInstaller/pidLock.ts: Shared infrastructure or helper module. Named exports: isPidBasedLockingEnabled, VersionLockContent, LockInfo, isProcessRunning, readLockContent, isLockActive, .... Environment variables read here: ENABLE_PID_BASED_VERSION_LOCKING. External packages imported here: path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/notebook.ts: Shared infrastructure or helper module. Named exports: readNotebook, mapNotebookCellsToToolResult, parseCellId. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/objectGroupBy.ts: Shared infrastructure or helper module. Named exports: objectGroupBy. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/pasteStore.ts: Shared infrastructure or helper module. Named exports: hashPastedText, storePastedText, retrievePastedText, cleanupOldPastes. External packages imported here: crypto, fs/promises, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/path.ts: Shared infrastructure or helper module. Named exports: expandPath, toRelativePath, getDirectoryForPath, containsPathTraversal, normalizePathForConfigKey. External packages imported here: os, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/pdf.ts: Shared infrastructure or helper module. Named exports: PDFError, PDFResult, readPDF, getPDFPageCount, PDFExtractPagesResult, resetPdftoppmCache, .... External packages imported here: crypto, fs/promises, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/pdfUtils.ts: Shared infrastructure or helper module. Named exports: DOCUMENT_EXTENSIONS, parsePDFPageRange, isPDFSupported, isPDFExtension. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/peerAddress.ts: Shared infrastructure or helper module. Named exports: parseAddress. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/permissions/autoModeState.ts: Shared infrastructure or helper module. Named exports: setAutoModeActive, isAutoModeActive, setAutoModeFlagCli, getAutoModeFlagCli, setAutoModeCircuitBroken, isAutoModeCircuitBroken, .... Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/permissions/bashClassifier.ts: Shared infrastructure or helper module. Named exports: PROMPT_PREFIX, ClassifierResult, ClassifierBehavior, extractPromptDescription, createPromptRuleContent, isClassifierPermissionsEnabled, .... Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/permissions/bypassPermissionsKillswitch.ts: Shared infrastructure or helper module. Named exports: checkAndDisableBypassPermissionsIfNeeded, resetBypassPermissionsCheck, useKickOffCheckAndDisableBypassPermissionsIfNeeded, checkAndDisableAutoModeIfNeeded, resetAutoModeGateCheck, useKickOffCheckAndDisableAutoModeIfNeeded. External packages imported here: bun:bundle, react. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/permissions/classifierDecision.ts: Shared infrastructure or helper module. Named exports: isAutoModeAllowlistedTool. Environment variables read here: USER_TYPE. External packages imported here: bun:bundle. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/permissions/classifierShared.ts: Shared infrastructure or helper module. Named exports: extractToolUseBlock, parseClassifierResponse. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/permissions/dangerousPatterns.ts: Shared infrastructure or helper module. Named exports: CROSS_PLATFORM_CODE_EXEC, DANGEROUS_BASH_PATTERNS. Environment variables read here: USER_TYPE. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/permissions/denialTracking.ts: Shared infrastructure or helper module. Named exports: DenialTrackingState, DENIAL_LIMITS, createDenialTrackingState, recordDenial, recordSuccess, shouldFallbackToPrompting. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/permissions/filesystem.ts: Shared infrastructure or helper module. Named exports: DANGEROUS_FILES, DANGEROUS_DIRECTORIES, normalizeCaseForComparison, getClaudeSkillScope, relativePath, toPosixPath, .... Environment variables read here: CLAUDE_CODE_TMPDIR, CLAUDE_JOB_DIR. External packages imported here: bun:bundle, , , , , .... Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/permissions/getNextPermissionMode.ts: Shared infrastructure or helper module. Named exports: getNextPermissionMode, cyclePermissionMode. Environment variables read here: USER_TYPE. External packages imported here: bun:bundle. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/permissions/pathValidation.ts: Shared infrastructure or helper module. Named exports: FileOperationType, PathCheckResult, ResolvedPathCheckResult, formatDirectoryList, getGlobBaseDirectory, expandTilde, .... External packages imported here: lodash-es/memoize.js, os, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/permissions/permissionExplainer.ts: Shared infrastructure or helper module. Named exports: RiskLevel, PermissionExplanation, isPermissionExplainerEnabled, generatePermissionExplanation. External packages imported here: zod/v4. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/permissions/PermissionMode.ts: Shared infrastructure or helper module. Named exports: permissionModeSchema, externalPermissionModeSchema, isExternalPermissionMode, toExternalPermissionMode, permissionModeFromString, permissionModeTitle, .... Environment variables read here: USER_TYPE. External packages imported here: bun:bundle, zod/v4. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/permissions/PermissionPromptToolResultSchema.ts: Shared infrastructure or helper module. Named exports: inputSchema, Input, outputSchema, Output, permissionPromptToolResultToPermissionDecision. External packages imported here: zod/v4. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/permissions/PermissionResult.ts: Shared infrastructure or helper module. Named exports: getRuleBehaviorDescription. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/permissions/PermissionRule.ts: Shared infrastructure or helper module. Named exports: permissionBehaviorSchema, permissionRuleValueSchema. External packages imported here: zod/v4. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/permissions/permissionRuleParser.ts: Shared infrastructure or helper module. Named exports: normalizeLegacyToolName, getLegacyToolNames, escapeRuleContent, unescapeRuleContent, permissionRuleValueFromString, permissionRuleValueToString. External packages imported here: bun:bundle. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/permissions/permissions.ts: Shared infrastructure or helper module. Named exports: permissionRuleSourceDisplayString, getAllowRules, createPermissionRequestMessage, getDenyRules, getAskRules, toolAlwaysAllowedRule, .... Environment variables read here: USER_TYPE. External packages imported here: @anthropic-ai/sdk, bun:bundle. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/permissions/permissionSetup.ts: Shared infrastructure or helper module. Named exports: isDangerousBashPermission, isDangerousPowerShellPermission, isDangerousTaskPermission, DangerousPermissionInfo, findDangerousClassifierPermissions, isOverlyBroadBashAllowRule, .... Environment variables read here: CLAUDE_CODE_ENTRYPOINT, CLAUDE_CODE_REMOTE, PWD, . External packages imported here: , . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/permissions/permissionsLoader.ts: Shared infrastructure or helper module. Named exports: shouldAllowManagedPermissionRulesOnly, shouldShowAlwaysAllowOptions, loadAllPermissionRulesFromDisk, getPermissionRulesForSource, PermissionRuleFromEditableSettings, deletePermissionRuleFromSettings, .... Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/permissions/PermissionUpdate.ts: Shared infrastructure or helper module. Named exports: extractRules, hasRules, applyPermissionUpdate, applyPermissionUpdates, supportsPersistence, persistPermissionUpdate, .... External packages imported here: path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/permissions/PermissionUpdateSchema.ts: Shared infrastructure or helper module. Named exports: permissionUpdateDestinationSchema, permissionUpdateSchema. External packages imported here: zod/v4. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/permissions/shadowedRuleDetection.ts: Shared infrastructure or helper module. Named exports: ShadowType, UnreachableRule, DetectUnreachableRulesOptions, isSharedSettingSource, detectUnreachableRules. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/permissions/shellRuleMatching.ts: Shared infrastructure or helper module. Named exports: ShellPermissionRule, permissionRuleExtractPrefix, hasWildcards, matchWildcardPattern, parsePermissionRule, suggestionForExactCommand, .... Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/permissions/yoloClassifier.ts: Shared infrastructure or helper module. Named exports: AutoModeRules, getDefaultExternalAutoModeRules, buildDefaultExternalSystemPrompt, getAutoModeClassifierErrorDumpPath, getAutoModeClassifierTranscript, YOLO_CLASSIFIER_TOOL_NAME, .... Environment variables read here: CLAUDE_CODE_AUTO_MODE_MODEL, CLAUDE_CODE_DUMP_AUTO_MODE, CLAUDE_CODE_JSONL_TRANSCRIPT, , . External packages imported here: , , , . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/planModeV2.ts: Shared infrastructure or helper module. Named exports: getPlanModeV2AgentCount, getPlanModeV2ExploreAgentCount, isPlanModeInterviewPhaseEnabled, PewterLedgerVariant, getPewterLedgerVariant. Environment variables read here: CLAUDE_CODE_PLAN_MODE_INTERVIEW_PHASE, CLAUDE_CODE_PLAN_V2_AGENT_COUNT, CLAUDE_CODE_PLAN_V2_EXPLORE_AGENT_COUNT, USER_TYPE. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/plans.ts: Shared infrastructure or helper module. Named exports: getPlanSlug, setPlanSlug, clearPlanSlug, clearAllPlanSlugs, getPlansDirectory, getPlanFilePath, .... External packages imported here: crypto, fs/promises, lodash-es/memoize.js, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/platform.ts: Shared infrastructure or helper module. Named exports: Platform, SUPPORTED_PLATFORMS, getPlatform, getWslVersion, LinuxDistroInfo, getLinuxDistroInfo, .... Environment variables read here: P4PORT. External packages imported here: fs/promises, lodash-es/memoize.js, os. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/plugins/addDirPluginSettings.ts: Shared infrastructure or helper module. Named exports: getAddDirEnabledPlugins, getAddDirExtraMarketplaces. External packages imported here: path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/plugins/cacheUtils.ts: Shared infrastructure or helper module. Named exports: clearAllPluginCaches, clearAllCaches, markPluginVersionOrphaned, cleanupOrphanedPluginVersionsInBackground. External packages imported here: fs/promises, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/plugins/dependencyResolver.ts: Shared infrastructure or helper module. Named exports: qualifyDependency, DependencyLookupResult, ResolutionResult, resolveDependencyClosure, verifyAndDemote, findReverseDependents, .... Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/plugins/fetchTelemetry.ts: Shared infrastructure or helper module. Named exports: PluginFetchSource, PluginFetchOutcome, logPluginFetch, classifyFetchError. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/plugins/gitAvailability.ts: Shared infrastructure or helper module. Named exports: checkGitAvailable, markGitUnavailable, clearGitAvailabilityCache. External packages imported here: lodash-es/memoize.js. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/plugins/headlessPluginInstall.ts: Shared infrastructure or helper module. Named exports: installPluginsForHeadless. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/plugins/hintRecommendation.ts: Shared infrastructure or helper module. Named exports: PluginHintRecommendation, maybeRecordPluginHint, _resetHintRecommendationForTesting, resolvePluginHint, markHintPluginShown, disableHintRecommendations. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/plugins/installCounts.ts: Shared infrastructure or helper module. Named exports: getInstallCounts, formatInstallCount. External packages imported here: axios, crypto, fs/promises, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/plugins/installedPluginsManager.ts: Shared infrastructure or helper module. Named exports: PersistableScope, getInstalledPluginsFilePath, getInstalledPluginsV2FilePath, clearInstalledPluginsCache, migrateToSinglePluginFile, resetMigrationState, .... External packages imported here: path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/plugins/loadPluginAgents.ts: Shared infrastructure or helper module. Named exports: loadPluginAgents, clearPluginAgentCache. External packages imported here: lodash-es/memoize.js, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/plugins/loadPluginCommands.ts: Shared infrastructure or helper module. Named exports: getPluginCommands, clearPluginCommandCache, getPluginSkills, clearPluginSkillsCache. External packages imported here: lodash-es/memoize.js, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/plugins/loadPluginHooks.ts: Shared infrastructure or helper module. Named exports: loadPluginHooks, clearPluginHookCache, pruneRemovedPluginHooks, resetHotReloadState, getPluginAffectingSettingsSnapshot, setupPluginHookHotReload. External packages imported here: lodash-es/memoize.js. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/plugins/loadPluginOutputStyles.ts: Shared infrastructure or helper module. Named exports: loadPluginOutputStyles, clearPluginOutputStyleCache. External packages imported here: lodash-es/memoize.js, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/plugins/lspPluginIntegration.ts: Shared infrastructure or helper module. Named exports: loadPluginLspServers, resolvePluginLspEnvironment, addPluginScopeToLspServers, getPluginLspServers, extractLspServersFromPlugins. External packages imported here: fs/promises, path, zod/v4. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/plugins/lspRecommendation.ts: Shared infrastructure or helper module. Named exports: LspPluginRecommendation, getMatchingLspPlugins, addToNeverSuggest, incrementIgnoredCount, isLspRecommendationsDisabled, resetIgnoredCount. External packages imported here: path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/plugins/managedPlugins.ts: Shared infrastructure or helper module. Named exports: getManagedPluginNames. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/plugins/marketplaceHelpers.ts: Shared infrastructure or helper module. Named exports: formatFailureDetails, getMarketplaceSourceDisplay, createPluginId, loadMarketplacesWithGracefulDegradation, formatMarketplaceLoadingErrors, getStrictKnownMarketplaces, .... External packages imported here: lodash-es/isEqual.js. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/plugins/marketplaceManager.ts: Shared infrastructure or helper module. Named exports: getMarketplacesCacheDir, clearMarketplacesCache, KnownMarketplacesConfig, DeclaredMarketplace, getDeclaredMarketplaces, getMarketplaceDeclaringSource, .... Environment variables read here: CLAUDE_CODE_PLUGIN_GIT_TIMEOUT_MS, CLAUDE_CODE_REMOTE. External packages imported here: axios, , , , . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/plugins/mcpbHandler.ts: Shared infrastructure or helper module. Named exports: UserConfigValues, UserConfigSchema, McpbLoadResult, McpbNeedsConfigResult, McpbCacheMetadata, ProgressCallback, .... External packages imported here: axios, crypto, fs/promises, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/plugins/mcpPluginIntegration.ts: Shared infrastructure or helper module. Named exports: loadPluginMcpServers, UnconfiguredChannel, getUnconfiguredChannels, addPluginScopeToServers, extractMcpServersFromPlugins, resolvePluginMcpEnvironment, .... External packages imported here: path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/plugins/officialMarketplace.ts: Shared infrastructure or helper module. Named exports: OFFICIAL_MARKETPLACE_SOURCE, OFFICIAL_MARKETPLACE_NAME. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/plugins/officialMarketplaceGcs.ts: Shared infrastructure or helper module. Named exports: fetchOfficialMarketplaceFromGcs, classifyGcsError. External packages imported here: axios, fs/promises, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/plugins/officialMarketplaceStartupCheck.ts: Shared infrastructure or helper module. Named exports: OfficialMarketplaceSkipReason, isOfficialMarketplaceAutoInstallDisabled, RETRY_CONFIG, OfficialMarketplaceCheckResult, checkAndInstallOfficialMarketplace. Environment variables read here: CLAUDE_CODE_DISABLE_OFFICIAL_MARKETPLACE_AUTOINSTALL. External packages imported here: path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/plugins/orphanedPluginFilter.ts: Shared infrastructure or helper module. Named exports: getGlobExclusionsForPluginCache, clearPluginCacheExclusions. External packages imported here: path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/plugins/parseMarketplaceInput.ts: Shared infrastructure or helper module. Named exports: parseMarketplaceInput. External packages imported here: os, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/plugins/performStartupChecks.tsx: Shared infrastructure or helper module. Named exports: performStartupChecks. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/plugins/pluginAutoupdate.ts: Shared infrastructure or helper module. Named exports: PluginAutoUpdateCallback, onPluginsAutoUpdated, getAutoUpdatedPluginNames, updatePluginsForMarketplaces, autoUpdateMarketplacesAndPluginsInBackground. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/plugins/pluginBlocklist.ts: Shared infrastructure or helper module. Named exports: detectDelistedPlugins, detectAndUninstallDelistedPlugins. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/plugins/pluginDirectories.ts: Shared infrastructure or helper module. Named exports: getPluginsDirectory, getPluginSeedDirs, pluginDataDirPath, getPluginDataDir, getPluginDataDirSize, deletePluginDataDir. Environment variables read here: CLAUDE_CODE_PLUGIN_CACHE_DIR, CLAUDE_CODE_PLUGIN_SEED_DIR, CLAUDE_CODE_USE_COWORK_PLUGINS. External packages imported here: , , . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/plugins/pluginFlagging.ts: Shared infrastructure or helper module. Named exports: FlaggedPlugin, loadFlaggedPlugins, getFlaggedPlugins, addFlaggedPlugin, markFlaggedPluginsSeen, removeFlaggedPlugin. External packages imported here: crypto, fs/promises, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/plugins/pluginIdentifier.ts: Shared infrastructure or helper module. Named exports: ExtendedPluginScope, PersistablePluginScope, SETTING_SOURCE_TO_SCOPE, ParsedPluginIdentifier, parsePluginIdentifier, buildPluginId, .... Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/plugins/pluginInstallationHelpers.ts: Shared infrastructure or helper module. Named exports: PluginInstallationInfo, getCurrentTimestamp, validatePathWithinBase, cacheAndRegisterPlugin, registerPluginInstallation, parsePluginId, .... External packages imported here: crypto, fs/promises, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/plugins/pluginLoader.ts: Shared infrastructure or helper module. Named exports: getPluginCachePath, getVersionedCachePathIn, getVersionedCachePath, getVersionedZipCachePath, probeSeedCacheAnyVersion, getLegacyCachePath, .... Environment variables read here: CLAUDE_CODE_REMOTE, CLAUDE_CODE_SYNC_PLUGIN_INSTALL. External packages imported here: fs/promises, , . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/plugins/pluginOptionsStorage.ts: Shared infrastructure or helper module. Named exports: PluginOptionValues, PluginOptionSchema, getPluginStorageId, loadPluginOptions, clearPluginOptionsCache, savePluginOptions, .... External packages imported here: lodash-es/memoize.js. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/plugins/pluginPolicy.ts: Shared infrastructure or helper module. Named exports: isPluginBlockedByPolicy. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/plugins/pluginStartupCheck.ts: Shared infrastructure or helper module. Named exports: checkEnabledPlugins, getPluginEditableScopes, isPersistableScope, settingSourceToScope, getInstalledPlugins, findMissingPlugins, .... External packages imported here: path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/plugins/pluginVersioning.ts: Shared infrastructure or helper module. Named exports: calculatePluginVersion, getGitCommitSha, getVersionFromPath, isVersionedPath. External packages imported here: crypto. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/plugins/reconciler.ts: Shared infrastructure or helper module. Named exports: MarketplaceDiff, diffMarketplaces, ReconcileOptions, ReconcileProgressEvent, ReconcileResult, reconcileMarketplaces. External packages imported here: lodash-es/isEqual.js, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/plugins/refresh.ts: Shared infrastructure or helper module. Named exports: RefreshActivePluginsResult, refreshActivePlugins. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/plugins/schemas.ts: Shared infrastructure or helper module. Named exports: ALLOWED_OFFICIAL_MARKETPLACE_NAMES, isMarketplaceAutoUpdate, BLOCKED_OFFICIAL_NAME_PATTERN, isBlockedOfficialName, OFFICIAL_GITHUB_ORG, validateOfficialNameSource, .... External packages imported here: zod/v4. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/plugins/validatePlugin.ts: Shared infrastructure or helper module. Named exports: ValidationResult, ValidationError, ValidationWarning, validatePluginManifest, validateMarketplaceManifest, validatePluginContents, .... External packages imported here: fs/promises, path, zod/v4. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/plugins/walkPluginMarkdown.ts: Shared infrastructure or helper module. Named exports: walkPluginMarkdown. External packages imported here: path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/plugins/zipCache.ts: Shared infrastructure or helper module. Named exports: isPluginZipCacheEnabled, getPluginZipCachePath, getZipCacheKnownMarketplacesPath, getZipCacheInstalledPluginsPath, getZipCacheMarketplacesDir, getZipCachePluginsDir, .... Environment variables read here: CLAUDE_CODE_PLUGIN_CACHE_DIR, CLAUDE_CODE_PLUGIN_USE_ZIP_CACHE. External packages imported here: crypto, , , . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/plugins/zipCacheAdapters.ts: Shared infrastructure or helper module. Named exports: readZipCacheKnownMarketplaces, writeZipCacheKnownMarketplaces, readMarketplaceJson, saveMarketplaceJsonToZipCache, syncMarketplacesToZipCache. External packages imported here: fs/promises, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/powershell/dangerousCmdlets.ts: Shared infrastructure or helper module. Named exports: FILEPATH_EXECUTION_CMDLETS, DANGEROUS_SCRIPT_BLOCK_CMDLETS, MODULE_LOADING_CMDLETS, NETWORK_CMDLETS, ALIAS_HIJACK_CMDLETS, WMI_CIM_CMDLETS, .... Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/powershell/parser.ts: Shared infrastructure or helper module. Named exports: CommandElementChild, ParsedCommandElement, ParsedPowerShellCommand, RawCommandElement, RawRedirection, RawPipelineElement, .... Environment variables read here: CLAUDE_CODE_PWSH_PARSE_TIMEOUT_MS. External packages imported here: execa. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/powershell/staticPrefix.ts: Shared infrastructure or helper module. Named exports: getCommandPrefixStatic, getCompoundCommandPrefixesStatic. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/preflightChecks.tsx: Shared infrastructure or helper module. Named exports: PreflightCheckResult, PreflightStep. External packages imported here: axios, react, react/compiler-runtime. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/privacyLevel.ts: Shared infrastructure or helper module. Named exports: getPrivacyLevel, isEssentialTrafficOnly, isTelemetryDisabled, getEssentialTrafficOnlyReason. Environment variables read here: CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC, DISABLE_TELEMETRY. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/process.ts: Shared infrastructure or helper module. Named exports: registerProcessOutputErrorHandlers, writeToStdout, writeToStderr, exitWithError, peekForStdinData. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/processUserInput/processBashCommand.tsx: Shared infrastructure or helper module. Named exports: processBashCommand. External packages imported here: crypto, react. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/processUserInput/processSlashCommand.tsx: Shared infrastructure or helper module. Named exports: looksLikeCommand, processSlashCommand, formatSkillLoadingMetadata, processPromptSlashCommand. Environment variables read here: CLAUDE_CODE_COORDINATOR_MODE. External packages imported here: bun:bundle, crypto. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/processUserInput/processTextPrompt.ts: Shared infrastructure or helper module. Named exports: processTextPrompt. External packages imported here: crypto. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/processUserInput/processUserInput.ts: Shared infrastructure or helper module. Named exports: ProcessUserInputContext, ProcessUserInputBaseResult, processUserInput. External packages imported here: bun:bundle, crypto. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/profilerBase.ts: Shared infrastructure or helper module. Named exports: getPerformance, formatMs, formatTimelineLine. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/promptCategory.ts: Shared infrastructure or helper module. Named exports: getQuerySourceForAgent, getQuerySourceForREPL. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/promptEditor.ts: Shared infrastructure or helper module. Named exports: EditorResult, editFileInEditor, editPromptInEditor. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/promptShellExecution.ts: Shared infrastructure or helper module. Named exports: executeShellCommandsInPrompt. External packages imported here: crypto. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/proxy.ts: Shared infrastructure or helper module. Named exports: disableKeepAlive, _resetKeepAliveForTesting, getAddressFamily, getProxyUrl, getNoProxy, shouldBypassProxy, .... Environment variables read here: ANTHROPIC_UNIX_SOCKET, CLAUDE_CODE_PROXY_RESOLVES_HOSTS, HTTPS_PROXY, , . External packages imported here: , , . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/queryContext.ts: Shared infrastructure or helper module. Named exports: fetchSystemPromptParts, buildSideQuestionFallbackParams. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/QueryGuard.ts: Shared infrastructure or helper module. Named exports: QueryGuard. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/queryHelpers.ts: Shared infrastructure or helper module. Named exports: PermissionPromptTool, isResultSuccessful, extractReadFilesFromMessages, extractBashToolsFromMessages. Environment variables read here: CLAUDE_CODE_CONTAINER_ID, CLAUDE_CODE_REMOTE. External packages imported here: lodash-es/last.js. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/queryProfiler.ts: Shared infrastructure or helper module. Named exports: startQueryProfile, queryCheckpoint, endQueryProfile, logQueryProfileReport. Environment variables read here: CLAUDE_CODE_PROFILE_QUERY. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/queueProcessor.ts: Shared infrastructure or helper module. Named exports: processQueueIfReady, hasQueuedCommands. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/readEditContext.ts: Shared infrastructure or helper module. Named exports: CHUNK_SIZE, MAX_SCAN_BYTES, EditContext, readEditContext, openForScan, scanForContext, .... External packages imported here: fs/promises. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/readFileInRange.ts: Shared infrastructure or helper module. Named exports: ReadFileRangeResult, FileTooLargeError, readFileInRange. External packages imported here: fs, fs/promises. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/releaseNotes.ts: Shared infrastructure or helper module. Named exports: CHANGELOG_URL, _resetChangelogCacheForTesting, migrateChangelogFromConfig, fetchAndStoreChangelog, getStoredChangelog, getStoredChangelogFromMemory, .... Environment variables read here: USER_TYPE. External packages imported here: axios, fs/promises, , . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/renderOptions.ts: Shared infrastructure or helper module. Named exports: getBaseRenderOptions. Environment variables read here: CI. External packages imported here: fs, tty. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/ripgrep.ts: Shared infrastructure or helper module. Named exports: ripgrepCommand, RipgrepTimeoutError, ripGrepStream, ripGrep, countFilesRoundedRg, getRipgrepStatus. Environment variables read here: CLAUDE_CODE_GLOB_TIMEOUT_SECONDS, NODE_ENV, USE_BUILTIN_RIPGREP. External packages imported here: , , , , . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/sandbox/sandbox-adapter.ts: Shared infrastructure or helper module. Named exports: resolvePathPatternForSandbox, resolveSandboxFilesystemPath, shouldAllowManagedSandboxDomainsOnly, convertToSandboxRuntimeConfig, addToExcludedCommands, ISandboxManager, .... External packages imported here: @anthropic-ai/sandbox-runtime, fs, fs/promises, , . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/sandbox/sandbox-ui-utils.ts: Shared infrastructure or helper module. Named exports: removeSandboxViolationTags. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/sanitization.ts: Shared infrastructure or helper module. Named exports: partiallySanitizeUnicode, recursivelySanitizeUnicode. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/screenshotClipboard.ts: Shared infrastructure or helper module. Named exports: copyAnsiToClipboard. External packages imported here: fs/promises, os, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/sdkEventQueue.ts: Shared infrastructure or helper module. Named exports: SdkEvent, enqueueSdkEvent, drainSdkEvents, emitTaskTerminatedSdk. External packages imported here: crypto. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/secureStorage/fallbackStorage.ts: Shared infrastructure or helper module. Named exports: createFallbackStorage. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/secureStorage/index.ts: Index or entry module for its directory. Named exports: getSecureStorage. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/secureStorage/keychainPrefetch.ts: Shared infrastructure or helper module. Named exports: startKeychainPrefetch, ensureKeychainPrefetchCompleted, getLegacyApiKeyPrefetchResult, clearLegacyApiKeyPrefetch. External packages imported here: child_process. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/secureStorage/macOsKeychainHelpers.ts: Shared infrastructure or helper module. Named exports: CREDENTIALS_SERVICE_SUFFIX, getMacOsKeychainStorageServiceName, getUsername, KEYCHAIN_CACHE_TTL_MS, keychainCacheState, clearKeychainCache, .... Environment variables read here: CLAUDE_CONFIG_DIR, USER. External packages imported here: crypto, . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/secureStorage/macOsKeychainStorage.ts: Shared infrastructure or helper module. Named exports: macOsKeychainStorage, isMacOsKeychainLocked. External packages imported here: execa. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/secureStorage/plainTextStorage.ts: Shared infrastructure or helper module. Named exports: plainTextStorage. External packages imported here: fs, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/semanticBoolean.ts: Shared infrastructure or helper module. Named exports: semanticBoolean. External packages imported here: zod/v4. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/semanticNumber.ts: Shared infrastructure or helper module. Named exports: semanticNumber. External packages imported here: zod/v4. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/semver.ts: Shared infrastructure or helper module. Named exports: gt, gte, lt, lte, satisfies, order. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/sequential.ts: Shared infrastructure or helper module. Named exports: sequential. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/sessionActivity.ts: Shared infrastructure or helper module. Named exports: SessionActivityReason, registerSessionActivityCallback, unregisterSessionActivityCallback, sendSessionActivitySignal, isSessionActivityTrackingActive, startSessionActivity, .... Environment variables read here: CLAUDE_CODE_REMOTE_SEND_KEEPALIVES. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/sessionEnvironment.ts: Shared infrastructure or helper module. Named exports: getSessionEnvDirPath, getHookEnvFilePath, clearCwdEnvFiles, invalidateSessionEnvCache, getSessionEnvironmentScript. Environment variables read here: CLAUDE_ENV_FILE. External packages imported here: fs/promises, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/sessionEnvVars.ts: Shared infrastructure or helper module. Named exports: getSessionEnvVars, setSessionEnvVar, deleteSessionEnvVar, clearSessionEnvVars. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/sessionFileAccessHooks.ts: Shared infrastructure or helper module. Named exports: isMemoryFileAccess, registerSessionFileAccessHooks. External packages imported here: bun:bundle. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/sessionIngressAuth.ts: Shared infrastructure or helper module. Named exports: getSessionIngressAuthToken, getSessionIngressAuthHeaders, updateSessionIngressAuthToken. Environment variables read here: CLAUDE_CODE_ORGANIZATION_UUID, CLAUDE_CODE_SESSION_ACCESS_TOKEN, CLAUDE_CODE_WEBSOCKET_AUTH_FILE_DESCRIPTOR, CLAUDE_SESSION_INGRESS_TOKEN_FILE. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/sessionRestore.ts: Shared infrastructure or helper module. Named exports: restoreSessionStateFromLog, computeRestoredAttributionState, computeStandaloneAgentContext, restoreAgentFromSession, refreshAgentDefinitionsForModeSwitch, ProcessedResume, .... External packages imported here: bun:bundle, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/sessionStart.ts: Shared infrastructure or helper module. Named exports: takeInitialUserMessage, processSessionStartHooks, processSetupHooks. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/sessionState.ts: Shared infrastructure or helper module. Named exports: SessionState, RequiresActionDetails, SessionExternalMetadata, setSessionStateChangedListener, setSessionMetadataChangedListener, setPermissionModeChangedListener, .... Environment variables read here: CLAUDE_CODE_EMIT_SESSION_STATE_EVENTS. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/sessionStorage.ts: Shared infrastructure or helper module. Named exports: isTranscriptMessage, isChainParticipant, isEphemeralToolProgress, getProjectsDir, getTranscriptPath, getTranscriptPathForSession, .... Environment variables read here: CLAUDE_CODE_DISABLE_PRECOMPACT_SKIP, CLAUDE_CODE_ENTRYPOINT, CLAUDE_CODE_SAVE_HOOK_ADDITIONAL_CONTEXT, , , , .... External packages imported here: , , , , . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/sessionStoragePortable.ts: Shared infrastructure or helper module. Named exports: LITE_READ_BUF_SIZE, validateUuid, unescapeJsonString, extractJsonStringField, extractLastJsonStringField, extractFirstPromptFromHead, .... External packages imported here: fs/promises, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/sessionTitle.ts: Shared infrastructure or helper module. Named exports: extractConversationText, generateSessionTitle. External packages imported here: zod/v4. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/sessionUrl.ts: Shared infrastructure or helper module. Named exports: ParsedSessionUrl, parseSessionIdentifier. External packages imported here: crypto. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/set.ts: Shared infrastructure or helper module. Named exports: difference, intersects, every, union. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/settings/allErrors.ts: Shared infrastructure or helper module. Named exports: getSettingsWithAllErrors. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/settings/applySettingsChange.ts: Shared infrastructure or helper module. Named exports: applySettingsChange. Environment variables read here: CLAUDE_CODE_ENTRYPOINT, USER_TYPE. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/settings/changeDetector.ts: Shared infrastructure or helper module. Named exports: initialize, dispose, subscribe, notifyChange, resetForTesting, settingsChangeDetector. External packages imported here: chokidar, fs/promises, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/settings/constants.ts: Shared infrastructure or helper module. Named exports: SETTING_SOURCES, SettingSource, getSettingSourceName, getSourceDisplayName, getSettingSourceDisplayNameLowercase, getSettingSourceDisplayNameCapitalized, .... Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/settings/internalWrites.ts: Shared infrastructure or helper module. Named exports: markInternalWrite, consumeInternalWrite, clearInternalWrites. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/settings/managedPath.ts: Shared infrastructure or helper module. Named exports: getManagedFilePath, getManagedSettingsDropInDir. Environment variables read here: CLAUDE_CODE_MANAGED_SETTINGS_PATH, USER_TYPE. External packages imported here: lodash-es/memoize.js, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/settings/mdm/constants.ts: Shared infrastructure or helper module. Named exports: MACOS_PREFERENCE_DOMAIN, WINDOWS_REGISTRY_KEY_PATH_HKLM, WINDOWS_REGISTRY_KEY_PATH_HKCU, WINDOWS_REGISTRY_VALUE_NAME, PLUTIL_PATH, PLUTIL_ARGS_PREFIX, .... Environment variables read here: USER_TYPE. External packages imported here: os, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/settings/mdm/rawRead.ts: Shared infrastructure or helper module. Named exports: RawReadResult, fireRawRead, startMdmRawRead, getMdmRawReadPromise. External packages imported here: child_process, fs. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/settings/mdm/settings.ts: Shared infrastructure or helper module. Named exports: startMdmSettingsLoad, ensureMdmSettingsLoaded, getMdmSettings, getHkcuSettings, clearMdmSettingsCache, setMdmSettingsCache, .... External packages imported here: path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/settings/permissionValidation.ts: Shared infrastructure or helper module. Named exports: validatePermissionRule, PermissionRuleSchema. External packages imported here: zod/v4. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/settings/pluginOnlyPolicy.ts: Shared infrastructure or helper module. Named exports: CustomizationSurface, isRestrictedToPluginOnly, isSourceAdminTrusted. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/settings/schemaOutput.ts: Shared infrastructure or helper module. Named exports: generateSettingsJSONSchema. External packages imported here: zod/v4. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/settings/settings.ts: Shared infrastructure or helper module. Named exports: loadManagedFileSettings, getManagedFileSettingsPresence, parseSettingsFile, getSettingsRootPathForSource, getSettingsFilePathForSource, getRelativeSettingsFilePathForSource, .... Environment variables read here: CLAUDE_CODE_USE_COWORK_PLUGINS, USER_TYPE. External packages imported here: bun:bundle, , , . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/settings/settingsCache.ts: Shared infrastructure or helper module. Named exports: getSessionSettingsCache, setSessionSettingsCache, getCachedSettingsForSource, setCachedSettingsForSource, getCachedParsedFile, setCachedParsedFile, .... Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/settings/toolValidationConfig.ts: Shared infrastructure or helper module. Named exports: ToolValidationConfig, TOOL_VALIDATION_CONFIG, isFilePatternTool, isBashPrefixTool, getCustomValidation. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/settings/types.ts: Shared infrastructure or helper module. Named exports: EnvironmentVariablesSchema, PermissionsSchema, ExtraKnownMarketplaceSchema, AllowedMcpServerEntrySchema, DeniedMcpServerEntrySchema, CUSTOMIZATION_SURFACES, .... Environment variables read here: CLAUDE_CODE_ENABLE_XAA, USER_TYPE. External packages imported here: bun:bundle, . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/settings/validateEditTool.ts: Shared infrastructure or helper module. Named exports: validateInputForSettingsFileEdit. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/settings/validation.ts: Shared infrastructure or helper module. Named exports: FieldPath, ValidationError, SettingsWithErrors, formatZodError, validateSettingsFileContent, filterInvalidPermissionRules. Environment variables read here: DEBUG. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/settings/validationTips.ts: Shared infrastructure or helper module. Named exports: ValidationTip, TipContext, getValidationTip. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/Shell.ts: Shared infrastructure or helper module. Named exports: ShellConfig, findSuitableShell, getShellConfig, getPsProvider, ExecOptions, exec, .... Environment variables read here: CLAUDE_CODE_SHELL, CLAUDE_CODE_TMPDIR, NODE_ENV, SHELL, . External packages imported here: , , , , , .... Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/shell/bashProvider.ts: Shared infrastructure or helper module. Named exports: createBashShellProvider. Environment variables read here: CLAUDE_CODE_SHELL_PREFIX, CLAUDE_CODE_TMPDIR, TMPDIR, TMPPREFIX, TMUX, USER_TYPE. External packages imported here: bun:bundle, fs/promises, os, , . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/shell/outputLimits.ts: Shared infrastructure or helper module. Named exports: BASH_MAX_OUTPUT_UPPER_LIMIT, BASH_MAX_OUTPUT_DEFAULT, getMaxOutputLength. Environment variables read here: BASH_MAX_OUTPUT_LENGTH. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/shell/powershellDetection.ts: Shared infrastructure or helper module. Named exports: findPowerShell, getCachedPowerShellPath, PowerShellEdition, getPowerShellEdition, resetPowerShellCache. External packages imported here: fs/promises. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/shell/powershellProvider.ts: Shared infrastructure or helper module. Named exports: buildPowerShellArgs, createPowerShellProvider. Environment variables read here: CLAUDE_CODE_TMPDIR, TMPDIR. External packages imported here: os, path, path/posix. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/shell/prefix.ts: Shared infrastructure or helper module. Named exports: CommandPrefixResult, CommandSubcommandPrefixResult, PrefixExtractorConfig, createCommandPrefixExtractor, createSubcommandPrefixExtractor. Environment variables read here: NODE_ENV. External packages imported here: chalk. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/shell/readOnlyCommandValidation.ts: Shared infrastructure or helper module. Named exports: FlagArgType, ExternalCommandConfig, GIT_READ_ONLY_COMMANDS, GH_READ_ONLY_COMMANDS, DOCKER_READ_ONLY_COMMANDS, RIPGREP_READ_ONLY_COMMANDS, .... Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/shell/resolveDefaultShell.ts: Shared infrastructure or helper module. Named exports: resolveDefaultShell. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/shell/shellProvider.ts: Shared infrastructure or helper module. Named exports: SHELL_TYPES, ShellType, DEFAULT_HOOK_SHELL, ShellProvider. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/shell/shellToolUtils.ts: Shared infrastructure or helper module. Named exports: SHELL_TOOL_NAMES, isPowerShellToolEnabled. Environment variables read here: CLAUDE_CODE_USE_POWERSHELL_TOOL, USER_TYPE. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/shell/specPrefix.ts: Shared infrastructure or helper module. Named exports: DEPTH_RULES, buildPrefix. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/ShellCommand.ts: Shared infrastructure or helper module. Named exports: ExecResult, ShellCommand, wrapSpawn, createAbortedCommand, createFailedCommand. External packages imported here: fs/promises, tree-kill. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/shellConfig.ts: Shared infrastructure or helper module. Named exports: CLAUDE_ALIAS_REGEX, getShellConfigPaths, filterClaudeAliases, readFileLines, writeFileLines, findClaudeAlias, .... Environment variables read here: ZDOTDIR. External packages imported here: fs/promises, os, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/sideQuery.ts: Shared infrastructure or helper module. Named exports: SideQueryOptions, sideQuery. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/sideQuestion.ts: Shared infrastructure or helper module. Named exports: findBtwTriggerPositions, SideQuestionResult, runSideQuestion. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/signal.ts: Shared infrastructure or helper module. Named exports: subscribe, Signal, createSignal. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/sinks.ts: Shared infrastructure or helper module. Named exports: initSinks. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/skills/skillChangeDetector.ts: Shared infrastructure or helper module. Named exports: initialize, dispose, subscribe, resetForTesting, skillChangeDetector. External packages imported here: chokidar, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/slashCommandParsing.ts: Shared infrastructure or helper module. Named exports: ParsedSlashCommand, parseSlashCommand. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/sleep.ts: Shared infrastructure or helper module. Named exports: sleep, withTimeout. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/sliceAnsi.ts: Shared infrastructure or helper module. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. External packages imported here: @alcalzone/ansi-tokenize. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/slowOperations.ts: Shared infrastructure or helper module. Named exports: callerFrame, slowLogging, jsonStringify, jsonParse, clone, cloneDeep, .... Environment variables read here: CLAUDE_CODE_SLOW_OPERATION_THRESHOLD_MS, NODE_ENV, USER_TYPE. External packages imported here: bun:bundle, , . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/standaloneAgent.ts: Shared infrastructure or helper module. Named exports: getStandaloneAgentName. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/startupProfiler.ts: Shared infrastructure or helper module. Named exports: profileCheckpoint, profileReport, isDetailedProfilingEnabled, getStartupPerfLogPath, logStartupPerf. Environment variables read here: CLAUDE_CODE_PROFILE_STARTUP, USER_TYPE. External packages imported here: path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/staticRender.tsx: Shared infrastructure or helper module. Named exports: renderToAnsiString, renderToString. External packages imported here: react, react/compiler-runtime, stream, strip-ansi. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/stats.ts: Shared infrastructure or helper module. Named exports: DailyActivity, DailyModelTokens, StreakInfo, SessionStats, ClaudeCodeStats, aggregateClaudeCodeStats, .... External packages imported here: bun:bundle, fs/promises, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/statsCache.ts: Shared infrastructure or helper module. Named exports: STATS_CACHE_VERSION, withStatsCacheLock, PersistedStatsCache, getStatsCachePath, loadStatsCache, saveStatsCache, .... External packages imported here: bun:bundle, crypto, fs/promises, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/status.tsx: Shared infrastructure or helper module. Named exports: Property, Diagnostic, buildSandboxProperties, buildIDEProperties, buildMcpProperties, buildMemoryDiagnostics, .... Environment variables read here: ANTHROPIC_BASE_URL, ANTHROPIC_FOUNDRY_BASE_URL, ANTHROPIC_FOUNDRY_RESOURCE, , , , .... External packages imported here: , , . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/statusNoticeDefinitions.tsx: Shared infrastructure or helper module. Named exports: StatusNoticeType, StatusNoticeContext, StatusNoticeDefinition, statusNoticeDefinitions, getActiveNotices. External packages imported here: figures, path, react. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/statusNoticeHelpers.ts: Shared infrastructure or helper module. Named exports: AGENT_DESCRIPTIONS_THRESHOLD, getAgentDescriptionsTotalTokens. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/stream.ts: Shared infrastructure or helper module. Named exports: Stream. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/streamJsonStdoutGuard.ts: Shared infrastructure or helper module. Named exports: STDOUT_GUARD_MARKER, installStreamJsonStdoutGuard, _resetStreamJsonStdoutGuardForTesting. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/streamlinedTransform.ts: Shared infrastructure or helper module. Named exports: createStreamlinedTransformer, shouldIncludeInStreamlined. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/stringUtils.ts: Shared infrastructure or helper module. Named exports: escapeRegExp, capitalize, plural, firstLineOf, countCharInString, normalizeFullWidthDigits, .... Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/subprocessEnv.ts: Shared infrastructure or helper module. Named exports: registerUpstreamProxyEnvFn, subprocessEnv. Environment variables read here: CLAUDE_CODE_SUBPROCESS_ENV_SCRUB. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/suggestions/commandSuggestions.ts: Shared infrastructure or helper module. Named exports: MidInputSlashCommand, findMidInputSlashCommand, getBestCommandMatch, isCommandInput, hasCommandArgs, formatCommand, .... External packages imported here: fuse.js. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/suggestions/directoryCompletion.ts: Shared infrastructure or helper module. Named exports: DirectoryEntry, PathEntry, CompletionOptions, PathCompletionOptions, parsePartialPath, scanDirectory, .... External packages imported here: lru-cache, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/suggestions/shellHistoryCompletion.ts: Shared infrastructure or helper module. Named exports: ShellHistoryMatch, clearShellHistoryCache, prependToShellHistoryCache, getShellHistoryCompletion. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/suggestions/skillUsageTracking.ts: Shared infrastructure or helper module. Named exports: recordSkillUsage, getSkillUsageScore. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/suggestions/slackChannelSuggestions.ts: Shared infrastructure or helper module. Named exports: subscribeKnownChannels, hasSlackMcpServer, getKnownChannelsVersion, findSlackChannelPositions, getSlackChannelSuggestions, clearSlackChannelCache. External packages imported here: zod. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/swarm/backends/detection.ts: Shared infrastructure or helper module. Named exports: isInsideTmuxSync, isInsideTmux, getLeaderPaneId, isTmuxAvailable, isInITerm2, IT2_COMMAND, .... Environment variables read here: ITERM_SESSION_ID, TERM_PROGRAM, TMUX, TMUX_PANE. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/swarm/backends/InProcessBackend.ts: Shared infrastructure or helper module. Named exports: InProcessBackend, createInProcessBackend. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/swarm/backends/it2Setup.ts: Shared infrastructure or helper module. Named exports: PythonPackageManager, It2InstallResult, It2VerifyResult, detectPythonPackageManager, isIt2CliAvailable, installIt2, .... External packages imported here: os. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/swarm/backends/ITermBackend.ts: Shared infrastructure or helper module. Named exports: ITermBackend. Environment variables read here: ITERM_SESSION_ID. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/swarm/backends/PaneBackendExecutor.ts: Shared infrastructure or helper module. Named exports: PaneBackendExecutor, createPaneBackendExecutor. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/swarm/backends/registry.ts: Shared infrastructure or helper module. Named exports: ensureBackendsRegistered, registerTmuxBackend, registerITermBackend, detectAndGetBackend, getBackendByType, getCachedBackend, .... Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/swarm/backends/teammateModeSnapshot.ts: Shared infrastructure or helper module. Named exports: TeammateMode, setCliTeammateModeOverride, getCliTeammateModeOverride, clearCliTeammateModeOverride, captureTeammateModeSnapshot, getTeammateModeFromSnapshot. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/swarm/backends/TmuxBackend.ts: Shared infrastructure or helper module. Named exports: TmuxBackend. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/swarm/backends/types.ts: Shared infrastructure or helper module. Named exports: BackendType, PaneBackendType, PaneId, CreatePaneResult, PaneBackend, BackendDetectionResult, .... Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/swarm/constants.ts: Shared infrastructure or helper module. Named exports: TEAM_LEAD_NAME, SWARM_SESSION_NAME, SWARM_VIEW_WINDOW_NAME, TMUX_COMMAND, HIDDEN_SESSION_NAME, getSwarmSocketName, .... Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/swarm/inProcessRunner.ts: Shared infrastructure or helper module. Named exports: InProcessRunnerConfig, InProcessRunnerResult, runInProcessTeammate, startInProcessTeammate. Environment variables read here: USER_TYPE. External packages imported here: bun:bundle. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/swarm/It2SetupPrompt.tsx: Shared infrastructure or helper module. Named exports: It2SetupPrompt. External packages imported here: react, react/compiler-runtime. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/swarm/leaderPermissionBridge.ts: Shared infrastructure or helper module. Named exports: SetToolUseConfirmQueueFn, SetToolPermissionContextFn, registerLeaderToolUseConfirmQueue, getLeaderToolUseConfirmQueue, unregisterLeaderToolUseConfirmQueue, registerLeaderSetToolPermissionContext, .... Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/swarm/permissionSync.ts: Shared infrastructure or helper module. Named exports: SwarmPermissionRequestSchema, SwarmPermissionRequest, PermissionResolution, getPermissionDir, generateRequestId, createPermissionRequest, .... External packages imported here: fs/promises, path, zod/v4. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/swarm/reconnection.ts: Shared infrastructure or helper module. Named exports: computeInitialTeamContext, initializeTeammateContextFromSession. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/swarm/spawnInProcess.ts: Shared infrastructure or helper module. Named exports: SpawnContext, InProcessSpawnConfig, InProcessSpawnOutput, spawnInProcessTeammate, killInProcessTeammate. External packages imported here: lodash-es/sample.js. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/swarm/spawnUtils.ts: Shared infrastructure or helper module. Named exports: getTeammateCommand, buildInheritedCliFlags, buildInheritedEnvVars. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/swarm/teamHelpers.ts: Shared infrastructure or helper module. Named exports: inputSchema, SpawnTeamOutput, CleanupOutput, TeamAllowedPath, TeamFile, Input, .... External packages imported here: fs, fs/promises, path, zod/v4. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/swarm/teammateInit.ts: Shared infrastructure or helper module. Named exports: initializeTeammateHooks. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/swarm/teammateLayoutManager.ts: Shared infrastructure or helper module. Named exports: assignTeammateColor, getTeammateColor, clearTeammateColors, isInsideTmux, createTeammatePaneInSwarmView, enablePaneBorderStatus, .... Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/swarm/teammateModel.ts: Shared infrastructure or helper module. Named exports: getHardcodedTeammateModelFallback. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/swarm/teammatePromptAddendum.ts: Shared infrastructure or helper module. Named exports: TEAMMATE_SYSTEM_PROMPT_ADDENDUM. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/systemDirectories.ts: Shared infrastructure or helper module. Named exports: SystemDirectories, getSystemDirectories. Environment variables read here: USERPROFILE, XDG_DESKTOP_DIR, XDG_DOCUMENTS_DIR, XDG_DOWNLOAD_DIR. External packages imported here: os, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/systemPrompt.ts: Shared infrastructure or helper module. Named exports: buildEffectiveSystemPrompt. Environment variables read here: CLAUDE_CODE_COORDINATOR_MODE, USER_TYPE. External packages imported here: bun:bundle. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/systemPromptType.ts: Shared infrastructure or helper module. Named exports: SystemPrompt, asSystemPrompt. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/systemTheme.ts: Shared infrastructure or helper module. Named exports: SystemTheme, getSystemThemeName, setCachedSystemTheme, resolveThemeSetting, themeFromOscColor. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/taggedId.ts: Shared infrastructure or helper module. Named exports: toTaggedId. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/task/diskOutput.ts: Shared infrastructure or helper module. Named exports: MAX_TASK_OUTPUT_BYTES, MAX_TASK_OUTPUT_BYTES_DISPLAY, getTaskOutputDir, _resetTaskOutputDirForTest, getTaskOutputPath, DiskTaskOutput, .... External packages imported here: fs, fs/promises, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/task/framework.ts: Shared infrastructure or helper module. Named exports: POLL_INTERVAL_MS, STOPPED_DISPLAY_MS, PANEL_GRACE_MS, TaskAttachment, updateTaskState, registerTask, .... Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/task/outputFormatting.ts: Shared infrastructure or helper module. Named exports: TASK_MAX_OUTPUT_UPPER_LIMIT, TASK_MAX_OUTPUT_DEFAULT, getMaxTaskOutputLength, formatTaskOutput. Environment variables read here: TASK_MAX_OUTPUT_LENGTH. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/task/sdkProgress.ts: Shared infrastructure or helper module. Named exports: emitTaskProgress. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/task/TaskOutput.ts: Shared infrastructure or helper module. Named exports: TaskOutput. External packages imported here: fs/promises. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/tasks.ts: Shared infrastructure or helper module. Named exports: setLeaderTeamName, clearLeaderTeamName, onTasksUpdated, notifyTasksUpdated, TASK_STATUSES, TaskStatusSchema, .... Environment variables read here: CLAUDE_CODE_ENABLE_TASKS, CLAUDE_CODE_TASK_LIST_ID, USER_TYPE. External packages imported here: , , . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/teamDiscovery.ts: Shared infrastructure or helper module. Named exports: TeamSummary, TeammateStatus, getTeammateStatuses. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/teammate.ts: Shared infrastructure or helper module. Named exports: getParentSessionId, setDynamicTeamContext, clearDynamicTeamContext, getDynamicTeamContext, getAgentId, getAgentName, .... Environment variables read here: CLAUDE_CODE_PLAN_MODE_REQUIRED. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/teammateContext.ts: Shared infrastructure or helper module. Named exports: TeammateContext, getTeammateContext, runWithTeammateContext, isInProcessTeammate, createTeammateContext. External packages imported here: async_hooks. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/teammateMailbox.ts: Shared infrastructure or helper module. Named exports: TeammateMessage, getInboxPath, readMailbox, readUnreadMessages, writeToMailbox, markMessageAsReadByIndex, .... External packages imported here: fs/promises, path, zod/v4. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/teamMemoryOps.ts: Shared infrastructure or helper module. Named exports: isTeamMemorySearch, isTeamMemoryWriteOrEdit, appendTeamMemorySummaryParts. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/telemetry/betaSessionTracing.ts: Shared infrastructure or helper module. Named exports: clearBetaTracingState, isBetaTracingEnabled, truncateContent, LLMRequestNewContext, addBetaInteractionAttributes, addBetaLLMRequestAttributes, .... Environment variables read here: BETA_TRACING_ENDPOINT, ENABLE_BETA_TRACING_DETAILED, USER_TYPE. External packages imported here: . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/telemetry/bigqueryExporter.ts: Shared infrastructure or helper module. Named exports: BigQueryMetricsExporter. Environment variables read here: ANT_CLAUDE_CODE_METRICS_ENDPOINT, USER_TYPE. External packages imported here: @opentelemetry/core, @opentelemetry/sdk-metrics, axios. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/telemetry/events.ts: Shared infrastructure or helper module. Named exports: redactIfDisabled, logOTelEvent. Environment variables read here: CLAUDE_CODE_WORKSPACE_HOST_PATHS, NODE_ENV, OTEL_LOG_USER_PROMPTS. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/telemetry/instrumentation.ts: Shared infrastructure or helper module. Named exports: bootstrapTelemetry, parseExporterTypes, isTelemetryEnabled, initializeTelemetry, flushTelemetry. Environment variables read here: ANT_OTEL_EXPORTER_OTLP_ENDPOINT, ANT_OTEL_EXPORTER_OTLP_HEADERS, ANT_OTEL_EXPORTER_OTLP_PROTOCOL, ANT_OTEL_LOGS_EXPORTER, , , .... External packages imported here: , , , , , .... Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/telemetry/logger.ts: Shared infrastructure or helper module. Named exports: ClaudeCodeDiagLogger. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/telemetry/perfettoTracing.ts: Shared infrastructure or helper module. Named exports: TraceEventPhase, TraceEvent, initializePerfettoTracing, isPerfettoTracingEnabled, registerAgent, unregisterAgent, .... Environment variables read here: CLAUDE_CODE_PERFETTO_TRACE, CLAUDE_CODE_PERFETTO_WRITE_INTERVAL_S. External packages imported here: bun:bundle, , , . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/telemetry/pluginTelemetry.ts: Shared infrastructure or helper module. Named exports: hashPluginId, TelemetryPluginScope, getTelemetryPluginScope, EnabledVia, InvocationTrigger, SkillExecutionContext, .... External packages imported here: crypto, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/telemetry/sessionTracing.ts: Shared infrastructure or helper module. Named exports: isEnhancedTelemetryEnabled, startInteractionSpan, endInteractionSpan, startLLMRequestSpan, endLLMRequestSpan, startToolSpan, .... Environment variables read here: CLAUDE_CODE_ENHANCED_TELEMETRY_BETA, ENABLE_ENHANCED_TELEMETRY_BETA, OTEL_LOG_TOOL_CONTENT, , . External packages imported here: , , . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/telemetry/skillLoadedEvent.ts: Shared infrastructure or helper module. Named exports: logSkillsLoaded. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/telemetryAttributes.ts: Shared infrastructure or helper module. Named exports: getTelemetryAttributes. Environment variables read here: CLAUDE_CODE_ACCOUNT_TAGGED_ID. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/teleport.tsx: Shared infrastructure or helper module. Named exports: TeleportResult, TeleportProgressStep, TeleportProgressCallback, validateGitState, processMessagesForTeleportResume, checkOutTeleportedSessionBranch, .... Environment variables read here: CCR_ENABLE_BUNDLE, CCR_FORCE_BUNDLE. External packages imported here: axios, , , , . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/teleport/api.ts: Shared infrastructure or helper module. Named exports: CCR_BYOC_BETA, isTransientNetworkError, axiosGetWithRetry, SessionStatus, GitSource, KnowledgeBaseSource, .... External packages imported here: axios, crypto, zod/v4. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/teleport/environments.ts: Shared infrastructure or helper module. Named exports: EnvironmentKind, EnvironmentState, EnvironmentResource, EnvironmentListResponse, fetchEnvironments, createDefaultCloudEnvironment. External packages imported here: axios. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/teleport/environmentSelection.ts: Shared infrastructure or helper module. Named exports: EnvironmentSelectionInfo, getEnvironmentSelectionInfo. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/teleport/gitBundle.ts: Shared infrastructure or helper module. Named exports: BundleUploadResult, createAndUploadGitBundle. External packages imported here: fs/promises. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/tempfile.ts: Shared infrastructure or helper module. Named exports: generateTempFilePath. External packages imported here: crypto, os, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/terminal.ts: Shared infrastructure or helper module. Named exports: renderTruncatedContent, isOutputLineTruncated. External packages imported here: chalk. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/terminalPanel.ts: Shared infrastructure or helper module. Named exports: getTerminalPanelSocket, getTerminalPanel. Environment variables read here: SHELL. External packages imported here: child_process. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/textHighlighting.ts: Shared infrastructure or helper module. Named exports: TextHighlight, TextSegment, segmentTextByHighlights. External packages imported here: @alcalzone/ansi-tokenize. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/theme.ts: Shared infrastructure or helper module. Named exports: Theme, THEME_NAMES, ThemeName, THEME_SETTINGS, ThemeSetting, getTheme, .... External packages imported here: chalk. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/thinking.ts: Shared infrastructure or helper module. Named exports: ThinkingConfig, isUltrathinkEnabled, hasUltrathinkKeyword, findThinkingTriggerPositions, getRainbowColor, modelSupportsThinking, .... Environment variables read here: MAX_THINKING_TOKENS, USER_TYPE. External packages imported here: bun:bundle. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/timeouts.ts: Shared infrastructure or helper module. Named exports: getDefaultBashTimeoutMs, getMaxBashTimeoutMs. Environment variables read here: BASH_DEFAULT_TIMEOUT_MS, BASH_MAX_TIMEOUT_MS. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/tmuxSocket.ts: Shared infrastructure or helper module. Named exports: getClaudeSocketName, getClaudeSocketPath, setClaudeSocketInfo, isSocketInitialized, getClaudeTmuxEnv, checkTmuxAvailable, .... Environment variables read here: TMPDIR. External packages imported here: path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/todo/types.ts: Shared infrastructure or helper module. Named exports: TodoItemSchema, TodoItem, TodoListSchema, TodoList. External packages imported here: zod/v4. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/tokenBudget.ts: Shared infrastructure or helper module. Named exports: parseTokenBudget, findTokenBudgetPositions, getBudgetContinuationMessage. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/tokens.ts: Shared infrastructure or helper module. Named exports: getTokenUsage, getTokenCountFromUsage, tokenCountFromLastAPIResponse, finalContextTokensFromLastResponse, messageTokenCountFromLastAPIResponse, getCurrentUsage, .... Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/toolErrors.ts: Shared infrastructure or helper module. Named exports: formatError, getErrorParts, formatZodValidationError. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/toolPool.ts: Shared infrastructure or helper module. Named exports: isPrActivitySubscriptionTool, applyCoordinatorToolFilter, mergeAndFilterTools. External packages imported here: bun:bundle, lodash-es/partition.js, lodash-es/uniqBy.js. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/toolResultStorage.ts: Shared infrastructure or helper module. Named exports: TOOL_RESULTS_SUBDIR, PERSISTED_OUTPUT_TAG, PERSISTED_OUTPUT_CLOSING_TAG, TOOL_RESULT_CLEARED_MESSAGE, getPersistenceThreshold, PersistedToolResult, .... External packages imported here: fs/promises, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/toolSchemaCache.ts: Shared infrastructure or helper module. Named exports: getToolSchemaCache, clearToolSchemaCache. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/toolSearch.ts: Shared infrastructure or helper module. Named exports: getAutoToolSearchCharThreshold, ToolSearchMode, getToolSearchMode, modelSupportsToolReference, isToolSearchEnabledOptimistic, isToolSearchToolAvailable, .... Environment variables read here: ANTHROPIC_BASE_URL, CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS, ENABLE_TOOL_SEARCH, . External packages imported here: . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/transcriptSearch.ts: Shared infrastructure or helper module. Named exports: renderableSearchText, toolUseSearchText, toolResultSearchText. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/treeify.ts: Shared infrastructure or helper module. Named exports: TreeNode, TreeifyOptions, treeify. External packages imported here: figures. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/truncate.ts: Shared infrastructure or helper module. Named exports: truncatePathMiddle, truncateToWidth, truncateStartToWidth, truncateToWidthNoEllipsis, truncate, wrapText. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/ultraplan/ccrSession.ts: Shared infrastructure or helper module. Named exports: PollFailReason, UltraplanPollError, ULTRAPLAN_TELEPORT_SENTINEL, ScanResult, UltraplanPhase, ExitPlanModeScanner, .... Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/ultraplan/keyword.ts: Shared infrastructure or helper module. Named exports: findUltraplanTriggerPositions, findUltrareviewTriggerPositions, hasUltraplanKeyword, hasUltrareviewKeyword, replaceUltraplanKeyword. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/unaryLogging.ts: Shared infrastructure or helper module. Named exports: CompletionType, logUnaryEvent. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/undercover.ts: Shared infrastructure or helper module. Named exports: isUndercover, getUndercoverInstructions, shouldShowUndercoverAutoNotice. Environment variables read here: CLAUDE_CODE_UNDERCOVER, USER_TYPE. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/user.ts: Shared infrastructure or helper module. Named exports: GitHubActionsMetadata, CoreUserData, initUser, resetUserCache, getCoreUserData, getUserForGrowthBook, .... Environment variables read here: COO_CREATOR, GITHUB_ACTIONS, GITHUB_ACTOR, GITHUB_ACTOR_ID, , , .... External packages imported here: , . Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/userAgent.ts: Shared infrastructure or helper module. Named exports: getClaudeCodeUserAgent. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/userPromptKeywords.ts: Shared infrastructure or helper module. Named exports: matchesNegativeKeyword, matchesKeepGoingKeyword. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/uuid.ts: Shared infrastructure or helper module. Named exports: validateUuid, createAgentId. External packages imported here: crypto. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/warningHandler.ts: Shared infrastructure or helper module. Named exports: MAX_WARNING_KEYS, resetWarningHandler, initializeWarningHandler. Environment variables read here: CLAUDE_DEBUG, NODE_ENV, USER_TYPE. External packages imported here: path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/which.ts: Shared infrastructure or helper module. Named exports: which, whichSync. External packages imported here: execa. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/windowsPaths.ts: Shared infrastructure or helper module. Named exports: setShellIfWindows, findGitBashPath, windowsPathToPosixPath, posixPathToWindowsPath. Environment variables read here: CLAUDE_CODE_GIT_BASH_PATH, SHELL. External packages imported here: lodash-es/memoize.js, path, path/win32. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/withResolvers.ts: Shared infrastructure or helper module. Named exports: withResolvers. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/words.ts: Shared infrastructure or helper module. Named exports: generateWordSlug, generateShortWordSlug. External packages imported here: crypto. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/workloadContext.ts: Shared infrastructure or helper module. Named exports: Workload, WORKLOAD_CRON, getWorkload, runWithWorkload. External packages imported here: async_hooks. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/worktree.ts: Shared infrastructure or helper module. Named exports: validateWorktreeSlug, WorktreeSession, getCurrentWorktreeSession, restoreWorktreeSession, generateTmuxSessionName, worktreeBranchName, .... Environment variables read here: TMUX, USER_TYPE. External packages imported here: bun:bundle, , , , , .... Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/worktreeModeEnabled.ts: Shared infrastructure or helper module. Named exports: isWorktreeModeEnabled. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/xdg.ts: Shared infrastructure or helper module. Named exports: getXDGStateHome, getXDGCacheHome, getXDGDataHome, getUserBinDir. Environment variables read here: HOME, XDG_CACHE_HOME, XDG_DATA_HOME, XDG_STATE_HOME. External packages imported here: os, path. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/xml.ts: Shared infrastructure or helper module. Named exports: escapeXml, escapeXmlAttr. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/yaml.ts: Shared infrastructure or helper module. Named exports: parseYaml. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.
    • utils/zodToJsonSchema.ts: Shared infrastructure or helper module. Named exports: JsonSchema7Type, zodToJsonSchema. External packages imported here: zod/v4. Area context: Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue.

    types

    Shared type definitions and generated event or protobuf models. This section covers 11 file(s).

    • types/command.ts: Type contract module. Named exports: LocalCommandResult, PromptCommand, LocalCommandCall, LocalCommandModule, LocalJSXCommandContext, ResumeEntrypoint, .... Area context: Shared type definitions and generated event or protobuf models.
    • types/generated/events_mono/claude_code/v1/claude_code_internal_event.ts: Type contract module. Named exports: GitHubActionsMetadata, EnvironmentMetadata, SlackContext, ClaudeCodeInternalEvent. Area context: Shared type definitions and generated event or protobuf models.
    • types/generated/events_mono/common/v1/auth.ts: Type contract module. Named exports: PublicApiAuth. Area context: Shared type definitions and generated event or protobuf models.
    • types/generated/events_mono/growthbook/v1/growthbook_experiment_event.ts: Type contract module. Named exports: GrowthbookExperimentEvent. Area context: Shared type definitions and generated event or protobuf models.
    • types/generated/google/protobuf/timestamp.ts: Type contract module. Named exports: Timestamp. Area context: Shared type definitions and generated event or protobuf models.
    • types/hooks.ts: Type contract module. Named exports: isHookEvent, promptRequestSchema, PromptRequest, PromptResponse, syncHookResponseSchema, hookJSONOutputSchema, .... External packages imported here: zod/v4. Area context: Shared type definitions and generated event or protobuf models.
    • types/ids.ts: Type contract module. Named exports: SessionId, AgentId, asSessionId, asAgentId, toAgentId. Area context: Shared type definitions and generated event or protobuf models.
    • types/logs.ts: Type contract module. Named exports: SerializedMessage, LogOption, SummaryMessage, CustomTitleMessage, AiTitleMessage, LastPromptMessage, .... Area context: Shared type definitions and generated event or protobuf models.
    • types/permissions.ts: Type contract module. Named exports: EXTERNAL_PERMISSION_MODES, ExternalPermissionMode, InternalPermissionMode, PermissionMode, INTERNAL_PERMISSION_MODES, PERMISSION_MODES, .... External packages imported here: bun:bundle. Area context: Shared type definitions and generated event or protobuf models.
    • types/plugin.ts: Type contract module. Named exports: BuiltinPluginDefinition, PluginRepository, PluginConfig, LoadedPlugin, PluginComponent, PluginError, .... Area context: Shared type definitions and generated event or protobuf models.
    • types/textInputTypes.ts: Type contract module. Named exports: InlineGhostText, BaseTextInputProps, VimTextInputProps, VimMode, BaseInputState, TextInputState, .... Area context: Shared type definitions and generated event or protobuf models.

    constants

    Static constants, prompt fragments, beta headers, XML tags, and product metadata. This section covers 21 file(s).

    • constants/apiLimits.ts: Module under constants. Named exports: API_IMAGE_MAX_BASE64_SIZE, IMAGE_TARGET_RAW_SIZE, IMAGE_MAX_WIDTH, IMAGE_MAX_HEIGHT, PDF_TARGET_RAW_SIZE, API_PDF_MAX_PAGES, .... Area context: Static constants, prompt fragments, beta headers, XML tags, and product metadata.
    • constants/betas.ts: Module under constants. Named exports: CLAUDE_CODE_20250219_BETA_HEADER, INTERLEAVED_THINKING_BETA_HEADER, CONTEXT_1M_BETA_HEADER, CONTEXT_MANAGEMENT_BETA_HEADER, STRUCTURED_OUTPUTS_BETA_HEADER, WEB_SEARCH_BETA_HEADER, .... Environment variables read here: USER_TYPE. External packages imported here: bun:bundle. Area context: Static constants, prompt fragments, beta headers, XML tags, and product metadata.
    • constants/common.ts: Module under constants. Named exports: getLocalISODate, getSessionStartDate, getLocalMonthYear. Environment variables read here: CLAUDE_CODE_OVERRIDE_DATE. External packages imported here: lodash-es/memoize.js. Area context: Static constants, prompt fragments, beta headers, XML tags, and product metadata.
    • constants/cyberRiskInstruction.ts: Module under constants. Named exports: CYBER_RISK_INSTRUCTION. Area context: Static constants, prompt fragments, beta headers, XML tags, and product metadata.
    • constants/errorIds.ts: Module under constants. Named exports: E_TOOL_USE_SUMMARY_GENERATION_FAILED. Area context: Static constants, prompt fragments, beta headers, XML tags, and product metadata.
    • constants/figures.ts: Module under constants. Named exports: BLACK_CIRCLE, BULLET_OPERATOR, TEARDROP_ASTERISK, UP_ARROW, DOWN_ARROW, LIGHTNING_BOLT, .... Area context: Static constants, prompt fragments, beta headers, XML tags, and product metadata.
    • constants/files.ts: Module under constants. Named exports: BINARY_EXTENSIONS, hasBinaryExtension, isBinaryContent. Area context: Static constants, prompt fragments, beta headers, XML tags, and product metadata.
    • constants/github-app.ts: Module under constants. Named exports: PR_TITLE, GITHUB_ACTION_SETUP_DOCS_URL, WORKFLOW_CONTENT, PR_BODY, CODE_REVIEW_PLUGIN_WORKFLOW_CONTENT. Area context: Static constants, prompt fragments, beta headers, XML tags, and product metadata.
    • constants/keys.ts: Module under constants. Named exports: getGrowthBookClientKey. Environment variables read here: ENABLE_GROWTHBOOK_DEV, USER_TYPE. Area context: Static constants, prompt fragments, beta headers, XML tags, and product metadata.
    • constants/messages.ts: Module under constants. Named exports: NO_CONTENT_MESSAGE. Area context: Static constants, prompt fragments, beta headers, XML tags, and product metadata.
    • constants/oauth.ts: Module under constants. Named exports: fileSuffixForOauthConfig, CLAUDE_AI_INFERENCE_SCOPE, CLAUDE_AI_PROFILE_SCOPE, OAUTH_BETA_HEADER, CONSOLE_OAUTH_SCOPES, CLAUDE_AI_OAUTH_SCOPES, .... Environment variables read here: CLAUDE_CODE_CUSTOM_OAUTH_URL, CLAUDE_CODE_OAUTH_CLIENT_ID, , , , , .... Area context: Static constants, prompt fragments, beta headers, XML tags, and product metadata.
    • constants/outputStyles.ts: Module under constants. Named exports: OutputStyleConfig, OutputStyles, DEFAULT_OUTPUT_STYLE_NAME, OUTPUT_STYLE_CONFIG, getAllOutputStyles, clearAllOutputStylesCache, .... External packages imported here: figures, lodash-es/memoize.js. Area context: Static constants, prompt fragments, beta headers, XML tags, and product metadata.
    • constants/product.ts: Module under constants. Named exports: PRODUCT_URL, CLAUDE_AI_BASE_URL, CLAUDE_AI_STAGING_BASE_URL, CLAUDE_AI_LOCAL_BASE_URL, isRemoteSessionStaging, isRemoteSessionLocal, .... Area context: Static constants, prompt fragments, beta headers, XML tags, and product metadata.
    • constants/prompts.ts: Module under constants. Named exports: CLAUDE_CODE_DOCS_MAP_URL, SYSTEM_PROMPT_DYNAMIC_BOUNDARY, prependBullets, getSystemPrompt, computeEnvInfo, computeSimpleEnvInfo, .... Environment variables read here: CLAUDE_CODE_SIMPLE, SHELL, USER_TYPE. External packages imported here: , . Area context: Static constants, prompt fragments, beta headers, XML tags, and product metadata.
    • constants/spinnerVerbs.ts: Module under constants. Named exports: getSpinnerVerbs, SPINNER_VERBS. Area context: Static constants, prompt fragments, beta headers, XML tags, and product metadata.
    • constants/system.ts: Module under constants. Named exports: CLISyspromptPrefix, CLI_SYSPROMPT_PREFIXES, getCLISyspromptPrefix, getAttributionHeader. Environment variables read here: CLAUDE_CODE_ATTRIBUTION_HEADER, CLAUDE_CODE_ENTRYPOINT. External packages imported here: bun:bundle. Area context: Static constants, prompt fragments, beta headers, XML tags, and product metadata.
    • constants/systemPromptSections.ts: Module under constants. Named exports: systemPromptSection, DANGEROUS_uncachedSystemPromptSection, resolveSystemPromptSections, clearSystemPromptSections. Area context: Static constants, prompt fragments, beta headers, XML tags, and product metadata.
    • constants/toolLimits.ts: Module under constants. Named exports: DEFAULT_MAX_RESULT_SIZE_CHARS, MAX_TOOL_RESULT_TOKENS, BYTES_PER_TOKEN, MAX_TOOL_RESULT_BYTES, MAX_TOOL_RESULTS_PER_MESSAGE_CHARS, TOOL_SUMMARY_MAX_LENGTH. Area context: Static constants, prompt fragments, beta headers, XML tags, and product metadata.
    • constants/tools.ts: Module under constants. Named exports: ALL_AGENT_DISALLOWED_TOOLS, CUSTOM_AGENT_DISALLOWED_TOOLS, ASYNC_AGENT_ALLOWED_TOOLS, IN_PROCESS_TEAMMATE_ALLOWED_TOOLS, COORDINATOR_MODE_ALLOWED_TOOLS. Environment variables read here: USER_TYPE. External packages imported here: bun:bundle. Area context: Static constants, prompt fragments, beta headers, XML tags, and product metadata.
    • constants/turnCompletionVerbs.ts: Module under constants. Named exports: TURN_COMPLETION_VERBS. Area context: Static constants, prompt fragments, beta headers, XML tags, and product metadata.
    • constants/xml.ts: Module under constants. Named exports: COMMAND_NAME_TAG, COMMAND_MESSAGE_TAG, COMMAND_ARGS_TAG, BASH_INPUT_TAG, BASH_STDOUT_TAG, BASH_STDERR_TAG, .... Area context: Static constants, prompt fragments, beta headers, XML tags, and product metadata.

    context

    System and user context builders plus React contexts. This section covers 9 file(s).

    • context/fpsMetrics.tsx: Module under context. Named exports: FpsMetricsProvider, useFpsMetrics. External packages imported here: react, react/compiler-runtime. Area context: System and user context builders plus React contexts.
    • context/mailbox.tsx: Module under context. Named exports: MailboxProvider, useMailbox. External packages imported here: react, react/compiler-runtime. Area context: System and user context builders plus React contexts.
    • context/modalContext.tsx: Module under context. Named exports: ModalContext, useIsInsideModal, useModalOrTerminalSize, useModalScrollRef. External packages imported here: react, react/compiler-runtime. Area context: System and user context builders plus React contexts.
    • context/notifications.tsx: Module under context. Named exports: Notification, useNotifications, getNext. External packages imported here: react. Area context: System and user context builders plus React contexts.
    • context/overlayContext.tsx: Module under context. Named exports: useRegisterOverlay, useIsOverlayActive, useIsModalOverlayActive. External packages imported here: react, react/compiler-runtime. Area context: System and user context builders plus React contexts.
    • context/promptOverlayContext.tsx: Module under context. Named exports: PromptOverlayData, PromptOverlayProvider, usePromptOverlay, usePromptOverlayDialog, useSetPromptOverlay, useSetPromptOverlayDialog. External packages imported here: react, react/compiler-runtime. Area context: System and user context builders plus React contexts.
    • context/QueuedMessageContext.tsx: UI component module. Named exports: useQueuedMessage, QueuedMessageProvider. External packages imported here: react, react/compiler-runtime. Area context: System and user context builders plus React contexts.
    • context/stats.tsx: Module under context. Named exports: StatsStore, createStatsStore, StatsContext, StatsProvider, useStats, useCounter, .... External packages imported here: react, react/compiler-runtime. Area context: System and user context builders plus React contexts.
    • context/voice.tsx: Module under context. Named exports: VoiceState, VoiceProvider, useVoiceState, useSetVoiceState, useGetVoiceState. External packages imported here: react, react/compiler-runtime. Area context: System and user context builders plus React contexts.

    query

    Query-loop helpers, token budget logic, transitions, and dependency injection points. This section covers 4 file(s).

    • query/config.ts: Module under query. Named exports: QueryConfig, buildQueryConfig. Environment variables read here: CLAUDE_CODE_DISABLE_FAST_MODE, CLAUDE_CODE_EMIT_TOOL_USE_SUMMARIES, USER_TYPE. Area context: Query-loop helpers, token budget logic, transitions, and dependency injection points.
    • query/deps.ts: Module under query. Named exports: QueryDeps, productionDeps. External packages imported here: crypto. Area context: Query-loop helpers, token budget logic, transitions, and dependency injection points.
    • query/stopHooks.ts: Module under query. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Environment variables read here: CLAUDE_CODE_ENABLE_PROMPT_SUGGESTION, CLAUDE_JOB_DIR. External packages imported here: bun:bundle. Area context: Query-loop helpers, token budget logic, transitions, and dependency injection points.
    • query/tokenBudget.ts: Module under query. Named exports: BudgetTracker, createBudgetTracker, TokenBudgetDecision, checkTokenBudget. Area context: Query-loop helpers, token budget logic, transitions, and dependency injection points.

    assistant

    Assistant-mode specific behavior, discovery, and session-history helpers. This section covers 1 file(s).

    • assistant/sessionHistory.ts: Module under assistant. Named exports: HISTORY_PAGE_SIZE, HistoryPage, HistoryAuthCtx, createHistoryAuthCtx, fetchLatestEvents, fetchOlderEvents. External packages imported here: axios. Area context: Assistant-mode specific behavior, discovery, and session-history helpers.

    coordinator

    Coordinator-mode behavior and filters for multi-agent orchestration. This section covers 1 file(s).

    • coordinator/coordinatorMode.ts: Module under coordinator. Named exports: isCoordinatorMode, matchSessionMode, getCoordinatorUserContext, getCoordinatorSystemPrompt. Environment variables read here: CLAUDE_CODE_COORDINATOR_MODE, CLAUDE_CODE_SIMPLE. External packages imported here: bun:bundle. Area context: Coordinator-mode behavior and filters for multi-agent orchestration.

    cli

    Headless and SDK-facing I/O surfaces, transports, structured streaming, and auth/plugin/MCP sub-handlers. This section covers 19 file(s).

    • cli/exit.ts: Module under cli. Named exports: cliError, cliOk. Area context: Headless and SDK-facing I/O surfaces, transports, structured streaming, and auth/plugin/MCP sub-handlers.
    • cli/handlers/agents.ts: Module under cli. Named exports: agentsHandler. Area context: Headless and SDK-facing I/O surfaces, transports, structured streaming, and auth/plugin/MCP sub-handlers.
    • cli/handlers/auth.ts: Module under cli. Named exports: installOAuthTokens, authLogin, authStatus, authLogout. Environment variables read here: ANTHROPIC_API_KEY, CLAUDE_CODE_OAUTH_REFRESH_TOKEN, CLAUDE_CODE_OAUTH_SCOPES. Area context: Headless and SDK-facing I/O surfaces, transports, structured streaming, and auth/plugin/MCP sub-handlers.
    • cli/handlers/autoMode.ts: Module under cli. Named exports: autoModeDefaultsHandler, autoModeConfigHandler, autoModeCritiqueHandler. Area context: Headless and SDK-facing I/O surfaces, transports, structured streaming, and auth/plugin/MCP sub-handlers.
    • cli/handlers/mcp.tsx: Module under cli. Named exports: mcpServeHandler, mcpRemoveHandler, mcpListHandler, mcpGetHandler, mcpAddJsonHandler, mcpAddFromDesktopHandler, .... External packages imported here: fs/promises, p-map, process, . Area context: Headless and SDK-facing I/O surfaces, transports, structured streaming, and auth/plugin/MCP sub-handlers.
    • cli/handlers/plugins.ts: Module under cli. Named exports: handleMarketplaceError, pluginValidateHandler, pluginListHandler, marketplaceAddHandler, marketplaceListHandler, marketplaceRemoveHandler, .... External packages imported here: figures, path. Area context: Headless and SDK-facing I/O surfaces, transports, structured streaming, and auth/plugin/MCP sub-handlers.
    • cli/handlers/util.tsx: Module under cli. Named exports: setupTokenHandler, doctorHandler, installHandler. External packages imported here: process, react, react/compiler-runtime. Area context: Headless and SDK-facing I/O surfaces, transports, structured streaming, and auth/plugin/MCP sub-handlers.
    • cli/ndjsonSafeStringify.ts: Module under cli. Named exports: ndjsonSafeStringify. Area context: Headless and SDK-facing I/O surfaces, transports, structured streaming, and auth/plugin/MCP sub-handlers.
    • cli/print.ts: Module under cli. Named exports: joinPromptValues, canBatchWith, runHeadless, createCanUseToolWithPermissionPrompt, getCanUseToolFn, removeInterruptedMessage, .... Environment variables read here: CLAUDE_CODE_ENABLE_PROMPT_SUGGESTION, CLAUDE_CODE_EXIT_AFTER_FIRST_RENDER, , , , , .... External packages imported here: , , , , , .... Area context: Headless and SDK-facing I/O surfaces, transports, structured streaming, and auth/plugin/MCP sub-handlers.
    • cli/remoteIO.ts: Module under cli. Named exports: RemoteIO. Environment variables read here: CLAUDE_CODE_ENVIRONMENT_KIND, CLAUDE_CODE_ENVIRONMENT_RUNNER_VERSION, CLAUDE_CODE_USE_CCR_V2. External packages imported here: stream, url. Area context: Headless and SDK-facing I/O surfaces, transports, structured streaming, and auth/plugin/MCP sub-handlers.
    • cli/structuredIO.ts: Module under cli. Named exports: SANDBOX_NETWORK_ACCESS_TOOL_NAME, StructuredIO. External packages imported here: bun:bundle, crypto, zod/v4. Area context: Headless and SDK-facing I/O surfaces, transports, structured streaming, and auth/plugin/MCP sub-handlers.
    • cli/transports/ccrClient.ts: Module under cli. Named exports: CCRInitFailReason, CCRInitError, StreamAccumulatorState, createStreamAccumulator, accumulateStreamEvents, clearStreamAccumulatorForMessage, .... Environment variables read here: CLAUDE_CODE_WORKER_EPOCH. External packages imported here: crypto. Area context: Headless and SDK-facing I/O surfaces, transports, structured streaming, and auth/plugin/MCP sub-handlers.
    • cli/transports/HybridTransport.ts: Module under cli. Named exports: HybridTransport. External packages imported here: axios. Area context: Headless and SDK-facing I/O surfaces, transports, structured streaming, and auth/plugin/MCP sub-handlers.
    • cli/transports/SerialBatchEventUploader.ts: Module under cli. Named exports: RetryableError, SerialBatchEventUploader. Area context: Headless and SDK-facing I/O surfaces, transports, structured streaming, and auth/plugin/MCP sub-handlers.
    • cli/transports/SSETransport.ts: Module under cli. Named exports: parseSSEFrames, StreamClientEvent, SSETransport. External packages imported here: axios. Area context: Headless and SDK-facing I/O surfaces, transports, structured streaming, and auth/plugin/MCP sub-handlers.
    • cli/transports/transportUtils.ts: Module under cli. Named exports: getTransportForUrl. Environment variables read here: CLAUDE_CODE_POST_FOR_SESSION_INGRESS_V2, CLAUDE_CODE_USE_CCR_V2. External packages imported here: url. Area context: Headless and SDK-facing I/O surfaces, transports, structured streaming, and auth/plugin/MCP sub-handlers.
    • cli/transports/WebSocketTransport.ts: Module under cli. Named exports: WebSocketTransportOptions, WebSocketTransport. Environment variables read here: CLAUDE_CODE_REMOTE. Area context: Headless and SDK-facing I/O surfaces, transports, structured streaming, and auth/plugin/MCP sub-handlers.
    • cli/transports/WorkerStateUploader.ts: Module under cli. Named exports: WorkerStateUploader. Area context: Headless and SDK-facing I/O surfaces, transports, structured streaming, and auth/plugin/MCP sub-handlers.
    • cli/update.ts: Module under cli. Named exports: update. Environment variables read here: USER_TYPE. External packages imported here: chalk. Area context: Headless and SDK-facing I/O surfaces, transports, structured streaming, and auth/plugin/MCP sub-handlers.

    ink

    Local Ink wrapper and terminal rendering primitives. This section covers 96 file(s).

    • ink/Ansi.tsx: UI component module. Named exports: Ansi. External packages imported here: react, react/compiler-runtime. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/bidi.ts: Module under ink. Named exports: reorderBidi. External packages imported here: bidi-js. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/clearTerminal.ts: Module under ink. Named exports: getClearTerminalSequence, clearTerminal. Environment variables read here: MSYSTEM, TERM_PROGRAM, TERM_PROGRAM_VERSION, WT_SESSION. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/colorize.ts: Module under ink. Named exports: CHALK_BOOSTED_FOR_XTERMJS, CHALK_CLAMPED_FOR_TMUX, ColorType, colorize, applyTextStyles, applyColor. Environment variables read here: CLAUDE_CODE_TMUX_TRUECOLOR, TERM_PROGRAM, TMUX. External packages imported here: . Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/components/AlternateScreen.tsx: UI component module. Named exports: AlternateScreen. External packages imported here: react, react/compiler-runtime. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/components/App.tsx: UI component module. Named exports: handleMouseEvent. Environment variables read here: CLAUDE_CODE_ACCESSIBILITY, TERM_PROGRAM. External packages imported here: react. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/components/AppContext.ts: Module under ink. Named exports: Props. External packages imported here: react. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/components/Box.tsx: UI component module. Named exports: Props. External packages imported here: react, react/compiler-runtime. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/components/Button.tsx: UI component module. Named exports: Props. External packages imported here: react, react/compiler-runtime. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/components/ClockContext.tsx: UI component module. Named exports: Clock, createClock, ClockContext, ClockProvider. External packages imported here: react, react/compiler-runtime. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/components/CursorDeclarationContext.ts: Module under ink. Named exports: CursorDeclaration, CursorDeclarationSetter. External packages imported here: react. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/components/ErrorOverview.tsx: UI component module. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. External packages imported here: code-excerpt, fs, react, stack-utils. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/components/Link.tsx: UI component module. Named exports: Props. External packages imported here: react, react/compiler-runtime. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/components/Newline.tsx: UI component module. Named exports: Props. External packages imported here: react, react/compiler-runtime. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/components/NoSelect.tsx: UI component module. Named exports: NoSelect. External packages imported here: react, react/compiler-runtime. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/components/RawAnsi.tsx: UI component module. Named exports: RawAnsi. External packages imported here: react, react/compiler-runtime. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/components/ScrollBox.tsx: UI component module. Named exports: ScrollBoxHandle, ScrollBoxProps. External packages imported here: react. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/components/Spacer.tsx: UI component module. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. External packages imported here: react, react/compiler-runtime. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/components/StdinContext.ts: Module under ink. Named exports: Props. External packages imported here: react. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/components/TerminalFocusContext.tsx: UI component module. Named exports: TerminalFocusContextProps, TerminalFocusProvider. External packages imported here: react, react/compiler-runtime. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/components/TerminalSizeContext.tsx: UI component module. Named exports: TerminalSize, TerminalSizeContext. External packages imported here: react. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/components/Text.tsx: UI component module. Named exports: Props. External packages imported here: react, react/compiler-runtime. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/constants.ts: Module under ink. Named exports: FRAME_INTERVAL_MS. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/dom.ts: Module under ink. Named exports: TextName, ElementNames, NodeNames, DOMElement, TextNode, DOMNode, .... Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/events/click-event.ts: Module under ink. Named exports: ClickEvent. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/events/dispatcher.ts: Module under ink. Named exports: Dispatcher. External packages imported here: react-reconciler/constants.js. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/events/emitter.ts: Module under ink. Named exports: EventEmitter. External packages imported here: events. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/events/event-handlers.ts: Module under ink. Named exports: EventHandlerProps, HANDLER_FOR_EVENT, EVENT_HANDLER_PROPS. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/events/event.ts: Module under ink. Named exports: Event. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/events/focus-event.ts: Module under ink. Named exports: FocusEvent. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/events/input-event.ts: Module under ink. Named exports: Key, InputEvent. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/events/keyboard-event.ts: Module under ink. Named exports: KeyboardEvent. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/events/terminal-event.ts: Module under ink. Named exports: TerminalEvent, EventTarget. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/events/terminal-focus-event.ts: Module under ink. Named exports: TerminalFocusEventType, TerminalFocusEvent. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/focus.ts: Module under ink. Named exports: FocusManager, getRootNode, getFocusManager. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/frame.ts: Module under ink. Named exports: Frame, emptyFrame, FlickerReason, FrameEvent, Patch, Diff, .... Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/get-max-width.ts: Module under ink. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/hit-test.ts: Module under ink. Named exports: hitTest, dispatchClick, dispatchHover. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/hooks/use-animation-frame.ts: Module under ink. Named exports: useAnimationFrame. External packages imported here: react. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/hooks/use-app.ts: Module under ink. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. External packages imported here: react. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/hooks/use-declared-cursor.ts: Module under ink. Named exports: useDeclaredCursor. External packages imported here: react. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/hooks/use-input.ts: Module under ink. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. External packages imported here: react, usehooks-ts. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/hooks/use-interval.ts: Module under ink. Named exports: useAnimationTimer, useInterval. External packages imported here: react. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/hooks/use-search-highlight.ts: Module under ink. Named exports: useSearchHighlight. External packages imported here: react. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/hooks/use-selection.ts: Module under ink. Named exports: useSelection, useHasSelection. External packages imported here: react. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/hooks/use-stdin.ts: Module under ink. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. External packages imported here: react. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/hooks/use-tab-status.ts: Module under ink. Named exports: TabStatusKind, useTabStatus. External packages imported here: react. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/hooks/use-terminal-focus.ts: Module under ink. Named exports: useTerminalFocus. External packages imported here: react. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/hooks/use-terminal-title.ts: Module under ink. Named exports: useTerminalTitle. External packages imported here: react, strip-ansi. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/hooks/use-terminal-viewport.ts: Module under ink. Named exports: useTerminalViewport. External packages imported here: react. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/ink.tsx: Module under ink. Named exports: Options, drainStdin. External packages imported here: auto-bind, fs, lodash-es/noop.js, lodash-es/throttle.js, react, .... Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/instances.ts: Module under ink. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/layout/engine.ts: Module under ink. Named exports: createLayoutNode. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/layout/geometry.ts: Module under ink. Named exports: Point, Size, Rectangle, Edges, edges, addEdges, .... Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/layout/node.ts: Module under ink. Named exports: LayoutEdge, LayoutGutter, LayoutDisplay, LayoutFlexDirection, LayoutAlign, LayoutJustify, .... Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/layout/yoga.ts: Module under ink. Named exports: YogaLayoutNode, createYogaLayoutNode. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/line-width-cache.ts: Module under ink. Named exports: lineWidth. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/log-update.ts: Module under ink. Named exports: LogUpdate. External packages imported here: @alcalzone/ansi-tokenize. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/measure-element.ts: Module under ink. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/measure-text.ts: Module under ink. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/node-cache.ts: Module under ink. Named exports: CachedLayout, nodeCache, pendingClears, addPendingClear, consumeAbsoluteRemovedFlag. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/optimizer.ts: Module under ink. Named exports: optimize. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/output.ts: Module under ink. Named exports: Operation, Clip. External packages imported here: @alcalzone/ansi-tokenize. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/parse-keypress.ts: Module under ink. Named exports: DECRPM_STATUS, TerminalResponse, KeyParseState, INITIAL_STATE, parseMultipleKeypresses, nonAlphanumericKeys, .... External packages imported here: buffer. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/reconciler.ts: Module under ink. Named exports: getOwnerChain, isDebugRepaintsEnabled, dispatcher, recordYogaMs, getLastYogaMs, markCommitStart, .... Environment variables read here: CLAUDE_CODE_COMMIT_LOG, CLAUDE_CODE_DEBUG_REPAINTS, NODE_ENV. External packages imported here: , . Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/render-border.ts: Module under ink. Named exports: BorderTextOptions, CUSTOM_BORDER_STYLES, BorderStyle. External packages imported here: chalk, cli-boxes. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/render-node-to-output.ts: Module under ink. Named exports: resetLayoutShifted, didLayoutShift, ScrollHint, resetScrollHint, getScrollHint, resetScrollDrainNode, .... Environment variables read here: TERM_PROGRAM. External packages imported here: indent-string. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/render-to-screen.ts: Module under ink. Named exports: MatchPosition, renderToScreen, scanPositions, applyPositionedHighlight. External packages imported here: lodash-es/noop.js, react-reconciler/constants.js. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/renderer.ts: Module under ink. Named exports: RenderOptions, Renderer. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/root.ts: Module under ink. Named exports: RenderOptions, Instance, Root, renderSync, createRoot. External packages imported here: stream. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/screen.ts: Module under ink. Named exports: CharPool, HyperlinkPool, StylePool, enum, Hyperlink, Cell, .... External packages imported here: @alcalzone/ansi-tokenize. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/searchHighlight.ts: Module under ink. Named exports: applySearchHighlight. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/selection.ts: Module under ink. Named exports: SelectionState, createSelectionState, startSelection, updateSelection, finishSelection, clearSelection, .... Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/squash-text-nodes.ts: Module under ink. Named exports: StyledSegment, squashTextNodesToSegments. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/stringWidth.ts: Module under ink. Named exports: stringWidth. External packages imported here: emoji-regex, get-east-asian-width, strip-ansi. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/styles.ts: Module under ink. Named exports: RGBColor, HexColor, Ansi256Color, AnsiColor, Color, TextStyles, .... Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/supports-hyperlinks.ts: Module under ink. Named exports: ADDITIONAL_HYPERLINK_TERMINALS, supportsHyperlinks. External packages imported here: supports-hyperlinks. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/tabstops.ts: Module under ink. Named exports: expandTabs. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/terminal-focus-state.ts: Module under ink. Named exports: TerminalFocusState, setTerminalFocused, getTerminalFocused, getTerminalFocusState, subscribeTerminalFocus, resetTerminalFocusState. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/terminal-querier.ts: Module under ink. Named exports: TerminalQuery, decrqm, da1, da2, kittyKeyboard, cursorPosition, .... Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/terminal.ts: Module under ink. Named exports: Progress, isProgressReportingAvailable, isSynchronizedOutputSupported, setXtversionName, isXtermJs, supportsExtendedKeys, .... Environment variables read here: KITTY_WINDOW_ID, TERM, TERM_PROGRAM, , , , .... External packages imported here: . Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/termio.ts: Module under ink. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/termio/ansi.ts: Module under ink. Named exports: C0, ESC, BEL, SEP, ESC_TYPE, isC0, .... Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/termio/csi.ts: Module under ink. Named exports: CSI_PREFIX, CSI_RANGE, isCSIParam, isCSIIntermediate, isCSIFinal, csi, .... Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/termio/dec.ts: Module under ink. Named exports: DEC, decset, decreset, BSU, ESU, EBP, .... Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/termio/esc.ts: Module under ink. Named exports: parseEsc. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/termio/osc.ts: Module under ink. Named exports: OSC_PREFIX, ST, osc, wrapForMultiplexer, ClipboardPath, getClipboardPath, .... Environment variables read here: USER_TYPE. External packages imported here: buffer. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/termio/parser.ts: Module under ink. Named exports: Parser. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/termio/sgr.ts: Module under ink. Named exports: applySGR. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/termio/tokenize.ts: Module under ink. Named exports: Token, Tokenizer, createTokenizer. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/termio/types.ts: Module under ink. Named exports: NamedColor, Color, UnderlineStyle, TextStyle, defaultStyle, stylesEqual, .... Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/useTerminalNotification.ts: Module under ink. Named exports: TerminalWriteContext, TerminalWriteProvider, TerminalNotification, useTerminalNotification. External packages imported here: react. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/warn.ts: Module under ink. Named exports: ifNotInteger. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/widest-line.ts: Module under ink. Named exports: widestLine. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/wrap-text.ts: Module under ink. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. Area context: Local Ink wrapper and terminal rendering primitives.
    • ink/wrapAnsi.ts: Module under ink. No named exports detected; this file is likely a local helper, side-effect module, default export module, or component wrapper. External packages imported here: wrap-ansi. Area context: Local Ink wrapper and terminal rendering primitives.

    keybindings

    Keyboard shortcut definitions, formatting, and provider setup. This section covers 14 file(s).

    • keybindings/defaultBindings.ts: Module under keybindings. Named exports: DEFAULT_BINDINGS. External packages imported here: bun:bundle. Area context: Keyboard shortcut definitions, formatting, and provider setup.
    • keybindings/KeybindingContext.tsx: UI component module. Named exports: KeybindingProvider, useKeybindingContext, useOptionalKeybindingContext, useRegisterKeybindingContext. External packages imported here: react, react/compiler-runtime. Area context: Keyboard shortcut definitions, formatting, and provider setup.
    • keybindings/KeybindingProviderSetup.tsx: UI component module. Named exports: KeybindingSetup. External packages imported here: react, react/compiler-runtime. Area context: Keyboard shortcut definitions, formatting, and provider setup.
    • keybindings/loadUserBindings.ts: Module under keybindings. Named exports: isKeybindingCustomizationEnabled, KeybindingsLoadResult, getKeybindingsPath, loadKeybindings, loadKeybindingsSync, loadKeybindingsSyncWithWarnings, .... External packages imported here: chokidar, fs, , . Area context: Keyboard shortcut definitions, formatting, and provider setup.
    • keybindings/match.ts: Module under keybindings. Named exports: getKeyName, matchesKeystroke, matchesBinding. Area context: Keyboard shortcut definitions, formatting, and provider setup.
    • keybindings/parser.ts: Module under keybindings. Named exports: parseKeystroke, parseChord, keystrokeToString, chordToString, keystrokeToDisplayString, chordToDisplayString, .... Area context: Keyboard shortcut definitions, formatting, and provider setup.
    • keybindings/reservedShortcuts.ts: Module under keybindings. Named exports: ReservedShortcut, NON_REBINDABLE, TERMINAL_RESERVED, MACOS_RESERVED, getReservedShortcuts, normalizeKeyForComparison. Area context: Keyboard shortcut definitions, formatting, and provider setup.
    • keybindings/resolver.ts: Module under keybindings. Named exports: ResolveResult, ChordResolveResult, resolveKey, getBindingDisplayText, keystrokesEqual, resolveKeyWithChordState. Area context: Keyboard shortcut definitions, formatting, and provider setup.
    • keybindings/schema.ts: Module under keybindings. Named exports: KEYBINDING_CONTEXTS, KEYBINDING_CONTEXT_DESCRIPTIONS, KEYBINDING_ACTIONS, KeybindingBlockSchema, KeybindingsSchema, KeybindingsSchemaType. External packages imported here: zod/v4. Area context: Keyboard shortcut definitions, formatting, and provider setup.
    • keybindings/shortcutFormat.ts: Module under keybindings. Named exports: getShortcutDisplay. Area context: Keyboard shortcut definitions, formatting, and provider setup.
    • keybindings/template.ts: Module under keybindings. Named exports: generateKeybindingsTemplate. Area context: Keyboard shortcut definitions, formatting, and provider setup.
    • keybindings/useKeybinding.ts: Module under keybindings. Named exports: useKeybinding, useKeybindings. External packages imported here: react. Area context: Keyboard shortcut definitions, formatting, and provider setup.
    • keybindings/useShortcutDisplay.ts: Module under keybindings. Named exports: useShortcutDisplay. External packages imported here: react. Area context: Keyboard shortcut definitions, formatting, and provider setup.
    • keybindings/validate.ts: Module under keybindings. Named exports: KeybindingWarningType, KeybindingWarning, checkDuplicateKeysInJson, validateUserConfig, checkDuplicates, checkReservedShortcuts, .... Area context: Keyboard shortcut definitions, formatting, and provider setup.

    memdir

    Memory prompt loading and path helpers for CLAUDE.md and team memory. This section covers 8 file(s).

    • memdir/findRelevantMemories.ts: Module under memdir. Named exports: RelevantMemory, findRelevantMemories. External packages imported here: bun:bundle. Area context: Memory prompt loading and path helpers for CLAUDE.md and team memory.
    • memdir/memdir.ts: Module under memdir. Named exports: ENTRYPOINT_NAME, MAX_ENTRYPOINT_LINES, MAX_ENTRYPOINT_BYTES, EntrypointTruncation, truncateEntrypointContent, DIR_EXISTS_GUIDANCE, .... Environment variables read here: CLAUDE_CODE_DISABLE_AUTO_MEMORY, CLAUDE_COWORK_MEMORY_EXTRA_GUIDELINES. External packages imported here: bun:bundle, path. Area context: Memory prompt loading and path helpers for CLAUDE.md and team memory.
    • memdir/memoryAge.ts: Module under memdir. Named exports: memoryAgeDays, memoryAge, memoryFreshnessText, memoryFreshnessNote. Area context: Memory prompt loading and path helpers for CLAUDE.md and team memory.
    • memdir/memoryScan.ts: Module under memdir. Named exports: MemoryHeader, scanMemoryFiles, formatMemoryManifest. External packages imported here: fs/promises, path. Area context: Memory prompt loading and path helpers for CLAUDE.md and team memory.
    • memdir/memoryTypes.ts: Module under memdir. Named exports: MEMORY_TYPES, MemoryType, parseMemoryType, TYPES_SECTION_COMBINED, TYPES_SECTION_INDIVIDUAL, WHAT_NOT_TO_SAVE_SECTION, .... Area context: Memory prompt loading and path helpers for CLAUDE.md and team memory.
    • memdir/paths.ts: Module under memdir. Named exports: isAutoMemoryEnabled, isExtractModeActive, getMemoryBaseDir, hasAutoMemPathOverride, getAutoMemPath, getAutoMemDailyLogPath, .... Environment variables read here: CLAUDE_CODE_DISABLE_AUTO_MEMORY, CLAUDE_CODE_REMOTE, CLAUDE_CODE_REMOTE_MEMORY_DIR, , . External packages imported here: , , . Area context: Memory prompt loading and path helpers for CLAUDE.md and team memory.
    • memdir/teamMemPaths.ts: Module under memdir. Named exports: PathTraversalError, isTeamMemoryEnabled, getTeamMemPath, getTeamMemEntrypoint, isTeamMemPath, validateTeamMemWritePath, .... External packages imported here: fs/promises, path. Area context: Memory prompt loading and path helpers for CLAUDE.md and team memory.
    • memdir/teamMemPrompts.ts: Module under memdir. Named exports: buildCombinedMemoryPrompt. Area context: Memory prompt loading and path helpers for CLAUDE.md and team memory.

    migrations

    One-shot config and model migration helpers applied at startup. This section covers 11 file(s).

    • migrations/migrateAutoUpdatesToSettings.ts: Module under migrations. Named exports: migrateAutoUpdatesToSettings. Environment variables read here: DISABLE_AUTOUPDATER. Area context: One-shot config and model migration helpers applied at startup.
    • migrations/migrateBypassPermissionsAcceptedToSettings.ts: Module under migrations. Named exports: migrateBypassPermissionsAcceptedToSettings. Area context: One-shot config and model migration helpers applied at startup.
    • migrations/migrateEnableAllProjectMcpServersToSettings.ts: Module under migrations. Named exports: migrateEnableAllProjectMcpServersToSettings. Area context: One-shot config and model migration helpers applied at startup.
    • migrations/migrateFennecToOpus.ts: Module under migrations. Named exports: migrateFennecToOpus. Environment variables read here: USER_TYPE. Area context: One-shot config and model migration helpers applied at startup.
    • migrations/migrateLegacyOpusToCurrent.ts: Module under migrations. Named exports: migrateLegacyOpusToCurrent. Area context: One-shot config and model migration helpers applied at startup.
    • migrations/migrateOpusToOpus1m.ts: Module under migrations. Named exports: migrateOpusToOpus1m. Area context: One-shot config and model migration helpers applied at startup.
    • migrations/migrateReplBridgeEnabledToRemoteControlAtStartup.ts: Module under migrations. Named exports: migrateReplBridgeEnabledToRemoteControlAtStartup. Area context: One-shot config and model migration helpers applied at startup.
    • migrations/migrateSonnet1mToSonnet45.ts: Module under migrations. Named exports: migrateSonnet1mToSonnet45. Area context: One-shot config and model migration helpers applied at startup.
    • migrations/migrateSonnet45ToSonnet46.ts: Module under migrations. Named exports: migrateSonnet45ToSonnet46. Area context: One-shot config and model migration helpers applied at startup.
    • migrations/resetAutoModeOptInForDefaultOffer.ts: Module under migrations. Named exports: resetAutoModeOptInForDefaultOffer. External packages imported here: bun:bundle. Area context: One-shot config and model migration helpers applied at startup.
    • migrations/resetProToOpusDefault.ts: Module under migrations. Named exports: resetProToOpusDefault. Area context: One-shot config and model migration helpers applied at startup.

    native-ts

    Native-accelerated TypeScript wrappers such as file indexing and terminal layout helpers. This section covers 4 file(s).

    • native-ts/color-diff/index.ts: Index or entry module for its directory. Named exports: Hunk, SyntaxTheme, NativeModule, ColorDiff, ColorFile, getSyntaxTheme, .... Environment variables read here: BAT_THEME, CLAUDE_CODE_SYNTAX_HIGHLIGHT, COLORTERM. External packages imported here: diff, path. Area context: Native-accelerated TypeScript wrappers such as file indexing and terminal layout helpers.
    • native-ts/file-index/index.ts: Index or entry module for its directory. Named exports: SearchResult, FileIndex, yieldToEventLoop. Area context: Native-accelerated TypeScript wrappers such as file indexing and terminal layout helpers.
    • native-ts/yoga-layout/enums.ts: Module under native-ts. Named exports: Align, BoxSizing, Dimension, Direction, Display, Edge, .... Area context: Native-accelerated TypeScript wrappers such as file indexing and terminal layout helpers.
    • native-ts/yoga-layout/index.ts: Index or entry module for its directory. Named exports: Value, MeasureFunction, Size, Config, Node, getYogaCounters, .... Area context: Native-accelerated TypeScript wrappers such as file indexing and terminal layout helpers.

    schemas

    Shared Zod schemas. This section covers 1 file(s).

    • schemas/hooks.ts: Module under schemas. Named exports: HookCommandSchema, HookMatcherSchema, HooksSchema, HookCommand, BashCommandHook, PromptHook, .... External packages imported here: zod/v4. Area context: Shared Zod schemas.

    server

    Direct-connect server and session bootstrapping. This section covers 3 file(s).

    • server/createDirectConnectSession.ts: Module under server. Named exports: DirectConnectError, createDirectConnectSession. Area context: Direct-connect server and session bootstrapping.
    • server/directConnectManager.ts: Module under server. Named exports: DirectConnectConfig, DirectConnectCallbacks, DirectConnectSessionManager. Area context: Direct-connect server and session bootstrapping.
    • server/types.ts: Module under server. Named exports: connectResponseSchema, ServerConfig, SessionState, SessionInfo, SessionIndexEntry, SessionIndex. External packages imported here: zod/v4. Area context: Direct-connect server and session bootstrapping.

    upstreamproxy

    Upstream proxy support for remote and CCR environments. This section covers 2 file(s).

    • upstreamproxy/relay.ts: Module under upstreamproxy. Named exports: encodeChunk, decodeChunk, UpstreamProxyRelay, startUpstreamProxyRelay, startNodeRelay. External packages imported here: node:net. Area context: Upstream proxy support for remote and CCR environments.
    • upstreamproxy/upstreamproxy.ts: Module under upstreamproxy. Named exports: SESSION_TOKEN_PATH, initUpstreamProxy, getUpstreamProxyEnv, resetUpstreamProxyForTests. Environment variables read here: ANTHROPIC_BASE_URL, CCR_UPSTREAM_PROXY_ENABLED, CLAUDE_CODE_REMOTE, CLAUDE_CODE_REMOTE_SESSION_ID, HTTPS_PROXY, SSL_CERT_FILE. External packages imported here: fs/promises, os, path. Area context: Upstream proxy support for remote and CCR environments.

    vim

    Vim-mode support. This section covers 5 file(s).

    • vim/motions.ts: Module under vim. Named exports: resolveMotion, isInclusiveMotion, isLinewiseMotion. Area context: Vim-mode support.
    • vim/operators.ts: Module under vim. Named exports: OperatorContext, executeOperatorMotion, executeOperatorFind, executeOperatorTextObj, executeLineOp, executeX, .... Area context: Vim-mode support.
    • vim/textObjects.ts: Module under vim. Named exports: TextObjectRange, findTextObject. Area context: Vim-mode support.
    • vim/transitions.ts: Module under vim. Named exports: TransitionContext, TransitionResult, transition. Area context: Vim-mode support.
    • vim/types.ts: Module under vim. Named exports: Operator, FindType, TextObjScope, VimState, CommandState, PersistentState, .... Area context: Vim-mode support.

    voice

    Voice-mode entry logic. This section covers 1 file(s).

    • voice/voiceModeEnabled.ts: Module under voice. Named exports: isVoiceGrowthBookEnabled, hasVoiceAuth, isVoiceModeEnabled. External packages imported here: bun:bundle. Area context: Voice-mode entry logic.

    buddy

    Buddy and companion UI and prompt assets. This section covers 6 file(s).

    • buddy/companion.ts: Module under buddy. Named exports: Roll, roll, rollWithSeed, companionUserId, getCompanion. Area context: Buddy and companion UI and prompt assets.
    • buddy/CompanionSprite.tsx: UI component module. Named exports: MIN_COLS_FOR_FULL_SPRITE, companionReservedColumns, CompanionSprite, CompanionFloatingBubble. External packages imported here: bun:bundle, figures, react, react/compiler-runtime. Area context: Buddy and companion UI and prompt assets.
    • buddy/prompt.ts: Module under buddy. Named exports: companionIntroText, getCompanionIntroAttachment. External packages imported here: bun:bundle. Area context: Buddy and companion UI and prompt assets.
    • buddy/sprites.ts: Module under buddy. Named exports: renderSprite, spriteFrameCount, renderFace. Area context: Buddy and companion UI and prompt assets.
    • buddy/types.ts: Module under buddy. Named exports: RARITIES, Rarity, duck, goose, blob, cat, .... Area context: Buddy and companion UI and prompt assets.
    • buddy/useBuddyNotification.tsx: Module under buddy. Named exports: isBuddyTeaserWindow, isBuddyLive, useBuddyNotification, findBuddyTriggerPositions. External packages imported here: bun:bundle, react, react/compiler-runtime. Area context: Buddy and companion UI and prompt assets.

    moreright

    MoreRight feature surface. This section covers 1 file(s).

    • moreright/useMoreRight.tsx: Module under moreright. Named exports: useMoreRight. Area context: MoreRight feature surface.

    outputStyles

    Output-style registry. This section covers 1 file(s).

    • outputStyles/loadOutputStylesDir.ts: Module under outputStyles. Named exports: getOutputStyleDirStyles, clearOutputStyleCaches. External packages imported here: lodash-es/memoize.js, path. Area context: Output-style registry.
    fs
    fs/promises
    os
    XDG_CONFIG_HOME
    chalk
    crypto
    fs/promises
    os
    path
    react/compiler-runtime
    react
    react/compiler-runtime
    @opentelemetry/resources
    @opentelemetry/sdk-logs
    @opentelemetry/semantic-conventions
    crypto
    lodash-es
    NODE_ENV
    USER_TYPE
    @growthbook/growthbook
    lodash-es
    CLAUDE_CODE_ACTION
    CLAUDE_CODE_CONTAINER_ID
    CLAUDE_CODE_COWORKER_TYPE
    bun:bundle
    lodash-es/memoize.js
    path
    CLAUDE_CODE_DISABLE_THINKING
    CLAUDE_CODE_ENTRYPOINT
    CLAUDE_CODE_EXTRA_BODY
    @anthropic-ai/sdk/error
    bun:bundle
    crypto
    crypto
    CLAUDE_CODE_USE_BEDROCK
    USER_TYPE
    @anthropic-ai/sdk
    fs/promises
    path
    bun:bundle
    CLAUDE_CODE_USE_BEDROCK
    CLAUDE_CODE_USE_VERTEX
    FALLBACK_FOR_ALL_PRIMARY_MODELS
    @anthropic-ai/sdk
    bun:bundle
    DISABLE_AUTO_COMPACT
    DISABLE_COMPACT
    bun:bundle
    @modelcontextprotocol/sdk/server/auth/errors.js
    @modelcontextprotocol/sdk/shared/auth.js
    axios
    crypto
    HTTPS_PROXY
    HTTP_PROXY
    MCP_REMOTE_SERVER_CONNECTION_BATCH_SIZE
    @modelcontextprotocol/sdk/client/auth.js
    @modelcontextprotocol/sdk/client/index.js
    @modelcontextprotocol/sdk/client/sse.js
    @modelcontextprotocol/sdk/client/stdio.js
    @modelcontextprotocol/sdk/client/streamableHttp.js
    lodash-es/memoize.js
    path
    crypto
    http
    url
    axios
    fs/promises
    path
    fs/promises
    path
    path
    path
    lodash-es/isPlainObject.js
    lodash-es/mapValues.js
    path
    react
    zod/v4
    lodash-es/memoize.js
    path
    zod/v4
    bun:bundle
    react
    zod/v4
    zod/v4
    bun:bundle
    crypto
    os
    path
    ignore
    lodash-es/memoize.js
    path
    crypto
    USER_TYPE
    fs/promises
    path
    CLAUDE_CODE_VERIFY_PLAN
    NODE_ENV
    USER_TYPE
    bun:bundle
    crypto
    fs/promises
    lodash-es/uniqBy.js
    path
    CI
    CLAUDE_CODE_API_KEY_FILE_DESCRIPTOR
    CLAUDE_CODE_API_KEY_HELPER_TTL_MS
    chalk
    child_process
    execa
    fs/promises
    lodash-es/memoize.js
    fs/promises
    os
    path
    path
    DISABLE_INTERLEAVED_THINKING
    USER_TYPE
    USE_API_CONTEXT_MANAGEMENT
    bun:bundle
    lodash-es/memoize.js
    fs/promises
    os
    path
    @modelcontextprotocol/sdk/server/stdio.js
    util
    @ant/claude-for-chrome-mcp
    fs/promises
    os
    path
    url
    path
    lodash-es/memoize.js
    marked
    path
    path
    CLAUDE_CODE_SESSION_KIND
    CLAUDE_CODE_SESSION_LOG
    CLAUDE_CODE_SESSION_NAME
    bun:bundle
    fs/promises
    path
    bun:bundle
    crypto
    fs
    lodash-es/memoize.js
    lodash-es/pickBy.js
    NODE_ENV
    USER_TYPE
    fs/promises
    lodash-es/memoize.js
    path
    execa
    fs/promises
    os
    path
    BUILDKITE
    lodash-es/memoize.js
    os
    path
    CLAUDE_CONFIG_DIR
    CLOUD_ML_REGION
    lodash-es/memoize.js
    os
    path
    axios
    path
    diff
    fs/promises
    path
    util
    TERM
    TERM_PROGRAM
    TMUX
    child_process
    path
    fs
    lodash-es/memoize.js
    signal-exit
    chalk
    child_process
    crypto
    path
    axios
    CLAUDE_CODE_SSE_PORT
    FORCE_CODE_TERMINAL
    USERPROFILE
    axios
    execa
    lodash-es/capitalize.js
    lodash-es/memoize.js
    net
    crypto
    execa
    path
    USER_TYPE
    bun:bundle
    fs/promises
    lodash-es/memoize.js
    path
    fs/promises
    lodash-es/memoize.js
    os
    bun:bundle
    crypto
    lodash-es/isObject.js
    lodash-es/last.js
    lodash-es/memoize.js
    ANTHROPIC_MODEL
    ANTHROPIC_SMALL_FAST_MODEL
    CLAUDE_CODE_DISABLE_LEGACY_MODEL_REMAP
    ANTHROPIC_DEFAULT_HAIKU_MODEL
    ANTHROPIC_DEFAULT_HAIKU_MODEL_DESCRIPTION
    ANTHROPIC_DEFAULT_HAIKU_MODEL_NAME
    NODE_EXTRA_CA_CERTS
    https
    lodash-es/memoize.js
    bun:bundle
    crypto
    fs/promises
    path
    fs
    fs/promises
    os
    path
    crypto
    ignore
    lodash-es/memoize.js
    os
    USER_TYPE
    bun:bundle
    path
    CLAUDE_CODE_TWO_STAGE_CLASSIFIER
    USER_TYPE
    bun:bundle
    fs/promises
    path
    zod/v4
    fs/promises
    lodash-es/isEqual.js
    lodash-es/memoize.js
    path
    fs
    fs/promises
    path
    lodash-es/memoize.js
    path
    fs/promises
    os
    path
    HTTP_PROXY
    NO_PROXY
    axios
    https-proxy-agent
    lodash-es/memoize.js
    path
    semver
    child_process
    lodash-es/memoize.js
    os
    path
    url
    lodash-es
    path
    os
    CLAUDE_CODE_SKIP_PROMPT_HISTORY
    ENABLE_SESSION_PERSISTENCE
    NODE_ENV
    bun:bundle
    fs
    fs/promises
    lodash-es/memoize.js
    path
    lodash-es/mergeWith.js
    path
    zod/v4
    zod/v4
    USER_TYPE
    child_process
    fs
    fs/promises
    lodash-es/memoize.js
    path
    path
    path/posix
    fs
    lodash-es/cloneDeep.js
    ANTHROPIC_VERTEX_PROJECT_ID
    BEDROCK_BASE_URL
    CLAUDE_CODE_CLIENT_CERT
    chalk
    figures
    react
    fs/promises
    path
    zod/v4
    crypto
    ANT_OTEL_METRICS_EXPORTER
    ANT_OTEL_TRACES_EXPORTER
    @opentelemetry/api
    @opentelemetry/api-logs
    @opentelemetry/resources
    @opentelemetry/sdk-logs
    @opentelemetry/sdk-metrics
    fs
    fs/promises
    path
    OTEL_LOG_USER_PROMPTS
    USER_TYPE
    @opentelemetry/api
    async_hooks
    bun:bundle
    chalk
    crypto
    react
    zod/v4
    USER_TYPE
    lodash-es/memoize.js
    GITHUB_REPOSITORY
    GITHUB_REPOSITORY_ID
    execa
    lodash-es/memoize.js
    chalk
    child_process
    fs/promises
    ignore
    CLAUDE_LOCAL_OAUTH_API_BASE
    CLAUDE_LOCAL_OAUTH_APPS_BASE
    CLAUDE_LOCAL_OAUTH_CONSOLE_BASE
    USER_TYPE
    bun:bundle
    os
    react
    CLAUDE_CODE_PROACTIVE
    CLAUDE_CODE_REMOTE
    CLAUDE_CODE_RESUME_INTERRUPTED_TURN
    CLAUDE_CODE_STREAMLINED_OUTPUT
    @modelcontextprotocol/sdk/types.js
    bun:bundle
    crypto
    fs/promises
    lodash-es/omit.js
    chalk
    fs
    react-reconciler
    TERM_PROGRAM_VERSION
    TMUX
    VTE_VERSION
    semver
    fs/promises
    path
    CLAUDE_CODE_SIMPLE
    CLAUDE_COWORK_MEMORY_PATH_OVERRIDE
    lodash-es/memoize.js
    os
    path