MCPcopy Create free account

hub / github.com/KunAgent/Kun / functions

Functions9,736 in github.com/KunAgent/Kun

↓ 6 callersFunctionfakeSdk
(messages: SdkMessage[], onQuery?: (opts: unknown) => void)
kun/src/runtime/agent-sdk/agent-sdk-runtime.test.ts:7
↓ 6 callersFunctionfallbackComposerModel
(pickList: readonly string[], runtimeDefault: string)
src/renderer/src/store/chat-store-helpers.ts:422
↓ 6 callersFunctionfileExists
(path: string)
src/main/services/git-checkpoint-service.ts:123
↓ 6 callersFunctionfileNameFromPath
(path: string)
src/renderer/src/components/WorkspaceFilePreviewPanel.tsx:76
↓ 6 callersFunctionfilterModelId
(models: readonly string[], modelId: string)
src/renderer/src/components/provider-model-editor.ts:476
↓ 6 callersFunctionfinalizeCacheRate
( counters: T, hasTelemetry: boolean )
kun/src/services/usage-service.ts:432
↓ 6 callersFunctionfinish
()
src/renderer/src/design/canvas/tools/linear-tool.ts:73
↓ 6 callersMethodfinish
(round: LlmDebugRound)
kun/src/services/llm-debug-recorder.ts:54
↓ 6 callersFunctionfinishTurn
( turn: TurnEntity, status: Extract<TurnStatus, 'completed' | 'failed' | 'aborted'>, finishedAt?: string
kun/src/domain/turn.ts:85
↓ 6 callersFunctionfixture
()
kun/src/adapters/tool/builtin-verify-tool.test.ts:19
↓ 6 callersFunctionformatFilePathForDisplay
( filePath: string | undefined, workspaceRoot?: string )
src/renderer/src/lib/diff-stats.ts:77
↓ 6 callersFunctiongetFileMentionAtCursor
(input: string, cursor: number)
src/renderer/src/lib/composer-file-references.ts:93
↓ 6 callersFunctiongetGoalPanelDraftObjective
(input: string, goalPanelOpen: boolean)
src/renderer/src/components/chat/floating-composer-commands.ts:71
↓ 6 callersFunctiongetGuiPlanPromptKind
(text: string)
src/renderer/src/plan/plan-prompts.ts:104
↓ 6 callersMethodgetRuntimeInfo
()
src/renderer/src/agent/types.ts:506
↓ 6 callersFunctiongroupTurns
(blocks: ChatBlock[])
src/renderer/src/components/chat/message-timeline-turns.ts:13
↓ 6 callersFunctionhasChartContainerClass
(tag: string)
src/renderer/src/design/html-quality/records-and-charts.ts:392
↓ 6 callersFunctionhasEnabledClawPhoneChannel
( channels: ClawImChannelV1[], provider?: ClawImProvider )
src/renderer/src/components/chat/ConnectPhoneView.tsx:92
↓ 6 callersFunctionhasPrototypePlayback
(artifacts: readonly DesignArtifact[])
src/renderer/src/design/prototype-player/playback.ts:392
↓ 6 callersFunctionhasVisibleFill
(color: string | null | undefined)
src/renderer/src/design/design-element-metrics.ts:94
↓ 6 callersFunctionhitTest
(doc: CanvasDocument, px: number, py: number)
src/renderer/src/design/canvas/canvas-hit-test.ts:74
↓ 6 callersFunctionhtmlArtifact
(id: string, title: string, extra: Partial<DesignArtifact> = {})
src/renderer/src/components/design/canvas/PrototypePlayerOverlay.test.ts:14
↓ 6 callersFunctionhtmlFrameMeasurementEpochMatches
( captured: HtmlFrameMeasurementEpoch | null, current: HtmlFrameMeasurementEpoch | null )
src/renderer/src/components/design/canvas/html-frame/use-html-frame-auto-size.ts:55
↓ 6 callersFunctionhtmlFrameOverlayCanMountAtZoom
(zoom: number)
src/renderer/src/components/design/canvas/html-frame/html-frame-helpers.ts:291
↓ 6 callersFunctionhtmlFrameOverlayPointerEvents
({ panning, interactive, editing }: { panning: boolean interactive: boolean editing: boolean })
src/renderer/src/components/design/canvas/html-frame/html-frame-helpers.ts:278
↓ 6 callersFunctioniconButton
( foundation: TemplateFoundation, icon: string, x: number, y: number, fillToken: string, parentId:
src/renderer/src/design/canvas/design-system-template/board-builders.ts:344
↓ 6 callersFunctionimagePreviewSizingStyle
(zoom: number)
src/renderer/src/components/chat/ImagePreviewLightbox.tsx:27
↓ 6 callersFunctionimportLegacySessions
(input: { destDataDir: string homeDir?: string sourceDir?: string log?: LegacySessionImportLogger })
src/main/services/legacy-session-import-service.ts:143
↓ 6 callersFunctionimportSkillsFromGitHub
( url: string, fetcher: GitHubFetcher = fetch )
src/shared/github-skill-import.ts:207
↓ 6 callersFunctionimportStitchDesignMarkdown
(raw: string)
src/renderer/src/design/design-md-compat.ts:425
↓ 6 callersFunctionindexFallbackCallId
(index: number | undefined, pendingArguments: Map<string, PendingToolCall>)
kun/src/adapters/model/compat-model-client.ts:2088
↓ 6 callersFunctioninitialSetupProfileId
(selection: Pick<InitialSetupSelection, 'presetId' | 'mode'>)
src/renderer/src/components/initial-setup-save.ts:45
↓ 6 callersFunctioninitialWriteMarkdownImageSrc
( src: string | undefined, filePath?: string | null )
src/renderer/src/write/markdown-image.ts:44
↓ 6 callersFunctioninlineCompletionRequestSignature
( context: InlineCompletionRequestContext, mode: WriteInlineCompletionMode )
src/renderer/src/write/inline-completion/codemirror.ts:89
↓ 6 callersFunctioninstallDesignDocument
(artifacts: DesignArtifact[], activeArtifactId: string | null)
src/renderer/src/design/design-board.test-helpers.ts:25
↓ 6 callersFunctioninstallDsGui
(overrides: Partial<Window['kunGui']>)
src/renderer/src/write/write-workspace-file-actions.test.ts:78
↓ 6 callersFunctioninstallLinkedScreenFactory
()
src/renderer/src/design/canvas/shape-ops-batch.test.ts:79
↓ 6 callersFunctionisAcceptableHttpUrl
(value: string)
src/renderer/src/components/settings-section-providers.tsx:288
↓ 6 callersFunctionisClawWorkspacePath
(path?: string)
src/renderer/src/lib/workspace-path.ts:43
↓ 6 callersFunctionisComposerDirectoryReference
( reference: Pick<ComposerFileReference, 'type'> )
src/renderer/src/lib/composer-file-references.ts:73
↓ 6 callersFunctionisDeepSeekHost
(baseUrl: string)
kun/src/adapters/model/model-error-probe.ts:7
↓ 6 callersFunctionisEmptySddAssistantThreadCandidate
(thread: SddThreadLike | null | undefined)
src/renderer/src/sdd/sdd-thread-registry.ts:255
↓ 6 callersFunctionisMcpServerTrusted
(server: McpServerConfig, workspace: string)
kun/src/adapters/tool/mcp-naming.ts:16
↓ 6 callersFunctionisPlanToolContextActive
(context: ToolHostContext | undefined)
kun/src/adapters/tool/create-plan-tool.ts:235
↓ 6 callersFunctionisRecord
(value: unknown)
kun/src/loop/tool-result-image.ts:44
↓ 6 callersFunctionisStr
(v: unknown)
src/renderer/src/design/design-document-persistence.ts:44
↓ 6 callersFunctionisTaskWhitespace
(char: string | undefined)
kun/src/shared/todos.ts:205
↓ 6 callersFunctionisWriteImageFilePath
(path: string)
src/shared/write-text-file.ts:51
↓ 6 callersFunctionisWriteWorkspaceEntry
(entry: WorkspaceEntry)
src/shared/write-text-file.ts:63
↓ 6 callersFunctionisWriteWorkspaceFilePath
(path: string)
src/shared/write-text-file.ts:59
↓ 6 callersFunctionkunSettingsEnvelope
( kun: KunRuntimeSettingsV1 )
src/shared/app-settings-kun.ts:342
↓ 6 callersFunctionlabelForInvocation
(invocation: DesignToolInvocation, fallback: string)
src/renderer/src/design/tool-protocol/protocol-types.ts:26
↓ 6 callersFunctionlistGuiSkills
( settings: AppSettingsV1, workspaceRootOverride?: string )
src/main/services/skill-service.ts:276
↓ 6 callersFunctionlistIndexedWeixinAccountIds
()
src/main/weixin-bridge-runtime.ts:347
↓ 6 callersFunctionlistSddDraftHistory
({ workspaceRoot, listWorkspaceDirectory, readWorkspaceFile, limit = DEFAULT_HISTORY_LIMIT }: ListSddD
src/renderer/src/sdd/sdd-draft-history.ts:164
↓ 6 callersFunctionloadDailyUsage
(range: DailyUsageRange)
src/renderer/src/hooks/use-daily-usage.ts:192
↓ 6 callersFunctionloadGuiUpdaterModule
()
src/main/index.ts:323
↓ 6 callersFunctionloadWorkspaceAgentProfiles
(workspace: string)
kun/src/delegation/workspace-agents.ts:38
↓ 6 callersFunctionmakeGoalTools
(getHarness: () => Harness)
kun/tests/goal-resume.test.ts:30
↓ 6 callersFunctionmakeListEntry
(path: string, root: string, fileStat: FsStats)
kun/src/adapters/tool/builtin-tool-utils.ts:652
↓ 6 callersFunctionmakeRepo
(root: string)
src/main/services/git-discovery.test.ts:20
↓ 6 callersFunctionmakeSubscriber
( events: Array<Record<string, unknown>>, onEvent: (event: Record<string, unknown>) => void )
src/main/feishu-streamer.test.ts:28
↓ 6 callersFunctionmapApprovalPolicyToPermissionMode
( policy: ApprovalPolicy, planMode = false )
kun/src/runtime/agent-sdk/sdk-options-builder.ts:87
↓ 6 callersMethodmapUsage
(usage: Record<string, unknown>, model = this.config.model)
kun/src/adapters/model/compat-model-client.ts:1567
↓ 6 callersFunctionmatchesGlob
(pattern: string, value: string)
kun/src/hooks/builtins/design-quality-hook.ts:32
↓ 6 callersFunctionmcpServersFromConfig
(config: JsonRecord)
src/renderer/src/components/PluginMarketplaceView.tsx:381
↓ 6 callersFunctionmediaIsImage
(media: TimelineMediaReference)
src/renderer/src/components/chat/message-timeline-bubbles.tsx:524
↓ 6 callersFunctionmentionQueryDirectory
(query: string)
src/renderer/src/lib/workspace-file-index.ts:291
↓ 6 callersFunctionmergeAppBehaviorSettings
( current: AppBehaviorConfigV1, patch?: Partial<AppBehaviorConfigV1> )
src/shared/app-settings-normalize.ts:210
↓ 6 callersFunctionmergeMentionCandidates
( base: ComposerFileReference[], extra: ComposerFileReference[] )
src/renderer/src/lib/workspace-file-index.ts:348
↓ 6 callersFunctionmigrateLegacyHomeDataDirs
(input: { homeDir: string mappings?: readonly HomeDataMigrationMapping[] log?: MigrationLogger })
src/main/legacy-data-migration.ts:225
↓ 6 callersFunctionmixRgb
(from: Rgb, to: Rgb, amount: number)
src/renderer/src/components/settings-section-general.tsx:53
↓ 6 callersFunctionmodelGroupHasModel
(group: ModelProviderModelGroup, modelId: string)
src/renderer/src/store/chat-store-helpers.ts:252
↓ 6 callersFunctionmodelProfileForModel
( group: Pick<ComposerModelMenuGroup, 'modelProfiles'> | null | undefined, modelId: string )
src/renderer/src/components/chat/FloatingComposerModelPicker.tsx:824
↓ 6 callersFunctionmodelProviderModelProfile
( provider: Pick<ModelProviderProfileV1, 'modelProfiles'>, modelId: string )
src/shared/app-settings-provider.ts:310
↓ 6 callersFunctionmodelProvidersSettingsPatch
(input: { provider: ModelProviderSettingsV1 providers: ModelProviderProfileV1[] kun?: KunRuntimeSettings
src/renderer/src/components/settings-section-providers.tsx:108
↓ 6 callersMethodmodelReasoningFor
(model: string)
kun/src/adapters/model/compat-model-client.ts:374
↓ 6 callersFunctionnextGuiUpdateCheckDelay
( lastCheckedAtMs: number | null | undefined, nowMs = Date.now() )
src/shared/gui-update-schedule.ts:3
↓ 6 callersFunctionnextInspectorOpenForSelection
( previousSelectionKey: string, nextSelectionKey: string, currentOpen: boolean, pinned: boolean )
src/renderer/src/components/design/canvas/PropertiesPanel.tsx:73
↓ 6 callersFunctionnormalizeCheckpointCleanupSettings
( settings?: Partial<CheckpointCleanupConfigV1> )
src/shared/app-settings-normalize.ts:156
↓ 6 callersFunctionnormalizeGuiUpdateChannel
(value: unknown)
src/shared/gui-update.ts:7
↓ 6 callersFunctionnormalizeModelEndpointFormat
(value: unknown)
kun/src/contracts/model-endpoint-format.ts:5
↓ 6 callersFunctionnormalizeModelKey
(value: unknown)
src/shared/app-settings-provider.ts:1297
↓ 6 callersFunctionnormalizePath
(path: string)
src/renderer/src/design/html-quality/interaction-and-accessibility.ts:17
↓ 6 callersFunctionnormalizePathForMatch
(path: string)
src/renderer/src/lib/workspace-path.ts:1
↓ 6 callersFunctionnormalizeReadTrackerOptions
(input: boolean | ReadTrackerOptions | undefined)
kun/src/adapters/tool/read-tracker.ts:91
↓ 6 callersFunctionnormalizeRunningAppUrl
(value: string)
src/renderer/src/design/canvas/running-app-frame.ts:34
↓ 6 callersFunctionnormalizeScheduleSettings
( input: ScheduleSettingsPatchV1 | undefined )
src/shared/app-settings-schedule.ts:89
↓ 6 callersFunctionnormalizeSddThreadRegistry
(raw: unknown)
src/renderer/src/sdd/sdd-thread-registry.ts:89
↓ 6 callersFunctionnormalizeThreadId
(value: unknown)
src/renderer/src/lib/thread-fork-registry.ts:25
↓ 6 callersFunctionnormalizeThreadWorktreeRegistry
(raw: unknown)
src/renderer/src/lib/thread-worktree-registry.ts:55
↓ 6 callersFunctionnormalizeWorkflow
(workflow: Partial<WorkflowV1>, index: number, now: string)
src/shared/app-settings-workflow.ts:664
↓ 6 callersFunctionnormalizeWriteAssistantModel
(model: string | null | undefined)
src/renderer/src/write/write-workspace-store-helpers.ts:64
↓ 6 callersFunctionnormalizedHeadingText
(text: string)
src/renderer/src/design/html-quality/navigation-workflow-and-color.ts:166
↓ 6 callersFunctionnumericIndex
(index: unknown)
kun/src/adapters/model/compat-model-client.ts:2637
↓ 6 callersFunctionobjectValue
(value: unknown)
src/main/upstream-models.ts:180
↓ 6 callersFunctionparseArtifactMeta
(raw: string, dirId: string)
src/renderer/src/design/design-artifact-persistence.ts:145
↓ 6 callersFunctionparseGuiPlanCommand
(input: string)
src/renderer/src/plan/plan-command.ts:5
↓ 6 callersFunctionparseJsonObject
(raw: string)
src/main/schedule-runtime-helpers.ts:89
↓ 6 callersFunctionparseJsonRpc
(chunk: string)
kun/src/adapters/tool/lsp-client.test.ts:52
← previousnext →1,101–1,200 of 9,736, ranked by callers