MCPcopy Create free account

hub / github.com/KunAgent/Kun / functions

Functions9,736 in github.com/KunAgent/Kun

↓ 23 callersFunctionbrowserStorage
()
src/renderer/src/lib/browser-storage.ts:16
↓ 23 callersFunctionbuildContext
(workspace: string, overrides: Partial<ToolHostContext> = {})
kun/tests/builtin-tools.test.ts:61
↓ 23 callersFunctiondefaultKeyboardShortcuts
()
src/shared/keyboard-shortcuts.ts:162
↓ 23 callersFunctiondefaultTerminalSettings
()
src/shared/app-settings-terminal.ts:116
↓ 23 callersFunctionhasTopLevelHeading
(html: string)
src/renderer/src/design/html-quality/product-and-hero-content.ts:8
↓ 23 callersFunctionmakeTask
(patch: Partial<ScheduledTaskV1> = {})
src/main/schedule-runtime.test.ts:25
↓ 23 callersFunctionnormalizePath
(value: string)
src/renderer/src/write/write-workspace-store-helpers.ts:71
↓ 23 callersFunctionparseWriteInlineAction
( raw: string, options: { fallbackKind?: WriteInlineCompletionAction['kind'] editTarget?: WriteInl
src/main/services/write-inline-completion-service.ts:713
↓ 23 callersMethodsendMessage
* Sends a plain text message (no parse mode) to a chat. Used for agent * replies that are forwarded verbatim. Splits long text at the Telegram *
src/main/telegram-runtime.ts:166
↓ 22 callersMethodadd
(input: AddTaskInput)
kun/src/tasks/task-graph.ts:71
↓ 22 callersMethodappend
(data: Buffer)
kun/src/adapters/tool/output-accumulator.ts:156
↓ 22 callersFunctionbindTokens
(foundation: TemplateFoundation, bindings: Record<string, string>)
src/renderer/src/design/canvas/design-system-template/foundation.ts:372
↓ 22 callersFunctionbuildConversation
(overrides: Partial<ClawImConversationV1> = {})
src/main/claw-runtime.test.ts:77
↓ 22 callersFunctionbuildThreadEventSink
( set: (partial: Partial<ChatState> | ((state: ChatState) => Partial<ChatState>)) => void, get: () => Chat
src/renderer/src/store/chat-store-runtime.ts:703
↓ 22 callersFunctionemptyDesignThreadRegistry
()
src/renderer/src/design/design-thread-registry.ts:75
↓ 22 callersFunctiontn
(value: string)
src/renderer/src/design/canvas/design-system-template/foundation.ts:145
↓ 22 callersFunctiontoolBlock
(overrides: Partial<ToolBlock>)
src/renderer/src/components/chat/MessageTimeline.tool-summary.test.ts:45
↓ 22 callersFunctionvisionChatProfile
( contextWindowTokens?: number, reasoning?: ModelProviderReasoningCapabilityV1, endpointFormat?: ModelEn
src/shared/model-provider-presets.ts:856
↓ 21 callersMethodclear
(threadId?: string)
kun/src/adapters/tool/read-tracker.ts:82
↓ 21 callersMethodhandleWebhook
(req: IncomingMessage, res: ServerResponse)
src/main/claw-runtime.ts:2349
↓ 21 callersFunctionhasStaticPrimaryAction
(html: string)
src/renderer/src/design/html-quality/interaction-and-accessibility.ts:282
↓ 21 callersFunctionlogError
(category: string, message: string, detail?: unknown)
src/main/logger.ts:83
↓ 21 callersFunctionnestedRecord
(value: unknown)
src/main/claw-runtime-helpers.ts:422
↓ 21 callersFunctionreadDesignThreadRegistry
( storage: BrowserStorageLike | null = browserStorage() )
src/renderer/src/design/design-thread-registry.ts:133
↓ 21 callersMethodresolveTurn
(input: { prompt: string workspace: string filePaths?: readonly string[] /** Per-call skill-id
kun/src/skills/skill-runtime.ts:160
↓ 21 callersFunctionround
(n: number)
src/renderer/src/design/canvas/canvas-snapshot.ts:571
↓ 21 callersFunctionshapeGeometry
(shape: CanvasShape)
src/renderer/src/design/canvas/canvas-types.ts:468
↓ 21 callersFunctionsuggestionForMissingId
(missing: string)
src/renderer/src/design/canvas/shape-ops/context.ts:50
↓ 21 callersFunctiontoggleWriteInlineFormat
( text: string, kind: WriteInlineFormatKind )
src/renderer/src/write/inline-format.ts:90
↓ 20 callersFunctionapplyShapeOpsFromText
(text: string)
src/renderer/src/design/canvas/apply-shape-ops.ts:264
↓ 20 callersFunctionchatBlockFromItem
(item: CoreTurnItemJson, child?: CoreChildRuntimeMetadataJson)
src/renderer/src/agent/kun-mapper.ts:976
↓ 20 callersFunctioncreateSddDraft
(options: { id: string workspaceRoot: string absolutePath?: string now?: number })
src/renderer/src/sdd/sdd-draft-store.ts:195
↓ 20 callersFunctiondefaultDesignArtifactNode
(index: number)
src/renderer/src/design/design-types.ts:168
↓ 20 callersFunctiondesignDocKey
( workspaceRoot: string | undefined | null, docId: string | undefined | null )
src/renderer/src/design/design-thread-registry.ts:47
↓ 20 callersMethodenqueue
(turnId: string, entry: SteeringEntry)
kun/src/loop/steering-queue.ts:24
↓ 20 callersFunctionhasBrandLandingScreenSignal
(html: string, visibleText: string)
src/renderer/src/design/html-quality/product-and-hero-content.ts:291
↓ 20 callersFunctioninitialSetupDrafts
(settings: AppSettingsV1)
src/renderer/src/components/initial-setup-save.ts:51
↓ 20 callersFunctionisJsonRecord
(value: unknown)
src/renderer/src/components/PluginMarketplaceView.tsx:145
↓ 20 callersFunctionisStr
(v: unknown)
src/renderer/src/design/design-artifact-persistence.ts:55
↓ 20 callersFunctionnormalizeColor
(value: unknown, fallback: string)
src/shared/app-settings-terminal.ts:122
↓ 20 callersMethodsearch
(request: WebSearchRequest)
kun/src/ports/web-provider.ts:39
↓ 20 callersFunctiontool
(name: string, inputSchema: Record<string, unknown> = {})
kun/src/runtime/agent-sdk/sdk-tool-bridge.test.ts:12
↓ 20 callersFunctionwriteSkill
( folder: string, manifest: Record<string, unknown>, entry: string )
kun/tests/skill-runtime.test.ts:471
↓ 19 callersMethodallocateSeq
Returns the next per-thread `seq` value, allocating one if needed.
kun/src/adapters/in-memory-event-bus.ts:66
↓ 19 callersFunctionbuildPrototypeNavigationCaptureScript
(links: readonly PrototypePlayerLink[])
src/renderer/src/design/prototype-player/playback.ts:9
↓ 19 callersFunctionbuildWriteRichMarkdownProjection
(doc: PMNode)
src/renderer/src/write/tiptap/markdown-projection.ts:219
↓ 19 callersMethodcancel
(id: string)
kun/src/tasks/task-graph.ts:235
↓ 19 callersFunctioncreateAesEncryptor
(key: Buffer)
kun/src/security/secret-store.ts:28
↓ 19 callersMethodcreateThread
(input: { workspace?: string; title?: string; titleAuto?: boolean; mode?: string; agentId?: string; providerId
src/renderer/src/agent/types.ts:462
↓ 19 callersFunctiondispatchKunRuntimeEvent
( event: CoreRuntimeEventJson, sink: ThreadEventSink, handleApprovalRequest: (event: CoreRuntimeEventJso
src/renderer/src/agent/kun-mapper.ts:1207
↓ 19 callersFunctionexpandHomePath
(path: string)
src/main/kun-process.ts:292
↓ 19 callersFunctionexpandHomePath
(raw: string)
src/main/services/workspace-paths.ts:23
↓ 19 callersFunctionisGuiPlanRelativePath
(value: string)
src/shared/gui-plan.ts:44
↓ 19 callersFunctionmodelCapabilitiesForModel
( model: string | undefined, profiles: readonly ModelContextProfile[] = MODEL_CONTEXT_PROFILES )
kun/src/loop/model-context-profile.ts:150
↓ 19 callersFunctionr
(x: number, y: number, w: number, h: number)
src/renderer/src/design/canvas/canvas-snap.test.ts:4
↓ 19 callersFunctionrecord
(value: unknown)
src/shared/app-settings-workflow.ts:73
↓ 19 callersFunctionrecordValue
(value: unknown, key?: string)
kun/src/adapters/model/compat-model-client.ts:2173
↓ 19 callersFunctionresolveWorkspacePath
(inputPath: string, context: ToolHostContext)
kun/src/adapters/tool/builtin-tool-utils.ts:62
↓ 19 callersFunctionrgbToHex
(value: string | null | undefined)
src/renderer/src/design/design-element-metrics.ts:44
↓ 19 callersFunctionspec
(name: string)
kun/src/loop/agent-loop.test.ts:12
↓ 18 callersFunctionartifact
(id: string, kind: DesignArtifact['kind'] = 'html')
src/renderer/src/design/design-composer-context.test.ts:21
↓ 18 callersFunctioncreateGitCheckpoint
(params: { dataDir: string workspaceRoot: string threadId: string checkpointId?: string storage?: Gi
src/main/services/git-checkpoint-service.ts:492
↓ 18 callersFunctioncreateRequest
()
src/main/services/write-inline-completion-service.test.ts:74
↓ 18 callersFunctioncreateStore
(overrides: Partial<AttachmentsCapabilityConfig> = {})
kun/tests/attachment-store.test.ts:638
↓ 18 callersFunctionerrorMessage
(error: unknown)
src/main/claw-runtime.ts:109
↓ 18 callersFunctionfinishPendingInfographic
(id: string)
src/renderer/src/write/infographic-pending.ts:37
↓ 18 callersFunctionformatRelativeTime
(input: string, locale: string)
src/renderer/src/lib/format-relative-time.ts:1
↓ 18 callersMethodhandleFeishuMessage
(channelId: string, message: NormalizedMessage)
src/main/claw-runtime.ts:1754
↓ 18 callersMethodinvalidateSettings
()
src/renderer/src/agent/runtime-client.ts:36
↓ 18 callersFunctionisComposerChatModelId
( modelId: string, nonTextModelIds: readonly string[] = [] )
src/shared/app-settings-provider.ts:267
↓ 18 callersMethodnote
Ask for one restart attempt; records it when allowed.
src/main/kun-runtime-supervisor.ts:54
↓ 18 callersFunctionparseKunConfigSection
( schema: SafeParseSchema, value: unknown )
src/main/kun-process.ts:1286
↓ 18 callersFunctionparseMcpConfigText
(text: string)
src/renderer/src/components/mcp/mcp-config-form.ts:163
↓ 18 callersFunctionprovider
(overrides: Partial<ModelProviderProfileV1> = {})
src/renderer/src/components/provider-model-editor.test.ts:18
↓ 18 callersFunctionreduceField
(shapes: CanvasShape[], getter: (s: CanvasShape) => T)
src/renderer/src/components/design/canvas/properties-panel/primitives.tsx:12
↓ 18 callersMethodretrieve
(input: { query: string; workspace?: string; limit: number })
kun/src/memory/memory-store.ts:20
↓ 18 callersFunctionrole
( id: DesignAgentManagerRoleId, status: DesignAgentManagerStatus, detailKey: string, detailOptions?: R
src/renderer/src/design/agent-manager/design-agent-manager.ts:123
↓ 18 callersFunctionsanitizePromptLine
(text = '')
src/main/services/write-inline-completion-service.ts:191
↓ 18 callersFunctionsetScreenArtifactFactory
(fn: ScreenArtifactFactory | null)
src/renderer/src/design/canvas/screen-artifact-bridge.ts:34
↓ 18 callersFunctionsettings
()
src/main/ipc/register-app-ipc-handlers.test.ts:35
↓ 18 callersFunctionsettingsWith
( tasks: ScheduledTaskV1[] = [], schedulePatch: AppSettingsPatch['schedule'] = {} )
src/main/schedule-runtime.test.ts:79
↓ 18 callersFunctiontCommon
(key: string, values?: Record<string, unknown>)
src/renderer/src/components/settings-section-claw.test.ts:85
↓ 18 callersFunctiontraceStartup
(label: string, detail?: unknown)
src/main/index.ts:128
↓ 18 callersFunctionwf
(spec: WorkflowSpec)
src/main/workflow-runtime.nodes.test.ts:85
↓ 17 callersFunctionclearRuntimeStreamRecoveringError
(error: string | null)
src/renderer/src/store/chat-store-runtime.ts:229
↓ 17 callersFunctioncode
(value: string | undefined)
src/renderer/src/design/design-contract/design-project-contract.ts:49
↓ 17 callersFunctioncreateBlankMcpServer
(transport: McpTransport = 'stdio')
src/renderer/src/components/mcp/mcp-config-form.ts:139
↓ 17 callersFunctioncurrent
()
src/renderer/src/store/chat-store.ts:122
↓ 17 callersFunctionformatPercent
(value: number | null)
src/renderer/src/hooks/use-thread-usage.ts:78
↓ 17 callersMethodgenerate
(request: MusicGenRequest)
kun/src/adapters/tool/media-gen-tool-provider.ts:63
↓ 17 callersMethodgetItem
(key: string)
src/renderer/src/store/chat-store-navigation-actions.test.ts:49
↓ 17 callersMethodgetThreadDetail
(threadId: string)
src/renderer/src/agent/types.ts:463
↓ 17 callersFunctionisConversationWorkspacePath
(path?: string, root?: string)
src/renderer/src/lib/workspace-path.ts:61
↓ 17 callersFunctionisCurrentStream
()
src/renderer/src/store/chat-store-runtime.ts:711
↓ 17 callersFunctionisSddAssistantThread
( thread: SddThreadLike | null | undefined, registry: SddThreadRegistry = readSddThreadRegistry() )
src/renderer/src/sdd/sdd-thread-registry.ts:246
↓ 17 callersFunctionnormalizePositiveInteger
(value: unknown, fallback: number, min: number, max: number)
src/shared/app-settings-normalizers.ts:34
↓ 17 callersFunctionnormalizeWorkflowSettings
(input: WorkflowSettingsPatchV1 | undefined)
src/shared/app-settings-workflow.ts:726
↓ 17 callersMethodonError
(error: Error)
src/main/feishu-streamer.ts:49
↓ 17 callersFunctionpatchSide
( state: ChatState, sideId: string, patch: (side: SideConversation) => SideConversation )
src/renderer/src/store/chat-store-side-actions.ts:54
↓ 17 callersMethodpending
(threadId?: string)
kun/src/ports/approval-gate.ts:12
← previousnext →201–300 of 9,736, ranked by callers