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
isModelEnabled
(id: string)
webview-ui/settings/panels/ModelsPanel.tsx:250
↓ 1 callers
Function
isOutsideWorkspace
(path: string, root: string | undefined)
src/agent/approvalPolicy.ts:61
↓ 1 callers
Function
isRetryableError
(e: unknown)
src/agent/provider.ts:119
↓ 1 callers
Function
keywordFallback
(input: any, abortSignal?: AbortSignal, callId?: string, ctx?: any)
src/agent/tools/search.ts:154
↓ 1 callers
Function
languageIdFor
(name: string)
src/ui/fileIcons.ts:75
↓ 1 callers
Function
listDocSources
()
src/agent/docsIndex.ts:62
↓ 1 callers
Method
listResources
List resources across all connected servers, namespaced by server.
src/integrations/mcpClient.ts:258
↓ 1 callers
Function
listRulesForPrompt
(matchFiles: string[] = [])
src/context/workspaceContext.ts:232
↓ 1 callers
Method
listTools
Returns all tools across connected servers, namespaced as `mcp__<server>__<tool>`.
src/integrations/mcpClient.ts:228
↓ 1 callers
Function
loadTheme
()
src/ui/fileIcons.ts:21
↓ 1 callers
Function
looksRisky
(type: ApprovalActionType, subject: string)
src/agent/approvalPolicy.ts:127
↓ 1 callers
Function
main
()
esbuild.js:26
↓ 1 callers
Function
make
()
src/agent/provider.ts:373
↓ 1 callers
Function
makeCell
(content: string)
src/agent/tools/files.ts:324
↓ 1 callers
Function
matcherHits
True when a Claude matcher (regex/pipe list, empty/* = all) matches the tool name.
src/integrations/hooksRunner.ts:39
↓ 1 callers
Method
migrateFromGlobal
One-time: move old globalState conversations into this workspace.
src/stores/conversationStore.ts:48
↓ 1 callers
Function
modelId
(repo: string | undefined, file: string)
src/agent/llamacpp.ts:265
↓ 1 callers
Function
nativePayload
Build the native stdin JSON payload for a Cursor or Claude Code hook.
src/integrations/hooksRunner.ts:122
↓ 1 callers
Function
nbCellType
(lang: string)
src/agent/tools/files.ts:253
↓ 1 callers
Function
nbSourceToString
(source: unknown)
src/agent/tools/files.ts:274
↓ 1 callers
Function
newAttachId
()
webview-ui/sidebar/components/Composer.tsx:185
↓ 1 callers
Function
nextShellId
()
src/agent/tools/shared.ts:213
↓ 1 callers
Function
nonce
()
src/ui/webviewHtml.ts:12
↓ 1 callers
Function
normalizeOpenAIMessages
* OpenAI's `tool` role content is string-only, so a tool result that carries an * image is split: the tool message keeps the text, and the image is f
src/agent/provider.ts:178
↓ 1 callers
Function
onAllModels
(cb: (d: AllModels) => void)
src/stores/modelRegistry.ts:33
↓ 1 callers
Method
onChange
(fn: () => void)
src/stores/pendingChanges.ts:123
↓ 1 callers
Function
onDocsStatus
(fn: (s: DocsStatus) => void)
src/agent/docsIndex.ts:92
↓ 1 callers
Function
onImplement
(planPath: string)
webview-ui/sidebar/App.tsx:1157
↓ 1 callers
Function
onIndexStatus
(fn: (s: IndexStatus) => void)
src/agent/semanticIndex.ts:231
↓ 1 callers
Function
onKind
(kind: ProviderKind)
webview-ui/settings/panels/ProvidersPanel.tsx:51
↓ 1 callers
Function
openEdit
(i: number)
webview-ui/settings/panels/McpPanel.tsx:39
↓ 1 callers
Function
optionsToParams
(options: ModelOption[])
src/stores/featureStore.ts:356
↓ 1 callers
Function
ownPayload
Stdin payload for our own hooks: unified event name + full context.
src/integrations/hooksRunner.ts:150
↓ 1 callers
Function
parseAnthropicStream
(reader: ReadableStreamDefaultReader<Uint8Array>)
src/agent/oauth.ts:924
↓ 1 callers
Function
parseCodexStream
(reader: ReadableStreamDefaultReader<Uint8Array>)
src/agent/oauth.ts:996
↓ 1 callers
Function
parseContextSize
Parse a context-size label ("200k", "1m", "128k") to a token count.
webview-ui/sidebar/components/Composer.tsx:227
↓ 1 callers
Function
parseDdgHtml
Parse the DuckDuckGo HTML endpoint (rich: title + url + snippet).
src/agent/tools/web.ts:44
↓ 1 callers
Function
parseDroppedPaths
Parse the various clipboard/drag payloads VS Code emits into file paths.
webview-ui/sidebar/components/Composer.tsx:126
↓ 1 callers
Function
parseGeminiStream
(reader: ReadableStreamDefaultReader<Uint8Array>)
src/agent/oauth.ts:1166
↓ 1 callers
Function
parseMentionTokens
(text: string)
src/shared/turns.ts:128
↓ 1 callers
Function
parseTodos
(output: string)
webview-ui/sidebar/components/Tool.tsx:158
↓ 1 callers
Function
pick
(v: any)
src/runtimeDeps.ts:258
↓ 1 callers
Function
pickAccount
Pick the account to use for a request, honoring the balance strategy.
src/agent/oauth.ts:172
↓ 1 callers
Function
pickCustom
()
webview-ui/sidebar/components/Tool.tsx:430
↓ 1 callers
Function
pickModel
(apiBaseUrl: string, apiKey: string, judge: string, candidates: string[], task: string, anthropic?: boolean, o
src/agent/provider.ts:314
↓ 1 callers
Function
pickVersion
(name: string, range: string)
src/runtimeDeps.ts:103
↓ 1 callers
Function
pkce
()
src/agent/oauth.ts:216
↓ 1 callers
Function
pkgMeta
(name: string)
src/runtimeDeps.ts:90
↓ 1 callers
Function
place
()
webview-ui/sidebar/components/Composer.tsx:275
↓ 1 callers
Function
playCompletionSound
Short two-tone chime via WebAudio (no asset files needed).
webview-ui/sidebar/App.tsx:574
↓ 1 callers
Function
poll
()
src/agent/llamacpp.ts:470
↓ 1 callers
Function
popularByKind
(kind: ProviderKind)
webview-ui/settings/panels/ProvidersPanel.tsx:399
↓ 1 callers
Function
prune
Drop undefined/empty values so they don't clobber lower-priority defaults.
src/agent/llamacpp.ts:344
↓ 1 callers
Function
pushShellOutput
(sh: BgShell, chunk: string)
src/agent/tools/shared.ts:221
↓ 1 callers
Method
readResource
(server: string, uri: string)
src/integrations/mcpClient.ts:271
↓ 1 callers
Function
recordUsage
(model: string, promptTokens = 0, completionTokens = 0)
src/stores/usageStore.ts:32
↓ 1 callers
Function
refreshAccount
(acc: OAuthAccount)
src/agent/oauth.ts:526
↓ 1 callers
Function
registerInlineReview
(context: vscode.ExtensionContext)
src/ui/inlineReview.ts:33
↓ 1 callers
Function
remove
(i: number)
webview-ui/settings/panels/HooksPanel.tsx:173
↓ 1 callers
Function
remove
(id: string)
webview-ui/settings/panels/ProvidersPanel.tsx:362
↓ 1 callers
Function
remove
(i: number)
webview-ui/settings/panels/McpPanel.tsx:29
↓ 1 callers
Function
removeAttachment
(id: string)
webview-ui/sidebar/components/Composer.tsx:1150
↓ 1 callers
Function
removeCustom
(id: string)
webview-ui/settings/panels/PersonasPanel.tsx:28
↓ 1 callers
Function
removeSub
(i: number)
webview-ui/settings/panels/RulesPanel.tsx:37
↓ 1 callers
Function
render
(icon: FileIconInfo | null)
webview-ui/sidebar/components/Composer.tsx:86
↓ 1 callers
Function
renderMentionHtml
(text: string)
webview-ui/sidebar/App.tsx:248
↓ 1 callers
Function
requestEditSubmit
(index: number, text: string, attachments: Attachment[])
webview-ui/sidebar/App.tsx:1117
↓ 1 callers
Function
requestRevert
(index: number, turn: UserTurn)
webview-ui/sidebar/App.tsx:1127
↓ 1 callers
Function
resetTodos
()
src/agent/tools/shared.ts:313
↓ 1 callers
Function
resetUsage
()
src/stores/usageStore.ts:45
↓ 1 callers
Function
resolveFileIcon
(filename: string)
src/ui/fileIcons.ts:111
↓ 1 callers
Function
resolveMentions
( mentions: MentionItem[], prompt: string, docs: DocSource[], pastChats?: PastChatProvider )
src/context/mentions.ts:150
↓ 1 callers
Function
resolveTree
Resolve the flat dependency tree (name → picked version manifest).
src/runtimeDeps.ts:163
↓ 1 callers
Function
restoreMessage
(index: number, text: string, attachments: Attachment[], revertFiles: boolean)
webview-ui/sidebar/App.tsx:1135
↓ 1 callers
Function
rgAvailable
()
src/agent/tools/shared.ts:176
↓ 1 callers
Function
runAgent
(opts: RunAgentOptions)
src/agent/loop.ts:34
↓ 1 callers
Function
sanitize
(html: string)
webview-ui/shared/markdown.ts:18
↓ 1 callers
Function
save
(root: string, idx: IndexFile)
src/agent/semanticIndex.ts:197
↓ 1 callers
Function
save
()
webview-ui/settings/App.tsx:388
↓ 1 callers
Method
saveApiKey
(apiKey: string)
src/stores/settingsManager.ts:87
↓ 1 callers
Function
saveExternalHook
(source: HookSource, hook: { ref?: string; event: string; command: string; matcher?: string })
src/integrations/externalHooks.ts:149
↓ 1 callers
Function
schedulePersist
(id: string, s: ChatSession)
webview-ui/sidebar/App.tsx:840
↓ 1 callers
Function
schemasForMode
(mode: Mode)
src/agent/tools/index.ts:79
↓ 1 callers
Function
search
()
webview-ui/settings/panels/LlamacppPanel.tsx:143
↓ 1 callers
Function
search
()
webview-ui/settings/panels/OllamaPanel.tsx:53
↓ 1 callers
Function
searchCode
(query: string, limit = 10)
src/context/mentions.ts:109
↓ 1 callers
Function
searchCommits
(query: string, limit = 15)
src/context/mentions.ts:72
↓ 1 callers
Function
searchDocSources
(docs: DocSource[], query: string)
src/context/mentions.ts:87
↓ 1 callers
Function
searchDocs
( id: string, query: string, k = 6 )
src/agent/docsIndex.ts:329
↓ 1 callers
Function
searchFilesAndFolders
(query: string, limit = 30)
src/context/mentions.ts:50
↓ 1 callers
Function
searchRules
(query: string)
src/context/mentions.ts:101
↓ 1 callers
Function
searchTerminals
(query: string)
src/context/mentions.ts:94
↓ 1 callers
Function
serialize
()
webview-ui/sidebar/components/Composer.tsx:1237
↓ 1 callers
Function
setCaretAt
(offset: number)
webview-ui/sidebar/components/Composer.tsx:766
↓ 1 callers
Function
setDocSourcesProvider
(fn: () => DocSource[])
src/agent/docsIndex.ts:59
↓ 1 callers
Function
setDocsStorageDir
(dir: string)
src/agent/docsIndex.ts:53
↓ 1 callers
Function
setIndexStorageDir
(dir: string)
src/agent/semanticIndex.ts:103
↓ 1 callers
Method
setProviderKey
(providerId: string, apiKey: string)
src/stores/settingsManager.ts:75
↓ 1 callers
Function
setRemoteEmbedModel
(cfg: RemoteEmbedConfig)
src/agent/semanticIndex.ts:70
↓ 1 callers
Method
setState
(state: T)
webview-ui/shared/vscode.ts:13
← previous
next →
401–500 of 727, ranked by callers