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
↓ 2 callers
Function
fetchModels
()
webview-ui/settings/App.tsx:654
↓ 2 callers
Function
firstMatch
(s: string, re: RegExp)
src/agent/ollama.ts:217
↓ 2 callers
Method
getActiveId
()
src/stores/conversationStore.ts:80
↓ 2 callers
Function
getActiveSelection
()
src/context/workspaceContext.ts:71
↓ 2 callers
Function
getAllModels
()
src/stores/modelRegistry.ts:29
↓ 2 callers
Method
getApiKey
()
src/stores/settingsManager.ts:62
↓ 2 callers
Function
getBalanceStrategy
()
src/agent/oauth.ts:150
↓ 2 callers
Function
getGitContext
()
src/context/workspaceContext.ts:97
↓ 2 callers
Function
git
(args: string[])
src/context/workspaceContext.ts:86
↓ 2 callers
Function
globMatches
(globs: string, filePath: string)
src/context/workspaceContext.ts:112
↓ 2 callers
Function
globToRe
(p: string)
src/agent/tools/shared.ts:139
↓ 2 callers
Function
go
(always?: boolean)
webview-ui/sidebar/App.tsx:290
↓ 2 callers
Function
groupBlocks
(blocks: AssistantBlock[])
webview-ui/sidebar/App.tsx:146
↓ 2 callers
Function
have
(name: string)
webview-ui/settings/panels/OllamaPanel.tsx:168
↓ 2 callers
Function
insertFragManually
(frag: DocumentFragment)
webview-ui/sidebar/components/Composer.tsx:1009
↓ 2 callers
Function
isConnected
(kind: OAuthKind)
src/agent/oauth.ts:205
↓ 2 callers
Function
isCustom
(id: string)
webview-ui/settings/panels/ModelsPanel.tsx:289
↓ 2 callers
Function
isRunning
(id: string)
src/agent/llamacpp.ts:516
↓ 2 callers
Function
launchesFor
All hook launches for a trigger: [command, payload] pairs (our hooks + external).
src/integrations/hooksRunner.ts:155
↓ 2 callers
Function
listRules
()
src/context/workspaceContext.ts:207
↓ 2 callers
Function
load
(root: string)
src/agent/semanticIndex.ts:181
↓ 2 callers
Function
loadModel
(m: LlamacppModel, globalCfg?: LlamacppServerConfig | number)
src/agent/llamacpp.ts:399
↓ 2 callers
Function
makeModel
(p: { repo?: string; file: string; filePath: string; sizeBytes?: number; name: string })
src/agent/llamacpp.ts:310
↓ 2 callers
Function
markRunning
(ids?: string[])
webview-ui/sidebar/App.tsx:851
↓ 2 callers
Function
matchPattern
(pattern: string, subject: string, prefixOk: boolean)
src/agent/approvalPolicy.ts:99
↓ 2 callers
Function
modelsFor
(providerId: string, kind: ProviderKind)
webview-ui/settings/panels/ModelsPanel.tsx:297
↓ 2 callers
Function
nbLanguageId
(lang: string)
src/agent/tools/files.ts:261
↓ 2 callers
Function
nbStringToSource
(s: string)
src/agent/tools/files.ts:278
↓ 2 callers
Function
onSave
(p: ProviderConfig)
webview-ui/settings/panels/ProvidersPanel.tsx:370
↓ 2 callers
Function
onSubmit
(text: string, attachments: Attachment[])
webview-ui/sidebar/App.tsx:1054
↓ 2 callers
Function
parseMaybeSSE
Parse a response body that is either plain JSON or an SSE stream of `data:` chunks.
src/agent/provider.ts:274
↓ 2 callers
Function
parsePartialArgs
(argsText: string, prev: unknown)
src/shared/turns.ts:162
↓ 2 callers
Function
pick
(v: string)
webview-ui/shared/ModelSelect.tsx:85
↓ 2 callers
Function
platformKey
sharp/libvips platform key, e.g. win32-x64, darwin-arm64, linuxmusl-x64.
src/runtimeDeps.ts:45
↓ 2 callers
Function
play
(freq: number, at: number)
webview-ui/sidebar/App.tsx:577
↓ 2 callers
Function
pull
(name: string)
webview-ui/settings/panels/OllamaPanel.tsx:47
↓ 2 callers
Function
push
(p: string)
webview-ui/sidebar/components/Composer.tsx:153
↓ 2 callers
Function
readFileSafe
(rel: string)
src/context/mentions.ts:132
↓ 2 callers
Function
redoEdit
()
webview-ui/sidebar/components/Composer.tsx:834
↓ 2 callers
Function
refreshProvider
(p: ProviderConfig)
webview-ui/settings/panels/ModelsPanel.tsx:312
↓ 2 callers
Function
removeAt
(source: HookSource, data: any, ref: string)
src/integrations/externalHooks.ts:115
↓ 2 callers
Function
removeQueued
(i: number)
webview-ui/sidebar/App.tsx:1071
↓ 2 callers
Method
render
()
webview-ui/sidebar/App.tsx:37
↓ 2 callers
Function
renderMarkdown
(srcIn: string)
webview-ui/shared/markdown.ts:25
↓ 2 callers
Function
renderShell
(sh: BgShell)
src/agent/tools/shared.ts:292
↓ 2 callers
Function
renderWebviewHtml
( webview: vscode.Webview, extensionUri: vscode.Uri, entry: "sidebar" | "settings", title: string )
src/ui/webviewHtml.ts:22
↓ 2 callers
Function
resolveAnswers
(base: Record<string, string[]>)
webview-ui/sidebar/components/Tool.tsx:435
↓ 2 callers
Function
runHook
Run one hook command with a JSON payload on stdin; resolves with exit code + stdout.
src/integrations/hooksRunner.ts:72
↓ 2 callers
Function
runQueuedNow
(i: number)
webview-ui/sidebar/App.tsx:1089
↓ 2 callers
Function
seedEditor
(ed: HTMLDivElement, text: string)
webview-ui/sidebar/components/Composer.tsx:864
↓ 2 callers
Function
seedSession
(id: string | undefined, persisted: Turn[], usedTokens?: number)
webview-ui/sidebar/App.tsx:863
↓ 2 callers
Function
serverUrlFor
(m: LlamacppModel, globalCfg?: LlamacppServerConfig)
src/agent/llamacpp.ts:367
↓ 2 callers
Function
setEmbedModel
(id: string)
src/agent/semanticIndex.ts:54
↓ 2 callers
Function
setModelEnabled
(ids: string[], enable: boolean, en = new Set(enabled), dis = new Set(disabled))
webview-ui/settings/panels/ModelsPanel.tsx:251
↓ 2 callers
Function
setTodos
(list: TodoItem[])
src/agent/tools/shared.ts:319
↓ 2 callers
Function
snapshot
()
src/agent/ollama.ts:57
↓ 2 callers
Function
snapshot
()
src/agent/llamacpp.ts:187
↓ 2 callers
Function
stepsTokens
(steps: Step[])
src/agent/messages.ts:67
↓ 2 callers
Function
streamChat
(opts: StreamChatOpts)
src/agent/provider.ts:371
↓ 2 callers
Function
streamWithRetry
* Run a streaming request with retry. Each attempt re-invokes `make()` to get a * fresh response; partial output from a failed attempt is discarded s
src/agent/provider.ts:142
↓ 2 callers
Function
stripTags
(s: string)
src/agent/ollama.ts:221
↓ 2 callers
Function
subjectFor
(type: ApprovalActionType, toolName: string, input: any)
src/agent/approvalPolicy.ts:83
↓ 2 callers
Function
toDataUri
(abs: string)
src/ui/fileIcons.ts:89
↓ 2 callers
Function
toolLabel
(name: string)
webview-ui/sidebar/App.tsx:117
↓ 2 callers
Function
toolsForMode
(mode: Mode)
src/agent/tools/index.ts:69
↓ 2 callers
Function
unwrapDdg
DuckDuckGo wraps external links as /l/?uddg=<encoded>. Unwrap to the real URL.
src/agent/tools/web.ts:30
↓ 2 callers
Function
uriToPath
(uri: string)
webview-ui/sidebar/components/Composer.tsx:116
↓ 2 callers
Function
useAnchoredMenu
* Anchor a position:fixed dropdown to its trigger, adapting to viewport space: * opens above when there's room, flips below otherwise; clamps horizon
webview-ui/sidebar/components/Composer.tsx:270
↓ 2 callers
Function
useOutsideClose
(open: boolean, close: () => void)
webview-ui/sidebar/components/Composer.tsx:256
↓ 2 callers
Function
waitForShell
(sh: BgShell, ms: number, pattern?: RegExp)
src/agent/tools/shared.ts:276
↓ 2 callers
Function
writeJson
(file: string, data: any)
src/integrations/externalHooks.ts:78
↓ 1 callers
Method
_approveTool
Ask for approval in the chat UI; resolves when the user decides (or the run aborts).
src/ui/sidebarProvider.ts:725
↓ 1 callers
Method
_askUser
Await the user's answers to an ask_question wizard (resolved by the webview).
src/ui/sidebarProvider.ts:704
↓ 1 callers
Method
_browseAttachments
()
src/ui/sidebarProvider.ts:1102
↓ 1 callers
Method
_contextTokensFor
Context window for a model: llama.cpp ctx length, else the model's * max_context option ("200k"/"1m"…), else a safe 200k default.
src/ui/sidebarProvider.ts:909
↓ 1 callers
Method
_deleteConversation
(id: string)
src/ui/sidebarProvider.ts:668
↓ 1 callers
Method
_getHtmlForWebview
(webview: vscode.Webview)
src/ui/settingsPanel.ts:688
↓ 1 callers
Method
_getHtmlForWebview
(webview: vscode.Webview)
src/ui/sidebarProvider.ts:1379
↓ 1 callers
Method
_handleFetchModels
(apiBaseUrl: string, apiKey: string, anthropic?: boolean, providerId?: string)
src/ui/settingsPanel.ts:551
↓ 1 callers
Method
_newConversation
(personaId?: string)
src/ui/sidebarProvider.ts:623
↓ 1 callers
Method
_notify
(method: string, params: any)
src/integrations/mcpClient.ts:193
↓ 1 callers
Method
_onData
(chunk: string)
src/integrations/mcpClient.ts:157
↓ 1 callers
Method
_openMention
Click on a mention pill: open/select the mentioned object.
src/ui/sidebarProvider.ts:443
↓ 1 callers
Method
_persistTurnsNow
Persist a running session's authoritative turns immediately.
src/ui/sidebarProvider.ts:567
↓ 1 callers
Method
_personaPromptFor
Resolve the system prompt for the active conversation's persona.
src/ui/sidebarProvider.ts:696
↓ 1 callers
Method
_removeLlamacppModel
(id: string)
src/ui/settingsPanel.ts:621
↓ 1 callers
Method
_resetStorage
* TEMPORARY (dev-only): wipe all persisted extension state so the extension * behaves like a fresh install, then reload the window. Remove before p
src/ui/settingsPanel.ts:570
↓ 1 callers
Method
_resolveApproval
Handle the webview's decision on a pending approval (optionally updating global policy).
src/ui/sidebarProvider.ts:779
↓ 1 callers
Method
_resolvePastedCode
* Pasted text → @code mention if it matches a region of an open project file * (Cursor behavior: copy code in the editor, paste in chat → code pill
src/ui/sidebarProvider.ts:73
↓ 1 callers
Method
_schedulePersistTurns
Throttle persistence of live turns (~1/sec) during a run.
src/ui/sidebarProvider.ts:573
↓ 1 callers
Method
_searchFiles
Fuzzy file/folder search for @-mentions in the composer.
src/ui/sidebarProvider.ts:369
↓ 1 callers
Method
_searchMentions
Categorized @-mention search (Cursor-style typeahead).
src/ui/sidebarProvider.ts:398
↓ 1 callers
Method
_sendInitialState
()
src/ui/sidebarProvider.ts:528
↓ 1 callers
Method
_sendSettingsToWebview
()
src/ui/settingsPanel.ts:667
↓ 1 callers
Method
_setPersona
(personaId: string)
src/ui/sidebarProvider.ts:643
↓ 1 callers
Method
_showDiff
Open VS Code's native diff between the original and current file contents.
src/ui/sidebarProvider.ts:343
↓ 1 callers
Method
accept
Accept (keep) a change — just drop it from tracking.
src/stores/pendingChanges.ts:161
↓ 1 callers
Method
acceptAll
()
src/stores/pendingChanges.ts:164
↓ 1 callers
Function
actionTypeFor
(toolName: string)
src/agent/approvalPolicy.ts:48
↓ 1 callers
Function
add
()
webview-ui/settings/panels/ModelsPanel.tsx:93
← previous
next →
201–300 of 727, ranked by callers