MCPcopy Create free account

hub / github.com/ComposioHQ/trustclaw / functions

Functions408 in github.com/ComposioHQ/trustclaw

↓ 95 callersFunctioncn
(...inputs: ClassValue[])
src/lib/utils.ts:4
↓ 11 callersFunctionsendTelegramMessage
( chatId: string, text: string, )
src/server/clients/telegram.ts:14
↓ 10 callersFunctiongoToStep
(nextStep: Step)
src/app/(authenticated)/dashboard/_components/onboarding/onboarding.tsx:158
↓ 9 callersFunctiongetRedis
()
src/server/clients/redis.ts:29
↓ 9 callersFunctionshowSuccessToast
(message: string)
src/components/core/toast-notifications.tsx:4
↓ 7 callersFunctionrunGit
( args: string[], opts: { cwd?: string } = {}, )
cli/src/local-repo.ts:42
↓ 7 callersFunctionsanitizeString
(str: string)
src/server/api/routers/trustclaw/agent/context/build-context.ts:25
↓ 6 callersFunctionfetchProjectEnvValue
( args: ProjectEnvLookupArgs, key: string, )
cli/src/vercel-env.ts:71
↓ 6 callersFunctionstripToolResultEchoes
(text: string)
src/server/api/routers/trustclaw/agent/strip-tool-echoes.ts:3
↓ 5 callersFunctioncreateComposioClient
()
src/server/clients/composio.ts:5
↓ 5 callersFunctionserializeMessages
(messages: ReconstructedMessage[])
src/server/api/routers/trustclaw/agent/compaction/prompts.ts:101
↓ 4 callersFunctionestimateMessageChars
(msg: ReconstructedMessage)
src/server/api/routers/trustclaw/agent/context/context-pruning.ts:21
↓ 4 callersFunctionhandleComplete
()
src/app/(authenticated)/dashboard/_components/onboarding/onboarding.tsx:188
↓ 4 callersFunctionredactCredentials
(value: string)
cli/src/local-repo.ts:17
↓ 4 callersFunctionsummarize
( anthropicModel: string, conversationText: string, previousSummary: string | null, )
src/server/api/routers/trustclaw/agent/compaction/run-compaction.ts:67
↓ 4 callersFunctiontoPlainRecordSafe
(value: unknown)
src/server/api/routers/trustclaw/agent/context/build-context.ts:82
↓ 4 callersFunctionuseFormField
()
src/components/ui/form.tsx:45
↓ 3 callersFunctioncomputeNextRunAt
(expression: string, timezone: string)
src/server/api/routers/trustclaw/agent/tools/cron-utils.ts:3
↓ 3 callersFunctioncreateRedis
()
src/server/clients/redis.ts:16
↓ 3 callersFunctiondeepSanitize
(value: T)
src/server/api/routers/trustclaw/agent/context/build-context.ts:29
↓ 3 callersFunctionformatJson
(obj: unknown)
src/app/(authenticated)/dashboard/_components/terminal/terminal-log-entry.tsx:24
↓ 3 callersFunctionheaders
()
next.config.js:6
↓ 3 callersFunctionisLast
(section: string)
src/app/(authenticated)/dashboard/_components/tool-results/workbench/workbench-tool-result.tsx:34
↓ 3 callersFunctionisTelegramConfigured
()
src/server/clients/telegram.ts:3
↓ 3 callersFunctionoutputToString
(output: ToolResultOutput)
src/server/api/routers/trustclaw/agent/compaction/prompts.ts:7
↓ 3 callersFunctionparseManageConnectionsResult
( result: unknown, args: Record<string, unknown>, )
src/app/(authenticated)/dashboard/_components/tool-results/connections/schema.ts:38
↓ 3 callersFunctionprepareAgentRun
( params: PrepareAgentRunParams, )
src/server/api/routers/trustclaw/agent/setup.ts:73
↓ 3 callersFunctionrateLimit
( userId: string, kind: RateLimitKind, )
src/server/clients/rate-limit.ts:48
↓ 3 callersFunctionreadVercelTokenFromDisk
()
cli/src/auth.ts:27
↓ 3 callersFunctionreleaseJobLocks
( jobs: CronJobRow[], invocationId: string, now: Date, error?: string, )
src/app/api/cron/trustclaw/execute/route.ts:35
↓ 3 callersFunctionsetVercelEnv
( args: TelegramSetupArgs, key: string, value: string, )
cli/src/telegram-setup.ts:173
↓ 3 callersFunctionshowErrorToast
(message: string)
src/components/core/toast-notifications.tsx:8
↓ 2 callersFunctionaddIntegration
* Install a Vercel Marketplace integration onto the project via the Vercel CLI. * * Returns a structured result instead of throwing: many "failures"
cli/src/stores.ts:71
↓ 2 callersFunctioncleanupOrphanEnvVars
( lookup: ProjectEnvLookupArgs, predicate: (key: string) => boolean, )
cli/src/stores.ts:165
↓ 2 callersFunctioncloneForkLocally
(args: { repoSlug: string; token: string; })
cli/src/local-repo.ts:177
↓ 2 callersFunctioncomposioIsLoggedIn
()
cli/src/composio-auth.ts:29
↓ 2 callersFunctioncomputeNextRunSafe
(expression: string, timezone: string)
src/server/api/routers/trustclaw/agent/tools/cron-utils.ts:12
↓ 2 callersFunctioncreateCustomTools
(instanceId: string, userTimezone = "UTC")
src/server/api/routers/trustclaw/agent/tools/index.ts:6
↓ 2 callersFunctioncreateQueryClient
()
src/clients/trpc/query-client.ts:8
↓ 2 callersFunctioncreateTRPCContext
(opts: { headers: Headers })
src/server/api/trpc.ts:7
↓ 2 callersFunctionensure
(value: T | symbol)
cli/src/inputs.ts:3
↓ 2 callersFunctionensureVercelLinkDir
* Write a .vercel/project.json so the `vercel integration add` CLI knows which * project to install integrations into, without requiring an interacti
cli/src/stores.ts:33
↓ 2 callersFunctionestimateMessageTokens
(msg: ReconstructedMessage)
src/server/api/routers/trustclaw/agent/context/token-estimation.ts:18
↓ 2 callersFunctionforkRepo
(token: string, username: string)
cli/src/github.ts:5
↓ 2 callersFunctiongetAuthenticatedInstance
(request: Request)
src/app/api/chat/route.ts:24
↓ 2 callersFunctiongetStreamContext
()
src/app/api/chat/stream-store.ts:16
↓ 2 callersFunctiongetTelegramApiBase
()
src/server/clients/telegram.ts:7
↓ 2 callersFunctionhandleModelNext
()
src/app/(authenticated)/dashboard/_components/onboarding/onboarding.tsx:172
↓ 2 callersFunctionisLast
(key: string)
src/app/(authenticated)/dashboard/_components/tool-results/connections/connection-tool-result.tsx:68
↓ 2 callersFunctionisRedisConfigured
()
src/server/clients/redis.ts:12
↓ 2 callersFunctionisValidComposioKey
(value: string | null | undefined)
cli/src/composio-auth.ts:39
↓ 2 callersFunctionisValidStep
(s: string)
src/app/(authenticated)/dashboard/_components/onboarding/onboarding.tsx:87
↓ 2 callersFunctionlistProjectEnvKeys
( args: ProjectEnvLookupArgs, )
cli/src/vercel-env.ts:49
↓ 2 callersFunctionloadConfig
(rootDir: string)
cli/src/config.ts:15
↓ 2 callersFunctionloadContextMessages
( instanceId: string, lastCompactionAt: Date | null, )
src/server/api/routers/trustclaw/agent/context/build-context.ts:101
↓ 2 callersFunctionpersistState
( nextStep: Step, currentWizardState: OnboardingWizardState, )
src/app/(authenticated)/dashboard/_components/onboarding/onboarding.tsx:143
↓ 2 callersFunctionpollForEnvVar
* Wait for the integration's env var to land on the project after the user * finishes any browser-side setup. Polls every 5 seconds for up to 5 minut
cli/src/stores.ts:110
↓ 2 callersFunctionpromptVercelLogin
(reason: string)
cli/src/auth.ts:52
↓ 2 callersFunctionreconstructMessages
( messages: Array<{ role: string; content: unknown; }>, )
src/server/api/routers/trustclaw/agent/context/build-context.ts:156
↓ 2 callersFunctionregisterTelegramWebhook
(args: { botToken: string; webhookSecret: string; deploymentUrl: string; })
cli/src/telegram-setup.ts:211
↓ 2 callersFunctionresolveComposioApiKey
()
cli/src/composio-auth.ts:83
↓ 2 callersFunctionrunInteractive
(cmd: string, args: string[])
cli/src/auth.ts:10
↓ 2 callersFunctionsaveConfig
( rootDir: string, patch: DeployConfig, )
cli/src/config.ts:29
↓ 2 callersFunctionsendChatAction
( chatId: string, action: "typing", )
src/server/clients/telegram.ts:52
↓ 2 callersFunctionshowTrpcErrorToast
(error: unknown)
src/components/core/toast-notifications.tsx:24
↓ 2 callersFunctiontoJsonValue
(value: unknown)
src/server/api/routers/trustclaw/agent/context/build-context.ts:68
↓ 2 callersFunctiontoPrismaJson
(value: unknown)
src/server/api/routers/trustclaw/agent/context/build-context.ts:95
↓ 2 callersFunctiontriggerProductionDeploy
(args: TriggerArgs)
cli/src/trigger-deploy.ts:10
↓ 2 callersFunctiontryReadGhAuth
()
cli/src/auth.ts:88
↓ 2 callersFunctionunavailableResult
(kind: RateLimitKind, reason: string)
src/server/clients/rate-limit.ts:32
↓ 1 callersFunctionapplyPlanConfig
(rootDir: string, plan: string)
cli/src/cron-config.ts:97
↓ 1 callersFunctionaskProjectName
(defaultName?: string)
cli/src/inputs.ts:11
↓ 1 callersFunctionassembleIdentityPrompt
(data: OnboardingData)
src/server/api/routers/trustclaw/createInstance.ts:48
↓ 1 callersFunctionassembleSoulPrompt
(data: OnboardingData)
src/server/api/routers/trustclaw/createInstance.ts:72
↓ 1 callersFunctionbuildContext
( dbMessages: Awaited<ReturnType<typeof loadContextMessages>>, lastCompactionSummary: string | null, use
src/server/api/routers/trustclaw/agent/context/build-context.ts:126
↓ 1 callersFunctionbuildSystemPrompt
(params: SystemPromptParams)
src/server/api/routers/trustclaw/agent/system-prompt.ts:168
↓ 1 callersFunctionbuildToolFailuresSuffix
( messages: ReconstructedMessage[], )
src/server/api/routers/trustclaw/agent/compaction/prompts.ts:163
↓ 1 callersFunctioncalculateContextTokens
(usage: { inputTokens: number; outputTokens: number; totalTokens: number; })
src/server/api/routers/trustclaw/agent/context/token-estimation.ts:47
↓ 1 callersFunctionclaimTelegramUpdate
( updateId: number, )
src/server/clients/redis.ts:89
↓ 1 callersFunctionclearStreamingMessage
( instanceId: string, )
src/server/clients/redis.ts:72
↓ 1 callersFunctioncompareVersions
(a: string, b: string)
cli/src/version-check.ts:44
↓ 1 callersFunctioncomposioIsInstalled
()
cli/src/composio-auth.ts:20
↓ 1 callersFunctionconfirmLocalPublish
( info: LocalRepoInfo, defaultRepoName?: string, )
cli/src/local-repo.ts:200
↓ 1 callersFunctioncountToolErrors
(messages: ReconstructedMessage[])
src/server/api/routers/trustclaw/agent/compaction/prompts.ts:211
↓ 1 callersFunctioncreateContext
(req: NextRequest)
src/app/api/trpc/[trpc]/route.ts:12
↓ 1 callersFunctioncreateMemorySaveTool
( instanceId: string, )
src/server/api/routers/trustclaw/agent/tools/memory-save.ts:6
↓ 1 callersFunctioncreateMemorySearchTool
(instanceId: string)
src/server/api/routers/trustclaw/agent/tools/memory-search.ts:21
↓ 1 callersFunctioncreatePrismaClient
()
src/server/clients/db.ts:13
↓ 1 callersFunctioncreateScheduleTool
( instanceId: string, defaultTimezone: string, )
src/server/api/routers/trustclaw/agent/tools/schedule.ts:7
↓ 1 callersFunctioncreateVercelProject
(args: CreateProjectArgs)
cli/src/vercel.ts:79
↓ 1 callersFunctiondeepCloneMessages
( messages: ReconstructedMessage[], )
src/server/api/routers/trustclaw/agent/context/context-pruning.ts:47
↓ 1 callersFunctiondeleteEnvVars
( args: ProjectEnvLookupArgs, keysToDelete: Set<string>, )
cli/src/vercel-env.ts:18
↓ 1 callersFunctiondescribeToolCall
(tc: { toolName: string; input: Record<string, unknown>; result?: { output: unknown }; })
src/app/api/telegram-webhook/route.ts:18
↓ 1 callersFunctiondetectAuth
()
cli/src/auth.ts:140
↓ 1 callersFunctiondetectLocalRepo
()
cli/src/local-repo.ts:63
↓ 1 callersFunctiondisableDeploymentProtection
(args: { token: string; teamId: string | null; projectId: string; })
cli/src/vercel.ts:170
↓ 1 callersFunctionensureVerifyFullSsl
(url: string)
src/server/clients/db.ts:5
↓ 1 callersFunctionexecuteJobs
( jobs: CronJobRow[], invocationId: string, nowOverride?: string, )
src/app/api/cron/trustclaw/execute/route.ts:62
↓ 1 callersFunctionexplainVercelError
( status: number, body: string, context: string, )
cli/src/vercel.ts:10
↓ 1 callersFunctionfetchLatestVersion
* Fetch the latest published version of @composio/trustclaw from npm with a * short timeout so we never block the deploy on a slow network.
cli/src/version-check.ts:26
next →1–100 of 408, ranked by callers