MCPcopy Create free account

hub / github.com/KunAgent/Kun / functions

Functions9,736 in github.com/KunAgent/Kun

↓ 6 callersFunctionparseModelIds
(stdout: string)
src/main/claude-subscription-models.ts:97
↓ 6 callersFunctionparseNewCommand
(input: string)
src/renderer/src/components/chat/floating-composer-commands.ts:91
↓ 6 callersFunctionparseServeOptions
( argv: readonly string[], env: Record<string, string | undefined> = {} )
kun/src/cli/serve.ts:22
↓ 6 callersFunctionparseTimestampMs
(value: string | null | undefined)
src/renderer/src/agent/thread-timing.ts:17
↓ 6 callersMethodparseToolArguments
(raw: string)
kun/src/adapters/model/compat-model-client.ts:1636
↓ 6 callersFunctionpatchBridge
(runtime: object, channelId: string, bridge: LarkBridge)
src/main/claw-runtime.test.ts:3975
↓ 6 callersFunctionpathExists
(p: string)
src/main/services/worktree-service.ts:53
↓ 6 callersFunctionpayloadFor
(item: CoreTurnItemJson)
src/renderer/src/agent/kun-mapper.ts:214
↓ 6 callersFunctionpersistSchedule
(patch: Parameters<typeof mergeScheduleSettings>[1])
src/renderer/src/components/schedule/ScheduleTasksView.tsx:434
↓ 6 callersFunctionplaceRectInViewportAvoiding
( size: { width: number; height: number }, vbox: ViewBox, occupied: readonly Rect[], gap = CANVAS_SCRE
src/renderer/src/design/canvas/canvas-placement.ts:63
↓ 6 callersFunctionplatformManifestName
()
src/main/gui-updater.test.ts:90
↓ 6 callersFunctionpointer
(x: number, y: number)
src/renderer/src/design/canvas/tools/hand-tool.test.ts:12
↓ 6 callersFunctionpositive
(n: number, fallback = 1)
src/renderer/src/design/canvas/canvas-minimap.ts:36
↓ 6 callersFunctionprepareDesignPreviewFile
( workspaceRoot: string, relativePath: string, basePath?: string, api?: DesignPreviewPrepareApi )
src/renderer/src/design/design-preview-file.ts:202
↓ 6 callersFunctionprepareImageAttachmentUpload
( file: File, capabilities: ImageAttachmentUploadCapabilities, encoder: ImageAttachmentEncoder = encodeI
src/renderer/src/lib/image-attachment-upload.ts:44
↓ 6 callersFunctionpreventEditorMouseHandling
(event: MouseEvent)
src/renderer/src/write/markdown-live-widgets.ts:34
↓ 6 callersFunctionproductAppModuleSignalCount
(html: string)
src/renderer/src/design/html-quality/product-and-hero-content.ts:139
↓ 6 callersFunctionprototypeBackNavigationSteps
(navigationUrl: string)
src/renderer/src/design/prototype-player/routing.ts:359
↓ 6 callersFunctionproviderProbeHeaders
( endpointFormat: ModelEndpointFormat, apiKey: string )
src/main/provider-connection.ts:28
↓ 6 callersFunctionproviderTextModels
(settings: AppSettingsV1, provider: ModelProviderProfileV1)
src/main/claw-runtime.ts:196
↓ 6 callersMethodpublish
(event: RuntimeEvent)
kun/src/ports/event-bus.ts:9
↓ 6 callersFunctionpushUniqueModelId
(target: string[], seen: Set<string>, modelId: string)
src/renderer/src/components/provider-model-editor.ts:469
↓ 6 callersMethodquerySelectorAll
()
src/renderer/src/components/design/canvas/HtmlFrameOverlay.test.ts:60
↓ 6 callersFunctionreadRegistry
(storage = browserStorage())
src/renderer/src/sdd/sdd-draft-store.ts:146
↓ 6 callersFunctionreadTrimmedString
(value: unknown, max: number)
src/shared/ui-plugin.ts:110
↓ 6 callersFunctionreadXmlTag
(xml: string, tag: string)
src/shared/background-shell-notice.ts:18
↓ 6 callersFunctionrefresh
()
src/renderer/src/components/chat/ChatFileTreePanel.tsx:191
↓ 6 callersFunctionrememberThreadComposerSelection
( threadId: string, model: string, providerId = '' )
src/renderer/src/store/chat-store-helpers.ts:138
↓ 6 callersFunctionremoveBrowserStorageItem
(key: string)
src/renderer/src/lib/browser-storage.ts:53
↓ 6 callersFunctionrepairDispatchToolArguments
( raw: Record<string, unknown>, options: ToolCallArgumentRepairOptions = {} )
kun/src/loop/tool-call-repair.ts:34
↓ 6 callersFunctionrepairModelHistoryItems
(items: TurnItem[])
kun/src/domain/model-history-repair.ts:11
↓ 6 callersFunctionreplaceHtmlElementTextInSource
( source: string, element: DesignHtmlElementContext, nextText: string )
src/renderer/src/design/design-html-element-edit.ts:286
↓ 6 callersMethodreplaceWith
(next: SkillRuntime)
kun/src/skills/skill-runtime.ts:141
↓ 6 callersFunctionrequest
(model: string, providerId?: string)
kun/src/adapters/model/multi-provider-model-client.test.ts:27
↓ 6 callersFunctionrequestDesignQualityRepairDispatch
( options: DesignQualityRepairDispatchOptions )
src/renderer/src/design/design-quality-repair-dispatch.ts:84
↓ 6 callersMethodrequire
(id: string)
kun/src/tasks/task-graph.ts:264
↓ 6 callersMethodresolveChannelWorkspaceRoot
(settings: AppSettingsV1, channel?: ClawImChannelV1)
src/main/claw-runtime.ts:956
↓ 6 callersMethodresolveDefaultWorkspaceRoot
(settings: AppSettingsV1)
src/main/schedule-runtime.ts:764
↓ 6 callersFunctionresolveEventLoopStallThresholdMs
(env: NodeJS.ProcessEnv)
kun/src/server/event-loop-monitor.ts:59
↓ 6 callersFunctionresolveImageAnnotationOverlayModel
( options: ResolveImageAnnotationOverlayOptions )
src/renderer/src/components/design/canvas/DesignImageAnnotationOverlay.tsx:26
↓ 6 callersFunctionresolveKunExecutable
( appRoot: string, userBinaryPath: string )
src/main/resolve-kun-binary.ts:57
↓ 6 callersFunctionresolveModelContextProfile
( model: string | undefined, profiles: readonly ModelContextProfile[] = MODEL_CONTEXT_PROFILES )
kun/src/loop/model-context-profile.ts:116
↓ 6 callersFunctionresolvePoolDir
(projectPath: string, worktreeRoot?: string)
src/main/services/worktree-service.ts:47
↓ 6 callersFunctionresolveSelectedImageAnnotationAction
( surface: 'design' | 'code', doc: CanvasDocument, selectedIds: ReadonlySet<string>, viewport: { v
src/renderer/src/components/design/canvas/canvas-viewport/helpers.ts:57
↓ 6 callersFunctionresolveTurnPlanContext
( thread: ThreadRecord, turnId: string )
kun/src/runtime/agent-sdk/agent-sdk-runtime-factory.ts:99
↓ 6 callersFunctionresolveWorkspaceFile
( payload: WorkspaceFileTarget )
src/main/services/workspace-files.ts:635
↓ 6 callersFunctionresolveWriteInlineCompletionBaseUrl
(settings: AppSettingsV1)
src/shared/app-settings-write.ts:384
↓ 6 callersFunctionresolveWriteQuickActions
( actions: WriteQuickActionV1[], t: TranslateFn )
src/renderer/src/write/quick-actions.ts:57
↓ 6 callersMethodrewriteItems
* Replace the canonical item stream for a thread. File-backed stores * should write atomically because this is used by load-time healing * and e
kun/src/ports/session-store.ts:36
↓ 6 callersFunctionrgbToHsl
({ r, g, b }: RGB)
src/renderer/src/design/design-tokens.ts:79
↓ 6 callersFunctionrouteDesignPrompt
(options: DesignPromptRouterOptions)
src/renderer/src/design/design-prompt-router.ts:43
↓ 6 callersFunctionrunClaudeSetupToken
( options: { spawnFn?: typeof spawn; timeoutMs?: number; binaryPath?: string } = {} )
src/main/claude-subscription-auth.ts:69
↓ 6 callersFunctionsampleRecord
(overrides: Partial<CoreMemoryRecordJson> = {})
src/renderer/src/components/settings-section-memory.test.ts:110
↓ 6 callersFunctionsaveThreadWorktreeRegistry
( registry: ThreadWorktreeRegistry, storage: BrowserStorageLike | null = browserStorage() )
src/renderer/src/lib/thread-worktree-registry.ts:96
↓ 6 callersFunctionsddAssistantThreadIdForDraft
( draft: Pick<SddDraft, 'id' | 'workspaceRoot' | 'relativePath'>, registry: SddThreadRegistry = readSddThr
src/renderer/src/sdd/sdd-thread-registry.ts:181
↓ 6 callersFunctionsddChatTranscriptRelativePath
( draftRelativePath: string, threadId: string )
src/renderer/src/sdd/sdd-chat-transcript.ts:32
↓ 6 callersFunctionsddDraftRelativePathForPlanPath
(planRelativePath: string)
src/shared/sdd.ts:77
↓ 6 callersFunctionselectionRange
(content: string, selected: string)
src/renderer/src/write/inline-edit.test.ts:10
↓ 6 callersFunctionserializeMcpServer
(server: McpFormServer)
src/renderer/src/components/mcp/mcp-config-form.ts:206
↓ 6 callersFunctionserializeMemoryTags
(tags: ReadonlyArray<string> | undefined | null)
src/renderer/src/components/settings-section-memory.tsx:46
↓ 6 callersFunctionsessionPayload
( session: BashSession, options: { stopSent?: boolean } = {} )
kun/src/adapters/tool/builtin-bash-tool.ts:362
↓ 6 callersFunctionsetLastLintFindings
(findings: LintFinding[], key: string = DEFAULT_LINT_KEY)
src/renderer/src/design/canvas/design-lint.ts:150
↓ 6 callersFunctionsetSddRequirementStatus
( markdown: string, id: string, status: SddRequirementStatus )
src/shared/sdd-trace.ts:159
↓ 6 callersFunctionsetTimer
(fn: () => void)
kun/tests/goal-resume.test.ts:11
↓ 6 callersFunctionsettle
(exited: boolean)
src/main/kun-process.ts:1416
↓ 6 callersFunctionseverityRank
(severity: DesignHtmlQualitySeverity)
src/renderer/src/design/html-quality/repair-prompt.ts:43
↓ 6 callersFunctionshellRuntimeInfo
(config: ShellConfig = shellConfig())
kun/src/adapters/tool/builtin-tool-utils.ts:383
↓ 6 callersFunctionshouldInjectPrototypeNavigationCapture
({ open, webviewUrl, webviewReady, hasExecuteJavaScript }: { open: boolean webviewUrl: string we
src/renderer/src/components/design/canvas/PrototypePlayerOverlay.tsx:44
↓ 6 callersFunctionshouldOpenImageAnnotation
( surface: 'design' | 'code', shape: CanvasDocument['objects'][string] | undefined )
src/renderer/src/components/design/canvas/canvas-viewport/helpers.ts:36
↓ 6 callersFunctionshouldShowGoalFloater
({ compact, hasActiveGoal, slashQuery, goalPanelOpen, composerMenuOpen }: { compact: boolean has
src/renderer/src/components/chat/FloatingComposer.tsx:456
↓ 6 callersFunctionshouldShowQuestionHeader
( question: UserInputQuestion, totalQuestions: number )
src/renderer/src/components/chat/user-input-panel-logic.ts:136
↓ 6 callersMethodshutdown
Cancel all pending resumes; called on runtime shutdown.
kun/src/loop/goal-resume-coordinator.ts:161
↓ 6 callersMethodsnapshot
(threadId: string)
kun/src/telemetry/cache-telemetry.ts:42
↓ 6 callersFunctionsnapshotCodeCanvasForPrompt
( options: CodeCanvasPromptSnapshotOptions )
src/renderer/src/design/canvas/code-canvas.ts:227
↓ 6 callersFunctionsplitTableLine
(line: string)
src/renderer/src/write/markdown-live-preview.ts:187
↓ 6 callersFunctionstartOfficialInstallQr
()
src/renderer/src/components/chat/ConnectPhoneView.tsx:298
↓ 6 callersFunctionstartWriteWorkspaceFileWatch
(options: StartWriteFileWatchOptions)
src/renderer/src/write/write-file-watch.ts:32
↓ 6 callersFunctionstringArrayValue
(value: unknown)
src/main/kun-process.ts:710
↓ 6 callersFunctionsummarizeDesignHtmlQualityStatus
( findings: DesignHtmlQualityFinding[] | undefined, checked: boolean )
src/renderer/src/design/html-quality/layout-and-runtime-findings.ts:235
↓ 6 callersFunctionsummarizeForModel
(input: { content: string maxInlineChars: number /** Fraction of the budget devoted to the head excerpt
kun/src/artifacts/artifact-summary.ts:35
↓ 6 callersFunctionsyncLoginItemSettings
( settings: AppSettingsV1, platform = process.platform )
src/main/desktop-behavior.ts:20
↓ 6 callersFunctionsyncShape
(all: Point[])
src/renderer/src/design/canvas/tools/linear-tool.ts:40
↓ 6 callersFunctionsyncTurnCompletionPoll
( set: (partial: Partial<ChatState> | ((state: ChatState) => Partial<ChatState>)) => void, get: () => Chat
src/renderer/src/store/chat-store-runtime.ts:578
↓ 6 callersFunctiontakeLastCanvasOpErrors
(key: string = DEFAULT_ERROR_KEY)
src/renderer/src/design/canvas/apply-shape-ops.ts:45
↓ 6 callersFunctiontakeNextReadyScreenGeneration
({ pendingScreens, document, currentTurnId, busy = false, pendingRuntimeWork = false, htmlArtifact
src/renderer/src/design/canvas/use-apply-shape-ops-live.ts:247
↓ 6 callersFunctiontelemetry
(startedAt: number, provider: string)
kun/src/adapters/tool/media-gen-tool-provider.ts:933
↓ 6 callersFunctiontextResult
(text: string, structuredContent?: Record<string, unknown>)
src/main/claw-schedule-mcp-server.ts:59
↓ 6 callersFunctionthread
( id: string, status: string, updatedAt: string, title = id, workspace = '/work/project' )
src/main/tray-session-menu.test.ts:58
↓ 6 callersFunctiontitleFromSddDraftContent
(content: string, fallback: string)
src/renderer/src/sdd/sdd-draft-history.ts:48
↓ 6 callersFunctiontodoContentHash
(value: string)
src/renderer/src/plan/plan-todo-sync.ts:9
↓ 6 callersFunctiontodoContentHash
(value: string)
kun/src/shared/todos.ts:31
↓ 6 callersFunctiontokenColor
(foundation: TemplateFoundation, token: string)
src/renderer/src/design/canvas/design-system-template/board-builders.ts:428
↓ 6 callersFunctiontoolCallCompletes
( chunks: ModelStreamChunk[] )
kun/src/adapters/model/compat-model-client.streaming-tool-calls.test.ts:70
↓ 6 callersFunctiontoolbarIconButtonClass
(active = false)
src/renderer/src/components/write/write-workspace-view-utils.ts:134
↓ 6 callersFunctiontouch
(path: string)
src/main/packaging-config.test.ts:20
↓ 6 callersFunctiontrimmedString
(value: unknown, max: number)
src/shared/app-settings-design.ts:46
↓ 6 callersFunctionuid
(prefix: string)
src/renderer/src/components/workflow/workflow-types.ts:63
↓ 6 callersFunctionupdateHistoryHygiene
(patch: Record<string, unknown>)
src/renderer/src/components/settings-section-agents.tsx:471
↓ 6 callersFunctionupdateMcpSearch
(patch: Record<string, unknown>)
src/renderer/src/components/settings-section-agents.tsx:452
↓ 6 callersMethoduploadAttachment
(input: { name: string mimeType?: string dataBase64: string documentText?: string pageCoun
src/renderer/src/agent/types.ts:512
← previousnext →1,201–1,300 of 9,736, ranked by callers