Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ComposioHQ/trustclaw
/ functions
Functions
408 in github.com/ComposioHQ/trustclaw
⨍
Functions
408
◇
Types & classes
84
↓ 1 callers
Function
findCutPoint
( messages: ReconstructedMessage[], keepRecentTokens: number, )
src/server/api/routers/trustclaw/agent/compaction/run-compaction.ts:36
↓ 1 callers
Function
findProtectedBoundary
(messages: ReconstructedMessage[])
src/server/api/routers/trustclaw/agent/context/context-pruning.ts:53
↓ 1 callers
Function
findRepoRoot
()
cli/src/migrate.ts:9
↓ 1 callers
Function
formatCronExpression
(expression: string)
src/app/(authenticated)/dashboard/settings/_components/cron-jobs-settings.tsx:17
↓ 1 callers
Function
formatDate
(date: Date | null)
src/app/(authenticated)/dashboard/settings/_components/cron-jobs-settings.tsx:45
↓ 1 callers
Function
formatTimestamp
(date: Date)
src/app/(authenticated)/dashboard/_components/terminal/terminal-log-entry.tsx:20
↓ 1 callers
Function
formatToolArgs
(input: unknown)
src/server/api/routers/trustclaw/agent/compaction/prompts.ts:148
↓ 1 callers
Function
gatherRemainingInputs
( args: RemainingInputsArgs, )
cli/src/inputs.ts:33
↓ 1 callers
Function
getAnimationClass
(state: AnimationState)
src/app/(authenticated)/dashboard/_components/onboarding/onboarding-claw-logo.tsx:15
↓ 1 callers
Function
getAnimationState
(step: Step)
src/app/(authenticated)/dashboard/_components/onboarding/onboarding.tsx:50
↓ 1 callers
Function
getBaseUrl
()
src/clients/trpc/shared.ts:6
↓ 1 callers
Function
getConnectionData
( log: TerminalLogEntryData, )
src/app/(authenticated)/dashboard/_components/tool-results/connections/schema.ts:73
↓ 1 callers
Function
getContextWindow
(_modelId: string)
src/server/api/routers/trustclaw/agent/context/context-window.ts:3
↓ 1 callers
Function
getCurrentWebhookUrl
(botToken: string)
cli/src/telegram-setup.ts:200
↓ 1 callers
Function
getExistingProject
( token: string, teamId: string | null, projectName: string, )
cli/src/vercel.ts:65
↓ 1 callers
Function
getFullTextContent
()
src/app/(authenticated)/dashboard/_components/chat/assistant-message/assistant-message.tsx:64
↓ 1 callers
Function
getGitHubToken
()
cli/src/auth.ts:116
↓ 1 callers
Function
getInlineConnectionActions
( toolCall: DynamicToolUIPart | ToolUIPart, )
src/app/(authenticated)/dashboard/_components/chat/assistant-message/tool-call-segment.tsx:16
↓ 1 callers
Function
getMultiExecInfo
( log: TerminalLogEntryData, )
src/app/(authenticated)/dashboard/_components/tool-results/multi-exec/schema.ts:122
↓ 1 callers
Function
getPitfallsForTool
(pitfalls: string[], toolSlug: string)
src/app/(authenticated)/dashboard/_components/tool-results/search-tools/search-tool-result.tsx:47
↓ 1 callers
Function
getProductionAlias
(args: { token: string; teamId: string | null; projectId: string; projectName: string; })
cli/src/vercel-env.ts:123
↓ 1 callers
Function
getPupilRadius
(state: AnimationState)
src/app/(authenticated)/dashboard/_components/onboarding/onboarding-claw-logo.tsx:31
↓ 1 callers
Function
getQueryClient
()
src/clients/trpc/react.tsx:15
↓ 1 callers
Function
getRedisPublisher
()
src/server/clients/redis.ts:43
↓ 1 callers
Function
getRedisSubscriber
()
src/server/clients/redis.ts:36
↓ 1 callers
Function
getRepoId
(githubToken: string, slug: string)
cli/src/vercel.ts:56
↓ 1 callers
Function
getSearchToolData
( log: TerminalLogEntryData, )
src/app/(authenticated)/dashboard/_components/tool-results/search-tools/schema.ts:73
↓ 1 callers
Function
getStreamingMessage
( instanceId: string, )
src/server/clients/redis.ts:64
↓ 1 callers
Function
getTelegramActive
( instanceId: string, )
src/server/clients/redis.ts:130
↓ 1 callers
Function
getToolDescription
(toolCall: AnyToolUIPart)
src/app/(authenticated)/dashboard/_components/terminal/tool-invocation.tsx:19
↓ 1 callers
Function
getToolDisplayName
(name: string)
src/app/(authenticated)/dashboard/_components/terminal/tool-invocation.tsx:52
↓ 1 callers
Function
getVercelToken
()
cli/src/auth.ts:67
↓ 1 callers
Function
getWorkbenchData
( log: TerminalLogEntryData, )
src/app/(authenticated)/dashboard/_components/tool-results/workbench/schema.ts:68
↓ 1 callers
Function
ghIsInstalled
()
cli/src/auth.ts:79
↓ 1 callers
Function
handleConnect
(toolkit: string, redirectUrl: string)
src/app/(authenticated)/dashboard/_components/onboarding/integrations-step.tsx:91
↓ 1 callers
Function
handleLogout
()
src/app/(authenticated)/dashboard/_components/dashboard-navbar.tsx:36
↓ 1 callers
Function
handleModelChange
(val: string)
src/app/(authenticated)/dashboard/_components/onboarding/model-step.tsx:23
↓ 1 callers
Function
handleRegularMessage
( chatId: string, text: string, updateId: number, )
src/app/api/telegram-webhook/route.ts:149
↓ 1 callers
Function
handleScroll
()
src/components/core/virtualized-list.tsx:49
↓ 1 callers
Function
handleStartCommand
(chatId: string, text: string)
src/app/api/telegram-webhook/route.ts:110
↓ 1 callers
Function
isError
(toolCall: AnyToolUIPart)
src/app/(authenticated)/dashboard/_components/terminal/tool-invocation.tsx:62
↓ 1 callers
Function
isTrpcError
( error: unknown, )
src/clients/trpc/errors.ts:14
↓ 1 callers
Function
loadJobsFromDb
(jobIds: string[])
src/app/api/cron/trustclaw/execute/route.ts:14
↓ 1 callers
Function
lookupExistingProject
(args: { token: string; teamId: string | null; projectName: string; })
cli/src/vercel-env.ts:100
↓ 1 callers
Function
maybeSetupTelegram
(args: TelegramSetupArgs)
cli/src/telegram-setup.ts:25
↓ 1 callers
Function
parseEnvFile
* Parse `KEY=VALUE` lines out of a dotenv-style file.
cli/src/composio-auth.ts:50
↓ 1 callers
Function
parseManageConnectionsArgs
( args: Record<string, unknown>, )
src/app/(authenticated)/dashboard/_components/tool-results/connections/schema.ts:65
↓ 1 callers
Function
parseMultiExecArgs
( args: Record<string, unknown>, )
src/app/(authenticated)/dashboard/_components/tool-results/multi-exec/schema.ts:109
↓ 1 callers
Function
parseMultiExecResult
( result: unknown, args: Record<string, unknown>, )
src/app/(authenticated)/dashboard/_components/tool-results/multi-exec/schema.ts:45
↓ 1 callers
Function
parseNowOverride
(request: Request)
src/app/api/cron/trustclaw/route.ts:22
↓ 1 callers
Function
parseSearchToolsResult
( result: unknown, )
src/app/(authenticated)/dashboard/_components/tool-results/search-tools/schema.ts:55
↓ 1 callers
Function
parseToolResult
( result: unknown, )
src/app/(authenticated)/dashboard/_components/tool-results/envelope.ts:11
↓ 1 callers
Function
parseTrpcError
(error: unknown)
src/clients/trpc/errors.ts:20
↓ 1 callers
Function
parseWorkbenchResult
( result: unknown, args: Record<string, unknown>, isBash: boolean, )
src/app/(authenticated)/dashboard/_components/tool-results/workbench/schema.ts:37
↓ 1 callers
Function
promptGhLogin
(reason: string)
cli/src/auth.ts:101
↓ 1 callers
Function
provisionPostgres
(args: ProvisionArgs)
cli/src/stores.ts:175
↓ 1 callers
Function
provisionRedis
(args: ProvisionArgs)
cli/src/stores.ts:240
↓ 1 callers
Function
provisionStores
( args: ProvisionArgs & { enableRedis: boolean }, )
cli/src/stores.ts:301
↓ 1 callers
Function
pruneContext
( messages: ReconstructedMessage[], contextWindow: number, )
src/server/api/routers/trustclaw/agent/context/context-pruning.ts:66
↓ 1 callers
Function
publishLocalCopy
(args: PublishArgs)
cli/src/local-repo.ts:98
↓ 1 callers
Function
readOwnVersion
* Read this CLI's own version from its package.json.
cli/src/version-check.ts:9
↓ 1 callers
Function
rewriteCronSchedule
(rootDir: string, schedule: string)
cli/src/cron-config.ts:35
↓ 1 callers
Function
rewriteMaxDuration
(rootDir: string, value: number)
cli/src/cron-config.ts:52
↓ 1 callers
Function
rewriteTrpcMaxDurationMs
( rootDir: string, valueMs: number, )
cli/src/cron-config.ts:72
↓ 1 callers
Function
runCompaction
( params: CompactionParams, )
src/server/api/routers/trustclaw/agent/compaction/run-compaction.ts:156
↓ 1 callers
Function
runInteractive
(cmd: string, args: string[])
cli/src/composio-auth.ts:12
↓ 1 callers
Function
runMemoryFlush
( params: MemoryFlushParams, )
src/server/api/routers/trustclaw/agent/compaction/memory-flush.ts:31
↓ 1 callers
Function
runMigration
(args: RunMigrationArgs)
cli/src/migrate.ts:43
↓ 1 callers
Function
runPostResponseTasks
(params: { instanceId: string; instance: { anthropicModel: string; compactionCount: number; me
src/server/api/routers/trustclaw/agent/context/build-context.ts:231
↓ 1 callers
Function
sanitizeChildProcessError
(err: unknown)
cli/src/local-repo.ts:21
↓ 1 callers
Function
sanitizeToolResults
* Wraps every tool's execute function to sanitize its return value, * replacing lone Unicode surrogates with U+FFFD. Composio tool results * (e.g. s
src/server/api/routers/trustclaw/agent/setup.ts:38
↓ 1 callers
Function
searchMemoriesForContext
( instanceId: string, query: string, maxResults = 5, )
src/server/api/routers/trustclaw/agent/tools/memory-search.ts:65
↓ 1 callers
Function
segmentParts
(parts: UIMessage["parts"])
src/app/(authenticated)/dashboard/_components/chat/assistant-message/assistant-message.tsx:21
↓ 1 callers
Function
setEnvVars
(args: SetEnvArgs)
cli/src/env-vars.ts:23
↓ 1 callers
Function
setStreamingMessage
( instanceId: string, streamId: string, )
src/server/clients/redis.ts:55
↓ 1 callers
Function
setTelegramActive
( instanceId: string, updateId: number, )
src/server/clients/redis.ts:112
↓ 1 callers
Function
shouldCompact
( contextTokens: number, settings: CompactionSettings, )
src/server/api/routers/trustclaw/agent/context/token-estimation.ts:75
↓ 1 callers
Function
shouldFlushMemory
( contextTokens: number, settings: CompactionSettings, compactionCount: number, memoryFlushCount: numb
src/server/api/routers/trustclaw/agent/context/token-estimation.ts:84
↓ 1 callers
Function
stagedSummarize
( anthropicModel: string, messages: ReconstructedMessage[], previousSummary: string | null, )
src/server/api/routers/trustclaw/agent/compaction/run-compaction.ts:96
↓ 1 callers
Function
statusColor
(status: string)
src/app/(authenticated)/dashboard/_components/tool-results/connections/connection-tool-result.tsx:16
↓ 1 callers
Function
statusDot
(status: string)
src/app/(authenticated)/dashboard/_components/tool-results/connections/connection-tool-result.tsx:32
↓ 1 callers
Function
stripLargeToolResults
( messages: ReconstructedMessage[], )
src/server/api/routers/trustclaw/agent/compaction/run-compaction.ts:138
↓ 1 callers
Function
toToolResultOutput
(value: unknown)
src/server/api/routers/trustclaw/agent/context/build-context.ts:73
↓ 1 callers
Function
toolCallToLogEntry
( toolCall: AnyToolUIPart, chatStatus: ChatStatus, )
src/app/(authenticated)/dashboard/_components/terminal/types.ts:17
↓ 1 callers
Function
useChatHook
({ initialMessages, streamId }: { initialMessages: UIMessage[]; streamId: string | null; })
src/app/(authenticated)/dashboard/_components/use-chat-hook.ts:9
↓ 1 callers
Function
useCheckboxGroupContext
()
src/components/ui/checkbox-group.tsx:25
↓ 1 callers
Function
useToolCallCount
(messages: UIMessage[])
src/app/(authenticated)/dashboard/_components/terminal/terminal-pane.tsx:37
↓ 1 callers
Function
useToolFocusHighlight
()
src/app/(authenticated)/dashboard/_components/terminal/terminal-pane.tsx:12
↓ 1 callers
Function
validateCronExpression
(expression: string)
src/server/api/routers/trustclaw/agent/tools/cron-utils.ts:20
↓ 1 callers
Function
warnIfOutdated
()
cli/src/version-check.ts:60
↓ 1 callers
Function
windowsFor
(kind: RateLimitKind)
src/server/clients/rate-limit.ts:18
Function
AlertDialog
({ trigger, title, description, confirmLabel = "Confirm", cancelLabel = "Cancel", confirmVariant =
src/components/core/confirm-dialog.tsx:38
Function
AlertDialog
({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Root>)
src/components/ui/alert-dialog.tsx:9
Function
AlertDialogAction
({ className, variant = "default", size = "default", ...props }: React.ComponentProps<typeof AlertDial
src/components/ui/alert-dialog.tsx:147
Function
AlertDialogCancel
({ className, variant = "outline", size = "default", ...props }: React.ComponentProps<typeof AlertDial
src/components/ui/alert-dialog.tsx:165
Function
AlertDialogContent
({ className, size = "default", ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Content> &
src/components/ui/alert-dialog.tsx:47
Function
AlertDialogDescription
({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Description>)
src/components/ui/alert-dialog.tsx:118
Function
AlertDialogFooter
({ className, ...props }: React.ComponentProps<"div">)
src/components/ui/alert-dialog.tsx:86
Function
AlertDialogHeader
({ className, ...props }: React.ComponentProps<"div">)
src/components/ui/alert-dialog.tsx:70
Function
AlertDialogMedia
({ className, ...props }: React.ComponentProps<"div">)
src/components/ui/alert-dialog.tsx:131
← previous
next →
101–200 of 408, ranked by callers