MCPcopy Create free account

hub / github.com/danielwpz/pokoclaw / functions

Functions2,718 in github.com/danielwpz/pokoclaw

↓ 3 callersFunctionsupportsUpstreamCostParser
(model: Pick<Model<Api>, "baseUrl">)
src/agent/llm/upstream-openai.ts:173
↓ 3 callersMethodswitchScenarioModel
(input: SwitchScenarioModelInput)
src/config/scenario-model-switch.ts:81
↓ 3 callersFunctiontoAgentSnapshot
(agent: Agent | null)
src/runtime/current-running-status.ts:269
↓ 3 callersFunctiontoPiModel
(model: ResolvedModel)
src/agent/llm/pi-bridge.ts:753
↓ 3 callersFunctiontoPosixPath
(value: string)
src/tools/helpers/fs-helpers.ts:140
↓ 3 callersFunctiontoSubtreePath
(targetPath: string)
src/orchestration/subagents.ts:675
↓ 3 callersFunctiontruncateLogText
(text: string, maxLength: number)
src/channels/lark/cardkit-mutations.ts:296
↓ 3 callersFunctiontruncateText
(value: string, maxLength: number)
src/tools/core/registry.ts:291
↓ 3 callersFunctiontruncateText
(text: string, maxLength: number)
src/channels/lark/render/tool-calls.ts:607
↓ 3 callersFunctiontruncate_text
(text: str | None, limit: int = 400)
skills/claude-session-observe/scripts/read_session_records.py:17
↓ 3 callersMethodupdateWorkstream
(input: { id: string; workstreamId: string | null; initiatorThreadId?: string | null; threadRo
src/storage/repos/task-runs.repo.ts:175
↓ 3 callersMethodupsert
(input: UpsertChannelSurfaceInput)
src/storage/repos/channel-surfaces.repo.ts:26
↓ 3 callersFunctionvalidateChildReferences
(surface, value, ownerId, issues)
skills/a2ui-author/runtime/v0_8/validate.js:384
↓ 3 callersFunctionvalidateConsolidationEvaluations
(input: { bucketPackets: MeditationConsolidationEvaluationPromptInput["bucketPackets"]; evaluation: Consol
src/meditation/consolidation-context.ts:214
↓ 3 callersFunctionwaitFor
( predicate: () => boolean, input: { label: string; timeoutMs?: number; intervalMs?: number;
tests/orchestration/delegated-approval-orchestration.test.ts:278
↓ 3 callersFunctionwaitForApprovalRequestCount
( events: Array<{ type: string; approvalId?: string }>, count: number, )
tests/agent/bash-approval.test.ts:123
↓ 3 callersFunctionwaitForPromiseResult
( promise: Promise<T>, timeoutMs = 200, )
tests/agent/llm/pi-bridge.test.ts:166
↓ 3 callersFunctionwindowsPowerShellShellInfo
()
tests/security/sandbox.windows-timeout.test.ts:215
↓ 3 callersFunctionwithHandle
(fn: (handle: TestDatabaseHandle) => Promise<void>)
tests/orchestration/approval-session.test.ts:18
↓ 3 callersFunctionwithHandle
(fn: (handle: TestDatabaseHandle) => Promise<void>)
tests/orchestration/main-agent-session.test.ts:11
↓ 3 callersFunctionwithOptionalSignal
( input: Omit<CompactionModelRunnerInput, "signal">, signal: AbortSignal | undefined, )
src/agent/compaction.ts:949
↓ 3 callersFunctionwriteStoredCodexCredential
(credential: StoredCodexCredential)
src/agent/llm/providers/codex/store.ts:43
↓ 2 callersMethodactiveClientCount
()
src/channels/lark/client.ts:58
↓ 2 callersFunctionaddLarkMessageReaction
(input: { client: LarkSdkClient; messageId: string; emojiType: string; })
src/channels/lark/reactions.ts:6
↓ 2 callersFunctionaggregateCounts
(values: string[])
tests/manual/meditation-tool-failure-analysis.ts:464
↓ 2 callersFunctionappendLarkTextNode
(state: LarkInteractiveTextCollection, rawText: string)
src/channels/lark/inbound.ts:2607
↓ 2 callersMethodappendQueuedSteerMessages
(input: { queuedSteer: SteerInput[]; sessionId: string; conversationId: string; branchId: stri
src/agent/loop.ts:1934
↓ 2 callersFunctionappendReasoningContentWithSeparator
( existing: string, next: string, separator: string, )
src/channels/lark/run-state.ts:663
↓ 2 callersMethodapproveRequestAndGrantScopes
(input: { approvalId: number; grantedBy: "user" | "main_agent"; reasonText?: string | null; de
src/security/service.ts:264
↓ 2 callersFunctionassertExistingDirectoryCwd
(normalizedPath: string)
src/security/sandbox.ts:448
↓ 2 callersFunctionassertNever
(value: never)
src/config/schema.ts:1981
↓ 2 callersFunctionassertObject
(value: unknown, context: string)
src/security/scope.ts:96
↓ 2 callersFunctionassertReferencedType
(surface, componentId, expectedType, ownerId, field, issues)
skills/a2ui-author/runtime/v0_8/validate.js:399
↓ 2 callersMethodattachCardAnchor
( input: PatchLarkObjectBindingInput & { larkCardId: string; }, )
src/storage/repos/lark-object-bindings.repo.ts:196
↓ 2 callersFunctionattachPublicationIdToCard
(value: unknown, publicationId: string)
src/channels/lark/a2ui.ts:607
↓ 2 callersFunctionbasename
(value: string)
src/tools/grep.ts:529
↓ 2 callersMethodblockTaskExecution
(input: { taskRunId: string; resultSummary?: string | null; resultImages?: TaskCompletionImageAtta
src/orchestration/agent-manager.ts:716
↓ 2 callersMethodblockTaskExecution
(input: { taskRunId: string; resultSummary?: string | null; resultImages?: TaskCompletionImageAtta
src/tasks/runner.ts:27
↓ 2 callersFunctionbuildApprovalAgentIdentitySection
()
src/agent/system-prompt-sections.ts:114
↓ 2 callersFunctionbuildApprovalAgentOperatingModelSection
()
src/agent/system-prompt-sections.ts:232
↓ 2 callersFunctionbuildApprovalResumePayloadJson
(input: { toolCall: AgentToolCall; turn: number; runId: string; })
src/agent/tool-approval.ts:249
↓ 2 callersFunctionbuildApprovalReviewSection
()
src/agent/system-prompt-sections.ts:487
↓ 2 callersFunctionbuildBackOnlineUserNotice
(input: { offlineMs: number; missedJobs: MissedCronJobSummary[]; generatedAt: Date; })
src/runtime/back-online.ts:515
↓ 2 callersFunctionbuildBackgroundTaskSharedGuidance
()
src/agent/system-prompt-sections.ts:56
↓ 2 callersFunctionbuildBashResultTrailingText
(input: { truncated: boolean; hintText?: string | null | undefined; })
src/tools/bash.ts:977
↓ 2 callersFunctionbuildBootstrapPrompt
(input: { path: string; content: string })
src/agent/bootstrap.ts:78
↓ 2 callersFunctionbuildConsumedActionKey
(sourceComponentId: string, actionName: string)
src/channels/lark/a2ui.ts:794
↓ 2 callersFunctionbuildCurrentRunningRuntimeStatus
(input: { storage: StorageDb; now: string; liveRuns: RunLiveObservabilitySnapshot[]; })
src/runtime/current-running-status.ts:102
↓ 2 callersMethodbuildEffectivePermissionsForScopes
( ownerAgentId: string, scopes: PermissionScope[], )
src/security/service.ts:92
↓ 2 callersFunctionbuildFilesystemApprovalReason
(scopes: PermissionScope[])
src/tools/helpers/common.ts:208
↓ 2 callersFunctionbuildInteractiveUiSection
()
src/agent/system-prompt-sections.ts:657
↓ 2 callersMethodbuildKey
(installationId: string, messageId: string)
src/channels/lark/steer-reaction-state.ts:43
↓ 2 callersFunctionbuildLarkMergeForwardMessageNotice
(messageId: string)
src/channels/lark/inbound.ts:2346
↓ 2 callersFunctionbuildLarkRenderedModelSwitchCard
( state: LarkModelSwitchCardState, )
src/channels/lark/render/model-switch-card.ts:18
↓ 2 callersFunctionbuildMainAgentScheduledTasksSection
()
src/agent/system-prompt-sections.ts:176
↓ 2 callersFunctionbuildMainAgentSubagentSection
()
src/agent/system-prompt-sections.ts:141
↓ 2 callersFunctionbuildMainAgentSystemPrompt
(input: BuildAgentSystemPromptInput)
src/agent/system-prompt.ts:91
↓ 2 callersFunctionbuildMeditationBacktestRunRequest
( input: MeditationBacktestWindowInput, )
src/meditation/backtest.ts:48
↓ 2 callersFunctionbuildMeditationBacktestSecurityConfig
( input: BuildMeditationBacktestSecurityConfigInput, )
src/meditation/backtest.ts:110
↓ 2 callersFunctionbuildMeditationBucketSystemPrompt
()
src/meditation/prompts.ts:104
↓ 2 callersFunctionbuildMeditationBucketUserPrompt
(input: MeditationBucketPromptInput)
src/meditation/prompts.ts:242
↓ 2 callersFunctionbuildMeditationConsolidationEvaluationSystemPrompt
()
src/meditation/prompts.ts:264
↓ 2 callersFunctionbuildMeditationConsolidationEvaluationUserPrompt
( input: MeditationConsolidationEvaluationPromptInput, )
src/meditation/prompts.ts:332
↓ 2 callersFunctionbuildMeditationConsolidationRewriteSystemPrompt
()
src/meditation/prompts.ts:353
↓ 2 callersFunctionbuildMeditationConsolidationRewriteUserPrompt
( input: MeditationConsolidationRewritePromptInput, )
src/meditation/prompts.ts:470
↓ 2 callersFunctionbuildMeditationDailyNotePath
( localDate: string, workspaceDir = POKOCLAW_WORKSPACE_DIR, )
src/meditation/files.ts:19
↓ 2 callersFunctionbuildMeditationDailyRunBlock
(input: BuildMeditationDailyRunBlockInput)
src/meditation/daily-note.ts:52
↓ 2 callersFunctionbuildMeditationRunArtifactDir
( localDate: string, runId: string, logsDir = POKOCLAW_LOGS_DIR, )
src/meditation/files.ts:30
↓ 2 callersFunctionbuildOversizedRunningState
()
tests/channels/lark/run-card-pagination.test.ts:53
↓ 2 callersFunctionbuildPermissionApprovalReason
(scopes: PermissionScope[])
src/security/sandbox.ts:625
↓ 2 callersFunctionbuildPiContextMessages
( compactSummary: string | null, messages: Message[], supportsVision: boolean, resolveRuntimeImages?:
src/agent/llm/pi-bridge.ts:583
↓ 2 callersFunctionbuildPiTools
( registry: ToolRegistryLike, sessionPurpose?: string, agentKind?: string | null, )
src/agent/llm/pi-bridge.ts:619
↓ 2 callersFunctionbuildProjectContextPrompt
(entries: AgentProjectContextEntry[])
src/agent/project-context.ts:253
↓ 2 callersFunctionbuildQuizMessages
()
tests/tools/a2ui-publish.test.ts:117
↓ 2 callersFunctionbuildRunCardPage
( state: LarkRunState, atoms: RunCardAtom[], options: { pageIndex: number; pageCount: number;
src/channels/lark/render/run-card.ts:367
↓ 2 callersFunctionbuildRunningWorkItem
(input: { repos: RuntimeStatusRepos; run: RunLiveObservabilitySnapshot; })
src/runtime/current-running-status.ts:189
↓ 2 callersFunctionbuildScheduledTaskSharedGuidance
()
src/agent/system-prompt-sections.ts:40
↓ 2 callersFunctionbuildStreamableHttpHeaders
( config: McpStreamableHttpServerConfig, )
src/mcp/transport.ts:33
↓ 2 callersFunctionbuildSubagentChatName
(title: string)
src/channels/lark/subagent-provisioner.ts:206
↓ 2 callersFunctionbuildSubagentCreationActionToast
(result: ResolveSubagentCreationRequestResult)
src/channels/lark/inbound.ts:1059
↓ 2 callersFunctionbuildSubagentProfileSection
(input: SubagentProfilePromptContext = {})
src/agent/system-prompt-sections.ts:499
↓ 2 callersFunctionbuildSubagentScheduledTasksSection
()
src/agent/system-prompt-sections.ts:224
↓ 2 callersFunctionbuildTaskAgentIdentitySection
()
src/agent/system-prompt-sections.ts:98
↓ 2 callersFunctionbuildTaskExecutionSupervisorReminderEnvelope
(input: { runType: string; nextPass: number; maxPasses: number; })
src/tasks/task-session.ts:93
↓ 2 callersFunctionbuildToolResultMessage
(input: { seq: number; toolCallId: string; toolName: string; result: ToolResult; isError: boolean;
src/meditation/llm-executor.ts:241
↓ 2 callersFunctionbuildUsage
(tokens: TokenBreakdown, cost: Usage["cost"])
src/agent/llm/upstream-openai.ts:863
↓ 2 callersFunctionbuildUserMessage
(input: { seq: number; content: string; now: Date; sessionId?: string; })
src/meditation/llm-executor.ts:173
↓ 2 callersFunctioncalculateUsageCost
( model: Pick<ResolvedModel, "pricing">, usage: TokenUsage, )
src/agent/llm/models.ts:84
↓ 2 callersMethodcallMcpTool
( context: ToolExecutionContext, connected: NonNullable<ReturnType<McpClientManager["getConnectedServe
src/mcp/tool-source.ts:140
↓ 2 callersFunctioncapLarkCardReasoningTail
(value: string, maxChars: number)
src/channels/lark/render/card-truncation.ts:52
↓ 2 callersMethodcheckDatabaseAccess
(input: { ownerAgentId: string; kind: DbPermissionKind; activeAt?: Date; ephemeralScopes?: Per
src/security/service.ts:123
↓ 2 callersMethodclaimRun
(input: { id: string; now: Date; nextRunAt: Date | null | undefined; allowDisabled: boolean;
src/storage/repos/cron-jobs.repo.ts:327
↓ 2 callersFunctionclassifyOnlySegment
(command: string)
tests/security/bash-approval-helpers.test.ts:109
↓ 2 callersFunctionclassifyRecoverableCardReferenceSendFailure
( error: unknown, )
src/channels/lark/outbound.ts:2488
↓ 2 callersMethodcleanupProvisionedSubagentSurface
(input: CleanupProvisionedSubagentSurfaceInput)
src/orchestration/subagents.ts:119
↓ 2 callersFunctioncloneJsonContainer
(value)
skills/a2ui-author/runtime/v0_8/json.js:138
↓ 2 callersFunctioncloneMcpConfig
(config: McpConfig)
src/config/schema.ts:1682
↓ 2 callersFunctioncloneMcpServer
(server: McpServerConfig)
src/config/schema.ts:1700
↓ 2 callersFunctioncloneProviderConfig
(provider: ProviderConfig)
src/config/schema.ts:1656
↓ 2 callersFunctioncollectAgentToolCalls
(content: AgentAssistantContentBlock[])
src/agent/loop.ts:2308
← previousnext →801–900 of 2,718, ranked by callers