MCPcopy Create free account

hub / github.com/FoundDream/miniclawd / functions

Functions234 in github.com/FoundDream/miniclawd

↓ 1 callersMethodremoveJob
* Remove a job by ID.
src/application/scheduler.ts:499
↓ 1 callersMethodrun
* Run the agent loop, processing messages from the bus.
src/application/agent-loop.ts:126
↓ 1 callersMethodrunJob
* Manually run a job.
src/application/scheduler.ts:540
↓ 1 callersMethodrunSubagent
* Execute the subagent task and announce the result.
src/application/subagent.ts:90
↓ 1 callersFunctionsafeFilename
(name: string)
src/utils/paths.ts:99
↓ 1 callersFunctionsaveConfig
(config: Config, configPath?: string)
src/infrastructure/config/loader.ts:102
↓ 1 callersMethodsearchBrave
(query: string, count: number)
src/tools/web.ts:128
↓ 1 callersMethodsearchDuckDuckGo
( query: string, count: number, )
src/tools/web.ts:166
↓ 1 callersMethodsend
* Send a message through this channel.
src/core/interfaces/channel.ts:34
↓ 1 callersFunctionsetNestedValue
* Set a nested value in an object using a path array.
src/infrastructure/config/loader.ts:141
↓ 1 callersFunctionsnakeToCamel
* Convert snake_case to camelCase.
src/infrastructure/config/loader.ts:40
↓ 1 callersMethodspawn
(options: { task: string; label?: string; originChannel: string; originChatId: string; })
src/tools/spawn.ts:12
↓ 1 callersMethodstart
* Start the scheduler.
src/application/scheduler.ts:240
↓ 1 callersMethodstartAll
* Start all channels and the outbound dispatcher.
src/infrastructure/channels/manager.ts:65
↓ 1 callersMethodstatus
* Get scheduler status.
src/application/scheduler.ts:554
↓ 1 callersMethodstopAll
* Stop all channels and the dispatcher.
src/infrastructure/channels/manager.ts:89
↓ 1 callersMethodstripFrontmatter
* Remove YAML frontmatter from markdown content.
src/application/skills-loader.ts:309
↓ 1 callersFunctiontoMarkdown
* Convert HTML to markdown.
src/tools/web.ts:65
↓ 1 callersFunctionvalidateUrl
* Validate URL: must be http(s) with valid domain.
src/tools/web.ts:44
↓ 1 callersFunctionzodFieldToJsonSchema
* Convert a Zod field to JSON Schema format.
src/tools/base.ts:106
↓ 1 callersFunctionzodToJsonSchema
* Convert a Zod schema to JSON Schema format.
src/tools/base.ts:74
MethodaddAssistantMessage
* Add an assistant message to the message list.
src/application/context-builder.ts:209
MethodaddJob
* Add a new job.
src/core/interfaces/scheduler.ts:40
MethodaddToolResult
* Add a tool result to the message list.
src/application/context-builder.ts:186
MethodappendToday
* Append content to today's memory notes.
src/infrastructure/storage/memory-store.ts:45
MethodappendToday
* Append to today's notes.
src/core/interfaces/storage.ts:54
FunctionapplyEnvOverrides
(config: Config)
src/infrastructure/config/loader.ts:120
Methodchat
* Send a chat completion request.
src/infrastructure/llm/ai-sdk-provider.ts:40
FunctionclearSession
(session: Session)
src/infrastructure/storage/session-store.ts:72
Functionconstructor
(config: unknown, bus: MessageBus)
src/infrastructure/channels/base.ts:29
Methodconstructor
(options: AIProviderOptions)
src/infrastructure/llm/ai-sdk-provider.ts:31
Methodconstructor
(workspace: string)
src/infrastructure/storage/session-store.ts:84
Methodconstructor
(workspace: string)
src/infrastructure/storage/memory-store.ts:19
Methodconstructor
( config: TelegramConfig, bus: MessageBus, groqApiKey: string = "", )
src/infrastructure/channels/telegram.ts:94
Methodconstructor
(config: Config, bus: MessageBus)
src/infrastructure/channels/manager.ts:22
Methodconstructor
(config: FeishuConfig, bus: MessageBus)
src/infrastructure/channels/feishu.ts:20
Methodconstructor
(options?: { timeout?: number; workingDir?: string })
src/tools/exec.ts:28
Methodconstructor
(options?: { sendCallback?: SendCallback; defaultChannel?: string; defaultChatId?: string; })
src/tools/message.ts:45
Methodconstructor
(manager: ISubagentManager)
src/tools/spawn.ts:44
Methodconstructor
(options?: { apiKey?: string; maxResults?: number })
src/tools/web.ts:102
Methodconstructor
(options?: { maxChars?: number })
src/tools/web.ts:250
Methodconstructor
(options: { config: Config; bus: MessageBus; workspace: string; model?: string; braveApiKe
src/application/subagent.ts:40
Methodconstructor
(options: { storePath: string; workspace: string; onJob?: JobCallback; heartbeatEnabled?: bool
src/application/scheduler.ts:120
Methodconstructor
(options: { bus: MessageBus; config: Config; model?: string; maxIterations?: number; brave
src/application/agent-loop.ts:60
Methodconstructor
(workspace: string, builtinSkillsDir?: string)
src/application/skills-loader.ts:70
Methodconstructor
(workspace: string)
src/application/context-builder.ts:28
MethodconsumeInbound
* Consume the next inbound message (blocks until available).
src/infrastructure/queue/message-bus.ts:92
MethodconsumeInbound
* Consume the next inbound message (blocks until available).
src/core/interfaces/message-bus.ts:24
MethodconsumeInboundWithTimeout
* Consume the next inbound message with timeout.
src/infrastructure/queue/message-bus.ts:99
MethodconsumeOutbound
* Consume the next outbound message (blocks until available).
src/infrastructure/queue/message-bus.ts:115
MethodconsumeOutbound
* Consume the next outbound message (blocks until available).
src/core/interfaces/message-bus.ts:39
FunctioncreateOutboundMessage
( partial: Partial<OutboundMessage> & Pick<OutboundMessage, "channel" | "chatId" | "content">, )
src/infrastructure/queue/events.ts:28
Methoddelete
* Delete a session.
src/infrastructure/storage/session-store.ts:182
MethoddispatchOutbound
* Dispatch outbound messages to subscribed channels. * Run this as a background task.
src/infrastructure/queue/message-bus.ts:141
MethoddispatchOutbound
* Dispatch outbound messages to subscribed channels.
src/core/interfaces/message-bus.ts:56
MethodenableJob
* Enable or disable a job.
src/core/interfaces/scheduler.ts:50
MethodenabledChannels
* Get list of enabled channel names.
src/infrastructure/channels/manager.ts:158
MethodescapeXml
(s: string)
src/application/skills-loader.ts:163
Methodexecute
(params: { path: string })
src/tools/fs.ts:28
Methodexecute
(params: { path: string; content: string })
src/tools/fs.ts:64
Methodexecute
(params: { path: string; old_text: string; new_text: string; })
src/tools/fs.ts:97
Methodexecute
(params: { path: string })
src/tools/fs.ts:144
Methodexecute
(params: { command: string; working_dir?: string; })
src/tools/exec.ts:34
Methodexecute
(params: { content: string; channel?: string; chat_id?: string; })
src/tools/message.ts:71
Methodexecute
(params: { task: string; label?: string })
src/tools/spawn.ts:57
Methodexecute
(params: { query: string; count?: number })
src/tools/web.ts:108
Methodexecute
(params: { url: string; extractMode?: "markdown" | "text"; maxChars?: number; })
src/tools/web.ts:255
MethodfeishuConfig
()
src/infrastructure/channels/feishu.ts:24
FunctiongetApiBase
(config: Config)
src/infrastructure/config/schema.ts:112
FunctiongetApiKey
(config: Config)
src/infrastructure/config/schema.ts:98
MethodgetChannel
* Get a channel by name.
src/infrastructure/channels/manager.ts:135
MethodgetDefaultModel
* Get the default model.
src/infrastructure/llm/ai-sdk-provider.ts:189
MethodgetDefaultModel
* Get the default model.
src/core/interfaces/llm-provider.ts:26
MethodgetMemoryContext
* Get memory context for the agent.
src/infrastructure/storage/memory-store.ts:119
FunctiongetMemoryPath
(workspace?: string)
src/utils/paths.ts:55
MethodgetOpenAIDefinitions
* Get all tool definitions in OpenAI format.
src/tools/registry.ts:59
MethodgetOrCreate
* Get an existing session or create a new one.
src/infrastructure/storage/session-store.ts:98
MethodgetRecentMemories
* Get memories from the last N days.
src/infrastructure/storage/memory-store.ts:81
MethodgetRecentMemories
* Get recent memories (last N days).
src/core/interfaces/storage.ts:59
MethodgetRunningCount
* Return the number of currently running subagents.
src/application/subagent.ts:261
FunctiongetSessionsPath
()
src/utils/paths.ts:48
FunctiongetSkillsPath
(workspace?: string)
src/utils/paths.ts:63
MethodgetStatus
* Get status of all channels.
src/infrastructure/channels/manager.ts:142
FunctiongetWorkspacePath
(config: Config)
src/infrastructure/config/schema.ts:90
FunctionhandleMessage
* Handle an incoming message from the chat platform.
src/infrastructure/channels/base.ts:81
MethodinboundSize
* Number of pending inbound messages.
src/infrastructure/queue/message-bus.ts:172
FunctionisAllowed
* Check if a sender is allowed to use this bot.
src/infrastructure/channels/base.ts:52
FunctionisRunning
* Check if the channel is running.
src/infrastructure/channels/base.ts:107
MethodlistJobs
* List all jobs.
src/core/interfaces/scheduler.ts:60
MethodlistMemoryFiles
* List all memory files sorted by date (newest first).
src/infrastructure/storage/memory-store.ts:103
MethodlistSessions
* List all sessions.
src/infrastructure/storage/session-store.ts:196
MethodlistSessions
* List all sessions.
src/core/interfaces/storage.ts:29
MethodoutboundSize
* Number of pending outbound messages.
src/infrastructure/queue/message-bus.ts:179
FunctionparseSessionKey
(key: string)
src/utils/paths.ts:111
MethodpublishInbound
* Publish a message from a channel to the agent.
src/infrastructure/queue/message-bus.ts:85
MethodreadLongTerm
* Read long-term memory.
src/core/interfaces/storage.ts:39
MethodreadToday
* Read today's notes.
src/core/interfaces/storage.ts:49
MethodremoveJob
* Remove a job by ID.
src/core/interfaces/scheduler.ts:45
MethodrunJob
* Manually run a job.
src/core/interfaces/scheduler.ts:55
Methodsave
* Save a session to disk.
src/infrastructure/storage/session-store.ts:156
← previousnext →101–200 of 234, ranked by callers