MCPcopy Create free account

hub / github.com/KunAgent/Kun / functions

Functions9,736 in github.com/KunAgent/Kun

↓ 9 callersFunctionresolveConfiguredApiKey
(settings: AppSettingsV1)
src/main/index.ts:176
↓ 9 callersFunctionresolveKeyboardShortcutBindings
( settings?: Partial<KeyboardShortcutsConfigV1> | null, platform?: KeyboardShortcutPlatform | null )
src/shared/keyboard-shortcuts.ts:186
↓ 9 callersFunctionresolveUiPluginFigure
( figures: UiPluginRuntimeFigures | null | undefined, slots: readonly UiPluginFigureSlot[] )
src/shared/ui-plugin.ts:305
↓ 9 callersFunctionsendMessage
()
src/renderer/src/design/design-pages-dispatch.test.ts:17
↓ 9 callersFunctionsendRequest
(session: LspSession, method: string, params: Record<string, unknown> | null)
kun/src/adapters/tool/lsp-client.ts:330
↓ 9 callersFunctionsetRuntimeRequest
(runtimeRequest: RuntimeRequest)
src/renderer/src/hooks/use-thread-usage.test.ts:11
↓ 9 callersFunctionshellConfig
( platform: NodeJS.Platform = process.platform, lookup: SpawnSyncLike = spawnSync, fileExists: (path: st
kun/src/adapters/tool/builtin-tool-utils.ts:307
↓ 9 callersFunctionshellSpawnEnv
( env: NodeJS.ProcessEnv = process.env, platform: NodeJS.Platform = process.platform )
kun/src/adapters/tool/builtin-tool-utils.ts:348
↓ 9 callersFunctionsnapshot
(graph: TaskGraph)
kun/src/adapters/tool/task-graph-tool.ts:30
↓ 9 callersFunctionstaticHeadingTexts
(inner: string)
src/renderer/src/design/html-quality/interaction-and-accessibility.ts:398
↓ 9 callersFunctionsummarizeToolBlock
( block: ToolBlock, t: (key: string, opts?: Record<string, unknown>) => string )
src/renderer/src/components/chat/message-timeline-process.tsx:1070
↓ 9 callersFunctionsurface
( id: DesignModeSurfaceId, status: DesignModeSurfaceStatus, healthScore: number, toolIds: string[],
src/renderer/src/design/design-mode/design-mode-surface.ts:131
↓ 9 callersFunctiontagCount
(html: string, tag: string)
src/renderer/src/design/generator-lane/openui-html-normalizer.ts:132
↓ 9 callersFunctionthread
(id: string, workspace: string)
src/renderer/src/write/write-thread-registry.test.ts:31
↓ 9 callersMethodthreadDir
(threadId: string)
kun/src/adapters/file/file-session-store.ts:200
↓ 9 callersFunctiontokenPlanPresetForProfileId
(id: string)
src/renderer/src/components/settings-section-providers.tsx:138
↓ 9 callersFunctionupdateForm
(patch: Partial<ProviderModelForm>)
src/renderer/src/components/settings-section-provider-models.tsx:304
↓ 9 callersFunctionusageNumber
(value: unknown)
src/renderer/src/hooks/use-thread-usage.ts:31
↓ 9 callersFunctionuseDesignAgentActionRunner
( onSeedPrompt?: (prompt: string) => void )
src/renderer/src/components/design/useDesignAgentActionRunner.ts:11
↓ 9 callersFunctionvalidateFileReference
( target: FileReferenceTarget, workspaceRoot?: string )
src/renderer/src/lib/file-reference-validation.ts:68
↓ 9 callersFunctionvalidateProviderModelForm
( form: ProviderModelForm, provider: ModelProviderProfileV1 )
src/renderer/src/components/provider-model-editor.ts:220
↓ 9 callersFunctionvisionContext
(image: boolean)
kun/src/adapters/tool/computer-use-tool-provider.test.ts:32
↓ 9 callersFunctionwaitForKunHealth
(settings: AppSettingsV1, timeoutMs: number)
src/main/index.ts:708
↓ 9 callersFunctionwithDescendants
( objects: Record<string, CanvasShape>, ids: Iterable<string> )
src/renderer/src/design/canvas/canvas-shape-store.ts:71
↓ 9 callersFunctionwithFileMutationQueue
( filePath: string, fn: () => Promise<T> )
kun/src/adapters/tool/file-mutation-queue.ts:145
↓ 9 callersFunctionwithTool
(draft: StepDraft)
src/renderer/src/design/design-mode/design-mode-workflow.ts:74
↓ 9 callersFunctionwriteSelectionStatesEqual
( a: WriteEditorSelectionState, b: WriteEditorSelectionState )
src/renderer/src/write/write-selection.ts:80
↓ 8 callersFunctionaddShape
(doc: CanvasDocument, item: CanvasShape, parentId = doc.rootId)
src/renderer/src/design/canvas/canvas-minimap.test.ts:19
↓ 8 callersFunctionaddShapeForCreation
(shape: CanvasShape, parentId?: string)
src/renderer/src/design/canvas/tools/creation-undo.ts:13
↓ 8 callersFunctionalignShapes
( shapes: BoundsWithId[], axis: AlignAxis, target?: Rect )
src/renderer/src/design/canvas/canvas-align.ts:22
↓ 8 callersFunctionappendUrlPath
(baseUrl: string, path: string)
src/shared/openai-compat-url.ts:11
↓ 8 callersFunctionapplyUiModeDom
(mode: string, runtime: UiPluginRuntime | null)
src/renderer/src/store/ui-plugin-store.ts:50
↓ 8 callersFunctionapplyWriteBlockTypeToLines
(lines: string[], type: WriteBlockType)
src/renderer/src/write/block-type.ts:76
↓ 8 callersFunctionartifactId
(content: string | Buffer)
kun/src/artifacts/artifact-summary.ts:14
↓ 8 callersFunctionbeginPendingInfographic
( kind: PendingInfographicKind = 'infographic' )
src/renderer/src/write/infographic-pending.ts:29
↓ 8 callersFunctionboardArtifact
()
src/renderer/src/design/design-turn-prompt/target.test.ts:31
↓ 8 callersFunctionbuildContextCapacity
(input: ContextCapacityInput)
src/renderer/src/lib/context-capacity.ts:168
↓ 8 callersFunctionbuildDesignPreviewSkeleton
(relativePath: string)
src/renderer/src/design/design-preview-file.ts:180
↓ 8 callersFunctionbuildPrototypeHref
(fromHtmlPath: string | undefined, toHtmlPath: string)
src/renderer/src/design/design-turn-prompt/shared.ts:184
↓ 8 callersFunctionbuildPrototypeLinksForPage
( entry: DesignPagePlanEntry, currentRelativePath: string, plannedPages: PlannedPrototypePage[] )
src/renderer/src/design/design-pages.ts:80
↓ 8 callersFunctionbuildTool
(configOverrides = {}, controllerOverrides = {})
kun/src/adapters/tool/computer-use-tool-provider.test.ts:50
↓ 8 callersFunctioncanvasDocumentKey
(workspaceRoot: string, artifactId: string, baseDir?: string)
src/renderer/src/design/canvas/canvas-persistence.ts:13
↓ 8 callersMethodcapture
()
kun/src/adapters/computer-use/host-control.ts:228
↓ 8 callersFunctioncheck
(command: VerificationCommand, exitCode = 0, output = '')
kun/src/adapters/tool/builtin-verify-tool.test.ts:50
↓ 8 callersFunctionclamp01
(n: number)
kun/src/quality/color.ts:25
↓ 8 callersFunctionclawInstallTargetLabel
( t: (k: string, opts?: Record<string, unknown>) => string, target: ClawInstallTarget )
src/renderer/src/components/chat/SidebarClawDialogHelpers.ts:247
↓ 8 callersMethodclear
()
kun/src/services/llm-debug-recorder.ts:98
↓ 8 callersFunctionclearPoll
()
src/renderer/src/components/settings-section-providers.tsx:354
↓ 8 callersFunctioncollectCanvasImageAssets
(document: CanvasDocument)
src/renderer/src/design/assets/design-asset-inventory.ts:36
↓ 8 callersFunctioncollectiveBounds
(shapes: BoundsWithId[])
src/renderer/src/design/canvas/canvas-align.ts:102
↓ 8 callersFunctioncommitCreatedShapeUndo
( state: CreatedShapeUndo | null, label = 'create-shape' )
src/renderer/src/design/canvas/tools/creation-undo.ts:30
↓ 8 callersFunctioncompactNumbers
(values: Array<number | null | undefined>)
kun/src/benchmark/replay-benchmark.ts:873
↓ 8 callersFunctioncompactStrings
(values: unknown)
src/shared/app-settings-normalizers.ts:16
↓ 8 callersFunctioncompactText
(text = '')
src/renderer/src/write/inline-completion/feedback.ts:32
↓ 8 callersFunctioncomponentCard
( foundation: TemplateFoundation, label: string, x: number, y: number, width: number, height: numb
src/renderer/src/design/canvas/design-system-template/board-builders.ts:244
↓ 8 callersFunctioncomposeFrameworkGuidance
(ids: string[])
src/renderer/src/sdd/pm-skill-frameworks.ts:322
↓ 8 callersFunctioncomposerMenuSupportsModel
( group: Pick<ComposerModelMenuGroup, 'modelProfiles'>, modelId: string )
src/renderer/src/components/chat/FloatingComposerModelPicker.tsx:872
↓ 8 callersFunctioncomputeResizedBounds
( handle: ResizeHandle, start: Rect, dx: number, dy: number, shiftKey = false )
src/renderer/src/design/canvas/canvas-resize.ts:16
↓ 8 callersFunctioncomputeScheduleNextRunAt
(task: ScheduledTaskV1, from: Date)
src/main/schedule-runtime-helpers.ts:165
↓ 8 callersFunctionconfinedPluginPath
(rootDir: string, pluginId: string, relativePath?: string)
src/main/services/ui-plugin-service.ts:40
↓ 8 callersFunctionconnectPhoneProviderForTarget
(target: ClawInstallTarget)
src/renderer/src/components/chat/ConnectPhoneView.tsx:87
↓ 8 callersFunctioncreateApprovalRequest
(input: { id: string threadId: string turnId: string toolName: string summary: string createdAt?:
kun/src/domain/approval.ts:21
↓ 8 callersFunctioncreateBashLocalTool
(options: BashLocalToolOptions = {})
kun/src/adapters/tool/builtin-bash-tool.ts:687
↓ 8 callersFunctioncreateEmptyDesignSystem
()
src/renderer/src/design/canvas/design-system-types.ts:75
↓ 8 callersFunctioncreateReadLocalTool
(options: ReadLocalToolOptions = {})
kun/src/adapters/tool/builtin-read-tool.ts:14
↓ 8 callersFunctioncreateTaskGraphTool
(options: { rootDir?: string } = {})
kun/src/adapters/tool/task-graph-tool.ts:18
↓ 8 callersFunctioncreateThread
( service: ThreadService, request: Request )
kun/src/server/routes/threads.ts:66
↓ 8 callersFunctiondefaultConversationWorkspaceRoot
()
src/renderer/src/lib/workspace-path.ts:52
↓ 8 callersMethoddeleteThread
(threadId: string)
src/renderer/src/agent/types.ts:554
↓ 8 callersFunctiondescribeNetworkError
(error: unknown)
kun/src/adapters/tool/image-gen-tool-provider.ts:55
↓ 8 callersFunctiondetectFrontend
(source: string, options: DetectOptions = {})
kun/src/quality/detect.ts:60
↓ 8 callersFunctiondiagnoseCacheUsage
(input: { usage: Pick<UsageSnapshot, 'promptTokens' | 'cacheHitTokens' | 'cacheMissTokens'> previous?: Cac
kun/src/cache/cache-diagnostics.ts:31
↓ 8 callersFunctiondraft
(overrides: Partial<SddDraftHistoryItem> & Pick<SddDraftHistoryItem, 'id' | 'title'>)
src/renderer/src/components/chat/SidebarProjectsSection.test.ts:44
↓ 8 callersFunctionemptySelection
()
src/renderer/src/write/write-workspace-store-helpers.ts:237
↓ 8 callersFunctionentryKey
(kind: ProviderModelKind, modelId: string)
src/renderer/src/components/provider-model-import-dialog.tsx:38
↓ 8 callersFunctionestimateDeepseekCost
(input: { model: string cacheHitTokens: number cacheMissTokens: number outputTokens: number /** *
kun/src/adapters/model/deepseek-pricing.ts:80
↓ 8 callersFunctionestimateTokens
(text: string)
kun/src/loop/request-history-hygiene.ts:511
↓ 8 callersFunctionextractToolResultImages
(output: unknown)
kun/src/loop/tool-result-image.ts:70
↓ 8 callersFunctionextractUnifiedDiffText
(text: string | undefined)
src/renderer/src/lib/diff-stats.ts:31
↓ 8 callersFunctionfakeClient
()
kun/tests/mcp-tool-provider.test.ts:40
↓ 8 callersFunctionfilterEditableShapeIds
(doc: CanvasDocument, ids: Iterable<string>)
src/renderer/src/design/canvas/canvas-editability.ts:40
↓ 8 callersFunctionformatAddressInput
(url: string)
src/renderer/src/components/DevBrowserPanel.tsx:90
↓ 8 callersFunctionformatTokenCount
(value: number, locale: string)
src/renderer/src/components/chat/InitialSessionUsageHeatmap.tsx:378
↓ 8 callersFunctiongetActiveAgentApiKey
(settings: AppSettingsV1)
src/shared/app-settings-kun.ts:1069
↓ 8 callersFunctiongetByPath
Drill into a value by a dot-path (e.g. "user.name"); empty path returns the value itself.
src/main/workflow-runtime.ts:215
↓ 8 callersFunctiongetLocalWhisperModelStatus
( modelId: unknown = LOCAL_WHISPER_DEFAULT_MODEL_ID )
src/main/services/local-whisper-service.ts:60
↓ 8 callersFunctionguiPlanMatchesContext
( plan: GuiPlanArtifact, workspaceRoot: string, threadId?: string | null )
src/renderer/src/plan/plan-store.ts:226
↓ 8 callersFunctionhexToRgb
(hex: string)
src/renderer/src/design/design-tokens.ts:62
↓ 8 callersFunctionhtmlFrameAutoSizeMeasurementCanWrite
({ artifactKind, sizeMode, previewStatus, parallelStatus, currentRenderableContent }: { artifactKi
src/renderer/src/components/design/canvas/html-frame/use-html-frame-auto-size.ts:83
↓ 8 callersFunctionhtmlFramePreviewAsyncEpochMatches
( captured: HtmlFramePreviewAsyncEpoch | null, current: HtmlFramePreviewAsyncEpoch | null )
src/renderer/src/components/design/canvas/html-frame/html-frame-helpers.ts:314
↓ 8 callersFunctioninstallUiPluginFromDirectory
( userDataDir: string, sourceDir: string )
src/main/services/ui-plugin-service.ts:190
↓ 8 callersFunctionisChatAttachmentUploadEnabled
(input: AttachmentUploadAvailabilityInput)
src/renderer/src/lib/attachment-upload-availability.ts:9
↓ 8 callersFunctionisCurrentLoginRun
(runId: number)
src/renderer/src/components/settings-section-providers.tsx:365
↓ 8 callersFunctionisInternalTemporaryWorkspace
(path?: string)
src/renderer/src/lib/workspace-path.ts:27
↓ 8 callersFunctionisSddDraftRelativePath
(value: string)
src/shared/sdd.ts:23
↓ 8 callersFunctionisWorkspaceTextPreviewPath
(path: string)
src/renderer/src/lib/workspace-text-preview.ts:71
↓ 8 callersFunctionjoinUrl
(base, ...parts)
scripts/publish-r2.mjs:188
↓ 8 callersFunctionjsonText
(value: unknown)
src/renderer/src/design/interop/design-resource-surface.ts:52
↓ 8 callersFunctionkeyboardEventToShortcut
(event: KeyboardShortcutEventLike)
src/shared/keyboard-shortcuts.ts:242
↓ 8 callersFunctionmake
(opts: { agentSdk: string[]; http: string[]; defaultIsAgentSdk: boolean })
kun/src/runtime/agent-sdk/agent-sdk-runtime-factory.test.ts:112
← previousnext →701–800 of 9,736, ranked by callers