MCPcopy Create free account

hub / github.com/clawbot7/cli-gateway / functions

Functions389 in github.com/clawbot7/cli-gateway

↓ 1 callersFunctionbuildToolDetailText
(params: { update: any; rawTitle: string; inferredActions: ToolAction[]; toolCallId?: string; status
src/gateway/bindingRuntime.ts:896
↓ 1 callersFunctionclearDiscordInboundReaction
( message: unknown, emoji: string, )
src/channels/discord.ts:1123
↓ 1 callersMethodclearPersistentPolicies
( bindingKey: string, policy?: PersistentToolPolicy, )
src/gateway/toolAuth.ts:180
↓ 1 callersFunctioncolorForKind
(kind: string)
src/channels/discordSink.ts:648
↓ 1 callersFunctioncreateConfig
()
test/telegramCommandParse.test.ts:10
↓ 1 callersFunctioncreateConfigSchema
(defaults: { defaultWorkspaceRoot: string; defaultDbPath: string; })
src/config.ts:38
↓ 1 callersFunctioncreateDefaultConfig
(defaults: { defaultWorkspaceRoot: string; defaultDbPath: string; })
src/config.ts:141
↓ 1 callersFunctioncreateDiscordInteractionSink
( interaction: ChatInputCommandInteraction, )
src/channels/discord.ts:375
↓ 1 callersFunctioncreateTelegramCommandSink
( bot: Bot, chatId: number, threadId: number | null, )
src/channels/telegram.ts:713
↓ 1 callersFunctiondeleteBinding
(db: Db, key: ConversationKey)
src/gateway/sessionStore.ts:80
↓ 1 callersFunctionderiveResourceName
(uri: string, index: number)
src/gateway/bindingRuntime.ts:758
↓ 1 callersFunctiondetectCliPreset
(command: string, args: string[])
src/gateway/router.ts:1124
↓ 1 callersMethodemitExit
(code: number | null, signal: NodeJS.Signals | null)
test/acpClientTransport.test.ts:39
↓ 1 callersMethodensureInitialized
()
src/gateway/bindingRuntime.ts:303
↓ 1 callersMethodensureSessionId
()
src/gateway/bindingRuntime.ts:319
↓ 1 callersFunctionextractCommand
(args: unknown, title: string)
src/channels/discordSink.ts:334
↓ 1 callersFunctionextractCommand
(args: unknown, title: string)
src/channels/discord.ts:726
↓ 1 callersFunctionextractDeepStringArrayByKeys
(root: unknown, keys: string[])
src/channels/discordSink.ts:491
↓ 1 callersFunctionextractDeepStringArrayByKeys
(root: unknown, keys: string[])
src/channels/discord.ts:883
↓ 1 callersFunctionextractDeepStringByKeys
(root: unknown, keys: string[])
src/channels/discordSink.ts:441
↓ 1 callersFunctionextractDeepStringByKeys
(root: unknown, keys: string[])
src/channels/discord.ts:833
↓ 1 callersFunctionextractDiscordImageResources
( attachments: Attachment[], )
src/channels/discord.ts:226
↓ 1 callersFunctionextractErrorText
(update: any)
src/gateway/bindingRuntime.ts:1007
↓ 1 callersFunctionextractExitCode
(update: any)
src/gateway/bindingRuntime.ts:997
↓ 1 callersFunctionextractMatchCandidates
( toolKind: ToolKind, context: ToolMatchContext, )
src/gateway/toolAuth.ts:382
↓ 1 callersFunctionextractSearchHint
(update: any)
src/gateway/bindingRuntime.ts:985
↓ 1 callersFunctionextractStringArray
(root: unknown, paths: string[])
src/channels/discordSink.ts:386
↓ 1 callersFunctionextractStringArray
(root: unknown, paths: string[])
src/channels/discord.ts:778
↓ 1 callersFunctionextractStringArray
(root: unknown, paths: string[])
src/gateway/bindingRuntime.ts:1028
↓ 1 callersFunctionextractTargetFromToolTitle
( toolKind: ToolKind, titleRaw: unknown, )
src/gateway/toolAuth.ts:517
↓ 1 callersFunctionextractTelegramImageResources
( bot: Bot, token: string, message: any, )
src/channels/telegram.ts:604
↓ 1 callersFunctionextractTelegramInboundText
(message: any)
src/channels/telegram.ts:541
↓ 1 callersFunctionextractTelegramMediaGroupId
(message: any)
src/channels/telegram.ts:547
↓ 1 callersFunctionextractToolCallId
(update: any)
src/gateway/bindingRuntime.ts:740
↓ 1 callersFunctionformatGlobalContextText
(input: string | undefined)
src/gateway/router.ts:1267
↓ 1 callersFunctionformatPermissionRequest
(req: PermissionRequest)
src/gateway/bindingRuntime.ts:622
↓ 1 callersFunctionformatPromptTextForStorage
(text: string, resources: UserResource[])
src/gateway/router.ts:1273
↓ 1 callersFunctionformatTextCodeBlock
(text: string, maxLen: number)
src/channels/discordSink.ts:640
↓ 1 callersFunctionformatTextCodeBlock
(text: string, maxLen: number)
src/channels/discord.ts:1020
↓ 1 callersFunctionformatTextCodeBlock
(text: string)
src/gateway/router.ts:1186
↓ 1 callersFunctionformatToolUiPlainText
(event: { title: string; detail?: string; mode: 'verbose' | 'summary'; })
src/channels/discordSink.ts:628
↓ 1 callersFunctionformatToolUiText
(event: ToolUiEvent)
src/channels/telegramSink.ts:223
↓ 1 callersMethodgetLoadSupported
()
src/gateway/bindingRuntime.ts:334
↓ 1 callersMethodgetPendingPermission
()
src/gateway/bindingRuntime.ts:338
↓ 1 callersMethodgetPersistentPolicy
( bindingKey: string, toolKind: ToolKind, )
src/gateway/toolAuth.ts:95
↓ 1 callersMethodgetTenantAccessToken
()
src/channels/feishu.ts:159
↓ 1 callersMethodhandleAgentRequest
(req: JsonRpcRequest)
src/acp/client.ts:283
↓ 1 callersMethodhandleCommand
( key: ConversationKey, text: string, sink: OutboundSink, )
src/gateway/router.ts:329
↓ 1 callersFunctionhandleExit
( code: number | null, signal: NodeJS.Signals | null, )
src/acp/stdio.ts:63
↓ 1 callersMethodhandleMessage
(message: JsonRpcMessage)
src/acp/client.ts:241
↓ 1 callersFunctionhandleSlashCommand
(params: { interaction: ChatInputCommandInteraction; router: GatewayRouter; config: AppConfig; })
src/channels/discord.ts:310
↓ 1 callersMethodhasSessionId
()
src/gateway/bindingRuntime.ts:387
↓ 1 callersFunctioninferToolActions
(update: any, rawTitle: string)
src/gateway/bindingRuntime.ts:789
↓ 1 callersFunctioninferToolStage
(update: any)
src/gateway/bindingRuntime.ts:686
↓ 1 callersFunctionisAcpTransportError
(error: unknown)
src/gateway/router.ts:1286
↓ 1 callersFunctionisInteractiveTerminal
( input: NodeJS.ReadStream, output: NodeJS.WriteStream, )
src/config.ts:155
↓ 1 callersFunctionisNoopEditError
(error: unknown)
src/channels/bufferedSink.ts:121
↓ 1 callersFunctionisNotification
(message: any)
src/acp/jsonrpc.ts:42
↓ 1 callersFunctionisPidAlive
(pid: number)
src/runtime/lock.ts:91
↓ 1 callersFunctionisRequest
(message: any)
src/acp/jsonrpc.ts:33
↓ 1 callersFunctionisResponse
(message: any)
src/acp/jsonrpc.ts:51
↓ 1 callersMethodlistCliInlineCommandsBySession
(sessionKey: string)
src/gateway/router.ts:1053
↓ 1 callersFunctionlistTestFiles
(dir)
scripts/run-coverage.mjs:48
↓ 1 callersFunctionlistTestFiles
(dir)
scripts/run-tests.mjs:27
↓ 1 callersFunctionlooksLikeJsonValue
(value: string)
src/channels/discordSink.ts:594
↓ 1 callersFunctionlooksLikeJsonValue
(value: string)
src/channels/discord.ts:986
↓ 1 callersFunctionlooksLikeJsonValue
(value: string)
src/gateway/bindingRuntime.ts:1117
↓ 1 callersFunctionmain
()
src/main.ts:16
↓ 1 callersMethodmatchesAllowPrefixRule
( bindingKey: string, toolKind: ToolKind, context?: ToolMatchContext, )
src/gateway/toolAuth.ts:359
↓ 1 callersFunctionmergeTelegramTexts
(texts: string[])
src/channels/telegram.ts:554
↓ 1 callersMethodnewSession
(params: NewSessionParams)
src/acp/client.ts:184
↓ 1 callersFunctionnormalizeCandidate
( toolKind: ToolKind, raw: string, workspaceRoot?: string, )
src/gateway/toolAuth.ts:434
↓ 1 callersFunctionnormalizeCommand
(raw: string | undefined)
src/gateway/router.ts:1235
↓ 1 callersFunctionnormalizeSummaryToolTitle
( title: string, inferredActions: ToolAction[], )
src/gateway/bindingRuntime.ts:652
↓ 1 callersFunctionnormalizeVerboseToolTitle
( title: string, inferredActions: ToolAction[], )
src/gateway/bindingRuntime.ts:675
↓ 1 callersMethodonExit
( cb: (info: { code: number | null; signal: NodeJS.Signals | null }) => void, )
test/acpClientTransport.test.ts:29
↓ 1 callersMethodonMessage
(cb: (message: JsonRpcMessage) => void)
test/acpTerminal.test.ts:148
↓ 1 callersMethodonStderr
()
test/acpTerminal.test.ts:152
↓ 1 callersFunctionparseCliPresetArg
(raw: string)
src/gateway/router.ts:1114
↓ 1 callersFunctionparseToolActionsFromTitle
(title: string)
src/gateway/bindingRuntime.ts:826
↓ 1 callersFunctionpathPrefixMatches
(candidate: string, prefix: string)
src/gateway/toolAuth.ts:479
↓ 1 callersFunctionprefixMatches
(toolKind: ToolKind, candidate: string, prefix: string)
src/gateway/toolAuth.ts:472
↓ 1 callersMethodprompt
(params: { runId: string; promptText: string; promptResources?: Array<{ uri: string; mimeType?: st
src/gateway/bindingRuntime.ts:462
↓ 1 callersFunctionqueueTelegramMediaGroup
(params: { pendingMediaGroups: Map<string, PendingTelegramMediaGroup>; groupKey: string; chatId: number;
src/channels/telegram.ts:247
↓ 1 callersFunctionreadJsonBody
(req: http.IncomingMessage)
src/channels/feishu.ts:136
↓ 1 callersFunctionreadLockFile
(lockPath: string)
src/runtime/lock.ts:100
↓ 1 callersFunctionreadTextFileWithLimit
( filePath: string, line?: number, limit?: number, )
src/acp/client.ts:860
↓ 1 callersFunctionreleaseUi
()
test/bindingRuntime.prompt.test.ts:982
↓ 1 callersFunctionremapTelegramInlineCommand
( text: string, inlineCommands: CliInlineCommand[], )
src/channels/telegram.ts:511
↓ 1 callersFunctionrenderSessionUpdateDelta
(update: any)
src/gateway/router.ts:1153
↓ 1 callersFunctionresolvePermissionToolArgs
(toolCall: unknown)
src/gateway/bindingRuntime.ts:1074
↓ 1 callersFunctionresolvePermissionToolName
(req: { toolTitle: string; toolKind: string | null; toolName?: string; })
src/channels/discordSink.ts:139
↓ 1 callersFunctionresolvePermissionToolName
(req: { toolTitle: string; toolKind: string | null; toolName?: string; })
src/channels/discord.ts:531
↓ 1 callersFunctionresolvePermissionToolName
( toolCall: unknown, fallbackKind: ToolKind | null, fallbackTitle: string, )
src/gateway/bindingRuntime.ts:1051
↓ 1 callersMethodresolveWorkspaceArg
(arg: string)
src/gateway/router.ts:237
↓ 1 callersFunctionrunFirstTimeSetup
(params: { defaults: { defaultWorkspaceRoot: string; defaultDbPath: string; }; file: string; i
src/config.ts:162
↓ 1 callersFunctionrunFlush
()
src/channels/bufferedSink.ts:25
↓ 1 callersFunctionsanitizePermissionArgValue
(key: string, value: unknown)
src/acp/client.ts:830
↓ 1 callersFunctionsanitizeResources
(resources: UserMessageOptions['resources'])
src/gateway/router.ts:1248
↓ 1 callersFunctionscheduleFlush
()
src/channels/bufferedSink.ts:63
← previousnext →201–300 of 389, ranked by callers