MCPcopy Create free account

hub / github.com/DingyangLyu/MatClaw / functions

Functions478 in github.com/DingyangLyu/MatClaw

↓ 2 callersFunctiongetEntry
( chatJid: string, cfg: SenderAllowlistConfig, )
src/sender-allowlist.ts:91
↓ 2 callersMethodgetGroupFolder
* Get the group folder name for a given JID.
src/channels/feishu.ts:805
↓ 2 callersFunctiongetNodeVersion
()
setup/platform.ts:118
↓ 2 callersFunctiongetRealPath
* Get the real path, resolving symlinks. * Returns null if the path doesn't exist.
src/mount-security.ts:139
↓ 2 callersFunctiongetRecentMessages
( chatJid: string, limit = 100, threadId?: string, )
src/db.ts:401
↓ 2 callersFunctiongetRegisteredGroup
( jid: string, )
src/db.ts:764
↓ 2 callersFunctiongetStatePath
()
skills-engine/state.ts:14
↓ 2 callersFunctionhandleWebChatMessage
( text: string, opts: ChannelOpts, threadId = activeThreadId, )
src/channels/web.ts:219
↓ 2 callersFunctionisHeadless
()
setup/platform.ts:32
↓ 2 callersFunctionisProcessAlive
(pid: number)
skills-engine/lock.ts:21
↓ 2 callersMethodisSessionCleared
* Check if the session was cleared by /new (dying container should not * re-save its session ID).
src/group-queue.ts:212
↓ 2 callersFunctionisStale
(lock: LockInfo)
skills-engine/lock.ts:17
↓ 2 callersFunctionisValidEntry
(entry: unknown)
src/sender-allowlist.ts:23
↓ 2 callersFunctionisWithinRoot
(rootPath: string, targetPath: string)
skills-engine/file-ops.ts:5
↓ 2 callersFunctionlistWebChatThreads
()
src/db.ts:604
↓ 2 callersMethodpollForMessages
()
src/channels/gmail.ts:197
↓ 2 callersFunctionproviderDesc
(p: ProviderConfig)
setup/configure-api.ts:43
↓ 2 callersFunctionquoteValue
* Quote value if it contains spaces or special characters.
setup/env-writer.ts:84
↓ 2 callersFunctionreadonlyMountArgs
( hostPath: string, containerPath: string, )
src/container-runtime.ts:14
↓ 2 callersFunctionresetWorkingTree
Restore tracked files and remove untracked skill artifacts.
scripts/validate-all-skills.ts:61
↓ 2 callersFunctionrunNpmInstall
()
skills-engine/structured.ts:196
↓ 2 callersMethodscheduleRetry
(groupJid: string, state: GroupState)
src/group-queue.ts:327
↓ 2 callersFunctionsetupNohupFallback
( projectRoot: string, nodePath: string, homeDir: string, )
setup/service.ts:308
↓ 2 callersFunctionshouldSkipSymlinkTests
(err: unknown)
skills-engine/__tests__/file-ops.test.ts:7
↓ 2 callersFunctionshutdown
(signal: string)
src/index.ts:1243
↓ 2 callersMethodshutdown
(_gracePeriodMs: number)
src/group-queue.ts:411
↓ 2 callersFunctionstartSchedulerLoop
(deps: SchedulerDependencies)
src/task-scheduler.ts:242
↓ 2 callersFunctionstringWidth
(s: string)
setup/ui.ts:59
↓ 2 callersFunctiontestConnection
( creds: FeishuCredentials, )
src/feishu-auth.ts:33
↓ 2 callersFunctiontestConnection
( creds: DingTalkCredentials, )
src/dingtalk-auth.ts:30
↓ 2 callersFunctiontouchWebChatThread
( threadId: string, preview: string, timestamp: string, )
src/db.ts:671
↓ 2 callersFunctionwriteGroupsSnapshot
( groupFolder: string, isMain: boolean, groups: AvailableGroup[], registeredJids: Set<string>, )
src/container-runner.ts:870
↓ 2 callersFunctionwriteTasksSnapshot
( groupFolder: string, isMain: boolean, tasks: Array<{ id: string; groupFolder: string; prom
src/container-runner.ts:832
↓ 1 callersFunction_resetSchedulerLoopForTests
()
src/task-scheduler.ts:279
↓ 1 callersFunctionabortCustomize
()
skills-engine/customize.ts:147
↓ 1 callersMethodautoRegisterGroup
( jid: string, conversationId: string, isGroup: boolean, )
src/channels/dingtalk.ts:443
↓ 1 callersMethodautoRegisterGroup
* Auto-register a Feishu chat as a group. * Creates the group folder, CLAUDE.md, and database entry automatically.
src/channels/feishu.ts:535
↓ 1 callersFunctionbBot
()
src/index.ts:1021
↓ 1 callersFunctionbTop
(t?: string)
src/index.ts:1007
↓ 1 callersFunctionbuildContainerArgs
( mounts: VolumeMount[], containerName: string, )
src/container-runner.ts:291
↓ 1 callersMethodbuildPostContent
* Build Feishu post content from text, replacing markdown images with * uploaded Feishu images. Supports ![alt](path) syntax. * Container paths
src/channels/feishu.ts:586
↓ 1 callersFunctionbuildVolumeMounts
( group: RegisteredGroup, isMain: boolean, )
src/container-runner.ts:62
↓ 1 callersFunctioncheckDockerGroupStale
* Detect stale docker group membership in the user systemd session. * * When a user is added to the docker group mid-session, the user systemd * da
setup/service.ts:186
↓ 1 callersMethodcollectAttachmentParts
Recursively collect parts that have a filename (attachments).
src/channels/gmail.ts:431
↓ 1 callersFunctioncollectTrackedFiles
(state: ReturnType<typeof readState>)
skills-engine/rebase.ts:30
↓ 1 callersFunctioncopyDirFiltered
(src: string, dest: string, excludes: string[])
skills-engine/init.ts:76
↓ 1 callersFunctioncreateEngine
* Create the appropriate engine based on AGENT_ENGINE env var. * Uses dynamic import so only the selected engine's dependencies are loaded.
container/agent-runner/src/index.ts:176
↓ 1 callersFunctioncreateFakeProcess
()
src/container-runner.test.ts:56
↓ 1 callersFunctioncreatePreCompactHook
(assistantName?: string)
container/agent-runner/src/engines/claude.ts:134
↓ 1 callersFunctioncreateSanitizeBashHook
()
container/agent-runner/src/engines/claude.ts:158
↓ 1 callersMethodcreateSession
()
src/web/server.ts:52
↓ 1 callersFunctioncreateTestDb
* Tests for the register step. * * Verifies: parameterized SQL (no injection), file templating, * apostrophe in names, .env updates.
setup/register.test.ts:12
↓ 1 callersFunctiondeleteAndReplaceWebChatThread
(threadId: string)
src/index.ts:158
↓ 1 callersMethoddeleteSession
(threadId: string)
src/web/server.ts:55
↓ 1 callersFunctiondeleteWebChatThread
(threadId: string)
src/db.ts:724
↓ 1 callersFunctiondiscoverSkills
( skillsDir: string, )
scripts/validate-all-skills.ts:37
↓ 1 callersFunctiondockerRunning
()
setup/wizard.ts:30
↓ 1 callersMethoddownloadAttachment
* Download a message attachment (image/file) and save to group uploads folder. * Returns the relative path (e.g., "uploads/123_photo.png") or null
src/channels/feishu.ts:814
↓ 1 callersMethoddownloadAttachments
* Download email attachments and save to the group's uploads folder. * Returns an array of "[Attached file: uploads/filename]" strings.
src/channels/gmail.ts:383
↓ 1 callersMethoddownloadMedia
* Download a media file from DingTalk using downloadCode. * Returns the relative path (e.g., "uploads/123_photo.png") or null.
src/channels/dingtalk.ts:265
↓ 1 callersMethoddrainWaiting
()
src/group-queue.ts:382
↓ 1 callersFunctionensureContainerSystemRunning
()
src/index.ts:1229
↓ 1 callersFunctionensureDefaultWebChatThread
(database: Database.Database)
src/db.ts:174
↓ 1 callersFunctionescapeRegex
(str: string)
src/config.ts:93
↓ 1 callersFunctionextractArtifactRefs
( text: string, )
src/web/server.ts:77
↓ 1 callersMethodextractTextBody
( payload: gmail_v1.Schema$MessagePart | undefined, )
src/channels/gmail.ts:351
↓ 1 callersFunctionfactory
()
src/channels/registry.test.ts:23
↓ 1 callersFunctionfindAllowedRoot
* Check if a real path is under an allowed root
src/mount-security.ts:176
↓ 1 callersFunctionfindFileRecursive
Recursively search for a file by basename within a directory (max 3 levels deep).
src/web/server.ts:21
↓ 1 callersFunctionfixSkill
(skillName: string, projectRoot: string)
scripts/fix-skill-drift.ts:44
↓ 1 callersFunctionformatTime
(ts?: string)
src/web/transcript-parser.ts:50
↓ 1 callersFunctionformatTranscriptMarkdown
(messages: ParsedMessage[], title?: string | null, assistantName?: string)
container/agent-runner/src/engines/claude.ts:115
↓ 1 callersFunctiongenerateFallbackName
()
container/agent-runner/src/engines/claude.ts:88
↓ 1 callersFunctiongetAllSessions
()
src/db.ts:751
↓ 1 callersFunctiongetChatArtifacts
(threadId?: string)
src/web/server.ts:157
↓ 1 callersMethodgetChatName
(chatId: string)
src/channels/feishu.ts:955
↓ 1 callersFunctiongetCoreVersion
(projectRoot: string)
skills-engine/init.ts:93
↓ 1 callersFunctiongetDueTasks
()
src/db.ts:543
↓ 1 callersFunctiongetGroupsInfo
List available groups with their log files and transcript count
src/web/server.ts:201
↓ 1 callersFunctiongetNodeMajorVersion
()
setup/platform.ts:127
↓ 1 callersFunctiongetNodePath
()
setup/platform.ts:101
↓ 1 callersFunctiongetSessionSummary
(sessionId: string, transcriptPath: string)
container/agent-runner/src/engines/claude.ts:72
↓ 1 callersFunctiongetTranscriptEntries
Parse a transcript file and return structured JSON entries
src/web/server.ts:325
↓ 1 callersFunctiongetTranscriptLog
Parse a transcript file and return formatted log
src/web/server.ts:304
↓ 1 callersFunctiongrad
(text: string)
src/index.ts:995
↓ 1 callersFunctionhandleControlCommand
* Handle control commands (/stop, /new, /watch, /status, /help, /sessions) * that should work even while the agent container is running. * Returns t
src/index.ts:736
↓ 1 callersMethodhandleMessage
(data: any)
src/channels/dingtalk.ts:316
↓ 1 callersMethodhandleMessageEvent
(event: FeishuMessageEvent)
src/channels/feishu.ts:443
↓ 1 callersFunctionhasAuth
(authDir: string)
setup/environment.test.ts:109
↓ 1 callersFunctioninitDatabase
()
src/db.ts:206
↓ 1 callersFunctioninitNanoclaw
()
scripts/validate-all-skills.ts:72
↓ 1 callersFunctionisValidContainerPath
* Validate the container path to prevent escaping /workspace/extra/
src/mount-security.ts:202
↓ 1 callersFunctionisWithinRoot
(rootPath: string, targetPath: string)
skills-engine/path-remap.ts:6
↓ 1 callersFunctionkillOrphanedProcesses
* Kill any orphaned matclaw node processes left from previous runs or debugging. * Prevents connection conflicts when two instances connect to the sa
setup/service.ts:166
↓ 1 callersFunctionlistGroups
(limit: number)
setup/groups.ts:42
↓ 1 callersFunctionlistLogs
List log files for a group
src/web/server.ts:264
↓ 1 callersMethodlistSessions
()
src/web/server.ts:50
↓ 1 callersFunctionlistTranscripts
List transcript files for a group
src/web/server.ts:276
↓ 1 callersFunctionlistWorkspaceArtifacts
(groupFolder: string)
src/web/server.ts:102
↓ 1 callersFunctionloadMountAllowlist
()
src/mount-security.ts:54
← previousnext →201–300 of 478, ranked by callers