MCPcopy Create free account

hub / github.com/ValueCell-ai/ClawX / functions

Functions2,554 in github.com/ValueCell-ai/ClawX

↓ 243 callersFunctionset
(partial: Partial<ChatLikeState> | ((s: ChatLikeState) => Partial<ChatLikeState>))
tests/unit/chat-history-actions.test.ts:203
↓ 216 callersMethodget
(accountId: string)
electron/services/secrets/secret-store.ts:5
↓ 201 callersFunctioncn
(...inputs: ClassValue[])
src/lib/utils.ts:51
↓ 198 callersFunctionget
()
tests/unit/chat-history-actions.test.ts:207
↓ 185 callersMethodset
(secret: ProviderSecret)
electron/services/secrets/secret-store.ts:6
↓ 129 callersFunctioninvokeHost
( module: M, action: A, ...payloadArgs: HostApiPayloadArgs<M, A> )
src/lib/host-api-client.ts:13
↓ 103 callersMethodon
(channel: string, callback: (...args: unknown[]) => void)
src/types/electron.d.ts:10
↓ 84 callersMethodresolve
(moduleName: string, actionName: string)
electron/main/ipc/host-invoke.ts:60
↓ 64 callersFunctionisRecord
(value: unknown)
electron/services/payload-utils.ts:3
↓ 63 callersMethodemit
(event: string, ...args: unknown[])
tests/unit/gateway-ws-client.test.ts:33
↓ 63 callersMethodrpc
* Make an RPC call to the Gateway * Uses OpenClaw protocol format: { type: "req", id: "...", method: "...", params: {...} }
electron/gateway/manager.ts:867
↓ 58 callersFunctionisPlainRecord
(value: unknown)
electron/utils/openclaw-auth.ts:1914
↓ 55 callersFunctionwriteOpenClawJson
(config: unknown)
tests/unit/openclaw-auth.test.ts:48
↓ 53 callersMethoddelete
(accountId: string)
electron/services/secrets/secret-store.ts:7
↓ 52 callersFunctionreadOpenClawJson
()
tests/unit/openclaw-auth.test.ts:54
↓ 44 callersFunctionfsPath
(filePath: string)
electron/utils/plugin-install.ts:30
↓ 43 callersFunctioninstallIpcMocks
( app: ElectronApplication, config: IpcMockConfig, )
tests/e2e/fixtures/electron.ts:224
↓ 40 callersFunctioncloseElectronApp
(app: ElectronApplication, timeoutMs = 5_000)
tests/e2e/fixtures/electron.ts:80
↓ 39 callersFunctionreadString
(value: unknown)
electron/gateway/chat-runtime-events.ts:7
↓ 38 callersFunctiongetStableWindow
(app: ElectronApplication)
tests/e2e/fixtures/electron.ts:51
↓ 36 callersFunctionreadOpenClawConfig
()
electron/utils/channel-config.ts:464
↓ 34 callersFunctionwithConfigLock
(fn: () => Promise<T>)
electron/utils/config-mutex.ts:71
↓ 32 callersFunctionnormWin
(p)
scripts/after-pack.cjs:33
↓ 31 callersFunctionsanitizeConfig
* Standalone mirror of the sanitization logic in openclaw-auth.ts. * Uses the same blocklist approach as the production code.
tests/unit/sanitize-config.test.ts:112
↓ 30 callersFunctioncompleteSetup
(page: Page)
tests/e2e/fixtures/electron.ts:214
↓ 30 callersMethodreload
* Ask the Gateway process to reload config in-place when possible. * Falls back to restart on unsupported platforms or signaling failures.
electron/gateway/manager.ts:652
↓ 30 callersFunctionwriteConfig
(data: unknown)
tests/unit/sanitize-config.test.ts:20
↓ 29 callersFunctiongetOpenClawConfigDir
()
electron/utils/paths.ts:53
↓ 28 callersMethodgetStatus
* Get current update status
electron/main/updater.ts:103
↓ 27 callersFunctionreadConfig
()
tests/unit/sanitize-config.test.ts:24
↓ 26 callersFunctionwriteOpenClawConfig
(config: OpenClawConfig)
electron/utils/channel-config.ts:481
↓ 23 callersFunctionextractText
(message: RawMessage | unknown)
src/pages/Chat/message-utils.ts:286
↓ 23 callersMethodlistAccounts
()
electron/services/providers/provider-service.ts:104
↓ 23 callersFunctionmakeAccount
(overrides: Partial<ProviderAccount> = {})
tests/unit/provider-service-stale-cleanup.test.ts:83
↓ 23 callersFunctionnormWin
(p)
scripts/bundle-openclaw.mjs:29
↓ 23 callersFunctionsetPlatform
(platform: string)
tests/unit/win-shell.test.ts:10
↓ 23 callersFunctionstableStringify
(value: unknown)
tests/e2e/chat-run-state-events.spec.ts:5
↓ 22 callersMethodclear
()
electron/gateway/connection-monitor.ts:106
↓ 22 callersFunctioncreateHistoryActions
( set: ChatSet, get: ChatGet, )
src/stores/chat/history-actions.ts:52
↓ 22 callersFunctionstableStringify
(value: unknown)
tests/e2e/chat-task-visualizer.spec.ts:7
↓ 21 callersFunctionensureProviderStoreMigrated
()
electron/services/providers/provider-migration.ts:11
↓ 21 callersFunctiongetClawXProviderStore
()
electron/services/providers/store-instance.ts:5
↓ 21 callersFunctionlistAgentsSnapshot
()
electron/utils/agent-config.ts:545
↓ 21 callersFunctionmakeHarness
(initial?: Partial<ChatLikeState>)
tests/unit/chat-history-actions.test.ts:185
↓ 21 callersFunctionrespond
(id: unknown, data: unknown)
tests/e2e/provider-lifecycle.spec.ts:144
↓ 20 callersFunctionflushAsyncImports
()
tests/unit/gateway-events.test.ts:29
↓ 20 callersFunctionsanitizeOpenClawConfig
()
electron/utils/openclaw-auth.ts:2755
↓ 19 callersFunctionclearHistoryPoll
()
src/stores/chat.ts:329
↓ 19 callersFunctiongetMessageText
Extract plain text from message content (string or content blocks)
src/stores/chat/helpers.ts:423
↓ 19 callersMethodrestart
* Restart Gateway process
electron/gateway/manager.ts:546
↓ 19 callersMethodsetStatus
* Update status and emit event
electron/gateway/manager.ts:1407
↓ 19 callersFunctiontoMs
Normalize a timestamp to milliseconds. Handles both seconds and ms.
src/stores/chat.ts:76
↓ 18 callersFunctioncleanupAgentsSymlinkedSkills
(opts: CleanupOptions = {})
electron/gateway/skills-symlink-cleanup.ts:166
↓ 18 callersFunctionextractRawFilePaths
* Extract raw file paths from message text. * Detects absolute paths (Unix: / or ~/, Windows: C:\ etc.) ending with common file extensions. * Handle
src/stores/chat/helpers.ts:795
↓ 18 callersFunctiongetMessageText
Extract plain text from message content (string or content blocks)
src/stores/chat.ts:837
↓ 18 callersFunctionsendMainWindowEvent
(channel: string, payload: unknown)
electron/main/index.ts:139
↓ 18 callersFunctionvalidateApiKeyWithProvider
( providerType: string, apiKey: string, options?: { baseUrl?: string; apiProtocol?: string }, )
electron/services/providers/provider-validation.ts:353
↓ 17 callersMethodgetDiagnostics
()
electron/gateway/manager.ts:283
↓ 17 callersFunctiongetProviderConfig
( type: string )
electron/utils/provider-registry.ts:47
↓ 17 callersFunctionhandleRuntimeEventState
( set: ChatSet, get: ChatGet, event: Record<string, unknown>, resolvedState: string, runId: string,
src/stores/chat/runtime-event-handlers.ts:27
↓ 17 callersFunctionisInternalMessage
True for internal plumbing messages that should never be shown in the UI.
src/stores/chat/helpers.ts:1540
↓ 17 callersFunctionsaveChannelConfig
( channelType: string, config: ChannelConfigData, accountId?: string, )
electron/utils/channel-config.ts:830
↓ 17 callersFunctionwriteOpenClawJson
(config: unknown)
tests/unit/agent-config.test.ts:33
↓ 16 callersFunctionfsPath
(filePath: string)
electron/gateway/config-sync.ts:7
↓ 16 callersFunctionreadNonEmptyString
(value: unknown)
electron/services/channels-api.ts:508
↓ 16 callersFunctionsaveProviderKeyToOpenClaw
( provider: string, apiKey: string, agentId?: string )
electron/utils/openclaw-auth.ts:943
↓ 16 callersFunctiontoArray
(value)
harness/src/specs.mjs:114
↓ 16 callersFunctiontoStringValue
(value: unknown)
electron/services/skills/local-skill-service.ts:157
↓ 16 callersFunctionwithClawXToolDefaults
(config: T)
tests/unit/sanitize-config.test.ts:29
↓ 15 callersFunctiongetApiKey
(providerId: string)
electron/utils/secure-storage.ts:57
↓ 15 callersFunctiongetProviderService
()
electron/services/providers/provider-service.ts:627
↓ 15 callersFunctiongetSetting
(key: K)
electron/utils/store.ts:130
↓ 15 callersFunctionmakeHarness
(initial?: Partial<ChatLikeState>)
tests/unit/chat-runtime-event-handlers.test.ts:77
↓ 15 callersFunctionquoteForCmd
(value: string)
electron/utils/win-shell.ts:22
↓ 15 callersFunctionrequireString
(payload: unknown, key: string)
electron/services/channels-api.ts:161
↓ 15 callersFunctionresolveSupportedLanguage
( locale: string | null | undefined, fallback: LanguageCode = 'en', )
shared/language.ts:11
↓ 15 callersFunctionstableStringify
(value: unknown)
tests/e2e/chat-file-changes.spec.ts:5
↓ 14 callersFunctionpad2
(value: number)
src/pages/Cron/index.tsx:335
↓ 14 callersFunctionparseUsageEntriesFromJsonl
( content: string, context: { sessionId: string; agentId: string }, limit?: number, )
electron/utils/token-usage-core.ts:260
↓ 14 callersFunctionreadOpenClawJson
()
electron/utils/openclaw-auth.ts:732
↓ 14 callersFunctionresolveStoredChannelType
(channelType: string)
electron/services/channels-api.ts:173
↓ 14 callersMethodrun
( method: string, params: unknown, timeoutMs: number | undefined, runner: GatewayRpcRunner,
electron/gateway/rpc-backpressure.ts:42
↓ 14 callersFunctionstableStringify
(value: unknown)
tests/e2e/chat-skill-trigger-i18n.spec.ts:5
↓ 14 callersFunctionwriteOpenClawJson
(config: Record<string, unknown>)
electron/utils/openclaw-auth.ts:850
↓ 13 callersFunctionaccount
(overrides: Partial<ProviderAccount>)
tests/unit/model-options.test.ts:15
↓ 13 callersFunctionassignChannelAccountToAgent
( agentId: string, channelType: string, accountId: string, )
electron/utils/agent-config.ts:767
↓ 13 callersMethodgetLegacyProvider
* @deprecated Use getAccount(accountId).
electron/services/providers/provider-service.ts:545
↓ 13 callersFunctiongetOpenClawDir
()
electron/utils/paths.ts:116
↓ 13 callersFunctiongetOpenClawResolvedDir
()
electron/utils/paths.ts:128
↓ 13 callersFunctionhasPendingToolUse
* True when an assistant message is still waiting on a tool result, i.e. it * represents an intermediate tool-use turn rather than a finished reply.
src/stores/chat/helpers.ts:1823
↓ 13 callersFunctionmakeFile
( name: string, options?: { path?: string; webkitRelativePath?: string; type?: string; siz
tests/unit/collect-dropped-files.test.ts:8
↓ 13 callersFunctionnormalizeSkillKey
(value?: string)
src/stores/skills.ts:37
↓ 13 callersFunctionproxyAwareFetch
( input: string | URL, init?: RequestInit )
electron/utils/proxy-fetch.ts:7
↓ 13 callersFunctionrenderChatInput
(onSend = vi.fn())
tests/unit/chat-input.test.tsx:122
↓ 13 callersFunctionrunCachedPrelaunchMaintenanceTask
( taskName: PrelaunchMaintenanceTaskName, cacheKey: CacheKeyInput, task: MaintenanceTask, options: { c
electron/gateway/prelaunch-maintenance-cache.ts:118
↓ 13 callersFunctionstableStringify
(value: unknown)
tests/e2e/openclaw-dreams.spec.ts:4
↓ 13 callersFunctionsyncProviderConfigToOpenClaw
( provider: string, modelId: string | undefined, override: RuntimeProviderConfigOverride )
electron/utils/openclaw-auth.ts:1987
↓ 12 callersFunctionclearHistoryPoll
()
src/stores/chat/helpers.ts:74
↓ 12 callersFunctioncreateProvider
(overrides: Partial<ProviderConfig> = {})
tests/unit/provider-runtime-sync.test.ts:92
↓ 12 callersFunctionderiveTaskSteps
({ messages, streamingMessage, streamingTools, omitLastStreamingMessageSegment = false, }: DeriveTaskS
src/pages/Chat/task-visualization.ts:468
next →1–100 of 2,554, ranked by callers