MCPcopy Create free account

hub / github.com/KunAgent/Kun / functions

Functions9,736 in github.com/KunAgent/Kun

↓ 17 callersFunctionpersistIndex
()
src/renderer/src/design/design-workspace-store.ts:52
↓ 17 callersMethodput
(input: PutArtifactInput)
kun/src/artifacts/artifact-store.ts:56
↓ 17 callersFunctionshouldSendPromptToCodeCanvas
(options: { text: string whiteboardOpen: boolean hasSelection?: boolean })
src/renderer/src/design/canvas/code-canvas.ts:150
↓ 17 callersFunctiontouchThread
(thread: ThreadEntity, updatedAt?: string)
kun/src/domain/thread.ts:82
↓ 17 callersFunctionusage
(overrides: Partial<ThreadUsageRecord['usage']> = {})
kun/tests/usage-service.test.ts:16
↓ 17 callersFunctionworkspaceLabelFromPath
(path: string)
src/renderer/src/lib/workspace-label.ts:21
↓ 16 callersFunctionaddRect
(x = 0, y = 0)
src/renderer/src/design/canvas/tools/select-tool.test.ts:38
↓ 16 callersFunctionaddShape
( type: ShapeType, patch: Partial<CanvasShape>, parentId: string | undefined, affectedIds: Set<string>
src/renderer/src/design/canvas/design-system-template/board-builders.ts:415
↓ 16 callersFunctionartifact
(id: string, title: string, extra: Partial<DesignArtifact> = {})
src/renderer/src/design/prototype-player.scripted-navigation.test.ts:26
↓ 16 callersFunctionbuildContext
()
kun/tests/image-gen-tool-provider.test.ts:31
↓ 16 callersFunctioncatCls
(c: SettingsCategory)
src/renderer/src/components/SettingsSidebar.tsx:17
↓ 16 callersFunctioncreateChildAgentExecutor
(options: ChildAgentExecutorOptions)
kun/src/delegation/child-agent-executor.ts:64
↓ 16 callersFunctiondescribeNodeOutput
(node: WorkflowNodeV1)
src/shared/workflow-output-descriptors.ts:20
↓ 16 callersFunctionemptyUsageSnapshot
()
kun/src/contracts/usage.ts:136
↓ 16 callersFunctionformatDesignContextLines
(ctx: DesignContext | undefined)
src/renderer/src/design/design-context.ts:226
↓ 16 callersFunctionformatPx
(value: number)
src/renderer/src/design/design-element-metrics.ts:73
↓ 16 callersFunctioninterpolate
(template: string, payload: WorkflowPayload, scope?: InterpScope)
src/main/workflow-runtime.ts:289
↓ 16 callersFunctionisHttpsUrl
(url: unknown)
src/renderer/src/components/PluginMarketplaceView.tsx:155
↓ 16 callersFunctionmakeSink
()
src/renderer/src/agent/kun-mapper.test.ts:6
↓ 16 callersFunctionnormalizeText
(value: unknown)
src/renderer/src/sdd/sdd-draft-store.ts:79
↓ 16 callersFunctionnormalizeToolPath
(value: string)
kun/src/adapters/tool/builtin-tool-utils.ts:696
↓ 16 callersMethodnoteGoalTurnSettled
* Record that a goal turn settled without finishing the goal and schedule a * backoff resume. Covers both interrupted turns (model/network/tool err
kun/src/loop/goal-resume-coordinator.ts:97
↓ 16 callersFunctionpublishRuntimeStatus
(status: Omit<KunRuntimeStatus, 'at'>)
src/main/index.ts:799
↓ 16 callersFunctionreadSddThreadRegistry
( storage: BrowserStorageLike | null = browserStorage() )
src/renderer/src/sdd/sdd-thread-registry.ts:121
↓ 16 callersFunctionregisterAppIpcHandlers
(options: RegisterAppIpcHandlersOptions)
src/main/ipc/register-app-ipc-handlers.ts:412
↓ 16 callersFunctionrequestWriteInfographic
( settings: AppSettingsV1, request: WriteInfographicRequest, options: { client?: ImageGenClient } = {} )
src/main/services/write-infographic-service.ts:125
↓ 16 callersFunctionrequestWriteInlineCompletion
( settings: AppSettingsV1, request: WriteInlineCompletionRequest )
src/main/services/write-inline-completion-service.ts:791
↓ 16 callersFunctionsafeSize
(size: number, fallback: number)
src/renderer/src/design/canvas/canvas-viewport-store.ts:33
↓ 16 callersFunctionshortcut
(commandId: KeyboardShortcutCommandId)
src/renderer/src/components/WindowsTitleBar.tsx:79
↓ 16 callersFunctionwarnSqlite
(action: string, error: unknown)
kun/src/adapters/hybrid/hybrid-thread-store.ts:1366
↓ 15 callersFunctionasString
(value: unknown)
src/main/schedule-runtime-helpers.ts:186
↓ 15 callersFunctionbuildImageGenToolProviders
( config: KunCapabilitiesConfig['imageGen'] | undefined, options: ImageGenToolProviderOptions = {} )
kun/src/adapters/tool/image-gen-tool-provider.ts:163
↓ 15 callersFunctioncommand
(desktopCommand: DesktopCommand)
src/renderer/src/components/WindowsTitleBar.tsx:77
↓ 15 callersFunctioncomparable
(path: string)
src/main/services/skill-service.test.ts:284
↓ 15 callersFunctioncomputeRotation
( startAngleFromPivot: number, currentAngleFromPivot: number, startRotation: number, modifiers: { shif
src/renderer/src/design/canvas/canvas-rotate.ts:24
↓ 15 callersFunctioncreate
(state)
src/renderer/src/write/markdown-live-preview.ts:524
↓ 15 callersFunctioncreateRuntime
( options: Parameters<typeof SkillRuntime.create>[1] = {}, skillsOverride: Record<string, unknown> = {
kun/tests/skill-runtime.test.ts:455
↓ 15 callersFunctioncreateSettings
(patch: Partial<AppSettingsV1['write']['inlineCompletion']> = {})
src/main/services/write-inline-completion-service.test.ts:27
↓ 15 callersFunctionctx
(threadId = 't1')
kun/src/adapters/tool/task-graph-tool.test.ts:8
↓ 15 callersFunctionexecuteCreatePlanTool
( args: Record<string, unknown>, context: ToolHostContext, options: CreatePlanAdapterOptions = {} )
kun/src/adapters/tool/create-plan-tool.ts:254
↓ 15 callersFunctionfinite
(n: number, fallback = 0)
src/renderer/src/design/canvas/canvas-placement.ts:8
↓ 15 callersFunctionmakeCoordinator
( overrides: { activeGoalKey?: () => string | null busy?: () => boolean maxNoProgressAttempts?:
kun/tests/goal-resume-coordinator.test.ts:30
↓ 15 callersFunctionmakeTempRoot
()
src/main/legacy-data-migration.test.ts:16
↓ 15 callersFunctionnormalizeUiPluginManifest
(raw: unknown)
src/shared/ui-plugin.ts:117
↓ 15 callersFunctionnormalizeWorkspaceRoot
(value: string | undefined | null)
src/renderer/src/sdd/sdd-draft-store.ts:71
↓ 15 callersFunctionnumberArg
(value: unknown)
kun/src/adapters/tool/design-canvas-tool.ts:577
↓ 15 callersFunctionpass
(message)
scripts/verify-apple-signing.cjs:67
↓ 15 callersFunctionregisterOptions
(overrides: Partial<Parameters<typeof import('./register-app-ipc-handlers').registerAppIpcHandlers>[0]> = {})
src/main/ipc/register-app-ipc-handlers.test.ts:65
↓ 15 callersFunctionselectedShapeId
()
src/renderer/src/design/canvas/tools/create-shape-tools.test.ts:57
↓ 15 callersMethodsendFeishuMessage
( bridge: LarkChannel, to: string, input: SendInput, options: SendOptions, context: Record
src/main/claw-runtime.ts:1309
↓ 15 callersFunctionsettingsWithImageGen
(overrides: Record<string, unknown> = {})
src/main/services/write-infographic-service.test.ts:15
↓ 15 callersFunctionshouldCapturePrototypeNavigationHref
(value: string, baseUrl: string)
src/renderer/src/design/prototype-player/routing.ts:323
↓ 15 callersMethodstatus
(workspace: string)
kun/src/ports/workspace-inspector.ts:9
↓ 14 callersFunctionappendTurnItem
(turn: TurnEntity, item: TurnItem)
kun/src/domain/turn.ts:54
↓ 14 callersFunctionbuildService
()
kun/tests/thread-service.test.ts:17
↓ 14 callersFunctioncleanup
()
src/main/codex-auth.ts:288
↓ 14 callersFunctioncompletionAction
( text: string, kind: Extract<WriteInlineCompletionMode, 'short' | 'long'> = 'short' )
src/main/services/write-inline-completion-service.ts:618
↓ 14 callersMethoddestroy
()
src/renderer/src/write/inline-completion/codemirror.ts:432
↓ 14 callersFunctiondetectWriteBlockTypeFromLine
(line: string)
src/renderer/src/write/block-type.ts:37
↓ 14 callersFunctionemitGuiUpdateState
(state: GuiUpdateState)
src/main/gui-updater.ts:399
↓ 14 callersFunctionemptyWriteThreadRegistry
()
src/renderer/src/write/write-thread-registry.ts:25
↓ 14 callersFunctionfail
(message)
scripts/verify-apple-signing.cjs:62
↓ 14 callersMethodfinishTurn
Finish the turn lifecycle (turns.finishTurn).
kun/src/runtime/agent-sdk/agent-sdk-runtime.ts:116
↓ 14 callersFunctionformatClawInstallError
( message: string, t: (k: string, opts?: Record<string, unknown>) => string )
src/renderer/src/components/chat/SidebarClawDialogHelpers.ts:59
↓ 14 callersMethodgetItem
(key: string)
src/renderer/src/lib/ikun-mode.test.ts:11
↓ 14 callersFunctioninvocationInputRecord
(input: unknown)
src/renderer/src/design/tool-protocol/protocol-types.ts:20
↓ 14 callersFunctionisObj
(v: unknown)
src/renderer/src/design/canvas/canvas-persistence.ts:21
↓ 14 callersFunctionisPlanClarifyingQuestion
(text: string)
kun/src/loop/agent-loop.ts:398
↓ 14 callersFunctionkunThreadPath
(threadId: string)
src/shared/kun-endpoints.ts:61
↓ 14 callersFunctionlanguageIdForFile
(filePath: string)
kun/src/adapters/tool/lsp-servers.ts:186
↓ 14 callersFunctionlatestJournalEntry
()
src/renderer/src/design/tool-protocol/ops-executor.ts:24
↓ 14 callersFunctionlintDesignSystem
( doc: CanvasDocument, system: DesignSystem, options?: LintDesignSystemOptions )
src/renderer/src/design/canvas/design-lint.ts:80
↓ 14 callersFunctionmakeSinkHarness
(overrides: Partial<ChatState> = {})
src/renderer/src/store/chat-store-runtime.test.ts:22
↓ 14 callersFunctionminimaxM2ChatProfile
()
src/shared/model-provider-presets.ts:836
↓ 14 callersFunctionresolveTargetPathWithinWorkspace
(rawPath: string, workspaceRoot?: string)
src/main/services/workspace-paths.ts:154
↓ 14 callersFunctionrun
(command, args, options = {})
scripts/verify-apple-signing.cjs:118
↓ 14 callersFunctionruntimeSettingsApplyMode
(prev: AppSettingsV1, next: AppSettingsV1)
src/main/runtime-settings-apply-mode.ts:34
↓ 14 callersFunctionshouldRouteCodePromptToCanvas
(text: string)
src/renderer/src/design/canvas/code-canvas.ts:124
↓ 14 callersMethodstart
(meta: LlmDebugRoundMeta)
kun/src/services/llm-debug-recorder.ts:53
↓ 13 callersFunctionarmBusyWatchdog
( set: ChatStoreSet, get: ChatStoreGet, options: BusyWatchdogOptions )
src/renderer/src/store/chat-store-schedulers.ts:52
↓ 13 callersFunctionartifact
(id: string, kind: DesignArtifact['kind'])
src/renderer/src/design/design-workspace-store.test.ts:16
↓ 13 callersFunctionartifact
(id: string, title: string, extra: Partial<DesignArtifact> = {})
src/renderer/src/design/canvas/prototype-flow.test.ts:8
↓ 13 callersFunctionbucket
(date: string, totalTokens: number, turns = 1)
src/renderer/src/components/chat/InitialSessionUsageHeatmap.test.ts:13
↓ 13 callersFunctionbuildCodeCanvasTurnPrompt
(options: { workspaceRoot: string text?: string canvasSnapshot?: CanvasSnapshot designContext?: Design
src/renderer/src/design/design-turn-prompt/code-and-image.ts:28
↓ 13 callersFunctionbuildContext
(overrides: Partial<ToolHostContext> = {})
kun/tests/capability-registry.test.ts:7
↓ 13 callersFunctionbuildHarness
(options: { activeThreadId?: string | null createThreadSucceeds?: boolean initialGoal?: ThreadGoal | nul
src/renderer/src/store/chat-store-maintenance-actions.test.ts:91
↓ 13 callersFunctionbuildInitialSetupSettings
( settings: AppSettingsV1, drafts: InitialSetupDrafts, selection: Pick<InitialSetupSelection, 'presetId'
src/renderer/src/components/initial-setup-save.ts:135
↓ 13 callersFunctioncall
(toolName: string, args: Record<string, unknown> = {})
kun/tests/hooks.test.ts:21
↓ 13 callersFunctionconfirmDialog
(message: string, detail?: string)
src/renderer/src/lib/confirm-dialog.ts:13
↓ 13 callersFunctioncontext
(guiDesignCanvas = true)
kun/src/adapters/tool/design-canvas-tool.test.ts:16
↓ 13 callersFunctioncreateMockProcess
( onWrite?: (chunk: string, proc: MockProcess) => void )
kun/src/adapters/tool/lsp-client.test.ts:36
↓ 13 callersFunctioncreateRunningAppFrameShape
(options: CreateRunningAppFrameOptions)
src/renderer/src/design/canvas/running-app-frame.ts:50
↓ 13 callersFunctioncreateRuntime
(initial: AppSettingsV1, runtimeRequest = vi.fn())
src/main/schedule-runtime.test.ts:135
↓ 13 callersFunctioncreateStore
(overrides: Partial<MemoryCapabilityConfig> = {})
kun/tests/memory-store.test.ts:401
↓ 13 callersFunctionexpand
(value: string)
src/renderer/src/lib/settings-home-paths.ts:96
↓ 13 callersFunctionextractPrototypeHashRouteHref
(navigationUrl: string)
src/renderer/src/design/prototype-player/routing.ts:109
↓ 13 callersFunctionflushLiveBlocks
(state: ChatState, base: Partial<ChatState> = {})
src/renderer/src/store/chat-store-runtime.ts:348
↓ 13 callersMethodfork
(threadId: string, options: ForkThreadOptions = {})
kun/src/services/thread-service.ts:383
↓ 13 callersFunctionhookMatchesTool
( hook: Pick<ResolvedHook, 'matcher' | 'toolNames'>, toolName: string )
kun/src/hooks/hook-engine.ts:254
↓ 13 callersFunctionlayer
(type: ShapeType, id: string)
src/renderer/src/design/canvas/canvas-layer-tree.test.ts:11
← previousnext →301–400 of 9,736, ranked by callers