MCPcopy Create free account

hub / github.com/danielwpz/pokoclaw / functions

Functions2,718 in github.com/danielwpz/pokoclaw

↓ 14 callersMethodgetContext
(sessionId: string)
src/agent/session.ts:30
↓ 14 callersMethodisActive
(sessionId: string)
src/runtime/cancel.ts:52
↓ 13 callersFunctionbuildLarkRenderedApprovalCard
(state: LarkApprovalState)
src/channels/lark/render.ts:108
↓ 13 callersFunctionbuildLarkRenderedRunCard
(state: LarkRunState)
src/channels/lark/render/run-card.ts:74
↓ 13 callersFunctioncreateGrepTool
()
src/tools/grep.ts:84
↓ 13 callersFunctioncreateMainAgentApprovalSessionId
(input: { sourceSessionId: string; approvalId: number; })
src/orchestration/approval-session.ts:26
↓ 13 callersFunctionjsonToolResult
( json: unknown, details?: TDetails, )
src/tools/core/types.ts:303
↓ 13 callersMethodlistByRunId
(runId: string, limit = 50)
src/storage/repos/harness-events.repo.ts:55
↓ 13 callersFunctionmakeTextEvent
(text: string)
tests/channels/lark/inbound/fixtures.ts:52
↓ 13 callersMethodrecordApprovalRequestForYoloSuggestion
( input: RecordApprovalRequestForYoloSuggestionInput, )
src/runtime/runtime-modes.ts:91
↓ 13 callersFunctionrequireStringField
( value: Record<string, unknown>, key: string, eventType: string, path: string, )
src/agent/llm/providers/codex/stream.ts:511
↓ 13 callersFunctionseedFixture
(handle: TestDatabaseHandle)
tests/cron/service.test.ts:17
↓ 12 callersMethodcreateTaskExecution
(params: CreateTaskExecutionInput)
src/orchestration/agent-manager.ts:198
↓ 12 callersMethodgetConnectedServer
(name: string)
src/mcp/manager.ts:118
↓ 12 callersMethodgetStatusSnapshot
()
src/mcp/manager.ts:108
↓ 12 callersFunctioninvalidCodexEvent
(eventType: string, message: string)
src/agent/llm/providers/codex/stream.ts:524
↓ 12 callersFunctionmakeAssistantResult
(params: { content: AgentAssistantContentBlock[]; stopReason?: "stop" | "length" | "toolUse" | "error" | "
tests/agent/yolo-autopilot.test.ts:111
↓ 12 callersFunctionmakeTaskEnvelope
( event: OrchestratedTaskRunEventEnvelope["event"], )
tests/channels/lark/outbound.test.ts:188
↓ 12 callersMethodrecordStreamDelta
(input: { runId: string; kind: "text" | "reasoning"; deltaText?: string; })
src/agent/loop.ts:471
↓ 12 callersFunctionresolve
()
tests/channels/lark/a2ui.test.ts:1025
↓ 12 callersMethodscanOnce
()
src/cron/service.ts:265
↓ 12 callersFunctionsummarizeParts
(...parts: Array<string | null | undefined>)
src/channels/lark/render/tool-calls.ts:484
↓ 12 callersMethodtoggleYolo
(input: ToggleYoloRuntimeModeInput)
src/runtime/runtime-modes.ts:81
↓ 12 callersMethodupdateStatus
( status: MutableMcpServerStatus, patch: Partial<Omit<MutableMcpServerStatus, "name">>, )
src/mcp/manager.ts:503
↓ 11 callersFunctionblockIndex
()
src/agent/llm/pi-ai-openai-responses-shared.ts:570
↓ 11 callersFunctionbuildAppConfigFromInputs
( rawConfigInput: unknown | undefined, rawSecretsInput: unknown | undefined, env: NodeJS.ProcessEnv = pr
src/config/load.ts:46
↓ 11 callersFunctionbuildSubagentWorkspaceDir
( agentId: string, subagentWorkspacesDir = POKOCLAW_SUBAGENT_WORKSPACES_DIR, )
src/shared/paths.ts:19
↓ 11 callersFunctionbumpVersionAndSchedule
( deliveryId: string, options?: { immediate?: boolean; delayMs?: number }, )
src/channels/lark/outbound.ts:207
↓ 11 callersFunctioncreateAssistantEventStream
(events: AssistantMessageEvent[], result: AssistantMessage)
tests/agent/llm/pi-bridge.test.ts:99
↓ 11 callersFunctioncreateDbPath
(testFileId: string)
tests/storage/migrations.test.ts:322
↓ 11 callersFunctioncreateLarkApprovalStateFromRequest
(input: { event: ApprovalRequestedEvent; taskRunId?: string | null; taskRunType?: string | null; sourc
src/channels/lark/approval-state.ts:63
↓ 11 callersFunctioncreateScheduleTaskTool
()
src/tools/cron.ts:72
↓ 11 callersMethodemitRuntimeEvent
(event: AgentRuntimeEvent)
src/orchestration/agent-manager.ts:780
↓ 11 callersFunctionescapeXmlText
(value: string)
src/tools/helpers/permission-block.ts:298
↓ 11 callersFunctionflushMicrotasks
()
tests/orchestration/agent-manager.test.ts:66
↓ 11 callersFunctiongetEnv
( env: NodeJS.ProcessEnv, name: string, options: { maxLength?: number | null } = {}, )
src/runtime/shell-info.ts:219
↓ 11 callersMethodgetNextSeq
(sessionId: string)
src/storage/repos/messages.repo.ts:125
↓ 11 callersFunctiongrantFilesystemScope
( handle: TestDatabaseHandle, ownerAgentId: string, scope: { kind: "fs.read" | "fs.write"; path: string
tests/security/sandbox.test.ts:65
↓ 11 callersMethodmarkLlmRequestStarted
(input: { runId: string; assistantMessageId: string; at?: Date })
src/runtime/control.ts:229
↓ 11 callersFunctionreadComponentRef
(surface, componentId)
skills/a2ui-author/runtime/v0_8/surface.js:80
↓ 11 callersFunctionreadNumericField
(value: unknown, path: string[])
src/agent/llm/errors.ts:383
↓ 11 callersMethodrecordUserTimeout
(sessionId: string)
src/runtime/approval-flow.ts:64
↓ 11 callersMethodrunCreatedTaskExecution
(input: { created: CreatedTaskExecution; createdAt?: Date; })
src/tasks/runner.ts:88
↓ 11 callersFunctionstreamWithNormalizedUpstreamUsage
( model: Model<Api>, context: Context, options?: SimpleStreamOptions, )
src/agent/llm/upstream-openai.ts:223
↓ 11 callersFunctionvalidateNonEmptyString
(value: unknown, path: string)
src/config/schema.ts:1831
↓ 11 callersFunctionwriteJsonArtifact
(filePath: string, payload: unknown)
src/meditation/runner.ts:764
↓ 11 callersFunctionwriteMeditationTextFileAtomic
( filePath: string, content: string, )
src/meditation/files.ts:54
↓ 10 callersFunctionappendUniqueMessage
(messages: string[], candidate: string | undefined)
src/agent/llm/errors.ts:415
↓ 10 callersFunctioncreateCompletedRunResult
(taskRunId: string)
tests/cron/service.test.ts:45
↓ 10 callersFunctioncreateLifecycle
(db: TestDatabaseHandle["storage"]["db"])
tests/orchestration/task-runner.test.ts:117
↓ 10 callersFunctioncreateMockCronAgentManager
( runCreatedTaskExecutionImpl: () => Promise<TaskExecutionRunResult>, createdExecution: CreatedTaskExecuti
tests/cron/service.test.ts:185
↓ 10 callersFunctioncreateSubmitTurnResult
(args: Record<string, unknown>)
tests/meditation/runner.test.ts:1057
↓ 10 callersFunctionexecuteSandboxedBash
( input: ExecuteSandboxedBashInput, )
src/security/sandbox.ts:159
↓ 10 callersFunctionflushMicrotasks
()
tests/cron/service.test.ts:211
↓ 10 callersFunctionformatCount
(value: number)
src/runtime/status.ts:642
↓ 10 callersMethodgetRequiredScenarioModel
(scenario: ModelScenario)
src/agent/llm/provider-registry.ts:99
↓ 10 callersMethodlistActiveByOwner
(ownerAgentId: string, activeAt: Date = new Date())
src/storage/repos/permission-grants.repo.ts:53
↓ 10 callersFunctionmakeAssistantResult
(params: { content: AgentAssistantContentBlock[]; stopReason?: "stop" | "length" | "toolUse" | "error" | "
tests/agent/bash-approval.test.ts:90
↓ 10 callersFunctionmakeMessageEvent
(messageType: string, content: unknown)
tests/channels/lark/inbound/fixtures.ts:35
↓ 10 callersFunctionmakeStoredMessage
(overrides: Partial<Message>)
tests/agent/pi-history.test.ts:5
↓ 10 callersFunctionparsePermissionScopeJson
(input: string)
src/security/scope.ts:203
↓ 10 callersFunctionrequireHandle
(handle: TestDatabaseHandle | null)
tests/orchestration/task-runner.test.ts:51
↓ 10 callersFunctionseedFixture
(handle: TestDatabaseHandle)
tests/orchestration/task-runner.test.ts:27
↓ 10 callersFunctiontruncateLogText
(text: string, maxLength: number)
src/channels/lark/inbound.ts:2691
↓ 10 callersMethodupdateObservability
( runId: string, updater: (state: RunLiveObservabilityState) => RunLiveObservabilityState, )
src/runtime/control.ts:447
↓ 9 callersFunctionbucketIdForAgent
(agentId: string | null)
src/meditation/clustering.ts:281
↓ 9 callersFunctioncreateMigrationDir
(files: Record<string, string>)
tests/storage/migrations.test.ts:306
↓ 9 callersFunctionexecuteUnsandboxedBash
( input: ExecuteUnsandboxedBashInput, )
src/security/sandbox.ts:191
↓ 9 callersMethodfindLatestByConversationBranch
( conversationId: string, branchId: string, options: FindLatestSessionByConversationBranchOptions
src/storage/repos/sessions.repo.ts:150
↓ 9 callersMethodgetByIdIncludingDeleted
(id: string)
src/storage/repos/cron-jobs.repo.ts:118
↓ 9 callersMethodgetByOwnerAgentId
(ownerAgentId: string)
src/storage/repos/agent-runtime-modes.repo.ts:38
↓ 9 callersMethodlist
()
src/tools/core/source.ts:12
↓ 9 callersFunctionmakeConfig
( servers: Record<string, McpServerConfig>, overrides: Partial<Omit<McpConfig, "servers">> = {}, )
tests/mcp/manager.test.ts:299
↓ 9 callersFunctionmakeStoredMessage
(overrides: Partial<Message>)
tests/agent/llm/pi-ai-openai-responses-shared.test.ts:10
↓ 9 callersMethodmarkFinished
(input: MarkMeditationFinishedInput)
src/storage/repos/meditation-state.repo.ts:70
↓ 9 callersFunctionnormalizeLarkTextMessage
( data: unknown, )
src/channels/lark/inbound.ts:254
↓ 9 callersFunctionreadNestedString
(value: unknown, path: string[])
src/agent/llm/upstream-openai.ts:987
↓ 9 callersFunctionrenderSingleLineElement
(tagName: string, value: string, indent = 2)
src/tools/helpers/permission-block.ts:226
↓ 9 callersMethodrepo
()
src/cron/service.ts:475
↓ 9 callersFunctionresolveSessionLiveState
(input: { db: StorageDb; sessionId: string; })
src/runtime/live-state.ts:38
↓ 9 callersFunctionresolveString
(value, dataModel)
skills/a2ui-author/runtime/v0_8/json.js:125
↓ 9 callersMethodsubmitCreateRequest
(input: CreateSubagentInput)
src/orchestration/subagents.ts:154
↓ 9 callersMethodsubscribe
(listener: RuntimeEventBusListener<TEvent>)
src/runtime/event-bus.ts:25
↓ 9 callersFunctiontoTomlString
(value: string)
tests/integration/llm/helpers/fixture.ts:350
↓ 9 callersFunctiontruncateLogText
(text: string, maxLength: number = 80)
src/agent/loop.ts:2406
↓ 9 callersMethodupdateDeliveryState
(input: { channelInstallationId: string; internalObjectKind: string; internalObjectId: string;
src/storage/repos/lark-object-bindings.repo.ts:413
↓ 9 callersFunctionvalidateOptionalBoolean
(value: unknown, fallback: boolean, path: string)
src/config/schema.ts:1847
↓ 8 callersFunctionassertString
(value: unknown, context: string)
src/security/scope.ts:104
↓ 8 callersFunctionbuildEffectivePermissionsForRole
( scopes: PermissionScope[], role: AgentRuntimeRole, systemPolicy: SystemPermissionPolicy = DEFAULT_SYST
src/security/permissions.ts:344
↓ 8 callersFunctionbuildPermissionDeniedDetails
( payload: PermissionBlockPayload, )
src/tools/helpers/permission-block.ts:70
↓ 8 callersFunctionbuildPiMessage
(message: Message, options?: BuildPiMessageOptions)
src/agent/llm/messages.ts:93
↓ 8 callersFunctioncollectMappedEvents
(events: Array<Record<string, unknown>>)
tests/agent/llm/providers.codex-stream.test.ts:8
↓ 8 callersMethodcompleteTurn
(input: { model: ResolvedModel; systemPrompt?: string; compactSummary: string | null; messages
src/meditation/llm-executor.ts:29
↓ 8 callersMethodcreate
(input: CreateSessionInput)
src/storage/repos/sessions.repo.ts:66
↓ 8 callersFunctioncreateListDirTool
()
src/tools/list-dir.ts:58
↓ 8 callersFunctioncreatePrivateWorkspaceManager
()
tests/orchestration/subagents.test.ts:25
↓ 8 callersFunctioncreateReviewPermissionRequestTool
()
src/tools/review-permission-request.ts:30
↓ 8 callersFunctioncreateStartedTaskRunResult
(input: { sessionId: string; scenario: "task"; completionStatus?: "completed" | "blocked" | "failed";
tests/orchestration/agent-manager.test.ts:18
↓ 8 callersFunctioncreateStoredUserMessage
(input: { sessionId: string; id: string; seq: number; content: string; createdAt: string; })
tests/integration/llm/helpers/fixture.ts:71
↓ 8 callersFunctioncreateStoredUserMessage
()
tests/agent/llm/pi-bridge.codex-service-tier.test.ts:52
← previousnext →101–200 of 2,718, ranked by callers