MCPcopy Create free account

hub / github.com/KunAgent/Kun / functions

Functions9,736 in github.com/KunAgent/Kun

↓ 13 callersFunctionmapImageSize
( aspectRatio: string | undefined, imageSize: string | undefined, defaultSize: string | undefined )
kun/src/adapters/tool/image-gen-tool-provider.ts:128
↓ 13 callersFunctionmarkWriteThread
( workspaceRoot: string, threadId: string, registry: WriteThreadRegistry = readWriteThreadRegistry() )
src/renderer/src/write/write-thread-registry.ts:246
↓ 13 callersFunctionminimaxImageDimensionFields
( model: string, size: string | undefined )
kun/src/adapters/tool/image-gen-tool-provider.ts:970
↓ 13 callersFunctionmodel
(chunks: ModelStreamChunk[], seen: ModelRequest[] = [])
kun/tests/child-agent-executor.test.ts:19
↓ 13 callersFunctionmodelEntryKey
(kind: ProviderModelKind, modelId: string)
src/renderer/src/components/settings-section-provider-models.tsx:252
↓ 13 callersFunctionmodelKey
(modelId: string)
src/renderer/src/components/provider-model-editor.ts:494
↓ 13 callersFunctionnode
Minimal node builder — the cast keeps the per-kind config literal-friendly for tests.
src/shared/workflow-output-descriptors.test.ts:6
↓ 13 callersFunctionnormalizedClassText
(tag: string)
src/renderer/src/design/html-quality/interaction-and-accessibility.ts:352
↓ 13 callersFunctionparseSddRequirementBlocks
(markdown: string)
src/shared/sdd-trace.ts:92
↓ 13 callersFunctionpatchProviderProfile
( item: ModelProviderProfileV1, transform: (item: ModelProviderProfileV1) => ModelProviderProfileV1
src/renderer/src/components/settings-section-providers.tsx:863
↓ 13 callersFunctionpng
(width: number, height: number)
kun/tests/image-gen-tool-provider.test.ts:776
↓ 13 callersFunctionreadWriteThreadRegistry
(storage: BrowserStorageLike | null = browserStorage())
src/renderer/src/write/write-thread-registry.ts:134
↓ 13 callersMethodreconcile
* Recompute derived states: a pending task whose deps all succeeded becomes * `ready`; one with a failed/cancelled/blocked/missing dep becomes `blo
kun/src/tasks/task-graph.ts:151
↓ 13 callersMethodrunTask
(_taskId: string)
src/main/claw-runtime.ts:561
↓ 13 callersFunctionsaveActiveSddDraftToDisk
()
src/renderer/src/sdd/sdd-draft-actions.ts:79
↓ 13 callersFunctionsetScreenCreationFactory
(fn: ScreenCreationFactory | null)
src/renderer/src/design/canvas/screen-artifact-bridge.ts:42
↓ 13 callersFunctionshouldAutoResizeHtmlFrame
({ sizeMode }: { sizeMode?: 'auto' | 'manual' | 'manual-width-auto-height' role?: DesignArtifactFoundati
src/renderer/src/components/design/canvas/html-frame/html-frame-helpers.ts:386
↓ 13 callersFunctionsnippetOf
(line: string)
kun/src/quality/rules.ts:77
↓ 13 callersFunctionupdateModelProvider
(id: string, patch: Partial<ModelProviderProfileV1>)
src/renderer/src/components/settings-section-providers.tsx:874
↓ 13 callersFunctionupdateSpeechToText
(patch: Record<string, unknown>)
src/renderer/src/components/settings-section-speech-to-text.tsx:180
↓ 13 callersFunctionwriteJson
(res: ServerResponse, status: number, body: unknown)
src/main/claw-runtime-helpers.ts:567
↓ 12 callersFunctionaddLabel
( foundation: TemplateFoundation, text: string, x: number, y: number, parentId: string, affectedId
src/renderer/src/design/canvas/design-system-template/board-builders.ts:389
↓ 12 callersFunctionaddRect
(x: number, y: number, w = 100, h = 80, parentId?: string)
src/renderer/src/design/canvas/shape-ops-batch.test.ts:40
↓ 12 callersFunctionasRecord
(value: unknown)
src/main/weixin-bridge-runtime.ts:255
↓ 12 callersFunctionbaseEvent
(overrides: Partial<RuntimeEvent> & Pick<RuntimeEvent, 'kind'>)
kun/tests/runtime-event-reducer.test.ts:9
↓ 12 callersFunctionbuildContext
(workspace: string)
kun/tests/mcp-tool-provider.test.ts:28
↓ 12 callersFunctionbuildDesignGraphFromCanvasDocument
( document: CanvasDocument, options: BuildDesignGraphOptions )
src/renderer/src/design/graph/design-graph-from-canvas.ts:101
↓ 12 callersFunctionbuildHarness
(fetchModelsResult: FetchModelsResult)
src/renderer/src/store/chat-store-app-actions.test.ts:42
↓ 12 callersFunctionbuildMcpConfig
( id: string, command: string, args: string[], options?: Parameters<typeof buildStdioMcpServer>[2] )
src/renderer/src/components/PluginMarketplaceView.tsx:352
↓ 12 callersFunctionbuildWebToolProviders
( config: KunCapabilitiesConfig['web'] | undefined, options: WebToolProviderOptions = {} )
kun/src/adapters/tool/web-tool-provider.ts:38
↓ 12 callersFunctionchannel
(enabled: boolean, provider: ClawImChannelV1['provider'] = 'feishu')
src/renderer/src/components/chat/ConnectPhoneView.test.ts:19
↓ 12 callersFunctionchannel
(patch: Partial<ClawImChannelV1> = {})
src/renderer/src/components/schedule/ScheduleTasksView.test.ts:41
↓ 12 callersFunctionclearInstallTimers
()
src/renderer/src/components/chat/ConnectPhoneView.tsx:231
↓ 12 callersFunctionclearedThreadSelection
()
src/renderer/src/store/chat-store-runtime-helpers.ts:194
↓ 12 callersFunctioncomparablePath
(path: string)
src/main/services/skill-service.ts:556
↓ 12 callersFunctioncreateTurnRecord
(input: { id: string threadId: string prompt: string model?: string providerId?: string reasoningE
kun/src/domain/turn.ts:7
↓ 12 callersFunctionexpandHomePathForSettingsUse
( value: string, homeDir = currentHomeDir(), platform = currentPlatform() )
src/renderer/src/lib/settings-home-paths.ts:36
↓ 12 callersFunctionexpectOk
(result: ReturnType<typeof parseMcpConfigText>)
src/renderer/src/components/mcp/mcp-config-form.test.ts:20
↓ 12 callersFunctionfakeClient
()
src/main/services/write-infographic-service.test.ts:34
↓ 12 callersFunctionfindLanguageServerForFile
(filePath: string)
kun/src/adapters/tool/lsp-servers.ts:180
↓ 12 callersFunctiongetShape
(id: string)
src/renderer/src/design/canvas/design-system.test.ts:311
↓ 12 callersFunctioninfo
(message)
scripts/verify-apple-signing.cjs:71
↓ 12 callersMethodinspect
(call: ToolCallLike)
kun/src/loop/tool-storm-breaker.ts:34
↓ 12 callersFunctionisHtmlEmbedSrc
(src: string | undefined)
src/shared/write-prototype.ts:19
↓ 12 callersFunctionisModelVisibleImageOutput
(output: unknown)
kun/src/loop/tool-result-image.ts:89
↓ 12 callersFunctionitemCreatedAt
(item: CoreTurnItemJson)
src/renderer/src/agent/kun-mapper.ts:132
↓ 12 callersFunctionlocalWhisperModelById
(modelId: unknown)
src/shared/local-whisper.ts:201
↓ 12 callersFunctionmergeWorkflowSettings
( current: WorkflowSettingsV1, patch: WorkflowSettingsPatchV1 | undefined )
src/shared/app-settings-workflow.ts:758
↓ 12 callersFunctionmodelSupportsImageInput
( profile: Pick<ModelProviderModelProfileV1, 'inputModalities'> | undefined )
src/shared/app-settings-provider.ts:338
↓ 12 callersFunctionnormalizeAccountId
(value: string)
src/main/weixin-bridge-runtime.ts:306
↓ 12 callersFunctionnormalizeModelProviderSettings
( input: ModelProviderSettingsPatchV1 | undefined )
src/shared/app-settings-provider.ts:97
↓ 12 callersFunctionnormalizeText
(value: unknown)
src/renderer/src/plan/plan-store.ts:75
↓ 12 callersFunctionnormalizeWriteSettings
(input: WriteSettingsPatchV1 | undefined)
src/shared/app-settings-write.ts:436
↓ 12 callersFunctionparsePagesPlan
(text: string, opts?: { max?: number })
src/renderer/src/design/design-pages.ts:250
↓ 12 callersFunctionparseWriteMarkdown
(markdown: string)
src/renderer/src/write/tiptap/markdown-manager.ts:44
↓ 12 callersFunctionpct
(value: number)
src/renderer/src/components/design/canvas/html-frame/HtmlFrameGeneratingCanvas.tsx:114
↓ 12 callersFunctionpickString
(value: unknown)
kun/src/adapters/tool/media-gen-tool-provider.ts:947
↓ 12 callersFunctionpng
(width: number, height: number)
kun/tests/attachment-store.test.ts:656
↓ 12 callersFunctionposForProjectedOffset
( doc: PMNode, projection: WriteRichMarkdownProjection, offset: number )
src/renderer/src/write/tiptap/markdown-projection.ts:272
↓ 12 callersFunctionproviderModelIds
( provider: ModelProviderProfileV1, kind: ProviderModelKind )
src/renderer/src/components/provider-model-editor.ts:144
↓ 12 callersFunctionreadRememberedSddDraft
(workspaceRoot: string)
src/renderer/src/sdd/sdd-draft-store.ts:252
↓ 12 callersFunctionreadThreadWorktreeRegistry
( storage: BrowserStorageLike | null = browserStorage() )
src/renderer/src/lib/thread-worktree-registry.ts:84
↓ 12 callersMethodready
()
kun/src/adapters/hybrid/hybrid-thread-store.ts:119
↓ 12 callersFunctionredact
(value: unknown, key = '')
src/shared/secret-redaction.ts:13
↓ 12 callersFunctionresolvePrototypeViewportFrame
( artifact: DesignArtifact | null | undefined, fallbackTarget?: unknown )
src/renderer/src/design/prototype-player/routing.ts:304
↓ 12 callersFunctionroleFromTokenName
(name: string)
src/renderer/src/design/design-tokens.ts:157
↓ 12 callersFunctionrunPreToolUseHooks
( hooks: readonly ResolvedHook[] | undefined, input: { call: ToolCallLike; context: ToolHookContext } )
kun/src/hooks/hook-engine.ts:128
↓ 12 callersFunctionselection
(overrides: Partial<WriteEditorSelectionState> = {})
src/renderer/src/write/write-selection.test.ts:19
↓ 12 callersFunctionshapeBounds
(shape: CanvasShape)
src/renderer/src/design/canvas/canvas-types.ts:455
↓ 12 callersFunctionstringArg
(value: unknown)
kun/src/adapters/tool/design-canvas-tool.ts:573
↓ 12 callersFunctionstringField
(value: unknown)
src/renderer/src/design/design-pages-run/orchestration-support.ts:252
↓ 12 callersFunctiontakePendingClawFeishuMirror
( turnId: string | null | undefined )
src/renderer/src/store/chat-store-runtime.ts:126
↓ 12 callersFunctionthread
(id: string, title = id)
src/renderer/src/lib/thread-fork-registry.test.ts:26
↓ 12 callersFunctionthread
(id: string, updatedAt: string, archived = false)
src/renderer/src/design/design-thread-workbench.test.ts:15
↓ 12 callersFunctionupdateDraft
(patch: Partial<ScheduledTaskV1>)
src/renderer/src/components/schedule/ScheduleTasksView.tsx:896
↓ 12 callersMethodupdateItem
(threadId: string, itemId: string, patch: Partial<TurnItem>)
kun/src/ports/session-store.ts:37
↓ 12 callersFunctionusageNumber
(value: unknown)
src/renderer/src/hooks/use-daily-usage.ts:74
↓ 12 callersFunctionusageNumber
(value: unknown)
src/renderer/src/hooks/use-model-usage.ts:66
↓ 12 callersFunctionwatchTurnCompletionNotification
(threadId: string, now = Date.now())
src/renderer/src/store/chat-store-runtime.ts:74
↓ 12 callersFunctionwriteThread
Create a thread folder with a minimal metadata.jsonl so it hydrates like the real store.
src/main/services/legacy-session-import-service.test.ts:20
↓ 11 callersFunctionapplyToActiveDoc
( state: DesignWorkspaceState, nextArtifacts: (artifacts: DesignArtifact[]) => DesignArtifact[], nextAct
src/renderer/src/design/design-workspace-store/helpers.ts:65
↓ 11 callersFunctionbaseCtx
()
src/renderer/src/components/settings-section-agents.test.ts:271
↓ 11 callersFunctionbuildDesignAgentActions
(input: BuildDesignAgentActionsInput)
src/renderer/src/design/agent-actions/design-agent-actions.ts:191
↓ 11 callersFunctionbuildDesignModeSurfaceManifest
( options: BuildDesignModeSurfaceManifestOptions )
src/renderer/src/design/design-mode/design-mode-surface.ts:255
↓ 11 callersFunctionbuildHarness
()
src/renderer/src/store/chat-store-thread-actions.test.ts:28
↓ 11 callersFunctionbuildHtmlArtifactSyncKey
( artifacts: readonly DesignArtifact[], designTarget: DesignTarget | undefined )
src/renderer/src/design/design-board.ts:61
↓ 11 callersFunctionbuildSettings
( workflows: WorkflowV1[], modules: WorkflowCustomModuleV1[] = [], patch?: SettingsPatch )
src/main/workflow-runtime.nodes.test.ts:100
↓ 11 callersFunctionbuildSidebarWorkspaceGroups
(options: { threads: NormalizedThread[] searchQuery: string showArchived: boolean workspaceRoot: strin
src/renderer/src/components/chat/SidebarProjectsSection.tsx:252
↓ 11 callersFunctionchatForm
( target: ModelProviderProfileV1, overrides: Partial<ProviderModelForm> = {} )
src/renderer/src/components/provider-model-editor.test.ts:31
↓ 11 callersFunctionclipText
(text: string, max = 360)
kun/src/loop/context-compactor.ts:448
↓ 11 callersFunctioncompactHomePathForSettingsDisplay
( value: string, homeDir = currentHomeDir(), platform = currentPlatform() )
src/renderer/src/lib/settings-home-paths.ts:19
↓ 11 callersFunctioncreateSecretEncryptor
(options: CreateKeyProviderOptions)
kun/src/security/secret-store.ts:241
↓ 11 callersFunctioncreateSelectTool
()
src/renderer/src/design/canvas/tools/select-tool.ts:21
↓ 11 callersFunctioncreateSettings
(binaryPath: string)
src/main/kun-process.test.ts:35
↓ 11 callersFunctioncreateStore
(initial: AppSettingsV1)
src/main/workflow-runtime.nodes.test.ts:133
↓ 11 callersFunctiondefaultPreviewNodeSizeForDesignTarget
(target: unknown)
src/renderer/src/design/design-context.ts:72
↓ 11 callersFunctiondelta
(overrides: Partial<UsageSnapshot>)
kun/src/domain/usage.test.ts:6
↓ 11 callersFunctiondescribeContextWindowTokens
(tokens: number)
src/renderer/src/components/provider-model-editor.ts:394
↓ 11 callersFunctiondiffNumber
(current: number, previous: number)
kun/src/adapters/hybrid/hybrid-thread-store.ts:1283
↓ 11 callersFunctiondiffNumber
(current: number, previous: number)
kun/src/server/routes/usage.ts:302
← previousnext →401–500 of 9,736, ranked by callers