Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrimeIntellect-ai/prime-agent
/ functions
Functions
8,829 in github.com/PrimeIntellect-ai/prime-agent
⨍
Functions
8,829
◇
Types & classes
1,625
↓ 6 callers
Function
createAgentConnectionState
( runtime: AgentSessionRuntime, activeSessionId?: string, )
packages/coding-agent/src/modes/agent-connection/snapshot.ts:22
↓ 6 callers
Function
createAssistantMessageEventStream
()
packages/ai/src/utils/event-stream.ts:85
↓ 6 callers
Method
createAuthFlows
()
packages/coding-agent/src/modes/interactive/interactive-mode.ts:8242
↓ 6 callers
Method
createBranchedSession
* Create a new session file containing only the path from root to the specified leaf. * Useful for extracting a single conversation path from a bran
packages/coding-agent/src/core/session-manager.ts:2044
↓ 6 callers
Function
createCliSubprocessEnv
( source: NodeJS.ProcessEnv = process.env, entrypoint = process.argv[1], execArgs: readonly string[] = proc
packages/coding-agent/src/cli/subprocess-launch.ts:10
↓ 6 callers
Function
createEditTool
(cwd: string, options?: EditToolOptions)
packages/coding-agent/src/core/tools/edit.ts:501
↓ 6 callers
Function
createGoalContextMessage
( goal: GoalState, kind: GoalContextKind, images?: ImageContent[], )
packages/coding-agent/src/core/goals.ts:154
↓ 6 callers
Method
createRlmHeartbeat
(input: { instruction: string; interval?: string; label?: string; deliveryMode?: AgentHeartbeatDeliver
packages/coding-agent/src/core/cron-jobs.ts:128
↓ 6 callers
Method
custom
Show a custom component with keyboard focus.
packages/coding-agent/src/core/extensions/types.ts:182
↓ 6 callers
Method
cycleModel
(direction?: "forward" | "backward")
packages/coding-agent/src/modes/agent-connection/types.ts:699
↓ 6 callers
Function
delay
(ms: number)
packages/coding-agent/src/cli/daemon-ps.ts:1216
↓ 6 callers
Method
delete
(self, kind: HarnessKind, id: str, *, global_: bool = False, **kwargs: Any)
prime-agent-runtime/src/rlm/harness.py:411
↓ 6 callers
Function
emptyUsage
()
packages/coding-agent/src/core/usage.ts:3
↓ 6 callers
Method
executeBash
* Run a user-initiated bash command (! / !! prefix). Resolution timing is * adapter-specific; rendering must be driven by the bash_start/bash_output
packages/coding-agent/src/modes/agent-connection/types.ts:694
↓ 6 callers
Function
fileIdentity
(path: string)
packages/coding-agent/src/modes/agents-view/agents-view-state.ts:131
↓ 6 callers
Function
finishClientSnapshotStreaming
(client: DaemonSocketClient, activeSessionId: string)
packages/coding-agent/src/modes/daemon/daemon-mode.ts:6718
↓ 6 callers
Method
forkFrom
* Fork a session from another project directory into the current project. * Creates a new session in the target cwd with the full history from the s
packages/coding-agent/src/core/session-manager.ts:2231
↓ 6 callers
Function
formatAgentSessionNameUnavailable
(name: string, depth: number)
packages/coding-agent/src/core/agent-messages.ts:196
↓ 6 callers
Method
formatDisplayPath
(p: string)
packages/coding-agent/src/modes/interactive/interactive-mode.ts:1772
↓ 6 callers
Function
formatStreamFailureMessage
(error: unknown)
packages/ai/src/utils/stream-failure.ts:189
↓ 6 callers
Method
getAvailable
* Get only models that have auth configured. * This is a fast check that doesn't refresh OAuth tokens.
packages/coding-agent/src/core/model-registry.ts:768
↓ 6 callers
Method
getBoundSessionState
(id: string)
packages/coding-agent/src/modes/daemon/daemon-mode.ts:2155
↓ 6 callers
Function
getCapabilities
()
packages/tui/src/terminal-image.ts:89
↓ 6 callers
Method
getClearOnShrink
()
packages/coding-agent/src/core/settings-manager.ts:1074
↓ 6 callers
Function
getDaemonUpdateRestartManifestPath
(socketPath: string, agentDir: string = getAgentDir())
packages/coding-agent/src/config.ts:563
↓ 6 callers
Method
getEditorPaddingX
()
packages/coding-agent/src/core/settings-manager.ts:1196
↓ 6 callers
Method
getEntry
(id: string)
packages/coding-agent/src/core/session-manager.ts:1837
↓ 6 callers
Method
getError
* Get any error from loading models.json (undefined if no error).
packages/coding-agent/src/core/model-registry.ts:502
↓ 6 callers
Method
getExtensionRunner
()
packages/coding-agent/src/modes/interactive/interactive-mode-services.ts:46
↓ 6 callers
Method
getMarkdownThemeWithSettings
()
packages/coding-agent/src/modes/interactive/interactive-mode.ts:1761
↓ 6 callers
Method
getOAuthProviders
* Get all registered OAuth providers
packages/coding-agent/src/core/auth-storage.ts:972
↓ 6 callers
Method
getProviderAuthStatus
(provider: string)
packages/coding-agent/src/modes/interactive/onboarding.ts:12
↓ 6 callers
Method
getProviderRequestAuthSource
( provider: string, options?: { resolvedApiKey?: string }, )
packages/coding-agent/src/core/model-registry.ts:1074
↓ 6 callers
Function
getProviders
()
packages/ai/src/models.ts:28
↓ 6 callers
Method
getRunnableCronJob
(jobId: string)
packages/coding-agent/src/modes/daemon/daemon-mode.ts:1626
↓ 6 callers
Function
getSessionsDir
(agentDir: string = getAgentDir())
packages/coding-agent/src/config.ts:635
↓ 6 callers
Method
getShowHardwareCursor
()
packages/coding-agent/src/core/settings-manager.ts:1186
↓ 6 callers
Function
graphemeWidth
* Calculate the terminal width of a single grapheme cluster. * Based on code from the string-width library, but includes a possible-emoji * check to
packages/tui/src/utils.ts:156
↓ 6 callers
Function
headersToRecord
(headers: Headers)
packages/ai/src/utils/headers.ts:1
↓ 6 callers
Function
isBuiltinSlashCommandName
(name: string)
packages/coding-agent/src/core/slash-commands.ts:247
↓ 6 callers
Method
isDeleteConfirmationVisible
()
packages/coding-agent/src/modes/agents-view/agents-view-mode.ts:1123
↓ 6 callers
Method
isOverlayVisible
Check if an overlay entry is currently visible
packages/tui/src/tui.ts:518
↓ 6 callers
Method
isPrimeCliConfigEnabled
()
packages/coding-agent/src/core/auth-storage.ts:1132
↓ 6 callers
Function
isRecord
(value: unknown)
packages/ai/src/utils/validation.ts:19
↓ 6 callers
Function
isRecord
(value: unknown)
packages/coding-agent/src/core/agent-traces.ts:139
↓ 6 callers
Function
isSessionSlashCommandName
(value: unknown)
packages/coding-agent/src/core/slash-commands.ts:19
↓ 6 callers
Method
isShowingAutocomplete
()
packages/tui/src/components/editor.ts:2499
↓ 6 callers
Method
listRlmSubagents
Current direct-child registry for the model-facing rlm.list_subagents API.
packages/coding-agent/src/core/agent-session.ts:9064
↓ 6 callers
Function
markClientSnapshotStreaming
(client: DaemonSocketClient, activeSessionId: string)
packages/coding-agent/src/modes/daemon/daemon-mode.ts:6690
↓ 6 callers
Method
markExecutionStarted
()
packages/coding-agent/src/modes/interactive/components/tool-execution.ts:216
↓ 6 callers
Function
normalizeSocketPath
Normalize a socket path so process-scan and dir-sweep entries merge cleanly.
packages/coding-agent/src/cli/daemon-ps.ts:83
↓ 6 callers
Method
onMessage
(listener: DaemonClientMessageListener)
packages/coding-agent/src/modes/daemon/daemon-client.ts:268
↓ 6 callers
Function
printJson
(value: unknown)
packages/coding-agent/src/cli/daemon-command.ts:1245
↓ 6 callers
Method
process
(ansiCode: string)
packages/tui/src/utils.ts:512
↓ 6 callers
Method
prompt
(input: string | AgentMessage | AgentMessage[], images?: ImageContent[])
packages/agent/src/agent.ts:353
↓ 6 callers
Function
readJobsState
(path: string)
packages/coding-agent/src/core/cron-jobs.ts:1531
↓ 6 callers
Method
recordError
(error: unknown)
packages/coding-agent/src/core/auth-storage.ts:302
↓ 6 callers
Method
recoverWorker
(worker: ResidentWorker)
packages/coding-agent/src/modes/daemon/daemon-supervisor.ts:2708
↓ 6 callers
Method
refreshHeartbeatCatalog
()
packages/coding-agent/src/modes/interactive/interactive-mode.ts:2503
↓ 6 callers
Function
registerFixtureProcess
( pid: number | undefined, processStartId: string | undefined, role: FixtureProcessIdentity["role"], )
packages/coding-agent/test/suite/regressions/4603-worker-recovery.test.ts:231
↓ 6 callers
Method
request
(request: MockDaemonRequest)
packages/coding-agent/test/package-self-update-daemon.test.ts:334
↓ 6 callers
Function
resolveConfigValueUncached
(config: string)
packages/coding-agent/src/core/resolve-config-value.ts:91
↓ 6 callers
Function
resolveToCwd
(filePath: string, cwd: string)
packages/coding-agent/src/core/tools/path-utils.ts:54
↓ 6 callers
Method
respondToExtensionUiRequest
(requestId: string, response: AgentConnectionExtensionUiResponse)
packages/coding-agent/src/modes/agent-connection/types.ts:675
↓ 6 callers
Method
restoreFollowUpMessage
( text: string, images?: ImageContent[], options: { queueKey?: string; agentMessageId?: string;
packages/coding-agent/src/core/agent-session.ts:5027
↓ 6 callers
Method
run
()
packages/coding-agent/src/core/agent-session.ts:4585
↓ 6 callers
Method
runDue
(now = this.now())
packages/coding-agent/src/core/cron-jobs.ts:969
↓ 6 callers
Method
seed
Seed in-memory status from the persisted entry when a session is added.
packages/coding-agent/src/modes/daemon/daemon-session-summarizer.ts:267
↓ 6 callers
Function
send
(message: Record<string, unknown>)
packages/coding-agent/test/fixtures/eng-4600-supervisor-fixture.ts:19
↓ 6 callers
Function
sessionNameReservationKey
(input: { name: string; depth: number; parentSessionId?: string; parentSessionPath?: string; })
packages/coding-agent/src/core/agent-messages.ts:179
↓ 6 callers
Method
setArgsComplete
()
packages/coding-agent/src/modes/interactive/components/tool-execution.ts:222
↓ 6 callers
Method
setPackages
(packages: PackageSource[])
packages/coding-agent/src/core/settings-manager.ts:946
↓ 6 callers
Method
setScopedModels
(scopedModels: AgentConnectionScopedModel[])
packages/coding-agent/src/modes/agent-connection/types.ts:700
↓ 6 callers
Method
setServiceTier
(serviceTier: ServiceTier)
packages/coding-agent/src/modes/agent-connection/types.ts:702
↓ 6 callers
Method
setStateSessionName
(state: ActiveSessionState, name: string)
packages/coding-agent/src/modes/daemon/daemon-mode.ts:5121
↓ 6 callers
Function
shouldUseWindowsShell
(command: string)
packages/coding-agent/src/utils/child-process.ts:9
↓ 6 callers
Method
shutdown
()
packages/coding-agent/src/modes/interactive/interactive-mode.ts:6671
↓ 6 callers
Function
sleep
(ms: number)
packages/coding-agent/test/streaming-render-debug.ts:39
↓ 6 callers
Function
sleep
(ms: number, signal?: AbortSignal)
packages/coding-agent/src/utils/sleep.ts:4
↓ 6 callers
Method
strikethrough
(text: string)
packages/coding-agent/src/modes/interactive/theme/theme.ts:546
↓ 6 callers
Function
stripAnsi
(str: string)
packages/tui/src/utils.ts:904
↓ 6 callers
Function
success
(id: string | undefined, command: DaemonCommandName, data?: unknown)
packages/coding-agent/src/modes/daemon/daemon-protocol.ts:1142
↓ 6 callers
Function
supportsFastMode
(model: Model<TApi>)
packages/ai/src/models.ts:39
↓ 6 callers
Method
syncWorkingLoader
()
packages/coding-agent/src/modes/interactive/interactive-mode.ts:3349
↓ 6 callers
Method
underline
(text: string)
packages/coding-agent/src/modes/interactive/theme/theme.ts:538
↓ 6 callers
Method
updateWorkingLoaderMessage
()
packages/coding-agent/src/modes/interactive/interactive-mode.ts:3141
↓ 6 callers
Function
visibleSessionActionProjection
(actions: readonly QueuedSessionAction[])
packages/coding-agent/src/core/agent-session.ts:786
↓ 6 callers
Method
writeLine
(text: string)
packages/coding-agent/src/cli/daemon-command.ts:1506
↓ 5 callers
Function
StringEnum
( values: T, options?: { description?: string; default?: T[number] }, )
packages/ai/src/utils/typebox-helpers.ts:14
↓ 5 callers
Method
_acquireSessionActionCommitFence
(signal?: AbortSignal)
packages/coding-agent/src/core/agent-session.ts:6360
↓ 5 callers
Method
_clearQueuedGoalContexts
()
packages/coding-agent/src/core/agent-session.ts:1765
↓ 5 callers
Method
_consumeSerializedBackgroundPlan
* Claim and process the serialized background plan if one is in flight. * A concurrent caller waits for the claim holder's full processing callback
packages/coding-agent/src/core/agent-session.ts:2420
↓ 5 callers
Method
_emitGoalUpdate
()
packages/coding-agent/src/core/agent-session.ts:1553
↓ 5 callers
Method
_ensure_local_writable
(self)
prime-agent-runtime/src/rlm/harness.py:174
↓ 5 callers
Method
_isBusyForSessionInput
(point: "preflight" | "pump")
packages/coding-agent/src/core/agent-session.ts:5606
↓ 5 callers
Method
_localHarnessStateDir
()
packages/coding-agent/src/core/agent-session.ts:7165
↓ 5 callers
Method
_rejectAgentMessage
Reject both currently registered legs of an agent message outcome.
packages/coding-agent/src/core/agent-session.ts:3272
↓ 5 callers
Method
_rewriteFile
()
packages/coding-agent/src/core/session-manager.ts:1345
↓ 5 callers
Function
_strip_scope_prefix
(id: str | None, global_: bool)
prime-agent-runtime/src/rlm/harness.py:59
↓ 5 callers
Method
_waitForRefineIdle
* Block a new agent turn until any in-flight refine application phase has * reattached event handling; otherwise the turn's messages are never * p
packages/coding-agent/src/core/agent-session.ts:7690
← previous
next →
501–600 of 8,829, ranked by callers