Code
Hub
Workspaces
Following
Digest
Agents
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
↓ 155 callers
Method
get
()
src/stores/featureStore.ts:288
↓ 151 callers
Method
postMessage
(msg: unknown)
webview-ui/shared/vscode.ts:11
↓ 89 callers
Method
has
(path: string)
src/stores/pendingChanges.ts:153
↓ 73 callers
Method
set
(patch: Partial<FeatureConfig>)
src/stores/featureStore.ts:293
↓ 59 callers
Method
delete
(id: string)
src/stores/conversationStore.ts:114
↓ 44 callers
Function
post
(msg: OutMessage)
webview-ui/sidebar/App.tsx:20
↓ 40 callers
Function
emit
()
src/agent/oauth.ts:136
↓ 40 callers
Function
setFeatures
(patch: Partial<FeatureConfig>)
webview-ui/settings/App.tsx:592
↓ 37 callers
Function
getWorkspaceRoot
()
src/context/workspaceUtils.ts:13
↓ 25 callers
Function
def
(spec: ToolSpec)
src/agent/tools/schemas.ts:23
↓ 25 callers
Function
defineTool
(name: string, mutating: boolean, execute: Tool["execute"])
src/agent/tools/types.ts:85
↓ 24 callers
Function
resolve
(msg: Omit<Extract<OutMessage, { type: "resolveApproval" }>, "type" | "requestId">)
webview-ui/sidebar/App.tsx:510
↓ 21 callers
Method
all
()
src/stores/conversationStore.ts:61
↓ 19 callers
Function
set
(patch: Partial<LlamacppServerConfig>)
webview-ui/settings/panels/LlamacppPanel.tsx:19
↓ 18 callers
Method
update
(patch: Partial<DocSource>)
src/ui/settingsPanel.ts:631
↓ 16 callers
Function
ctx
(values: string[], value: string)
src/stores/featureStore.ts:102
↓ 16 callers
Method
update
(id: string, patch: Partial<Pick<Conversation, "steps" | "turns" | "title" | "personaId" | "usedTokens">>)
src/stores/conversationStore.ts:106
↓ 15 callers
Method
_sendFeatures
()
src/ui/settingsPanel.ts:649
↓ 15 callers
Function
effort
(value = "medium", values = ["none", "low", "medium", "high"])
src/stores/featureStore.ts:100
↓ 13 callers
Function
safePath
(rel: string)
src/context/workspaceUtils.ts:38
↓ 11 callers
Function
sessionFor
(id: string | undefined)
webview-ui/sidebar/App.tsx:664
↓ 10 callers
Function
ensureAssistant
(list: Turn[])
src/shared/turns.ts:231
↓ 10 callers
Function
log
(id: string, line: string)
src/agent/docsIndex.ts:83
↓ 9 callers
Method
_sendConversations
()
src/ui/sidebarProvider.ts:614
↓ 9 callers
Function
setIndex
(i: number)
webview-ui/sidebar/components/Composer.tsx:844
↓ 8 callers
Function
emit
()
src/agent/ollama.ts:64
↓ 8 callers
Method
getSettings
()
src/stores/settingsManager.ts:38
↓ 8 callers
Method
optionsFor
Resolved options for a model: stored overrides take precedence over defaults. * Overrides are kind-scoped ("<kind>:<id>") so the same model id can
src/stores/featureStore.ts:325
↓ 8 callers
Function
stripModelScope
(id: string)
src/ui/sidebar/approvalSuggest.ts:13
↓ 8 callers
Function
validAccount
Return an account with a fresh access token (refreshing if near expiry).
src/agent/oauth.ts:571
↓ 7 callers
Function
appendLog
Append server output to a model's tail log (capped) and notify listeners.
src/agent/llamacpp.ts:172
↓ 7 callers
Function
basename
(p: string)
webview-ui/shared/markdown.ts:35
↓ 7 callers
Function
emit
()
src/agent/llamacpp.ts:199
↓ 7 callers
Function
num
(v: string)
webview-ui/settings/panels/LlamacppPanel.tsx:21
↓ 7 callers
Function
push
(m: ModelDef)
webview-ui/settings/panels/ModelsPanel.tsx:300
↓ 7 callers
Function
satisfies
(v: string, range: string)
src/runtimeDeps.ts:61
↓ 6 callers
Method
_handleFetchModels
()
src/ui/sidebarProvider.ts:1041
↓ 6 callers
Method
_openFile
(relPath: string, startLine?: number, endLine?: number)
src/ui/sidebarProvider.ts:504
↓ 6 callers
Function
approvalRule
(mode: ApprovalMode)
webview-ui/settings/features.ts:282
↓ 6 callers
Method
dispose
()
src/ui/settingsPanel.ts:677
↓ 6 callers
Method
emit
()
src/stores/pendingChanges.ts:127
↓ 6 callers
Function
escAttr
(s: string)
src/shared/turns.ts:113
↓ 6 callers
Method
getProviderKey
(providerId: string)
src/stores/settingsManager.ts:71
↓ 6 callers
Function
git
(args: string[])
src/context/mentions.ts:37
↓ 6 callers
Function
isAgentic
()
src/agent/loop.ts:39
↓ 6 callers
Function
post
(msg: OutMessage)
webview-ui/sidebar/components/Composer.tsx:38
↓ 6 callers
Function
pushHistory
(discrete = false)
webview-ui/sidebar/components/Composer.tsx:799
↓ 6 callers
Function
redirectUri
(k: OAuthKind)
src/agent/oauth.ts:94
↓ 6 callers
Function
rule
(mode: ApprovalMode)
src/agent/approvalPolicy.ts:35
↓ 6 callers
Function
runHooks
(hooks: HookDef[], event: TriggerEvent, context: Record<string, string> = {}, tool?: string)
src/integrations/hooksRunner.ts:174
↓ 6 callers
Function
setCat
(c: MentionCategory | null)
webview-ui/sidebar/components/Composer.tsx:839
↓ 6 callers
Function
thinking
(value = "adaptive", values = ["disabled", "adaptive", "enabled"])
src/stores/featureStore.ts:101
↓ 5 callers
Method
_request
(method: string, params: any)
src/integrations/mcpClient.ts:184
↓ 5 callers
Method
_sendDocs
()
src/ui/settingsPanel.ts:641
↓ 5 callers
Function
assert
(c: boolean, m: string)
src/runtimeDeps.ts:284
↓ 5 callers
Function
close
()
webview-ui/sidebar/components/Composer.tsx:1154
↓ 5 callers
Function
decodeEntities
Decode the handful of HTML entities that show up in result text.
src/agent/tools/web.ts:15
↓ 5 callers
Function
emitStatus
(root: string)
src/agent/semanticIndex.ts:246
↓ 5 callers
Function
fn
(i: FileIconInfo | null)
webview-ui/sidebar/components/Tool.tsx:55
↓ 5 callers
Method
get
(id: string)
src/stores/conversationStore.ts:76
↓ 5 callers
Method
get
(path: string)
src/stores/pendingChanges.ts:146
↓ 5 callers
Function
getEmbedModelId
()
src/agent/semanticIndex.ts:49
↓ 5 callers
Function
isCursor
(s: HookSource)
src/integrations/externalHooks.ts:83
↓ 5 callers
Function
listExternalHooks
()
src/integrations/externalHooks.ts:111
↓ 5 callers
Function
post
(msg: OutMessage)
webview-ui/sidebar/components/Tool.tsx:16
↓ 5 callers
Function
push
(line: string)
src/agent/tools/search.ts:106
↓ 5 callers
Function
refreshAllModels
()
src/stores/modelRegistry.ts:68
↓ 5 callers
Method
setActiveId
(id: string | undefined)
src/stores/conversationStore.ts:84
↓ 5 callers
Function
stepTokens
(s: Step)
src/agent/messages.ts:15
↓ 5 callers
Function
update
(i: number, patch: Partial<HookDef>)
webview-ui/settings/panels/HooksPanel.tsx:169
↓ 5 callers
Function
updateSub
(i: number, patch: Partial<SubagentDef>)
webview-ui/settings/panels/RulesPanel.tsx:33
↓ 5 callers
Function
win
(w: any, label: string)
src/agent/oauth.ts:628
↓ 4 callers
Method
_sendOllamaModels
()
src/ui/settingsPanel.ts:611
↓ 4 callers
Method
allModels
Catalog + user-added models.
src/stores/featureStore.ts:306
↓ 4 callers
Function
buildIndex
(root: string, onProgress?: (done: number, total: number) => void)
src/agent/semanticIndex.ts:261
↓ 4 callers
Function
cleanTitle
(s: string)
src/agent/provider.ts:360
↓ 4 callers
Function
computeHunks
(before: string, after: string)
src/stores/pendingChanges.ts:38
↓ 4 callers
Function
emit
(patch: Partial<DocsStatus>)
src/agent/docsIndex.ts:99
↓ 4 callers
Function
esc
(s: string)
webview-ui/sidebar/App.tsx:249
↓ 4 callers
Function
firstOfKind
First enabled account of a kind (default for routing).
src/agent/oauth.ts:588
↓ 4 callers
Function
flushSettledBg
()
src/agent/loop.ts:216
↓ 4 callers
Function
fmtTokens
(n: number)
webview-ui/settings/App.tsx:260
↓ 4 callers
Function
getTodos
()
src/agent/tools/shared.ts:316
↓ 4 callers
Function
insertNodesAtCaret
(nodes: Node[])
webview-ui/sidebar/components/Composer.tsx:1035
↓ 4 callers
Function
isAnthropic
(apiBaseUrl: string)
src/agent/provider.ts:106
↓ 4 callers
Method
list
()
src/stores/pendingChanges.ts:143
↓ 4 callers
Method
log
()
src/ui/sidebarProvider.ts:44
↓ 4 callers
Function
makeDiff
(_filePath: string, before: string, after: string)
src/agent/tools/shared.ts:30
↓ 4 callers
Function
makeMentionEl
(m: MentionItem)
webview-ui/sidebar/components/Composer.tsx:960
↓ 4 callers
Method
nameFor
Friendly catalog label for an id, or the id itself if not catalogued.
src/stores/featureStore.ts:345
↓ 4 callers
Method
notifyChanged
Notify listeners of a config change that happened outside `set` (e.g. provider keys).
src/stores/featureStore.ts:301
↓ 4 callers
Function
parseFrontmatter
(raw: string)
src/context/workspaceContext.ts:181
↓ 4 callers
Method
providerSecretKey
(providerId: string)
src/stores/settingsManager.ts:67
↓ 4 callers
Function
pushUserPart
(p: GeminiPart)
src/agent/oauth.ts:1076
↓ 4 callers
Method
record
Record an edit. Coalesces repeated edits to the same file (keeps the original `before`).
src/stores/pendingChanges.ts:132
↓ 4 callers
Method
saveSettings
(settings: Settings)
src/stores/settingsManager.ts:50
↓ 4 callers
Function
set
(k: K, v: Settings[K])
webview-ui/settings/App.tsx:589
↓ 4 callers
Function
uid
(prefix: string)
webview-ui/settings/features.ts:357
↓ 4 callers
Function
walk
(dir: string, out: string[], depth: number, includeIgnored = false)
src/agent/tools/shared.ts:104
↓ 3 callers
Function
SECRET_KEY
(id: string)
src/agent/oauth.ts:115
next →
1–100 of 727, ranked by callers