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
↓ 2 callers
Function
normalizeComparableText
(value: string)
tests/integration/llm/pi-bridge.test.ts:188
↓ 2 callers
Function
normalizeInputSchema
(schema: unknown)
src/mcp/catalog.ts:327
↓ 2 callers
Function
normalizeMarkdownForValidation
(markdown: string)
src/meditation/agent-runner.ts:240
↓ 2 callers
Function
normalizeMeditationBacktestArgv
(argv: string[])
src/script/meditation-backtest.ts:185
↓ 2 callers
Function
normalizeModelScenario
(value: unknown)
src/channels/lark/inbound.ts:3305
↓ 2 callers
Function
normalizeResponsesInputRoles
(input: ResponsesInput)
src/agent/llm/pi-ai-openai-responses-shared.ts:87
↓ 2 callers
Function
normalizeRewriteProposal
(input: { lessons: ConsolidationRuleProposal[]; rewritten_markdown: string; })
src/meditation/runner.ts:747
↓ 2 callers
Function
normalizeScheduleDefinitionOrThrowRecoverable
(input: CronScheduleDefinition, now: Date)
src/tools/cron.ts:422
↓ 2 callers
Function
normalizeSingleLine
(text: string)
src/channels/lark/render/tool-calls.ts:494
↓ 2 callers
Function
normalizeTaskCardTitleValue
(value: string | null | undefined)
src/channels/lark/outbound.ts:2670
↓ 2 callers
Function
normalizeText
(input: string)
src/meditation/message-context.ts:96
↓ 2 callers
Function
normalizeToolCallId
(id: string)
src/agent/llm/pi-ai-openai-responses-shared.ts:374
↓ 2 callers
Function
normalizeToolTargetPath
(targetPath: string, cwd: string)
src/tools/helpers/common.ts:40
↓ 2 callers
Function
parse
(rawUsage)
src/agent/llm/upstream-openai.ts:128
↓ 2 callers
Function
parseCodexAuthJson
( data: Record<string, unknown>, sourceFingerprint: string, )
src/agent/llm/providers/codex/local-auth.ts:92
↓ 2 callers
Function
parseConsumedActionKeysJson
(value: string)
src/storage/repos/a2ui-surface-publications.repo.ts:301
↓ 2 callers
Function
parseJson
(input: string)
src/meditation/message-context.ts:107
↓ 2 callers
Function
parseJson
(input: string)
src/meditation/episode-study.ts:396
↓ 2 callers
Function
parseLarkInteractiveContent
(parsed: Record<string, unknown>)
src/channels/lark/inbound.ts:2485
↓ 2 callers
Function
parseLarkMessageContent
(messageType: string, content: string)
src/channels/lark/inbound.ts:2312
↓ 2 callers
Function
parseMeditationBacktestArgs
(argv: string[])
src/script/meditation-backtest.ts:139
↓ 2 callers
Function
parseMessageUsage
(message: Message)
src/runtime/status.ts:507
↓ 2 callers
Function
parsePositiveInteger
(flag: string, rawValue: string)
src/script/meditation-episode-study.ts:381
↓ 2 callers
Function
parseRunCardPageIndex
(runCardObjectId: string, internalObjectId: string)
src/channels/lark/outbound.ts:2806
↓ 2 callers
Function
parseRunSegmentIndex
(runId: string, internalObjectId: string)
src/channels/lark/outbound.ts:2821
↓ 2 callers
Function
parseSimpleBashCommand
(command: string)
src/security/bash-prefix.ts:93
↓ 2 callers
Function
performBackOnlineRecovery
( input: PerformBackOnlineRecoveryInput, )
src/runtime/back-online.ts:170
↓ 2 callers
Function
persistCredential
(credential: { accessToken: string; refreshToken: string; expiresAt: number; accountId?: string; sou
src/agent/llm/providers/codex/resolver.ts:171
↓ 2 callers
Function
prepareBackOnlineRecovery
( input: PerformBackOnlineRecoveryInput, )
src/runtime/back-online.ts:92
↓ 2 callers
Function
prepareMeditationBacktestSandbox
(input: { sandbox: MeditationBacktestSandboxPaths; sourceWorkspaceDir?: string; sourceDatabasePath?: str
src/meditation/backtest.ts:145
↓ 2 callers
Function
prepareMeditationBucketInput
( input: PrepareMeditationBucketInputInput, )
src/meditation/bucket-prep.ts:115
↓ 2 callers
Function
printHelp
()
skills/a2ui-author/scripts/validate-a2ui.js:119
↓ 2 callers
Function
printUsageAndExit
(exitCode: number)
src/script/meditation-episode-study.ts:389
↓ 2 callers
Function
processResponsesStream
( openaiStream: AsyncIterable<ResponseStreamEvent>, output: AssistantMessage, stream: AssistantMessageEv
src/agent/llm/pi-ai-openai-responses-shared.ts:560
↓ 2 callers
Method
projectRuntimeEvent
(event: AgentRuntimeEvent)
src/orchestration/agent-manager.ts:154
↓ 2 callers
Function
projectSubagentCreationEvent
(input: { db: StorageDb; request: SubagentCreationRequest; event: SubagentCreationOutboundEvent; })
src/orchestration/outbound-events.ts:254
↓ 2 callers
Method
publishOutboundAttachment
(input: { sourceSessionId: string; conversationId: string; branchId: string; runId?: string |
src/orchestration/agent-manager.ts:161
↓ 2 callers
Function
readApprovalAttemptIndex
(event: ApprovalRequestedEvent | ApprovalResolvedEvent)
src/channels/lark/approval-state.ts:287
↓ 2 callers
Function
readApprovalFlowId
(event: ApprovalRequestedEvent | ApprovalResolvedEvent)
src/channels/lark/approval-state.ts:283
↓ 2 callers
Function
readButtonActionContext
(surface: SurfaceState, componentId: string)
src/channels/lark/a2ui.ts:721
↓ 2 callers
Function
readCodexSourceFingerprint
()
src/agent/llm/providers/codex/local-auth.ts:24
↓ 2 callers
Function
readErrorField
(value: unknown, path: string[])
src/agent/llm/pi-bridge.ts:1064
↓ 2 callers
Function
readErrorStringField
(value: unknown, path: string[])
src/agent/llm/pi-bridge.ts:1059
↓ 2 callers
Function
readLarkErrorResponseData
(error: unknown)
src/channels/lark/outbound.ts:2512
↓ 2 callers
Function
readLocalCodexCredential
()
src/agent/llm/providers/codex/local-auth.ts:16
↓ 2 callers
Function
readMcpIsError
(result: McpCallToolResult)
src/mcp/tool-source.ts:282
↓ 2 callers
Function
readNumberValue
(value: unknown)
src/channels/lark/outbound.ts:2523
↓ 2 callers
Function
readOptionalExplicitChildren
(value)
skills/a2ui-author/runtime/v0_8/render.js:417
↓ 2 callers
Function
readPath
(value: unknown, path: string[])
src/channels/lark/a2ui.ts:986
↓ 2 callers
Function
readRecord
(value, field)
skills/a2ui-author/runtime/v0_8/callback.js:128
↓ 2 callers
Function
readRedirectDestinationNodes
(node: Node)
src/security/bash-prefix.ts:438
↓ 2 callers
Function
readStoredCodexCredential
()
src/agent/llm/providers/codex/store.ts:14
↓ 2 callers
Function
readStringValue
(value: unknown)
src/runtime/back-online.ts:668
↓ 2 callers
Method
reconnectServer
(name: string, reason = "reconnect")
src/mcp/manager.ts:128
↓ 2 callers
Method
recordCatalogRefreshSucceeded
(input: { serverName: string; catalogVersion: string; fetchedAtMs: number; expiresAtMs: number
src/mcp/manager.ts:169
↓ 2 callers
Method
recordServerOperationSucceeded
(serverName: string)
src/mcp/manager.ts:198
↓ 2 callers
Method
refreshServerInBackground
(serverName: string)
src/mcp/catalog.ts:203
↓ 2 callers
Function
registerColorStyle
(context, color)
skills/a2ui-author/runtime/v0_8/render.js:483
↓ 2 callers
Function
rejectMcpFields
( config: McpServerConfigInput, fields: string[], path: string, transport: McpTransport, )
src/config/schema.ts:1387
↓ 2 callers
Method
reload
(nextConfig: McpConfig, reason = "config_reload")
src/mcp/manager.ts:77
↓ 2 callers
Method
rememberPendingReaction
(input: { installationId: string; messageId: string; reactionId: string; emojiType: string;
src/channels/lark/steer-reaction-state.ts:15
↓ 2 callers
Method
remove
(id: string)
src/storage/repos/cron-jobs.repo.ts:200
↓ 2 callers
Function
renderApprovedFindings
(findings: MeditationApprovedFinding[])
src/meditation/prompts.ts:733
↓ 2 callers
Function
renderBashResultBlock
(input: BashFailureContext)
src/tools/helpers/permission-block.ts:108
↓ 2 callers
Function
renderBashResultSections
(input: { command: string; cwd: string; stdout: string; stderr: string; exitCode: number | null; s
src/tools/bash.ts:952
↓ 2 callers
Function
renderButton
(context, componentId, props, options = {})
skills/a2ui-author/runtime/v0_8/render.js:367
↓ 2 callers
Function
renderCronRecentRuns
(context?: CronKickoffContext)
src/tasks/task-session.ts:164
↓ 2 callers
Function
renderCronTaskDefinition
(context?: CronKickoffContext)
src/tasks/task-session.ts:240
↓ 2 callers
Function
renderEpisodeTimeline
( episode: { sessionId: string; startSeq: number; endSeq: number; triggerStartSeq: number;
src/meditation/prompts.ts:601
↓ 2 callers
Function
renderLarkRetryFooterNotice
(notice: LarkRetryFooterNotice)
src/channels/lark/retry-footer.ts:19
↓ 2 callers
Function
renderLineBlock
( tagName: string, entries: readonly string[], indent = 2, contentIndent = indent + 2, )
src/tasks/task-session.ts:291
↓ 2 callers
Function
renderPermissionRetryDivider
()
src/tools/helpers/permission-block.ts:148
↓ 2 callers
Function
renderRunBlock
( tagName: "last_run" | "last_successful_run", run: CronKickoffRunReference, )
src/tasks/task-session.ts:249
↓ 2 callers
Function
renderSource
(source: ToolSource)
src/tools/core/composite-registry.ts:79
↓ 2 callers
Function
renderToolSequenceSlice
(input: { tools: LarkToolSequenceTool[]; finalized: boolean; originalToolCount?: number; latestToolCal
src/channels/lark/render/tool-calls.ts:18
↓ 2 callers
Function
renderXmlBody
(lines: string[])
src/orchestration/delegated-approval.ts:514
↓ 2 callers
Function
renderXmlEnvelope
(tagName: string, bodyLines: string[])
src/tools/helpers/permission-block.ts:222
↓ 2 callers
Function
renderXmlEnvelope
(tagName: string, bodyLines: string[])
src/orchestration/delegated-approval.ts:510
↓ 2 callers
Function
renderXmlEnvelope
(tagName: string, bodyLines: string[])
src/tasks/task-session.ts:268
↓ 2 callers
Function
replaceActiveTurnRuntimeImages
(input: { activeTurnImageMessageIds: Set<string>; runtimeImagesByMessageId: Map<string, AgentUserRuntimeIm
src/agent/loop.ts:2087
↓ 2 callers
Method
replaceGeneration
(nextConfig: McpConfig, reason: string)
src/mcp/manager.ts:242
↓ 2 callers
Function
reportRuntimeLogSinkError
(error: unknown)
src/shared/logger.ts:331
↓ 2 callers
Function
requestApprovalRound
(input: { storage: import("@/src/storage/db/client.js").StorageDb; security: SecurityService; approvalWa
src/agent/tool-approval.ts:263
↓ 2 callers
Method
requireByOwnerAgentId
(ownerAgentId: string)
src/storage/repos/agent-runtime-modes.repo.ts:191
↓ 2 callers
Function
requireJob
(repo: CronJobsRepo, jobId: string | undefined)
src/tools/cron.ts:307
↓ 2 callers
Function
requireManageableJob
( repo: CronJobsRepo, jobId: string | undefined, manageableOwnerIds: string[], )
src/tools/cron.ts:288
↓ 2 callers
Function
requireOwnedJob
( repo: CronJobsRepo, jobId: string | undefined, ownerAgentId: string, )
src/tools/cron.ts:272
↓ 2 callers
Function
requireProviderApiKey
(providerId: string, providerConfig: ProviderConfig)
src/tools/web/providers/tavily.ts:105
↓ 2 callers
Function
reserveResponseItemId
(preferredId: string, usedIds: Set<string>)
src/agent/llm/pi-ai-openai-responses-shared.ts:208
↓ 2 callers
Method
resetUserTimeouts
(sessionId: string)
src/runtime/approval-flow.ts:70
↓ 2 callers
Method
resolveApproveSubagentCreationRequest
( input: ApproveSubagentCreationRequestInput, )
src/orchestration/agent-manager.ts:407
↓ 2 callers
Function
resolveAtSchedule
( scheduleValue: string, now: Date, )
src/cron/schedule.ts:159
↓ 2 callers
Function
resolveCandidateCwd
(input: { requestedCwd?: string; context: ToolExecutionContext })
src/security/sandbox.ts:434
↓ 2 callers
Function
resolveCodexAuthPath
()
src/agent/llm/providers/codex/local-auth.ts:20
↓ 2 callers
Function
resolveCodexHomePath
()
src/agent/llm/providers/codex/local-auth.ts:34
↓ 2 callers
Method
resolveCreatedSubagentSurface
(request: SubagentCreationRequest)
src/orchestration/agent-manager.ts:967
↓ 2 callers
Method
resolveDenySubagentCreationRequest
( input: DenySubagentCreationRequestInput, )
src/orchestration/agent-manager.ts:449
↓ 2 callers
Function
resolveInitialNextRunAtOrThrowRecoverable
( input: CronScheduleDefinition, now: Date, )
src/tools/cron.ts:442
↓ 2 callers
Function
resolveSessionLiveStateFromSession
(input: { db: StorageDb; session: Session; })
src/runtime/live-state.ts:54
↓ 2 callers
Function
resolveStoredChannelThreadRoute
(input: { db: StorageDb; installationId: string; normalized: NormalizedLarkTextMessage; channelThread:
src/channels/lark/inbound.ts:1943
← previous
next →
1,101–1,200 of 2,718, ranked by callers