Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/clawbot7/cli-gateway
/ functions
Functions
389 in github.com/clawbot7/cli-gateway
⨍
Functions
389
◇
Types & classes
34
↓ 1 callers
Function
sendMessageDraft
( token: string, params: { chatId: number; threadId: number | null; draftId: number; text:
src/channels/telegramApi.ts:22
↓ 1 callers
Function
sendPermissionCard
(req: { uiMode: 'verbose' | 'summary'; sessionKey: string; requestId: string; toolTitle: strin
src/channels/discord.ts:399
↓ 1 callers
Method
sendTextMessage
(params: { chatId: string; text: string })
src/channels/feishu.ts:198
↓ 1 callers
Method
shouldBreakTextStreamForToolUpdate
( update: any, toolCallId?: string, )
src/gateway/bindingRuntime.ts:599
↓ 1 callers
Function
sleep
(ms: number)
src/channels/telegram.ts:507
↓ 1 callers
Function
spawnAcpAgent
( command: string, args: string[], env?: NodeJS.ProcessEnv, )
src/acp/stdio.ts:17
↓ 1 callers
Function
splitArgs
(raw: string)
src/config.ts:298
↓ 1 callers
Function
splitToolTitleParts
(title: string)
src/gateway/bindingRuntime.ts:840
↓ 1 callers
Function
startDiscord
( router: GatewayRouter, config: AppConfig, )
src/channels/discord.ts:39
↓ 1 callers
Function
startFeishu
( router: GatewayRouter, config: AppConfig, )
src/channels/feishu.ts:12
↓ 1 callers
Function
startLongPolling
(bot: Bot)
src/channels/telegram.ts:481
↓ 1 callers
Function
startScheduler
(params: { db: Db; router: GatewayRouter; sinkFactory: ( platform: Platform, chatId: string,
src/scheduler/scheduler.ts:14
↓ 1 callers
Function
startTelegram
( router: GatewayRouter, config: AppConfig, )
src/channels/telegram.ts:41
↓ 1 callers
Function
stringifyPermissionArgs
(value: unknown)
src/channels/discordSink.ts:606
↓ 1 callers
Function
stringifyPermissionArgs
(value: unknown)
src/channels/discord.ts:998
↓ 1 callers
Function
syncDiscordSlashCommands
( client: Client, slashCommands: ReturnType<typeof buildDiscordSlashCommands>, )
src/channels/discord.ts:279
↓ 1 callers
Method
terminalCreate
(params: TerminalCreateParams)
src/acp/client.ts:657
↓ 1 callers
Method
terminalKill
(params: TerminalKillParams)
src/acp/client.ts:726
↓ 1 callers
Method
terminalOutput
(params: TerminalOutputParams)
src/acp/client.ts:697
↓ 1 callers
Method
terminalRelease
(params: TerminalReleaseParams)
src/acp/client.ts:732
↓ 1 callers
Method
terminalWaitForExit
( params: TerminalWaitForExitParams, )
src/acp/client.ts:713
↓ 1 callers
Function
toolStatusLabel
(stage: ToolUiStage, update: any)
src/gateway/bindingRuntime.ts:718
↓ 1 callers
Function
truncateTelegramDescription
(text: string)
src/channels/telegram.ts:707
↓ 1 callers
Function
updateAcpSessionId
( db: Db, sessionKey: string, acpSessionId: string, )
src/gateway/sessionStore.ts:120
↓ 1 callers
Function
updateLoadSupported
( db: Db, sessionKey: string, loadSupported: boolean, )
src/gateway/sessionStore.ts:131
↓ 1 callers
Function
updateSessionAgentConfig
( db: Db, params: { sessionKey: string; agentCommand: string; agentArgs: string[]; }, )
src/gateway/sessionStore.ts:151
Function
callTelegram
( token: string, method: string, payload: unknown, fetchFn: typeof fetch = fetch, )
src/channels/telegramApi.ts:5
Method
close
()
src/gateway/bindingRuntime.ts:285
Method
constructor
(params: { updates: any[]; loadSession: boolean })
test/bindingRuntime.misc.test.ts:111
Method
constructor
(params: { workspaceFile: string })
test/bindingRuntime.prompt.test.ts:30
Method
constructor
(params: { workspaceFile: string })
test/bindingRuntime.prompt.test.ts:184
Method
constructor
(private readonly workspaceRoot: string)
test/acpTerminal.test.ts:33
Method
constructor
(params: { workspaceFile: string })
test/bindingRuntime.policy.test.ts:33
Method
constructor
(params: { appId: string; appSecret: string })
src/channels/feishu.ts:154
Method
constructor
(params: { db: Db; workspaceRoot: string; agentCommand: string; agentArgs: string[]; toolA
src/acp/client.ts:113
Method
constructor
(params: { db: Db; config: AppConfig; onJobsChanged?: () => void; runtimeFactory?: (params: {
src/gateway/router.ts:102
Method
constructor
(db: Db)
src/gateway/toolAuth.ts:64
Method
constructor
(params: { db: Db; config: AppConfig; toolAuth: ToolAuth; sessionKey: string; bindingKey:
src/gateway/bindingRuntime.ts:44
Method
emitTool
(event: ClientToolEvent)
src/acp/client.ts:286
Function
fakeFetch
(url: any, init: any)
test/telegramApi.test.ts:13
Method
kill
()
test/bindingRuntime.misc.test.ts:34
Method
kill
()
test/bindingRuntime.misc.test.ts:95
Method
kill
()
test/bindingRuntime.misc.test.ts:170
Method
kill
()
test/bindingRuntime.prompt.test.ts:169
Method
kill
()
test/bindingRuntime.prompt.test.ts:268
Method
kill
()
test/bindingRuntime.prompt.test.ts:397
Method
kill
()
test/bindingRuntime.prompt.test.ts:499
Method
kill
()
test/bindingRuntime.prompt.test.ts:602
Method
kill
()
test/acpClientTransport.test.ts:35
Method
kill
()
test/bindingRuntime.policy.test.ts:137
Method
kill
()
test/routerPromptFlow.test.ts:95
Method
notifyCancel
(sessionId: string)
src/acp/client.ts:208
Method
onData
(buf: Buffer)
src/acp/client.ts:680
Method
onMessage
(cb: (message: JsonRpcMessage) => void)
test/bindingRuntime.misc.test.ts:30
Method
onMessage
(cb: (message: JsonRpcMessage) => void)
test/bindingRuntime.misc.test.ts:90
Method
onMessage
(cb: (message: JsonRpcMessage) => void)
test/bindingRuntime.misc.test.ts:165
Method
onMessage
(cb: (message: JsonRpcMessage) => void)
test/bindingRuntime.prompt.test.ts:161
Method
onMessage
(cb: (message: JsonRpcMessage) => void)
test/bindingRuntime.prompt.test.ts:260
Method
onMessage
(cb: (message: JsonRpcMessage) => void)
test/bindingRuntime.prompt.test.ts:389
Method
onMessage
(cb: (message: JsonRpcMessage) => void)
test/bindingRuntime.prompt.test.ts:491
Method
onMessage
(cb: (message: JsonRpcMessage) => void)
test/bindingRuntime.prompt.test.ts:594
Method
onMessage
(cb: (message: JsonRpcMessage) => void)
test/acpClientTransport.test.ts:21
Method
onMessage
(cb: (message: JsonRpcMessage) => void)
test/bindingRuntime.policy.test.ts:132
Method
onMessage
(cb: (message: JsonRpcMessage) => void)
test/routerPromptFlow.test.ts:87
Method
onStderr
()
test/bindingRuntime.misc.test.ts:33
Method
onStderr
()
test/bindingRuntime.misc.test.ts:94
Method
onStderr
()
test/bindingRuntime.misc.test.ts:169
Method
onStderr
(cb: (line: string) => void)
test/bindingRuntime.prompt.test.ts:165
Method
onStderr
()
test/bindingRuntime.prompt.test.ts:264
Method
onStderr
()
test/bindingRuntime.prompt.test.ts:393
Method
onStderr
()
test/bindingRuntime.prompt.test.ts:495
Method
onStderr
()
test/bindingRuntime.prompt.test.ts:598
Method
onStderr
()
test/acpClientTransport.test.ts:25
Method
onStderr
()
test/bindingRuntime.policy.test.ts:136
Method
onStderr
()
test/routerPromptFlow.test.ts:91
Function
sendText
(delta: string)
src/channels/bufferedSink.ts:73
Function
shutdown
()
src/main.ts:91
Function
write
(message: JsonRpcMessage)
src/acp/stdio.ts:83
Method
write
(message: JsonRpcMessage)
test/bindingRuntime.misc.test.ts:27
Method
write
(message: JsonRpcMessage)
test/bindingRuntime.misc.test.ts:41
Method
write
(message: JsonRpcMessage)
test/bindingRuntime.misc.test.ts:116
Method
write
(message: JsonRpcMessage)
test/bindingRuntime.prompt.test.ts:34
Method
write
(message: JsonRpcMessage)
test/bindingRuntime.prompt.test.ts:188
Method
write
(message: JsonRpcMessage)
test/bindingRuntime.prompt.test.ts:282
Method
write
(message: JsonRpcMessage)
test/bindingRuntime.prompt.test.ts:411
Method
write
(message: JsonRpcMessage)
test/bindingRuntime.prompt.test.ts:513
Method
write
()
test/acpClientTransport.test.ts:17
Method
write
(message: JsonRpcMessage)
test/bindingRuntime.policy.test.ts:37
Method
write
(message: JsonRpcMessage)
test/routerPromptFlow.test.ts:31
← previous
301–389 of 389, ranked by callers