Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bijonai/EchoAI
/ functions
Functions
105 in github.com/bijonai/EchoAI
⨍
Functions
105
◇
Types & classes
48
↓ 21 callers
Function
addChange
(key: string)
db/composables/useChat.ts:75
↓ 13 callers
Function
getUserId
(event: any)
utils/tool.ts:7
↓ 12 callers
Function
action
(type: T['type'], data: (T extends ActionSuccess<string, any> ? T['data'] : never))
types/agent.ts:117
↓ 11 callers
Function
apply
()
db/composables/useChat.ts:240
↓ 10 callers
Function
pull
()
composables/useTasks.ts:8
↓ 10 callers
Function
useChat
(db: NodePgDatabase, params: UseChatParams)
db/composables/useChat.ts:23
↓ 7 callers
Method
findPage
(id: string)
utils/whiteboard.ts:25
↓ 6 callers
Function
baseFetch
(url: string, method: FetchMethod, token?: string)
endpoint/chat/index.ts:144
↓ 6 callers
Function
parse
(text: string)
workflow/chalk/parse.ts:8
↓ 5 callers
Function
addMessage
(message: ChatMessage)
db/composables/useChat.ts:171
↓ 5 callers
Function
resolveXPath
(source: string)
utils/whiteboard.ts:10
↓ 5 callers
Function
updateTaskStatus
( taskId: string, status: Status, )
db/composables/useChat.ts:217
↓ 4 callers
Function
prompt
(content: string, inserts: Record<string, string> = {}, path: string = './prompts/')
utils/prompt.ts:2
↓ 4 callers
Method
user
(content: string)
utils/ai-sdk/message.ts:4
↓ 3 callers
Method
system
(content: string)
utils/ai-sdk/message.ts:12
↓ 3 callers
Function
unwrap
(response: BaseResponse<T>)
endpoint/index.ts:6
↓ 2 callers
Function
agent
({ chatId, token }: FetchParams)
endpoint/chat/index.ts:202
↓ 2 callers
Function
baseSSEFetch
(url: string, method: FetchMethod, token?: string)
endpoint/chat/index.ts:153
↓ 2 callers
Function
parseProps
(propsString: string)
workflow/chalk/parse.ts:59
↓ 2 callers
Function
switchPageTo
(id: string)
composables/useBoard.ts:72
↓ 1 callers
Function
addMessageChunk
(type: "user" | "agent", chunk: string)
db/composables/useChat.ts:177
↓ 1 callers
Function
addPage
(title: string)
db/composables/useChat.ts:126
↓ 1 callers
Function
addTask
(task: Task)
db/composables/useChat.ts:211
↓ 1 callers
Function
applyOperation
(operation: ChalkOperateAction)
composables/useBoard.ts:105
↓ 1 callers
Function
createAgent
( context: Message[] )
workflow/agent/index.ts:27
↓ 1 callers
Function
createChalk
( context: Message[] )
workflow/chalk/index.ts:25
↓ 1 callers
Function
createChunkFilter
(filtered: (string | number)[] = [])
utils/retrieve/filter.ts:3
↓ 1 callers
Function
createLayout
( context: Message[] )
workflow/layout/index.ts:10
↓ 1 callers
Method
createPage
(title: string, id: string, autoSwitch?: boolean)
composables/useBoard.ts:7
↓ 1 callers
Function
createPageTool
( getStore: () => PageStore, )
workflow/agent/tools/page.ts:5
↓ 1 callers
Method
data
(content: string)
utils/ai-sdk/message.ts:28
↓ 1 callers
Function
designTool
(design: Design)
workflow/agent/tools/design.ts:26
↓ 1 callers
Function
drawTool
( getStore: () => PageStore, updatePageLayoutContext: (pageId: number, context: Message[]) => void, appl
workflow/agent/tools/draw.ts:6
↓ 1 callers
Function
pump
()
workflow/utils/merge-stream.ts:22
↓ 1 callers
Function
search
(params: SearchParams)
utils/retrieve/search.ts:14
↓ 1 callers
Function
single
(arr: T[])
db/composables/useChat.ts:26
↓ 1 callers
Function
stepToTool
()
workflow/agent/tools/step.ts:4
↓ 1 callers
Method
switchPageTo
(id: string)
composables/useBoard.ts:8
↓ 1 callers
Function
updateContext
(newContext: Message[])
db/composables/useChat.ts:145
↓ 1 callers
Function
updateCurrentStep
(step: string)
db/composables/useChat.ts:234
↓ 1 callers
Function
updateDesign
(newDesign: Design)
db/composables/useChat.ts:158
↓ 1 callers
Function
updatePageChalkContext
(pageId: number, context: Message[])
db/composables/useChat.ts:80
↓ 1 callers
Function
updatePageLayoutContext
(pageId: number, context: Message[])
db/composables/useChat.ts:87
↓ 1 callers
Function
updatePageOperation
(pageId: number, operation: Operation[])
db/composables/useChat.ts:107
↓ 1 callers
Function
useMessages
({ chatId, token }: ChatInfo)
composables/useMessages.ts:5
↓ 1 callers
Function
useTasks
({ chatId, token }: ChatInfo)
composables/useTasks.ts:5
Function
addContext
(message: Message)
db/composables/useChat.ts:152
Method
addNode
( pageId: string, position: string, // XPath content: string )
utils/whiteboard.ts:48
Method
addPage
(title: string)
utils/whiteboard.ts:33
Function
addPageKnowledge
(pageId: number, knowledge: string)
db/composables/useChat.ts:101
Function
addPageOperation
(pageId: number, operation: Operation)
db/composables/useChat.ts:120
Method
applyOperation
(operation: ChalkOperateAction)
composables/useBoard.ts:11
Function
ask
(input?: string)
composables/useAgent.ts:62
Method
assistant
(content: string)
utils/ai-sdk/message.ts:20
Function
cancel
(reason)
workflow/utils/merge-stream.ts:40
Function
catchAction
(type: T['type'], error: string)
types/agent.ts:126
Function
chalkHandler
(command: string, environment: AgentEnvironment, boardHandler: BoardHandler)
composables/tasks/chalkHandler.ts:5
Method
constructor
()
utils/whiteboard.ts:23
Function
context
({ chatId, token }: FetchParams)
endpoint/chat/index.ts:192
Function
create
(token?: string)
endpoint/chat/index.ts:209
Function
createPage
(title: string, id: string, autoSwitch: boolean = true)
composables/useBoard.ts:47
Function
createUpdate
(id: string)
utils/update.ts:5
Function
execute
(taskId: string, { chatId, token }: FetchParams)
endpoint/chat/task.ts:5
Function
execute
(taskId: string)
composables/useTasks.ts:30
Function
execute
(input)
workflow/agent/tools/page.ts:13
Function
execute
(input)
workflow/agent/tools/design.ts:30
Function
execute
(input)
workflow/agent/tools/step.ts:10
Function
get
(taskId: string, { chatId, token }: FetchParams)
endpoint/chat/task.ts:12
Function
get
(id: string, token?: string)
endpoint/resource/index.ts:22
Function
get
(id: string, token?: string)
endpoint/resource/content.ts:3
Function
get
(taskId: string)
composables/useTasks.ts:19
Method
getPageCount
()
utils/whiteboard.ts:29
Function
getTimelineColor
(index: number)
components/TimelineUtils.ts:1
Function
latest
(arr: T[])
utils/tool.ts:3
Function
mergeGenerator
(...generators: AsyncGenerator<T>[])
workflow/utils/merge-generator.ts:1
Function
mergeReadableStreams
( sources: T )
workflow/utils/merge-stream.ts:4
Function
messages
({ chatId, token }: FetchParams)
endpoint/chat/index.ts:182
Function
nextPage
()
composables/useBoard.ts:81
Method
nextPage
()
composables/useBoard.ts:9
Function
pages
({ chatId, token }: FetchParams)
endpoint/chat/index.ts:187
Function
previousPage
()
composables/useBoard.ts:93
Method
previousPage
()
composables/useBoard.ts:10
Method
processToDocumentString
(pageId: string)
utils/whiteboard.ts:125
Method
processToSummarizedDocumentString
(pageId: string)
utils/whiteboard.ts:161
Function
pull
()
composables/useMessages.ts:8
Function
pull
(selector: Record<string, PgColumn>)
db/composables/useChat.ts:41
Function
query
(body: ResourceQueryRequestBody, token?: string)
endpoint/resource/index.ts:3
Method
removeNode
( pageId: string, position: string // XPath )
utils/whiteboard.ts:66
Method
removePage
(id: string)
utils/whiteboard.ts:43
Method
removeProp
( pageId: string, position: string, // XPath prop: string )
utils/whiteboard.ts:98
Method
resolve
(children: ChildNode[])
utils/whiteboard.ts:128
Method
setContent
( pageId: string, position: string, // XPath content: string )
utils/whiteboard.ts:111
Method
setProp
( pageId: string, position: string, // XPath prop: string, value: string )
utils/whiteboard.ts:77
Function
start
(controller)
workflow/utils/merge-stream.ts:17
Function
tasks
({ chatId, token }: FetchParams)
endpoint/chat/index.ts:197
Function
updateCurrent
(newCurrent: Current)
db/composables/useChat.ts:228
Function
updateMessages
(newMessages: ChatMessage[])
db/composables/useChat.ts:164
Function
updatePageKnowledge
(pageId: number, knowledge: string[])
db/composables/useChat.ts:94
Function
updatePageTitle
(pageId: number, title: string)
db/composables/useChat.ts:114
Function
updateStatus
(newStatus: Status)
db/composables/useChat.ts:192
next →
1–100 of 105, ranked by callers