MCPcopy Create free account

hub / github.com/MaxQian888/cognia-next / functions

Functions31,059 in github.com/MaxQian888/cognia-next

↓ 159 callersMethodgetState
()
lib/plugin/devtools/hot-reload.ts:472
↓ 157 callersMethodbind
(binding: ShortcutBinding)
lib/shortcuts/registry.ts:26
↓ 156 callersMethodread
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 callersMethodnext
(items: T)
lib/scheduler/sources/app-source.ts:66
↓ 154 callersFunctionrequire
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 callersFunctiononOpenChange
(next: boolean)
components/data/import/webdav-restore-dialog.tsx:64
↓ 153 callersFunctionresolveSendOptions
(ctx: BuildOptionsContext)
lib/claude/build-options.ts:364
↓ 152 callersMethodendsWith
(p, h)
public/monaco/vs/loader.js:107
↓ 152 callersMethodinsert
(&self, session: Arc<PtySession>)
src-tauri/src/terminal/mod.rs:58
↓ 152 callersFunctionreject
(key: ApprovalKey, feedback?: string)
lib/runtime/approval-bus.ts:81
↓ 150 callersMethodtype
Type literal text into the focused element.
lib/plugin/api/automation-api.ts:77
↓ 149 callersFunctionresolve
()
lib/connectors/adapters/dingtalk/stream-client.test.ts:33
↓ 147 callersMethodcontains
True when `(px, py)` is inside the rectangle.
src-tauri/src/automation/policy.rs:61
↓ 147 callersMethodupdate
(id: string, patch: Partial<AgentTeamConfig>)
lib/ai/agent/agent-team.ts:34
↓ 146 callersMethodregister
(provider: OcrProvider)
lib/ocr/registry.ts:15
↓ 145 callersMethodget
()
lib/workflow/runtime/concurrency-controller.ts:14
↓ 144 callersMethodexec
Run a shell command inside the sandbox, returning combined stdout/stderr.
plugins/e2b-sandbox/src/workspace-backend.ts:27
↓ 140 callersMethodfrom
(e: std::io::Error)
crates/cognia-cli/src/ui/prompter.rs:60
↓ 138 callersFunctionresetCogniaDb
(page: Page)
tests/e2e/helpers/db-reset.ts:37
↓ 134 callersMethodlen
(&self)
src-tauri/src/perf/registry.rs:212
↓ 134 callersMethodsetItem
(key: string, value: string)
lib/data/snapshots/types.ts:42
↓ 132 callersMethodremoveEventListener
* Remove event listener for a session
lib/ai/agent/external/acp-client.ts:2539
↓ 131 callersFunctionM
(...t)
public/monaco/vs/assets/json.worker-DKiEKt88.js:12727
↓ 129 callersMethodjoin
(e)
public/monaco/vs/assets/css.worker-HnVq6Ewq.js:6512
↓ 128 callersMethodexists
True if the path exists.
lib/skills/bundle/walk-folder.ts:30
↓ 128 callersFunctionisTauri
()
lib/platform/detect.ts:46
↓ 127 callersMethoddispose
()
lib/monaco/snippets.ts:10
↓ 127 callersMethodgetItem
(key: string)
lib/data/snapshots/types.ts:41
↓ 127 callersMethodreduce
(E, D)
public/monaco/vs/assets/css.worker-HnVq6Ewq.js:620
↓ 123 callersFunctiongetGoalRuntime
()
lib/goal/runtime.ts:593
↓ 123 callersMethodsubstring
(e)
public/monaco/vs/assets/css.worker-HnVq6Ewq.js:6544
↓ 120 callersMethodaccept
(e)
public/monaco/vs/assets/css.worker-HnVq6Ewq.js:11048
↓ 120 callersFunctionseedAndOpenWorkflow
(page: Page, kind: SeededWorkflowKind)
tests/e2e/helpers/seed-workflow.ts:68
↓ 120 callersMethodtext
Lazily-computed text view of the bytes — handy for error parsing.
lib/tts/proxy-fetch.ts:32
↓ 119 callersMethodclose
()
lib/logging/transports/remote-retry-queue-store.ts:38
↓ 119 callersFunctionnanoid
(size = 21)
__mocks__/nanoid.js:10
↓ 118 callersFunctiongetPluginEventHooks
()
lib/plugin/messaging/hooks-system.ts:2212
↓ 117 callersFunctionsaveSettings
(patch: Partial<Omit<AppSettings, "id">>)
lib/db/settings.ts:217
↓ 116 callersMethodget
(key: string)
lib/ai/rag/contextual-retrieval.ts:33
↓ 116 callersFunctionsetDraft
(sessionId: string, text: string)
lib/db/chat-drafts.ts:14
↓ 114 callersMethodconnect
* Connect to the external agent * @param config Agent configuration * @returns Promise that resolves when connected
lib/ai/agent/external/protocol-adapter.ts:50
↓ 114 callersMethodset
(key: string, context: string)
lib/ai/rag/contextual-retrieval.ts:34
↓ 112 callersMethoddelete
(id: string)
lib/ai/agent/agent-team.ts:35
↓ 109 callersMethoddebug
(message: string, data?: Record<string, unknown>)
types/logging/logger.ts:12
↓ 107 callersFunctiona
(I)
public/monaco/vs/assets/css.worker-HnVq6Ewq.js:135
↓ 107 callersFunctionrequired
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 callersFunctioncreateWorkflow
(draft: WorkflowDraft)
lib/db/workflows.ts:71
↓ 102 callersFunctiongetBus
()
lib/connectors/bus.ts:1086
↓ 101 callersMethodon
(event: BudgetEventName, cb: (payload: { runId: string }) => void)
lib/ai/agent/team/budget-guard.ts:54
↓ 99 callersFunctionsave
()
components/settings/hooks/hooks-section.tsx:213
↓ 98 callersMethoddelete
(keyId: string)
lib/credentials/turn-credentials.ts:44
↓ 98 callersMethodget
One-shot read of a single item by source-native id.
lib/scheduler/sources/types.ts:47
↓ 98 callersMethodopen
(opts: { url: string windowName?: string toolbarColor?: string presentationStyle?: "fullscreen
lib/capacitor/browser.ts:12
↓ 98 callersMethodreject
* 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 callersMethodversion
()
public/monaco/vs/assets/css.worker-HnVq6Ewq.js:13205
↓ 96 callersMethodinsert
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 callersFunctionvalidatePluginManifest
( manifest: unknown, options: ManifestValidationOptions = {} )
lib/plugin/core/validation.ts:289
↓ 94 callersFunctionfetch
`git fetch [remote] [--prune]`.
src-tauri/src/git/remote.rs:54
↓ 93 callersFunctionregisterNodeExecutor
(reg: NodeExecutorRegistration)
lib/workflow/nodes/registry.ts:108
↓ 93 callersFunctionset
(key: string, value: T)
lib/plugin/api/storage-api.ts:74
↓ 92 callersMethodreset
()
lib/tray/store.ts:33
↓ 89 callersMethodconsumeToken
()
public/monaco/vs/assets/css.worker-HnVq6Ewq.js:14525
↓ 89 callersFunctioni
(e)
public/monaco/vs/basic-languages/monaco.contribution.js:31
↓ 88 callersMethodhas
(key: string)
lib/ai/embedding/embedding.ts:96
↓ 88 callersMethodstop
Stop the loop (drains the in-flight job before returning).
lib/twin/job-worker.ts:274
↓ 87 callersMethodclose
()
lib/capacitor/browser.ts:18
↓ 87 callersFunctione
(k)
public/monaco/vs/freemarker2-Cz_sV6Md.js:152
↓ 87 callersMethodput
(row: TRow)
plugins/github-delivery/src/github-poll.ts:45
↓ 87 callersMethodslice
(e)
public/monaco/vs/assets/html.worker-B51mlPHg.js:6541
↓ 86 callersFunctionsetOpen
(next: boolean)
components/chat/terminal-tab-picker.tsx:52
↓ 86 callersFunctionsetPlatform
(platform: "Win32" | "MacIntel")
components/desktop/title-bar.test.tsx:305
↓ 85 callersFunctionbaseSettings
(overrides: Partial<AppSettings> = {})
stores/settings/settings-store.test.ts:57
↓ 85 callersMethodload
()
lib/tauri/companion-storage.ts:63
↓ 85 callersMethodpost
(message: WebviewMessage)
lib/plugin/vscode-shim/webview-bridge.ts:75
↓ 84 callersMethodevaluate
(&self, facts: &ActionFacts<'_>)
src-tauri/src/automation/policy.rs:156
↓ 83 callersFunctioncreateMockPlugin
(overrides?: Partial<Plugin>)
lib/plugin/core/context.test.ts:147
↓ 83 callersFunctionfn
(x: number, y: number)
lib/plugin/devtools/profiler.test.ts:255
↓ 83 callersFunctionmakeChar
(p: Partial<Character> = {})
lib/claude/build-options.test.ts:94
↓ 83 callersMethodregisterSession
( info: { id: string projectId: string | null extensionId: string | null origin: "
lib/terminal/spawn-orchestrator.ts:36
↓ 83 callersMethodsubscribe
* 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 callersMethodexecuteHook
* Execute a hook on all plugins with timeout protection
lib/plugin/messaging/hooks-system.ts:1370
↓ 82 callersMethodslice
(e)
public/monaco/vs/assets/json.worker-DKiEKt88.js:6540
↓ 81 callersMethodget
(opts: { key: string })
lib/tauri/companion-storage.ts:106
↓ 80 callersMethodis_empty
(&self)
src-tauri/src/companion_api/deny_list.rs:106
↓ 80 callersFunctionregisterBuiltInSkill
(skill: BuiltInSkill)
lib/skills/built-in/registry.ts:115
↓ 80 callersMethodsend
Send an RPC action and resolve on the echo-matched response.
lib/connectors/adapters/onebot/transport.ts:36
↓ 79 callersFunctionexec
( kind: WorkflowNodeKind, ctx: StepExecutionContext<Record<string, unknown>> )
lib/workflow/nodes/built-ins.test.ts:50
↓ 79 callersFunctionmakeCtx
( kind: WorkflowNodeKind, params: T, upstream: Record<string, unknown> = {} )
lib/workflow/nodes/built-ins.test.ts:32
↓ 79 callersFunctionpushError
(field: string, code: string, message: string, hint?: string)
lib/plugin/core/validation.ts:313
↓ 78 callersFunctionuseRouter
()
jest.setup.ts:241
↓ 77 callersMethodkeys
()
sidecar/vscode-ext-host/src/extension-runner.ts:117
↓ 76 callersFunctioncreatePluginContext
( plugin: Plugin, manager: PluginManager, options?: { enableDebug?: boolean } )
lib/plugin/core/context.ts:181
↓ 76 callersMethodcreateTask
(input: CreateScheduledTaskInput)
lib/scheduler/sources/app-source.ts:49
↓ 76 callersFunctiongetSettings
()
lib/db/settings.ts:138
↓ 76 callersMethodhas
(id: string)
lib/skills/built-in/registry.ts:20
↓ 76 callersMethodtake
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 callersMethodbulkPut
(rows: TRow[])
plugins/github-delivery/src/github-poll.ts:46
↓ 75 callersMethodheader
(&self, key: &str)
src-tauri/src/connectors/lark_ws.rs:103
↓ 75 callersMethodrun
(evalCase: EvalCase, signal?: AbortSignal)
lib/ai/eval/runner.ts:21
↓ 74 callersMethodcheck
* 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
← previousnext →101–200 of 31,059, ranked by callers