Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Shinplex/rever
/ functions
Functions
41 in github.com/Shinplex/rever
⨍
Functions
41
◇
Types & classes
2
↓ 11 callers
Function
json
(obj: unknown, status = 200)
workers/retool.ts:386
↓ 11 callers
Function
jsonResponse
(obj: unknown, status = 200)
retool.ts:262
↓ 9 callers
Function
fetch
(req: Request)
workers/retool.ts:283
↓ 6 callers
Function
jsonResponse
(data: unknown, status = 200)
jetbrains.ts:78
↓ 5 callers
Function
emitLine
(line: string)
jetbrains.ts:102
↓ 3 callers
Function
logDebug
(msg: unknown)
retool.ts:80
↓ 3 callers
Function
logDebug
(msg: unknown)
workers/retool.ts:63
↓ 2 callers
Function
checkAuth
(req: Request)
workers/retool.ts:392
↓ 2 callers
Function
modelsPayload
()
workers/retool.ts:374
↓ 2 callers
Function
openaiSSEStream
( remote: ReadableStream<Uint8Array>, model: string, )
jetbrains.ts:88
↓ 2 callers
Function
requireAuth
(req: Request)
retool.ts:253
↓ 2 callers
Function
sseStream
( gen: AsyncGenerator<string>, status = 200, )
retool.ts:270
↓ 2 callers
Function
streamResponse
(gen: AsyncGenerator<string>, status = 200)
workers/retool.ts:256
↓ 2 callers
Function
unauthorized
(req: ServerRequest, msg: string, status = 401)
jetbrains.ts:67
↓ 1 callers
Function
aggregateStreamToJSON
( stream: ReadableStream<Uint8Array>, model: string, )
jetbrains.ts:181
↓ 1 callers
Function
errorStream
(msg: string, code = 503)
workers/retool.ts:252
↓ 1 callers
Function
errorStreamGenerator
(msg: string, code = 503)
retool.ts:334
↓ 1 callers
Function
formatMessagesForRetool
(messages: ChatMessage[])
retool.ts:169
↓ 1 callers
Function
formatMessagesForRetool
(msgs: ChatMessage[])
workers/retool.ts:152
↓ 1 callers
Function
getBestAccount
(modelId: string)
workers/retool.ts:162
↓ 1 callers
Function
getBestRetoolAccount
(modelId: string)
retool.ts:181
↓ 1 callers
Function
handleChatCompletions
(req: ServerRequest)
jetbrains.ts:239
↓ 1 callers
Function
handleModels
(req: ServerRequest)
jetbrains.ts:228
↓ 1 callers
Function
initializeRetoolEnvironment
()
retool.ts:210
↓ 1 callers
Function
initializeRetoolEnvironment
()
workers/retool.ts:186
↓ 1 callers
Function
nextJwt
()
jetbrains.ts:45
↓ 1 callers
Function
retoolGetMessage
( acc: RetoolAccount, agentId: string, runId: string, timeoutMs = 300_000, )
retool.ts:137
↓ 1 callers
Function
retoolGetMessage
( acc: RetoolAccount, agentId: string, runId: string, timeoutMs = 300_000, )
workers/retool.ts:120
↓ 1 callers
Function
retoolGetThreadId
(acc: RetoolAccount, agentId: string)
retool.ts:101
↓ 1 callers
Function
retoolGetThreadId
(acc: RetoolAccount, agentId: string)
workers/retool.ts:84
↓ 1 callers
Function
retoolQueryAgents
(acc: RetoolAccount)
retool.ts:87
↓ 1 callers
Function
retoolQueryAgents
(acc: RetoolAccount)
workers/retool.ts:70
↓ 1 callers
Function
retoolSendMessage
( acc: RetoolAccount, agentId: string, threadId: string, text: string, )
retool.ts:116
↓ 1 callers
Function
retoolSendMessage
( acc: RetoolAccount, agentId: string, threadId: string, text: string, )
workers/retool.ts:99
↓ 1 callers
Function
retoolStream
(fullMsg: string, modelId: string)
workers/retool.ts:223
↓ 1 callers
Function
retoolStreamGenerator
( fullMessage: string, modelId: string, )
retool.ts:297
Function
handleRequest
(req: Request)
retool.ts:342
Function
router
(req: ServerRequest)
jetbrains.ts:321
Function
start
(controller)
jetbrains.ts:98
Function
start
(ctrl)
retool.ts:275
Function
start
(ctrl)
workers/retool.ts:258