An open source template for building cloud agents.
290 matches across 5 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | packages/agent/usage.ts | 143 | export function collectTaskToolUsageEvents( |
| LOW | packages/agent/open-agent.ts | 54 | function normalizeAgentModelSelection( |
| LOW | packages/agent/models.ts | 12 | function supportsAdaptiveAnthropicThinking(modelId: string): boolean { |
| LOW | packages/agent/models.ts | 104 | export function shouldApplyOpenAIReasoningDefaults(modelId: string): boolean { |
| LOW | packages/agent/models.ts | 108 | function shouldApplyOpenAITextVerbosityDefaults(modelId: string): boolean { |
| LOW | packages/agent/models.ts | 112 | export function getProviderOptionsForModel( |
| LOW | packages/agent/subagents/registry.ts | 30 | export function buildSubagentSummaryLines(): string { |
| LOW | …nt/context-management/aggressive-compaction-helpers.ts | 44 | export function findPendingCompactionCandidates({ |
| LOW | …nt/context-management/aggressive-compaction-helpers.ts | 107 | export function getPendingCompactionUnits( |
| LOW | …nt/context-management/aggressive-compaction-helpers.ts | 116 | export function estimateCompactionSavings({ |
| LOW | …nt/context-management/aggressive-compaction-helpers.ts | 310 | function isCompactedToolResultPart( |
| LOW | packages/sandbox/git.ts | 71 | async function resetToFetchedRemoteBranch( |
| LOW | packages/sandbox/git.ts | 347 | export async function syncToRemotePreservingChanges( |
| LOW | packages/sandbox/vercel/snapshot-refresh.ts | 45 | function defaultConnectSnapshotSandbox( |
| LOW | packages/sandbox/vercel/sandbox.ts | 44 | function buildGitHubCredentialBrokeringPolicy( |
| LOW | packages/sandbox/vercel/sandbox.ts | 85 | async function syncGitHubCredentialBrokering( |
| LOW | packages/sandbox/vercel/sandbox.ts | 110 | async function clearGitHubCredentialBrokering( |
| LOW | packages/sandbox/vercel/sandbox.ts | 116 | async function clearGitHubCredentialBrokeringBestEffort( |
| LOW | packages/sandbox/vercel/sandbox.ts | 140 | function getRemainingTimeoutFromSession( |
| LOW | apps/web/app/settings/model-variants-section.tsx | 77 | export function ModelVariantsSectionSkeleton() { |
| LOW | apps/web/app/settings/accounts-section.tsx | 99 | function startGitHubInstallFromSettings() { |
| LOW | apps/web/app/settings/accounts-section.tsx | 647 | function ConnectionLoadingSkeleton() { |
| LOW | apps/web/app/settings/preferences-section.tsx | 89 | export function PreferencesSectionSkeleton() { |
| LOW | apps/web/app/settings/preferences-section.tsx | 145 | export function ModelPreferencesSectionSkeleton() { |
| LOW | apps/web/app/settings/preferences-section.tsx | 189 | function usePreferencesSectionState() { |
| LOW | apps/web/app/settings/leaderboard-section.tsx | 63 | export function LeaderboardSectionSkeleton() { |
| LOW | …pp/settings/usage/domain-usage-leaderboard-section.tsx | 32 | export function DomainUsageLeaderboardSection({ |
| LOW | apps/web/app/workflows/sandbox-provisioning.ts | 55 | export async function sandboxProvisioningWorkflow(sessionId: string) { |
| LOW | apps/web/app/workflows/chat.ts | 102 | function shouldRefreshDiffCacheForParts( |
| LOW | apps/web/app/workflows/chat.ts | 352 | function summarizeRequestInputItem(item: unknown): unknown { |
| LOW | apps/web/app/workflows/chat.ts | 413 | function summarizeResponseOutputItem(item: unknown): unknown { |
| LOW | apps/web/app/workflows/sandbox-lifecycle.ts | 39 | async function computeLifecycleWakeDecision( |
| LOW | apps/web/app/workflows/sandbox-lifecycle.ts | 75 | async function clearLifecycleRunIdIfOwned( |
| LOW | apps/web/app/workflows/chat.test.ts | 25 | function createResolvedChatSandboxRuntime( |
| LOW | apps/web/app/workflows/chat-post-finish.ts | 135 | export async function persistAssistantMessageWithToolResults( |
| LOW | apps/web/app/workflows/chat-sandbox-runtime.ts | 88 | export async function resolveChatSandboxRuntime(params: { |
| LOW | …/web/app/shared/[shareId]/redact-shared-env-content.ts | 155 | function sanitizeSubagentFinalMessages(messages: unknown): unknown { |
| LOW | …s/[sessionId]/chats/[chatId]/stream-recovery-policy.ts | 19 | export function getStreamRecoveryDecision(options: { |
| LOW | …s/[sessionId]/chats/[chatId]/stream-recovery-policy.ts | 60 | export function shouldScheduleStallRecovery(options: { |
| LOW | …s/[sessionId]/chats/[chatId]/stream-recovery-policy.ts | 88 | export function isChatStreamingProbeResponse( |
| LOW | …ns/[sessionId]/chats/[chatId]/session-chat-context.tsx | 95 | function resolveContextLimitForModel( |
| LOW | …ns/[sessionId]/chats/[chatId]/session-chat-context.tsx | 1153 | export function useSessionChatRuntimeContext() { |
| LOW | …ns/[sessionId]/chats/[chatId]/session-chat-context.tsx | 1163 | export function useSessionChatWorkspaceContext() { |
| LOW | …ns/[sessionId]/chats/[chatId]/session-chat-context.tsx | 1173 | export function useSessionChatMetadataContext() { |
| LOW | …ons/[sessionId]/chats/[chatId]/only-chat-in-session.ts | 5 | export function getInitialIsOnlyChatInSession( |
| LOW | …/sessions/[sessionId]/chats/[chatId]/sandbox-create.ts | 42 | function parseCreateSandboxErrorResponse( |
| LOW | …/sessions/[sessionId]/chats/[chatId]/sandbox-create.ts | 70 | export function getSandboxCreateErrorDetails( |
| LOW | …/sessions/[sessionId]/chats/[chatId]/sandbox-create.ts | 87 | function getFallbackSandboxCreateErrorMessage(status: number): string { |
| LOW | …/sessions/[sessionId]/chats/[chatId]/diff-tab-view.tsx | 57 | function getFilenameFromContentDisposition(header: string | null): string { |
| LOW | apps/web/app/api/settings/model-variants/route.test.ts | 43 | function createProviderOptionsWithExactSize( |
| LOW | apps/web/app/api/settings/model-variants/route.ts | 26 | function providerOptionsSizeInBytes( |
| LOW | apps/web/app/api/settings/model-variants/route.ts | 33 | function isProviderOptionsTooLarge( |
| LOW | apps/web/app/api/chat/route.ts | 201 | async function reconcileExistingActiveStream( |
| LOW | apps/web/app/api/chat/[chatId]/stream/route.test.ts | 52 | function createWorkflowReadableStream(startIndex?: number) { |
| LOW | apps/web/app/api/chat/[chatId]/stream/route.test.ts | 106 | function createStreamRequestWithStartIndex(startIndex: string) { |
| LOW | apps/web/app/api/chat/_lib/persist-tool-results.ts | 19 | export async function persistAssistantMessagesWithToolResults( |
| LOW | apps/web/app/api/chat/_lib/model-selection.ts | 12 | export function resolveChatModelSelection({ |
| LOW | apps/web/app/api/shared/[shareId]/markdown/route.ts | 40 | function stringifyFrontmatterValue(value: number | string): string { |
| LOW | apps/web/app/api/sessions/_lib/session-context.ts | 106 | export async function requireOwnedSessionWithSandboxGuard( |
| LOW | …/web/app/api/sessions/[sessionId]/code-editor/route.ts | 105 | function isCodeServerProcessCommand(command: string): boolean { |
| 159 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | …kills/agent-browser/templates/authenticated-session.sh | 20 | # ══════════════════════════════════════════════════════════════ |
| MEDIUM | …kills/agent-browser/templates/authenticated-session.sh | 22 | # ══════════════════════════════════════════════════════════════ |
| MEDIUM | …kills/agent-browser/templates/authenticated-session.sh | 39 | # ══════════════════════════════════════════════════════════════ |
| MEDIUM | …kills/agent-browser/templates/authenticated-session.sh | 41 | # ══════════════════════════════════════════════════════════════ |
| MEDIUM | …kills/agent-browser/templates/authenticated-session.sh | 62 | # ══════════════════════════════════════════════════════════════ |
| MEDIUM | …kills/agent-browser/templates/authenticated-session.sh | 64 | # ══════════════════════════════════════════════════════════════ |
| MEDIUM | apps/web/app/settings/profile/page.tsx | 18 | // ── Types ────────────────────────────────────────────────────────────────── |
| MEDIUM | apps/web/app/settings/profile/page.tsx | 67 | // ── Helpers ──────────────────────────────────────────────────────────────── |
| MEDIUM | apps/web/app/settings/profile/page.tsx | 219 | // ── Sub-components ───────────────────────────────────────────────────────── |
| MEDIUM | apps/web/app/settings/profile/page.tsx | 277 | // ── Top repos for sidebar ────────────────────────────────────────────────── |
| MEDIUM | apps/web/app/settings/profile/page.tsx | 321 | // ── Profile sidebar (left column) ────────────────────────────────────────── |
| MEDIUM | apps/web/app/settings/profile/page.tsx | 422 | // ── Main page ────────────────────────────────────────────────────────────── |
| MEDIUM | apps/web/app/workflows/chat-post-finish.test.ts | 4 | // ── Mutable spy state ────────────────────────────────────────────── |
| MEDIUM | apps/web/app/workflows/chat-post-finish.test.ts | 107 | // ── Helpers ──────────────────────────────────────────────────────── |
| MEDIUM | apps/web/app/workflows/chat-post-finish.test.ts | 131 | // ── Tests ────────────────────────────────────────────────────────── |
| MEDIUM | apps/web/app/workflows/chat-post-finish.test.ts | 144 | // ─── persistUserMessage ──────────────────────────────────────────── |
| MEDIUM | apps/web/app/workflows/chat-post-finish.test.ts | 215 | // ─── persistAssistantMessage ─────────────────────────────────────── |
| MEDIUM | apps/web/app/workflows/chat-post-finish.test.ts | 253 | // ─── refreshLifecycleActivity ────────────────────────────────────── |
| MEDIUM | apps/web/app/workflows/chat-post-finish.test.ts | 273 | // ─── persistSandboxState ─────────────────────────────────────────── |
| MEDIUM | apps/web/app/workflows/chat-post-finish.test.ts | 302 | // ─── clearActiveStream ───────────────────────────────────────────── |
| MEDIUM | apps/web/app/workflows/chat-post-finish.test.ts | 347 | // ─── refreshDiffCache ────────────────────────────────────────────── |
| MEDIUM | apps/web/app/workflows/chat-post-finish.test.ts | 366 | // ─── hasAutoCommitChangesStep ─────────────────────────────────────── |
| MEDIUM | apps/web/app/workflows/chat-post-finish.test.ts | 394 | // ─── runAutoCommitStep ───────────────────────────────────────────── |
| MEDIUM | apps/web/app/workflows/chat.test.ts | 4 | // ── Spy state ────────────────────────────────────────────────────── |
| MEDIUM | apps/web/app/workflows/chat.test.ts | 196 | // ── Module mocks ─────────────────────────────────────────────────── |
| MEDIUM | apps/web/app/workflows/chat.test.ts | 356 | // ── Helpers ──────────────────────────────────────────────────────── |
| MEDIUM | apps/web/app/workflows/chat.test.ts | 388 | // ── Tests ────────────────────────────────────────────────────────── |
| MEDIUM | apps/web/app/api/chat/[chatId]/stream/route.test.ts | 3 | // ── Mutable state ────────────────────────────────────────────────── |
| MEDIUM | apps/web/app/api/chat/[chatId]/stream/route.test.ts | 33 | // ── Module mocks ─────────────────────────────────────────────────── |
| MEDIUM | apps/web/app/api/chat/[chatId]/stream/route.test.ts | 97 | // ── Helpers ──────────────────────────────────────────────────────── |
| MEDIUM | apps/web/app/api/chat/[chatId]/stream/route.test.ts | 120 | // ── Tests ────────────────────────────────────────────────────────── |
| MEDIUM | apps/web/app/api/chat/[chatId]/stop/route.test.ts | 3 | // ── Mutable state ────────────────────────────────────────────────── |
| MEDIUM | apps/web/app/api/chat/[chatId]/stop/route.test.ts | 39 | // ── Module mocks ─────────────────────────────────────────────────── |
| MEDIUM | apps/web/app/api/chat/[chatId]/stop/route.test.ts | 72 | // ── Helpers ──────────────────────────────────────────────────────── |
| MEDIUM | apps/web/app/api/chat/[chatId]/stop/route.test.ts | 89 | // ── Tests ────────────────────────────────────────────────────────── |
| MEDIUM | …s/web/app/api/sessions/[sessionId]/checks/fix/route.ts | 68 | // ── Formatting helpers ────────────────────────────────────────────────── |
| MEDIUM | …s/web/app/api/sessions/[sessionId]/checks/fix/route.ts | 140 | // ── Log compaction via LLM ────────────────────────────────────────────── |
| MEDIUM | …s/web/app/api/sessions/[sessionId]/checks/fix/route.ts | 168 | // ── Route handler ─────────────────────────────────────────────────────── |
| MEDIUM | apps/web/app/[username]/page.tsx | 63 | // ── Gray-scale dot classes: brightest first (top rank), darkest last ──────── |
| MEDIUM | apps/web/app/[username]/page.tsx | 73 | // ── Sub-components ───────────────────────────────────────────────────────── |
| MEDIUM | apps/web/app/[username]/page.tsx | 122 | // ── Main page ────────────────────────────────────────────────────────────── |
| MEDIUM | apps/web/app/[username]/og/route.tsx | 26 | // ── Activity grid ──────────────────────────────────────────────────────── |
| MEDIUM | apps/web/lib/chat/auto-commit-direct.test.ts | 3 | // ── spy state ────────────────────────────────────────────────────── |
| MEDIUM | apps/web/lib/chat/auto-commit-direct.test.ts | 42 | // ── module mocks ─────────────────────────────────────────────────── |
| MEDIUM | apps/web/lib/chat/auto-commit-direct.test.ts | 119 | // ── helpers ──────────────────────────────────────────────────────── |
| MEDIUM | apps/web/lib/chat/auto-commit-direct.test.ts | 137 | // ── tests ────────────────────────────────────────────────────────── |
| MEDIUM | …web/lib/chat/create-cancelable-readable-stream.test.ts | 4 | // ── Helpers ──────────────────────────────────────────────────────── |
| MEDIUM | …web/lib/chat/create-cancelable-readable-stream.test.ts | 28 | // ── Tests ────────────────────────────────────────────────────────── |
| MEDIUM | apps/web/lib/diff/compute-diff.test.ts | 3 | // ── Spy state ────────────────────────────────────────────────────── |
| MEDIUM | apps/web/lib/diff/compute-diff.test.ts | 24 | // ── Module mocks ─────────────────────────────────────────────────── |
| MEDIUM | apps/web/lib/diff/compute-diff.test.ts | 38 | // ── Helpers ──────────────────────────────────────────────────────── |
| MEDIUM | apps/web/lib/diff/compute-diff.test.ts | 67 | // ── Tests ────────────────────────────────────────────────────────── |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | .agents/skills/agent-browser/SKILL.md | 264 | agent-browser fill @e1 "user@example.com" |
| LOW | …ents/skills/agent-browser/references/authentication.md | 17 | agent-browser fill @e1 "user@example.com" |
| LOW | …ents/skills/agent-browser/references/authentication.md | 36 | agent-browser fill @e1 "user@example.com" |
| LOW | …ents/skills/agent-browser/references/authentication.md | 93 | agent-browser fill @e1 "user@example.com" |
| LOW | …gents/skills/agent-browser/references/snapshot-refs.md | 64 | agent-browser fill @e10 "user@example.com" |
| LOW | …/skills/agent-browser/references/session-management.md | 17 | agent-browser --session auth fill @e1 "user@example.com" |
| LOW | …ents/skills/agent-browser/templates/form-automation.sh | 23 | # agent-browser fill @e1 "John Doe" # Name field |
| LOW | …ents/skills/agent-browser/templates/form-automation.sh | 24 | # agent-browser fill @e2 "user@example.com" # Email field |
| LOW | apps/web/app/workflows/chat.test.ts | 376 | email: "user@example.com", |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …nts/skills/agent-browser/templates/capture-workflow.sh | 41 | # agent-browser get text ".content" > "$OUTPUT_DIR/content.txt" |
| LOW | …ents/skills/agent-browser/templates/form-automation.sh | 21 | |
| LOW | …kills/agent-browser/templates/authenticated-session.sh | 1 | #!/bin/bash |
| LOW | …kills/agent-browser/templates/authenticated-session.sh | 61 | |
| LOW | …kills/agent-browser/templates/authenticated-session.sh | 81 | # echo "ERROR: Login failed - still on login page" |
| LOW | …onId]/chats/[chatId]/hooks/use-session-chat-runtime.ts | 281 | // |
| LOW | apps/web/app/api/sandbox/route.ts | 41 | // import { getUserVercelToken } from "@/lib/vercel/token"; |
| LOW | apps/web/app/api/sandbox/route.ts | 61 | // if (!token) { |
| LOW | apps/web/app/api/sandbox/route.ts | 241 | sessionRecord?.lifecycleVersion, |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …kills/agent-browser/templates/authenticated-session.sh | 5 | # Usage: |