MCPcopy Create free account

hub / github.com/KunAgent/Kun / functions

Functions9,736 in github.com/KunAgent/Kun

↓ 10 callersFunctionparseCanvasDocument
(raw: string)
src/renderer/src/design/canvas/canvas-persistence.ts:289
↓ 10 callersFunctionparseContextWindowInput
(raw: string)
src/renderer/src/components/provider-model-editor.ts:401
↓ 10 callersFunctionparseImageMarkdownLine
(line: string)
src/renderer/src/write/selected-image.ts:12
↓ 10 callersFunctionparsePendingInfographicId
(src: string | undefined)
src/renderer/src/write/infographic-pending.ts:58
↓ 10 callersFunctionpointer
( x: number, y: number, patch: Partial<Pick<CanvasPointerEvent, 'shiftKey' | 'altKey' | 'metaKey' | 'ctr
src/renderer/src/design/canvas/tools/linear-tool.test.ts:28
↓ 10 callersFunctionprojectedOffsetForPos
( doc: PMNode, projection: WriteRichMarkdownProjection, pos: number )
src/renderer/src/write/tiptap/markdown-projection.ts:259
↓ 10 callersFunctionreadWorkspaceFile
(payload: WorkspaceFileTarget)
src/main/services/workspace-files.ts:99
↓ 10 callersMethodrecordChildEvent
(record: ChildRunRecord)
kun/src/delegation/delegation-runtime.ts:685
↓ 10 callersFunctionredactSecretText
(value: string)
src/shared/secret-redaction.ts:29
↓ 10 callersFunctionrememberCodeWorkspaceRoots
( currentRoots: readonly string[], workspaceRoots: readonly (string | undefined | null)[] )
src/renderer/src/store/chat-store-helpers.ts:386
↓ 10 callersFunctionrenderFallbackCodeHtml
(code: string)
src/renderer/src/lib/code-highlighting.ts:264
↓ 10 callersMethodrequireNut
()
kun/src/adapters/computer-use/host-control.ts:176
↓ 10 callersFunctionresolveConfiguredHooks
(config: HooksConfig | undefined)
kun/src/hooks/hook-config.ts:121
↓ 10 callersFunctionresolveOpenTargetPath
( rawPath: string, workspaceRoot?: string, options?: ResolveTargetOptions )
src/main/services/workspace-paths.ts:186
↓ 10 callersFunctionrun
()
src/main/index.ts:293
↓ 10 callersFunctionruntimeJsonError
(code: string, message: string)
src/main/index.ts:182
↓ 10 callersFunctionsaveDesignThreadRegistry
( registry: DesignThreadRegistry, storage: BrowserStorageLike | null = browserStorage() )
src/renderer/src/design/design-thread-registry.ts:146
↓ 10 callersMethodshouldCompact
(items: TurnItem[], options?: CompactionTriggerOptions)
kun/src/loop/context-compactor.ts:92
↓ 10 callersFunctionspawnCapture
( file: string, args: string[], options: { cwd: string; signal?: AbortSignal } )
kun/src/adapters/tool/builtin-tool-utils.ts:546
↓ 10 callersFunctionstr
(v: unknown)
src/renderer/src/components/chat/SubagentCallCard.tsx:61
↓ 10 callersFunctionsyncMcpDiagnostic
( state: McpConnectionState, status: McpServerDiagnostic['status'] = state.status, toolCount = state.dia
kun/src/adapters/tool/mcp-tool-provider.ts:957
↓ 10 callersFunctionthread
(overrides: Partial<NormalizedThread> & Pick<NormalizedThread, 'id' | 'title'>)
src/renderer/src/lib/thread-sidebar-visibility.test.ts:10
↓ 10 callersFunctionthreadUsagePath
(threadId: string)
src/renderer/src/hooks/use-thread-usage.test.ts:6
↓ 10 callersFunctiontokenPlanProviderId
(presetId: string)
src/shared/model-provider-presets.ts:719
↓ 10 callersFunctiontoolError
(code: string, message: string, toolTelemetry?: Record<string, unknown>)
kun/src/adapters/tool/media-gen-tool-provider.ts:937
↓ 10 callersFunctionupdateImageGeneration
(patch: Record<string, unknown>)
src/renderer/src/components/settings-section-image-generation.tsx:65
↓ 10 callersFunctionwarm
(hit: number, miss: number)
kun/src/services/usage-service.test.ts:35
↓ 10 callersFunctionwithInjectedPrototypeCapture
( script: string, baseURI: string, run: (ctx: { fakeWindow: { location: { hash: string }
src/renderer/src/design/prototype-player.scripted-navigation.test.ts:54
↓ 10 callersFunctionwithToolBoundary
( run: () => Promise<{ output: unknown; isError?: boolean }> )
kun/src/adapters/tool/builtin-tool-utils.ts:42
↓ 10 callersFunctionwriteAgents
(dir: string, text: string)
kun/tests/instruction-runtime.test.ts:147
↓ 9 callersFunctionacquireLspSession
(workspaceRoot: string, serverKey: string)
kun/src/adapters/tool/lsp-client.ts:359
↓ 9 callersFunctionaddChild
(w: number, h: number)
src/renderer/src/design/canvas/canvas-auto-layout.test.ts:15
↓ 9 callersFunctionaddUsage
(into: UsageSnapshot, delta: UsageSnapshot)
kun/src/domain/usage.ts:10
↓ 9 callersFunctionaddWeightedTerms
(weights: Map<string, number>, text: string, weight: number)
src/main/services/write-retrieval-service.ts:475
↓ 9 callersFunctionaiRuntimeRequest
Build a runtimeRequest mock that drives the thread→turn→poll path and returns `replyText`.
src/main/workflow-runtime.nodes.test.ts:149
↓ 9 callersFunctionapplyProviderModelForm
( provider: ModelProviderProfileV1, form: ProviderModelForm )
src/renderer/src/components/provider-model-editor.ts:256
↓ 9 callersFunctionartifact
(id: string, title: string)
src/renderer/src/design/design-turn-prompt/payload.test.ts:18
↓ 9 callersFunctionbuildContext
()
kun/tests/web-tool-provider.test.ts:13
↓ 9 callersFunctionbuildHarness
(overrides: Partial<ChatState> = {})
src/renderer/src/store/chat-store-side-actions.test.ts:102
↓ 9 callersFunctionbuildHarness
(overrides?: { subscribeThreadEventsLive?: ReturnType<typeof vi.fn> recoverActiveTurn?: ReturnType<typeof
src/renderer/src/store/chat-store-navigation-actions.test.ts:58
↓ 9 callersFunctionbuildRemoteMcpConfig
(servers: Record<string, string>)
src/renderer/src/components/PluginMarketplaceView.tsx:373
↓ 9 callersFunctionbuildRuntimeCapabilityManifest
(input: { config?: KunCapabilitiesConfig model: ModelCapabilityMetadata mcp?: { configuredServers?:
kun/src/contracts/capabilities.ts:542
↓ 9 callersFunctionbuildStitchDesignMarkdown
(options: BuildStitchDesignMarkdownOptions)
src/renderer/src/design/design-md-compat.ts:138
↓ 9 callersFunctioncall
(argumentsValue: Record<string, unknown>)
kun/tests/tool-storm-breaker.test.ts:5
↓ 9 callersFunctioncanonicalPath
(targetPath: string)
src/main/services/workspace-paths.ts:129
↓ 9 callersFunctionclearDesignOperationJournal
()
src/renderer/src/design/graph/design-operation-journal.ts:140
↓ 9 callersFunctionclearWatchedCompletionNotification
(threadId: string)
src/renderer/src/store/chat-store-runtime.ts:262
↓ 9 callersFunctioncodeCanvasArtifactId
(threadId: string)
src/renderer/src/design/canvas/code-canvas.ts:12
↓ 9 callersFunctioncomposerReasoningEffortRequestValue
( value: ComposerReasoningEffort )
src/renderer/src/components/chat/FloatingComposerModelPicker.tsx:652
↓ 9 callersFunctioncontext
(workspace: string)
kun/src/adapters/tool/builtin-tool-utils.symlink.test.ts:9
↓ 9 callersFunctioncreateDesignArtifactId
()
src/renderer/src/design/design-types.ts:183
↓ 9 callersFunctioncreateGuiPlanArtifact
(options: { workspaceRoot: string threadId?: string | null relativePath: string absolutePath?: string
src/renderer/src/plan/plan-store.ts:177
↓ 9 callersFunctioncreateHybridStores
()
kun/tests/hybrid-store.test.ts:307
↓ 9 callersFunctioncreateSettings
(patch: Partial<AppSettingsV1['schedule']['internal']> = {})
src/main/claw-schedule-mcp-config.test.ts:30
↓ 9 callersFunctioncreateSettings
(workspaceRoot: string)
src/main/services/skill-service.test.ts:288
↓ 9 callersFunctioncreateWriteRecentEdit
(input: WriteRecentEditInput)
src/renderer/src/write/recent-edits.ts:67
↓ 9 callersFunctioncustomMcpConfigFragment
(id: string, raw: string, fallback: JsonRecord)
src/renderer/src/components/PluginMarketplaceView.tsx:453
↓ 9 callersFunctioncx
(...parts: Array<string | false | null | undefined>)
src/renderer/src/components/sidebar/SidebarPrimitives.tsx:4
↓ 9 callersFunctiondefaultTerminalColors
()
src/shared/app-settings-terminal.ts:108
↓ 9 callersFunctiondocumentWithRect
(name: string, id?: string)
src/renderer/src/design/canvas/code-canvas.test.ts:18
↓ 9 callersFunctionemitJsonRpc
(proc: MockProcess, message: Record<string, unknown>)
kun/src/adapters/tool/lsp-client.test.ts:57
↓ 9 callersMethodeq
(other: InlineCompletionWidget)
src/renderer/src/write/inline-completion/codemirror.ts:124
↓ 9 callersFunctionerrorResponse
( body: RuntimeError, status: number )
kun/src/server/routes/runtime-error.ts:6
↓ 9 callersFunctionfindDesignBoardArtifact
( artifacts: readonly DesignArtifact[] )
src/renderer/src/design/design-board.ts:49
↓ 9 callersFunctionfindSnaps
( moving: Rect, statics: Rect[], zoom: number, gridSize: number | null = null )
src/renderer/src/design/canvas/canvas-snap.ts:36
↓ 9 callersFunctiongetHeadCommit
(cwd: string)
src/main/services/worktree-service.ts:62
↓ 9 callersFunctiongetModelProviderProfile
( settings: AppSettingsV1, providerId: string | undefined )
src/shared/app-settings-provider.ts:179
↓ 9 callersFunctiongetRuntimeBaseUrlForSettings
(settings: AppSettingsV1)
src/main/runtime/kun-adapter.ts:71
↓ 9 callersFunctionhasClawPhoneChannel
( channels: ClawImChannelV1[], provider?: ClawImProvider )
src/renderer/src/components/chat/ConnectPhoneView.tsx:101
↓ 9 callersMethodhighestSeq
(threadId: string)
kun/src/ports/event-bus.ts:13
↓ 9 callersFunctionhighlightCodeHtml
(code: string, language: string)
src/renderer/src/lib/code-highlighting.ts:291
↓ 9 callersFunctioninitialSetupSelection
(settings: AppSettingsV1)
src/renderer/src/components/initial-setup-save.ts:75
↓ 9 callersFunctioninvalidToolResult
( invocation: DesignToolInvocation, error: { code: string; message: string; suggestion?: string } )
src/renderer/src/design/tool-protocol/protocol-types.ts:32
↓ 9 callersFunctionisAllowedDocsUrl
(url: unknown)
src/renderer/src/components/PluginMarketplaceView.tsx:198
↓ 9 callersFunctionisFrontendPath
(filePath: string | undefined)
kun/src/quality/detect.ts:46
↓ 9 callersFunctionisKunBranchWorktreePath
(path: string)
src/shared/kun-worktree-path.ts:36
↓ 9 callersFunctionisSelectableRasterImageSrc
(src: string | undefined)
src/renderer/src/write/selected-image.ts:20
↓ 9 callersFunctionisWriteTextFileExtension
(ext: string)
src/shared/write-text-file.ts:26
↓ 9 callersFunctionkunToolPermissionModeFromSettings
( settings: Pick<KunRuntimeSettingsV1, 'approvalPolicy' | 'sandboxMode'> )
src/shared/app-settings-types.ts:388
↓ 9 callersFunctionkunToolPermissionModeSettings
( mode: KunToolPermissionMode )
src/shared/app-settings-types.ts:371
↓ 9 callersFunctionmakeMapper
()
kun/src/runtime/agent-sdk/sdk-event-mapper.test.ts:6
↓ 9 callersMethodmarkRunning
(id: string)
kun/src/tasks/task-graph.ts:184
↓ 9 callersFunctionmarkThreadFork
( threadId: string, parent: Pick<NormalizedThread, 'id' | 'title'>, options: { createdAt?: string
src/renderer/src/lib/thread-fork-registry.ts:95
↓ 9 callersFunctionmergeScheduleSettings
( current: ScheduleSettingsV1, patch: ScheduleSettingsPatchV1 | undefined )
src/shared/app-settings-schedule.ts:129
↓ 9 callersFunctionmodelContextProfilesFromConfig
( config?: ContextCompactionConfig | ModelConfig | ModelProfileConfigSource )
kun/src/loop/model-context-profile.ts:168
↓ 9 callersFunctionnextVisibleLength
(current: number, target: number)
src/renderer/src/components/chat/StreamdownAssistant.tsx:30
↓ 9 callersFunctionnormalizeDevPreviewUrlInput
(input: string)
src/shared/dev-preview-url.ts:45
↓ 9 callersFunctionnormalizeGitBranchPrefix
(value: unknown)
src/shared/app-settings-normalize.ts:129
↓ 9 callersFunctionnormalizeModelCapabilityKey
(modelId: string)
src/renderer/src/components/chat/FloatingComposerModelPicker.tsx:791
↓ 9 callersFunctionnormalizeWorkspaceRoot
(value: string | undefined | null)
src/renderer/src/plan/plan-store.ts:57
↓ 9 callersMethodonSseEvent
(event: Record<string, unknown>)
src/main/feishu-streamer.ts:136
↓ 9 callersFunctiononUpdate
({ editor: instance, transaction })
src/renderer/src/write/tiptap/WriteRichEditor.tsx:430
↓ 9 callersFunctionopenAiCompatImageUrl
( baseUrl: string, endpoint: 'generations' | 'edits' )
kun/src/adapters/tool/image-gen-tool-provider.ts:441
↓ 9 callersFunctionpercentile
(values: number[], quantile: number)
kun/src/benchmark/replay-benchmark.ts:858
↓ 9 callersFunctionplanFeatureNameFromRequest
(request: string)
src/shared/gui-plan.ts:20
↓ 9 callersFunctionproviderIdForComposerModel
( modelGroups: readonly ModelProviderModelGroup[], modelId: string )
src/renderer/src/store/chat-store-helpers.ts:170
↓ 9 callersMethodreadRange
(id: string, options: ReadRangeOptions)
kun/src/artifacts/artifact-store.ts:58
↓ 9 callersFunctionredactSecretText
(value: string)
kun/src/config/secret-redaction.ts:29
↓ 9 callersFunctionreplacePendingInfographicInText
( content: string, pendingMarkdown: string, replacement: string | null )
src/renderer/src/write/infographic-pending.ts:86
↓ 9 callersFunctionrequestSpeechTranscription
( settings: AppSettingsV1, request: SpeechTranscriptionRequest, options: { fetchImpl?: typeof fetch
src/main/services/speech-to-text-service.ts:38
← previousnext →601–700 of 9,736, ranked by callers