MCPcopy Index your code

hub / github.com/KunAgent/Kun / functions

Functions9,736 in github.com/KunAgent/Kun

↓ 39 callersFunctionformatRuntimeError
(error: unknown)
src/renderer/src/lib/format-runtime-error.ts:170
↓ 39 callersFunctionruleIds
(source: string, options = {})
kun/src/quality/detect.test.ts:4
↓ 39 callersFunctionwriteBrowserStorageItem
(key: string, value: string)
src/renderer/src/lib/browser-storage.ts:45
↓ 38 callersFunctionasText
(value: unknown)
src/shared/app-settings-workflow.ts:83
↓ 37 callersFunctiondefaultClawSettings
()
src/shared/app-settings-claw.ts:71
↓ 37 callersFunctionmodelProviderPresetProfile
( preset: ModelProviderPreset, apiKey = '' )
src/shared/model-provider-presets.ts:696
↓ 37 callersMethodnext
(prefix: string)
kun/src/ports/id-generator.ts:7
↓ 37 callersFunctionreadBrowserStorageItem
(key: string)
src/renderer/src/lib/browser-storage.ts:37
↓ 36 callersFunctionbuildChannel
(overrides: Partial<ClawImChannelV1> = {})
src/main/claw-runtime.test.ts:93
↓ 36 callersFunctionexecuteDesignToolInvocation
( invocation: DesignToolInvocation )
src/renderer/src/design/tool-protocol/design-tool-protocol.ts:180
↓ 36 callersFunctionoptionalTrimmedString
(max: number)
src/main/ipc/app-ipc-schemas.ts:96
↓ 36 callersFunctionresolvePrototypeNavigationTarget
( navigationUrl: string, currentFileUrl: string, links: readonly PrototypePlayerLink[] )
src/renderer/src/design/prototype-player/routing.ts:389
↓ 36 callersFunctionsnapshotCanvas
( doc: CanvasDocument, selectedIds?: ReadonlySet<string>, opts?: SnapshotOptions )
src/renderer/src/design/canvas/canvas-snapshot.ts:290
↓ 35 callersFunctionaddRect
(x: number)
src/renderer/src/design/canvas/canvas-shortcuts.test.ts:36
↓ 35 callersFunctionpointer
( x: number, y: number, patch: Partial<Pick<CanvasPointerEvent, 'shiftKey' | 'altKey' | 'metaKey' | 'ctr
src/renderer/src/design/canvas/tools/create-shape-tools.test.ts:39
↓ 34 callersFunctioncompileEndpoint
( template: string, allowedMethods: readonly string[] )
src/main/ipc/app-ipc-schemas.ts:140
↓ 34 callersFunctioncontrolLabel
(tag: string, inner = '')
src/renderer/src/design/html-quality/controls-forms-and-dialogs.ts:49
↓ 33 callersFunctionbuildWorkflow
(partial: WorkflowSpec)
src/main/workflow-runtime.run.test.ts:85
↓ 33 callersFunctiondefaultWriteSettings
()
src/shared/app-settings-write.ts:280
↓ 33 callersMethodend
(id: string)
kun/src/loop/inflight-tracker.ts:28
↓ 32 callersMethodclose
()
src/main/claw-runtime.ts:763
↓ 32 callersFunctioneventFor
( key: string, opts: Partial<Pick<KeyboardEvent, 'metaKey' | 'ctrlKey' | 'shiftKey'>> = {} )
src/renderer/src/design/canvas/canvas-shortcuts.test.ts:22
↓ 32 callersFunctionexecuteTool
( host: LocalToolHost, workspace: string, toolName: string, args: Record<string, unknown> )
kun/tests/builtin-tools.test.ts:73
↓ 32 callersFunctiongetModelProviderSettings
(settings: AppSettingsV1)
src/shared/app-settings-provider.ts:148
↓ 32 callersFunctionlogWarn
(category: string, message: string, detail?: unknown)
src/main/logger.ts:90
↓ 32 callersFunctionmakeAssistantTextItem
(input: { id: string turnId: string threadId: string text: string status?: 'running' | 'completed' |
kun/src/domain/item.ts:45
↓ 32 callersMethodonPointerDown
(e: CanvasPointerEvent)
src/renderer/src/design/canvas/tools/tool-types.ts:15
↓ 32 callersFunctionpointer
( x: number, y: number, patch: Partial<Pick<CanvasPointerEvent, 'altKey' | 'shiftKey' | 'metaKey' | 'ctr
src/renderer/src/design/canvas/tools/select-tool.test.ts:20
↓ 32 callersFunctionresolvePrototypeLinks
( artifact: DesignArtifact | null | undefined, artifacts: readonly DesignArtifact[] )
src/renderer/src/design/prototype-player/playback.ts:418
↓ 32 callersFunctionsettings
()
src/shared/app-settings.test.ts:56
↓ 32 callersFunctionshouldOpenSettingsForError
(error: unknown)
src/renderer/src/store/chat-store-runtime.ts:394
↓ 32 callersFunctionworkspaceRootIdentityKey
(path?: string)
src/renderer/src/lib/workspace-path.ts:17
↓ 31 callersFunctionclean
(value: string | undefined)
src/renderer/src/design/code-binding/live-app-binding-candidates.ts:48
↓ 31 callersMethodcurrent
()
kun/src/loop/append-only-session-log.ts:57
↓ 31 callersFunctionmakeToolCallItem
(input: { id: string turnId: string threadId: string callId: string toolName: string toolKind?: 't
kun/src/domain/item.ts:83
↓ 31 callersFunctionrecordString
(record: Record<string, unknown>, key: string)
src/main/claw-platform-install.ts:39
↓ 31 callersMethodsetSettings
(partial: AppSettingsPatch)
src/renderer/src/agent/runtime-client.ts:29
↓ 31 callersFunctionsyncHtmlArtifactsToBoardDocument
( doc: CanvasDocument, artifacts: readonly DesignArtifact[] )
src/renderer/src/design/design-board.ts:349
↓ 30 callersFunctionbuildDesignTurnPrompt
(options: DesignTurnOptions)
src/renderer/src/design/design-turn-prompt/entry.ts:90
↓ 30 callersFunctioncreateStore
(initial: AppSettingsV1)
src/main/workflow-runtime.run.test.ts:73
↓ 30 callersFunctionhandleCanvasKeyDown
(e: KeyboardEvent)
src/renderer/src/design/canvas/canvas-shortcuts.ts:136
↓ 30 callersMethodrunWorkflow
(workflowId: string, input?: unknown)
src/main/workflow-runtime.ts:1256
↓ 30 callersFunctionsettingsWithWorkflows
(workflows: WorkflowV1[], modules: WorkflowCustomModuleV1[] = [])
src/main/workflow-runtime.run.test.ts:45
↓ 29 callersMethodapplyItem
Upsert a turn item into the item store (turns.applyItem).
kun/src/runtime/agent-sdk/agent-sdk-runtime.ts:114
↓ 29 callersFunctionfindShape
(id: string)
src/renderer/src/design/canvas/shape-ops/context.ts:20
↓ 29 callersMethodgetBoundingClientRect
()
src/renderer/src/components/design/canvas/HtmlFrameOverlay.test.ts:56
↓ 29 callersFunctionhandler
(e: MouseEvent)
src/renderer/src/components/design/canvas/CanvasZoomBar.tsx:42
↓ 29 callersMethodlist
(options?: ThreadStoreListOptions)
kun/src/ports/thread-store.ts:17
↓ 29 callersMethodpatch
(partial: AppSettingsPatch)
src/main/settings-store.ts:464
↓ 28 callersFunctionclearBusyWatchdog
()
src/renderer/src/store/chat-store-schedulers.ts:41
↓ 28 callersFunctioncontentForDataRealism
(text: string)
src/renderer/src/design/html-quality/product-and-hero-content.ts:74
↓ 28 callersFunctioncreateThreadRecord
(input: { id: string title: string titleAuto?: boolean workspace: string model: string providerId?
kun/src/domain/thread.ts:23
↓ 28 callersFunctiondefaultScheduleSettings
()
src/shared/app-settings-schedule.ts:67
↓ 28 callersFunctionformatCompactNumber
(value: number)
src/renderer/src/hooks/use-thread-usage.ts:43
↓ 28 callersFunctiongetShape
(id: string)
src/renderer/src/design/canvas/shape-ops-batch.test.ts:37
↓ 28 callersFunctionnormalizeAppSettings
(settings: AppSettingsV1)
src/shared/app-settings-normalize.ts:46
↓ 28 callersMethodonPointerUp
(e: CanvasPointerEvent)
src/renderer/src/design/canvas/tools/tool-types.ts:17
↓ 28 callersFunctionreadRuntimeJson
(body: string, fallback: string)
src/renderer/src/agent/kun-runtime.ts:103
↓ 28 callersFunctionwaitFor
(predicate: () => Promise<boolean>, timeoutMs: number)
src/main/workflow-runtime.run.test.ts:89
↓ 27 callersMethodappendItem
(threadId: string, item: TurnItem)
kun/src/ports/session-store.ts:30
↓ 27 callersFunctionartifact
(id: string, title: string, extra: Partial<DesignArtifact> = {})
src/renderer/src/design/prototype-player.route-capture-script.test.ts:26
↓ 27 callersFunctionmarkDesignThread
( workspaceRoot: string, docId: string, threadId: string, registry: DesignThreadRegistry = readDesignT
src/renderer/src/design/design-thread-registry.ts:199
↓ 27 callersMethodonPointerMove
(e: CanvasPointerEvent)
src/renderer/src/design/canvas/tools/tool-types.ts:16
↓ 27 callersFunctionrecordString
(record: JsonRecord, key: string)
src/main/weixin-bridge-runtime.ts:261
↓ 27 callersFunctionresolveKunRuntimeSettings
(settings: AppSettingsV1)
src/shared/app-settings-provider.ts:856
↓ 27 callersFunctionsettings
()
src/shared/app-settings-provider.test.ts:43
↓ 27 callersFunctionthread
(overrides: Partial<NormalizedThread> & Pick<NormalizedThread, 'id' | 'workspace'>)
src/renderer/src/components/chat/SidebarProjectsSection.test.ts:28
↓ 26 callersFunctionboundedPositiveInt
(value: unknown, fallback: number, max = Number.MAX_SAFE_INTEGER)
src/shared/app-settings-kun.ts:791
↓ 26 callersFunctionbuildContext
(overrides: Partial<ToolHostContext> = {})
kun/tests/create-plan-tool.test.ts:15
↓ 26 callersFunctioncreateRuntime
(options: { enabled?: boolean maxParallel?: number maxChildRuns?: number defaultToolPolicy?: '
kun/tests/delegation-runtime.test.ts:611
↓ 26 callersFunctiondefaultDesignSettings
()
src/shared/app-settings-design.ts:78
↓ 26 callersFunctiondefaultFrameSizeForDesignTarget
(target: unknown)
src/renderer/src/design/design-context.ts:66
↓ 26 callersFunctionmergeKunRuntimeSettings
( current: KunRuntimeSettingsV1, patch: KunRuntimeSettingsPatchV1 | undefined )
src/shared/app-settings-kun.ts:354
↓ 26 callersFunctionmutableSettingsStore
(initialSettings: AppSettingsV1)
src/main/claw-runtime.test.ts:133
↓ 26 callersFunctionreadJsonBody
(request: Request, maxBytes = DEFAULT_MAX_JSON_BODY_BYTES)
kun/src/server/read-json-body.ts:10
↓ 26 callersFunctionrequireOk
(result: WorkflowRunResult)
src/main/workflow-runtime.run.test.ts:98
↓ 26 callersMethodrunChild
(input: { parentThreadId: string parentTurnId: string label?: string prompt: string worksp
kun/src/delegation/delegation-runtime.ts:193
↓ 25 callersFunctionaction
( toolId: string, reason: string, inputHint: string, expectedOutput: string )
src/renderer/src/design/tool-protocol/plan-strategy.ts:46
↓ 25 callersFunctioncover
(kind: WorkflowNodeKind)
src/main/workflow-runtime.nodes.test.ts:245
↓ 25 callersFunctionnormalizeBoolean
(value: unknown, fallback: boolean)
src/shared/app-settings-normalizers.ts:30
↓ 25 callersFunctionresetBusyRecoveryAttempts
()
src/renderer/src/store/chat-store-schedulers.ts:48
↓ 25 callersFunctionsafeJson
(value: unknown)
src/main/workflow-runtime.ts:189
↓ 25 callersFunctionsetStatus
(elements: EmbedElements, message: string, tone: 'idle' | 'error')
src/renderer/src/write/html-embed-dom.ts:38
↓ 25 callersMethodstartTurn
(input: { threadId: string request: StartTurnRequest })
kun/src/services/turn-service.ts:73
↓ 25 callersFunctiontask
(id: string, patch: Partial<ScheduledTaskV1> = {})
src/renderer/src/components/schedule/ScheduleTasksView.test.ts:26
↓ 25 callersFunctionwriteJson
(res: ServerResponse, status: number, body: unknown)
src/main/schedule-runtime-helpers.ts:196
↓ 24 callersFunctionasString
(value: unknown)
src/main/claw-runtime-helpers.ts:414
↓ 24 callersFunctionbuildMcpToolProviders
( config: McpCapabilityConfig | undefined, options: McpToolProviderOptions = {} )
kun/src/adapters/tool/mcp-tool-provider.ts:172
↓ 24 callersFunctioncleanString
(value: unknown, maxLength = MAX_TEXT_LENGTH)
src/renderer/src/design/code-binding/html-frame-dom-source.ts:85
↓ 24 callersFunctiondefaultWorkflowSettings
()
src/shared/app-settings-workflow.ts:694
↓ 24 callersMethodgetGoal
(threadId: string)
kun/src/services/thread-service.ts:196
↓ 24 callersMethodhas
(id: string)
kun/src/loop/inflight-tracker.ts:56
↓ 24 callersFunctioninstallDsGui
(overrides: Partial<Window['kunGui']>)
src/renderer/src/agent/kun-runtime.test.ts:49
↓ 24 callersFunctionnormalizeDesignTarget
(value: unknown)
src/renderer/src/design/design-context.ts:58
↓ 24 callersMethodrun
* `run` registers an inflight id, runs `work`, and guarantees the * id is removed even when the work throws or the abort signal * fires. Returns
kun/src/loop/inflight-tracker.ts:40
↓ 24 callersMethodsetGoal
(threadId: string, request: SetThreadGoalRequest)
kun/src/services/thread-service.ts:202
↓ 24 callersFunctionsettings
(patch: Record<string, unknown> = {})
src/renderer/src/components/initial-setup-save.test.ts:20
↓ 24 callersFunctionupdateKun
(patch: Partial<AppSettingsV1['agents']['kun']>)
src/renderer/src/components/SettingsView.tsx:932
↓ 23 callersMethodappendEvent
(threadId: string, event: RuntimeEvent)
kun/src/ports/session-store.ts:29
↓ 23 callersFunctionartifact
(id: string, kind: DesignArtifact['kind'], patch: Partial<DesignArtifact> = {})
src/renderer/src/design/design-artifact-actions.test.ts:12
← previousnext →101–200 of 9,736, ranked by callers