Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/PawanOsman/OpenCursor
/ functions
Functions
727 in github.com/PawanOsman/OpenCursor
⨍
Functions
727
◇
Types & classes
146
↓ 3 callers
Method
_buildModelList
Build the picker model list from ALL enabled providers.
src/ui/sidebarProvider.ts:924
↓ 3 callers
Method
_enabledProviders
Enabled providers (multi-provider). Falls back to all configured if none flagged.
src/ui/sidebarProvider.ts:835
↓ 3 callers
Method
_indexDoc
Index a doc source in the background; persist result or error on the doc.
src/ui/settingsPanel.ts:630
↓ 3 callers
Function
accountId
Build a stable account id; fall back to a random suffix if no native id.
src/agent/oauth.ts:390
↓ 3 callers
Function
actionTypeForCall
(toolName: string, input: any, root: string | undefined)
src/agent/approvalPolicy.ts:74
↓ 3 callers
Function
allPersonas
(custom: Persona[])
src/agent/personas.ts:83
↓ 3 callers
Function
applyEmbedModel
(id: string)
src/stores/modelRegistry.ts:51
↓ 3 callers
Function
blockedInMultitask
(ctx?: ToolContext)
src/agent/tools/files.ts:142
↓ 3 callers
Function
close
()
webview-ui/shared/ModelSelect.tsx:80
↓ 3 callers
Function
closeThinking
(turn: AssistantTurn)
src/shared/turns.ts:246
↓ 3 callers
Method
connect
(timeoutMs = 15000)
src/integrations/mcpClient.ts:50
↓ 3 callers
Function
effectiveConfig
(m: LlamacppModel, globalCfg?: LlamacppServerConfig)
src/agent/llamacpp.ts:334
↓ 3 callers
Function
embed
(texts: string[])
src/agent/semanticIndex.ts:152
↓ 3 callers
Function
esc
(s: string)
webview-ui/sidebar/components/Composer.tsx:1240
↓ 3 callers
Function
fail
(msg: string)
src/agent/llamacpp.ts:454
↓ 3 callers
Function
fileFor
(source: HookSource)
src/integrations/externalHooks.ts:56
↓ 3 callers
Function
fileFor
(id: string)
src/agent/docsIndex.ts:65
↓ 3 callers
Function
firstDiffLine
(before: string, after: string)
src/agent/tools/shared.ts:86
↓ 3 callers
Function
flush
()
webview-ui/sidebar/App.tsx:149
↓ 3 callers
Function
fmtSize
(bytes?: number)
webview-ui/settings/panels/localShared.ts:10
↓ 3 callers
Function
getStatus
(root: string)
src/agent/semanticIndex.ts:235
↓ 3 callers
Function
getUsage
()
src/stores/usageStore.ts:27
↓ 3 callers
Function
importRuntimeDep
(name: string)
src/runtimeDeps.ts:271
↓ 3 callers
Function
indexPath
(root: string)
src/agent/semanticIndex.ts:172
↓ 3 callers
Function
insertMention
(m: MentionItem)
webview-ui/sidebar/components/Composer.tsx:1064
↓ 3 callers
Function
insertTextAtCaret
(text: string)
webview-ui/sidebar/components/Composer.tsx:1048
↓ 3 callers
Function
isReadonlySubagent
(i: any)
webview-ui/sidebar/components/Tool.tsx:87
↓ 3 callers
Function
kindMatches
(kind: ModelKind | ModelKind[], k: string)
src/stores/featureStore.ts:54
↓ 3 callers
Function
listModels
(apiBaseUrl: string, apiKey: string, anthropic?: boolean)
src/agent/provider.ts:88
↓ 3 callers
Function
listSkills
()
src/context/workspaceContext.ts:276
↓ 3 callers
Function
load
()
webview-ui/settings/panels/ProvidersPanel.tsx:230
↓ 3 callers
Function
localeOf
First path segment if it's a locale code (e.g. "en" in /en/stable/x), else null.
src/agent/docsIndex.ts:128
↓ 3 callers
Function
norm
(p: string)
src/agent/approvalPolicy.ts:63
↓ 3 callers
Function
norm
(s: string)
src/agent/tools/files.ts:190
↓ 3 callers
Function
optionSummary
Short summary of a model's options, e.g. "Low · Thinking".
webview-ui/sidebar/components/Composer.tsx:357
↓ 3 callers
Function
parseResetMs
Parse a reset value (epoch s/ms or ISO string) into epoch ms.
src/agent/oauth.ts:596
↓ 3 callers
Function
parseTitle
Extract a title from a model response that may be JSON, fenced JSON, or plain text.
src/agent/provider.ts:301
↓ 3 callers
Function
parseV
(v: string)
src/runtimeDeps.ts:52
↓ 3 callers
Function
patch
(p: Partial<typeof r>)
webview-ui/settings/App.tsx:221
↓ 3 callers
Method
persist
(list: Conversation[])
src/stores/conversationStore.ts:65
↓ 3 callers
Function
readJson
(file: string)
src/integrations/externalHooks.ts:70
↓ 3 callers
Method
reject
Reject — restore the file's original content (or delete if it was created).
src/stores/pendingChanges.ts:172
↓ 3 callers
Method
rejectAll
()
src/stores/pendingChanges.ts:188
↓ 3 callers
Function
renderMentionTokens
(text: string, target: "display" | "html" = "display")
src/shared/turns.ts:143
↓ 3 callers
Function
runBlockingHooks
(hooks: HookDef[], event: TriggerEvent, context: Record<string, string> = {}, tool?: string)
src/integrations/hooksRunner.ts:186
↓ 3 callers
Function
saveAccount
(acc: OAuthAccount)
src/agent/oauth.ts:224
↓ 3 callers
Function
set
(patch: Partial<ProviderConfig>)
webview-ui/settings/panels/ProvidersPanel.tsx:50
↓ 3 callers
Function
set
(patch: Partial<McpServerConfig>)
webview-ui/settings/panels/McpPanel.tsx:121
↓ 3 callers
Function
setCustomSelected
(on: boolean)
webview-ui/sidebar/components/Tool.tsx:418
↓ 3 callers
Function
setOpt
(i: number, value: string)
webview-ui/sidebar/components/Composer.tsx:416
↓ 3 callers
Function
streamOAuthChat
(kind: OAuthKind, opts: { model: string; messages: WireMessage[]; tools?: ToolSchema[]; maxTokens?: nu
src/agent/oauth.ts:781
↓ 3 callers
Function
submit
()
webview-ui/sidebar/components/Tool.tsx:444
↓ 3 callers
Method
sync
(configs: McpServerConfig[])
src/integrations/mcpClient.ts:203
↓ 3 callers
Function
updateCustom
(id: string, patch: Partial<Persona>)
webview-ui/settings/panels/PersonasPanel.tsx:25
↓ 2 callers
Method
_addLlamacppModel
* Register a downloaded/imported GGUF. Local models are served directly by the * extension's own llama-server on demand — no provider entry or enab
src/ui/settingsPanel.ts:604
↓ 2 callers
Method
_evaluatePolicy
Evaluate the current approval policy for a tool call.
src/ui/sidebarProvider.ts:772
↓ 2 callers
Method
_handleMessage
( text: string, attachments?: Attachment[], edit?: { fromIndex?: number; model?: string; mode?: st
src/ui/sidebarProvider.ts:1134
↓ 2 callers
Method
_localModel
Whether a model id maps to a managed local llama.cpp model.
src/ui/sidebarProvider.ts:841
↓ 2 callers
Method
_optionsKeyFor
Kind-scoped modelOptions key ("<kind>:<id>") for a scoped picker id, so the * same model id keeps separate option state per provider (anthropic vs
src/ui/sidebarProvider.ts:823
↓ 2 callers
Method
_resolveProviderForModel
* Resolve the provider that serves a given model id into connection details. * For local models, pass `{ load: true }` to spawn the server if not a
src/ui/sidebarProvider.ts:851
↓ 2 callers
Method
_selectConversation
(id: string)
src/ui/sidebarProvider.ts:656
↓ 2 callers
Method
_sendConfigState
Push live persona list + provider availability to the webview.
src/ui/sidebarProvider.ts:678
↓ 2 callers
Method
_sendPendingChanges
()
src/ui/sidebarProvider.ts:327
↓ 2 callers
Method
_truncateConversation
* Drop turns (and the matching model-history steps) at/after `turnIndex` so an * edited message can be re-sent as if the later conversation never h
src/ui/sidebarProvider.ts:596
↓ 2 callers
Method
_turnsFor
Authoritative turns for a conversation: live session turns if running, else stored.
src/ui/sidebarProvider.ts:582
↓ 2 callers
Function
add
()
webview-ui/settings/App.tsx:176
↓ 2 callers
Function
advance
()
webview-ui/sidebar/components/Tool.tsx:450
↓ 2 callers
Function
agHeaders
(token: string)
src/agent/oauth.ts:453
↓ 2 callers
Function
appendText
(s: string)
webview-ui/sidebar/components/Composer.tsx:866
↓ 2 callers
Function
applyAnthropicReasoning
( body: Record<string, unknown>, model: string, maxTokens: number, params?: ModelParams, )
src/agent/provider.ts:43
↓ 2 callers
Function
applyEvent
(turns: Turn[], ev: AgentEvent)
src/shared/turns.ts:230
↓ 2 callers
Function
applyFileIconTo
(el: HTMLElement, path: string)
webview-ui/sidebar/components/Composer.tsx:84
↓ 2 callers
Function
applySnapshot
(snap: { html: string; caret: number })
webview-ui/sidebar/components/Composer.tsx:821
↓ 2 callers
Function
attrsOf
(s: string)
src/shared/turns.ts:121
↓ 2 callers
Function
b64url
(b: Buffer)
src/agent/oauth.ts:215
↓ 2 callers
Function
call
(body: Record<string, unknown>)
src/agent/provider.ts:240
↓ 2 callers
Method
callTool
(qualifiedName: string, args: any)
src/integrations/mcpClient.ts:241
↓ 2 callers
Function
canonicalUrl
* Canonicalize a URL for dedup: strip hash + all query strings, normalize * trailing slash. Never rewrites the path (a stripped locale prefix can 404
src/agent/docsIndex.ts:139
↓ 2 callers
Function
capitalize
(s: string)
webview-ui/sidebar/App.tsx:121
↓ 2 callers
Function
closeTab
(id: string)
webview-ui/sidebar/App.tsx:1196
↓ 2 callers
Function
cmpV
(a: string, b: string)
src/runtimeDeps.ts:55
↓ 2 callers
Function
completeLogin
(kind: OAuthKind, code: string, retState: string, expectState: string, verifier: string)
src/agent/oauth.ts:367
↓ 2 callers
Function
customKindLabel
(kind: ProviderKind)
webview-ui/settings/panels/ProvidersPanel.tsx:32
↓ 2 callers
Function
ddgSearch
(term: string, endpoint: string, signal: AbortSignal | undefined, limit: number)
src/agent/tools/web.ts:71
↓ 2 callers
Method
defFor
Catalog entry for a model, scoped to a provider kind when given. A def only * applies to the kinds it declares, so the same model id can have diffe
src/stores/featureStore.ts:314
↓ 2 callers
Method
deleteApiKey
()
src/stores/settingsManager.ts:91
↓ 2 callers
Method
dispose
()
src/integrations/mcpClient.ts:152
↓ 2 callers
Method
disposeAll
()
src/integrations/mcpClient.ts:289
↓ 2 callers
Function
disposeLlamacpp
()
src/agent/llamacpp.ts:521
↓ 2 callers
Function
dropRetryNote
(turn: AssistantTurn)
src/shared/turns.ts:241
↓ 2 callers
Function
effectiveContextLength
(m: LlamacppModel, globalCtx: number)
src/agent/llamacpp.ts:354
↓ 2 callers
Function
embedQuery
(q: string)
src/agent/semanticIndex.ts:161
↓ 2 callers
Function
ensureCaretInEditor
()
webview-ui/sidebar/components/Composer.tsx:990
↓ 2 callers
Function
ensureDir
()
src/agent/llamacpp.ts:181
↓ 2 callers
Function
ensureLoaded
(m: LlamacppModel, globalCfg?: LlamacppServerConfig)
src/agent/llamacpp.ts:497
↓ 2 callers
Function
envFor
(context: Record<string, string>)
src/integrations/hooksRunner.ts:166
↓ 2 callers
Function
evalStick
()
webview-ui/sidebar/App.tsx:749
↓ 2 callers
Function
exec
(i: number)
src/agent/loop.ts:470
↓ 2 callers
Method
execute
(input: any, abortSignal?: AbortSignal, callId?: string, ctx?: ToolContext)
src/agent/tools/types.ts:39
↓ 2 callers
Function
exploreSummary
(tools: ToolBlock[])
webview-ui/sidebar/App.tsx:177
← previous
next →
101–200 of 727, ranked by callers