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
↓ 6 callers
Method
getSnapshot
()
src/mcp/catalog.ts:86
↓ 6 callers
Method
getSurface
(surfaceId)
skills/a2ui-author/runtime/v0_8/surface.js:14
↓ 6 callers
Function
isRecord
(value: unknown)
src/tools/grep.ts:576
↓ 6 callers
Function
isRecord
(value: unknown)
tests/channels/lark/a2ui.test.ts:795
↓ 6 callers
Method
listActiveRunObservability
(now: Date = new Date())
src/runtime/control.ts:432
↓ 6 callers
Function
listLarkDeliveryTargets
( storage: StorageDb, input: { conversationId: string; branchId: string; taskRunId?: string |
src/channels/lark/delivery-targets.ts:17
↓ 6 callers
Function
makeEnvelope
( event: OrchestratedRuntimeEventEnvelope["event"], )
tests/channels/lark/run-card-pagination.test.ts:10
↓ 6 callers
Function
makeServerConfig
( overrides: Partial<Omit<McpStdioServerConfig, "transport">> = {}, )
tests/mcp/manager.test.ts:316
↓ 6 callers
Function
makeTaskRuntimeEnvelope
( event: OrchestratedRuntimeEventEnvelope["event"], )
tests/channels/lark/outbound.test.ts:151
↓ 6 callers
Method
onHeartbeatTick
(tickAt: Date = this.now())
src/cron/service.ts:367
↓ 6 callers
Function
parsePermissionRequestJson
(input: string)
src/security/scope.ts:234
↓ 6 callers
Method
publishOutboundEvent
(event: OrchestratedOutboundEventEnvelope)
src/orchestration/agent-manager.ts:931
↓ 6 callers
Function
readErrorNumberField
(value: unknown, path: string[])
src/agent/llm/pi-bridge.ts:1054
↓ 6 callers
Function
readPublicationIdFromCardCreateInput
(input: unknown)
tests/channels/lark/a2ui.test.ts:714
↓ 6 callers
Function
readString
(value: unknown)
src/runtime/event-bus.ts:125
↓ 6 callers
Function
reduceLarkApprovalState
( previous: LarkApprovalState | null, envelope: OrchestratedRuntimeEventEnvelope, input?: { sourceRu
src/channels/lark/approval-state.ts:106
↓ 6 callers
Function
renderChildren
(context, childIds)
skills/a2ui-author/runtime/v0_8/render.js:404
↓ 6 callers
Method
requireManager
(action: string)
src/runtime/orchestration-bridge.ts:98
↓ 6 callers
Function
resolveAgentOwnershipState
(input: { db: StorageDb; agentId: string; })
src/runtime/live-state.ts:81
↓ 6 callers
Function
resolveEnvRef
(env: NodeJS.ProcessEnv, ref: string)
src/config/refs.ts:78
↓ 6 callers
Method
resolveForRun
(input: { workdir?: string | null })
src/agent/skills.ts:60
↓ 6 callers
Function
resolveMeditationWindow
(input: ResolveMeditationWindowInput)
src/meditation/window.ts:25
↓ 6 callers
Function
resolveOrCreateMainAgentApprovalSession
(input: { db: StorageDb; ownerAgentId: string; sourceSessionId: string; approvalId: number; createdA
src/orchestration/approval-session.ts:33
↓ 6 callers
Function
resolveSecretRef
(secrets: SecretValueTree, ref: string)
src/config/refs.ts:41
↓ 6 callers
Function
runLarkApiStep
(context: string, operation: () => Promise<T>)
src/channels/lark/subagent-provisioner.ts:376
↓ 6 callers
Function
sanitizeSurrogates
(text: string)
src/agent/llm/pi-ai-openai-responses-shared.ts:177
↓ 6 callers
Function
scheduleCardkitSequenceReconcile
(input: { bindingsRepo: LarkObjectBindingsRepo; channelInstallationId: string; internalObjectKind:
src/channels/lark/outbound.ts:240
↓ 6 callers
Function
seedConversationFixture
(handle: TestDatabaseHandle)
tests/storage/sessions.repo.test.ts:10
↓ 6 callers
Function
seedFixture
(handle: TestDatabaseHandle)
tests/meditation/read-model.test.ts:11
↓ 6 callers
Function
seedFixture
(handle: TestDatabaseHandle)
tests/meditation/runner.test.ts:74
↓ 6 callers
Function
seedFixture
(handle: TestDatabaseHandle)
tests/storage/cron-jobs.repo.test.ts:10
↓ 6 callers
Method
setStatusState
(status: MutableMcpServerStatus, state: McpServerLifecycleState)
src/mcp/manager.ts:499
↓ 6 callers
Function
summarizeTaskRef
(args: Record<string, unknown> | null)
src/channels/lark/render/tool-calls.ts:472
↓ 6 callers
Function
toNullableIso
(value: Date | null | undefined)
src/storage/repos/cron-jobs.repo.ts:382
↓ 6 callers
Method
updateStatus
(input: UpdateSubagentCreationRequestStatusInput)
src/storage/repos/subagent-creation-requests.repo.ts:89
↓ 6 callers
Function
validateBoolean
(value: unknown, path: string)
src/config/schema.ts:1855
↓ 6 callers
Function
validateOptionalNonEmptyString
(value: unknown, path: string)
src/config/schema.ts:1839
↓ 6 callers
Function
withStorageFixture
( run: (deps: { cancel: SessionRunAbortRegistry; control: RuntimeControlService; harnessEvents:
tests/runtime/control.test.ts:9
↓ 5 callers
Function
asRecord
(value: unknown)
src/runtime/event-bus.ts:119
↓ 5 callers
Function
assistantMessage
(input: { provider: string; model: string; content: Extract<Context["messages"][number], { role: "assist
tests/agent/llm/deepseek-replay.test.ts:239
↓ 5 callers
Function
buildBindingMetadata
( base: Record<string, unknown>, existingRaw: string | null | undefined, )
src/channels/lark/cardkit-mutations.ts:57
↓ 5 callers
Function
buildLarkThreadSurfaceKey
(chatId: string, threadId: string)
src/channels/lark/inbound.ts:238
↓ 5 callers
Function
buildMeditationBuckets
(input: BuildMeditationClustersInput)
src/meditation/clustering.ts:71
↓ 5 callers
Function
buildMemorySection
(input: MemoryPromptSectionContext = {})
src/agent/system-prompt-sections.ts:606
↓ 5 callers
Function
buildOpenAICompletionsParams
( model: Model<"openai-completions">, context: Context, options?: SimpleStreamOptions, )
src/agent/llm/upstream-openai.ts:647
↓ 5 callers
Function
buildPrivateWorkspaceMemoryPath
(privateWorkspaceDir: string)
src/memory/files.ts:112
↓ 5 callers
Function
buildProjectContextSection
(input: ProjectContextPromptSectionContext = {})
src/agent/system-prompt-sections.ts:559
↓ 5 callers
Function
buildRenderedRunCardPage
( state: LarkRunState, atoms: RunCardAtom[], options: { pageIndex: number; pageCount: number;
src/channels/lark/render/run-card.ts:332
↓ 5 callers
Function
buildSafetySection
()
src/agent/system-prompt-sections.ts:531
↓ 5 callers
Function
buildSkillsSection
(input: SkillsPromptSectionContext = {})
src/agent/system-prompt-sections.ts:641
↓ 5 callers
Function
buildTaskAgentOperatingModelSection
()
src/agent/system-prompt-sections.ts:185
↓ 5 callers
Function
buildToolUsageSection
()
src/agent/system-prompt-sections.ts:241
↓ 5 callers
Method
check
()
src/runtime/event-loop-watchdog.ts:89
↓ 5 callers
Function
completeTaskExecution
(input: { db: StorageDb; taskRunId: string; resultSummary?: string | null; finishedAt?: Date; })
src/orchestration/task-run-lifecycle.ts:27
↓ 5 callers
Function
computeStableFingerprint
(value: unknown)
src/mcp/fingerprint.ts:3
↓ 5 callers
Function
createEditTool
()
src/tools/edit.ts:39
↓ 5 callers
Function
createLarkQuoteMessageFetcher
(input: { installationId: string; clients: { getOrCreate(installationId: string): LarkSdkClient; };
src/channels/lark/inbound.ts:2765
↓ 5 callers
Function
createLarkSubagentConversationSurfaceProvisioner
( input: CreateLarkSubagentConversationSurfaceProvisionerInput, )
src/channels/lark/subagent-provisioner.ts:31
↓ 5 callers
Function
createModelConfig
()
tests/agent/yolo-autopilot.test.ts:36
↓ 5 callers
Function
createModelConfig
()
tests/agent/runtime.test.ts:27
↓ 5 callers
Function
createRuntimeOrchestrationBridge
( input: { manager?: RuntimeOrchestrationTarget } = {}, )
src/runtime/orchestration-bridge.ts:109
↓ 5 callers
Function
createSendAttachmentTool
()
src/tools/send-attachment.ts:56
↓ 5 callers
Function
createTempDir
(prefix: string)
tests/agent/project-context.test.ts:159
↓ 5 callers
Function
createTempDir
()
tests/agent/skills.test.ts:206
↓ 5 callers
Function
createTestLogger
(config: LoggingConfig, options: LoggerOptions)
src/shared/logger.ts:157
↓ 5 callers
Function
createTestServer
()
tests/mcp/manager.test.ts:257
↓ 5 callers
Function
createTurnResult
(args: Record<string, unknown>)
tests/meditation/agent-runner.test.ts:40
↓ 5 callers
Method
enqueueSteerInput
(input: { sessionId: string; content: string; userPayload?: AgentUserPayload; runtimeImages?:
src/agent/loop.ts:381
↓ 5 callers
Function
escapeXml
(value: string)
src/tasks/task-session.ts:314
↓ 5 callers
Function
extractToolText
(payloadJson: string)
tests/integration/llm/delegated-approval.test.ts:136
↓ 5 callers
Method
failTaskExecution
(input: { taskRunId: string; errorText?: string | null; resultSummary?: string | null; resultI
src/tasks/runner.ts:39
↓ 5 callers
Function
finalizeActiveToolSequenceIfNeeded
( blocks: Array<LarkAssistantTextBlock | LarkToolSequenceBlock>, blockId: string | null, )
src/channels/lark/run-state.ts:644
↓ 5 callers
Function
finalizeLatestRequest
( latestRequest: RunLiveLatestRequestState | null, status: Extract<RunLiveRequestStatus, "finished" | "fai
src/runtime/control.ts:551
↓ 5 callers
Function
findAssistantMessage
(messages: unknown[])
tests/agent/llm/deepseek-replay.test.ts:279
↓ 5 callers
Function
flushMicrotasks
()
tests/meditation/scheduler.test.ts:11
↓ 5 callers
Function
formatConversationStatusText
(snapshot: ConversationStatusSnapshot)
src/runtime/status.ts:202
↓ 5 callers
Method
getConversationStatus
(input: ConversationStatusInput)
src/runtime/status.ts:115
↓ 5 callers
Method
getScenarioModel
(scenario: ModelScenario)
src/agent/llm/provider-registry.ts:90
↓ 5 callers
Function
isModelScenario
(value: string)
src/agent/llm/models.ts:59
↓ 5 callers
Function
isRecord
(value: unknown)
src/channels/lark/outbound.ts:2527
↓ 5 callers
Function
isToolApprovalRequired
(error: unknown)
src/tools/core/errors.ts:203
↓ 5 callers
Function
loadSkillCatalog
(options: LoadSkillCatalogOptions = {})
src/agent/skills.ts:98
↓ 5 callers
Function
log
(targetLevel: LogLevel, message: string, context?: LoggerContext)
src/shared/logger.ts:127
↓ 5 callers
Function
lookup
(type: string)
src/runtime/back-online.ts:695
↓ 5 callers
Function
makeAssistantResult
(params: { content: AgentAssistantContentBlock[]; stopReason?: "stop" | "length" | "toolUse" | "error" | "
tests/orchestration/delegated-approval-orchestration.test.ts:67
↓ 5 callers
Function
makeRgMatchEvent
(filePath: string, lineNumber: number, text: string)
tests/tools/grep.test.ts:62
↓ 5 callers
Function
markLarkRunAwaitingApproval
( state: LarkRunState, input: { approvalTarget: "user" | "main_agent"; }, )
src/channels/lark/run-state.ts:565
↓ 5 callers
Method
markStarted
(input: MarkMeditationStartedInput = {})
src/storage/repos/meditation-state.repo.ts:54
↓ 5 callers
Function
normalizeNonEmptyString
(value: unknown)
src/tasks/task-completion.ts:67
↓ 5 callers
Function
normalizeUsageInt
(field: string, value: number)
src/storage/repos/messages.repo.ts:229
↓ 5 callers
Function
normalizeUsageNumber
(field: string, value: number)
src/storage/repos/messages.repo.ts:237
↓ 5 callers
Method
patchByInternalObject
(input: PatchLarkObjectBindingInput)
src/storage/repos/lark-object-bindings.repo.ts:260
↓ 5 callers
Function
patchScenarioModelListInToml
(input: PatchScenarioModelListInput)
src/config/model-scenario-patch.ts:9
↓ 5 callers
Function
printUsageAndExit
(exitCode: number, errorMessage?: string)
src/script/meditation-backtest.ts:205
↓ 5 callers
Method
publishResolvedSubagentRequestEvent
(input: { request: SubagentCreationRequest; externalChatId: string | null; shareLink: string | nul
src/orchestration/agent-manager.ts:993
↓ 5 callers
Method
race
(operation: Promise<T>)
src/agent/llm/pi-bridge.ts:434
↓ 5 callers
Function
readExplicitChildren
(value)
skills/a2ui-author/runtime/v0_8/render.js:407
↓ 5 callers
Function
readRequiredString
(value, field)
skills/a2ui-author/runtime/v0_8/render.js:435
↓ 5 callers
Method
reloadFromDisk
(reason = "manual_reload")
src/config/live-manager.ts:64
↓ 5 callers
Function
renderMultilineElement
( tagName: string, value: string, indent = 2, contentIndent = indent + 2, )
src/tasks/task-session.ts:281
← previous
next →
301–400 of 2,718, ranked by callers