MCPcopy Create free account

hub / github.com/bijonai/EchoAI / functions

Functions105 in github.com/bijonai/EchoAI

↓ 21 callersFunctionaddChange
(key: string)
db/composables/useChat.ts:75
↓ 13 callersFunctiongetUserId
(event: any)
utils/tool.ts:7
↓ 12 callersFunctionaction
(type: T['type'], data: (T extends ActionSuccess<string, any> ? T['data'] : never))
types/agent.ts:117
↓ 11 callersFunctionapply
()
db/composables/useChat.ts:240
↓ 10 callersFunctionpull
()
composables/useTasks.ts:8
↓ 10 callersFunctionuseChat
(db: NodePgDatabase, params: UseChatParams)
db/composables/useChat.ts:23
↓ 7 callersMethodfindPage
(id: string)
utils/whiteboard.ts:25
↓ 6 callersFunctionbaseFetch
(url: string, method: FetchMethod, token?: string)
endpoint/chat/index.ts:144
↓ 6 callersFunctionparse
(text: string)
workflow/chalk/parse.ts:8
↓ 5 callersFunctionaddMessage
(message: ChatMessage)
db/composables/useChat.ts:171
↓ 5 callersFunctionresolveXPath
(source: string)
utils/whiteboard.ts:10
↓ 5 callersFunctionupdateTaskStatus
( taskId: string, status: Status, )
db/composables/useChat.ts:217
↓ 4 callersFunctionprompt
(content: string, inserts: Record<string, string> = {}, path: string = './prompts/')
utils/prompt.ts:2
↓ 4 callersMethoduser
(content: string)
utils/ai-sdk/message.ts:4
↓ 3 callersMethodsystem
(content: string)
utils/ai-sdk/message.ts:12
↓ 3 callersFunctionunwrap
(response: BaseResponse<T>)
endpoint/index.ts:6
↓ 2 callersFunctionagent
({ chatId, token }: FetchParams)
endpoint/chat/index.ts:202
↓ 2 callersFunctionbaseSSEFetch
(url: string, method: FetchMethod, token?: string)
endpoint/chat/index.ts:153
↓ 2 callersFunctionparseProps
(propsString: string)
workflow/chalk/parse.ts:59
↓ 2 callersFunctionswitchPageTo
(id: string)
composables/useBoard.ts:72
↓ 1 callersFunctionaddMessageChunk
(type: "user" | "agent", chunk: string)
db/composables/useChat.ts:177
↓ 1 callersFunctionaddPage
(title: string)
db/composables/useChat.ts:126
↓ 1 callersFunctionaddTask
(task: Task)
db/composables/useChat.ts:211
↓ 1 callersFunctionapplyOperation
(operation: ChalkOperateAction)
composables/useBoard.ts:105
↓ 1 callersFunctioncreateAgent
( context: Message[] )
workflow/agent/index.ts:27
↓ 1 callersFunctioncreateChalk
( context: Message[] )
workflow/chalk/index.ts:25
↓ 1 callersFunctioncreateChunkFilter
(filtered: (string | number)[] = [])
utils/retrieve/filter.ts:3
↓ 1 callersFunctioncreateLayout
( context: Message[] )
workflow/layout/index.ts:10
↓ 1 callersMethodcreatePage
(title: string, id: string, autoSwitch?: boolean)
composables/useBoard.ts:7
↓ 1 callersFunctioncreatePageTool
( getStore: () => PageStore, )
workflow/agent/tools/page.ts:5
↓ 1 callersMethoddata
(content: string)
utils/ai-sdk/message.ts:28
↓ 1 callersFunctiondesignTool
(design: Design)
workflow/agent/tools/design.ts:26
↓ 1 callersFunctiondrawTool
( getStore: () => PageStore, updatePageLayoutContext: (pageId: number, context: Message[]) => void, appl
workflow/agent/tools/draw.ts:6
↓ 1 callersFunctionpump
()
workflow/utils/merge-stream.ts:22
↓ 1 callersFunctionsearch
(params: SearchParams)
utils/retrieve/search.ts:14
↓ 1 callersFunctionsingle
(arr: T[])
db/composables/useChat.ts:26
↓ 1 callersFunctionstepToTool
()
workflow/agent/tools/step.ts:4
↓ 1 callersMethodswitchPageTo
(id: string)
composables/useBoard.ts:8
↓ 1 callersFunctionupdateContext
(newContext: Message[])
db/composables/useChat.ts:145
↓ 1 callersFunctionupdateCurrentStep
(step: string)
db/composables/useChat.ts:234
↓ 1 callersFunctionupdateDesign
(newDesign: Design)
db/composables/useChat.ts:158
↓ 1 callersFunctionupdatePageChalkContext
(pageId: number, context: Message[])
db/composables/useChat.ts:80
↓ 1 callersFunctionupdatePageLayoutContext
(pageId: number, context: Message[])
db/composables/useChat.ts:87
↓ 1 callersFunctionupdatePageOperation
(pageId: number, operation: Operation[])
db/composables/useChat.ts:107
↓ 1 callersFunctionuseMessages
({ chatId, token }: ChatInfo)
composables/useMessages.ts:5
↓ 1 callersFunctionuseTasks
({ chatId, token }: ChatInfo)
composables/useTasks.ts:5
FunctionaddContext
(message: Message)
db/composables/useChat.ts:152
MethodaddNode
( pageId: string, position: string, // XPath content: string )
utils/whiteboard.ts:48
MethodaddPage
(title: string)
utils/whiteboard.ts:33
FunctionaddPageKnowledge
(pageId: number, knowledge: string)
db/composables/useChat.ts:101
FunctionaddPageOperation
(pageId: number, operation: Operation)
db/composables/useChat.ts:120
MethodapplyOperation
(operation: ChalkOperateAction)
composables/useBoard.ts:11
Functionask
(input?: string)
composables/useAgent.ts:62
Methodassistant
(content: string)
utils/ai-sdk/message.ts:20
Functioncancel
(reason)
workflow/utils/merge-stream.ts:40
FunctioncatchAction
(type: T['type'], error: string)
types/agent.ts:126
FunctionchalkHandler
(command: string, environment: AgentEnvironment, boardHandler: BoardHandler)
composables/tasks/chalkHandler.ts:5
Methodconstructor
()
utils/whiteboard.ts:23
Functioncontext
({ chatId, token }: FetchParams)
endpoint/chat/index.ts:192
Functioncreate
(token?: string)
endpoint/chat/index.ts:209
FunctioncreatePage
(title: string, id: string, autoSwitch: boolean = true)
composables/useBoard.ts:47
FunctioncreateUpdate
(id: string)
utils/update.ts:5
Functionexecute
(taskId: string, { chatId, token }: FetchParams)
endpoint/chat/task.ts:5
Functionexecute
(taskId: string)
composables/useTasks.ts:30
Functionexecute
(input)
workflow/agent/tools/page.ts:13
Functionexecute
(input)
workflow/agent/tools/design.ts:30
Functionexecute
(input)
workflow/agent/tools/step.ts:10
Functionget
(taskId: string, { chatId, token }: FetchParams)
endpoint/chat/task.ts:12
Functionget
(id: string, token?: string)
endpoint/resource/index.ts:22
Functionget
(id: string, token?: string)
endpoint/resource/content.ts:3
Functionget
(taskId: string)
composables/useTasks.ts:19
MethodgetPageCount
()
utils/whiteboard.ts:29
FunctiongetTimelineColor
(index: number)
components/TimelineUtils.ts:1
Functionlatest
(arr: T[])
utils/tool.ts:3
FunctionmergeGenerator
(...generators: AsyncGenerator<T>[])
workflow/utils/merge-generator.ts:1
FunctionmergeReadableStreams
( sources: T )
workflow/utils/merge-stream.ts:4
Functionmessages
({ chatId, token }: FetchParams)
endpoint/chat/index.ts:182
FunctionnextPage
()
composables/useBoard.ts:81
MethodnextPage
()
composables/useBoard.ts:9
Functionpages
({ chatId, token }: FetchParams)
endpoint/chat/index.ts:187
FunctionpreviousPage
()
composables/useBoard.ts:93
MethodpreviousPage
()
composables/useBoard.ts:10
MethodprocessToDocumentString
(pageId: string)
utils/whiteboard.ts:125
MethodprocessToSummarizedDocumentString
(pageId: string)
utils/whiteboard.ts:161
Functionpull
()
composables/useMessages.ts:8
Functionpull
(selector: Record<string, PgColumn>)
db/composables/useChat.ts:41
Functionquery
(body: ResourceQueryRequestBody, token?: string)
endpoint/resource/index.ts:3
MethodremoveNode
( pageId: string, position: string // XPath )
utils/whiteboard.ts:66
MethodremovePage
(id: string)
utils/whiteboard.ts:43
MethodremoveProp
( pageId: string, position: string, // XPath prop: string )
utils/whiteboard.ts:98
Methodresolve
(children: ChildNode[])
utils/whiteboard.ts:128
MethodsetContent
( pageId: string, position: string, // XPath content: string )
utils/whiteboard.ts:111
MethodsetProp
( pageId: string, position: string, // XPath prop: string, value: string )
utils/whiteboard.ts:77
Functionstart
(controller)
workflow/utils/merge-stream.ts:17
Functiontasks
({ chatId, token }: FetchParams)
endpoint/chat/index.ts:197
FunctionupdateCurrent
(newCurrent: Current)
db/composables/useChat.ts:228
FunctionupdateMessages
(newMessages: ChatMessage[])
db/composables/useChat.ts:164
FunctionupdatePageKnowledge
(pageId: number, knowledge: string[])
db/composables/useChat.ts:94
FunctionupdatePageTitle
(pageId: number, title: string)
db/composables/useChat.ts:114
FunctionupdateStatus
(newStatus: Status)
db/composables/useChat.ts:192
next →1–100 of 105, ranked by callers