MCPcopy Create free account

hub / github.com/chmod777john/swarm-ide / functions

Functions252 in github.com/chmod777john/swarm-ide

↓ 46 callersMethodpush
(chunk: GLMChunk)
backend/src/lib/glm-stream.ts:53
↓ 34 callersFunctiontoFrames
(fps: number, seconds: number)
promo-video/src/demo/timeline.ts:17
↓ 33 callersMethodemit
(workspaceId: string, event: Omit<UIEvent, "id" | "at">)
backend/src/runtime/ui-bus.ts:113
↓ 26 callersFunctionsetStatus
(id: string, status: AgentStatus)
whitepaper-site/src/app/demo/page.tsx:312
↓ 26 callersFunctionuuid
()
backend/src/lib/storage.ts:12
↓ 24 callersFunctiongetDb
()
backend/src/db/index.ts:7
↓ 20 callersFunctionemitDbWrite
(input: { workspaceId: UUID; table: string; action: "insert" | "update" | "delete"; recordId?: UUID |
backend/src/lib/storage.ts:43
↓ 20 callersFunctiongetWorkspaceUIBus
()
backend/src/runtime/ui-bus.ts:147
↓ 15 callersFunctionschedule
(fn: () => void, ms: number)
whitepaper-site/src/app/demo/page.tsx:253
↓ 12 callersFunctionappendAgentStreamEvent
(input: { agentId: string; round?: number; kind: "start" | "reasoning" | "content" | "tool_calls" | "too
backend/src/runtime/agent-logger.ts:94
↓ 12 callersFunctionsafeJsonParse
(text: string, fallback: T)
backend/src/runtime/utils.ts:17
↓ 10 callersMethodensureRunner
(agentId: UUID)
backend/src/runtime/agent-runtime.ts:1375
↓ 8 callersFunctionnow
()
backend/src/lib/storage.ts:8
↓ 7 callersFunctionaddMessage
(fromId: string, toId: string, content: string, status: Message['status'] = "SENT")
whitepaper-site/src/app/demo/page.tsx:351
↓ 7 callersFunctioncx
(...classes: Array<string | false | undefined | null>)
backend/app/im/page.tsx:181
↓ 6 callersFunctioninitialAgentHistory
(input: { agentId: UUID; workspaceId: UUID; role: string; guidance?: string; })
backend/src/lib/storage.ts:16
↓ 5 callersFunctionaddEvent
(type: SystemEvent['type'], title: string, desc: string, color: string)
whitepaper-site/src/app/demo/page.tsx:241
↓ 5 callersMethodbootstrap
()
backend/src/runtime/agent-runtime.ts:1364
↓ 5 callersMethoddiscoverSkills
()
backend/src/runtime/skill-loader.ts:194
↓ 5 callersFunctionmapX
(x: number)
promo-video/src/DemoComposition.tsx:364
↓ 5 callersFunctionmapY
(y: number)
promo-video/src/DemoComposition.tsx:365
↓ 5 callersFunctionparseScalar
(value: string)
backend/src/runtime/skill-loader.ts:28
↓ 5 callersFunctionsaveSession
(session: WorkspaceDefaults)
backend/app/im/page.tsx:157
↓ 5 callersMethodsnapshot
()
backend/src/lib/glm-stream.ts:94
↓ 4 callersMethodconsumeInterruptRequest
()
backend/src/runtime/agent-runtime.ts:364
↓ 4 callersFunctionenqueueStreamWrite
(agentId: string, task: () => Promise<void>)
backend/src/runtime/agent-logger.ts:58
↓ 4 callersFunctiongetAgentRuntime
()
backend/src/runtime/agent-runtime.ts:1433
↓ 4 callersMethodgetChannel
(agentId: string)
backend/src/runtime/event-bus.ts:59
↓ 4 callersFunctiongetSql
()
backend/src/db/client.ts:5
↓ 4 callersFunctiongetUpstashRealtime
()
backend/src/runtime/upstash-realtime.ts:96
↓ 4 callersFunctionisUpstashRealtimeConfigured
()
backend/src/runtime/upstash-realtime.ts:28
↓ 4 callersFunctionparseSSEJsonLines
( stream: ReadableStream<Uint8Array> )
backend/src/lib/glm-stream.ts:105
↓ 4 callersFunctiontoFrames
(seconds: number)
promo-video/src/DemoComposition.tsx:74
↓ 4 callersMethodwakeAgent
(agentId: UUID, reason: "direct_message" | "context_stream" = "direct_message")
backend/src/runtime/agent-runtime.ts:1405
↓ 3 callersFunctioncreateDeferred
()
backend/src/runtime/utils.ts:7
↓ 3 callersFunctionensureDir
(dir: string)
backend/src/runtime/agent-logger.ts:42
↓ 3 callersMethodgetChannel
(workspaceId: string)
backend/src/runtime/ui-bus.ts:100
↓ 3 callersFunctiongetRedisClient
()
backend/src/runtime/upstash-realtime.ts:32
↓ 3 callersFunctiongetRedisUrl
()
backend/src/runtime/upstash-realtime.ts:24
↓ 3 callersMethodsnapshot
()
backend/src/lib/openai-stream.ts:84
↓ 3 callersFunctionspawnAgent
(fromId: string, newId: string, role: AgentRole, label: string, x: number, y: number)
whitepaper-site/src/app/demo/page.tsx:255
↓ 3 callersMethodsubscribe
(workspaceId: string, listener: Listener)
backend/src/runtime/ui-bus.ts:130
↓ 3 callersFunctiontypewriter
(text: string, startFrame: number, cps = 22)
promo-video/src/DemoComposition.tsx:67
↓ 3 callersFunctionupdateAgent
(id: string, fn: (a: Agent) => Partial<Agent>)
whitepaper-site/src/app/demo/page.tsx:347
↓ 3 callersMethodwakeup
(reason: "manual" | "group_message" | "direct_message" | "context_stream" = "manual")
backend/src/runtime/agent-runtime.ts:349
↓ 3 callersFunctionwalk
(agent: AgentMeta, depth: number)
backend/app/im/page.tsx:309
↓ 3 callersFunctionwriteStreamHeader
(agentId: string, logDir: string, text: string)
backend/src/runtime/agent-logger.ts:186
↓ 2 callersFunctionabortHandler
()
backend/app/api/ui-stream/route.ts:58
↓ 2 callersFunctionabortHandler
()
backend/app/api/agents/[agentId]/context-stream/route.ts:52
↓ 2 callersFunctionapi
(path: string, init?: RequestInit)
backend/app/im/page.tsx:161
↓ 2 callersFunctionappendAgentLlmRequestRaw
(input: { agentId: string; body: string })
backend/src/runtime/agent-logger.ts:179
↓ 2 callersFunctionbuildSkillsBlock
()
backend/src/runtime/agent-runtime.ts:36
↓ 2 callersFunctioncx
(...classes: Array<string | false | undefined | null>)
promo-video/src/DemoComposition.tsx:16
↓ 2 callersFunctionensureSchema
()
backend/src/db/init.ts:3
↓ 2 callersFunctionextractToolCallDeltas
( chunk: { choices?: Array<{ delta?: { tool_calls?: Array<{ index?: number;
backend/src/runtime/agent-runtime.ts:1315
↓ 2 callersFunctionflushOrderedStream
(input: { agentId: string; logDir: string; finishedAt: string; finishReason: string | null; })
backend/src/runtime/agent-logger.ts:215
↓ 2 callersFunctionformatSkillPrompt
(skill: Skill)
backend/src/runtime/skill-loader.ts:277
↓ 2 callersFunctiongetAgentTools
()
backend/src/runtime/agent-runtime.ts:257
↓ 2 callersFunctiongetCurrentSegment
(segments: Array<{ start: number; text: string }>)
promo-video/src/DemoComposition.tsx:86
↓ 2 callersFunctiongetMcpRegistry
(reserved?: Set<string>, opts?: McpRegistryOptions)
backend/src/runtime/mcp.ts:297
↓ 2 callersFunctiongetSkillLoader
()
backend/src/runtime/skill-loader.ts:304
↓ 2 callersFunctiongetUpstashRedis
()
backend/src/runtime/upstash-realtime.ts:161
↓ 2 callersFunctionhistoryHasSkills
(history: HistoryMessage[])
backend/src/runtime/agent-runtime.ts:50
↓ 2 callersFunctionhistoryRole
(entry: any)
promo-video/src/demo/timeline.ts:242
↓ 2 callersFunctionloadSession
()
backend/app/im/page.tsx:147
↓ 2 callersFunctionreadGroup
( client: RedisClient, streamKey: string, group: string, consumer: string, events: string[], onDat
backend/src/runtime/upstash-realtime.ts:71
↓ 2 callersFunctionredact
(value: string)
backend/app/api/debug/env/route.ts:3
↓ 2 callersFunctionrenderEdges
( nodes: Array<{ id: string; x: number; y: number }>, edges: Array<{ id: string; from: string; to: str
promo-video/src/DemoComposition.tsx:286
↓ 2 callersFunctionrenderGroupRow
( g: Group, tree?: { depth: number; hasChildren: boolean; collapsed: boolean;
backend/app/im/page.tsx:1513
↓ 2 callersFunctionrenderNode
( node: { id: string; label: string; x: number; y: number }, x: number, y: number, size: numbe
promo-video/src/DemoComposition.tsx:160
↓ 2 callersMethodrunWithTools
(input: { groupId: UUID; workspaceId: UUID; history: HistoryMessage[]; })
backend/src/runtime/agent-runtime.ts:523
↓ 2 callersFunctionsafeUrl
(raw: string | undefined | null)
backend/app/api/debug/env/route.ts:9
↓ 2 callersFunctionsendMsg
(fromId: string, toId: string, content: string, shouldBuffer: boolean)
whitepaper-site/src/app/demo/page.tsx:279
↓ 1 callersFunctionappearProgress
(time: number, start: number)
promo-video/src/DemoComposition.tsx:112
↓ 1 callersFunctionappendAgentHistorySnapshot
(input: { agentId: string; workspaceId: string; groupId: string; history: HistoryMessage[]; })
backend/src/runtime/agent-logger.ts:72
↓ 1 callersFunctionappendKindDelta
(input: { agentId: string; logDir: string; kind: "reasoning" | "content" | "tool_calls" | "tool_result";
backend/src/runtime/agent-logger.ts:196
↓ 1 callersFunctionbyCreatedAt
(a: AgentMeta, b: AgentMeta)
backend/app/im/page.tsx:289
↓ 1 callersMethodcallGlmStreaming
( history: HistoryMessage[], ctx: { workspaceId: UUID; groupId: UUID; round: number } )
backend/src/runtime/agent-runtime.ts:1162
↓ 1 callersMethodcallLlmStreaming
( history: HistoryMessage[], ctx: { workspaceId: UUID; groupId: UUID; round: number } )
backend/src/runtime/agent-runtime.ts:991
↓ 1 callersMethodcallOpenRouterStreaming
( history: HistoryMessage[], ctx: { workspaceId: UUID; groupId: UUID; round: number } )
backend/src/runtime/agent-runtime.ts:1002
↓ 1 callersMethodcallTool
(name: string, args: Record<string, unknown>)
backend/src/runtime/mcp.ts:162
↓ 1 callersFunctioncleanEnv
(env: NodeJS.ProcessEnv)
backend/src/runtime/mcp.ts:49
↓ 1 callersMethodconnectServer
(name: string, server: McpServerConfig)
backend/src/runtime/mcp.ts:258
↓ 1 callersFunctioncreateSubscriber
()
backend/src/runtime/upstash-realtime.ts:41
↓ 1 callersFunctionedgeOpacityAt
(time: number, start: number)
promo-video/src/DemoComposition.tsx:122
↓ 1 callersMethodemit
(agentId: string, event: Omit<AgentEvent, "id" | "at">)
backend/src/runtime/event-bus.ts:73
↓ 1 callersFunctionenqueueRequestWrite
(agentId: string, task: () => Promise<void>)
backend/src/runtime/agent-logger.ts:65
↓ 1 callersMethodensureLoaded
(reserved?: Set<string>, opts?: McpRegistryOptions)
backend/src/runtime/mcp.ts:129
↓ 1 callersMethodensureSkillsLoaded
()
backend/src/runtime/agent-runtime.ts:331
↓ 1 callersMethodexecuteToolCall
(input: { groupId: UUID; call: ToolCall })
backend/src/runtime/agent-runtime.ts:595
↓ 1 callersFunctionfileExists
(target: string)
backend/src/runtime/skill-loader.ts:123
↓ 1 callersFunctionfindSkillFiles
(dir: string)
backend/src/runtime/skill-loader.ts:132
↓ 1 callersFunctionfmtTime
(iso: string)
backend/app/im/page.tsx:176
↓ 1 callersFunctionformatToolOutput
(result: any)
backend/src/runtime/mcp.ts:93
↓ 1 callersFunctiongetAccumulatedOffset
(id: string)
backend/app/im/page.tsx:374
↓ 1 callersFunctiongetConfig
()
backend/src/lib/config.ts:14
↓ 1 callersFunctiongetDemoState
(frame: number, fps: number)
promo-video/src/demo/timeline.ts:19
↓ 1 callersFunctiongetGlmConfig
()
backend/src/runtime/agent-runtime.ts:265
↓ 1 callersFunctiongetLlmProvider
()
backend/src/runtime/agent-runtime.ts:281
↓ 1 callersFunctiongetLogDir
()
backend/src/runtime/agent-logger.ts:46
next →1–100 of 252, ranked by callers