MCPcopy Create free account

hub / github.com/KunAgent/Kun / functions

Functions9,736 in github.com/KunAgent/Kun

↓ 8 callersFunctionmakeAssistantReasoningItem
(input: { id: string turnId: string threadId: string text: string status?: 'running' | 'completed' |
kun/src/domain/item.ts:64
↓ 8 callersFunctionmakeBridge
()
src/main/feishu-streamer.test.ts:7
↓ 8 callersFunctionmakeCompactionItem
(input: { id: string turnId: string threadId: string summary: string replacedTokens: number pinned
kun/src/domain/item.ts:193
↓ 8 callersFunctionmakeDeps
(overrides: Partial<SdkRuntimeDeps> = {})
kun/src/runtime/agent-sdk/agent-sdk-runtime.test.ts:24
↓ 8 callersFunctionmarkSddAssistantThread
( draft: Pick<SddDraft, 'id' | 'workspaceRoot' | 'relativePath'>, threadId: string, storage: BrowserStor
src/renderer/src/sdd/sdd-thread-registry.ts:145
↓ 8 callersFunctionmergeWriteSettings
( current: WriteSettingsV1, patch: WriteSettingsPatchV1 | undefined )
src/shared/app-settings-write.ts:463
↓ 8 callersFunctionmigrateLegacyUserDataDir
(input: { /** electron app.getPath('userData') —— 已经是新名字(…/Kun)。 */ userDataPath: string legacyDirNames?
src/main/legacy-data-migration.ts:150
↓ 8 callersFunctionmodelProviderTokenPlanProfile
( preset: ModelProviderPreset, apiKey = '', baseUrl = '' )
src/shared/model-provider-presets.ts:723
↓ 8 callersMethodmoveTo
(x: number, y: number)
kun/src/adapters/computer-use/host-control.ts:262
↓ 8 callersFunctionnewProviderModelForm
( kind: ProviderModelKind, provider: ProviderConnectionHints )
src/renderer/src/components/provider-model-editor.ts:93
↓ 8 callersMethodnextRunnable
* The next batch of tasks to start: ready tasks (deps satisfied, not paused), * highest priority first, bounded by remaining concurrency.
kun/src/tasks/task-graph.ts:173
↓ 8 callersFunctionnormalizeForCompare
(value: string)
src/renderer/src/lib/composer-file-references.ts:37
↓ 8 callersFunctionnowIso
()
kun/tests/thread-service.test.ts:28
↓ 8 callersFunctionobserved
(event: RuntimeEvent, elapsedMs: number, delayMs = 10)
kun/src/benchmark/replay-benchmark.test.ts:19
↓ 8 callersFunctiononeOf
(value: unknown, allowed: readonly T[], fallback: T)
src/shared/app-settings-design.ts:42
↓ 8 callersFunctionopenWorkspacePathInEditor
( target: WorkspacePathTarget, workspaceRoot?: string )
src/renderer/src/lib/open-workspace-path.ts:10
↓ 8 callersFunctionparseListField
(fields: Record<string, string>, key: string)
kun/src/delegation/workspace-agents.ts:122
↓ 8 callersFunctionpathState
(path: string)
src/main/legacy-data-migration.ts:98
↓ 8 callersFunctionpathsEqual
(a: string, b: string)
src/renderer/src/write/write-workspace-store-helpers.ts:75
↓ 8 callersFunctionprops
(activeView: 'chat' | 'write' | 'design' = 'chat')
src/renderer/src/components/chat/__tests__/WorkspaceModeTabs.test.ts:12
↓ 8 callersFunctionprovider
(overrides: Partial<ModelProviderProfileV1> = {})
src/renderer/src/components/settings-section-provider-models.test.ts:36
↓ 8 callersFunctionreflowFrame
(frameId: string, affectedIds: Set<string>)
src/renderer/src/design/canvas/shape-ops/context.ts:95
↓ 8 callersFunctionrememberActiveFile
(workspaceRoot: string, nextPath: string | null)
src/renderer/src/write/write-workspace-store-helpers.ts:224
↓ 8 callersFunctionrender
( stateValue: DailyUsageState, props: Partial<Parameters<typeof InitialSessionUsageHeatmapView>[0]> = {} )
src/renderer/src/components/chat/InitialSessionUsageHeatmap.test.ts:79
↓ 8 callersFunctionrenderManager
(target: ModelProviderProfileV1)
src/renderer/src/components/settings-section-provider-models.test.ts:49
↓ 8 callersFunctionrenderOfflineHero
* Tests for the "runtime offline" hero (`RuntimeWakeHero` inside * `MessageTimelineEmptyHero`). See issue #78 — when the user-reported port * confli
src/renderer/src/components/chat/message-timeline-empty.test.ts:17
↓ 8 callersFunctionreplayActiveCanvasTurn
( state: ActiveCanvasTurnReplayState, applyToolBlock: (block: ToolBlock) => void, processStreaming: () =
src/renderer/src/design/canvas/use-apply-shape-ops-live.ts:215
↓ 8 callersFunctionrequest
(partial: Partial<DesignCodeChangeRequest>)
src/renderer/src/design/code-binding/react-tailwind-source-adapter.test.ts:5
↓ 8 callersFunctionrequiredValue
(args: string[], index: number, flag: string)
kun/src/cli/replay-entry.ts:129
↓ 8 callersFunctionresolveClawScheduleMcpCommand
( launch: ClawScheduleMcpLaunchConfig, platform: NodeJS.Platform = process.platform )
src/main/claw-schedule-mcp-config.ts:78
↓ 8 callersFunctionresolveGitCwd
(workspaceRoot: string)
src/main/services/git-service.ts:31
↓ 8 callersMethodresolveIncomingWorkspaceRoot
( settings: AppSettingsV1, channel: ClawImChannelV1 | undefined, conversation: ClawImConversationV
src/main/claw-runtime.ts:977
↓ 8 callersFunctionresolveWriteInlineCompletionModel
( settings: AppSettingsV1, requestedModel?: string | null )
src/shared/app-settings-write.ts:416
↓ 8 callersFunctionresolveWriteMarkdownResourcePath
( src: string | undefined, filePath?: string | null )
src/shared/write-markdown-resource.ts:89
↓ 8 callersFunctionresourceUri
(documentId: string, kind: DesignResourceKind, id: string)
src/renderer/src/design/interop/design-resource-surface.ts:48
↓ 8 callersFunctionrun
(action: () => void)
src/renderer/src/components/chat/SidebarProjectsSection.tsx:1536
↓ 8 callersFunctionrunGit
( cwd: string, args: readonly string[] )
kun/src/review/git-review-target.ts:155
↓ 8 callersFunctionruntimeAuthHeaders
(settings: AppSettingsV1)
src/main/runtime/kun-adapter.ts:76
↓ 8 callersFunctionsanitizeText
(text = '')
src/renderer/src/write/inline-completion/feedback.ts:19
↓ 8 callersFunctionsave
(threadId: string, graph: TaskGraph)
kun/src/adapters/tool/task-graph-tool.ts:27
↓ 8 callersFunctionscreenshotOutput
(action: string, shot: HostScreenshot, note?: string)
kun/src/adapters/tool/computer-use-tool-provider.ts:121
↓ 8 callersFunctionsections
(blocks: ChatBlock[])
src/renderer/src/components/chat/derive-turn-sections.test.ts:6
↓ 8 callersFunctionsessionKey
(workspaceRoot: string, serverKey: string)
kun/src/adapters/tool/lsp-client.ts:67
↓ 8 callersMethodsetItem
(key: string, value: string)
src/renderer/src/lib/ikun-mode.test.ts:15
↓ 8 callersFunctionsettingsForPort
(port: number)
src/main/runtime/kun-adapter.test.ts:20
↓ 8 callersFunctionsettingsWithSpeech
(overrides: Record<string, unknown> = {})
src/main/services/speech-to-text-service.test.ts:7
↓ 8 callersFunctionshape
(type: ShapeType, id: string, patch: Partial<CanvasShape> = {})
src/renderer/src/design/canvas/canvas-minimap.test.ts:11
↓ 8 callersFunctionshouldRenderDesignHtmlPreviewWebview
({ fileUrl, renderState, hasRenderableContent, mountWhileSkeleton = true }: { fileUrl: string rend
src/renderer/src/components/design/DesignHtmlPreviewHost.tsx:76
↓ 8 callersFunctionstate
(patch: Partial<DailyUsageState>)
src/renderer/src/components/chat/InitialSessionUsageHeatmap.test.ts:59
↓ 8 callersFunctionstorageKey
(kind: PluginKind, id: string)
src/renderer/src/components/PluginMarketplaceView.tsx:121
↓ 8 callersFunctionstringFlag
( raw: Record<string, string | boolean>, key: string )
kun/src/cli/serve.ts:275
↓ 8 callersFunctionsummarizeLiveAppBindingCandidates
({ doc, selectedIds, snapshotsByFrameId, limit = 8 }: LiveAppBindingCandidateInput)
src/renderer/src/design/code-binding/live-app-binding-candidates.ts:209
↓ 8 callersFunctionsvgElement
( tag: K, attrs: Record<string, string> )
src/renderer/src/write/infographic-pending-dom.ts:42
↓ 8 callersFunctiontakeLastLintFindings
(key: string = DEFAULT_LINT_KEY)
src/renderer/src/design/canvas/design-lint.ts:155
↓ 8 callersFunctionterminateSpawnTree
( child: ChildProcess, options: { platform?: NodeJS.Platform signal?: NodeJS.Signals spawnImpl
kun/src/adapters/tool/builtin-tool-utils.ts:462
↓ 8 callersFunctiontextInputClass
(extra = '')
src/renderer/src/components/settings-section-claw.tsx:56
↓ 8 callersMethodthreadDir
(threadId: string)
kun/src/adapters/hybrid/hybrid-thread-store.ts:822
↓ 8 callersFunctiontokenizeMcpSearchText
(text = '')
kun/src/adapters/tool/mcp-tool-search.ts:201
↓ 8 callersFunctiontoolResult
(id: string, output: string)
kun/src/loop/request-history-hygiene.test.ts:5
↓ 8 callersFunctionuiPluginsRootDir
(kunHomeDir: string)
src/main/services/ui-plugin-service.ts:36
↓ 8 callersMethodupsertThread
( threadId: string, mutator: (current: ThreadRecord) => ThreadRecord )
kun/src/services/turn-service.ts:561
↓ 7 callersFunctionanswerFromTypedText
( question: UserInputQuestion, text: string )
src/renderer/src/components/chat/user-input-panel-logic.ts:62
↓ 7 callersFunctionapplyReactTailwindRequestsToSource
( source: string, requests: readonly DesignCodeChangeRequest[] )
src/renderer/src/design/code-binding/react-tailwind-source-adapter.ts:293
↓ 7 callersFunctionartifactDirOf
(relativePath: string)
src/renderer/src/design/design-artifact-persistence.ts:38
↓ 7 callersFunctionatomicWriteFile
( path: string, contents: string, options: AtomicWriteFileOptions = {} )
kun/src/adapters/file/atomic-write.ts:16
↓ 7 callersFunctionauthorizePrototypePath
( path: string, workspaceRoot: string )
src/main/services/prototype-embed-registry.ts:30
↓ 7 callersFunctionbaseStatus
( modelId: LocalWhisperModelId, state: LocalWhisperModelStatus['state'], extra: Partial<LocalWhisperMode
src/main/services/local-whisper-service.ts:385
↓ 7 callersFunctionbuildGuiPlanId
(workspaceRoot: string, relativePath: string)
src/shared/gui-plan.ts:153
↓ 7 callersFunctionbuildImageAnnotationPrompt
(input: ImageAnnotationPromptInput)
src/renderer/src/design/canvas/image-annotation-prompt.ts:33
↓ 7 callersFunctionbuildImplementDesignPrompt
(options: ImplementDesignOptions)
src/renderer/src/design/design-implement-prompt.ts:25
↓ 7 callersFunctionbuildLatestDesignCodeChangePlan
(doc: CanvasDocument)
src/renderer/src/design/code-binding/design-code-sync.ts:35
↓ 7 callersFunctionbuildMcpMarketplaceOverlay
(input: { runtimeInfo?: CoreRuntimeInfoJson | null toolDiagnostics?: CoreRuntimeToolDiagnosticsJson | null
src/renderer/src/components/plugin-marketplace-runtime.ts:30
↓ 7 callersFunctionbuildWorkspaceProjectPickerOptions
(options: { currentWorkspaceRoot: string workspaceRoots: readonly string[] threadWorktrees?: WorkspacePr
src/renderer/src/components/chat/WorkspaceProjectPicker.tsx:59
↓ 7 callersFunctioncanvasDocPath
(artifactId: string, baseDir: string = DESIGN_DIR)
src/renderer/src/design/canvas/canvas-persistence.ts:9
↓ 7 callersFunctionclip
(text: string, maxChars: number)
kun/src/loop/session-summary.ts:134
↓ 7 callersFunctioncomponentShape
(type: ShapeType, name: string, patch: Partial<CanvasShape>)
src/renderer/src/design/canvas/design-system-template/foundation.ts:362
↓ 7 callersFunctioncompressProse
(text: string)
kun/src/loop/token-economy.ts:141
↓ 7 callersFunctioncomputePrototypeFlowEdges
( artifacts: readonly DesignArtifact[], objects: Record<string, CanvasShape> )
src/renderer/src/design/canvas/prototype-flow.ts:121
↓ 7 callersMethodconnect
()
src/renderer/src/agent/types.ts:460
↓ 7 callersFunctioncreateReadArtifactTool
()
kun/src/adapters/tool/artifact-tool.ts:13
↓ 7 callersMethodcreateScheduledTaskFromText
( text: string, options: { workspaceRoot?: string | null clawChannelId?: string | null
src/main/schedule-runtime.ts:195
↓ 7 callersFunctioncurrentDesignArtifactVersion
( artifact: Pick<DesignArtifact, 'relativePath' | 'versions'> )
src/renderer/src/design/design-types.ts:114
↓ 7 callersFunctioncurrentHomeDir
()
src/renderer/src/lib/settings-home-paths.ts:15
↓ 7 callersFunctioncurrentPlatform
()
src/renderer/src/lib/settings-home-paths.ts:11
↓ 7 callersFunctiondefaultReasoningProtocolForProvider
( provider: ProviderConnectionHints )
src/renderer/src/components/provider-model-editor.ts:76
↓ 7 callersFunctionderiveTimelineVisibleTurnCount
({ currentVisibleTurnCount, totalTurns, pageSize, shouldCollapseHistory, historyExpansionRequested }
src/renderer/src/components/chat/use-timeline-scroll.ts:29
↓ 7 callersFunctiondescribeRuntimeError
(error: unknown)
src/renderer/src/lib/format-runtime-error.ts:138
↓ 7 callersFunctiondiffSettingsPatch
(base: AppSettingsV1, next: AppSettingsV1)
src/renderer/src/components/settings-utils.ts:101
↓ 7 callersFunctiondisabledAction
( action: Omit<DesignAgentAction, 'disabledReasonKey'>, disabledReasonKey?: string )
src/renderer/src/design/agent-actions/design-agent-actions.ts:111
↓ 7 callersFunctiondoc
()
src/renderer/src/design/canvas/design-lint.test.ts:17
↓ 7 callersFunctiondocFromMarkdown
(markdown: string)
src/renderer/src/write/tiptap/markdown-projection.test.ts:13
↓ 7 callersFunctiondrain
(iterable: AsyncIterable<ModelStreamChunk>)
kun/src/adapters/model/compat-model-client.streaming-tool-calls.test.ts:64
↓ 7 callersFunctioneditAction
( replacement: string, target: WriteInlineActionEditTarget | undefined )
src/main/services/write-inline-completion-service.ts:625
↓ 7 callersMethoderrorToolResult
( context: ToolHostContext, call: ToolCallLike, tool: LocalTool, message: string, code: st
kun/src/adapters/tool/local-tool-host.ts:315
↓ 7 callersFunctionestimateBlockTokens
(block: ChatBlock)
src/renderer/src/lib/context-capacity.ts:142
↓ 7 callersFunctionexists
(path: string)
kun/src/adapters/tool/builtin-verify-tool.ts:338
↓ 7 callersFunctionexists
(path: string)
kun/src/skills/skill-runtime.ts:641
↓ 7 callersFunctionexpandHomePath
(raw: string | null | undefined)
src/main/settings-store.ts:79
↓ 7 callersFunctionextractAgentDesignSummary
(assistantText: string)
src/renderer/src/design/design-pages.ts:139
↓ 7 callersFunctionfakeRuntime
(input: { items?: TurnItem[] status?: 'completed' | 'failed' | 'aborted' throwRun?: boolean toolHost?:
kun/tests/cli-agent.test.ts:58
← previousnext →801–900 of 9,736, ranked by callers