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
↓ 122 callers
Function
assert
(condition: unknown, label: string)
src/scripts/test-stage20.ts:83
↓ 114 callers
Function
assert
(condition: unknown, label: string)
src/scripts/test-stage21.ts:102
↓ 100 callers
Function
assert
(condition: unknown, label: string)
src/scripts/test-agents.ts:48
↓ 83 callers
Function
assert
(cond: boolean, msg: string)
src/scripts/smoke-config.ts:37
↓ 66 callers
Method
call
* Execute the tool with the given input. * The model provides `input` as a parsed JSON object.
src/tools/Tool.ts:183
↓ 55 callers
Function
assert
(cond: boolean, msg: string)
src/scripts/smoke-resilience.ts:43
↓ 55 callers
Function
assert
(condition: unknown, label: string)
src/scripts/test-stage22.ts:60
↓ 55 callers
Function
assert
(condition: unknown, label: string)
src/scripts/test-stage23.ts:59
↓ 52 callers
Function
record
(engine: QueryEngine, input: string)
src/scripts/test-queryengine-characterization.ts:174
↓ 44 callers
Function
assert
(condition: unknown, label: string)
src/scripts/test-stage31.ts:54
↓ 43 callers
Function
assert
(cond: boolean, label: string)
scripts/verify-multi-protocol.ts:22
↓ 41 callers
Function
assert
(condition: unknown, label: string)
src/scripts/test-sandbox.ts:39
↓ 37 callers
Function
apiError
Build a fake APIError with a given status + headers without a live call.
src/scripts/smoke-resilience.ts:55
↓ 37 callers
Function
writeJson
(file: string, obj: unknown)
src/scripts/smoke-config.ts:48
↓ 36 callers
Function
toolResultText
(content: string | ContentBlock[])
src/tools/Tool.ts:236
↓ 33 callers
Function
assert
(cond: boolean, label: string)
src/scripts/test-stage32.ts:36
↓ 32 callers
Function
pass
(msg: string)
src/scripts/test-mcp.ts:64
↓ 31 callers
Function
check
(name: string, fn: () => void)
src/scripts/test-useagentsession-notices.ts:26
↓ 31 callers
Function
fail
(msg: string)
src/scripts/test-mcp.ts:67
↓ 25 callers
Function
debugLog
(scope: string, message: string, details?: Record<string, unknown>)
src/utils/log.ts:3
↓ 24 callers
Function
check
(name: string, cond: boolean, extra = "")
scripts/verify-auto-mode-stage3.ts:34
↓ 24 callers
Function
makeEngine
(cwd: string, overrides: Partial<QueryEngineOptions> = {})
src/scripts/test-queryengine-characterization.ts:188
↓ 23 callers
Function
assert
(condition: unknown, label: string)
src/scripts/test-skills.ts:32
↓ 23 callers
Function
classifyAPIError
(error)
step/step27.js:29
↓ 23 callers
Function
section
(label: string, fn: () => Promise<string[]>)
src/scripts/test-queryengine-characterization.ts:209
↓ 22 callers
Function
appendTaskOutput
(filePath, event)
step/step20.js:183
↓ 19 callers
Function
check
(label: string, cond: boolean)
src/scripts/smoke-filehistory.ts:27
↓ 19 callers
Function
clearActiveTeam
()
step/step21.js:101
↓ 19 callers
Function
loadSettingSources
(cwd)
step/step25.js:122
↓ 19 callers
Function
section
(title: string)
src/scripts/smoke-config.ts:44
↓ 18 callers
Function
assert
(cond: boolean, label: string)
src/scripts/smoke-markdown.tsx:16
↓ 18 callers
Function
checkPermission
({ tool, input, mode = "default" })
step/step7.js:55
↓ 17 callers
Function
isAgentTeamsEnabled
()
step/step21.js:25
↓ 17 callers
Function
toolResult
(id: string, content: string)
src/scripts/smoke-group.tsx:25
↓ 17 callers
Function
toolUse
(id: string, name: string, input: Record<string, unknown>)
src/scripts/smoke-group.tsx:22
↓ 16 callers
Function
asString
(value: unknown)
src/ui/utils/toolCardFormat.ts:52
↓ 16 callers
Function
assertEqual
(actual: T, expected: T, label: string)
src/scripts/test-sandbox.ts:47
↓ 16 callers
Function
runCommand
(engine: QueryEngine, input: string)
src/scripts/test-stage33.ts:16
↓ 15 callers
Function
check
(label: string, ok: boolean)
src/scripts/smoke-transcript-wheel.tsx:34
↓ 15 callers
Function
formatAgentId
(name, teamName)
step/step21.js:38
↓ 15 callers
Function
isRetryableError
(error)
step/step27.js:118
↓ 14 callers
Method
commandContext
* Build the CommandContext handed to extracted slash-command handlers. * Arrow functions capture `this` so handlers read live engine state at call
src/core/queryEngine.ts:767
↓ 14 callers
Function
executeHookCommand
({ hook, hookEvent, hookName, hookInput, cwd, signal })
step/step22.js:230
↓ 14 callers
Function
getEasyAgentPath
(...segments: string[])
src/utils/paths.ts:61
↓ 13 callers
Function
appendTranscriptEntry
(cwd, sessionId, entry)
step/step9.js:120
↓ 13 callers
Function
clearAllAsyncAgents
()
step/step20.js:99
↓ 13 callers
Function
getTeammateViewState
()
src/state/teammateViewStore.ts:56
↓ 12 callers
Function
assert
(cond: boolean, label: string)
src/scripts/smoke-stage24.tsx:17
↓ 12 callers
Function
canonicalize
* macOS sandbox-exec evaluates rules using CANONICAL paths (after * symlink resolution). E.g. `/var/folders/.../T` is actually * `/private/var/folde
src/sandbox/buildProfile.ts:47
↓ 12 callers
Function
canonicalize
(filePath)
step/step18.js:305
↓ 12 callers
Function
getSubAgentProgress
(toolUseId: string)
src/state/subAgentProgressStore.ts:78
↓ 12 callers
Function
getTaskListId
(sessionId)
step/step15.js:50
↓ 12 callers
Function
matchesAnyRule
(rules: string[], toolName: string, input: Record<string, unknown>)
src/permissions/permissions.ts:305
↓ 12 callers
Function
readTeamFile
(teamName)
step/step21.js:50
↓ 12 callers
Function
resolveWorkspacePath
(filePath, cwd)
step/step5.js:16
↓ 12 callers
Function
splitCommand
(command)
step/step18.js:209
↓ 12 callers
Function
summarizeTool
( name: string, input: Record<string, unknown> | undefined, result?: string, )
src/ui/utils/toolCardFormat.ts:251
↓ 12 callers
Function
withTeamsFlag
* Run `fn` with the EASY_AGENT_TEAMS env flag in a known state. * Saves + restores both the env var and the `--agent-teams` argv flag * if it was al
src/scripts/test-stage21.ts:139
↓ 12 callers
Function
writeStreamDebug
(kind: string, payload: unknown)
src/utils/streamDebug.ts:39
↓ 11 callers
Function
assert
(cond: unknown, label: string)
src/scripts/test-tasks.ts:24
↓ 11 callers
Function
expect
(label: string, condition: unknown, evidence?: string)
src/scripts/smoke-bash-sandbox.ts:38
↓ 11 callers
Method
getActiveModel
()
src/core/queryEngine.ts:754
↓ 11 callers
Function
getActiveTeam
()
step/step21.js:90
↓ 11 callers
Function
getAllTools
()
src/tools/index.ts:89
↓ 11 callers
Function
getMcpRegistry
()
step/step16.js:100
↓ 11 callers
Function
getPlanFilePath
()
step/step13.js:35
↓ 11 callers
Function
params
(messages: never, extra: Partial<StreamRequestParams> = {})
src/scripts/test-providerstream-characterization.ts:211
↓ 11 callers
Function
push
(title: string, body: string)
src/scripts/test-providerstream-characterization.ts:244
↓ 11 callers
Function
withTempHome
* Run `fn` with a temp HOME *and* a temp CWD so every hooks operation * is fully sandboxed: * * - the user-scope settings.json goes under `<tmpHo
src/scripts/test-stage22.ts:86
↓ 10 callers
Function
enqueuePendingNotification
(notification)
step/step20.js:109
↓ 10 callers
Function
findToolByName
(name)
step/step3.js:85
↓ 10 callers
Function
isDangerousAutoModeRule
(rule)
step/step29.js:34
↓ 10 callers
Function
lineBounds
(value: string, cursor: number)
src/ui/hooks/useTextInput.ts:35
↓ 10 callers
Function
readScopeRules
( sources: { source: SettingSource; raw: Record<string, unknown> | null }[], scope: SettingSource, key:
src/core/queryEngine/commands/permissions.ts:25
↓ 10 callers
Function
record
(s: Scenario)
src/scripts/test-providerstream-characterization.ts:123
↓ 10 callers
Function
renderSystemPrompt
(parts: string[])
src/context/systemPrompt.ts:199
↓ 10 callers
Function
stat
(fp: string)
src/core/queryEngine/commands/memory.ts:41
↓ 10 callers
Function
validateFetchUrl
(rawUrl)
step/step31.js:86
↓ 10 callers
Function
writeFileEnsuringDir
(filePath: string, content: string)
src/scripts/test-stage23.ts:92
↓ 10 callers
Function
writeUserSettings
(home: string, hooks: unknown)
src/scripts/test-stage22.ts:104
↓ 9 callers
Method
addSessionAllowRules
(rules: string[])
src/core/queryEngine.ts:210
↓ 9 callers
Function
addTeamMember
(teamName, member)
step/step21.js:67
↓ 9 callers
Function
asString
(value: unknown)
src/ui/components/PermissionRequestCard.tsx:20
↓ 9 callers
Function
buildSystemPrompt
({ cwd, additionalInstructions = "" })
step/step6.js:44
↓ 9 callers
Function
expect
(label: string, condition: unknown, evidence?: string)
src/scripts/smoke-sandbox.ts:54
↓ 9 callers
Function
extractBashCommand
(input: Record<string, unknown>)
src/permissions/permissions.ts:233
↓ 9 callers
Function
formatTaskNotification
(parts)
step/step20.js:117
↓ 9 callers
Function
getAllAsyncAgents
()
step/step20.js:95
↓ 9 callers
Method
getPermissionMode
Current permission mode (default | plan | auto).
src/core/queryEngine/commands/context.ts:41
↓ 9 callers
Function
getProjectEasyAgentDir
(cwd: string)
src/utils/paths.ts:113
↓ 9 callers
Method
isConcurrencySafe
* Whether this tool is safe to run concurrently with other instances of * itself or with other concurrency-safe tools. The agentic loop uses * t
src/tools/Tool.ts:207
↓ 9 callers
Function
isENOENT
(error: unknown)
src/session/fileHistory.ts:605
↓ 9 callers
Method
isEnabled
Whether this tool is available in the current environment.
src/tools/Tool.ts:189
↓ 9 callers
Function
listTasks
(taskListId)
step/step15.js:152
↓ 9 callers
Function
loadEnv
()
src/utils/loadEnv.ts:53
↓ 9 callers
Function
logWarn
(message: string)
src/utils/log.ts:19
↓ 9 callers
Function
makeToolContext
Minimal ToolContext stand-in for tool .call() invocations.
src/scripts/test-stage21.ts:155
↓ 9 callers
Function
markdownToAnsi
(content: string)
src/ui/markdown/markdownToAnsi.ts:237
↓ 9 callers
Function
readMailbox
(agentName, teamName)
step/step21.js:124
↓ 9 callers
Function
readTeamFileAsync
( teamName: string, )
src/utils/teamHelpers.ts:150
next →
1–100 of 1,949, ranked by callers