MCPcopy Create free account

hub / github.com/canwhite/Krebs / functions

Functions345 in github.com/canwhite/Krebs

Methodlist
* List all worktrees
server/services/subagent/worktree.ts:97
Methodlist
* List all jobs
server/services/subagent/scheduler.ts:99
FunctionlistAgents
( parentSessionId: string )
server/services/subagent/agent-manager.ts:206
FunctionloadLuaToolsFromDirectory
( dirPath: string )
tools/lua-tools-registry.ts:79
Methodlog
(msg: string)
lib/session-transcript.ts:13
Methodlog
* 写入日志
lib/logger.ts:64
MethodmarkThresholdHit
* Mark a threshold as hit for a session
server/services/goal-constraint/storage.ts:127
MethodmergeFromParent
* Merge memories from parent context
server/services/subagent/memory.ts:75
Functionmessage
(ws: any, message: any)
server/index.ts:296
Functionon
(event: string, handler: any)
test/self-verification.test.ts:137
FunctionpassthroughBash
(command: string, cwd: string)
server/session-service.ts:96
MethodpauseJob
* Pause a job
server/services/subagent/scheduler.ts:115
FunctionpreprocessForQuery
(text: string)
server/services/goal-constraint/embedding.ts:138
FunctionpreprocessForQuery
(text: string)
server/services/session-history/bm25.ts:81
Methodprune
* Prune stale worktrees
server/services/subagent/worktree.ts:118
FunctionreadMemory
(cwd: string)
server/services/memory/storage.ts:36
FunctionreadMemorySync
(cwd: string)
server/services/memory/storage.ts:45
FunctionrebuildIndex
()
server/services/session-history/indexer.ts:108
MethodrecordCorrection
* Record that a correction was made (for cooldown tracking)
server/services/goal-constraint/engine.ts:151
FunctionregisterJsFunction
(name: string, fn: (...args: any[]) => any)
tools/lua-runtime.ts:181
MethodregisterJsFunction
(name: string, fn: (...args: any[]) => any)
tools/lua-runtime.ts:18
Methodremove
* Remove a worktree
server/services/subagent/worktree.ts:68
MethodremoveJob
* Remove a job
server/services/subagent/scheduler.ts:76
Methodreset
* 重置解析器状态
server/think-parser.ts:98
MethodresumeJob
* Resume a paused job
server/services/subagent/scheduler.ts:134
Functionrun
( command: string, args: string[], opts: { cwd: string; env?: Record<string, string> } )
server/sandbox/executor.ts:47
MethodsaveGoalSummary
* Save a goal summary to the database
server/services/goal-constraint/storage.ts:51
Methodsearch
* Search memories by keyword
server/services/subagent/memory.ts:58
FunctionsearchSkills
( agentDir: string, cwd: string, query: string )
server/services/subagent/skill-loader.ts:197
MethodsetFilePath
* Update file path for a session
server/services/session-manager/lru-session-manager.ts:133
FunctionshouldCollapse
* 判断是否应该触发 Context Collapse
server/services/compact/contextCollapse.ts:45
Methodsize
()
server/services/subagent/queue.ts:79
Methodsize
* Get current session count
server/services/session-manager/lru-session-manager.ts:119
Methodstart
* Start waiting for agents
server/services/subagent/group-join.ts:33
FunctionstartCleanerService
()
server/services/session-manager/session-cleaner.ts:311
FunctionsteerAgent
( parentSessionId: string, agentId: string, message: string )
server/services/subagent/agent-manager.ts:145
Methodstop
* Stop the scheduler
server/services/subagent/scheduler.ts:156
Methodstop
* Stop the cleanup timer
server/services/session-manager/lru-session-manager.ts:237
FunctionsummarizeResults
(results: Map<string, AgentResult>)
server/services/subagent/group-join.ts:189
FunctiontoggleHistory
()
frontend/chat.tsx:726
FunctiontruncateToolResults
* 执行 truncate(返回修改后的 messages array) * 使用 immutable 方式:先记录要修改的 index,再 map 构建新数组
server/services/compact/microCompact.ts:87
FunctionunregisterLuaTool
(name: string)
tools/lua-tools-registry.ts:43
FunctionvalidateAgentDefinition
(agent: Partial<AgentDefinition>)
server/services/subagent/custom-agents.ts:180
FunctionverifyResult
( result: string, originalGoal: string, ctx: ExtensionContext )
server/services/self-verification/llm.ts:31
FunctionwaitForAgents
( parentSessionId: string, agentIds: string[], timeoutMs?: number, onComplete?: (results: Map<string,
server/services/subagent/group-join.ts:162
← previous301–345 of 345, ranked by callers