Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MaxQian888/cognia-next
/ functions
Functions
31,059 in github.com/MaxQian888/cognia-next
⨍
Functions
31,059
◇
Types & classes
8,984
↓ 159 callers
Method
getState
()
lib/plugin/devtools/hot-reload.ts:472
↓ 157 callers
Method
bind
(binding: ShortcutBinding)
lib/shortcuts/registry.ts:26
↓ 156 callers
Method
read
Read the current state from `env.storage`. Returns `null` when the key * is absent or unreadable — never throws.
lib/data/snapshots/types.ts:70
↓ 155 callers
Method
next
(items: T)
lib/scheduler/sources/app-source.ts:66
↓ 154 callers
Function
require
Trap-on-deny helper. Returns `Ok(())` when the plugin has been granted `capability`; otherwise produces the canonical "capability denied" error messag
src-tauri/src/plugin_api/wasm/capabilities/mod.rs:37
↓ 153 callers
Function
onOpenChange
(next: boolean)
components/data/import/webdav-restore-dialog.tsx:64
↓ 153 callers
Function
resolveSendOptions
(ctx: BuildOptionsContext)
lib/claude/build-options.ts:364
↓ 152 callers
Method
endsWith
(p, h)
public/monaco/vs/loader.js:107
↓ 152 callers
Method
insert
(&self, session: Arc<PtySession>)
src-tauri/src/terminal/mod.rs:58
↓ 152 callers
Function
reject
(key: ApprovalKey, feedback?: string)
lib/runtime/approval-bus.ts:81
↓ 150 callers
Method
type
Type literal text into the focused element.
lib/plugin/api/automation-api.ts:77
↓ 149 callers
Function
resolve
()
lib/connectors/adapters/dingtalk/stream-client.test.ts:33
↓ 147 callers
Method
contains
True when `(px, py)` is inside the rectangle.
src-tauri/src/automation/policy.rs:61
↓ 147 callers
Method
update
(id: string, patch: Partial<AgentTeamConfig>)
lib/ai/agent/agent-team.ts:34
↓ 146 callers
Method
register
(provider: OcrProvider)
lib/ocr/registry.ts:15
↓ 145 callers
Method
get
()
lib/workflow/runtime/concurrency-controller.ts:14
↓ 144 callers
Method
exec
Run a shell command inside the sandbox, returning combined stdout/stderr.
plugins/e2b-sandbox/src/workspace-backend.ts:27
↓ 140 callers
Method
from
(e: std::io::Error)
crates/cognia-cli/src/ui/prompter.rs:60
↓ 138 callers
Function
resetCogniaDb
(page: Page)
tests/e2e/helpers/db-reset.ts:37
↓ 134 callers
Method
len
(&self)
src-tauri/src/perf/registry.rs:212
↓ 134 callers
Method
setItem
(key: string, value: string)
lib/data/snapshots/types.ts:42
↓ 132 callers
Method
removeEventListener
* Remove event listener for a session
lib/ai/agent/external/acp-client.ts:2539
↓ 131 callers
Function
M
(...t)
public/monaco/vs/assets/json.worker-DKiEKt88.js:12727
↓ 129 callers
Method
join
(e)
public/monaco/vs/assets/css.worker-HnVq6Ewq.js:6512
↓ 128 callers
Method
exists
True if the path exists.
lib/skills/bundle/walk-folder.ts:30
↓ 128 callers
Function
isTauri
()
lib/platform/detect.ts:46
↓ 127 callers
Method
dispose
()
lib/monaco/snippets.ts:10
↓ 127 callers
Method
getItem
(key: string)
lib/data/snapshots/types.ts:41
↓ 127 callers
Method
reduce
(E, D)
public/monaco/vs/assets/css.worker-HnVq6Ewq.js:620
↓ 123 callers
Function
getGoalRuntime
()
lib/goal/runtime.ts:593
↓ 123 callers
Method
substring
(e)
public/monaco/vs/assets/css.worker-HnVq6Ewq.js:6544
↓ 120 callers
Method
accept
(e)
public/monaco/vs/assets/css.worker-HnVq6Ewq.js:11048
↓ 120 callers
Function
seedAndOpenWorkflow
(page: Page, kind: SeededWorkflowKind)
tests/e2e/helpers/seed-workflow.ts:68
↓ 120 callers
Method
text
Lazily-computed text view of the bytes — handy for error parsing.
lib/tts/proxy-fetch.ts:32
↓ 119 callers
Method
close
()
lib/logging/transports/remote-retry-queue-store.ts:38
↓ 119 callers
Function
nanoid
(size = 21)
__mocks__/nanoid.js:10
↓ 118 callers
Function
getPluginEventHooks
()
lib/plugin/messaging/hooks-system.ts:2212
↓ 117 callers
Function
saveSettings
(patch: Partial<Omit<AppSettings, "id">>)
lib/db/settings.ts:217
↓ 116 callers
Method
get
(key: string)
lib/ai/rag/contextual-retrieval.ts:33
↓ 116 callers
Function
setDraft
(sessionId: string, text: string)
lib/db/chat-drafts.ts:14
↓ 114 callers
Method
connect
* Connect to the external agent * @param config Agent configuration * @returns Promise that resolves when connected
lib/ai/agent/external/protocol-adapter.ts:50
↓ 114 callers
Method
set
(key: string, context: string)
lib/ai/rag/contextual-retrieval.ts:34
↓ 112 callers
Method
delete
(id: string)
lib/ai/agent/agent-team.ts:35
↓ 109 callers
Method
debug
(message: string, data?: Record<string, unknown>)
types/logging/logger.ts:12
↓ 107 callers
Function
a
(I)
public/monaco/vs/assets/css.worker-HnVq6Ewq.js:135
↓ 107 callers
Function
required
Extract a field from a JSON object, returning a 400 error when the field is missing or its type does not match `T`.
src-tauri/src/companion_api/rpc.rs:699
↓ 106 callers
Function
createWorkflow
(draft: WorkflowDraft)
lib/db/workflows.ts:71
↓ 102 callers
Function
getBus
()
lib/connectors/bus.ts:1086
↓ 101 callers
Method
on
(event: BudgetEventName, cb: (payload: { runId: string }) => void)
lib/ai/agent/team/budget-guard.ts:54
↓ 99 callers
Function
save
()
components/settings/hooks/hooks-section.tsx:213
↓ 98 callers
Method
delete
(keyId: string)
lib/credentials/turn-credentials.ts:44
↓ 98 callers
Method
get
One-shot read of a single item by source-native id.
lib/scheduler/sources/types.ts:47
↓ 98 callers
Method
open
(opts: { url: string windowName?: string toolbarColor?: string presentationStyle?: "fullscreen
lib/capacitor/browser.ts:12
↓ 98 callers
Method
reject
* Enter the terminal `rejected` state: stop pinging, close the socket, and * suppress auto-reconnect. Unlike {@link close} this leaves `destroyed`
lib/signaling/client.ts:274
↓ 97 callers
Method
version
()
public/monaco/vs/assets/css.worker-HnVq6Ewq.js:13205
↓ 96 callers
Method
insert
Insert (or overwrite) a code → JWT mapping. Prunes expired entries first; at capacity, evicts the entry closest to expiry. Returns `true` if the inse
src-tauri/src/companion_api/pair_code_lru.rs:79
↓ 95 callers
Function
validatePluginManifest
( manifest: unknown, options: ManifestValidationOptions = {} )
lib/plugin/core/validation.ts:289
↓ 94 callers
Function
fetch
`git fetch [remote] [--prune]`.
src-tauri/src/git/remote.rs:54
↓ 93 callers
Function
registerNodeExecutor
(reg: NodeExecutorRegistration)
lib/workflow/nodes/registry.ts:108
↓ 93 callers
Function
set
(key: string, value: T)
lib/plugin/api/storage-api.ts:74
↓ 92 callers
Method
reset
()
lib/tray/store.ts:33
↓ 89 callers
Method
consumeToken
()
public/monaco/vs/assets/css.worker-HnVq6Ewq.js:14525
↓ 89 callers
Function
i
(e)
public/monaco/vs/basic-languages/monaco.contribution.js:31
↓ 88 callers
Method
has
(key: string)
lib/ai/embedding/embedding.ts:96
↓ 88 callers
Method
stop
Stop the loop (drains the in-flight job before returning).
lib/twin/job-worker.ts:274
↓ 87 callers
Method
close
()
lib/capacitor/browser.ts:18
↓ 87 callers
Function
e
(k)
public/monaco/vs/freemarker2-Cz_sV6Md.js:152
↓ 87 callers
Method
put
(row: TRow)
plugins/github-delivery/src/github-poll.ts:45
↓ 87 callers
Method
slice
(e)
public/monaco/vs/assets/html.worker-B51mlPHg.js:6541
↓ 86 callers
Function
setOpen
(next: boolean)
components/chat/terminal-tab-picker.tsx:52
↓ 86 callers
Function
setPlatform
(platform: "Win32" | "MacIntel")
components/desktop/title-bar.test.tsx:305
↓ 85 callers
Function
baseSettings
(overrides: Partial<AppSettings> = {})
stores/settings/settings-store.test.ts:57
↓ 85 callers
Method
load
()
lib/tauri/companion-storage.ts:63
↓ 85 callers
Method
post
(message: WebviewMessage)
lib/plugin/vscode-shim/webview-bridge.ts:75
↓ 84 callers
Method
evaluate
(&self, facts: &ActionFacts<'_>)
src-tauri/src/automation/policy.rs:156
↓ 83 callers
Function
createMockPlugin
(overrides?: Partial<Plugin>)
lib/plugin/core/context.test.ts:147
↓ 83 callers
Function
fn
(x: number, y: number)
lib/plugin/devtools/profiler.test.ts:255
↓ 83 callers
Function
makeChar
(p: Partial<Character> = {})
lib/claude/build-options.test.ts:94
↓ 83 callers
Method
registerSession
( info: { id: string projectId: string | null extensionId: string | null origin: "
lib/terminal/spawn-orchestrator.ts:36
↓ 83 callers
Method
subscribe
* Subscribe to a named event channel; `handler` runs for every payload the * runtime emits on that channel. The returned function detaches the hand
lib/tauri/transport-types.ts:26
↓ 82 callers
Method
executeHook
* Execute a hook on all plugins with timeout protection
lib/plugin/messaging/hooks-system.ts:1370
↓ 82 callers
Method
slice
(e)
public/monaco/vs/assets/json.worker-DKiEKt88.js:6540
↓ 81 callers
Method
get
(opts: { key: string })
lib/tauri/companion-storage.ts:106
↓ 80 callers
Method
is_empty
(&self)
src-tauri/src/companion_api/deny_list.rs:106
↓ 80 callers
Function
registerBuiltInSkill
(skill: BuiltInSkill)
lib/skills/built-in/registry.ts:115
↓ 80 callers
Method
send
Send an RPC action and resolve on the echo-matched response.
lib/connectors/adapters/onebot/transport.ts:36
↓ 79 callers
Function
exec
( kind: WorkflowNodeKind, ctx: StepExecutionContext<Record<string, unknown>> )
lib/workflow/nodes/built-ins.test.ts:50
↓ 79 callers
Function
makeCtx
( kind: WorkflowNodeKind, params: T, upstream: Record<string, unknown> = {} )
lib/workflow/nodes/built-ins.test.ts:32
↓ 79 callers
Function
pushError
(field: string, code: string, message: string, hint?: string)
lib/plugin/core/validation.ts:313
↓ 78 callers
Function
useRouter
()
jest.setup.ts:241
↓ 77 callers
Method
keys
()
sidecar/vscode-ext-host/src/extension-runner.ts:117
↓ 76 callers
Function
createPluginContext
( plugin: Plugin, manager: PluginManager, options?: { enableDebug?: boolean } )
lib/plugin/core/context.ts:181
↓ 76 callers
Method
createTask
(input: CreateScheduledTaskInput)
lib/scheduler/sources/app-source.ts:49
↓ 76 callers
Function
getSettings
()
lib/db/settings.ts:138
↓ 76 callers
Method
has
(id: string)
lib/skills/built-in/registry.ts:20
↓ 76 callers
Method
take
Remove and return the entry for `code`, or report why it could not be redeemed. Expired entries are eagerly removed.
src-tauri/src/companion_api/pair_code_lru.rs:91
↓ 75 callers
Method
bulkPut
(rows: TRow[])
plugins/github-delivery/src/github-poll.ts:46
↓ 75 callers
Method
header
(&self, key: &str)
src-tauri/src/connectors/lark_ws.rs:103
↓ 75 callers
Method
run
(evalCase: EvalCase, signal?: AbortSignal)
lib/ai/eval/runner.ts:21
↓ 74 callers
Method
check
* Synchronously check whether the calling extension can require `module`. * Returning `"allow"` lets the require proceed; returning `"deny"` makes
sidecar/vscode-ext-host/src/require-hook.ts:30
← previous
next →
101–200 of 31,059, ranked by callers