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
↓ 3 callers
Method
listByConversationBranch
(input: { channelType: string; conversationId: string; branchId: string; })
src/storage/repos/channel-surfaces.repo.ts:140
↓ 3 callers
Method
listByMainAgent
(mainAgentId: string)
src/storage/repos/agents.repo.ts:69
↓ 3 callers
Method
listBySourceSession
(sourceSessionId: string, limit = 50)
src/storage/repos/subagent-creation-requests.repo.ts:79
↓ 3 callers
Method
listFailedToolResults
(windowStart: string, windowEnd: string)
src/meditation/read-model.ts:188
↓ 3 callers
Method
listSessionMessageWindowByTime
( sessionId: string, aroundCreatedAt: string, before: number, after: number, )
src/meditation/read-model.ts:301
↓ 3 callers
Method
listStopFacts
(windowStart: string, windowEnd: string)
src/meditation/read-model.ts:104
↓ 3 callers
Method
listTaskFailureFacts
(windowStart: string, windowEnd: string)
src/meditation/read-model.ts:129
↓ 3 callers
Function
loadMeditationConsolidationEvaluationPromptInput
( input: LoadMeditationConsolidationEvaluationPromptInputInput, )
src/meditation/consolidation-context.ts:60
↓ 3 callers
Function
logRawLlmFailure
( phase: "stream" | "complete" | "compaction", model: ResolvedModel, error: unknown, )
src/agent/llm/pi-bridge.ts:982
↓ 3 callers
Function
makeAssistantResult
(params: { content: AgentAssistantContentBlock[]; stopReason?: "stop" | "length" | "toolUse" | "error" | "
tests/channels/lark/yolo-autopilot-outbound.test.ts:114
↓ 3 callers
Function
makeAssistantResult
(params: { content: AgentAssistantContentBlock[]; stopReason?: "stop" | "length" | "toolUse" | "error" | "
tests/runtime/orchestration-bridge.test.ts:54
↓ 3 callers
Function
makeAssistantResult
(content: AgentAssistantContentBlock[])
tests/agent/empty-output-retry.test.ts:51
↓ 3 callers
Function
makeLarkHttpError
( status: number, data: Record<string, unknown>, )
tests/channels/lark/outbound.test.ts:225
↓ 3 callers
Function
makeStreamableServerConfig
( overrides: Partial<Omit<McpStreamableHttpServerConfig, "transport">> = {}, )
tests/mcp/manager.test.ts:336
↓ 3 callers
Function
makeTaskRuntimeEnvelope
( event: OrchestratedRuntimeEventEnvelope["event"], )
tests/channels/lark/outbound-task-threads.test.ts:18
↓ 3 callers
Function
makeUserMessage
(id: string, seq: number, content: string, tokenTotal: number)
tests/agent/compaction.test.ts:392
↓ 3 callers
Method
markCancelled
(input: { runId: string; at?: Date })
src/runtime/control.ts:412
↓ 3 callers
Method
markCompleted
(input: { runId: string; at?: Date })
src/runtime/control.ts:382
↓ 3 callers
Function
markLarkRunApprovalResolved
( state: LarkRunState, input: { decision: "approve" | "deny"; actor: string; }, )
src/channels/lark/run-state.ts:591
↓ 3 callers
Method
markWaitingApproval
(runId: string, approvalId: number)
src/agent/loop.ts:494
↓ 3 callers
Function
materializeForkedSessionSnapshotInStorage
( input: MaterializeForkedSessionSnapshotInput, )
src/orchestration/session-fork.ts:23
↓ 3 callers
Function
maybeSendFullTaskTerminalMessageToThread
(input: { bindingsRepo: LarkObjectBindingsRepo; channelInstallationId: string; binding: LarkObjectBindin
src/channels/lark/outbound.ts:2575
↓ 3 callers
Function
mergeHardDenyList
(input: { defaults: readonly string[]; additions: string[]; override: boolean; })
src/security/policy.ts:167
↓ 3 callers
Function
normalizeAssistantResult
( message: AssistantMessage, mode: "stream" | "complete", )
src/agent/llm/pi-bridge.ts:893
↓ 3 callers
Function
normalizeCheckedPath
(value: string, cwd?: string)
src/security/permissions.ts:80
↓ 3 callers
Function
normalizeLineEndings
(value: string)
src/tools/edit.ts:174
↓ 3 callers
Function
normalizeNonNegativeInteger
(field: string, value: number)
src/storage/repos/sessions.repo.ts:246
↓ 3 callers
Function
normalizeOptionalNonNegativeInteger
( field: string, value: number | null | undefined, )
src/storage/repos/sessions.repo.ts:235
↓ 3 callers
Function
normalizeRequiredTrimmed
(field: string, value: string)
src/orchestration/subagents.ts:666
↓ 3 callers
Function
onTextDelta
(event)
tests/agent/llm/pi-bridge.test.ts:271
↓ 3 callers
Function
parseApprovalResumeRunId
(approval: ApprovalRecord | null)
src/agent/approval-round.ts:3
↓ 3 callers
Function
parseBindingMetadata
(raw: string | null)
src/channels/lark/cardkit-mutations.ts:37
↓ 3 callers
Function
parseDate
(value: string, flagName: string)
src/script/meditation-backtest.ts:189
↓ 3 callers
Function
parseGrantedScopes
(scopeJsonValues: string[])
src/security/permissions.ts:419
↓ 3 callers
Function
parseMcpToolName
(toolName: string)
src/channels/lark/render/tool-calls.ts:501
↓ 3 callers
Function
parseMessageTimestamp
(message: Message)
src/agent/llm/messages.ts:374
↓ 3 callers
Function
parsePayload
(payloadJson: string)
src/agent/compaction.ts:941
↓ 3 callers
Function
parsePayload
(payloadJson: string, messageId: string)
src/agent/llm/messages.ts:321
↓ 3 callers
Function
parseRequiredDate
(flag: string, rawValue: string | undefined)
src/script/meditation-episode-study.ts:370
↓ 3 callers
Function
parseToolFailure
(row: MessageRow)
tests/manual/meditation-tool-failure-analysis.ts:125
↓ 3 callers
Function
prepareCompaction
(input: { messages: Message[]; config: CompactionConfig; contextTokens: number; })
src/agent/compaction.ts:290
↓ 3 callers
Function
projectTaskRunEvent
(input: { db: StorageDb; event: TaskRunOutboundEvent; taskRun: TaskRun; executionSession: Session | nu
src/orchestration/outbound-events.ts:220
↓ 3 callers
Function
readLastRuntimeLogTimestamp
( runtimeLogPath: string, options: { tailBytes?: number; } = {}, )
src/runtime/runtime-log.ts:6
↓ 3 callers
Function
readOptionalTomlFile
(filePath: string)
src/config/load.ts:13
↓ 3 callers
Function
readPositiveInteger
(value: unknown)
src/channels/lark/cardkit-mutations.ts:50
↓ 3 callers
Function
readPositiveInteger
(value, field, fallback)
skills/a2ui-author/runtime/v0_8/render.js:444
↓ 3 callers
Function
readString
(value: unknown)
src/channels/lark/subagent-provisioner.ts:498
↓ 3 callers
Method
recordServerOperationFailed
(serverName: string, error: unknown)
src/mcp/manager.ts:214
↓ 3 callers
Function
renderLineBlock
( tagName: string, lines: readonly string[], indent = 2, contentIndent = indent + 2, )
src/orchestration/delegated-approval.ts:559
↓ 3 callers
Function
renderMessageWindow
( messages: Array<{ id: string; role: string; messageType: string; createdAt: string; pa
src/meditation/prompts.ts:570
↓ 3 callers
Function
renderMultilineElement
( tagName: string, value: string, indent = 2, contentIndent = indent + 2, )
src/tools/helpers/permission-block.ts:231
↓ 3 callers
Function
renderOptionalMultilineElement
( tagName: string, value: string | null | undefined, indent = 2, contentIndent = indent + 2, )
src/orchestration/delegated-approval.ts:536
↓ 3 callers
Method
renderSnapshot
(entry: CatalogCacheEntry, now: number)
src/mcp/catalog.ts:254
↓ 3 callers
Function
renderSurface
(surface)
skills/a2ui-author/runtime/v0_8/render.js:6
↓ 3 callers
Function
requireField
(value: string | undefined, field: string)
src/tools/cron.ts:319
↓ 3 callers
Function
requireFilesystemAccess
( context: ToolExecutionContext, input: { kind: "fs.read" | "fs.write"; targetPath: string; }, )
src/tools/helpers/common.ts:175
↓ 3 callers
Function
requireOwnerAgentId
(context: ToolExecutionContext)
src/security/sandbox.ts:614
↓ 3 callers
Method
requireState
(id: string)
src/storage/repos/meditation-state.repo.ts:111
↓ 3 callers
Method
requireSubagentRequest
(requestId: string)
src/orchestration/agent-manager.ts:958
↓ 3 callers
Method
reserveBinding
(input: ReserveLarkObjectBindingInput)
src/storage/repos/lark-object-bindings.repo.ts:152
↓ 3 callers
Method
resolveBucketProfile
( agentId: string, preferredSessionIds: string[] = [], )
src/meditation/read-model.ts:355
↓ 3 callers
Function
resolveContainedRealPath
(input: { source: AgentSkillRoot["source"]; rootDir: string; rootRealPath: string; candidatePath: stri
src/agent/skills.ts:673
↓ 3 callers
Function
resolveHeartbeatTickAt
(now: Date)
src/runtime/minute-heartbeat.ts:151
↓ 3 callers
Function
resolveInitialNextRunAt
(input: CronScheduleDefinition, now: Date)
src/cron/schedule.ts:68
↓ 3 callers
Function
resolvePathWithExistingRealpath
(inputPath: string, cwd?: string)
src/security/permissions.ts:440
↓ 3 callers
Function
resolvePiApi
(model: ResolvedModel)
src/agent/llm/pi-bridge.ts:777
↓ 3 callers
Function
resolvePiBaseUrl
(model: ResolvedModel)
src/agent/llm/pi-bridge.ts:797
↓ 3 callers
Function
resolveToolOwnerAgentId
(context: ToolExecutionContext)
src/tools/helpers/common.ts:18
↓ 3 callers
Method
runCompaction
(input: CompactionModelRunnerInput)
src/agent/compaction.ts:136
↓ 3 callers
Method
runCreatedTaskExecution
(input: { created: CreatedTaskExecution; createdAt?: Date; })
src/orchestration/agent-manager.ts:574
↓ 3 callers
Function
runMeditationConsolidationRewriteAgent
( input: RunMeditationConsolidationRewriteAgentInput, )
src/meditation/agent-runner.ts:137
↓ 3 callers
Function
safeJson
(value: unknown)
src/channels/lark/cardkit-mutations.ts:303
↓ 3 callers
Function
safeJson
(value: unknown)
src/channels/lark/outbound.ts:2713
↓ 3 callers
Function
safeSerialize
(value: unknown)
src/tools/core/registry.ts:279
↓ 3 callers
Function
sanitizeMeditationBacktestLabel
(input: string)
src/meditation/backtest.ts:215
↓ 3 callers
Function
scheduleDependentRetry
(deliveryId: string, context: Record<string, unknown>)
src/channels/lark/outbound.ts:226
↓ 3 callers
Function
scheduleFlush
( deliveryId: string, options?: { immediate?: boolean; delayMs?: number }, )
src/channels/lark/outbound.ts:172
↓ 3 callers
Function
seedAgentFixture
(handle: TestDatabaseHandle)
tests/storage/permission-grants.repo.test.ts:10
↓ 3 callers
Function
seedAgentFixture
(handle: TestDatabaseHandle)
tests/storage/db.test.ts:28
↓ 3 callers
Function
seedAgentFixture
(handle: TestDatabaseHandle)
tests/storage/approvals.repo.test.ts:10
↓ 3 callers
Function
seedChatSession
(handle: TestDatabaseHandle)
tests/agent/empty-output-retry.test.ts:81
↓ 3 callers
Function
seedConversationAndAgentFixture
(handle: TestDatabaseHandle)
tests/agent/bash-approval.test.ts:74
↓ 3 callers
Function
seedConversationFixture
(sql: { exec: (statement: string) => void })
tests/integration/llm/helpers/fixture.ts:186
↓ 3 callers
Function
seedFixture
()
tests/tools/review-permission-request.test.ts:21
↓ 3 callers
Function
seedFixture
(handle: TestDatabaseHandle)
tests/storage/lark-object-bindings.repo.test.ts:12
↓ 3 callers
Function
seedFixture
(handle: TestDatabaseHandle)
tests/orchestration/task-run-factory.test.ts:14
↓ 3 callers
Function
seedFixture
(handle: TestDatabaseHandle)
tests/orchestration/approval-session.test.ts:27
↓ 3 callers
Function
seedFixture
(handle: TestDatabaseHandle)
tests/orchestration/outbound-events.test.ts:12
↓ 3 callers
Function
seedFixture
(handle: TestDatabaseHandle)
tests/orchestration/main-agent-session.test.ts:20
↓ 3 callers
Function
seedFixture
(handle: TestDatabaseHandle)
tests/orchestration/delegated-approval-orchestration.test.ts:87
↓ 3 callers
Function
sendLarkStatusCard
(input: { installationId: string; chatId: string; replyToMessageId?: string | null; template?: string;
src/channels/lark/inbound.ts:3181
↓ 3 callers
Function
serializePermissionScope
(scope: PermissionScope)
src/security/scope.ts:243
↓ 3 callers
Function
shouldUseCustomOpenAIResponsesStream
( model: Pick<Model<Api>, "api" | "baseUrl">, )
src/agent/llm/upstream-openai.ts:183
↓ 3 callers
Method
softDelete
(input: SoftDeleteCronJobInput)
src/storage/repos/cron-jobs.repo.ts:204
↓ 3 callers
Method
stopRuns
( runs: ActiveRunRecord[], reasonText: string, input: StopRunInput | StopSessionInput | StopConver
src/runtime/control.ts:460
↓ 3 callers
Method
stopSession
(input: StopSessionInput)
src/runtime/control.ts:201
↓ 3 callers
Function
stripQuotedShellContent
(command: string)
src/tools/bash.ts:695
↓ 3 callers
Method
submitSubagentCreationRequest
(params: CreateSubagentInput)
src/orchestration/agent-manager.ts:313
↓ 3 callers
Function
summarizeRenderedSurface
( surface: SurfaceState, card: Record<string, unknown>, )
src/channels/lark/a2ui.ts:855
↓ 3 callers
Function
summarize_record
(record: dict[str, Any], index: int)
skills/claude-session-observe/scripts/read_session_records.py:193
← previous
next →
701–800 of 2,718, ranked by callers