Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ConardLi/easy-agent
/ functions
Functions
1,949 in github.com/ConardLi/easy-agent
⨍
Functions
1,949
◇
Types & classes
297
↓ 3 callers
Function
startBashProgress
(toolUseId: string, timeoutMs?: number)
src/state/bashProgressStore.ts:94
↓ 3 callers
Function
streamMessage
({ messages, model = DEFAULT_MODEL, system, tools })
step/step1.js:40
↓ 3 callers
Function
subscribeBashProgress
(listener: Listener)
src/state/bashProgressStore.ts:158
↓ 3 callers
Function
summaryOnlyRenderer
Read/Grep/Glob own only their header — the body is always the summary line.
src/ui/components/toolRenderers.tsx:288
↓ 3 callers
Function
toolUseTag
( name: string, input: Record<string, unknown> | undefined, result?: string, )
src/ui/utils/toolCardFormat.ts:428
↓ 3 callers
Function
tryExpandBuiltinPromptCommand
( input: string, )
src/commands/builtinPromptCommands.ts:85
↓ 3 callers
Function
updateLocalSettings
( cwd: string, patch: Record<string, unknown>, )
src/utils/settings.ts:127
↓ 3 callers
Function
updateProjectSettings
( cwd: string, patch: Record<string, unknown>, )
src/utils/settings.ts:115
↓ 3 callers
Function
updateTask
( taskListId: string, taskId: string, updates: Partial<Omit<Task, "id">>, )
src/state/taskStore.ts:272
↓ 3 callers
Function
visibleWidth
(s: string)
src/ui/markdown/markdownToAnsi.ts:207
↓ 3 callers
Function
writeSettingsPatch
* Shared shallow read-merge-write primitive. A `value === undefined` deletes * the key; otherwise the top-level key is replaced. Creates the parent
src/utils/settings.ts:141
↓ 3 callers
Function
writeTeamFile
(teamName, file)
step/step21.js:58
↓ 2 callers
Function
_resetHooksSettingsCache
()
src/hooks/runHooks.ts:52
↓ 2 callers
Function
abortError
()
src/scripts/smoke-resilience.ts:61
↓ 2 callers
Function
activateConditionalSkillsForPaths
(filePaths, cwd)
step/step17.js:436
↓ 2 callers
Function
adaptOpenAIEvents
(events)
step/step30.js:177
↓ 2 callers
Function
addPastedImage
(img: PastedImage)
src/core/pastedImages.ts:28
↓ 2 callers
Function
aliveCheck
()
src/services/mcp/client.ts:93
↓ 2 callers
Function
apiRetryNotice
(retry: { delayMs: number; message: string; attempt: number; maxRetries: number; })
src/ui/hooks/useAgentSession/notices.ts:195
↓ 2 callers
Method
appendMessage
(role, content, extra = {})
step/step26.js:35
↓ 2 callers
Function
appendTextToContent
( content: string | ContentBlock[], text: string, )
src/tools/contentBlocks.ts:11
↓ 2 callers
Function
applyEditToContent
( content: string, edit: SingleEdit, )
src/tools/editCore.ts:50
↓ 2 callers
Function
asStringArray
(value: unknown)
src/services/mcp/config.ts:163
↓ 2 callers
Function
asStringArray
(value: unknown)
src/services/skills/parseFrontmatter.ts:72
↓ 2 callers
Function
asStringArray
(value: unknown)
src/agents/loadAgentsDir.ts:68
↓ 2 callers
Function
asStringArray
(value)
step/step17.js:59
↓ 2 callers
Function
asStringArray
(value)
step/step19.js:54
↓ 2 callers
Function
attachImageBlock
( img: { block: ImageBlock; mediaType: string; bytes: number }, at: number, snapshot: string,
src/ui/hooks/usePromptInput.ts:366
↓ 2 callers
Function
attachImageFromPath
(absPath: string, at: number, snapshot: string)
src/ui/hooks/usePromptInput.ts:378
↓ 2 callers
Function
backupContent
(backupFileName)
step/step26.js:120
↓ 2 callers
Function
bashExitCode
Parse the `Exit code: N` line from a Bash/PowerShell result, if present.
src/ui/utils/toolCardFormat.ts:205
↓ 2 callers
Function
bootstrapAgents
(cwd)
step/step19.js:170
↓ 2 callers
Function
bootstrapUserCommands
(cwd: string)
src/commands/userCommands/bootstrap.ts:17
↓ 2 callers
Function
buildFullPlanModeText
(planFilePath: string)
src/context/planAttachments.ts:23
↓ 2 callers
Function
buildLine
(skill: Skill, descMax: number)
src/services/skills/budget.ts:45
↓ 2 callers
Function
buildPermissionRuleHint
(toolName: string, input: Record<string, unknown>)
src/permissions/permissions.ts:410
↓ 2 callers
Function
buildProviderRequest
(profile, request)
step/step30.js:134
↓ 2 callers
Function
buildSkillLine
(skill, descMax)
step/step17.js:273
↓ 2 callers
Function
buildToolResultMap
(messages: MessageParam[])
src/ui/components/ConversationView.tsx:180
↓ 2 callers
Function
checkOriginFileChanged
( originalFile: string, backupFileName: string, originalStatsHint?: Stats, )
src/session/fileHistory.ts:513
↓ 2 callers
Function
classifyAPIError
(error: unknown)
src/services/api/errors.ts:123
↓ 2 callers
Function
classifyAutoModeAction
( input: AutoClassifierInput, )
src/permissions/autoClassifier.ts:187
↓ 2 callers
Function
cleanupOldFileHistoryBackups
(cwd: string)
src/session/fileHistory.ts:136
↓ 2 callers
Function
cleanupWorktreeIfNeeded
* Decide what to do with the worktree once the sub-agent terminates. * * - No worktree → nothing to do. * - Has uncommitted changes / new commi
src/agents/runAsyncAgent.ts:96
↓ 2 callers
Function
clearUiNotices
()
src/state/uiNoticeStore.ts:65
↓ 2 callers
Function
clearUserCommands
()
src/commands/userCommands/registry.ts:38
↓ 2 callers
Function
collectMemoryTargets
(cwd: string)
src/core/queryEngine/commands/memory.ts:40
↓ 2 callers
Function
collectViaProvider
( profile: ModelProfile, params: StreamRequestParams, )
src/services/api/providers/providerStream.ts:409
↓ 2 callers
Function
commitTeammateView
(agentId: string)
src/state/teammateViewStore.ts:98
↓ 2 callers
Function
computeCollapsedCounts
(members: CollapseInput[])
src/ui/utils/toolCardFormat.ts:360
↓ 2 callers
Function
createAutoModeState
({ maxFailures = 3 } = {})
step/step29.js:169
↓ 2 callers
Function
createBackup
( filePath: string | null, version: number, )
src/session/fileHistory.ts:444
↓ 2 callers
Function
createBackup
(filePath, version)
step/step26.js:96
↓ 2 callers
Function
createDenialTracker
({ maxConsecutive = 3, maxTotal = 20 } = {})
step/step29.js:151
↓ 2 callers
Function
createEmptyUsage
()
src/session/storage.ts:93
↓ 2 callers
Function
createFileHistoryStore
(options = {})
step/step26.js:66
↓ 2 callers
Function
createSessionId
()
step/step9.js:31
↓ 2 callers
Function
dedupe
(list: string[])
src/permissions/permissions.ts:213
↓ 2 callers
Function
diffStats
(oldText, newText)
step/step24.js:147
↓ 2 callers
Function
displayPath
(cwd: string, abs: string)
src/ui/components/MemoryPicker.tsx:33
↓ 2 callers
Function
done
(exitCode)
step/step22.js:149
↓ 2 callers
Function
earliestBackupFor
(trackingPath)
step/step26.js:201
↓ 2 callers
Function
editDiff
(input: Input)
src/ui/components/toolRenderers.tsx:225
↓ 2 callers
Function
emit
()
src/state/uiNoticeStore.ts:34
↓ 2 callers
Function
emit
(text: string, color: (s: string) => string)
src/ui/utils/transcriptLines.ts:98
↓ 2 callers
Function
emptyState
()
src/session/fileHistory.ts:90
↓ 2 callers
Function
encodeSegment
(value)
step/step20.js:155
↓ 2 callers
Function
ensureSessionDir
(paths)
step/step9.js:56
↓ 2 callers
Function
ensureTaskListLockFile
* Ensure the list-level lock file exists. * * `proper-lockfile` refuses to lock a path that doesn't exist, so we * touch an empty sentinel file fir
src/state/taskStore.ts:90
↓ 2 callers
Function
ensureTasksDir
(taskListId)
step/step15.js:66
↓ 2 callers
Function
errorStreamResult
Empty result returned after a surfaced error (callers stop on the event).
src/services/api/streaming.ts:414
↓ 2 callers
Function
escapeSbplString
(value: string)
src/sandbox/macosProfile.ts:38
↓ 2 callers
Function
estimateSystemPromptTokens
(systemPrompt: string)
src/utils/tokens.ts:102
↓ 2 callers
Function
estimateUnknownObjectTokens
(value: unknown)
src/utils/tokens.ts:56
↓ 2 callers
Function
exitCodeForReason
Map how the loop ended to a process exit code (0 = clean success).
src/entrypoint/headless.ts:152
↓ 2 callers
Function
extractBingResults
(html: string)
src/tools/webSearch/adapters.ts:153
↓ 2 callers
Function
extractCommandMarker
( message: MessageParam, )
src/ui/components/ConversationView.tsx:160
↓ 2 callers
Function
extractFirstPrompt
* The first user prompt of a session, used as its human-readable label in the * `/resume` picker (mirrors source's per-session firstPrompt). XML comm
src/session/storage.ts:253
↓ 2 callers
Function
extractScopedServers
( raw: RawSettings | null, scope: SettingSource, filePath: string, errors: string[], )
src/services/mcp/config.ts:140
↓ 2 callers
Function
extractSkillName
(input: Record<string, unknown>)
src/permissions/permissions.ts:237
↓ 2 callers
Function
extractUrlHost
Extract the hostname from a WebFetch tool input's `url` field.
src/permissions/permissions.ts:242
↓ 2 callers
Function
fallbackDescription
(body, fallback)
step/step23.js:66
↓ 2 callers
Function
fileChangedFromBackup
(filePath, backupFileName)
step/step26.js:125
↓ 2 callers
Function
finalizeToolInput
Parse accumulated tool-call argument JSON into a block's `input`.
src/services/api/providers/providerStream.ts:149
↓ 2 callers
Function
findGitRoot
(cwd: string)
src/utils/worktree.ts:77
↓ 2 callers
Function
findHighestTaskIdFromFiles
(taskListId: string)
src/state/taskStore.ts:121
↓ 2 callers
Function
findHighestTaskIdFromFiles
(taskListId)
step/step15.js:89
↓ 2 callers
Function
firstMatchingRule
(rules, toolName, input)
step/step29.js:46
↓ 2 callers
Function
flattenSlug
Flatten `/` so a slug containing it becomes a single dir-safe + branch-safe name.
src/utils/worktree.ts:54
↓ 2 callers
Function
flattenSlug
(slug)
step/step20.js:222
↓ 2 callers
Function
formatDiffSummary
(filePath, oldText, newText)
step/step24.js:157
↓ 2 callers
Function
formatNumber
(n: number)
src/ui/components/SubAgentCard.tsx:78
↓ 2 callers
Function
formatResults
(query: string, results: SearchResult[])
src/tools/webSearchTool.ts:22
↓ 2 callers
Function
formatUsage
(usage)
step/step2.js:43
↓ 2 callers
Method
getActiveModel
()
step/step8.js:29
↓ 2 callers
Function
getAgentMdFiles
(cwd: string)
src/context/claudeMd.ts:102
↓ 2 callers
Function
getAllUserCommands
()
step/step23.js:271
↓ 2 callers
Function
getBackupFileNameFirstVersion
* Earliest (v1) backup name for a file — used when rewinding to a snapshot * that predates the file being tracked. Returns null if the file did not e
src/session/fileHistory.ts:501
↓ 2 callers
Function
getBlockingLimit
(model: string)
src/context/autoCompact.ts:45
↓ 2 callers
Function
getCacheKey
* Cache key includes the full config so a `/mcp reconnect` after editing * settings.json picks up the new command/args. Same as the source's * `getS
src/services/mcp/client.ts:50
← previous
next →
501–600 of 1,949, ranked by callers