MCPcopy Create free account

hub / github.com/danielwpz/pokoclaw / functions

Functions2,718 in github.com/danielwpz/pokoclaw

↓ 453 callersFunctioncreateTestDatabase
(testFileId: string)
tests/storage/helpers/test-db.ts:12
↓ 265 callersMethodget
(name: string)
src/tools/core/registry.ts:26
↓ 210 callersMethodparse
(rawUsage: OpenAICompatibleUsageRaw)
src/agent/llm/upstream-openai.ts:113
↓ 176 callersMethodresolve
(input: ResolveApprovalInput)
src/storage/repos/approvals.repo.ts:97
↓ 170 callersMethodinfo
(message: string, context?: LoggerContext)
src/shared/logger.ts:16
↓ 163 callersMethodexecute
( context: ToolExecutionContext, args: TArgs, )
src/tools/core/types.ts:149
↓ 149 callersMethodcreate
(input: CreateAgentInput)
src/storage/repos/agents.repo.ts:26
↓ 144 callersFunctiontoolRecoverableError
(message: string, details?: unknown)
src/tools/core/errors.ts:98
↓ 139 callersMethodpublish
(input: { sessionId: string; conversationId: string; messages: unknown; })
src/tools/a2ui-publish.ts:8
↓ 137 callersMethoddebug
(message: string, context?: LoggerContext)
src/shared/logger.ts:15
↓ 136 callersMethodrun
(input: RunAgentLoopInput)
src/agent/loop.ts:505
↓ 121 callersMethodappend
(input: AppendMessageInput)
src/storage/repos/messages.repo.ts:59
↓ 114 callersMethodhas
(name: string)
src/tools/core/registry.ts:25
↓ 108 callersMethodgetById
(id: string)
src/storage/repos/agents.repo.ts:46
↓ 101 callersMethodregister
(tool: ToolDefinition<TArgs, TDetails>)
src/tools/core/registry.ts:51
↓ 94 callersFunctionseedConversationAndAgentFixture
(handle: TestDatabaseHandle)
tests/tools/helpers.ts:4
↓ 90 callersFunctiondestroyTestDatabase
(handle: TestDatabaseHandle)
tests/storage/helpers/test-db.ts:20
↓ 88 callersMethodupsert
(input: UpsertChannelThreadInput)
src/storage/repos/channel-threads.repo.ts:27
↓ 86 callersFunctiontoCanonicalUtcIsoTimestamp
(input: Date)
src/shared/time.ts:1
↓ 84 callersFunctionreduceLarkRunState
( previous: LarkRunState | null, envelope: OrchestratedRuntimeEventEnvelope | OrchestratedTaskRunEventEnve
src/channels/lark/run-state.ts:98
↓ 82 callersMethodlistBySession
(sessionId: string, options: ListSessionMessagesOptions = {})
src/storage/repos/messages.repo.ts:89
↓ 80 callersFunctiondefineTool
(input: { name: string; description: string; inputSchema: TInputSchema; getInvocationTimeoutMs?: (cont
src/tools/core/types.ts:187
↓ 78 callersFunctiontextToolResult
( text: string, details?: TDetails, )
src/tools/core/types.ts:288
↓ 77 callersFunctionmakeAssistantResult
(params: { content: AgentAssistantContentBlock[]; stopReason?: "stop" | "length" | "toolUse" | "error" | "
tests/agent/loop.test.ts:108
↓ 75 callersMethodstart
()
src/runtime/bootstrap.ts:75
↓ 69 callersMethodadd
(input: AddCronJobInput)
src/cron/service.ts:135
↓ 68 callersMethodshutdown
()
src/runtime/bootstrap.ts:76
↓ 64 callersFunctionmakeEnvelope
( event: OrchestratedRuntimeEventEnvelope["event"], )
tests/channels/lark/run-state.test.ts:23
↓ 62 callersMethodwarn
(message: string, fields?: Record<string, unknown>)
src/channels/lark/cardkit-mutations.ts:28
↓ 61 callersFunctionmakeEnvelope
( event: OrchestratedRuntimeEventEnvelope["event"], )
tests/channels/lark/outbound.test.ts:25
↓ 60 callersFunctioncreateSubsystemLogger
(subsystem: string)
src/shared/logger.ts:215
↓ 54 callersFunctionbuildMeditationFindingId
(bucketId: string, findingIndex: number)
src/meditation/prompts.ts:766
↓ 53 callersFunctionaddError
(issues, path, message)
skills/a2ui-author/runtime/v0_8/validate.js:507
↓ 52 callersFunctioncreateModelConfig
( options: { supportsTools?: boolean } = {}, )
tests/agent/loop.test.ts:54
↓ 50 callersMethodgrantScopes
(input: { ownerAgentId: string; scopes: PermissionScope[]; grantedBy: "user" | "main_agent"; s
src/security/service.ts:226
↓ 48 callersFunctioncreateBashTool
()
src/tools/bash.ts:87
↓ 48 callersFunctioncreateLarkOutboundRuntime
( input: CreateLarkOutboundRuntimeInput, )
src/channels/lark/outbound.ts:145
↓ 45 callersMethodgetByInternalObject
(input: { channelInstallationId: string; internalObjectKind: string; internalObjectId: string; }
src/storage/repos/lark-object-bindings.repo.ts:312
↓ 45 callersMethodwarn
(message: string, context?: LoggerContext)
src/shared/logger.ts:17
↓ 40 callersFunctionreadString
(value: unknown)
src/channels/lark/inbound.ts:3352
↓ 35 callersFunctionloadConfig
(options?: LoadConfigOptions)
src/config/load.ts:71
↓ 35 callersFunctionresolveExpectedToolAbsolutePath
(targetPath: string)
tests/tools/helpers.ts:20
↓ 34 callersFunctionisRecord
(value)
skills/a2ui-author/runtime/v0_8/json.js:135
↓ 33 callersFunctioncreateLarkMessageReceiveHandler
(input: { installationId: string; storage: StorageDb; ingress: LarkInboundIngress; control: RuntimeCon
src/channels/lark/inbound.ts:348
↓ 33 callersFunctionisRecord
(value: unknown)
src/channels/lark/inbound.ts:3368
↓ 33 callersFunctionseedConversationFixture
(handle: TestDatabaseHandle)
tests/agent/loop.test.ts:87
↓ 33 callersFunctionwithHandle
(fn: (handle: TestDatabaseHandle) => Promise<void>)
tests/channels/lark/inbound/fixtures.ts:7
↓ 32 callersMethodlog
( level: "debug" | "info" | "warn" | "error", message: string, context?: Record<string, unknown>,
src/agent/compaction.ts:528
↓ 32 callersFunctionreadString
(value: unknown)
src/channels/lark/render/tool-calls.ts:586
↓ 32 callersFunctionseedFixture
(handle: TestDatabaseHandle)
tests/channels/lark/inbound/fixtures.ts:16
↓ 31 callersFunctionappendFsSubtreeSuffix
(targetPath: string)
src/security/scope.ts:89
↓ 30 callersMethodclose
()
tests/mcp/manager.test.ts:292
↓ 30 callersFunctionisPlainObject
(value: unknown)
src/config/schema.ts:2001
↓ 30 callersMethodrecordEvent
(events: AgentRuntimeEvent[], event: AgentRuntimeEventInput)
src/agent/loop.ts:2003
↓ 26 callersFunctionbuildSystemPolicy
(config?: Pick<AppConfig, "security">)
src/security/policy.ts:79
↓ 26 callersMethodstreamTurn
(input: PiBridgeRunTurnInput)
src/agent/llm/pi-bridge.ts:117
↓ 25 callersFunctionbuildAgentSystemPrompt
(input: BuildAgentSystemPromptInput = {})
src/agent/system-prompt.ts:209
↓ 25 callersMethoderror
(message: string, context?: LoggerContext)
src/shared/logger.ts:18
↓ 25 callersFunctiontoNumber
(value: unknown)
src/agent/llm/upstream-openai.ts:1140
↓ 24 callersMethodgetById
(id: string)
src/storage/repos/sessions.repo.ts:96
↓ 24 callersFunctionisRecord
(value: unknown)
src/channels/lark/a2ui.ts:968
↓ 24 callersFunctiontoolInternalError
(message: string, details?: unknown)
src/tools/core/errors.ts:113
↓ 24 callersMethodupdate
(input: UpdateCronJobInput)
src/storage/repos/cron-jobs.repo.ts:173
↓ 23 callersFunctionassertAllowedKeys
(input: object, allowedKeys: Set<string>, path: string)
src/config/schema.ts:1648
↓ 23 callersMethodbeginRun
(input: ActiveRunRecord)
src/runtime/control.ts:103
↓ 23 callersFunctionseedFixture
(handle: TestDatabaseHandle)
tests/orchestration/agent-manager.test.ts:92
↓ 23 callersFunctionwithHandle
(fn: (handle: TestDatabaseHandle) => Promise<void>)
tests/orchestration/agent-manager.test.ts:57
↓ 22 callersFunctioncreateRequestPermissionsTool
()
src/tools/request-permissions.ts:79
↓ 22 callersFunctionrenderLarkRunCard
(state: LarkRunState)
src/channels/lark/render/run-card.ts:70
↓ 21 callersFunctionbuildLarkChatSurfaceKey
(chatId: string)
src/channels/lark/inbound.ts:234
↓ 21 callersMethodclear
()
src/channels/lark/client.ts:62
↓ 21 callersFunctionreadString
(value)
skills/a2ui-author/runtime/v0_8/validate.js:504
↓ 21 callersMethodsubmitMessage
(input: SubmitMessageInput)
src/tasks/runner.ts:23
↓ 20 callersFunctioncreateResolvedModel
(overrides?: Partial<ResolvedModel>)
tests/agent/llm/pi-bridge.test.ts:53
↓ 20 callersFunctioncreateStoredUserMessage
()
tests/agent/llm/pi-bridge.test.ts:72
↓ 20 callersMethodgetOrCreate
(installationId: string)
src/runtime/back-online.ts:26
↓ 20 callersMethodgetRunObservability
(runId: string, now: Date = new Date())
src/runtime/control.ts:427
↓ 20 callersFunctionreadStringValue
(value: unknown)
src/channels/lark/delivery-targets.ts:13
↓ 20 callersFunctionrenderSection
(title: string, lines: string[])
src/agent/system-prompt-sections.ts:9
↓ 20 callersFunctionvalidatePositiveInteger
(value: unknown, path: string)
src/config/schema.ts:1882
↓ 19 callersFunctionseedConversationAndAgentFixture
(handle: TestDatabaseHandle)
tests/agent/loop.test.ts:100
↓ 19 callersMethodstatus
()
src/channels/lark/inbound.ts:156
↓ 18 callersFunctioncheckFilesystemPermission
(input: { kind: FsPermissionKind; targetPath: string; cwd?: string; permissions: EffectivePermissions;
src/security/permissions.ts:250
↓ 18 callersFunctionisToolAllowedForSession
(input: { purpose: string; agentKind?: string | null; toolName: string; })
src/agent/session-policy.ts:19
↓ 18 callersFunctionopenStorageDatabase
(options: OpenStorageDatabaseOptions = {})
src/storage/db/client.ts:33
↓ 18 callersFunctionparseConservativeBashCommandSequence
( command: string, )
src/security/bash-prefix.ts:49
↓ 17 callersFunctionbuildAgentPermissionBaseline
(role: AgentRuntimeRole)
src/security/policy.ts:115
↓ 17 callersMethodlistByOwner
(ownerAgentId: string, limit = 50)
src/storage/repos/task-runs.repo.ts:92
↓ 17 callersMethodupdate
(id: string, patch: Omit<UpdateCronJobInput, "id" | "updatedAt">)
src/cron/service.ts:162
↓ 16 callersFunctionbuildEffectivePermissions
( scopes: PermissionScope[], systemPolicy: SystemPermissionPolicy = DEFAULT_SYSTEM_POLICY, baseline: Age
src/security/permissions.ts:146
↓ 16 callersFunctionreadStringField
(value: unknown, path: string[])
src/agent/llm/errors.ts:399
↓ 16 callersFunctionseedAgentFixture
(handle: TestDatabaseHandle)
tests/security/sandbox.test.ts:45
↓ 15 callersMethodbegin
(sessionId: string)
src/runtime/cancel.ts:26
↓ 15 callersFunctiondetectRuntimeShellInfo
(input: RuntimeShellDetectionInput = {})
src/runtime/shell-info.ts:34
↓ 15 callersMethoderror
(message: string, fields?: Record<string, unknown>)
src/channels/lark/cardkit-mutations.ts:29
↓ 15 callersFunctionnormalizeAgentLlmError
(input: NormalizeAgentLlmErrorInput)
src/agent/llm/errors.ts:83
↓ 15 callersFunctionnormalizeFilesystemTargetPath
(value: string, cwd?: string)
src/security/permissions.ts:84
↓ 15 callersMethodsubmitApprovalResponse
(input: ApprovalResponseInput)
src/agent/loop.ts:311
↓ 14 callersFunctioncreateLarkCardActionHandler
(input: { installationId: string; ingress: LarkInboundIngress; control: RuntimeControlService; modelSw
src/channels/lark/inbound.ts:789
↓ 14 callersFunctioncreateTaskExecution
(input: { db: StorageDb; params: CreateTaskExecutionInput; })
src/orchestration/task-run-factory.ts:42
next →1–100 of 2,718, ranked by callers