Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/danielwpz/pokoclaw
/ functions
Functions
2,718 in github.com/danielwpz/pokoclaw
⨍
Functions
2,718
◇
Types & classes
750
↓ 4 callers
Method
flushBackgroundTaskCompletionNoticesForSession
(input: { sessionId: string; trigger: string; })
src/orchestration/agent-manager.ts:1172
↓ 4 callers
Function
formatTerminalMessage
(message: string | null)
src/channels/lark/render/run-card.ts:907
↓ 4 callers
Method
getById
(id: string)
src/storage/repos/subagent-creation-requests.repo.ts:69
↓ 4 callers
Method
getByThreadRootMessageId
(input: { channelInstallationId: string; threadRootMessageId: string; })
src/storage/repos/lark-object-bindings.repo.ts:386
↓ 4 callers
Function
getCardkitSdk
(client: LarkSdkClient)
src/channels/lark/outbound.ts:2877
↓ 4 callers
Function
getEffectiveCompactionWindow
(contextWindow: number)
src/agent/compaction.ts:197
↓ 4 callers
Function
getIntegerIntegrationEnv
( env: Record<string, string>, key: string, fallback: number, )
tests/integration/llm/helpers/fixture.ts:316
↓ 4 callers
Method
getRequiredModel
(id: string)
src/agent/llm/provider-registry.ts:73
↓ 4 callers
Method
getVersion
()
src/config/live-manager.ts:49
↓ 4 callers
Method
handleRuntimeEvent
( event: AgentRuntimeEvent, )
src/orchestration/agent-manager.ts:805
↓ 4 callers
Function
isExistingFile
(filePath: string)
src/agent/skills.ts:732
↓ 4 callers
Function
isExplicitUserApprovalDecision
(input: ApprovalFlowOutcomeInput)
src/runtime/approval-flow.ts:83
↓ 4 callers
Function
isNativeWindowsPlatform
(platform: NodeJS.Platform = process.platform)
src/runtime/host-platform.ts:1
↓ 4 callers
Function
isRecord
(value: unknown)
src/channels/lark/task-card-images.ts:216
↓ 4 callers
Function
isRecord
(value: unknown)
tests/channels/lark/run-state.test.ts:148
↓ 4 callers
Method
isYoloEnabled
(ownerAgentId: string)
src/storage/repos/agent-runtime-modes.repo.ts:48
↓ 4 callers
Function
joinSections
(sections: string[])
src/agent/system-prompt.ts:36
↓ 4 callers
Function
listLedgerRows
(sqlite: Database.Database)
tests/storage/migrations.test.ts:337
↓ 4 callers
Function
loadAgentBootstrapSnapshot
(input: { sessionPurpose?: string | null; agentKind?: string | null; workspaceDir?: string | null; })
src/agent/bootstrap.ts:34
↓ 4 callers
Function
loadAgentMemoryCatalog
(input: { agentKind?: string | null; workspaceDir?: string | null; privateWorkspaceDir?: string | null;
src/agent/memory.ts:57
↓ 4 callers
Function
logSettledTaskExecution
( status: "completed" | "blocked" | "failed" | "cancelled", settled: SettledTaskExecution, )
src/orchestration/agent-manager.ts:1226
↓ 4 callers
Function
makeAssistantMessage
(id: string, seq: number, text: string, tokenTotal: number)
tests/agent/compaction.test.ts:419
↓ 4 callers
Function
makeAttachmentEnvelope
( event: OrchestratedOutboundAttachmentEventEnvelope["event"], overrides: { taskRunId?: string | null;
tests/channels/lark/outbound.test.ts:99
↓ 4 callers
Function
makeEnvelope
( event: OrchestratedRuntimeEventEnvelope["event"], )
tests/channels/lark/retry-footer.test.ts:6
↓ 4 callers
Function
makeRgSummaryEvent
(searches: number)
tests/tools/grep.test.ts:73
↓ 4 callers
Function
makeSandboxedRgResult
(params: { stdout: string; stderr?: string; exitCode?: number; cwd: string; })
tests/tools/grep.test.ts:45
↓ 4 callers
Function
makeServerConfig
( overrides: Partial<Omit<McpStdioServerConfig, "transport">> = {}, )
tests/mcp/catalog.test.ts:215
↓ 4 callers
Function
makeTaskEnvelope
( event: OrchestratedTaskRunEventEnvelope["event"], )
tests/channels/lark/outbound-task-threads.test.ts:55
↓ 4 callers
Function
makeTaskEnvelope
( event: OrchestratedTaskRunEventEnvelope["event"], )
tests/channels/lark/run-state.test.ts:97
↓ 4 callers
Method
markRequestFailed
(input: { requestId: string; failureReason: string; decidedAt: Date; })
src/orchestration/subagents.ts:544
↓ 4 callers
Method
markToolFinished
(runId: string, toolCall: AgentToolCall)
src/agent/loop.ts:487
↓ 4 callers
Function
normalizeAgentUserImageMessageId
(imageId: string, messageId: unknown)
src/agent/llm/messages.ts:77
↓ 4 callers
Function
normalizeScheduleDefinition
( input: CronScheduleDefinition, now: Date, )
src/cron/schedule.ts:44
↓ 4 callers
Function
nowIso
()
src/mcp/manager.ts:591
↓ 4 callers
Function
parseBackgroundTaskPayload
( inputJson: string | null | undefined, )
src/tasks/background-task-payload.ts:15
↓ 4 callers
Function
parsePermissionScope
(input: unknown)
src/security/scope.ts:183
↓ 4 callers
Function
parseTimestamp
(value: string | null | undefined)
src/runtime/runtime-modes.ts:150
↓ 4 callers
Method
patch
(input: PatchA2uiSurfacePublicationInput)
src/storage/repos/a2ui-surface-publications.repo.ts:271
↓ 4 callers
Function
perMillion
(pricePerMillion: number, tokens: number)
src/agent/llm/models.ts:110
↓ 4 callers
Function
prettyPrint
(value: unknown)
src/channels/lark/render/tool-calls.ts:539
↓ 4 callers
Function
projectRuntimeEvent
(input: { db: StorageDb; event: AgentRuntimeEvent; })
src/orchestration/outbound-events.ts:193
↓ 4 callers
Method
provisionSubagentSurface
( input: ProvisionSubagentSurfaceInput, )
src/orchestration/subagents.ts:116
↓ 4 callers
Method
publishTaskRunSettledEvent
( eventType: "task_run_completed" | "task_run_blocked" | "task_run_failed" | "task_run_cancelled", set
src/orchestration/agent-manager.ts:858
↓ 4 callers
Function
readAgentLlmRawErrorPayload
(error: unknown)
src/agent/llm/errors.ts:535
↓ 4 callers
Function
readIdentifier
(value: unknown)
src/channels/lark/render/tool-calls.ts:594
↓ 4 callers
Function
readInteger
(value: unknown)
src/channels/lark/a2ui.ts:972
↓ 4 callers
Function
readLarkInteractiveCardId
(input: unknown)
tests/channels/lark/outbound.test.ts:239
↓ 4 callers
Function
readNonNegativeInteger
(value, field, fallback)
skills/a2ui-author/runtime/v0_8/render.js:453
↓ 4 callers
Function
readString
(value: unknown, key: string)
src/agent/llm/upstream-openai.ts:885
↓ 4 callers
Function
readStringField
(value: unknown, key: string)
src/channels/lark/image-message.ts:110
↓ 4 callers
Function
readStringStyle
(value)
skills/a2ui-author/runtime/v0_8/render.js:441
↓ 4 callers
Method
reconcileStatuses
(config: McpConfig)
src/mcp/manager.ts:412
↓ 4 callers
Method
refreshAll
()
src/mcp/catalog.ts:115
↓ 4 callers
Method
refreshServer
(serverName: string)
src/mcp/catalog.ts:121
↓ 4 callers
Function
renderCollapsedToolHistoryPanel
( tools: LarkToolSequenceTool[], suffix = "", )
src/channels/lark/render/tool-calls.ts:64
↓ 4 callers
Function
renderDelegatedApprovalMessage
(input: { approvalId: number; ownerAgentId: string; reasonText: string | null; requestedScopeJson: str
src/orchestration/delegated-approval.ts:204
↓ 4 callers
Function
renderMultilineElement
( tagName: string, value: string, indent = 2, contentIndent = indent + 2, )
src/orchestration/delegated-approval.ts:549
↓ 4 callers
Function
renderNodeAsElements
(context, componentId)
skills/a2ui-author/runtime/v0_8/render.js:58
↓ 4 callers
Function
renderOptionalSingleLineElement
( tagName: string, value: string | null | undefined, indent = 2, )
src/orchestration/delegated-approval.ts:528
↓ 4 callers
Function
renderToolDetail
( tool: LarkToolSequenceTool, options: { expanded?: boolean; } = {}, )
src/channels/lark/render/tool-calls.ts:88
↓ 4 callers
Function
requireRecordField
( value: Record<string, unknown>, key: string, eventType: string, path: string, )
src/agent/llm/providers/codex/stream.ts:498
↓ 4 callers
Function
resolveBoundValue
(value, dataModel)
skills/a2ui-author/runtime/v0_8/json.js:103
↓ 4 callers
Function
resolveDefaultSkillRoots
(workdir?: string | null)
src/agent/skills.ts:194
↓ 4 callers
Function
resolveMainAgentChatSessionForAgent
(input: { db: StorageDb; ownerAgentId: string; })
src/orchestration/main-agent-session.ts:17
↓ 4 callers
Method
resolveMainAgentId
(agentId: string)
src/storage/repos/agents.repo.ts:56
↓ 4 callers
Function
resolveProviderRegistry
( input: ProviderRegistry | ProviderRegistrySource, )
src/agent/llm/provider-registry-source.ts:35
↓ 4 callers
Function
resolveRepoLocalSkillDirs
(workdir?: string | null)
src/shared/repo-skill-roots.ts:10
↓ 4 callers
Method
runJobNow
(jobId: string)
src/cron/service.ts:229
↓ 4 callers
Function
safeParsePayload
(payloadJson: string)
src/agent/loop.ts:2398
↓ 4 callers
Function
seedAgentFixture
(handle: TestDatabaseHandle)
tests/storage/agent-runtime-modes.repo.test.ts:10
↓ 4 callers
Function
seedAgentFixture
(handle: TestDatabaseHandle)
tests/runtime/runtime-modes.test.ts:16
↓ 4 callers
Function
seedFixture
(handle: TestDatabaseHandle)
tests/storage/task-runs.repo.test.ts:10
↓ 4 callers
Function
seedFixture
(handle: TestDatabaseHandle)
tests/storage/agents.repo.test.ts:19
↓ 4 callers
Function
seedFixture
(handle: TestDatabaseHandle)
tests/runtime/live-state.test.ts:16
↓ 4 callers
Function
seedMainAgentFixture
(handle: TestDatabaseHandle)
tests/tools/get-runtime-status.test.ts:501
↓ 4 callers
Function
sendLarkImageMessage
(input: { installationId: string; chatId: string; replyToMessageId?: string | null; imagePath: string;
src/channels/lark/image-message.ts:48
↓ 4 callers
Function
sendLarkTextMessage
(input: { installationId: string; chatId: string; replyToMessageId?: string | null; text: string; cl
src/channels/lark/text-message.ts:6
↓ 4 callers
Function
settleTaskExecution
(input: SettleTaskExecutionInput)
src/orchestration/task-run-lifecycle.ts:91
↓ 4 callers
Function
shouldCreateStandaloneLarkApprovalCard
(value: { approvalTarget: "user" | "main_agent"; taskRunId?: string | null; })
src/channels/lark/outbound.ts:2706
↓ 4 callers
Method
stop
()
src/runtime/minute-heartbeat.ts:73
↓ 4 callers
Method
stopRun
(input: StopRunInput)
src/runtime/control.ts:138
↓ 4 callers
Method
submitApprovalDecision
(input: { approvalId: number; decision: "approve" | "deny"; actor: string; rawInput?: string |
src/tools/core/types.ts:46
↓ 4 callers
Function
truncateText
(input: string, maxChars: number)
src/meditation/message-context.ts:100
↓ 4 callers
Function
validateChildren
(value, path, issues)
skills/a2ui-author/runtime/v0_8/validate.js:417
↓ 4 callers
Function
validateNonNegativeInteger
(value, path, issues)
skills/a2ui-author/runtime/v0_8/validate.js:464
↓ 4 callers
Function
validateNonNegativeNumber
(value: unknown, path: string)
src/config/schema.ts:1898
↓ 4 callers
Function
validatePositiveInteger
(value, path, issues)
skills/a2ui-author/runtime/v0_8/validate.js:459
↓ 4 callers
Function
waitFor
( predicate: () => boolean, input: { timeoutMs?: number; intervalMs?: number; label: string;
tests/integration/llm/delegated-approval.test.ts:149
↓ 4 callers
Function
waitForCondition
(condition: () => boolean, attempts = 40)
tests/channels/lark/outbound.test.ts:141
↓ 4 callers
Function
waitForCondition
(condition: () => boolean, attempts = 40)
tests/orchestration/agent-manager.test.ts:72
↓ 4 callers
Function
withHandle
(fn: (handle: TestDatabaseHandle) => Promise<void>)
tests/storage/agents.repo.test.ts:10
↓ 4 callers
Function
withHandle
(fn: (handle: TestDatabaseHandle) => Promise<void>)
tests/runtime/status.test.ts:18
↓ 3 callers
Method
afterToolResult
(input: { run: RunAgentLoopInput; sessionPurpose: string; ownerAgentId?: string | null; agentK
src/agent/loop.ts:216
↓ 3 callers
Function
appendMeditationDailyRunBlock
( input: AppendMeditationDailyRunBlockInput, )
src/meditation/daily-note.ts:88
↓ 3 callers
Method
applyMessages
(messages)
skills/a2ui-author/runtime/v0_8/surface.js:4
↓ 3 callers
Method
approveSubagentCreationRequest
( input: ApproveSubagentCreationRequestInput, )
src/orchestration/agent-manager.ts:342
↓ 3 callers
Function
asRecord
(value: unknown)
src/meditation/message-context.ts:115
↓ 3 callers
Function
asRecord
(value: unknown)
tests/manual/meditation-tool-failure-analysis.ts:507
↓ 3 callers
Function
assertToolAllowedForSession
(input: { purpose: string; agentKind?: string | null; toolName: string; })
src/agent/session-policy.ts:96
↓ 3 callers
Method
attachManager
(manager: RuntimeOrchestrationTarget)
src/runtime/orchestration-bridge.ts:90
← previous
next →
501–600 of 2,718, ranked by callers