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
↓ 2 callers
Function
parseRule
(rule: string)
src/sandbox/buildProfile.ts:67
↓ 2 callers
Function
pct
(n: number)
src/core/queryEngine/commands/diagnostics.ts:99
↓ 2 callers
Function
pickSandbox
(value)
step/step18.js:107
↓ 2 callers
Function
pickStringArray
(input: Record<string, unknown>, key: string)
src/tools/taskUpdateTool.ts:41
↓ 2 callers
Function
readFileOrNull
(path: string)
src/session/fileHistory.ts:583
↓ 2 callers
Function
readHooksFromSettings
(filePath: string)
src/hooks/settings.ts:95
↓ 2 callers
Function
readJson
(filePath)
step/step22.js:46
↓ 2 callers
Function
readJsonFile
(filePath)
step/step18.js:37
↓ 2 callers
Function
readMemoryEntrypoint
(cwd)
step/step10.js:186
↓ 2 callers
Function
readMergedEnv
(cwd: string)
src/utils/settings.ts:322
↓ 2 callers
Function
readMergedNumberSetting
( cwd: string, key: string, )
src/utils/settings.ts:255
↓ 2 callers
Function
readTranscriptEntries
(filePath: string)
src/session/storage.ts:343
↓ 2 callers
Function
readTranscriptEntries
(filePath)
step/step9.js:202
↓ 2 callers
Function
reconnectMcpServer
(name: string)
src/services/mcp/bootstrap.ts:127
↓ 2 callers
Function
recordClassifierSuccess
()
src/permissions/autoModeState.ts:57
↓ 2 callers
Function
recordFileHistorySnapshot
( cwd: string, sessionId: string, snapshot: FileHistorySnapshotRecord, )
src/session/storage.ts:323
↓ 2 callers
Function
recordSnapshot
(snapshot)
step/step26.js:134
↓ 2 callers
Function
refresh
()
src/ui/hooks/useAgentSession.ts:262
↓ 2 callers
Function
refreshHookDisableFromSettings
(cwd: string)
src/hooks/settings.ts:247
↓ 2 callers
Function
removeAgentWorktree
( info: Pick<WorktreeInfo, "worktreePath" | "worktreeBranch" | "gitRoot">, )
src/utils/worktree.ts:230
↓ 2 callers
Function
removeSandboxViolationTags
(text)
step/step18.js:556
↓ 2 callers
Function
renderMessagePreview
(content)
step/step32.js:143
↓ 2 callers
Function
renderScope
(scopeLabel: string, scope: HooksSettings)
src/core/queryEngine/commands/registry.ts:200
↓ 2 callers
Function
resetAutoCompactFailures
()
step/step12.js:115
↓ 2 callers
Function
resolveKey
( sources: { source: SettingSource; raw: Record<string, unknown> | null }[], key: string, )
src/core/queryEngine/commands/config.ts:33
↓ 2 callers
Function
resolveSandboxList
(list: SandboxSettings[])
src/sandbox/settings.ts:112
↓ 2 callers
Function
restoreFetch
()
src/scripts/test-providerstream-characterization.ts:79
↓ 2 callers
Function
ruleMatchesBash
(rule, command)
step/step18.js:480
↓ 2 callers
Function
runChildAgent
(params)
step/step19.js:288
↓ 2 callers
Function
runCleanup
()
src/services/mcp/client.ts:405
↓ 2 callers
Function
runPostToolUseHooks
(params: { toolName: string; toolInput: Record<string, unknown>; toolResponse: unknown; toolUseId: str
src/hooks/runHooks.ts:177
↓ 2 callers
Function
runStopHooks
(params: { lastAssistantMessage?: string; cwd: string; sessionId?: string; signal?: AbortSignal; })
src/hooks/runHooks.ts:242
↓ 2 callers
Function
runStreamingTurn
({ messages, model = DEFAULT_MODEL, system, signal, stream = streamMessage, onText = () => {}, o
step/step2.js:69
↓ 2 callers
Function
safeJson
(value: unknown)
src/services/api/providers/geminiTranslate.ts:106
↓ 2 callers
Function
sanitizePathComponent
(input: string)
src/state/taskStore.ts:55
↓ 2 callers
Function
sanitizePathComponent
(input)
step/step15.js:46
↓ 2 callers
Function
sanitizeSlug
(input: string)
src/context/memory/memdir.ts:30
↓ 2 callers
Function
scaleBuffer
(buffer: number, effectiveWindow: number)
src/utils/tokens.ts:137
↓ 2 callers
Function
seedBuiltIns
()
step/step23.js:106
↓ 2 callers
Function
setProgress
(toolUseId, patch)
step/step19.js:355
↓ 2 callers
Function
setSkills
(skills)
step/step17.js:221
↓ 2 callers
Function
setTaskMode
(mode)
step/step15.js:300
↓ 2 callers
Function
shellQuoteSingle
(value: string)
src/sandbox/wrapWithSandbox.ts:20
↓ 2 callers
Function
shellQuoteSingle
(value)
step/step18.js:457
↓ 2 callers
Function
shellTimeHint
* The `(elapsed · timeout Xs)` hint, mirroring source's ShellTimeDisplay: * - no timeout → `(4s)` * - with timeout → `(4s · timeout 2m)`
src/ui/components/ToolCallList.tsx:46
↓ 2 callers
Function
shortId
()
step/step20.js:444
↓ 2 callers
Function
sleep
(ms: number, signal?: AbortSignal)
src/services/api/withRetry.ts:143
↓ 2 callers
Function
spliceTokenInto
(at: number, snapshot: string, token: string)
src/ui/hooks/usePromptInput.ts:356
↓ 2 callers
Function
splitCommandSegments
Split a compound command on shell operators (&&, ||, |, ;) into segments.
src/ui/utils/toolClassify.ts:86
↓ 2 callers
Function
splitFrontmatter
(content)
step/step23.js:45
↓ 2 callers
Function
streamViaProvider
( profile: ModelProfile, params: StreamRequestParams, )
src/services/api/providers/providerStream.ts:179
↓ 2 callers
Function
stringifyContent
(content)
step/step30.js:120
↓ 2 callers
Function
strip
(h: string)
src/tools/webFetch/fetcher.ts:61
↓ 2 callers
Function
stripSandboxViolations
Strip the model-only `<sandbox_violations>…</sandbox_violations>` block.
src/ui/utils/toolCardFormat.ts:91
↓ 2 callers
Function
stripTrailingSlash
(url: string)
src/services/api/providers/providerStream.ts:69
↓ 2 callers
Function
subscribeAsyncAgents
(listener: Listener)
src/state/asyncAgentStore.ts:233
↓ 2 callers
Function
subscribePendingNotifications
(listener: Listener)
src/state/notificationStore.ts:59
↓ 2 callers
Function
subscribeSubAgentProgress
(listener: Listener)
src/state/subAgentProgressStore.ts:179
↓ 2 callers
Function
subscribeTeammateView
(listener: Listener)
src/state/teammateViewStore.ts:60
↓ 2 callers
Function
subscribeTodos
(listener)
step/step14.js:82
↓ 2 callers
Function
substituteSkillVariables
(skill, args, sessionId)
step/step17.js:323
↓ 2 callers
Function
systemText
(system: UniversalBody["system"])
src/services/api/providers/openaiTranslate.ts:30
↓ 2 callers
Function
textMessage
(role, content)
step/step2.js:25
↓ 2 callers
Function
totalHookCount
(scope: HooksSettings)
src/core/queryEngine/commands/registry.ts:163
↓ 2 callers
Function
truncate
(text: string, width: number)
src/ui/components/CommandSuggestions.tsx:14
↓ 2 callers
Function
truncateEntrypoint
(raw: string)
src/context/memory/memdir.ts:123
↓ 2 callers
Function
truncateOutput
(value: string)
src/tools/powerShellTool.ts:23
↓ 2 callers
Function
truncateOutput
(value: string)
src/tools/bashTool.ts:75
↓ 2 callers
Function
truncateToolResult
(content, maxChars = DEFAULT_MAX_RESULT_SIZE_CHARS)
step/step12.js:157
↓ 2 callers
Function
trustProject
(cwd)
step/step25.js:329
↓ 2 callers
Function
useTranscript
({ open, lines, viewportHeight, onClose, }: UseTranscriptOptions)
src/ui/hooks/useTranscript.ts:89
↓ 2 callers
Function
user
(text: string)
scripts/verify-auto-mode.ts:31
↓ 2 callers
Function
usesEnvInterpolation
(value)
step/step30.js:21
↓ 2 callers
Function
validateSettings
(raw)
step/step25.js:82
↓ 2 callers
Function
wildcardToRegExp
(pattern)
step/step18.js:259
↓ 2 callers
Function
withTempProject
( fn: (cwd: string) => Promise<void>, )
src/scripts/test-agents.ts:57
↓ 2 callers
Function
withToolLeadSpacing
( element: React.ReactNode, previousKind: VisibleItemKind | null, )
src/ui/components/ConversationView.tsx:282
↓ 2 callers
Function
worktreeBranchName
(slug)
step/step20.js:226
↓ 2 callers
Function
worktreePathFor
(repoRoot, slug)
step/step20.js:230
↓ 2 callers
Function
writeContentOf
(input: Input)
src/ui/components/toolRenderers.tsx:232
↓ 2 callers
Function
writeHighWaterMark
(taskListId: string, value: number)
src/state/taskStore.ts:117
↓ 2 callers
Function
writeHighWaterMark
(taskListId, value)
step/step15.js:84
↓ 2 callers
Function
writeInlineServer
* Write a tiny standalone MCP server JS file. We spawn it with `node` so the * test doesn't depend on any external npm package being installed. * *
src/scripts/test-mcp.ts:151
↓ 2 callers
Function
writeJsonAtomic
(filePath, value)
step/step25.js:247
↓ 2 callers
Function
writeTask
(taskListId, task)
step/step15.js:168
↓ 1 callers
Function
_resetAvailabilityCache
()
src/sandbox/availability.ts:85
↓ 1 callers
Function
_resetMcpClientForTesting
()
src/services/mcp/client.ts:438
↓ 1 callers
Function
actionQuestion
Phrase the action question to match the operation.
src/ui/components/PermissionRequestCard.tsx:185
↓ 1 callers
Function
activateConditional
(name: string)
src/services/skills/registry.ts:77
↓ 1 callers
Function
activateConditionalSkill
(name)
step/step17.js:254
↓ 1 callers
Function
adaptGeminiEvents
(events)
step/step30.js:199
↓ 1 callers
Function
addLineNumbers
(content: string, startLine: number)
src/tools/fileReadTool.ts:16
↓ 1 callers
Function
addLineNumbers
(text, startLine = 1)
step/step3.js:25
↓ 1 callers
Function
aggregate
* Roll up an array of per-hook results into one decision the caller * can act on. Precedence: * * permissionBehavior deny > ask > allow * bl
src/hooks/runHooks.ts:68
↓ 1 callers
Function
aggregate
(results)
step/step22.js:295
↓ 1 callers
Function
anthropicMessagesToGemini
(messages)
step/step30.js:113
↓ 1 callers
Function
anthropicMessagesToOpenAI
(messages)
step/step30.js:95
↓ 1 callers
Function
anthropicToolsToOpenAI
(tools)
step/step30.js:102
↓ 1 callers
Function
appendCompactionSnapshot
( cwd: string, sessionId: string, trigger: "auto" | "manual", messages: MessageParam[], )
src/session/storage.ts:427
↓ 1 callers
Method
appendFileHistorySnapshot
(sessionId, snapshot)
step/step26.js:41
← previous
next →
701–800 of 1,949, ranked by callers