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
↓ 1 callers
Function
addCustomModel
(id: string, providerId: string, kind: ProviderKind)
webview-ui/settings/panels/ModelsPanel.tsx:276
↓ 1 callers
Method
addSelectionToChat
Ctrl+L: insert the current editor selection as a @code mention in the composer.
src/ui/sidebarProvider.ts:98
↓ 1 callers
Function
addTo
(source: HookSource, data: any, event: string, command: string, matcher?: string)
src/integrations/externalHooks.ts:130
↓ 1 callers
Function
agLoadCodeAssist
(token: string)
src/agent/oauth.ts:500
↓ 1 callers
Function
agOnboard
(token: string, tierId: string)
src/agent/oauth.ts:518
↓ 1 callers
Function
allowedNamesFor
()
src/agent/loop.ts:192
↓ 1 callers
Function
applyAnthropicSampling
(body: Record<string, unknown>, s?: SamplingParams)
src/agent/provider.ts:80
↓ 1 callers
Function
applyOpenAISampling
(body: Record<string, unknown>, s?: SamplingParams)
src/agent/provider.ts:16
↓ 1 callers
Function
applyToBlocks
(blocksIn: AssistantBlock[], ev: AgentEvent)
src/shared/turns.ts:184
↓ 1 callers
Function
atBottom
()
webview-ui/sidebar/App.tsx:747
↓ 1 callers
Function
branchDiffItem
()
src/context/mentions.ts:124
↓ 1 callers
Function
buildArgs
Build the llama-server argv from a model + effective config.
src/agent/llamacpp.ts:374
↓ 1 callers
Function
buildAuthUrl
(kind: OAuthKind, challenge: string, state: string)
src/agent/oauth.ts:324
↓ 1 callers
Function
buildMessages
(system: string, steps: Step[], ctx?: CursorContextBlocks)
src/agent/messages.ts:125
↓ 1 callers
Function
buildNotify
Build a notify_on_output config from the tool input, if present.
src/agent/tools/shell.ts:27
↓ 1 callers
Function
buildOpenFilesBlock
()
src/context/cursorContext.ts:103
↓ 1 callers
Function
buildTree
(dir: string, prefix: string, depth: number, lines: string[], budget: { n: number })
src/context/workspaceContext.ts:18
↓ 1 callers
Function
buildUserInfoBlock
(opts: { userRules?: string; enableWorkspaceContext?: boolean; })
src/context/cursorContext.ts:48
↓ 1 callers
Function
caretOffset
()
webview-ui/sidebar/components/Composer.tsx:755
↓ 1 callers
Function
checkInstalled
()
src/agent/llamacpp.ts:204
↓ 1 callers
Function
chunkFile
(rel: string, text: string)
src/agent/semanticIndex.ts:202
↓ 1 callers
Function
chunkText
(text: string)
src/agent/docsIndex.ts:217
↓ 1 callers
Function
clear
()
webview-ui/sidebar/components/Composer.tsx:1262
↓ 1 callers
Function
closeTrailingThinking
(turns: Turn[])
src/shared/turns.ts:358
↓ 1 callers
Function
commitEdit
(index: number, text: string, attachments: Attachment[], revertFiles: boolean)
webview-ui/sidebar/App.tsx:1145
↓ 1 callers
Function
contentHash
Cheap FNV-1a hash of page text for content-level dedup.
src/agent/docsIndex.ts:175
↓ 1 callers
Method
create
(personaId?: string)
src/stores/conversationStore.ts:88
↓ 1 callers
Method
createOrShow
(context: vscode.ExtensionContext, settingsManager: SettingsManager, featureStore: FeatureStore, section?: str
src/ui/settingsPanel.ts:35
↓ 1 callers
Function
decodeFontChar
(ch: string)
webview-ui/sidebar/components/Tool.tsx:41
↓ 1 callers
Function
decodeJwt
(token: string)
src/agent/oauth.ts:379
↓ 1 callers
Function
decodePillFontChar
(ch: string)
webview-ui/sidebar/components/Composer.tsx:78
↓ 1 callers
Function
deleteDocIndex
(id: string)
src/agent/docsIndex.ts:324
↓ 1 callers
Function
deleteExternalHook
(source: HookSource, ref: string)
src/integrations/externalHooks.ts:160
↓ 1 callers
Function
deleteIndex
(root: string)
src/agent/semanticIndex.ts:252
↓ 1 callers
Method
deleteProviderKey
(providerId: string)
src/stores/settingsManager.ts:83
↓ 1 callers
Function
diffStats
(diff: string)
webview-ui/sidebar/components/Tool.tsx:352
↓ 1 callers
Function
disposeShellSession
(key: string)
src/agent/tools/shared.ts:265
↓ 1 callers
Function
doFetch
()
src/stores/modelRegistry.ts:76
↓ 1 callers
Function
doResolve
(name: string)
src/ui/fileIcons.ts:119
↓ 1 callers
Function
docSourcesProvider
()
src/agent/docsIndex.ts:58
↓ 1 callers
Function
download
(repo: string, file: string)
webview-ui/settings/panels/LlamacppPanel.tsx:159
↓ 1 callers
Function
downloadAndExtract
(ver: any, destDir: string)
src/runtimeDeps.ts:144
↓ 1 callers
Function
editPreview
(name: string, i: any)
webview-ui/sidebar/components/Tool.tsx:522
↓ 1 callers
Function
editQueued
(i: number)
webview-ui/sidebar/App.tsx:1079
↓ 1 callers
Function
effectivePort
Effective bind port: the running server's port, else a per-model config override.
src/agent/llamacpp.ts:360
↓ 1 callers
Function
embedRemote
Embed via a provider's OpenAI-compatible /embeddings endpoint.
src/agent/semanticIndex.ts:128
↓ 1 callers
Function
embedTexts
(texts: string[])
src/agent/semanticIndex.ts:167
↓ 1 callers
Method
emit
(event: AgentEvent)
src/ui/sidebarProvider.ts:1258
↓ 1 callers
Function
enabledOfKind
Enabled accounts of a kind, in insertion order.
src/agent/oauth.ts:167
↓ 1 callers
Function
ensureRuntimeDeps
()
src/runtimeDeps.ts:235
↓ 1 callers
Function
entryOf
Resolve a package's ESM entry point from its package.json.
src/runtimeDeps.ts:257
↓ 1 callers
Function
evaluateApproval
(policy: ApprovalPolicy, toolName: string, input: any, workspaceRoot?: string)
src/agent/approvalPolicy.ts:137
↓ 1 callers
Function
exchangeAnthropic
(code: string, verifier: string, state: string)
src/agent/oauth.ts:394
↓ 1 callers
Function
exchangeAntigravity
(code: string)
src/agent/oauth.ts:462
↓ 1 callers
Function
exchangeCodex
(code: string, verifier: string)
src/agent/oauth.ts:421
↓ 1 callers
Function
externalFor
External (Cursor/Claude file-based) hooks that should fire for a trigger.
src/integrations/hooksRunner.ts:50
↓ 1 callers
Function
extractLinks
(body: string, baseUrl: string, isHtml: boolean, startLocale: string | null)
src/agent/docsIndex.ts:159
↓ 1 callers
Function
fetchLogs
()
webview-ui/settings/App.tsx:376
↓ 1 callers
Function
fetchPage
(url: string)
src/agent/docsIndex.ts:185
↓ 1 callers
Function
findSub
(callId: string)
webview-ui/sidebar/App.tsx:1171
↓ 1 callers
Function
fitStepsToBudget
(steps: Step[], system: string, budgetTokens: number)
src/agent/messages.ts:36
↓ 1 callers
Function
formatDate
(d: Date)
src/context/cursorContext.ts:22
↓ 1 callers
Function
formatTimestamp
(d: Date)
src/context/cursorContext.ts:29
↓ 1 callers
Function
fuzzyScore
(text: string, query: string)
src/agent/tools/shared.ts:150
↓ 1 callers
Function
generateTitle
(apiBaseUrl: string, apiKey: string, model: string, userText: string, anthropic?: boolean, oauthKind?: OAuthKi
src/agent/provider.ts:196
↓ 1 callers
Function
getAccountLimits
(id: string)
src/agent/oauth.ts:607
↓ 1 callers
Function
getAntigravityLimits
(acc: OAuthAccount)
src/agent/oauth.ts:678
↓ 1 callers
Function
getClaudeLimits
(acc: OAuthAccount)
src/agent/oauth.ts:617
↓ 1 callers
Function
getCodexUsage
(acc: OAuthAccount)
src/agent/oauth.ts:641
↓ 1 callers
Function
getCursorRules
(matchFiles: string[] = [])
src/context/workspaceContext.ts:139
↓ 1 callers
Function
getDocLogs
(id: string)
src/agent/docsIndex.ts:89
↓ 1 callers
Function
getDocsStatus
()
src/agent/docsIndex.ts:96
↓ 1 callers
Function
getExtractor
()
src/agent/semanticIndex.ts:109
↓ 1 callers
Function
getFileTree
()
src/context/workspaceContext.ts:52
↓ 1 callers
Function
getFreePort
Ask the OS for a free ephemeral port (bind :0, read the assigned port).
src/agent/llamacpp.ts:138
↓ 1 callers
Function
getLangMaps
()
src/ui/fileIcons.ts:55
↓ 1 callers
Function
getOpenFiles
()
src/context/workspaceContext.ts:59
↓ 1 callers
Function
getPersona
(personas: Persona[], id: string | undefined)
src/agent/personas.ts:78
↓ 1 callers
Function
getQuestionAsker
()
src/agent/tools/shared.ts:339
↓ 1 callers
Function
getRecentFiles
()
src/context/workspaceUtils.ts:22
↓ 1 callers
Function
getShellSession
(key: string, cwd: string)
src/agent/tools/shared.ts:253
↓ 1 callers
Function
getStatus
()
src/agent/oauth.ts:140
↓ 1 callers
Function
getSubagentRunner
()
src/agent/tools/shared.ts:331
↓ 1 callers
Function
groupOf
(m: ModelSelectItem)
webview-ui/shared/ModelSelect.tsx:27
↓ 1 callers
Function
groupTurns
(turns: Turn[])
webview-ui/sidebar/App.tsx:167
↓ 1 callers
Function
htmlToMarkdown
Convert an HTML document into compact, readable markdown.
src/agent/tools/web.ts:116
↓ 1 callers
Function
htmlToText
(html: string)
src/agent/docsIndex.ts:105
↓ 1 callers
Function
indexDocSource
(doc: DocSource)
src/agent/docsIndex.ts:236
↓ 1 callers
Function
initLlamacpp
(ctx: vscode.ExtensionContext)
src/agent/llamacpp.ts:152
↓ 1 callers
Function
initModelRegistry
(featureStore: FeatureStore, settingsManager: SettingsManager)
src/stores/modelRegistry.ts:39
↓ 1 callers
Function
initOAuth
(context: vscode.ExtensionContext)
src/agent/oauth.ts:117
↓ 1 callers
Function
initRuntimeDeps
(storageDir: string)
src/runtimeDeps.ts:225
↓ 1 callers
Function
initUsage
(context: vscode.ExtensionContext)
src/stores/usageStore.ts:23
↓ 1 callers
Function
install
(dir: string)
src/runtimeDeps.ts:185
↓ 1 callers
Function
installRequireHook
Redirect failed resolutions of our externals into runtime-deps.
src/runtimeDeps.ts:209
↓ 1 callers
Function
invalidateFileIconCache
()
src/ui/fileIcons.ts:46
↓ 1 callers
Function
isEmbeddingModel
(id: string)
webview-ui/settings/App.tsx:490
↓ 1 callers
Function
isExploreBlock
(b: AssistantBlock)
webview-ui/sidebar/App.tsx:138
↓ 1 callers
Function
isIndexing
()
src/agent/semanticIndex.ts:216
↓ 1 callers
Function
isLocal
(m: ModelDef)
webview-ui/sidebar/components/Composer.tsx:549
← previous
next →
301–400 of 727, ranked by callers