Home / Subdomain/ Compaction — claude-code Architecture

Compaction — claude-code Architecture

Handles shrinking of conversation history to fit within context window limits via microcompact and session memory summaries.

Entity Profile

Relationship Graph

Domain

Functions

  • AgentMcpServerSpecSchema()
  • AnimatedTerminalTitle()
  • AppContext.exit()
  • ApplyEffortAndClose()
  • AskUserQuestionTool.mapToolResultToToolResultBlockParam()
  • AskUserQuestionTool.toAutoClassifierInput()
  • AsyncHookJSONOutputSchema()
  • AttachmentList()
  • AutoRunIssueNotification()
  • BashTool.mapToolResultToToolResultBlockParam()
  • BashTool.toAutoClassifierInput()
  • BriefTool.mapToolResultToToolResultBlockParam()
  • BriefTool.toAutoClassifierInput()
  • CACHE_PATHS.errors()
  • COMMAND_VALIDATOR.mv()
  • ChordInterceptor()
  • ClaudeCodeInternalEvent.create()
  • ClaudeCodeInternalEvent.toJSON()
  • CodeSessionSchema()
  • ConfigTool.mapToolResultToToolResultBlockParam()
  • ConfigTool.toAutoClassifierInput()
  • ContextCategorySchema()
  • ContextGridSquareSchema()
  • CronCreateTool.mapToolResultToToolResultBlockParam()
  • CronCreateTool.toAutoClassifierInput()
  • CronDeleteTool.mapToolResultToToolResultBlockParam()
  • CronDeleteTool.toAutoClassifierInput()
  • CronListTool.mapToolResultToToolResultBlockParam()
  • CursorDeclarationContext()
  • DeniedMcpServerEntrySchema()
  • DependencyRefSchema()
  • EditRejectionBody()
  • ElicitationResultHookInputSchema()
  • EnterPlanModeTool.mapToolResultToToolResultBlockParam()
  • EnterWorktreeTool.mapToolResultToToolResultBlockParam()
  • EnterWorktreeTool.toAutoClassifierInput()
  • EnvironmentMetadata.create()
  • EnvironmentMetadata.toJSON()
  • ErrorOverview()
  • ExitPlanModeV2Tool.mapToolResultToToolResultBlockParam()
  • ExitWorktreeTool.mapToolResultToToolResultBlockParam()
  • ExitWorktreeTool.toAutoClassifierInput()
  • FileChangedHookInputSchema()
  • FileEditTool.mapToolResultToToolResultBlockParam()
  • FileEditTool.toAutoClassifierInput()
  • FileReadTool.mapToolResultToToolResultBlockParam()
  • FileReadTool.toAutoClassifierInput()
  • FileWriteTool.mapToolResultToToolResultBlockParam()
  • FileWriteTool.toAutoClassifierInput()
  • FpsMetricsProvider()
  • GREP_SEMANTIC()
  • GitHubActionsMetadata.create()
  • GitHubActionsMetadata.toJSON()
  • GlobTool.mapToolResultToToolResultBlockParam()
  • GlobTool.toAutoClassifierInput()
  • GrepTool.mapToolResultToToolResultBlockParam()
  • GrepTool.toAutoClassifierInput()
  • GrowthbookExperimentEvent.create()
  • GrowthbookExperimentEvent.toJSON()
  • HooksSchema()
  • InstalledPluginsFileSchemaV1()
  • InstalledPluginsFileSchemaV2()
  • It2SetupPrompt()
  • KeybindingProvider()
  • KnownMarketplacesFileSchema()
  • LSPResultSummary()
  • LSPTool.mapToolResultToToolResultBlockParam()
  • ListMcpResourcesTool.mapToolResultToToolResultBlockParam()
  • ListMcpResourcesTool.toAutoClassifierInput()
  • MCPTool.mapToolResultToToolResultBlockParam()
  • MailboxProvider()
  • MarketplaceNameSchema()
  • MarketplaceSourceSchema()
  • McpbPath()
  • MemoryCommand()
  • NEVER_SUGGEST()
  • NoConversationsMessage()
  • NoSelect()
  • NodeFsOperations.copyFileSync()
  • NodeFsOperations.existsSync()
  • NodeFsOperations.linkSync()
  • NodeFsOperations.mkdir()
  • NodeFsOperations.readFileBytesSync()
  • NodeFsOperations.readdirStringSync()
  • NodeFsOperations.realpathSync()
  • NodeFsOperations.rmSync()
  • NodeFsOperations.statSync()
  • NodeFsOperations.unlink()
  • NotebookEditTool.mapToolResultToToolResultBlockParam()
  • NotebookEditTool.toAutoClassifierInput()
  • NpmPackageNameSchema()
  • PATH_EXTRACTORS.cd()
  • PATH_EXTRACTORS.sed()
  • PATH_EXTRACTORS.tr()
  • PROACTIVE_NO_OP_SUBSCRIBE()
  • PermissionDenyResultSchema()
  • PermissionRuleSchema()
  • PermissionsSchema()
  • PluginHooksSchema()
  • PluginManifestChannelsSchema()
  • PluginManifestCommandsSchema()
  • PluginManifestMcpServerSchema()
  • PluginManifestOutputStylesSchema()
  • PluginMarketplaceEntrySchema()
  • PolicyLimitsResponseSchema()
  • PowerShellTool.mapToolResultToToolResultBlockParam()
  • PowerShellTool.toAutoClassifierInput()
  • PreflightStep()
  • Promise()
  • PromptOverlayProvider()
  • PromptRequestOptionSchema()
  • PublicApiAuth.fromPartial()
  • PublicApiAuth.toJSON()
  • QueuedMessageProvider()
  • REPL()
  • RawMessageStreamEventPlaceholder()
  • ReadMcpResourceTool.mapToolResultToToolResultBlockParam()
  • ReadMcpResourceTool.toAutoClassifierInput()
  • RemoteTriggerTool.mapToolResultToToolResultBlockParam()
  • RemoteTriggerTool.toAutoClassifierInput()
  • RenderOnceAndExit()
  • ResumeConversation()
  • RiskAssessmentSchema()
  • SDKAPIRetryMessageSchema()
  • SDKCompactBoundaryMessageSchema()
  • SDKControlGetContextUsageRequestSchema()
  • SDKControlGetContextUsageResponseSchema()
  • SDKFilesPersistedEventSchema()
  • SDKHookProgressMessageSchema()
  • SDKMessageSchema()
  • SDKResultErrorSchema()
  • SDKSessionInfoSchema()
  • SDKSessionStateChangedMessageSchema()
  • SDKStatusSchema()
  • SDKStreamlinedTextMessageSchema()
  • SDKTaskProgressMessageSchema()
  • SDKUserMessageReplaySchema()
  • SYNC_KEYS.projectMemory()
  • SYNC_KEYS.projectSettings()
  • SdkPluginConfigSchema()
  • SendMessageTool.mapToolResultToToolResultBlockParam()
  • SendMessageTool.toAutoClassifierInput()
  • SessionEndHookInputSchema()
  • SessionInfo()
  • SessionStartHookInputSchema()
  • SessionStartHookSpecificOutputSchema()
  • SettingsMarketplacePluginSchema()
  • ShutdownRequestMessageSchema()
  • SkillTool.mapToolResultToToolResultBlockParam()
  • SkillTool.toAutoClassifierInput()
  • SlackContext.create()
  • SlackContext.fromJSON()
  • SlackContext.fromPartial()
  • SlackContext.toJSON()
  • SlashCommandSchema()
  • Spacer()
  • StatsProvider()
  • StdinContext.setRawMode()
  • StyledText()
  • Symbol()
  • TaskCreateTool.mapToolResultToToolResultBlockParam()
  • TaskCreateTool.toAutoClassifierInput()
  • TaskGetTool.mapToolResultToToolResultBlockParam()
  • TaskGetTool.toAutoClassifierInput()
  • TaskListTool.mapToolResultToToolResultBlockParam()
  • TaskOutputTool.mapToolResultToToolResultBlockParam()
  • TaskOutputTool.toAutoClassifierInput()
  • TaskStatusSchema()
  • TaskStopTool.mapToolResultToToolResultBlockParam()
  • TaskStopTool.toAutoClassifierInput()
  • TaskUpdateTool.mapToolResultToToolResultBlockParam()
  • TaskUpdateTool.toAutoClassifierInput()
  • TeamCreateTool.mapToolResultToToolResultBlockParam()
  • TeamCreateTool.toAutoClassifierInput()
  • TeamDeleteTool.mapToolResultToToolResultBlockParam()
  • TeamMemoryContentSchema()
  • TeamMemoryDataSchema()
  • TeamMemoryTooManyEntriesSchema()
  • TestingPermissionTool.mapToolResultToToolResultBlockParam()
  • Timestamp.fromPartial()
  • Timestamp.toJSON()
  • TodoStatusSchema()
  • TodoWriteTool.mapToolResultToToolResultBlockParam()
  • TodoWriteTool.toAutoClassifierInput()
  • ToggleTagAndClose()
  • ToolSearchTool.mapToolResultToToolResultBlockParam()
  • VoiceKeybindingHandler()
  • VoiceProvider()
  • WebFetchTool.mapToolResultToToolResultBlockParam()
  • WebFetchTool.toAutoClassifierInput()
  • WebSearchTool.mapToolResultToToolResultBlockParam()
  • WebSearchTool.toAutoClassifierInput()
  • WorktreeCreateHookInputSchema()
  • WriteRejectionDiff()
  • _bundleWithFallback()
  • _clearLogWritersForTesting()
  • _executeApiKeyHelper()
  • _fetchMetricsEnabled()
  • _isPropagationStopped()
  • _notify()
  • _resetArecordProbeForTesting()
  • _resetClaudeCodeHintStore()
  • _resetDownloadPromiseForTesting()
  • _resetForTesting()
  • _resetForTesting()
  • _resetLspManagerForTesting()
  • _resetPolicyLimitsForTesting()
  • _resetRecordingStateForTesting()
  • _resetTmuxControlModeProbeForTesting()
  • _resetWatcherStateForTesting()
  • _runAndCache()
  • _setTarget()
  • _temp()
  • _temp()
  • _temp()
  • _temp()
  • _temp()
  • _temp1()
  • _temp12()
  • _temp15()
  • _temp18()
  • _temp2()
  • _temp2()
  • _temp2()
  • _temp2()
  • _temp2()
  • _temp3()
  • _temp3()
  • _temp3()
  • _temp4()
  • _temp5()
  • _temp8()
  • abortError()
  • abortPromptSuggestion()
  • acceptSpeculation()
  • addAll()
  • addApiRequestToCache()
  • addArgumentsToPrompt()
  • addBetaLLMResponseAttributes()
  • addCachedCostToTotalSessionCost()
  • addCronTask()
  • addExceededLimit()
  • addFileGlobRuleToGitignore()
  • addFunctionHook()
  • addHookToSession()
  • addInstalledPlugin()
  • addItemToJSONCArray()
  • addMarker()
  • addOutput()
  • addPermissionRulesToSettings()
  • addPluginScopeToLspServers()
  • addPluginScopeToServers()
  • addSessionHook()
  • addToExcludedCommands()
  • addToHistory()
  • addToInMemoryErrorLog()
  • addToNeverSuggest()
  • addToPromptHistory()
  • addToTotalModelUsage()
  • addToTotalSessionCost()
  • adjustHunkLineNumbers()
  • adjustIndexToPreserveAPIInvariants()
  • adoptResumedSessionFile()
  • advance()
  • agenticSessionSearch()
  • aggregateClaudeCodeStatsForRange()
  • aliasesOf()
  • analyzeContext()
  • analyzeContextUsage()
  • annotationsSchema()
  • ansiToPng()
  • ansiToSvg()
  • append()
  • appendEntry()
  • appendEntryToFile()
  • appendEventsToFile()
  • appendMessageToLocalAgent()
  • appendSessionLog()
  • appendSessionLogImpl()
  • appendSystemContext()
  • appendTeamMemorySummaryParts()
  • appendToFile()
  • appendToFile()
  • appendToLog()
  • applyColor()
  • applyCommandSuggestion()
  • applyConfigEnvironmentVariables()
  • applyCurlyDoubleQuotes()
  • applyDisplayStyles()
  • applyEditToFile()
  • applyMarkdown()
  • applyPaddingStyles()
  • applyPaddingToText()
  • applyPermissionRulesToPermissionContext()
  • applyPositionEdge()
  • applyPositionedHighlight()
  • applyPromptToMarkdown()
  • applyRemoteEntriesToLocal()
  • applySearchHighlight()
  • applySedSubstitution()
  • applySingleMotion()
  • applySnapshot()
  • applySnipRemovals()
  • applySortAndLimit()
  • applyStylesToWrappedText()
  • applyTaskOffsetsAndEvictions()
  • applyTruncation()
  • applyVarToScope()
  • archiveRemoteSession()
  • areSandboxSettingsLockedByPolicy()
  • areSourcesEquivalentForBlocklist()
  • asSessionId()
  • assemblePluginLoadResult()
  • assistantMessageToMessageParam()
  • astRedirectsToOutputRedirections()
  • atomicMoveToInstallPath()
  • atomicWriteToZipCache()
  • attachSession()
  • attributionRestoreStateFromLog()
  • autoUpdateMarketplacesAndPluginsInBackground()
  • backgroundAll()
  • backupTerminalPreferences()
  • bashCommandIsSafe_DEPRECATED()
  • batchDeltaByBytes()
  • blitEscapingAbsoluteDescendants()
  • blitShade()
  • blur()
  • bothAuthMethodsNotice.isActive()
  • boundAxis()
  • buildAPIProviderProperties()
  • buildAttributionSnapshotChain()
  • buildAuthUrl()
  • buildCharToSegmentMap()
  • buildCombinedMemoryPrompt()
  • buildCommandParts()
  • buildConsolidationPrompt()
  • buildConversationChain()
  • buildCronCreateDescription()
  • buildCronListPrompt()
  • buildDiffableContent()
  • buildEnvContext()
  • buildFileHistorySnapshotChain()
  • buildHookSchemas()
  • buildIDEProperties()
  • buildInheritedCliFlags()
  • buildInstallationDiagnostics()
  • buildMagicDocsUpdatePrompt()
  • buildMcpUserConfig()
  • buildMemoryDiagnostics()
  • buildMemoryLines()
  • buildMemoryPrompt()
  • buildNestedObject()
  • buildParseScript()
  • buildParsedCommandFromRoot()
  • buildPendingClassifierCheck()
  • buildPluginId()
  • buildPositionSet()
  • buildPowerShellArgs()
  • buildPrefix()
  • buildReplacement()
  • buildSearchResult()
  • buildSearchingPastContextSection()
  • buildSessionContext()
  • buildSessionMemoryUpdatePrompt()
  • buildSessionReadyMessage()
  • buildShellCommand()
  • buildSuggestions()
  • buildSummaryPrompt()
  • buildSystemPromptBlocks()
  • buildTranscriptEntries()
  • buildYoloSystemPrompt()
  • bytesPerTokenForFileType()
  • cacheAndRegisterPlugin()
  • cacheImagePath()
  • cachePluginSettings()
  • cacheSessionTitle()
  • cacheToObject()
  • cacheToStats()
  • cachedMicrocompactPath()
  • calculateApiKeyHelperTTL()
  • calculateCommitAttribution()
  • calculateContextPercentages()
  • calculateHorizontalScrollWindow()
  • calculateMessagesToKeepIndex()
  • calculatePluginVersion()
  • calculateShouldShowGrove()
  • calculateToolResultTokens()
  • call()
  • call()
  • call()
  • call()
  • callerFrame()
  • camelToSnakeCase()
  • canCycleToAuto()
  • cancel()
  • cancelReservation()
  • cancelSession()
  • captureMemoryDiagnostics()
  • captureScrolledRows()
  • captureScrolledRows()
  • captureSnap()
  • captureTeammateModeSnapshot()
  • captureUntrackedFiles()
  • categorizeRetryableAPIError()
  • cellAtIndex()
  • cellContentToToolResult()
  • cellOutputToToolResult()
  • charClass()
  • charInCellAt()
  • charWidth()
  • checkAddType()
  • checkAndDisableAutoModeIfNeeded()
  • checkAndDisableBypassPermissions()
  • checkAndDisableBypassPermissionsIfNeeded()
  • checkAndInstallOfficialMarketplace()
  • checkAndRefreshOAuthTokenIfNeeded()
  • checkAndRefreshOAuthTokenIfNeededImpl()
  • checkAndRestoreITerm2Backup()
  • checkAndRestoreTerminalBackup()
  • checkAutoCompactDisabled()
  • checkBackgroundRemoteSessionEligibility()
  • checkBudget()
  • checkCommandAndSuggestRules()
  • checkComputerUseLock()
  • checkContextWarnings()
  • checkDomainBlocklist()
  • checkDuplicates()
  • checkEditableInternalPath()
  • checkEnabledPlugins()
  • checkEncodedCommand()
  • checkForEachMemberName()
  • checkForLSPDiagnostics()
  • checkGithubAppInstalled()
  • checkHasRemoteEnvironment()
  • checkHasTrustDialogAccepted()
  • checkIdeConnection()
  • checkInvokeItem()
  • checkMcpTools()
  • checkMemoryBloat()
  • checkMetricsEnabled()
  • checkModuleLoading()
  • checkOutTeleportedSessionBranch()
  • checkPathConstraints()
  • checkPathTraversal()
  • checkPermissionMode()
  • checkQuotaStatus()
  • checkReadOnlyConstraints()
  • checkRecordingAvailability()
  • checkRemoteAgentEligibility()
  • checkSedConstraints()
  • checkStatsigFeatureGate_CACHED_MAY_BE_STALE()
  • checkStopParsing()
  • checkSubExpressions()
  • checkTmuxAvailable()
  • checkTokenBudget()
  • checkoutBranch()
  • chordToDisplayString()
  • chordToString()
  • claimTaskWithBusyCheck()
  • clampChalkLevelForTmux()
  • classifyAxiosError()
  • classifyFetchError()
  • classifyGuiEditor()
  • classifyPluginCommandError()
  • claudeAiSubscriberExternalTokenNotice.render()
  • cleanupComputerUseAfterTurn()
  • cleanupConn()
  • cleanupNpmCacheForAnthropicPackages()
  • cleanupNpmInstallations()
  • cleanupOldFileHistoryBackups()
  • cleanupOldImageCaches()
  • cleanupOldMessageFiles()
  • cleanupOldPastes()
  • cleanupOldSessionEnvDirs()
  • cleanupOldSessionFiles()
  • cleanupOldVersions()
  • cleanupSessionPluginCache()
  • cleanupSessionTeams()
  • cleanupShellAliases()
  • cleanupSingleDirectory()
  • cleanupStaleAgentWorktrees()
  • cleanupStaleIdeLockfiles()
  • cleanupWorktree()
  • cleanupYogaNode()
  • clear()
  • clear()
  • clearAllCaches()
  • clearAllSessions()
  • clearBetaTracingState()
  • clearBundledSkills()
  • clearCACertsCache()
  • clearCommandQueue()
  • clearConversation()
  • clearDeliveredDiagnosticsForFile()
  • clearDirectoryCache()
  • clearDumpState()
  • clearDynamicSkills()
  • clearDynamicTeamContext()
  • clearFastModeCooldown()
  • clearGrowthBookConfigOverrides()
  • clearMemoryFileCaches()
  • clearOAuthTokenCache()
  • clearPathCache()
  • clearPendingHistoryEntries()
  • clearPluginAgentCache()
  • clearPluginOutputStyleCache()
  • clearPluginSettingsBase()
  • clearPolicyLimitsCache()
  • clearPromptCache()
  • clearRepositoryCaches()
  • clearSession()
  • clearSessionCaches()
  • clearSessionEnvVars()
  • clearSessionHooks()
  • clearSessionMessagesCache()
  • clearSessionMetadata()
  • clearShellHistoryCache()
  • clip()
  • clipsBothAxes()
  • cloneContentReplacementState()
  • cloneDeep()
  • cloneFileStateCache()
  • close()
  • close()
  • coerceDescriptionToString()
  • collapseHookSummaries()
  • collectCandidatesFromMessage()
  • collectCompactableToolIds()
  • collectContextData()
  • collectListeners()
  • collectMarkdown()
  • collectMarkdownFiles()
  • collectTabbable()
  • colorToEscape()
  • colorToString()
  • commandHasAnyCd()
  • commandHasAnyGit()
  • commandHasArg()
  • commandWritesToGitInternalPaths()
  • commitCacheOutputs()
  • compactBoundaryMarker()
  • compactConversation()
  • compareStatsAndContent()
  • completeDreamTask()
  • completeMainSessionTask()
  • completeOnboarding()
  • componentWillUnmount()
  • compressImageBuffer()
  • computeChecksum()
  • computeFileModificationState()
  • computeFlexBasis()
  • computeHead()
  • computeInitialTeamContext()
  • computeNewLimitsFromHeaders()
  • computeNextCronRun()
  • computeRestoredAttributionState()
  • computeSearchText()
  • computeStandaloneAgentContext()
  • computeTargetDims()
  • configureApiKeyHeaders()
  • configureEffortParams()
  • configureGlobalAgents()
  • connect()
  • connect()
  • connectVoiceStream()
  • constructor()
  • constructor()
  • constructor()
  • constructor()
  • constructor()
  • constructor()
  • constructor()
  • constructor()
  • constructor()
  • constructor()
  • constructor()
  • constructor()
  • constructor()
  • constructor()
  • constructor()
  • constructor()
  • constructor()
  • constructor()
  • constructor()
  • constructor()
  • consumeAbsoluteRemovedFlag()
  • consumeFollowScroll()
  • consumeInternalWrite()
  • consumePendingCacheEdits()
  • consumeRawReadResult()
  • consumeSpeculativeClassifierCheck()
  • containsMultilineString()
  • containsPathTraversal()
  • contentBlocksToString()
  • contentToText()
  • context.isEnabled()
  • context.load()
  • contextNonInteractive.isEnabled()
  • contextNonInteractive.isHidden()
  • contextNonInteractive.load()
  • convertCompactBoundaryMessage()
  • convertDirectoryToZipInPlace()
  • convertEffortValueToLevel()
  • convertFileNameToDate()
  • convertLeadingTabsToSpaces()
  • convertPluginHooksToMatchers()
  • convertResultMessage()
  • convertRulesToUpdates()
  • convertSSEUrlToPostUrl()
  • convertToHookMatchers()
  • convertToLogOption()
  • convertToSandboxRuntimeConfig()
  • convertWsUrlToPostUrl()
  • copyAnsiToClipboard()
  • copyFileHistoryForResume()
  • copyOrWriteToFile()
  • copyOverlayToMain()
  • copyPluginToVersionedCache()
  • copyPngToClipboard()
  • copySelection()
  • copyWorktreeIncludeFiles()
  • count()
  • countAndSortItems()
  • countLines()
  • countLinesChanged()
  • countMemoryFileAccessFromEntries()
  • countMemoryFileTokens()
  • countNewlines()
  • countSkillTokens()
  • countSymbols()
  • countTokensViaHaikuFallback()
  • countUnescapedChar()
  • countUserPromptsFromEntries()
  • createActivityDescriptionResolver()
  • createAgentId()
  • createAndSaveSnapshot()
  • createAndStoreApiKey()
  • createAndUploadGitBundle()
  • createArgv0ShellFunction()
  • createBaseEnvironmentMetadata()
  • createBaseSlackContext()
  • createChromeContext()
  • createCollapsedGroup()
  • createCombinedAbortSignal()
  • createCommandPrefixExtractor()
  • createCompactionResultFromSessionMemory()
  • createCompressedImageResult()
  • createConfig()
  • createCronScheduler()
  • createCursorWithColumn()
  • createDefaultGlobalConfig()
  • createDenialTrackingState()
  • createDirectConnectSession()
  • createDisabledBypassPermissionsContext()
  • createExternalSwarmSession()
  • createFailedCommand()
  • createHttpsProxyAgent()
  • createHyperlink()
  • createIdleNotification()
  • createInProcessBackend()
  • createMemoryFileCanUseTool()
  • createMovedToPluginCommand()
  • createNode()
  • createPasteKey()
  • createPermissionRequest()
  • createPermissionRequestMessage()
  • createPermissionResponseMessage()
  • createPlanModeAttachmentIfNeeded()
  • createPluginCommand()
  • createPluginFromPath()
  • createPluginId()
  • createPostCompactFileAttachments()
  • createReadRuleSuggestion()
  • createRemoteSessionConfig()
  • createSandboxPermissionRequestMessage()
  • createSession()
  • createShutdownRequestMessage()
  • createSkillImprovementHook()
  • createSpeculationFeedbackMessage()
  • createStatsStore()
  • createSubagentContext()
  • createTeammateContext()
  • createTeammatePaneInSwarmView()
  • createTeammatePaneInSwarmView()
  • createTeammatePaneWithLeader()
  • createTmuxSessionForWorktree()
  • createWorktreeForSession()
  • createWrapperScript()
  • cronJitterConfigSchema()
  • cronToHuman()
  • crossAxis()
  • currentTarget()
  • cursorPosition()
  • cyclePermissionMode()
  • da1()
  • dangerousRemovalDeny()
  • data()
  • dateToFilename()
  • debug()
  • decisionReasonToOTelSource()
  • decodeFont()
  • decrementPendingWrites()
  • deduplicateLogsBySessionId()
  • deduplicateSessionBranches()
  • default.isEnabled()
  • defaultSyntaxThemeName()
  • del()
  • delete()
  • deleteClassifierApproval()
  • deletePermissionRule()
  • deletePluginOptions()
  • deleteSessionEnvVar()
  • deleteTask()
  • deleteToLineEnd()
  • deleteToLineStart()
  • deleteToLogicalLineEnd()
  • deleteTokenBefore()
  • dequeue()
  • dequeueAllMatching()
  • dequeuePendingNotification()
  • deriveSecurityFlags()
  • deserializeLogEntry()
  • destroyWorktree()
  • detectAndGetBackend()
  • detectAndUninstallDelistedPlugins()
  • detectBlockedSleepPattern()
  • detectCodeIndexingFromMcpServerName()
  • detectColorMode()
  • detectDelistedPlugins()
  • detectDeploymentEnvironment()
  • detectEncodingForResolvedPath()
  • detectFromColorFgBg()
  • detectGateway()
  • detectGitOperation()
  • detectIDEs()
  • detectImageFormatFromBuffer()
  • detectLanguage()
  • detectLineEndings()
  • detectMacosTerminal()
  • detectMagicDocHeader()
  • detectMise()
  • detectMultipleInstallations()
  • detectPackageManager()
  • detectPackageManagers()
  • detectRpm()
  • detectRunningIDEsImpl()
  • detectSessionFileType()
  • detectSessionFileType()
  • detectSessionPatternType()
  • detectTerminal()
  • detectTurnInterruption()
  • detectUnreachableRules()
  • detectWinget()
  • didLayoutShift()
  • didStopImmediatePropagation()
  • diff()
  • diffRowBoth()
  • diffSameWidth()
  • disableAllPlugins()
  • disableAllPluginsOp()
  • disableKeepAlive()
  • disconnect()
  • dispatchClick()
  • dispatchContinuous()
  • dispatchHover()
  • displayWidthToStringIndex()
  • dispose()
  • doDownloadUserSettings()
  • doExport()
  • doExport()
  • doesMessageExistInSession()
  • downLogicalLine()
  • downloadAndSaveFile()
  • downloadAndVerifyBinary()
  • downloadCaBundle()
  • downloadFile()
  • downloadMcpb()
  • downloadSessionFiles()
  • downloadVersionFromArtifactory()
  • downloadVersionFromBinaryRepo()
  • drainAdaptive()
  • drainProportional()
  • drainSdkEvents()
  • dropSubtreeCache()
  • eagerParseCliFlag()
  • edges()
  • editFileInEditor()
  • emitHookResponse()
  • emitHookStarted()
  • emitPerfettoInstant()
  • enablePaneBorderStatus()
  • encodeChunk()
  • encodePng()
  • endHookSpan()
  • endInteractionPerfettoSpan()
  • endInteractionSpan()
  • endLLMRequestPerfettoSpan()
  • endOfFile()
  • endOfLine()
  • endOfLogicalLine()
  • endOfVimWord()
  • endOfWORD()
  • endOfWord()
  • enqueueMainSessionNotification()
  • enqueueRemoteReviewFailureNotification()
  • enrichLogs()
  • ensureCachedMCState()
  • ensureCleanupInterval()
  • ensureCurrentSessionFile()
  • ensureFileOpened()
  • ensureKeychainPrefetchCompleted()
  • ensureLocalPackageEnvironment()
  • ensureMemoryDirExists()
  • ensureOutputDir()
  • ensureParserInitialized()
  • ensureSession()
  • ensureSession()
  • enterAlternateScreen()
  • envSessionKind()
  • error()
  • error()
  • errorKey()
  • errorMessage()
  • escapeRuleContent()
  • escapeXmlAttr()
  • estimateMessageTokens()
  • evaluateTimeBasedTrigger()
  • evictStaleSpans()
  • evictStaleSpansForTesting()
  • evictTaskOutput()
  • evictTerminalTask()
  • execAgentHook()
  • execFileNoThrow()
  • execHttpHook()
  • execSyncWithDefaults_DEPRECATED()
  • execTmux()
  • executeAsyncClassifierCheck()
  • executeCloudPersistence()
  • executeElicitationHooks()
  • executeEnvHooks()
  • executeFileSuggestionCommand()
  • executeForkedSlashCommand()
  • executeHooksOutsideREPL()
  • executeIndent()
  • executeLineOp()
  • executeOperatorG()
  • executeOperatorMotion()
  • executePostCompactHooks()
  • executePostSamplingHooks()
  • executePromptSuggestion()
  • executePush()
  • executeSessionEndHooks()
  • executeSessionStartHooks()
  • executeSetupHooks()
  • executeShellCommandsInPrompt()
  • executeStopFailureHooks()
  • executeTaskCreatedHooks()
  • executeToggleCase()
  • exitRestoredWorktree()
  • exitWithError()
  • exitWithMessage()
  • expandBraces()
  • expandIPv6Groups()
  • expandPastedTextRefs()
  • expandTilde()
  • extensionForMimeType()
  • externalPermissionModeSchema()
  • extractAtMentionedFiles()
  • extractClaudeCodeHints()
  • extractCommandArguments()
  • extractConnectionErrorDetails()
  • extractConversationContext()
  • extractConversationText()
  • extractDangerousPatterns()
  • extractFirstMessageText()
  • extractFirstPromptFromChunk()
  • extractFirstUserMessageText()
  • extractFromServerConfigRecord()
  • extractGlobBaseDirectory()
  • extractHost()
  • extractHostFromSource()
  • extractImagesFromValue()
  • extractJsonStringField()
  • extractPDFPages()
  • extractQuotaStatusFromError()
  • extractQuoteContext()
  • extractRawUtilization()
  • extractResultText()
  • extractReviewFromLog()
  • extractRowText()
  • extractSafeCatHeredoc()
  • extractSandboxViolations()
  • extractSectionName()
  • extractSessionMemory()
  • extractSkillName()
  • extractSystemReminderContent()
  • extractTranscript()
  • extractUrlScheme()
  • extractUsage()
  • extractZipToDirectory()
  • fetchAndLoadPolicyLimits()
  • fetchAndLoadRemoteManagedSettings()
  • fetchAndStoreChangelog()
  • fetchAndStoreClaudeCodeFirstTokenDate()
  • fetchAndStoreGroveConfig()
  • fetchAndStorePassesEligibility()
  • fetchAndStoreUserRoles()
  • fetchBootstrapAPI()
  • fetchFastModeStatus()
  • fetchLogs()
  • fetchPolicyLimits()
  • fetchPrStatus()
  • fetchSession()
  • fetchSessionLogsFromUrl()
  • fetchSystemPromptParts()
  • fetchTeamMemory()
  • fetchTeamMemoryHashes()
  • fetchTeamMemoryOnce()
  • fetchUntrackedFiles()
  • fileHistoryCanRestore()
  • fileHistoryEnabled()
  • fileHistoryEnabledSdk()
  • fileHistoryGetDiffStats()
  • fileHistoryHasAnyChanges()
  • fileHistoryMakeSnapshot()
  • fileHistoryRestoreStateFromLog()
  • fileHistoryRewind()
  • fileHistoryTrackEdit()
  • fileNameWords()
  • filterAllowedSdkBetas()
  • filterCdCwdSubcommands()
  • filterDuplicateMemoryAttachments()
  • filterExistingPaths()
  • filterInjectedMemoryFiles()
  • filterRulesByContentsMatchingInput()
  • filterStartCodes()
  • filterSwarmFieldsFromSchema()
  • filterToBundledAndMcp()
  • filterToolsByDenyRules()
  • finalContextTokensFromLastResponse()
  • finalizeHook()
  • finalizePendingAsyncHooks()
  • findAdjacentPairs()
  • findExecutable()
  • findFileSnapshotEntry()
  • findFirstUnescapedChar()
  • findHighestTaskIdFromFiles()
  • findKeywordTriggerPositions()
  • findLastStringToken()
  • findLogicalLineStart()
  • findMarkdownFilesNative()
  • findMatchedAlias()
  • findMidInputSlashCommand()
  • findMostRecentBackup()
  • findOwnerChainAtRow()
  • findPluginInSettings()
  • findRelevantMemories()
  • findReusableCacheEntry()
  • findSeedMarketplaceLocation()
  • findSlackClient()
  • findTeammateColor()
  • findWordObject()
  • fireRawRead()
  • firstLineOf()
  • flushAndCleanup()
  • flushPromptHistory()
  • flushSessionSection()
  • flushSessionStorage()
  • flushTelemetry()
  • fmtCoord()
  • focusNext()
  • forceEnd()
  • forceFlush()
  • forceRedraw()
  • foregroundMainSessionTask()
  • forkSession()
  • formatAPIError()
  • formatActionForClassifier()
  • formatCallHierarchyItem()
  • formatCommandsWithinBudget()
  • formatCompactSummary()
  • formatContextAsMarkdownTable()
  • formatDiagnosticsForAttachment()
  • formatDirectoryList()
  • formatDocumentSymbolNode()
  • formatFailureNames()
  • formatFileSize()
  • formatFindReferencesResult()
  • formatGoToDefinitionResult()
  • formatGrantAmount()
  • formatImageRef()
  • formatLimitInfo()
  • formatLimitReachedText()
  • formatLockHeld()
  • formatMemoryManifest()
  • formatMessagesForContext()
  • formatPastedTextRef()
  • formatPathLink()
  • formatPrice()
  • formatRelativeTime()
  • formatResetTime()
  • formatSetupNotes()
  • formatSkillLoadingMetadata()
  • formatSourceForDisplay()
  • formatTokens()
  • formatValidationPath()
  • formatWelcomeMessage()
  • formatZodError()
  • forwardToWs()
  • free()
  • fromArray()
  • fromCount()
  • fromG()
  • fromIndent()
  • fromJsonTimestamp()
  • fromJsonTimestamp()
  • fromOperatorFind()
  • fromText()
  • fullInputSchema()
  • gatherAllCandidates()
  • generateActionsTable()
  • generateCodeVerifier()
  • generateContextSuggestions()
  • generateFixSuggestion()
  • generateHeatmap()
  • generateLoremIpsum()
  • generateMainSessionTaskId()
  • generateMcpConfig()
  • generatePreview()
  • generateProgressiveArgumentHint()
  • generateSandboxRequestId()
  • generateSessionName()
  • generateSessionTitle()
  • generateTimeOfDayChart()
  • generateTitleAndBranch()
  • generateTmuxSessionName()
  • generateWordSlug()
  • get()
  • get()
  • get()
  • getAPIContextManagement()
  • getAbsoluteAndRelativePaths()
  • getAddDirEnabledPlugins()
  • getAdvisorConfig()
  • getAgentContext()
  • getAgentDescriptionsTotalTokens()
  • getAgentId()
  • getAgentIdentification()
  • getAgentStatuses()
  • getAgentTranscript()
  • getAgentTranscriptPath()
  • getAlignSelf()
  • getAllCommands()
  • getAllCommands()
  • getAllGrowthBookFeatures()
  • getAllInProcessTeammateTasks()
  • getAllLockInfo()
  • getAllMemoryFilePaths()
  • getAllReleaseNotes()
  • getAllSessionFiles()
  • getAllWindowsRegistryKeys()
  • getAnthropicApiKey()
  • getAttributionRepoRoot()
  • getAutoAllowedCommands()
  • getAutoMemPath()
  • getAutoModeAttachments()
  • getAutoModeClassifierTranscript()
  • getAutoModeConfig()
  • getAutoModeDumpDir()
  • getAutoModeFlagCli()
  • getAutoModeUnavailableNotification()
  • getAutoRunIssueReasonText()
  • getAwsCredsFromCredentialExport()
  • getAxiosErrorContext()
  • getBackgroundUsageNote()
  • getBackupFileName()
  • getBashPromptAllowDescriptions()
  • getBedrockExtraBodyParamsBetas()
  • getBinaryBlobSavedMessage()
  • getBinaryName()
  • getBlockedMarketplaces()
  • getBranch()
  • getBranchFromSession()
  • getBridgeBaseUrl()
  • getBudgetContinuationMessage()
  • getBuiltinPluginSkillCommands()
  • getCachePathForSource()
  • getCachedBranch()
  • getCachedDefaultBranch()
  • getCachedDetectionResult()
  • getCachedMCModule()
  • getCachedOverageCreditGrant()
  • getCachedPowerShellPath()
  • getCachedReferrerReward()
  • getCachedRepository()
  • getChangelogCachePath()
  • getChicagoEnabled()
  • getChildCount()
  • getChromeBridgeUrl()
  • getClassifierApproval()
  • getClaudeMds()
  • getClaudeTempDir()
  • getCliHighlightPromise()
  • getClientSurface()
  • getClipboardCommands()
  • getCommandDescription()
  • getCommandName()
  • getCommandPrefix.preCheck()
  • getCommandPrefixStatic()
  • getCommandQueue()
  • getCommandSemantic()
  • getCommandSpec()
  • getCommandSubcommandPrefixImpl()
  • getCommandTypeForLogging()
  • getCommandTypeForLogging()
  • getCommitAndPRInstructions()
  • getCommonDir()
  • getCompactionReminderAttachment()
  • getCompiledRules()
  • getCompletionsForShell()
  • getCompoundCommandPrefixesStatic()
  • getComputedBottom()
  • getComputedHeight()
  • getComputedLeft()
  • getComputedPadding()
  • getComputedWidth()
  • getConfig()
  • getConfigFile()
  • getConfiguredApiKeyHelper()
  • getConnectedClaudeAIConnectors()
  • getConnectedIdeClient()
  • getContextEfficiencyAttachment()
  • getContextWindowForModel()
  • getCoordinatorUserContext()
  • getCoordinatorUserContext()
  • getCoordinatorUserContext()
  • getCoreUserData()
  • getCriticalSystemReminderAttachment()
  • getCurrentAgentInfo()
  • getCurrentInstallationType()
  • getCurrentMockScenario()
  • getCurrentProjectConfig()
  • getCurrentSessionAgentColor()
  • getCurrentSessionTag()
  • getCurrentSessionTitle()
  • getCurrentSpan()
  • getCurrentWindowPaneCount()
  • getCurrentWindowTarget()
  • getCurrentWorktreeSession()
  • getCustomTips()
  • getCutoffDate()
  • getDebugFilePath()
  • getDebugLogPath()
  • getDebugWriter()
  • getDefaultEditDescription()
  • getDefaultExternalAutoModeRules()
  • getDefaultFileReadingLimits()
  • getDefaultParsedBindings()
  • getDefaultUpdatePrompt()
  • getDefaultVertexRegion()
  • getDeferredToolsDelta()
  • getDeferredToolsDeltaAttachment()
  • getDenyRuleForAgent()
  • getDescription()
  • getDesktopPath()
  • getDesktopVersion()
  • getDiffRef()
  • getDirectoriesToProcess()
  • getDisplay()
  • getDoctorDiagnostic()
  • getDynamicConfig_CACHED_MAY_BE_STALE()
  • getDynamicSkills()
  • getDynamicTeamContext()
  • getEarlyWarningFromHeaders()
  • getEarlyWarningText()
  • getEffectiveContextWindowSize()
  • getEmailAsync()
  • getEmptyCache()
  • getEmptyPermissionSettingsJson()
  • getEmptyStats()
  • getEnabledPluginIdsForScope()
  • getEnabledSettingSources()
  • getEnabledVia()
  • getEnhancedPRAttribution()
  • getEntrypoint()
  • getEnumLabels()
  • getEnvMaxTokens()
  • getEnvOverrides()
  • getEnvironmentSelectionInfo()
  • getErrnoPath()
  • getEventMetadata()
  • getEventSamplingConfig()
  • getExistingSessionFile()
  • getExperimentAdvisorModels()
  • getExtensionIds()
  • getExternalClaudeMdIncludes()
  • getExternalEditor()
  • getFeatureValue_DEPRECATED()
  • getFileIdentity()
  • getFileModificationTimeAsync()
  • getFilePathFromInput()
  • getFilePathsFromReadMessage()
  • getFileStatus()
  • getFileSystemErrorMessage()
  • getFirstMeaningfulUserMessageTextContent()
  • getFlaggedPluginsPath()
  • getFlexDirection()
  • getFlexShrink()
  • getFrequentlyModifiedFiles()
  • getFsImplementation()
  • getGhAuthStatus()
  • getGitCommitSha()
  • getGitStatus()
  • getGithubRepo()
  • getGlobExclusionsForPluginCache()
  • getGlobalClaudeFile()
  • getGlobalConfigWriteCount()
  • getGraphemeSegmenter()
  • getGrowthBookClient()
  • getHasFormattedOutput()
  • getHistory()
  • getHkcuSettings()
  • getHookDefinitionsForTelemetry()
  • getHookDisplayText()
  • getHookEnvFilePath()
  • getHookEventMetadata()
  • getHooksConfigFromSnapshot()
  • getHostPatternsFromAllowlist()
  • getITerm2PlistPath()
  • getImagePathFromClipboard()
  • getImageProcessor()
  • getImageStoreDir()
  • getInMemoryErrors()
  • getInMemoryInstalledPlugins()
  • getInitialEffortSetting()
  • getInitialFastModeSetting()
  • getInitialSettings()
  • getInstallCounts()
  • getInstallationPrefix()
  • getInstalledPlugins()
  • getInstalledPluginsV2FilePath()
  • getInstalledVSCodeExtensionVersion()
  • getInstance()
  • getInstance()
  • getInternalSubagentEventReader()
  • getIsBubblewrapSandbox()
  • getKillRingSize()
  • getKnownChannelsVersion()
  • getKubernetesNamespace()
  • getLargeMemoryFiles()
  • getLastCacheSafeParams()
  • getLastSessionLog()
  • getLastYogaMs()
  • getLatestVersionFromArtifactory()
  • getLayoutMode()
  • getLeaderPaneId()
  • getLeaderSessionId()
  • getLeaderSetToolPermissionContext()
  • getLine()
  • getListNumber()
  • getLocalClaudePath()
  • getLocale()
  • getLockFilePath()
  • getLogByIndex()
  • getLogDisplayTitle()
  • getMCPLogsPath()
  • getMTLSConfig()
  • getMacOsKeychainStorageServiceName()
  • getManagedAndUserConditionalRules()
  • getManagedPluginNames()
  • getManagedSettingsDropInDir()
  • getManagedSettingsFilePath()
  • getMarketplace()
  • getMarketplaceDeclaringSource()
  • getMarketplaceJsonRelativePath()
  • getMarketplacesCacheDir()
  • getMatcherMetadata()
  • getMaxBudgetUsdAttachment()
  • getMaxOutputLength()
  • getMaxTaskOutputLength()
  • getMaxThinkingTokensForModel()
  • getMaxTimeoutMs()
  • getMaxVersionMessage()
  • getMcpInstructionsDelta()
  • getMcpServerType()
  • getMcpbCacheDir()
  • getMemoryBaseDir()
  • getMemoryFiles()
  • getMemoryFilesForNestedDirectory()
  • getMemoryPath()
  • getMethodAndParams()
  • getMockStatus()
  • getMockSubscriptionType()
  • getModelMaxOutputTokens()
  • getMultiSelectLabels()
  • getMyAdminRequests()
  • getNativeMessagingHostsDirs()
  • getNestedMemoryAttachments()
  • getNestedMemoryAttachmentsForFile()
  • getNext()
  • getNpmDistTags()
  • getNumberFormatter()
  • getOAuthTokenFromFileDescriptor()
  • getOauthProfileFromApiKey()
  • getOpenedFileFromIDE()
  • getOperatorRange()
  • getOptions()
  • getOpus46CostTier()
  • getOpusDefaultEffortConfig()
  • getOrCreateOutput()
  • getOrCreateUserID()
  • getOrphanedAtPath()
  • getOtlpTraceExporters()
  • getOutputRedirections()
  • getOutputStyleDirStyles()
  • getOwnerChain()
  • getPDFPageCount()
  • getParent()
  • getParentSessionId()
  • getPastePath()
  • getPastedTextRefNumLines()
  • getPatchForEdits()
  • getPath()
  • getPatternsByRoot()
  • getPdfInvalidErrorMessage()
  • getPendingDir()
  • getPendingRequestPath()
  • getPendingShutdownForTesting()
  • getPendingUpdateCount()
  • getPerfettoEvents()
  • getPerformance()
  • getPillLabel()
  • getPinnedCacheEdits()
  • getPipelineSegments()
  • getPlanModeAttachmentTurnCount()
  • getPlanModeExitAttachment()
  • getPlansDirectory()
  • getPluginDataDir()
  • getPluginErrorMessage()
  • getPluginHookCounts()
  • getPluginInstallationFromV2()
  • getPluginSeedDirs()
  • getPolicyLimitsEndpoint()
  • getPolicySettingsOrigin()
  • getPosition()
  • getPositionFromOffset()
  • getPositionType()
  • getPreReadInstruction()
  • getPreferTmuxOverIterm2()
  • getProcessCommand()
  • getProject()
  • getProjectDir()
  • getProjectDirsUpToHome()
  • getPrompt()
  • getPrompt()
  • getPrompt()
  • getPrompt()
  • getPromptCachingEnabled()
  • getProxyUrl()
  • getPythonApiInstructions()
  • getQuerySourceForAgent()
  • getQueuedCommandAttachments()
  • getRateLimitDisplayName()
  • getRateLimitErrorMessage()
  • getRecentActivitySync()
  • getRecentReleaseNotesSync()
  • getRelativeSettingsFilePathForSource()
  • getRelevantMemoryAttachments()
  • getRemainingResults()
  • getRemoteControlAtStartup()
  • getRemoteHostSessionCount()
  • getRemoteManagedSettingsSyncFromCache()
  • getRemoteSessionUrl()
  • getRemoteSettingsAuthHeaders()
  • getRemoteTaskSessionUrl()
  • getRenderContext()
  • getReservedShortcuts()
  • getRestrictionsFromCache()
  • getResultText()
  • getRetryAfterMs()
  • getRetryDelay()
  • getRipgrepStatus()
  • getRootNode()
  • getSandboxEnabledSetting()
  • getScratchpadDir()
  • getScrollDrainNode()
  • getScrollHint()
  • getSecureStorage()
  • getSessionDir()
  • getSessionEndHookTimeoutMs()
  • getSessionEnvDirPath()
  • getSessionEnvVars()
  • getSessionEnvironmentScript()
  • getSessionFileTypeFromInput()
  • getSessionFilesLite()
  • getSessionFilesWithMtime()
  • getSessionFunctionHooks()
  • getSessionHookCallback()
  • getSessionHooks()
  • getSessionId()
  • getSessionId()
  • getSessionIdFromLog()
  • getSessionInfo()
  • getSessionIngressAuthHeaders()
  • getSessionIngressAuthToken()
  • getSessionLogs()
  • getSessionLogsViaOAuth()
  • getSessionMemoryCompactConfig()
  • getSessionMemoryConfig()
  • getSessionMemoryContent()
  • getSessionMemoryDir()
  • getSessionMemoryPath()
  • getSessionMemoryRemoteConfig()
  • getSessionMessages()
  • getSessionMessages()
  • getSessionMetaDir()
  • getSessionPluginCachePath()
  • getSessionRecordingPaths()
  • getSessionSettingsCache()
  • getSessionSpecificGuidanceSection()
  • getSessionState()
  • getSessionsDir()
  • getSessionsSinceLastShown()
  • getSettingSourceDisplayNameLowercase()
  • getSettingsPaths()
  • getSettingsRootPathForSource()
  • getSettingsSyncAuthHeaders()
  • getSettingsWithAllErrors()
  • getShellConfigImpl()
  • getShellConfigPaths()
  • getShellHistoryCommands()
  • getShellHistoryCompletion()
  • getShellType()
  • getShortcutDisplay()
  • getSimpleSandboxSection()
  • getSimpleToneAndStyleSection()
  • getSkillCommandName()
  • getSlowWarning()
  • getSlugFromLog()
  • getSnapshotScript()
  • getSnippet()
  • getSocketDir()
  • getSocketName()
  • getSonnet1mExpTreatmentEnabled()
  • getStagedFiles()
  • getStandaloneAgentName()
  • getStdinOverride()
  • getSteps()
  • getStoredChangelog()
  • getStoredChangelogFromMemory()
  • getStoredImagePath()
  • getStoredSessionCosts()
  • getSubagentLogName()
  • getSubscriptionName()
  • getSwarmSocketName()
  • getSymbolAtPosition()
  • getSyntaxTheme()
  • getSystemContext()
  • getSystemLocaleLanguage()
  • getSystemPromptInjection()
  • getSystemThemeName()
  • getTLSFetchOptions()
  • getTask()
  • getTaskByType()
  • getTaskListLockPath()
  • getTaskOutputSize()
  • getTaskReminderAttachments()
  • getTasksDir()
  • getTeamContextAttachment()
  • getTeamDir()
  • getTeamMemPath()
  • getTeamMemorySyncEndpoint()
  • getTeammateColor()
  • getTeammateCommand()
  • getTeammateContext()
  • getTeammateExecutor()
  • getTeammateIdleHookMessage()
  • getTeammateMailboxAttachments()
  • getTeammateUtils()
  • getTelemetryAttributes()
  • getTelemetryPluginScope()
  • getTerminalIdeType()
  • getTerminalPanel()
  • getTerminalWithJetBrainsDetectionAsync()
  • getTheme()
  • getTimeBasedMCConfig()
  • getTimestampedHistory()
  • getTipToShowOnSpinner()
  • getTmuxInstallInstructions()
  • getTodoReminderTurnCounts()
  • getTokenCountFromTracker()
  • getTokenRevokedErrorMessage()
  • getToolsWithGrouping()
  • getTracer()
  • getTranscriptPath()
  • getTranscriptPathForSession()
  • getTruncationMessage()
  • getTurndownService()
  • getUnconfiguredChannels()
  • getUpdatePromptTemplate()
  • getUpdatedContext()
  • getUserClaudeRulesDir()
  • getUserContext()
  • getUserPromptSubmitHookBlockingMessage()
  • getValidationTip()
  • getVersionHistory()
  • getVersionPaths()
  • getVersionedCachePathIn()
  • getViewportCharEnd()
  • getWatchablePaths()
  • getWebFetchUserAgent()
  • getWebSocketProxyAgent()
  • getWidth()
  • getWordBoundaries()
  • getWordSegmenter()
  • getWorktreeCountFromFs()
  • getWorktreePaths()
  • getWrittenFilePath()
  • getWslVersion()
  • getXDGDataHome()
  • getYesterdayDateString()
  • getZipCacheKnownMarketplacesPath()
  • getZipCachePluginsDir()
  • gitDiffSchema()
  • gitExe()
  • gitPull()
  • goToLine()
  • gracefulShutdownSync()
  • groupByFile()
  • groupHooksByEventAndMatcher()
  • gt()
  • handleAdd()
  • handleChange()
  • handleClickFocus()
  • handleData()
  • handleEPIPE()
  • handleError()
  • handleErrorRedirect()
  • handleFastModeOverageRejection()
  • handleFileEvent()
  • handleFileSystemError()
  • handleMcpClient()
  • handleMemoryFileReadError()
  • handleMouseEvent()
  • handleNormalInput()
  • handleOAuth401ErrorImpl()
  • handlePlanApproval()
  • handlePromptSubmit()
  • handleQueryStart()
  • handleRedirection()
  • handleSessionFileAccess()
  • handleShutdownRequest()
  • handleSpawnInProcess()
  • handleSpawnSeparateWindow()
  • handleUrlSchemeLaunch()
  • has1mContext()
  • hasAccessToIDEExtensionDiffFeature()
  • hasAnyDefinedEdge()
  • hasAutoMemPathOverride()
  • hasAutoModeOptInAnySource()
  • hasBackslashEscapedOperator()
  • hasCommandArgs()
  • hasCommandNamed()
  • hasConsoleBillingAccess()
  • hasCursorUpViewportYankBug()
  • hasFileArgs()
  • hasHookForEvent()
  • hasInstructionsLoadedHook()
  • hasMemoryWritesSince()
  • hasNewLayout()
  • hasNodeOption()
  • hasPath()
  • hasPendingResponse()
  • hasPermissionsToUseTool()
  • hasPermissionsToUseToolInner()
  • hasPrefix()
  • hasProfileScope()
  • hasQueuedCommands()
  • hasRTLCharacters()
  • hasRootNode()
  • hasRules()
  • hasSelection()
  • hasSession()
  • hasSession()
  • hasSessionInSwarm()
  • hasShellQuoteSingleQuoteBug()
  • hasShownHintThisSession()
  • hasSkipDangerousModePermissionPrompt()
  • hasSuspiciousWindowsPathPattern()
  • hasTextSelection()
  • hasUltraplanKeyword()
  • hasUnescapedChar()
  • hasUnfinishedTools()
  • hasUnpushedCommits()
  • hasWorktreeCreateHook()
  • hashContent()
  • hashString()
  • headlessProfilerStartTurn()
  • heuristicallyExtractBaseCommand()
  • hidePane()
  • highlightMatch()
  • hljs()
  • hookResponseSchema()
  • hookSourceDescriptionDisplayString()
  • hrTimeToDate()
  • hrTimeToISOString()
  • hydrateRemoteSession()
  • hydrateValue()
  • immediateFlushHistory()
  • increment()
  • incrementIgnoredCount()
  • indexOfWithin()
  • inferContextFromAction()
  • initExtractMemories()
  • initFingerprint()
  • initSessionMemory()
  • initSessionMemoryCompactConfig()
  • initSessionMemoryConfigIfNeeded()
  • initSinks()
  • initTaskOutputAsSymlink()
  • initialize1PEventLogging()
  • initializeAnalyticsSink()
  • initializeEntrypoint()
  • initializeErrorLogSink()
  • initializeFileChangedWatcher()
  • initializePerfettoTracing()
  • initializePolicyLimitsLoadingPromise()
  • initializeTeammateContextFromSession()
  • initializeTeammateHooks()
  • initializeToolPermissionContext()
  • injectUserMessageToTeammate()
  • inputSchema()
  • inputSchema()
  • inputSchema()
  • inputSchema()
  • inputSchema()
  • inputSchema()
  • inputSchema()
  • inputSchema()
  • inputSchema()
  • inputSchema()
  • inputSchema()
  • inputSchema()
  • inputToString()
  • insertFileHistorySnapshot()
  • insertQueueOperation()
  • installAsciicastRecorder()
  • installFromGitHub()
  • installFromLocal()
  • installFromNpm()
  • installGlobalPackage()
  • installIDEExtension()
  • installLatestImpl()
  • installResolvedPlugin()
  • installStreamJsonStdoutGuard()
  • installVersionFromBinary()
  • internCharString()
  • interpretCommandResult()
  • intersects()
  • invalidate()
  • invalidateSessionEnvCache()
  • is1mContextDisabled()
  • isAbortError()
  • isAcceptEditsAllowedCmdlet()
  • isAgentTeamsFlagSet()
  • isAllowlistedCommand()
  • isAltScreenActive()
  • isAnalyticsDisabled()
  • isArithStop()
  • isAsyncHookJSONOutput()
  • isAtEnd()
  • isAtGitRoot()
  • isAuthenticationError()
  • isAutoCompactEnabled()
  • isAutoManagedMemoryFile()
  • isAutoManagedMemoryPattern()
  • isAutoMemFile()
  • isAutoMemPath()
  • isAutoMemoryEnabled()
  • isAutoModeDisabledBySettings()
  • isAutobackgroundingAllowed()
  • isAvailable()
  • isAwsAuthRefreshFromProjectSettings()
  • isBareMode()
  • isBaseDigit()
  • isBaselineLayout()
  • isBgSession()
  • isBigQueryMetricsEnabled()
  • isBinaryInstalled()
  • isBlockedAddress()
  • isBlockedDevicePath()
  • isBuiltinPluginId()
  • isCellEmpty()
  • isChainParticipant()
  • isChromeExtensionInstalledPortable()
  • isClassifierPermissionsEnabled()
  • isCommandList()
  • isCommandSafeViaFlagParsing()
  • isComputerUseLock()
  • isConsumerSubscriber()
  • isContentAlreadyCompacted()
  • isCtrlKey()
  • isCurrentDirectoryBareGitRepo()
  • isCursorInstalled()
  • isDangerousClassifierPermission()
  • isDangerousFilePathToAutoEdit()
  • isDangerousPowerShellPermission()
  • isDateTimeSchema()
  • isDebugMode()
  • isDebugToStdErr()
  • isDevMode()
  • isDreamTask()
  • isEnterpriseSubscriber()
  • isEnumSchema()
  • isErrnoException()
  • isEssentialTrafficOnly()
  • isExtractModeActive()
  • isFastModeAvailable()
  • isFileReadDenied()
  • isFileWithinReadSizeLimit()
  • isFilesystemCommand()
  • isGateOpen()
  • isGcpAuthRefreshFromProjectSettings()
  • isGhSafe()
  • isGitInternalPathPS()
  • isGoogleAuthLibraryCredentialError()
  • isGrowthBookEnabled()
  • isIdentChar()
  • isIex()
  • isImageBlock()
  • isImageFilePath()
  • isInProcessEnabled()
  • isInProcessTeammate()
  • isInProcessTeammateTask()
  • isInProtectedNamespace()
  • isInstallableScope()
  • isInstallationRelevantToCurrentProject()
  • isInstructionsMemoryType()
  • isInstructionsMemoryType()
  • isInvalidTypeIssue()
  • isIt2CliAvailable()
  • isIt2CliAvailable()
  • isJetBrainsPluginInstalled()
  • isJetBrainsPluginInstalledCachedSync()
  • isKeybindingBlock()
  • isKeybindingBlock()
  • isKnownSubcommand()
  • isLabeledHookSummary()
  • isLocationLink()
  • isLspConnected()
  • isMacosOptionChar()
  • isMainSessionTask()
  • isMainThreadSource()
  • isManagedOAuthContext()
  • isMaxSubscriber()
  • isMaxTokensCapEnabled()
  • isMcpServerCommandEntry()
  • isMcpbSource()
  • isMedia()
  • isMediaSizeErrorMessage()
  • isMemoryDirectory()
  • isMemoryFileAccess()
  • isMemoryFilePath()
  • isMemorySearch()
  • isMemoryWriteOrEdit()
  • isMockFastModeRateLimitScenario()
  • isMockRateLimitError()
  • isModeSetRequest()
  • isModernWindowsTerminal()
  • isMouseClicksDisabled()
  • isNewCommandContext()
  • isNodeError()
  • isNpmFromWindowsPath()
  • isOAuthTokenExpired()
  • isOAuthTokenRevokedError()
  • isOfficialMarketplace()
  • isOfficialMarketplaceAutoInstallDisabled()
  • isOpeningContext()
  • isOperator()
  • isOperator()
  • isOtelHeadersHelperFromProjectOrLocalSettings()
  • isOutOfCreditsReason()
  • isOverWhitespace()
  • isOverageProvisioningAllowed()
  • isOverlyBroadPowerShellAllowRule()
  • isPDFExtension()
  • isPathSafe()
  • isPermissionUpdateDestination()
  • isPidBasedLockingEnabled()
  • isPlanModeInterviewPhaseEnabled()
  • isPolicyLimitsEligible()
  • isPrintCommand()
  • isProactiveActive_SAFE_TO_CALL_ANYWHERE()
  • isProcessRunning()
  • isProjectConfigKey()
  • isProjectDirPath()
  • isQueuedCommandEditable()
  • isRawModeSupported()
  • isRealPathWithinTeamDir()
  • isRedirectInfo()
  • isReferenceBaseline()
  • isRemoteSessionLocal()
  • isRemoteSessionStaging()
  • isReplModeEnabled()
  • isRestrictedToPluginOnly()
  • isRunning()
  • isRunningInside()
  • isRunningWithBun()
  • isSSHSession()
  • isSafeHeredoc()
  • isSafeOutputCommand()
  • isSandboxPermissionResponse()
  • isSandboxRequired()
  • isSandboxingEnabled()
  • isSessionActivityTrackingActive()
  • isSessionEndMessage()
  • isSessionMemoryEmpty()
  • isSessionMemoryGateEnabled()
  • isSessionMemoryInitialized()
  • isSessionMemoryPath()
  • isSessionPlanFile()
  • isSet()
  • isSet()
  • isShellCommandTargetingMemory()
  • isShutdownRejected()
  • isShutdownRequest()
  • isSilentBashCommand()
  • isSkillFile()
  • isSpeculationEnabled()
  • isStaticRedirectTarget()
  • isStdoutMessage()
  • isStretchAlign()
  • isSubagentContext()
  • isSupportedVSCodeTerminal()
  • isSwarmWorker()
  • isSymlinkTo()
  • isTeamLead()
  • isTeamMemFile()
  • isTeamMemPath()
  • isTeamMemoryEnabled()
  • isTeamMemorySearch()
  • isTeamMemorySyncAvailable()
  • isTeamMemoryWriteOrEdit()
  • isTeamPermissionUpdate()
  • isTeammate()
  • isTeammateAgentContext()
  • isTextBreaker()
  • isTextObjScopeKey()
  • isTmuxAvailable()
  • isTmuxControlModeEnvHeuristic()
  • isTooSmallIssue()
  • isTransientCapacityError()
  • isUpper()
  • isUserFacingPath()
  • isValidAPIMessage()
  • isValidAwsStsOutput()
  • isValidContext()
  • isValidNumericEffort()
  • isValidSessionFacets()
  • isVersionedPath()
  • isVimWhitespace()
  • isVoiceGrowthBookEnabled()
  • isWordChar()
  • isXtermJsHost()
  • isZeroWidth()
  • jitteredNextCronRunMs()
  • jsonStringify()
  • keyFromParsed()
  • keyToDisplayName()
  • keycodeToName()
  • keys()
  • keystrokeToDisplayString()
  • keystrokeToString()
  • keystrokesEqual()
  • kill()
  • kill()
  • kill()
  • killAllRunningAgentTasks()
  • killCaffeinate()
  • killPane()
  • killTask()
  • killTmuxServer()
  • killTmuxSession()
  • largeAgentDescriptionsNotice.render()
  • largeMemoryFilesNotice.isActive()
  • largeMemoryFilesNotice.render()
  • lastX()
  • launchAndDone()
  • launchAssistantSessionChooser()
  • launchLinuxTerminal()
  • layoutAbsoluteChild()
  • leaf()
  • length()
  • lineBackground()
  • lineWidth()
  • linkSessionToPR()
  • linuxExecLine()
  • listAllCronTasks()
  • listRemoteAgentMetadata()
  • load()
  • loadAgentsFromDirectory()
  • loadAllLogsFromSessionFile()
  • loadAllPermissionRulesFromDisk()
  • loadAllProjectsMessageLogs()
  • loadAllSubagentTranscriptsFromDisk()
  • loadAndCacheMarketplace()
  • loadAudioNapi()
  • loadCachedRestrictions()
  • loadCachedSessionMeta()
  • loadConversationForResume()
  • loadEventsFromFile()
  • loadFlaggedPlugins()
  • loadFromFileListAsync()
  • loadFullLog()
  • loadInstallCountsCache()
  • loadInstalledPluginsFromDisk()
  • loadKeybindingsSyncWithWarnings()
  • loadLogList()
  • loadMcpServerUserConfig()
  • loadMcpServersFromMcpb()
  • loadMcpbFile()
  • loadMemoryPrompt()
  • loadOutputStylesFromDirectory()
  • loadPluginFromMarketplaceEntryCacheOnly()
  • loadPluginHooks()
  • loadPluginManifest()
  • loadPluginOptions()
  • loadPluginSettings()
  • loadPolicyLimits()
  • loadSameRepoMessageLogs()
  • loadSessionFile()
  • loadSessionMemoryPrompt()
  • loadSessionMemoryTemplate()
  • loadSessionOnlyPlugins()
  • loadSettingsFromFlag()
  • loadSkillsFromCommandsDir()
  • loadSkillsFromDirectory()
  • locationLinkToLocation()
  • lockCurrentVersion()
  • lockPath()
  • lockSync()
  • log()
  • logAPIQuery()
  • logAPISuccessAndDuration()
  • logAutoModeOutcome()
  • logClassifierResultForAnts()
  • logContextMetrics()
  • logDebug()
  • logDebugError()
  • logEntryToHistoryEntry()
  • logError()
  • logErrorImpl()
  • logEvent()
  • logEventImpl()
  • logEventTo1P()
  • logFileOperation()
  • logForDiagnosticsNoPII()
  • logLoadOnce()
  • logMCPDebug()
  • logManagedSettings()
  • logMemoryDirCounts()
  • logOTelEvent()
  • logOperation()
  • logPermissionContextForAnts()
  • logPluginsEnabledForSession()
  • logQueryProfileReport()
  • logSessionTelemetry()
  • logSpeculation()
  • logStartupPerf()
  • logStartupTelemetry()
  • logToSessionMeta()
  • logUnaryEvent()
  • longestCommonPrefix()
  • lookupAllowlist()
  • lte()
  • macOsKeychainStorage.delete()
  • macOsKeychainStorage.read()
  • makeAncestorPidLookup()
  • makeCrcTable()
  • makeDreamProgressWatcher()
  • makeHistoryReader()
  • makeLogEntryReader()
  • makeOutputFromSearchResponse()
  • makeRegexForSafeCommand()
  • manuallyExtractSessionMemory()
  • mapElementType()
  • mapNotebookCellsToToolResult()
  • mapValuesDeep()
  • markFlaggedPluginsSeen()
  • markGitUnavailable()
  • markHintPluginShown()
  • markSessionMemoryInitialized()
  • markShownThisSession()
  • markTaskNotified()
  • markTerminalSetupComplete()
  • markToolsSentToAPIState()
  • markdownTable()
  • maskBracesInQuotedContexts()
  • matchSessionMode()
  • matchWildcardPattern()
  • matchWildcardPattern()
  • matchesNegativeKeyword()
  • matchesSectionHeader()
  • matchingRulesForInput()
  • materializeSessionFile()
  • max()
  • maxBytes()
  • maxDefined()
  • maxLineNumber()
  • maybeActivateBrief()
  • maybeDumpStateForDebug()
  • maybeExpandFilePath()
  • maybePersistTokenForSubprocesses()
  • maybeRecordPluginHint()
  • maybeRedirect()
  • maybeRemoveApiKeyFromMacOSKeychain()
  • maybeResizeAndDownsampleImageBlock()
  • maybeResizeAndDownsampleImageBuffer()
  • maybeTimeBasedMicrocompact()
  • mcpContentNeedsTruncation()
  • measureElement()
  • measureRawAnsiNode()
  • measureWrappedText()
  • median()
  • memoizeWithTTL()
  • memory.load()
  • memoryAge()
  • memoryAgeDays()
  • memoryFileFreshnessPrefix()
  • memoryFilesToAttachments()
  • memoryFreshnessNote()
  • memoryFreshnessText()
  • memoryHeader()
  • memoryScopeForPath()
  • mergeAndFilterTools()
  • mergeHookInstructions()
  • mergePluginSources()
  • messageSchema()
  • microcompactMessages()
  • migrateAutoUpdatesToSettings()
  • migrateBypassPermissionsAcceptedToSettings()
  • migrateEnableAllProjectMcpServersToSettings()
  • migrateFennecToOpus()
  • migrateLegacyOpusToCurrent()
  • migrateOpusToOpus1m()
  • migrateReplBridgeEnabledToRemoteControlAtStartup()
  • migrateSonnet1mToSonnet45()
  • migrateSonnet45ToSonnet46()
  • migrateToSinglePluginFile()
  • migrateV1ToV2()
  • modelSupports1M()
  • modelSupportsContextManagement()
  • modifiersMatch()
  • moveAndSettle()
  • moveCursorTo()
  • mtimeOrUndefined()
  • needsQuoting()
  • needsWidthCompensation()
  • next()
  • nextOffset()
  • nextToken()
  • nextVimWord()
  • normalize()
  • normalizeApiKeyForConfig()
  • normalizeCaseForComparison()
  • normalizeFileEditInput()
  • normalizeFilePath()
  • normalizeForCompare()
  • normalizeFullWidthSpace()
  • normalizeGitRemoteUrl()
  • normalizeMessage()
  • normalizePatternToPath()
  • normalizePatternsToPath()
  • normalizeSource()
  • normalizeTypeName()
  • normalizedUpperBound()
  • notify()
  • notifyCacheDeletion()
  • notifyCompaction()
  • notifySessionMetadataChanged()
  • notifySessionStateChanged()
  • notifyTeamMemoryWrite()
  • numberToLetter()
  • numberToRoman()
  • objectGroupBy()
  • onCwdChangedForHooks()
  • onDynamicSkillsLoaded()
  • onHeadChanged()
  • onPluginsAutoUpdated()
  • onResponse()
  • openCurrentSessionInDesktop()
  • openHyperlink()
  • openPath()
  • opener()
  • outputFileSize()
  • outputSchema()
  • outputSchema()
  • outputSchema()
  • outputSchema()
  • outputSchema()
  • outputSchema()
  • outputSchema()
  • outputSchema()
  • outputSchema()
  • outputSchema()
  • outputSchema()
  • packWord1()
  • parseAgentId()
  • parseAgentToolsFromFrontmatter()
  • parseAndOr()
  • parseAndValidateManifestFromBytes()
  • parseAndValidateManifestFromText()
  • parseArithTernary()
  • parseArithUnary()
  • parseAtMentionedFileLines()
  • parseAutoModeEnabledState()
  • parseBudgetMatch()
  • parseCase()
  • parseCasePatternSegmented()
  • parseCommandArguments()
  • parseCommandRaw()
  • parseDebugFilter()
  • parseDeepLink()
  • parseDiagnosticResult()
  • parseDimension()
  • parseDirectMemberMessage()
  • parseDoubleQuoted()
  • parseExpansionRegexSegmented()
  • parseExporterTypes()
  • parseFileSpecs()
  • parseGitNumstat()
  • parseGitPushBranch()
  • parseInputContext()
  • parseJSONL()
  • parseJSONLBun()
  • parseKey()
  • parseKeyValue()
  • parseKeypress()
  • parseKeystroke()
  • parseMaxTokensContextOverflowError()
  • parseMemoryFileContent()
  • parseMemoryType()
  • parseMultipleKeypresses()
  • parsePartialPath()
  • parsePatternCommand()
  • parsePipeline()
  • parsePrUrl()
  • parseProcessSub()
  • parsePromptTooLongTokenCounts()
  • parseRawDiffToToolUseDiff()
  • parseReferences()
  • parseSessionIdentifier()
  • parseSessionInfoFromLite()
  • parseShellFrontmatter()
  • parseSkillFrontmatterFields()
  • parseSubscriptIndex()
  • parseTestAnd()
  • parseTestBinary()
  • parseTestOr()
  • parseTestPrimary()
  • parseToSpans()
  • parseUnset()
  • parseWhile()
  • parseWord()
  • parseZipModes()
  • partialCompactConversation()
  • partiallySanitizeUnicode()
  • patchStderr()
  • pathExists()
  • pathInAllowedWorkingPath()
  • pathInOriginalCwd()
  • pause()
  • percentValue()
  • percentile()
  • performBackgroundPluginInstallations()
  • performHeapDump()
  • periodicWrite()
  • permissionBehaviorSchema()
  • permissionModeFromString()
  • permissionModeShortTitle()
  • permissionPromptToolResultToPermissionDecision()
  • permissionRuleValueFromString()
  • permissionRuleValueToString()
  • persistDenialState()
  • persistToRemote()
  • pickLineFormatInstruction()
  • pinCacheEdits()
  • plainTextStorage.readAsync()
  • plural()
  • pollForApprovedExitPlanMode()
  • pollForResponse()
  • pollPolicyLimits()
  • pollRemoteSessionEvents()
  • pollTasks()
  • populateOAuthAccountInfoIfNeeded()
  • posixPathToWindowsPath()
  • powershellCommandIsSafe()
  • powershellPermissionRule()
  • prefetchApiKeyFromApiKeyHelperIfSafe()
  • prefetchAwsCredentialsAndBedRockInfoIfSafe()
  • prefetchGcpCredentialsIfSafe()
  • prefetchPassesEligibility()
  • prefetchSystemContextIfSafe()
  • prepareApiRequest()
  • prepareContextForPlanMode()
  • prepareForkedCommandContext()
  • prepareIfConditionMatcher()
  • prependBaseDir()
  • prependDirSep()
  • prependToShellHistoryCache()
  • prependUserContext()
  • prevWORD()
  • primeKeychainCacheFromPrefetch()
  • printResumeHint()
  • probeSeedCache()
  • processAttachment()
  • processCell()
  • processContent()
  • processHookJSONOutput()
  • processMcpResourceAttachments()
  • processMemoryFile()
  • processOrphanedPluginVersion()
  • processOutputText()
  • processPromptSlashCommand()
  • processQueue()
  • processResumedConversation()
  • processSessionFiles()
  • processSessionStartHooks()
  • processedStatsToClaudeCodeStats()
  • productionDeps()
  • profileReport()
  • projectIsInGitRepo()
  • propsEqual()
  • psExeHasParamAbbreviation()
  • psQuote()
  • pullTeamMemory()
  • pushTeamMemory()
  • pushToKillRing()
  • pwd()
  • qualifyDependency()
  • queryLoop()
  • queue()
  • queuePendingMessage()
  • quoteProblematicValues()
  • reAppendSessionMetadata()
  • reAppendSessionMetadata()
  • read()
  • readAgentMetadata()
  • readAllAndSort()
  • readAndUnzipFile()
  • readCandidate()
  • readClipboardViaPbpaste()
  • readCronTasks()
  • readEditContext()
  • readFileForEdit()
  • readFileInRange()
  • readFileSync()
  • readGitHead()
  • readHeadAndTail()
  • readHighWaterMark()
  • readImageWithTokenBudget()
  • readLocalTeamMemory()
  • readLockContent()
  • readMailbox()
  • readMemoriesForSurfacing()
  • readResolvedPermission()
  • readSessionLite()
  • readSessionStartDate()
  • readTeamFileAsync()
  • readTranscriptForLoad()
  • readWorktreeHeadSha()
  • reason()
  • rebalancePanesTiled()
  • recheckCommandQueue()
  • reconciler.afterActiveInstanceBlur()
  • reconciler.clearContainer()
  • reconciler.commitMount()
  • reconciler.commitUpdate()
  • reconciler.createInstance()
  • reconciler.getChildHostContext()
  • reconciler.getRootHostContext()
  • reconciler.hideInstance()
  • reconciler.hideTextInstance()
  • reconciler.maySuspendCommit()
  • reconciler.prepareScopeUpdate()
  • reconciler.resetFormInstance()
  • reconciler.resolveEventType()
  • reconciler.suspendInstance()
  • reconciler.waitForCommitToBeReady()
  • reconnect()
  • recordContentReplacement()
  • recordContextCollapseCommit()
  • recordContextCollapseSnapshot()
  • recordExtractionTokenCount()
  • recordFileHistorySnapshot()
  • recordQueueOperation()
  • recordShownTip()
  • recordUserActivity()
  • recordYank()
  • redactHeaders()
  • redactSecrets()
  • reenterAltScreen()
  • refreshAllMarketplaces()
  • refreshAndGetAwsCredentials()
  • refreshGcpAuth()
  • refreshGrowthBookAfterAuthChange()
  • refreshMdmSettings()
  • refreshPolicyLimits()
  • refreshRemoteManagedSettings()
  • registerAgent()
  • registerAsyncAgent()
  • registerBatchSkill()
  • registerClaudeApiSkill()
  • registerCompletionChecker()
  • registerDebugSkill()
  • registerEscHotkey()
  • registerForeground()
  • registerHookEventHandler()
  • registerITermBackend()
  • registerLeaderSetToolPermissionContext()
  • registerLinux()
  • registerMainSessionTask()
  • registerOutOfProcessTeammateTask()
  • registerPendingLSPDiagnostic()
  • registerPluginInstallation()
  • registerScheduleRemoteAgentsSkill()
  • registerSession()
  • registerSessionActivityCallback()
  • registerSessionFileAccessHooks()
  • registerStuckSkill()
  • registerTeamForSessionCleanup()
  • registerVerifySkill()
  • reinitializeLspServerManager()
  • rejectCount()
  • rejectWithTimeout()
  • release()
  • releaseComputerUseLock()
  • releaseSchedulerLock()
  • removeAbortHandler()
  • removeAllPluginsForMarketplace()
  • removeChild()
  • removeChildNode()
  • removeLastFromHistory()
  • removeMarketplaceSource()
  • removeMemberFromTeam()
  • removeMessageByUuid()
  • removeProjectHistory()
  • removeSessionHook()
  • removeTeammateFromTeamFile()
  • renameRecordingForSession()
  • renameSession()
  • render()
  • render()
  • render()
  • renderAndRun()
  • renderChildren()
  • renderFrame()
  • renderListResultMessage()
  • renderMessagesToPlainText()
  • renderNodeToOutput()
  • renderPromptTemplate()
  • renderScrolledChildren()
  • renderSync()
  • renderToAnsiString()
  • renderToScreen()
  • renderToString()
  • renderTruncatedContent()
  • reorderBidi()
  • replaceOutputFormatWithXml()
  • replaceSpansKeepQuotes()
  • requestTeammateShutdown()
  • requireComputerUseInput()
  • reset()
  • reset()
  • reset()
  • reset()
  • reset()
  • resetArrays()
  • resetBypassPermissionsCheck()
  • resetCwdIfOutsideProject()
  • resetDetectRunningIDEs()
  • resetForTesting()
  • resetForTesting()
  • resetGetMemoryFilesCache()
  • resetHotReloadState()
  • resetInMemoryState()
  • resetKeybindingLoaderForTesting()
  • resetLastMemoryMessageUuid()
  • resetLayoutShifted()
  • resetLineCount()
  • resetMicrocompactState()
  • resetMigrationState()
  • resetProToOpusDefault()
  • resetProfileCounters()
  • resetScreen()
  • resetScrollDrainNode()
  • resetScrollHint()
  • resetSentSkillNames()
  • resetSessionFile()
  • resetSessionFilePointer()
  • resetSessionMemoryCompactConfig()
  • resetSessionMemoryState()
  • resetSessionPluginCache()
  • resetSettingsCache()
  • resetSyncCache()
  • resetTaskList()
  • resetUpstreamProxyForTests()
  • resetWarningHandler()
  • resizeShellImageOutput()
  • resolveAppliedEffort()
  • resolveAttachments()
  • resolveClaudePath()
  • resolveCwdReentry()
  • resolveDeepestExistingAncestorSync()
  • resolveEdgeRaw()
  • resolveEscapingPathToCwdRelative()
  • resolveEventPriority()
  • resolveExcludePatterns()
  • resolveGitDir()
  • resolveKey()
  • resolveKeyWithChordState()
  • resolveMetadataBuf()
  • resolveOptions()
  • resolvePluginLspEnvironment()
  • resolvePluginPath()
  • resolveSandboxFilesystemPath()
  • resolveSessionFilePath()
  • resolveStopBoundary()
  • resolveStoredPastedContent()
  • resolveToCanonical()
  • resolveTwoStageClassifier()
  • respondToPermissionRequest()
  • respondToPermissionRequest()
  • restoreAgentFromSession()
  • restoreBackup()
  • restoreCostStateForSession()
  • restoreDangerousPermissions()
  • restoreHeredocsInString()
  • restoreLex()
  • restoreLexToByte()
  • restoreRemoteAgentTasks()
  • restoreSessionMetadata()
  • restoreSessionStateFromLog()
  • restoreSessionToOriginalCwd()
  • restoreWorktreeSession()
  • retryPreviousBatches()
  • right()
  • ripGrep()
  • ripGrepRaw()
  • ripgrepCommand()
  • rollbackConsolidationLock()
  • roughTokenCountEstimationForContent()
  • roundLayout()
  • ruleIdToLabel()
  • ruleSourceToOTelSource()
  • run()
  • runComputerUseMcpServer()
  • runIt2()
  • runPostCompactCleanup()
  • runSideQuestion()
  • runTmuxInSwarm()
  • runTmuxInUserSession()
  • runTools()
  • runWithAgentContext()
  • runWithTeammateContext()
  • runWithWorkload()
  • safeCallProgress()
  • safeParseJSON()
  • safeRemoveOverlay()
  • safelyReadMemoryFileAsync()
  • sameFloat()
  • sanitizeAPIError()
  • sanitizeAppNames()
  • sanitizePath()
  • saveAgentName()
  • saveAiGeneratedTitle()
  • saveApiKey()
  • saveConfigWithLock()
  • saveCurrentSessionCosts()
  • saveEventsToFile()
  • saveInstalledPluginsV2()
  • saveKnownMarketplacesConfig()
  • saveMarketplaceJsonToZipCache()
  • saveMarketplaceToSettings()
  • saveMode()
  • saveSessionMeta()
  • saveSettings()
  • saveStatsCache()
  • scanElementSubtree()
  • scanForContext()
  • scanMemoryFiles()
  • scanPositions()
  • scheduleBackoffRetry()
  • scheduleDrain()
  • scheduleFlush()
  • scheduleReconnect()
  • schedulerLockSchema()
  • scopeToSettingSource()
  • scoreBonusAt()
  • scrubBareGitRepoFiles()
  • seedEarlyInput()
  • segmentTo()
  • segmentedCommandPermissionResult()
  • selectAggregationTemporality()
  • selectFreshToReplace()
  • selectLineAt()
  • selectWordAt()
  • self()
  • semanticBoolean()
  • send()
  • sendAuto()
  • sendBatchWithRetry()
  • sendCommandToPane()
  • sendCommandToPane()
  • sendCommandToPane()
  • sendControlResponse()
  • sendEventToRemoteSession()
  • sendIdleNotification()
  • sendMessage()
  • sendMessage()
  • sendMessageToLeader()
  • sendPermissionRequestViaMailbox()
  • sendPermissionResponseViaMailbox()
  • sendSandboxPermissionRequestViaMailbox()
  • sendSandboxPermissionResponseViaMailbox()
  • sendSessionActivitySignal()
  • sendShutdownRequestToMailbox()
  • sendToChannel()
  • session.isEnabled()
  • session.isHidden()
  • session.load()
  • sessionIdExists()
  • setAlignItems()
  • setAlignSelf()
  • setAlwaysFormsContainingBlock()
  • setAutoModeActive()
  • setAwaitingPlanApproval()
  • setBorder()
  • setBoxSizing()
  • setCachedSettingsForSource()
  • setClassifierChecking()
  • setClaudeSocketInfo()
  • setCliTeammateModeOverride()
  • setContext()
  • setContext()
  • setCwd()
  • setDirtiedFunc()
  • setDynamicTeamContext()
  • setEligibility()
  • setFlexBasisPercent()
  • setFlexBasisPercent()
  • setFlexGrow()
  • setFlexShrink()
  • setHeight()
  • setHeightPercent()
  • setInternalEventReader()
  • setInternalEventWriter()
  • setJustifyContent()
  • setLastSummarizedMessageId()
  • setLeaderTeamName()
  • setMarginAuto()
  • setMaxHeight()
  • setMaxHeightPercent()
  • setMaxWidth()
  • setMeasureFunc()
  • setMinHeightPercent()
  • setMinWidth()
  • setMinWidthPercent()
  • setMockHeader()
  • setMockRateLimitScenario()
  • setPadding()
  • setPaneTitle()
  • setPendingHint()
  • setPermissionModeChangedListener()
  • setPlanSlug()
  • setPluginEnabledOp()
  • setPositionAuto()
  • setPositionPercent()
  • setPositionType()
  • setSessionCache()
  • setSessionEnvVar()
  • setSessionFileForTesting()
  • setSessionMemoryCompactConfig()
  • setSessionMemoryConfig()
  • setSessionMetadataChangedListener()
  • setSessionSettingsCache()
  • setSessionStateChangedListener()
  • setStyle()
  • setSystemPromptInjection()
  • setTerminalFocused()
  • setTextNodeValue()
  • setTimeout()
  • setWidth()
  • setWidthPercent()
  • setXtversionName()
  • settingSourceToConfigChangeSource()
  • settingSourceToScope()
  • settingSourceToScope()
  • settingsJsonToRules()
  • settingsMergeCustomizer()
  • setupPeriodicGrowthBookRefresh()
  • setupSessionMemoryFile()
  • severityToNumber()
  • shallowEqual()
  • shiftRows()
  • shiftSelection()
  • shortHash()
  • shouldAddStdinRedirect()
  • shouldAllowManagedPermissionRulesOnly()
  • shouldCheckForPasses()
  • shouldClearScreen()
  • shouldDisableAllHooksIncludingManaged()
  • shouldEnableClaudeInChrome()
  • shouldExtractMemory()
  • shouldFallbackToPrompting()
  • shouldFilterSuggestion()
  • shouldIncludeInStreamlined()
  • shouldPlanUseAutoMode()
  • shouldProcessMockLimits()
  • shouldProcessRateLimits()
  • shouldRetry()
  • shouldShowDebugMessage()
  • shouldShowProjectOnboarding()
  • shouldShowUndercoverAutoNotice()
  • shouldSkipHookDueToTrust()
  • shouldSkipPluginAutoupdate()
  • shouldUseSessionMemoryCompaction()
  • shouldUseVCR()
  • showShell()
  • shutdown()
  • shutdown()
  • shutdown1PEventLogging()
  • siblingSharesY()
  • silly()
  • silly()
  • simpleHash()
  • singleQuoteForEval()
  • skillDefinitionToCommand()
  • skipStdbufFlags()
  • skipTimeoutFlags()
  • sliceContext()
  • sliceFit()
  • snapOutOfImageRef()
  • snapToGraphemeBoundary()
  • sortKeysDeep()
  • sortMatchersByPriority()
  • spawn()
  • spillToDisk()
  • splitCommand_DEPRECATED()
  • splitSysPromptPrefix()
  • squashTextNodesToSegments()
  • ssrfError()
  • start()
  • start()
  • startArecordRecording()
  • startBackgroundHousekeeping()
  • startBackgroundSession()
  • startGlobalConfigFreshnessWatcher()
  • startHeartbeatTimer()
  • startInProcessTeammate()
  • startMdmPoll()
  • startMdmSettingsLoad()
  • startOAuthFlow()
  • startOfCurrentLine()
  • startOfDay()
  • startOfFirstLine()
  • startOfLastLine()
  • startOfLine()
  • startOfLogicalLine()
  • startPolling()
  • startPreventSleep()
  • startQueryProfile()
  • startRelevantMemoryPrefetch()
  • startRemoteSessionPolling()
  • startRestartInterval()
  • startSessionActivity()
  • startStallWatchdog()
  • startTeamMemoryWatcher()
  • startUpstreamProxyRelay()
  • stashToCleanState()
  • stateToSnapshotMessage()
  • stopBackgroundPolling()
  • stopCapturingEarlyInput()
  • stopPropagation()
  • stopSessionActivity()
  • stopTask()
  • stopTeamMemoryWatcher()
  • streamOnData()
  • stringIndexToDisplayWidth()
  • stringToNumericHash()
  • stringWidthJavaScript()
  • stripCacheControl()
  • stripDisplayTagsAllowEmpty()
  • stripEmptyLines()
  • stripHtmlCommentsFromTokens()
  • stripIdeContextTags()
  • stripLineNumberPrefix()
  • stripRawString()
  • stripReinjectedAttachments()
  • stripTrailingWhitespace()
  • stub.isEnabled()
  • styleBorderLine()
  • styles()
  • stylesEqual()
  • subprocessEnv()
  • subscribeTerminalFocus()
  • subscribeToSelectionChange()
  • substituteUserConfigVariables()
  • substituteVariables()
  • suggestPathUnderCwd()
  • suggestionForExactCommand()
  • suggestionForPrefix()
  • summarizeRecentActivities()
  • supportsPersistence()
  • suspendStdin()
  • symbolKindToString()
  • symlinkDirectories()
  • syncHookResponseSchema()
  • syncMarketplacesToZipCache()
  • syncRemoteEvalToDisk()
  • syncTeamMemory()
  • syncTeammateMode()
  • tagSession()
  • taggedIdToUUID()
  • tailFile()
  • teleportFromSessionsAPI()
  • teleportResumeCodeSession()
  • teleportToRemote()
  • teleportToRemoteWithErrorHandling()
  • terminate()
  • textStyleToSpanProps()
  • themeColorToAnsi()
  • themeFromOscColor()
  • timeoutId()
  • toAgentId()
  • toApiView()
  • toArray()
  • toArray()
  • toArray()
  • toArray()
  • toBlocks()
  • toClientEvent()
  • toCompact()
  • toCompactBlock()
  • toComparable()
  • toDateString()
  • toError()
  • toExternalPermissionMode()
  • toIDEDisplayName()
  • toIDEPath()
  • toInkColor()
  • toJSON()
  • toLocalPath()
  • toLocation()
  • toPersistableEffort()
  • toPosix()
  • toPosixPath()
  • toRelativePath()
  • toScopedConfig()
  • toString()
  • toString()
  • toString()
  • toString()
  • toTaggedId()
  • toUtf16LeBase64()
  • tokenCountFromLastAPIResponse()
  • tokenCountWithEstimation()
  • tokenStatsToStatsigMetrics()
  • tokensToUSDCost()
  • toolToAPISchema()
  • totalLines()
  • trackClaudeInChromeTabId()
  • trackDatadogEvent()
  • trackFileCreation()
  • trackOperation()
  • trackSessionBranchingAnalytics()
  • transformCommandAst()
  • transformLogsToEvents()
  • transformStatement()
  • truncate()
  • truncateJson()
  • truncateSessionMemoryForCompact()
  • truncateStartToWidth()
  • truncateToLines()
  • truncateToTokens()
  • truncateToWidth()
  • truncateToWidthNoEllipsis()
  • truncated()
  • tryAcquireLock()
  • tryClaimNextTask()
  • tryCreateExclusive()
  • tryFlattenJson()
  • tryGetPDFReference()
  • tryPalettePNG()
  • tryParseShellCommand()
  • trySessionMemoryCompaction()
  • typeViaClipboard()
  • unhideComputerUseApps()
  • uninstallPlugin()
  • unionRect()
  • unregisterAgentForeground()
  • unregisterForeground()
  • unregisterLeaderSetToolPermissionContext()
  • unregisterSessionActivityCallback()
  • unregisterTeamForSessionCleanup()
  • unsetMeasureFunc()
  • unstable_v2_createSession()
  • unstable_v2_resumeSession()
  • unwrapResults()
  • up()
  • updateAgentSummary()
  • updateGroveSettings()
  • updateInterruptibleState()
  • updateMagicDoc()
  • updatePlugin()
  • updateSelection()
  • updateSessionActivity()
  • updateSessionBridgeId()
  • updateSessionIngressAuthToken()
  • updateSessionName()
  • updateSessionTitle()
  • updateSymlink()
  • updateUsage()
  • updateYankLength()
  • uploadFile()
  • uploadSessionFiles()
  • uploadTeamMemory()
  • uploadUserSettings()
  • uriToFilePath()
  • urlMatchesPattern()
  • useAnimationTimer()
  • useApp()
  • useClaudeAiLimits()
  • useCompactWarningSuppression()
  • useCounter()
  • useFpsMetrics()
  • useGauge()
  • useGetVoiceState()
  • useHasSelection()
  • useIsInsideModal()
  • useIsModalOverlayActive()
  • useIsOverlayActive()
  • useKeybinding()
  • useKeybindingContext()
  • useKickOffCheckAndDisableAutoModeIfNeeded()
  • useKickOffCheckAndDisableBypassPermissionsIfNeeded()
  • useMailbox()
  • useModalOrTerminalSize()
  • useModalScrollRef()
  • useNotifications()
  • useOptionalKeybindingContext()
  • usePromptOverlay()
  • usePromptOverlayDialog()
  • useQueuedMessage()
  • useRegisterKeybindingContext()
  • useRegisterOverlay()
  • useSelection()
  • useSet()
  • useSetPromptOverlay()
  • useSetPromptOverlayDialog()
  • useSetVoiceState()
  • useStats()
  • useTabStatus()
  • useTerminalViewport()
  • useTimer()
  • useVoiceState()
  • useVoiceStore()
  • userFacingName()
  • userMessageToMessageParam()
  • uuidToBigInt()
  • validateAndRespond()
  • validateBindings()
  • validateBlock()
  • validateBraceExpansion()
  • validateCommentQuoteDesync()
  • validateContentTokens()
  • validateElicitationInput()
  • validateFlagArgument()
  • validateGitState()
  • validateGlobPattern()
  • validateHookJson()
  • validateHtmlPreview()
  • validateIFSInjection()
  • validateImagesForAPI()
  • validateMarketplaceManifest()
  • validateMemoryPath()
  • validateObfuscatedFlags()
  • validateOfficialNameSource()
  • validateOutputRedirections()
  • validatePath()
  • validatePathWithinBase()
  • validatePathWithinPlugin()
  • validateRedirections()
  • validateSafeCommandSubstitution()
  • validateSessionRepository()
  • validateShellMetacharacters()
  • verifyAndDemote()
  • verifyApiKey()
  • versionIsAvailable()
  • visitNodes()
  • waitForPaneShellReady()
  • waitForPolicyLimitsToLoad()
  • waitForRemoteManagedSettingsToLoad()
  • waitForSessionMemoryExtraction()
  • waitForTaskCompletion()
  • waitForTeammatesToBecomeIdle()
  • walkArgument()
  • walkChainBeforeParse()
  • walkHerestringRedirect()
  • walkPluginMarkdown()
  • walkProgram()
  • walkRedirectedStatement()
  • warn()
  • warn()
  • webFetchToolInputToPermissionRuleContent()
  • whichNodeSync()
  • widestLine()
  • windowsPathToPosixPath()
  • withInverse()
  • withModifiers()
  • withResolvers()
  • withSelectionBg()
  • withTheme()
  • withTimeout()
  • withinBounds()
  • withoutCcdSpawnEnvKeys()
  • withoutOutputRedirections()
  • worktreeBranchName()
  • wrapSpawn()
  • wrapWithOsc8Link()
  • wrapWithSandbox()
  • wrapWithSoftWrap()
  • writeCacheBreakDiff()
  • writeClipboardViaPbcopy()
  • writeDiffToTerminal()
  • writeFileForSync()
  • writeFileLines()
  • writeFileSyncAndFlush_DEPRECATED()
  • writeLineToScreen()
  • writeRemoteAgentMetadata()
  • writeRemoteEntriesToLocal()
  • writeSkillFiles()
  • writeStdout()
  • writeToDisk()
  • writeToFile()
  • writeToMailbox()
  • writeToStderr()
  • writeToStdout()
  • writeZipCacheKnownMarketplaces()
  • yieldToEventLoop()
  • zodToJsonSchema()

Frequently Asked Questions

What is the Compaction subdomain?
Compaction is a subdomain in the claude-code codebase, part of the QueryEngine domain. Handles shrinking of conversation history to fit within context window limits via microcompact and session memory summaries. It contains 0 source files.
Which domain does Compaction belong to?
Compaction belongs to the QueryEngine domain.
What functions are in Compaction?
The Compaction subdomain contains 2951 function(s): AgentMcpServerSpecSchema, AnimatedTerminalTitle, AppContext.exit, ApplyEffortAndClose, AskUserQuestionTool.mapToolResultToToolResultBlockParam, AskUserQuestionTool.toAutoClassifierInput, AsyncHookJSONOutputSchema, AttachmentList, and 2943 more.