MCPcopy Create free account

hub / github.com/PrimeIntellect-ai/prime-agent / functions

Functions8,829 in github.com/PrimeIntellect-ai/prime-agent

↓ 24 callersMethodbuildSessionContext
()
packages/coding-agent/src/core/agent-session.ts:4121
↓ 24 callersMethodlog
(message: string)
packages/coding-agent/src/modes/daemon/daemon-supervisor.ts:735
↓ 24 callersMethodreadJobs
()
packages/coding-agent/src/core/cron-jobs.ts:789
↓ 24 callersMethodreload
()
packages/coding-agent/src/core/resource-loader.ts:38
↓ 24 callersMethodsetStatusMessage
( message: string | undefined, options: { render?: boolean; tone?: "muted" | "error" | "warning"; sticky?:
packages/coding-agent/src/modes/agents-view/agents-view-mode.ts:1127
↓ 23 callersMethodabort
Request cancellation of the active turn and return once the request is accepted.
packages/coding-agent/src/modes/agent-connection/types.ts:684
↓ 23 callersFunctioncreateAgentSession
(options: CreateAgentSessionOptions = {})
packages/coding-agent/src/core/sdk.ts:155
↓ 23 callersFunctionhost_request
Send a typed request to the Prime Agent host and await its reply. This is the kernel side of the generic host bridge: Python skills call ``aw
prime-agent-runtime/src/rlm/__init__.py:84
↓ 23 callersFunctionkeyHint
(keybinding: Keybinding, description: string, options: KeyTextOptions = {})
packages/coding-agent/src/modes/interactive/components/keybinding-hints.ts:65
↓ 23 callersMethodrequestOk
(command: DaemonCommandBody)
packages/coding-agent/src/modes/agent-connection/daemon-agent-connection.ts:1387
↓ 22 callersMethodend
(result?: R)
packages/ai/src/utils/event-stream.ts:37
↓ 22 callersFunctiongetProcessStartId
(pid: number)
packages/coding-agent/src/core/session-lease.ts:140
↓ 22 callersMethodregisterTool
Register a tool that the LLM can call.
packages/coding-agent/src/core/extensions/types.ts:1081
↓ 22 callersFunctionsetKeybindings
(keybindings: KeybindingsManager)
packages/tui/src/keybindings.ts:256
↓ 21 callersMethodkill
()
packages/coding-agent/test/package-manager.test.ts:23
↓ 21 callersMethodregisterProvider
* Register or override a model provider. * * If `models` is provided: replaces all existing models for this provider. * If only `baseUrl` is pro
packages/coding-agent/src/core/extensions/types.ts:1240
↓ 21 callersMethodyellow
(s: string)
packages/coding-agent/examples/extensions/snake.ts:223
↓ 20 callersMethodcreate_memory
( self, title: str, content: str, *, id: str | None = None, pa
prime-agent-runtime/src/rlm/harness.py:530
↓ 20 callersMethodonChange
()
packages/coding-agent/src/core/agent-session.ts:6270
↓ 20 callersMethodrelease
()
packages/coding-agent/src/utils/semaphore.ts:45
↓ 20 callersFunctionserializeJsonLine
(value: unknown)
packages/coding-agent/src/modes/rpc/jsonl.ts:10
↓ 19 callersMethodbindExtensions
(bindings: ExtensionBindings)
packages/coding-agent/src/modes/interactive/interactive-mode-services.ts:50
↓ 19 callersMethodclose
()
packages/coding-agent/test/daemon-multiclient-bench.ts:86
↓ 19 callersMethodgetText
()
packages/tui/src/components/editor.ts:1108
↓ 19 callersFunctionlistener
()
packages/coding-agent/src/core/tools/ipython.ts:224
↓ 19 callersMethodred
(s: string)
packages/coding-agent/examples/extensions/snake.ts:222
↓ 19 callersMethodwaitForHello
Wait for the daemon_hello greeting sent on connect.
packages/coding-agent/src/modes/daemon/daemon-client.ts:143
↓ 18 callersMethodbg
(color: ThemeBg, text: string)
packages/coding-agent/src/modes/interactive/theme/theme.ts:404
↓ 18 callersFunctionresolveApiKey
(provider: string)
packages/ai/test/oauth.ts:57
↓ 18 callersMethodsetCursorCol
* Set cursor column and clear preferredVisualCol. * Use this for all non-vertical cursor movements to reset sticky column behavior.
packages/tui/src/components/editor.ts:1465
↓ 17 callersFunctioncanonicalSessionPath
(path: string)
packages/coding-agent/src/modes/agents-view/agents-view-state.ts:127
↓ 17 callersMethoddone
()
packages/coding-agent/src/modes/interactive/interactive-mode.ts:7173
↓ 17 callersMethodemit
(channel: string, data: unknown)
packages/coding-agent/src/core/event-bus.ts:4
↓ 17 callersFunctionfauxToolCall
(name: string, arguments_: ToolCall["arguments"], options: { id?: string } = {})
packages/ai/src/providers/faux.ts:57
↓ 17 callersMethodgetActiveToolNames
* Get the names of currently active tools. * Returns the names of tools currently set on the agent.
packages/coding-agent/src/core/agent-session.ts:4059
↓ 17 callersMethodgetHeader
* Get session header.
packages/coding-agent/src/core/session-manager.ts:1923
↓ 17 callersFunctionhandler
()
packages/coding-agent/src/cli/owned-session-worker.ts:401
↓ 17 callersFunctionwrapTextWithAnsi
(text: string, width: number)
packages/tui/src/utils.ts:797
↓ 16 callersMethodclose
(code?: number, reason?: string)
packages/ai/src/providers/openai-codex-responses.ts:599
↓ 16 callersMethodend
()
packages/coding-agent/src/modes/daemon/mutation-drain-latch.ts:10
↓ 16 callersFunctiongenerateId
Generate a unique short ID (8 hex chars, collision-checked)
packages/coding-agent/src/core/session-manager.ts:351
↓ 16 callersMethodgetLeafId
()
packages/coding-agent/src/core/session-manager.ts:1829
↓ 16 callersMethodgetSessionId
()
packages/coding-agent/src/core/session-manager.ts:1398
↓ 16 callersMethodgetValue
()
packages/coding-agent/src/modes/interactive/components/menu-panel.ts:291
↓ 16 callersMethodlisten
()
packages/coding-agent/src/modes/daemon/daemon-supervisor.ts:719
↓ 16 callersMethodpushUndoSnapshot
()
packages/tui/src/components/editor.ts:2139
↓ 16 callersMethodwriteJobs
(jobs: readonly AgentCronJob[])
packages/coding-agent/src/core/cron-jobs.ts:823
↓ 15 callersFunctioncreateAgentSessionRuntime
( createRuntime: CreateAgentSessionRuntimeFactory, options: { cwd: string; agentDir: string; sessionMa
packages/coding-agent/src/core/agent-session-runtime.ts:760
↓ 15 callersMethodcreateContext
* Create an ExtensionContext for use in event handlers and tool execution. * Context values are resolved at call time, so changes via bindCore/bindU
packages/coding-agent/src/core/extensions/runner.ts:571
↓ 15 callersMethodemitError
(error: ExtensionError)
packages/coding-agent/src/core/extensions/runner.ts:484
↓ 15 callersFunctiongetMarkdownTheme
()
packages/coding-agent/src/modes/interactive/theme/theme.ts:1292
↓ 15 callersFunctiongetMessageText
(message: unknown)
packages/coding-agent/test/suite/harness.ts:33
↓ 15 callersMethodgetState
()
packages/coding-agent/src/modes/agent-connection/types.ts:629
↓ 15 callersMethodisAgentStreaming
()
packages/coding-agent/src/modes/interactive/interactive-mode.ts:2684
↓ 15 callersMethodlist
* List all providers with credentials.
packages/coding-agent/src/core/auth-storage.ts:692
↓ 15 callersMethodqueuedActions
(policy?: DeliveryPolicy)
packages/coding-agent/src/core/session-action-store.ts:233
↓ 15 callersMethodrun
(self, prompt: str, **kwargs: Any)
prime-agent-runtime/src/rlm/__init__.py:288
↓ 15 callersMethodsend
(data: string)
packages/ai/src/providers/openai-codex-responses.ts:600
↓ 14 callersMethod_appendEntry
(entry: SessionEntry)
packages/coding-agent/src/core/session-manager.ts:1477
↓ 14 callersFunctioncreateSyntheticSourceInfo
( path: string, options: { source: string; scope?: SourceScope; origin?: SourceOrigin; baseDir?: str
packages/coding-agent/src/core/source-info.ts:24
↓ 14 callersFunctioncreateTestResourceLoader
(options: CreateTestResourceLoaderOptions = {})
packages/coding-agent/test/utilities.ts:212
↓ 14 callersMethodemit
(event: AgentSessionEvent)
packages/coding-agent/test/agent-connection-in-process.test.ts:18
↓ 14 callersMethodend
()
packages/coding-agent/test/daemon-client.test.ts:65
↓ 14 callersFunctionformatError
(prefix: string, error: unknown)
packages/coding-agent/src/modes/agents-view/agents-view-mode.ts:2908
↓ 14 callersMethodgetCurrentModel
()
packages/coding-agent/src/modes/interactive/interactive-mode.ts:2676
↓ 14 callersMethodgetSessionArtifactDir
()
packages/coding-agent/src/core/session-manager.ts:1438
↓ 14 callersMethodnavigateTree
( targetId: string, options?: AgentConnectionNavigateTreeOptions, )
packages/coding-agent/src/modes/agent-connection/types.ts:720
↓ 14 callersFunctionrelease
()
packages/coding-agent/test/ipython-provisioner.test.ts:141
↓ 14 callersMethodshowWarning
(warningMessage: string)
packages/coding-agent/src/modes/interactive/interactive-mode.ts:7062
↓ 14 callersMethodwake
()
packages/coding-agent/src/core/agent-session.ts:6329
↓ 13 callersMethod_scheduleSessionInputPump
()
packages/coding-agent/src/core/agent-session.ts:5387
↓ 13 callersMethodbold
(s: string)
packages/coding-agent/examples/extensions/snake.ts:224
↓ 13 callersFunctioncreateAgentSessionFromServices
( options: CreateAgentSessionFromServicesOptions, )
packages/coding-agent/src/core/agent-session-services.ts:244
↓ 13 callersMethoddisposeAsync
* Async teardown for graceful quit/switch: await the IPython kernel's dispose * (which flushes a final namespace snapshot) before the synchronous di
packages/coding-agent/src/core/agent-session.ts:3770
↓ 13 callersMethodfollowUp
(message: string, images?: ImageContent[])
packages/coding-agent/src/modes/agent-connection/types.ts:682
↓ 13 callersMethodgetApiKey
Convert credentials to API key string for the provider
packages/ai/src/utils/oauth/types.ts:60
↓ 13 callersMethodgetGlobalSettings
()
packages/coding-agent/src/core/settings-manager.ts:452
↓ 13 callersFunctiongetPackageDir
()
packages/coding-agent/src/config.ts:351
↓ 13 callersMethodgetSessionDir
()
packages/coding-agent/src/core/session-manager.ts:1394
↓ 13 callersFunctiongetUserTexts
(harness: Harness)
packages/coding-agent/test/suite/harness.ts:50
↓ 13 callersMethodhasHandlers
(eventType: string)
packages/coding-agent/src/core/extensions/runner.ts:490
↓ 13 callersMethodhide
Permanently remove the overlay (cannot be shown again)
packages/tui/src/tui.ts:228
↓ 13 callersMethodparseSource
(source: string)
packages/coding-agent/src/core/package-manager.ts:1385
↓ 13 callersFunctionregisterFauxProvider
(options: RegisterFauxProviderOptions = {})
packages/ai/src/providers/faux.ts:391
↓ 13 callersFunctionsanitizeSurrogates
(text: string)
packages/ai/src/utils/sanitize-unicode.ts:21
↓ 13 callersMethodshowOverlay
* Show an overlay component with configurable positioning and sizing. * Returns a handle to control the overlay's visibility.
packages/tui/src/tui.ts:424
↓ 13 callersMethodwrite
(client: DaemonSocketClient, message: DaemonOutbound)
packages/coding-agent/src/modes/daemon/daemon-mode.ts:6503
↓ 12 callersFunction_run
(coro)
prime-agent-runtime/test/test_mcp_base.py:16
↓ 12 callersMethodappendSessionInfo
Append a session info entry (e.g., display name). Returns entry id.
packages/coding-agent/src/core/session-manager.ts:1614
↓ 12 callersMethodappendSessionState
Append a session lifecycle state entry. Returns entry id.
packages/coding-agent/src/core/session-manager.ts:1627
↓ 12 callersFunctionclampThinkingLevel
( model: Model<TApi>, level: ModelThinkingLevel, )
packages/ai/src/models.ts:77
↓ 12 callersFunctioncleanup
()
packages/coding-agent/src/modes/daemon/daemon-extension-binding.ts:157
↓ 12 callersMethodcloseSession
( state: ActiveSessionState, reason: DaemonSessionClosedReason, waitForAbort = true, cascadeChildren =
packages/coding-agent/src/modes/daemon/daemon-mode.ts:5903
↓ 12 callersFunctioncreateAgentSessionServices
( options: CreateAgentSessionServicesOptions, )
packages/coding-agent/src/core/agent-session-services.ts:169
↓ 12 callersMethodeventsOfType
(type: T)
packages/coding-agent/test/suite/harness.ts:97
↓ 12 callersMethodgetApiKeyAndHeaders
* Get API key and request headers for a model.
packages/coding-agent/src/core/model-registry.ts:1297
↓ 12 callersMethodgetAuthStatus
* Return auth status without exposing credential values or refreshing tokens.
packages/coding-agent/src/core/auth-storage.ts:714
↓ 12 callersMethodgetSessionName
Get the current session name, if set.
packages/coding-agent/src/core/extensions/types.ts:1151
↓ 12 callersMethodgreen
(s: string)
packages/coding-agent/examples/extensions/snake.ts:221
↓ 12 callersFunctionhasAzureOpenAICredentials
()
packages/ai/test/azure-utils.ts:18
← previousnext →101–200 of 8,829, ranked by callers