Autonomous coding agent as an SDK, IDE extension, or CLI assistant.
This report presents the forensic synthetic code analysis of cline/cline, a TypeScript project with 67,068 GitHub stars. SynthScan v2.0 examined 784,642 lines of code across 3375 source files, recording 2205 pattern matches distributed across 18 syntactic categories. The overall adjusted score of 3.9 places this repository in the Likely human-written band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 2205 distinct pattern matches across 18 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sdk/examples/plugins/gitignore-read-files-guard.ts | 141 | function isWorkspaceGitignoreSource(source: string): boolean { | CODE |
| LOW | sdk/examples/plugins/gitignore-read-files-guard.ts | 184 | async function checkIgnoredByWorkspaceGitignore( | CODE |
| LOW | sdk/examples/plugins/typescript-lsp/index.ts | 95 | function getOrCreateService(tsconfigPath: string) { | CODE |
| LOW | sdk/examples/plugins/agents-squad/index.ts | 78 | function resolveGlobalAgentsDirPath(): string { | CODE |
| LOW | sdk/examples/plugins/agents-squad/index.ts | 323 | function validateHandoffRelativePath(relativePath: string): string { | CODE |
| LOW | sdk/examples/plugins/agents-squad/index.ts | 367 | function resolveSubagentBackendMode(value: string): SubagentBackendMode { | CODE |
| LOW | sdk/scripts/check-publish.ts | 112 | function containsDevelopmentExportCondition(value: unknown): boolean { | CODE |
| LOW | …k/packages/ui/components/agent-welcome-hero-pointer.ts | 89 | export function useAgentWelcomeHeroPointer( | CODE |
| LOW | …kages/ui/components/agent-chat/tool-summary/parsers.ts | 368 | export function parseEditorResultDiffCounts( | CODE |
| LOW | sdk/packages/core/scripts/runtime-build-id.ts | 8 | function collectRuntimeSourceFiles(directory: string): string[] { | CODE |
| LOW | sdk/packages/core/scripts/runtime-build-id.ts | 60 | export function resolveRepoRootFromCorePackage( | CODE |
| LOW | sdk/packages/core/src/settings/settings-service.ts | 183 | function listBundledPluginSkillNames(pluginPath: string): string[] { | CODE |
| LOW | sdk/packages/core/src/settings/settings-service.ts | 614 | export function createCoreSettingsService( | CODE |
| LOW | sdk/packages/core/src/tasks/task-tool.ts | 187 | export function createTasksPromptExtension(options?: { | CODE |
| LOW | sdk/packages/core/src/tasks/task-location.ts | 72 | export function normalizeAgendaTaskLocation( | CODE |
| LOW | sdk/packages/core/src/tasks/specs/task-spec-parser.ts | 463 | export function agendaTaskSpecToCreateInput( | CODE |
| LOW | sdk/packages/core/src/types/provider-settings.ts | 69 | export function emptyStoredProviderSettings(): StoredProviderSettings { | CODE |
| LOW | sdk/packages/core/src/types/common.ts | 29 | export function isNonTerminalSessionStatus( | CODE |
| LOW | sdk/packages/core/src/auth/oca.ts | 267 | async function exchangeAuthorizationCode(input: { | CODE |
| LOW | sdk/packages/core/src/auth/cline.ts | 197 | function getAuthTokenTelemetryClaims(token: string): AuthTokenTelemetryClaims { | CODE |
| LOW | sdk/packages/core/src/auth/cline.ts | 208 | function getAuthCredentialTelemetryProperties( | CODE |
| LOW | sdk/packages/core/src/auth/cline.ts | 265 | function requireClineTokenResponse( | CODE |
| LOW | sdk/packages/core/src/auth/cline.ts | 275 | async function requestWorkOSDeviceAuthorization( | CODE |
| LOW | sdk/packages/core/src/auth/cline.ts | 467 | async function exchangeAuthorizationCode( | CODE |
| LOW | sdk/packages/core/src/auth/utils.ts | 131 | export function isCredentialLikelyExpired( | CODE |
| LOW | sdk/packages/core/src/auth/utils.ts | 138 | export async function resolveAuthorizationCodeInput(input: { | CODE |
| LOW | sdk/packages/core/src/auth/client.ts | 29 | export function createOAuthClientCallbacks( | CODE |
| LOW | sdk/packages/core/src/auth/provider-auth-registry.ts | 100 | function createCredentialsFromSettings( | CODE |
| LOW | sdk/packages/core/src/auth/provider-auth-registry.ts | 295 | export function resolveProviderApiKeyFromSettings( | CODE |
| LOW | sdk/packages/core/src/auth/provider-auth-registry.ts | 308 | export async function loginAndSaveProviderOAuthCredentials( | CODE |
| LOW | sdk/packages/core/src/auth/provider-auth-registry.ts | 329 | export function getProviderOAuthCredentialsFromSettings( | CODE |
| LOW | sdk/packages/core/src/auth/provider-auth-registry.ts | 340 | export function saveProviderOAuthCredentials(input: { | CODE |
| LOW | sdk/packages/core/src/auth/provider-auth-registry.ts | 363 | export function getPersistedProviderApiKey( | CODE |
| LOW | sdk/packages/core/src/auth/provider-auth-registry.ts | 380 | export function formatProviderOAuthApiKey( | CODE |
| LOW | sdk/packages/core/src/auth/codex.ts | 88 | async function exchangeAuthorizationCode( | CODE |
| LOW | sdk/packages/core/src/auth/codex.ts | 213 | function resolveCallbackServerConfig(): { | CODE |
| LOW | sdk/packages/core/src/auth/codex.ts | 416 | export async function getValidOpenAICodexCredentials( | CODE |
| LOW | sdk/packages/core/src/runtime/process-start-token.ts | 21 | function resolveProcessStartCommand(pid: number): ProcessStartCommand { | CODE |
| LOW | sdk/packages/core/src/runtime/process-start-token.ts | 63 | function formatExternalProcessStartToken( | CODE |
| LOW | sdk/packages/core/src/runtime/process-start-token.ts | 97 | export function parseLinuxProcessStartToken( | CODE |
| LOW | sdk/packages/core/src/runtime/process-start-token.ts | 108 | function probeLinuxProcessStartToken( | CODE |
| LOW | sdk/packages/core/src/runtime/process-start-token.ts | 183 | export async function probeProcessStartTokenAsync( | CODE |
| LOW | sdk/packages/core/src/runtime/process-start-token.ts | 242 | export async function getProcessStartTokenAsync( | CODE |
| LOW | …/packages/core/src/runtime/tools/subprocess-sandbox.ts | 93 | export function resolveSubprocessRuntimeExecutable( | CODE |
| LOW | …/packages/core/src/runtime/tools/subprocess-sandbox.ts | 126 | export function buildSubprocessSandboxCommand( | CODE |
| LOW | sdk/packages/core/src/runtime/tools/tool-approval.ts | 29 | export async function requestDesktopToolApproval( | CODE |
| LOW | …core/src/runtime/tools/subprocess-sandbox-lifecycle.ts | 20 | export function installParentDisconnectGuard( | CODE |
| LOW | sdk/packages/core/src/runtime/host/history.ts | 75 | function normalizeHistoryScanLimit(limit: number): number { | CODE |
| LOW | sdk/packages/core/src/runtime/host/history.ts | 90 | function extractSessionRecencyToken(sessionId: string): number { | CODE |
| LOW | sdk/packages/core/src/runtime/host/history.ts | 263 | function summarizeCostFromMessages(messages: LlmsProviders.Message[]): number { | CODE |
| LOW | sdk/packages/core/src/runtime/host/history.ts | 271 | function inferProviderAndModelFromMessages(messages: LlmsProviders.Message[]): { | CODE |
| LOW | sdk/packages/core/src/runtime/host/history.ts | 373 | function shouldProjectLegacyRunningSessionAsIdle( | CODE |
| LOW | sdk/packages/core/src/runtime/host/history.ts | 386 | async function projectLegacyRunningRowsAsIdle( | CODE |
| LOW | sdk/packages/core/src/runtime/host/history.ts | 492 | export async function listSessionHistoryFromBackend( | CODE |
| LOW | …k/packages/core/src/runtime/host/local-runtime-host.ts | 154 | function recoverDetachedCommandLogsOnce( | CODE |
| LOW | …k/packages/core/src/runtime/host/local-runtime-host.ts | 223 | function isIncomingCompactionStateStale( | CODE |
| LOW | sdk/packages/core/src/runtime/host/host.ts | 17 | function resolveConfiguredBackendMode( | CODE |
| LOW | sdk/packages/core/src/runtime/host/host.ts | 55 | async function reconcileDeadSessionsIfSupported( | CODE |
| LOW | …packages/core/src/runtime/host/runtime-host-support.ts | 53 | export async function readPersistedMessagesFile( | CODE |
| LOW | …kages/core/src/runtime/host/local-runtime-host.test.ts | 6937 | function createTaskCompletedAdapter() { | CODE |
| 1705 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …rc/core/storage/__tests__/syncRemoteMcpServers.test.ts | 142 | result.mcpServers.should.not.have.property("old-server") | CODE |
| CRITICAL | …rc/core/storage/__tests__/syncRemoteMcpServers.test.ts | 196 | result.mcpServers.should.not.have.property("remove-server") | CODE |
| CRITICAL | …rc/core/storage/__tests__/syncRemoteMcpServers.test.ts | 209 | result.mcpServers.should.not.have.property("server-a") | CODE |
| CRITICAL | …rc/core/storage/__tests__/syncRemoteMcpServers.test.ts | 210 | result.mcpServers.should.not.have.property("server-b") | CODE |
| CRITICAL | …rc/core/storage/__tests__/syncRemoteMcpServers.test.ts | 268 | mockMcpHub.recordSettingsFingerprint.calledOnce.should.be.true() | CODE |
| CRITICAL | apps/vscode/src/test/slash-commands.test.ts | 50 | response.commands.length.should.be.greaterThanOrEqual(BASE_SLASH_COMMANDS.length) | CODE |
| CRITICAL | apps/vscode/src/test/slash-commands.test.ts | 259 | response.commands.length.should.be.greaterThanOrEqual(BASE_SLASH_COMMANDS.length) | CODE |
| CRITICAL | apps/vscode/src/test/slash-commands.test.ts | 282 | response.commands.length.should.be.greaterThanOrEqual(BASE_SLASH_COMMANDS.length) | CODE |
| CRITICAL | apps/vscode/src/__tests__/config.test.ts | 459 | ClineEndpoint.config.environment.should.not.equal(Environment.selfHosted) | CODE |
| CRITICAL | …osts/vscode/__tests__/vscode-to-file-migration.test.ts | 523 | tombstone.sources.vscodeGlobalStorage.path.should.equal( | CODE |
| CRITICAL⚡ | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 74 | cbs.stubs.deleteConnection.called.should.be.false() | CODE |
| CRITICAL⚡ | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 75 | cbs.stubs.connectToServer.called.should.be.false() | CODE |
| CRITICAL⚡ | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 97 | cbs.stubs.deleteConnection.called.should.be.false() | CODE |
| CRITICAL⚡ | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 111 | cbs.stubs.deleteConnection.calledOnce.should.be.true() | CODE |
| CRITICAL⚡ | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 112 | cbs.stubs.connectToServer.calledOnce.should.be.true() | CODE |
| CRITICAL⚡ | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 116 | cbs.stubs.notifyWebviewOfServerChanges.called.should.be.true() | CODE |
| CRITICAL⚡ | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 303 | cbs.stubs.delay.callCount.should.equal(2) | CODE |
| CRITICAL⚡ | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 309 | cbs.stubs.connectToServer.callCount.should.equal(2) | CODE |
| CRITICAL⚡ | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 384 | cbs.stubs.appendErrorMessage.calledOnce.should.be.true() | CODE |
| CRITICAL⚡ | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 385 | cbs.stubs.connectToServer.called.should.be.false() | CODE |
| CRITICAL⚡ | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 402 | cbs.stubs.connectToServer.callCount.should.equal(3) | CODE |
| CRITICAL⚡ | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 406 | cbs.stubs.delay.callCount.should.equal(3) | CODE |
| CRITICAL⚡ | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 426 | cbs.stubs.delay.calledOnce.should.be.true() | CODE |
| CRITICAL⚡ | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 427 | cbs.stubs.deleteConnection.called.should.be.false() | CODE |
| CRITICAL⚡ | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 428 | cbs.stubs.connectToServer.called.should.be.false() | CODE |
| CRITICAL⚡ | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 440 | cbs.stubs.deleteConnection.called.should.be.false() | CODE |
| CRITICAL⚡ | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 441 | cbs.stubs.connectToServer.called.should.be.false() | CODE |
| CRITICAL | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 86 | cbs.stubs.deleteConnection.called.should.be.false() | CODE |
| CRITICAL | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 129 | cbs.stubs.notifyWebviewOfServerChanges.calledTwice.should.be.true() | CODE |
| CRITICAL | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 144 | cbs.stubs.connectToServer.calledOnce.should.be.true() | CODE |
| CRITICAL | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 145 | cbs.stubs.deleteConnection.calledOnce.should.be.true() | CODE |
| CRITICAL | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 167 | cbs.stubs.connectToServer.calledOnce.should.be.true() | CODE |
| CRITICAL | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 259 | cbs.stubs.connectToServer.callCount.should.equal(2) | CODE |
| CRITICAL | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 274 | cbs.stubs.notifyWebviewOfServerChanges.callCount.should.equal(3) | CODE |
| CRITICAL | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 287 | cbs.stubs.connectToServer.calledOnce.should.be.true() | CODE |
| CRITICAL | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 344 | cbs.stubs.connectToServer.callCount.should.equal(TEST_CONFIG.maxAttempts) | CODE |
| CRITICAL | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 348 | cbs.stubs.appendErrorMessage.calledOnce.should.be.true() | CODE |
| CRITICAL | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 370 | cbs.stubs.notifyWebviewOfServerChanges.called.should.be.true() | CODE |
| CRITICAL | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 372 | cbs.stubs.appendErrorMessage.called.should.be.false() | CODE |
| CRITICAL | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 472 | cbs.stubs.appendErrorMessage.calledOnce.should.be.true() | CODE |
| CRITICAL | …ode/src/services/mcp/__tests__/McpHub.callTool.test.ts | 91 | client.request.calledOnce.should.be.true() | CODE |
| CRITICAL | …ode/src/services/mcp/__tests__/McpHub.callTool.test.ts | 102 | client.request.calledOnce.should.be.true() | CODE |
| CRITICAL | …ode/src/services/mcp/__tests__/McpHub.callTool.test.ts | 167 | requestOptions.timeout.should.be.a.Number() | CODE |
| CRITICAL | …ode/src/services/mcp/__tests__/McpHub.callTool.test.ts | 223 | client.request.calledOnce.should.be.true() | CODE |
| CRITICAL | …ode/src/services/mcp/__tests__/McpHub.callTool.test.ts | 350 | telemetryService.captureMcpToolCall.calledTwice.should.be.true() | CODE |
| CRITICAL | …ode/src/services/mcp/__tests__/McpHub.callTool.test.ts | 371 | telemetryService.captureMcpToolCall.calledTwice.should.be.true() | CODE |
| CRITICAL | …ode/src/services/mcp/__tests__/McpHub.callTool.test.ts | 410 | result.content.should.be.an.Array() | CODE |
| CRITICAL | …ode/src/services/mcp/__tests__/McpHub.callTool.test.ts | 421 | result.content.should.be.an.Array() | CODE |
| CRITICAL | …s/mcp/__tests__/McpHub.toggleServerDisabledRPC.test.ts | 99 | persisted.mcpServers.alpha.disabled.should.equal(true) | CODE |
| CRITICAL | …s/mcp/__tests__/McpHub.toggleServerDisabledRPC.test.ts | 116 | persisted.mcpServers.alpha.disabled.should.equal(false) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | sdk/scripts/release.ts | 24 | // ── CLI args ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | sdk/scripts/release.ts | 75 | // ── Constants ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | sdk/scripts/release.ts | 84 | // ── Helpers ─────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | sdk/scripts/release.ts | 383 | // ── SDK Release ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | sdk/scripts/release.ts | 476 | // ── CLI Release ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | sdk/scripts/release.ts | 532 | // ── Main ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | sdk/packages/ui/components/button.tsx | 21 | // ─── Button ─────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | sdk/packages/ui/components/button.tsx | 190 | // ─── IconButton ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | sdk/packages/ui/stories/button.stories.tsx | 23 | // ─── Shared fixtures ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | sdk/packages/ui/stories/button.stories.tsx | 75 | // ─── Stories ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | sdk/packages/core/src/types/session.ts | 94 | // ── Persistence interfaces ──────────────────────────────────────────── | COMMENT |
| MEDIUM | …k/packages/core/src/runtime/host/local-runtime-host.ts | 392 | // ── Public API ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …k/packages/core/src/runtime/host/local-runtime-host.ts | 1676 | // ── Turn execution ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …k/packages/core/src/runtime/host/local-runtime-host.ts | 2110 | // ── Session lifecycle ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | …k/packages/core/src/runtime/host/local-runtime-host.ts | 2446 | // ── OAuth & auth ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …k/packages/core/src/runtime/host/local-runtime-host.ts | 2495 | // ── Utility methods ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | …k/packages/core/src/runtime/host/local-runtime-host.ts | 2666 | // ── Session service invocation ────────────────────────────────────── | COMMENT |
| MEDIUM | sdk/packages/shared/src/vcr.ts | 41 | // ── Types ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | sdk/packages/shared/src/vcr.ts | 62 | // ── Sensitive data sanitization ───────────────────────────────────────── | COMMENT |
| MEDIUM | sdk/packages/shared/src/vcr.ts | 351 | // ── URL helpers ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | sdk/packages/shared/src/vcr.ts | 451 | // ── Config resolution ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | sdk/packages/shared/src/vcr.ts | 481 | // ── Record mode ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | sdk/packages/shared/src/vcr.ts | 661 | // ── Playback mode ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | sdk/packages/shared/src/vcr.ts | 877 | // ── Public API ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/examples/desktop-app/sidecar/commands.ts | 1301 | // ── Chat session commands ────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/examples/desktop-app/sidecar/commands.ts | 1338 | // ── Session data reading ────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/examples/desktop-app/sidecar/commands.ts | 1359 | // ── Process context ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/examples/desktop-app/sidecar/commands.ts | 1386 | // ── Tool approvals (in-memory) ──────────────────────────────────── | COMMENT |
| MEDIUM | apps/examples/desktop-app/sidecar/commands.ts | 1450 | // ── Session discovery ───────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/examples/desktop-app/sidecar/commands.ts | 1667 | // ── Workspace file search ───────────────────────────────────────── | COMMENT |
| MEDIUM | apps/examples/desktop-app/sidecar/commands.ts | 1672 | // ── External links ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/examples/desktop-app/sidecar/commands.ts | 1690 | // ── Cline account ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/examples/desktop-app/sidecar/commands.ts | 1725 | // ── Cline integrations (GitHub App) ──────────────────────────────── | COMMENT |
| MEDIUM | apps/examples/desktop-app/sidecar/commands.ts | 1756 | // ── Provider management ──────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/examples/desktop-app/sidecar/commands.ts | 2003 | // ── Global settings ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/examples/desktop-app/sidecar/commands.ts | 2029 | // ── Feature flags ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/examples/desktop-app/sidecar/commands.ts | 2041 | // ── Connector channels ───────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/examples/desktop-app/sidecar/commands.ts | 2052 | // ── MCP server management ───────────────────────────────────────── | COMMENT |
| MEDIUM | apps/examples/desktop-app/sidecar/commands.ts | 2252 | // ── Git operations ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/examples/desktop-app/sidecar/commands.ts | 2283 | // ── Routine schedules ───────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/examples/desktop-app/sidecar/commands.ts | 2296 | // ── Agenda task queue ───────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/examples/desktop-app/sidecar/commands.ts | 2307 | // ── User instruction configs ────────────────────────────────────── | COMMENT |
| MEDIUM | apps/examples/desktop-app/sidecar/commands.ts | 2373 | // ── Native OS commands ──────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | apps/vscode/scripts/run-extension-host.sh | 33 | # ┌────────────┬────────────┬────────────┬────────────┐ | COMMENT |
| MEDIUM⚡ | apps/vscode/scripts/run-extension-host.sh | 35 | # └────────────┴────────────┴────────────┴────────────┘ | COMMENT |
| MEDIUM | apps/vscode/src/core/storage/utils/state-helpers.ts | 19 | // ─── File-backed storage readers (used by StateManager) ──────────────────── | COMMENT |
| MEDIUM | apps/vscode/src/dev/debug-harness/server.ts | 325 | // ──────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/vscode/src/dev/debug-harness/server.ts | 327 | // ──────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/vscode/src/dev/debug-harness/server.ts | 576 | // ──────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/vscode/src/dev/debug-harness/server.ts | 578 | // ──────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/vscode/src/dev/debug-harness/server.ts | 747 | // ──────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/vscode/src/dev/debug-harness/server.ts | 749 | // ──────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/vscode/src/dev/debug-harness/server.ts | 842 | // ──────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/vscode/src/dev/debug-harness/server.ts | 844 | // ──────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/vscode/src/dev/debug-harness/server.ts | 1129 | // ──────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/vscode/src/dev/debug-harness/server.ts | 1131 | // ──────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/vscode/src/dev/debug-harness/server.ts | 1177 | // ──────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/vscode/src/dev/debug-harness/server.ts | 1179 | // ──────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | apps/vscode/src/dev/debug-harness/server.ts | 1331 | // ──────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | apps/vscode/src/dev/debug-harness/server.ts | 1333 | // ──────────────────────────────────────────── | COMMENT |
| 20 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .claude/commands/hotfix-release.md | 13 | ## Step 1: Setup and Gather Information | COMMENT |
| LOW | .claude/commands/hotfix-release.md | 27 | ## Step 2: Present Commits Since Last Release | COMMENT |
| LOW | .claude/commands/hotfix-release.md | 53 | ## Step 3: Analyze Selected Commits | COMMENT |
| LOW | .claude/commands/hotfix-release.md | 62 | ## Step 4: Determine New Version Number | COMMENT |
| LOW | .claude/commands/hotfix-release.md | 76 | ## Step 5: Create Release Notes Commit on Main | COMMENT |
| LOW | .claude/commands/hotfix-release.md | 118 | ## Step 6: Build the Hotfix on the Tag | COMMENT |
| LOW | .claude/commands/hotfix-release.md | 143 | ## Step 7: Tag and Push | COMMENT |
| LOW | .claude/commands/hotfix-release.md | 155 | ## Step 8: Return to Main and Summary | COMMENT |
| LOW⚡ | sdk/scripts/release.ts | 404 | // Step 1: Tests | COMMENT |
| LOW⚡ | sdk/scripts/release.ts | 412 | // Step 2: Update versions | COMMENT |
| LOW⚡ | sdk/scripts/release.ts | 417 | // Step 3: Verify publishability | COMMENT |
| LOW⚡ | sdk/scripts/release.ts | 421 | // Step 4: Publish in dependency order | COMMENT |
| LOW⚡ | sdk/scripts/release.ts | 496 | // Step 1: Tests | COMMENT |
| LOW⚡ | sdk/scripts/release.ts | 504 | // Step 2: Build all platform binaries | COMMENT |
| LOW⚡ | sdk/scripts/release.ts | 510 | // Step 3: Publish to npm | COMMENT |
| LOW | sdk/scripts/release.ts | 437 | // Step 5: Git tag | COMMENT |
| LOW | .clinerules/workflows/git-branch-analysis.md | 6 | ## Step 1: Gather Git Information | COMMENT |
| LOW⚡ | .clinerules/workflows/git-branch-analysis.md | 18 | ## Step 2: Silent, Structured Analysis Phase | COMMENT |
| LOW⚡ | .clinerules/workflows/git-branch-analysis.md | 24 | ## Step 3: Context Gathering | COMMENT |
| LOW⚡ | .clinerules/workflows/git-branch-analysis.md | 34 | ## Step 4: Ready for User Interaction | COMMENT |
| LOW | .clinerules/workflows/hotfix-release.md | 13 | ## Step 1: Setup and Gather Information | COMMENT |
| LOW | .clinerules/workflows/hotfix-release.md | 27 | ## Step 2: Present Commits Since Last Release | COMMENT |
| LOW | .clinerules/workflows/hotfix-release.md | 53 | ## Step 3: Analyze Selected Commits | COMMENT |
| LOW | .clinerules/workflows/hotfix-release.md | 62 | ## Step 4: Determine New Version Number | COMMENT |
| LOW | .clinerules/workflows/hotfix-release.md | 76 | ## Step 5: Create Release Notes Commit on Main | COMMENT |
| LOW | .clinerules/workflows/hotfix-release.md | 118 | ## Step 6: Build the Hotfix on the Tag | COMMENT |
| LOW | .clinerules/workflows/hotfix-release.md | 143 | ## Step 7: Tag and Push | COMMENT |
| LOW | .clinerules/workflows/hotfix-release.md | 155 | ## Step 8: Return to Main and Summary | COMMENT |
| LOW | .clinerules/workflows/pr-review.md | 126 | ## Step 1: Gather PR Information | COMMENT |
| LOW | .clinerules/workflows/pr-review.md | 136 | ## Step 2: Understand the Context | COMMENT |
| LOW | .clinerules/workflows/pr-review.md | 157 | ## Step 3: Analyze the Changes | COMMENT |
| LOW | .clinerules/workflows/pr-review.md | 169 | ## Step 4: Ask for User Confirmation | COMMENT |
| LOW | .clinerules/workflows/pr-review.md | 187 | ## Step 5: Ask if User Wants a Comment Drafted | COMMENT |
| LOW | .clinerules/workflows/pr-review.md | 196 | ## Step 6: Make a Decision | COMMENT |
| LOW | .cline/skills/publish-cli/SKILL.md | 34 | ## Step 0: Release the SDK first if it changed | COMMENT |
| LOW | apps/cli/script/publish-npm.ts | 242 | // Step 1: Publish platform-specific packages (in parallel) | COMMENT |
| LOW | apps/cli/script/publish-npm.ts | 260 | // Step 2: Generate and publish the main wrapper package | COMMENT |
| LOW | apps/examples/desktop-app/sidecar/chat-test.ts | 100 | // Step 1: Start a session | COMMENT |
| LOW | apps/examples/desktop-app/sidecar/chat-test.ts | 125 | // Step 2: Send a prompt | COMMENT |
| LOW | apps/vscode/webview-ui/src/App.stories.tsx | 321 | // Step 0: User type selection should be visible | COMMENT |
| LOW | apps/vscode/webview-ui/src/App.stories.tsx | 339 | // Step 1: Model selection should be visible | COMMENT |
| LOW⚡ | …ui/src/components/chat/chat-view/utils/messageUtils.ts | 323 | // Step 1: Find the MOST RECENT api_req_started overall (search backwards) | COMMENT |
| LOW⚡ | …ui/src/components/chat/chat-view/utils/messageUtils.ts | 343 | // Step 2: Determine if most recent api_req is complete (has cost) or incomplete (no cost) | COMMENT |
| LOW⚡ | …ui/src/components/chat/chat-view/utils/messageUtils.ts | 352 | // Step 3: Determine which tools are "in current activities" | COMMENT |
| LOW⚡ | apps/vscode/scripts/run-extension-host.sh | 19 | # Step 1: Build protos (everything depends on this) | COMMENT |
| LOW⚡ | apps/vscode/scripts/run-extension-host.sh | 23 | # Step 2: Build webview once | COMMENT |
| LOW⚡ | apps/vscode/scripts/run-extension-host.sh | 27 | # Step 3: Kill existing session if one is running | COMMENT |
| LOW⚡ | apps/vscode/scripts/run-extension-host.sh | 31 | # Step 4: Create tmux session with 4 vertical panes | COMMENT |
| LOW⚡ | …ps/vscode/src/test/hook-management-integration.test.ts | 68 | // Step 1: Verify hook doesn't exist initially | COMMENT |
| LOW⚡ | …ps/vscode/src/test/hook-management-integration.test.ts | 72 | // Step 2: Create the hook | COMMENT |
| LOW⚡ | …ps/vscode/src/test/hook-management-integration.test.ts | 79 | // Step 3: Verify hook was created and is disabled (644 permissions) | COMMENT |
| LOW⚡ | …ps/vscode/src/test/hook-management-integration.test.ts | 95 | // Step 4: Enable the hook | COMMENT |
| LOW⚡ | …ps/vscode/src/test/hook-management-integration.test.ts | 103 | // Step 5: Verify hook is now enabled (executable) | COMMENT |
| LOW⚡ | …ps/vscode/src/test/hook-management-integration.test.ts | 113 | // Step 6: Disable the hook | COMMENT |
| LOW⚡ | …ps/vscode/src/test/hook-management-integration.test.ts | 121 | // Step 7: Verify hook is now disabled again | COMMENT |
| LOW⚡ | …ps/vscode/src/test/hook-management-integration.test.ts | 134 | // Step 8: Delete the hook | COMMENT |
| LOW⚡ | …ps/vscode/src/test/hook-management-integration.test.ts | 141 | // Step 9: Verify hook is gone | COMMENT |
| LOW⚡ | …ps/vscode/src/test/hook-management-integration.test.ts | 150 | // Step 10: Final refresh to confirm clean state | COMMENT |
| LOW⚡ | apps/vscode/src/standalone/cline-core.ts | 273 | // Step 1: Tell the paired host bridge to shut down | COMMENT |
| LOW⚡ | apps/vscode/src/standalone/cline-core.ts | 281 | // Step 2: Clean up lock manager entry | COMMENT |
| 5 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sdk/examples/plugins/weather-metrics.ts | 41 | capabilities: ["tools", "hooks"], | COMMENT |
| LOW | sdk/packages/core/vitest.e2e.config.ts | 1 | import { defineConfig } from "vitest/config"; | COMMENT |
| LOW | …ges/core/src/extensions/plugin/plugin-module-import.ts | 641 | throw new Error("Unable to load jiti"); | COMMENT |
| LOW | sdk/packages/core/src/extensions/mcp/client.ts | 41 | data?: unknown; | COMMENT |
| LOW | sdk/packages/core/src/hub/server/browser-websocket.ts | 341 | subscriptions.set(key, unsubscribe); | COMMENT |
| LOW | …core/src/services/providers/local-provider-registry.ts | 341 | if (model?.supportsReasoning !== undefined) { | COMMENT |
| LOW | sdk/packages/agents/src/agent-runtime.ts | 1541 | void this.emit({ | COMMENT |
| LOW | sdk/packages/shared/src/parse/json.ts | 81 | } | COMMENT |
| LOW | sdk/packages/shared/src/parse/shell.ts | 61 | switch (getShellKind(shell)) { | COMMENT |
| LOW | sdk/packages/llms/src/providers/model-facts.ts | 241 | const family = normalizeRoutingValue(options.family); | COMMENT |
| LOW | …src/providers/middleware/stream-part-classification.ts | 1 | // Single, exhaustive classification of every `LanguageModelV4StreamPart`. | COMMENT |
| LOW | …/llms/src/providers/middleware/retry-empty-response.ts | 1 | // LanguageModelV4 middleware that retries a stream when the model returns an | COMMENT |
| LOW | …/llms/src/providers/middleware/retry-empty-response.ts | 21 | // `ai-sdk.ts` (see `withEmptyResponseRetry`); vendors can opt out or tune | COMMENT |
| LOW | …/llms/src/providers/middleware/retry-empty-response.ts | 41 | // ECONNRESET`, `fetch failed: HeadersTimeoutError`. The AI SDK's own retry | COMMENT |
| LOW | …ges/llms/src/providers/middleware/split-tool-images.ts | 1 | // LanguageModelV4 middleware that recovers image bytes from | COMMENT |
| LOW | …ges/llms/src/providers/middleware/split-tool-images.ts | 21 | // tool-result then carries only text — safe for any wire format. | COMMENT |
| LOW | sdk/packages/llms/src/providers/vendors/bedrock.ts | 21 | "AWS_SESSION_TOKEN", | COMMENT |
| LOW | sdk/packages/llms/src/providers/vendors/bedrock.ts | 41 | // honored, and bare ids of models known to have no on-demand throughput are | COMMENT |
| LOW | sdk/packages/llms/src/providers/vendors/ollama.ts | 1 | // Ollama vendor backed by the native Ollama API (`/api/chat`) via the | COMMENT |
| LOW | …ackages/llms/src/providers/vendors/ollama.wire.test.ts | 1 | // Wire-contract tests for the Ollama vendor, exercised through the *real* | COMMENT |
| LOW | sdk/packages/llms/src/providers/vendors/community.ts | 161 | return { | COMMENT |
| LOW | …ckages/llms/src/providers/vendors/openai-compatible.ts | 281 | // image-data parts get split into a placeholder text + a synthetic | COMMENT |
| LOW | .github/workflows/ext-vscode-ab-package.yml | 121 | # The legacy branch is the npm codebase, so the bun-based reusable workflow | COMMENT |
| LOW | .github/workflows/desktop-publish.yml | 161 | echo "feed=${FEED}" >> "$GITHUB_OUTPUT" | COMMENT |
| LOW | .github/workflows/desktop-publish.yml | 181 | # build scripts (bun install hooks, build:sdk, Tauri's beforeBuildCommand, | COMMENT |
| LOW | .github/workflows/repo-delete-agent-promo-comments.yml | 1 | # Some coding-agent GitHub Apps advertise themselves by auto-commenting on every | COMMENT |
| LOW | .github/workflows/ext-vscode-publish-nightly.yml | 1 | name: ext-vscode-publish-nightly | COMMENT |
| LOW | apps/cli/script/publish-npm.ts | 1 | #!/usr/bin/env bun | COMMENT |
| LOW | apps/cli/src/cli.tuistory.e2e.test.ts | 1 | // --------------------------------------------------------------------------- | COMMENT |
| LOW | apps/cli/src/tui/palette.ts | 41 | addedLineNumberBg: "#ccf0d2", | COMMENT |
| LOW | apps/cli/src/tui/palette.ts | 61 | // 1. Convert the terminal's detected background to OKLAB. | COMMENT |
| LOW | apps/cli/src/tests/cli/flags-behavior.test.ts | 1 | // --------------------------------------------------------------------------- | COMMENT |
| LOW | apps/cli/src/tests/interactive/chat.test.ts | 1 | // --------------------------------------------------------------------------- | COMMENT |
| LOW | …s/cli/src/tests/headless/per-turn-metrics.live.test.ts | 1 | // --------------------------------------------------------------------------- | COMMENT |
| LOW | apps/cli/src/tests/helpers/process.ts | 1 | // --------------------------------------------------------------------------- | COMMENT |
| LOW | …examples/desktop-app/webview/hooks/use-chat-session.ts | 1461 | : makeId("user"); | COMMENT |
| LOW | …amples/desktop-app/webview/hooks/use-session-agents.ts | 141 | // A failed read means this attempt learned nothing — not that the | COMMENT |
| LOW | apps/examples/desktop-app/src-tauri/src/main.rs | 101 | error: None, | COMMENT |
| LOW | apps/examples/desktop-app/src-tauri/src/main.rs | 301 | COMMENT | |
| LOW | apps/vscode/bunfig.toml | 1 | [test] | COMMENT |
| LOW | apps/vscode/tsconfig.test.json | 1 | { | COMMENT |
| LOW | apps/vscode/tsconfig.test.json | 81 | // cannot load. Keep these out of the integration compile (run-bun-unit-tests.ts | COMMENT |
| LOW | …w-ui/src/components/settings/OpenRouterModelPicker.tsx | 81 | ) | COMMENT |
| LOW | …iew-ui/src/components/chat/chat-view/messageReducer.ts | 1 | import type { ClineMessage, TurnState } from "@shared/ExtensionMessage" | COMMENT |
| LOW | …nts/chat/chat-view/components/layout/ActionButtons.tsx | 41 | // buttons immune to trailing bookkeeping messages and never disagree with the thinking | COMMENT |
| LOW | …/components/chat/chat-view/hooks/useMessageHandlers.ts | 261 | } else if (messages.length > 0) { | COMMENT |
| LOW | …s/vscode/src/core/ignore/ClineIgnoreController.test.ts | 101 | COMMENT | |
| LOW | …s/vscode/src/core/ignore/ClineIgnoreController.test.ts | 121 | // const results = [ | COMMENT |
| LOW | …c/core/storage/remote-config/sdk-control-plane.test.ts | 1 | // Intentionally empty. | COMMENT |
| LOW | apps/vscode/src/core/controller/index.ts | 1 | // Replaces classic src/core/controller/index.ts (see origin/main) | COMMENT |
| LOW | …/vscode/src/core/controller/models/resolveModelInfo.ts | 61 | modelId: selection.modelId, | COMMENT |
| LOW | apps/vscode/src/core/hooks/templates.ts | 41 | cancel = $false | COMMENT |
| LOW | apps/vscode/src/core/hooks/templates.ts | 61 | # } | COMMENT |
| LOW | apps/vscode/src/core/hooks/templates.ts | 101 | } | COMMENT |
| LOW | apps/vscode/src/core/hooks/templates.ts | 141 | ` | COMMENT |
| LOW | apps/vscode/src/core/hooks/templates.ts | 181 | ` | COMMENT |
| LOW | apps/vscode/src/core/hooks/templates.ts | 221 | echo '{"cancel":false,"contextModification":"","errorMessage":""}' | COMMENT |
| LOW | apps/vscode/src/core/hooks/templates.ts | 261 | COMMENT | |
| LOW | apps/vscode/src/core/hooks/templates.ts | 281 | # executionTimeMs: number | COMMENT |
| LOW | apps/vscode/src/core/hooks/templates.ts | 321 | # | COMMENT |
| 38 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | sdk/scripts/release.ts | 404 | // Step 1: Tests | COMMENT |
| LOW⚡ | sdk/scripts/release.ts | 412 | // Step 2: Update versions | COMMENT |
| LOW⚡ | sdk/scripts/release.ts | 417 | // Step 3: Verify publishability | COMMENT |
| LOW⚡ | sdk/scripts/release.ts | 421 | // Step 4: Publish in dependency order | COMMENT |
| LOW⚡ | sdk/scripts/release.ts | 496 | // Step 1: Tests | COMMENT |
| LOW⚡ | sdk/scripts/release.ts | 504 | // Step 2: Build all platform binaries | COMMENT |
| LOW⚡ | sdk/scripts/release.ts | 510 | // Step 3: Publish to npm | COMMENT |
| LOW | sdk/scripts/release.ts | 437 | // Step 5: Git tag | COMMENT |
| LOW | apps/cli/script/publish-npm.ts | 242 | // Step 1: Publish platform-specific packages (in parallel) | COMMENT |
| LOW | apps/cli/script/publish-npm.ts | 260 | // Step 2: Generate and publish the main wrapper package | COMMENT |
| LOW | apps/examples/desktop-app/sidecar/chat-test.ts | 100 | // Step 1: Start a session | COMMENT |
| LOW | apps/examples/desktop-app/sidecar/chat-test.ts | 125 | // Step 2: Send a prompt | COMMENT |
| LOW | apps/vscode/webview-ui/src/App.stories.tsx | 321 | // Step 0: User type selection should be visible | COMMENT |
| LOW | apps/vscode/webview-ui/src/App.stories.tsx | 339 | // Step 1: Model selection should be visible | COMMENT |
| LOW⚡ | …ui/src/components/chat/chat-view/utils/messageUtils.ts | 323 | // Step 1: Find the MOST RECENT api_req_started overall (search backwards) | COMMENT |
| LOW⚡ | …ui/src/components/chat/chat-view/utils/messageUtils.ts | 343 | // Step 2: Determine if most recent api_req is complete (has cost) or incomplete (no cost) | COMMENT |
| LOW⚡ | …ui/src/components/chat/chat-view/utils/messageUtils.ts | 352 | // Step 3: Determine which tools are "in current activities" | COMMENT |
| LOW⚡ | apps/vscode/scripts/run-extension-host.sh | 19 | # Step 1: Build protos (everything depends on this) | COMMENT |
| LOW⚡ | apps/vscode/scripts/run-extension-host.sh | 23 | # Step 2: Build webview once | COMMENT |
| LOW⚡ | apps/vscode/scripts/run-extension-host.sh | 27 | # Step 3: Kill existing session if one is running | COMMENT |
| LOW⚡ | apps/vscode/scripts/run-extension-host.sh | 31 | # Step 4: Create tmux session with 4 vertical panes | COMMENT |
| LOW⚡ | …ps/vscode/src/test/hook-management-integration.test.ts | 68 | // Step 1: Verify hook doesn't exist initially | COMMENT |
| LOW⚡ | …ps/vscode/src/test/hook-management-integration.test.ts | 72 | // Step 2: Create the hook | COMMENT |
| LOW⚡ | …ps/vscode/src/test/hook-management-integration.test.ts | 79 | // Step 3: Verify hook was created and is disabled (644 permissions) | COMMENT |
| LOW⚡ | …ps/vscode/src/test/hook-management-integration.test.ts | 95 | // Step 4: Enable the hook | COMMENT |
| LOW⚡ | …ps/vscode/src/test/hook-management-integration.test.ts | 103 | // Step 5: Verify hook is now enabled (executable) | COMMENT |
| LOW⚡ | …ps/vscode/src/test/hook-management-integration.test.ts | 113 | // Step 6: Disable the hook | COMMENT |
| LOW⚡ | …ps/vscode/src/test/hook-management-integration.test.ts | 121 | // Step 7: Verify hook is now disabled again | COMMENT |
| LOW⚡ | …ps/vscode/src/test/hook-management-integration.test.ts | 134 | // Step 8: Delete the hook | COMMENT |
| LOW⚡ | …ps/vscode/src/test/hook-management-integration.test.ts | 141 | // Step 9: Verify hook is gone | COMMENT |
| LOW⚡ | …ps/vscode/src/test/hook-management-integration.test.ts | 150 | // Step 10: Final refresh to confirm clean state | COMMENT |
| LOW⚡ | apps/vscode/src/standalone/cline-core.ts | 273 | // Step 1: Tell the paired host bridge to shut down | COMMENT |
| LOW⚡ | apps/vscode/src/standalone/cline-core.ts | 281 | // Step 2: Clean up lock manager entry | COMMENT |
| LOW | apps/vscode/src/standalone/cline-core.ts | 297 | // Step 3: Tear down services | COMMENT |
| LOW | apps/vscode/src/standalone/cline-core.ts | 310 | // Step 4: Exit the process | COMMENT |
| LOW | …ode/src/services/auth/oca/providers/OcaAuthProvider.ts | 200 | // Step 1: Nonce validation | COMMENT |
| LOW⚡ | …ode/src/services/auth/oca/providers/OcaAuthProvider.ts | 211 | // Step 2: Get access_token (this is what you'll use for APIs) | COMMENT |
| LOW⚡ | …ode/src/services/auth/oca/providers/OcaAuthProvider.ts | 219 | // Step 3: (Optional) Extract user info from id_token for local profile, not for API | COMMENT |
| LOW⚡ | …ode/src/services/auth/oca/providers/OcaAuthProvider.ts | 222 | // Step 4: Return only the access_token for downstream use | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sdk/packages/core/scripts/telemetry-smoke-host.ts | 155 | email: "user@example.com", | CODE |
| LOW | sdk/packages/core/src/auth/cline.test.ts | 33 | email: "user@example.com", | CODE |
| LOW | sdk/packages/core/src/auth/cline.test.ts | 221 | email: "user@example.com", | CODE |
| LOW | sdk/packages/core/src/auth/cline.test.ts | 365 | email: "user@example.com", | CODE |
| LOW | sdk/packages/core/src/auth/cline.test.ts | 401 | email: "user@example.com", | CODE |
| LOW | …ackages/core/src/account/cline-account-service.test.ts | 91 | { organizationId: "org-1", name: "Acme Corp" }, | CODE |
| LOW | …ackages/core/src/account/cline-account-service.test.ts | 117 | name: "Acme Corp", | CODE |
| LOW | …ore/src/hub/server/handlers/connector-handlers.test.ts | 93 | values: { "-k": "123456:fake-token" }, | CODE |
| LOW | …ore/src/hub/server/handlers/connector-handlers.test.ts | 103 | expect(persisted?.values["-k"]).toBe("123456:fake-token"); | CODE |
| LOW | …ore/src/hub/server/handlers/connector-handlers.test.ts | 116 | "123456:fake-token", | CODE |
| LOW | …ore/src/hub/server/handlers/connector-handlers.test.ts | 207 | values: { "-k": "123456:fake-token" }, | CODE |
| LOW | …ore/src/hub/server/handlers/connector-handlers.test.ts | 219 | values: { "-k": "123456:fake-token" }, | CODE |
| LOW | …ore/src/hub/server/handlers/connector-handlers.test.ts | 250 | "123456:fake-token", | CODE |
| LOW | …ore/src/hub/server/handlers/connector-handlers.test.ts | 255 | values: { "-k": "123456:fake-token" }, | CODE |
| LOW | …ore/src/hub/server/handlers/connector-handlers.test.ts | 266 | connectArgs: ["-k", "123456:fake-token"], | CODE |
| LOW | …ore/src/hub/server/handlers/connector-handlers.test.ts | 340 | values: { "-k": "123456:fake-token" }, | CODE |
| LOW | apps/cli/src/tui/cline-account.test.ts | 230 | email: "user@example.com", | CODE |
| LOW | apps/cli/src/tui/cline-account.test.ts | 256 | email: "user@example.com", | CODE |
| LOW | apps/cli/src/tui/views/onboarding/auth.test.ts | 133 | email: "user@example.com", | CODE |
| LOW | apps/cli/src/tui/views/onboarding/auth.test.ts | 161 | email: "user@example.com", | CODE |
| LOW | apps/cli/src/utils/telemetry.activation.test.ts | 68 | email: "user@example.com", | CODE |
| LOW | apps/cli/src/utils/telemetry.activation.test.ts | 71 | organizationName: "Acme Corp", | CODE |
| LOW | apps/cli/src/acp/organizations.test.ts | 12 | name: "Acme Corp", | CODE |
| LOW | apps/cli/src/acp/organizations.test.ts | 37 | { value: "org-1", name: "Acme Corp" }, | CODE |
| LOW | …vscode/webview-ui/src/components/ui/dialog.stories.tsx | 181 | defaultValue="John Doe" | CODE |
| LOW | …ew-ui/src/components/settings/SapAiCoreModelPicker.tsx | 120 | <VSCodeOption key="placeholder" value=""> | CODE |
| LOW | …de/webview-ui/src/components/chat/ErrorRow.stories.tsx | 266 | clineUser: { id: "user123", email: "user@example.com" }, | CODE |
| LOW | …onents/mcp/chat-display/McpResponseDisplay.stories.tsx | 76 | "Long response content.\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt | CODE |
| LOW | …onents/mcp/chat-display/McpResponseDisplay.stories.tsx | 76 | "Long response content.\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt | CODE |
| LOW | …de/src/services/banner/__tests__/BannerService.test.ts | 24 | let token: string | null = "fake-token" | CODE |
| LOW | …de/src/services/banner/__tests__/BannerService.test.ts | 93 | token = "fake-token" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .agents/skills/cline-sdk/SKILL.md | 133 | ### "I need multi-agent coordination" | COMMENT |
| MEDIUM | sdk/examples/plugins/agents-squad/README.md | 50 | ### Typical orchestration | COMMENT |
| MEDIUM | sdk/packages/core/src/extensions/context/compaction.ts | 437 | // deterministically: the agentic strategy's own summarizer call could | COMMENT |
| MEDIUM | …ackages/core/src/extensions/context/compaction.test.ts | 1887 | // Repro for agentic auto-compaction permanently skipping in hosts like | COMMENT |
| MEDIUM | apps/cli/DISTRIBUTION.md | 177 | publish-npm.ts # npm publish orchestration | CODE |
| MEDIUM | apps/cli/DEVELOPMENT.md | 86 | agents/ # Stateless agent loop, tool orchestration, hooks | CODE |
| MEDIUM | apps/cli/DEVELOPMENT.md | 88 | core/ # Stateful orchestration, sessions, hub, storage, config | CODE |
| MEDIUM | apps/cli/src/runtime/interactive/compaction.test.ts | 17 | // Core defaults to the agentic compaction strategy, which summarizes via a | COMMENT |
| MEDIUM | apps/cli/src/runtime/interactive/compaction.test.ts | 186 | const mockSummary = "## Goal\nMocked agentic compaction summary"; | CODE |
| MEDIUM | apps/cli/src/runtime/interactive/compaction.test.ts | 222 | // The agentic strategy folds older messages into a summary message | COMMENT |
| MEDIUM | apps/vscode/README.marketplace.md | 26 | Thanks to [Claude Sonnet's agentic coding capabilities](https://www.anthropic.com/claude/sonnet), Cline can handle compl | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .claude/hooks/claude-code-for-web-setup.sh | 24 | # Check if GITHUB_TOKEN is set and configure gh | COMMENT |
| LOW | .github/scripts/tests/coverage_check_test.py | 109 | # Check if verbose mode is enabled | COMMENT |
| LOW | .github/scripts/coverage_check/util.py | 48 | # Check if command is in allowed list | COMMENT |
| LOW | .github/scripts/coverage_check/extraction.py | 79 | # Check if file exists and get its size | COMMENT |
| LOW | .github/scripts/coverage_check/extraction.py | 85 | # Check if the directory exists | COMMENT |
| LOW | .github/scripts/coverage_check/workflow.py | 276 | # Check if the coverage files exist | COMMENT |
| LOW⚡ | .github/scripts/coverage_check/workflow.py | 306 | # Check if the webview-ui directory exists | COMMENT |
| LOW | .github/scripts/coverage_check/workflow.py | 348 | # Check if we're running in GitHub Actions | COMMENT |
| LOW⚡ | .github/scripts/coverage_check/workflow.py | 415 | # Output results for GitHub Actions | COMMENT |
| LOW | apps/vscode/src/core/hooks/templates.ts | 139 | # Return result | COMMENT |
| LOW | apps/vscode/src/core/hooks/templates.ts | 179 | # Return result | COMMENT |
| LOW | apps/vscode/src/core/hooks/templates.ts | 220 | # Return result | COMMENT |
| LOW | apps/vscode/src/core/hooks/templates.ts | 312 | # Return result | COMMENT |
| LOW | apps/vscode/src/core/hooks/templates.ts | 346 | # Return result | COMMENT |
| LOW | apps/vscode/src/core/hooks/templates.ts | 465 | # Return result | COMMENT |
| LOW | apps/vscode/src/core/hooks/templates.ts | 491 | # Return result | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sdk/examples/hooks/PostToolUse.py | 10 | CODE | |
| LOW | sdk/examples/hooks/PreToolUse_InjectContext.py | 10 | CODE | |
| LOW | .github/scripts/tests/coverage_check_test.py | 16 | CODE | |
| LOW | .github/scripts/coverage_check/util.py | 12 | CODE | |
| LOW | .github/scripts/coverage_check/util.py | 12 | CODE | |
| LOW | .github/scripts/coverage_check/__init__.py | 7 | CODE | |
| LOW | .github/scripts/coverage_check/__init__.py | 10 | CODE | |
| LOW | .github/scripts/coverage_check/__init__.py | 13 | CODE | |
| LOW | .github/scripts/coverage_check/__init__.py | 13 | CODE | |
| LOW | .github/scripts/coverage_check/__init__.py | 13 | CODE | |
| LOW | .github/scripts/coverage_check/__init__.py | 13 | CODE | |
| LOW | .github/scripts/coverage_check/__init__.py | 16 | CODE | |
| LOW | .github/scripts/coverage_check/__init__.py | 16 | CODE | |
| LOW | .github/scripts/coverage_check/__init__.py | 16 | CODE | |
| LOW | .github/scripts/coverage_check/__init__.py | 19 | CODE | |
| LOW | .github/scripts/coverage_check/extraction.py | 9 | CODE | |
| LOW | .github/scripts/coverage_check/extraction.py | 10 | CODE | |
| LOW | .github/scripts/coverage_check/workflow.py | 9 | CODE | |
| LOW | .github/scripts/coverage_check/workflow.py | 12 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sdk/examples/hooks/PostToolUse.py | 23 | except Exception: | CODE |
| LOW | sdk/examples/hooks/PreToolUse_InjectContext.py | 25 | except Exception: | CODE |
| LOW | sdk/examples/hooks/PreToolUse_InjectContext.py | 38 | except Exception: | CODE |
| LOW | .github/scripts/tests/coverage_check_test.py | 95 | except Exception as e: | CODE |
| LOW | .github/scripts/coverage_check/util.py | 140 | except Exception as e: | CODE |
| LOW | .github/scripts/coverage_check/util.py | 162 | except Exception as e: | CODE |
| LOW | .github/scripts/coverage_check/util.py | 198 | except Exception as e: | CODE |
| LOW | .github/scripts/coverage_check/extraction.py | 100 | except Exception as e: | CODE |
| LOW | .github/scripts/coverage_check/extraction.py | 123 | except Exception as e: | CODE |
| LOW | .github/scripts/coverage_check/extraction.py | 258 | except Exception as e: | CODE |
| LOW | .github/scripts/coverage_check/workflow.py | 292 | except Exception as e: | CODE |
| LOW⚡ | .github/scripts/coverage_check/workflow.py | 316 | except Exception as e: | CODE |
| LOW⚡ | .github/scripts/coverage_check/workflow.py | 421 | except Exception as e: | CODE |
| LOW⚡ | .github/scripts/coverage_check/workflow.py | 431 | except Exception as e2: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | apps/vscode/src/services/telemetry/TelemetryService.ts | 264 | // Tracks when users select an option from AI-generated followup questions | COMMENT |
| HIGH | apps/vscode/src/services/telemetry/TelemetryService.ts | 266 | // Tracks when users type a custom response instead of selecting an option from AI-generated followup questions | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/scripts/tests/coverage_check_test.py | 202 | # Create a temporary comment file | COMMENT |
| MEDIUM | .github/scripts/tests/coverage_check_test.py | 224 | # Create a temporary comment file | COMMENT |
| MEDIUM⚡ | .github/scripts/coverage_check/workflow.py | 333 | # Initialize all variables at the start | COMMENT |
| MEDIUM | .github/scripts/coverage_check/__main__.py | 30 | # Create main parser that inherits common arguments | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | evals/analysis/patterns/cline-failures.yaml | 36 | # Infrastructure/harness failures | COMMENT |
| MEDIUM | sdk/packages/shared/src/remote-config/schema.test.ts | 659 | "# Optional Guidelines\n\nConsider these best practices...", | CODE |
| MEDIUM | …vscode/webview-ui/src/components/chat/ChatTextArea.tsx | 876 | // NOTE: callbacks dont utilize return function to cleanup, but it's fine since this timeout immediately executes a | COMMENT |
| MEDIUM | …code/src/shared/remote-config/__tests__/schema.test.ts | 671 | contents: "# Optional Guidelines\n\nConsider these best practices...", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | .github/scripts/coverage_check/extraction.py | 194 | Run a coverage command and extract the coverage percentage. Args: command: Command to run | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/scripts/coverage_check/extraction.py | 64 | CODE | |
| LOW | .github/scripts/coverage_check/workflow.py | 264 | CODE | |
| LOW | .github/scripts/coverage_check/__main__.py | 25 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | apps/vscode/webview-ui/src/utils/getLanguageFromPath.ts | 83 | // Example usage: | COMMENT |
| LOW | apps/vscode/src/shared/multi-root/types.ts | 18 | // Example usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | apps/vscode/webview-ui/src/App.stories.tsx | 68 | **Note**: In Storybook, some features like file operations, command execution, and API calls are mocked for demonstratio | CODE |