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 64,633 GitHub stars. SynthScan v2.0 examined 627,929 lines of code across 2805 source files, recording 1752 pattern matches distributed across 18 syntactic categories. The overall adjusted score of 4.0 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 1752 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 | 76 | function resolveGlobalAgentsDirPath(): string { | CODE |
| LOW | sdk/examples/plugins/agents-squad/index.ts | 318 | function validateHandoffRelativePath(relativePath: string): string { | CODE |
| LOW | sdk/examples/plugins/agents-squad/index.ts | 362 | function resolveSubagentBackendMode(value: string): SubagentBackendMode { | CODE |
| LOW | sdk/scripts/check-publish.ts | 112 | function containsDevelopmentExportCondition(value: unknown): boolean { | CODE |
| LOW | sdk/packages/core/src/settings/settings-service.ts | 434 | export function createCoreSettingsService(): CoreSettingsService { | CODE |
| LOW | sdk/packages/core/src/types/provider-settings.ts | 51 | 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 | 206 | function requireClineTokenResponse( | CODE |
| LOW | sdk/packages/core/src/auth/cline.ts | 216 | async function requestWorkOSDeviceAuthorization( | CODE |
| LOW | sdk/packages/core/src/auth/cline.ts | 398 | async function exchangeAuthorizationCode( | CODE |
| LOW | sdk/packages/core/src/auth/utils.ts | 184 | export function isCredentialLikelyExpired( | CODE |
| LOW | sdk/packages/core/src/auth/utils.ts | 191 | 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 | 292 | export function resolveProviderApiKeyFromSettings( | CODE |
| LOW | sdk/packages/core/src/auth/provider-auth-registry.ts | 305 | export async function loginAndSaveProviderOAuthCredentials( | CODE |
| LOW | sdk/packages/core/src/auth/provider-auth-registry.ts | 326 | export function getProviderOAuthCredentialsFromSettings( | CODE |
| LOW | sdk/packages/core/src/auth/provider-auth-registry.ts | 337 | export function saveProviderOAuthCredentials(input: { | CODE |
| LOW | sdk/packages/core/src/auth/provider-auth-registry.ts | 360 | export function getPersistedProviderApiKey( | CODE |
| LOW | sdk/packages/core/src/auth/provider-auth-registry.ts | 377 | 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 | 398 | export async function getValidOpenAICodexCredentials( | CODE |
| LOW | …/packages/core/src/runtime/tools/subprocess-sandbox.ts | 73 | export function resolveSubprocessRuntimeExecutable( | CODE |
| LOW | …/packages/core/src/runtime/tools/subprocess-sandbox.ts | 106 | export function buildSubprocessSandboxCommand( | CODE |
| LOW | sdk/packages/core/src/runtime/tools/tool-approval.ts | 29 | export async function requestDesktopToolApproval( | 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 | 183 | 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 | 5417 | function createTaskCompletedAdapter() { | CODE |
| LOW | …kages/core/src/runtime/host/local-runtime-host.test.ts | 5431 | function createSubmitAndExitToolCall(): NonNullable< | CODE |
| LOW | …kages/core/src/runtime/host/local-runtime-host.test.ts | 5464 | function countTaskCompletedEmissions( | CODE |
| LOW | sdk/packages/core/src/runtime/host/local/spawn-tool.ts | 44 | export function createSessionSubAgentLifecycleCallbacks( | CODE |
| LOW | …runtime/capabilities/normalize-runtime-capabilities.ts | 3 | export function normalizeRuntimeCapabilities( | CODE |
| LOW | …ackages/core/src/runtime/config/agent-message-codec.ts | 86 | export function agentMessageToMessageWithMetadata( | CODE |
| LOW | …ackages/core/src/runtime/config/agent-message-codec.ts | 103 | export function agentMessagesToMessagesWithMetadata( | CODE |
| LOW | …ackages/core/src/runtime/config/agent-message-codec.ts | 186 | function toolResultContentToAgentPart( | CODE |
| LOW | …/packages/core/src/runtime/config/connection-update.ts | 81 | export function normalizeConnectionUpdate( | CODE |
| LOW | sdk/packages/core/src/runtime/safety/rules.ts | 10 | export function formatRulesForSystemPrompt( | CODE |
| LOW | sdk/packages/core/src/runtime/safety/rules.ts | 23 | export function mergeRulesForSystemPrompt( | CODE |
| LOW | sdk/packages/core/src/runtime/safety/rules.ts | 35 | export function listEnabledRulesFromWatcher( | CODE |
| LOW | sdk/packages/core/src/runtime/safety/rules.ts | 45 | export function loadRulesForSystemPromptFromWatcher( | CODE |
| LOW | sdk/packages/core/src/runtime/safety/mistake-tracker.ts | 157 | export function buildMistakeLimitStopMessage(input: { | CODE |
| LOW | sdk/packages/core/src/runtime/safety/mistake-tracker.ts | 190 | async function resolveConsecutiveMistakeDecision( | CODE |
| LOW | …ore/src/runtime/orchestration/runtime-event-adapter.ts | 71 | function resolveStatusNoticeReason( | CODE |
| LOW | …ore/src/runtime/orchestration/runtime-event-adapter.ts | 124 | function statusToLegacyFinishReason( | CODE |
| LOW | …/runtime/orchestration/session-runtime-orchestrator.ts | 136 | function filterAvailableExtensionTools( | CODE |
| LOW | …s/core/src/runtime/orchestration/user-input-builder.ts | 118 | async function buildUserFileContentBlock( | CODE |
| 1316 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 | 75 | cbs.stubs.deleteConnection.called.should.be.false() | CODE |
| CRITICAL⚡ | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 76 | cbs.stubs.connectToServer.called.should.be.false() | CODE |
| CRITICAL⚡ | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 98 | cbs.stubs.deleteConnection.called.should.be.false() | CODE |
| CRITICAL⚡ | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 112 | cbs.stubs.deleteConnection.calledOnce.should.be.true() | CODE |
| CRITICAL⚡ | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 113 | cbs.stubs.connectToServer.calledOnce.should.be.true() | CODE |
| CRITICAL⚡ | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 117 | cbs.stubs.notifyWebviewOfServerChanges.called.should.be.true() | CODE |
| CRITICAL⚡ | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 132 | cbs.stubs.delay.callCount.should.equal(2) | CODE |
| CRITICAL⚡ | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 138 | cbs.stubs.connectToServer.callCount.should.equal(2) | CODE |
| CRITICAL⚡ | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 211 | cbs.stubs.appendErrorMessage.calledOnce.should.be.true() | CODE |
| CRITICAL⚡ | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 212 | cbs.stubs.connectToServer.called.should.be.false() | CODE |
| CRITICAL⚡ | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 229 | cbs.stubs.connectToServer.callCount.should.equal(3) | CODE |
| CRITICAL⚡ | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 233 | cbs.stubs.delay.callCount.should.equal(3) | CODE |
| CRITICAL⚡ | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 253 | cbs.stubs.delay.calledOnce.should.be.true() | CODE |
| CRITICAL⚡ | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 254 | cbs.stubs.deleteConnection.called.should.be.false() | CODE |
| CRITICAL⚡ | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 255 | cbs.stubs.connectToServer.called.should.be.false() | CODE |
| CRITICAL⚡ | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 267 | cbs.stubs.deleteConnection.called.should.be.false() | CODE |
| CRITICAL⚡ | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 268 | cbs.stubs.connectToServer.called.should.be.false() | CODE |
| CRITICAL | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 87 | cbs.stubs.deleteConnection.called.should.be.false() | CODE |
| CRITICAL | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 169 | cbs.stubs.connectToServer.callCount.should.equal(TEST_CONFIG.maxAttempts) | CODE |
| CRITICAL | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 174 | cbs.stubs.appendErrorMessage.calledOnce.should.be.true() | CODE |
| CRITICAL | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 196 | cbs.stubs.notifyWebviewOfServerChanges.called.should.be.true() | CODE |
| CRITICAL | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 198 | cbs.stubs.appendErrorMessage.called.should.be.false() | CODE |
| CRITICAL | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 299 | cbs.stubs.appendErrorMessage.calledOnce.should.be.true() | CODE |
| CRITICAL | …ode/src/services/mcp/__tests__/McpHub.callTool.test.ts | 90 | client.request.calledOnce.should.be.true() | CODE |
| CRITICAL | …ode/src/services/mcp/__tests__/McpHub.callTool.test.ts | 101 | client.request.calledOnce.should.be.true() | CODE |
| CRITICAL | …ode/src/services/mcp/__tests__/McpHub.callTool.test.ts | 166 | requestOptions.timeout.should.be.a.Number() | CODE |
| CRITICAL | …ode/src/services/mcp/__tests__/McpHub.callTool.test.ts | 213 | telemetryService.captureMcpToolCall.calledTwice.should.be.true() | CODE |
| CRITICAL | …ode/src/services/mcp/__tests__/McpHub.callTool.test.ts | 234 | telemetryService.captureMcpToolCall.calledTwice.should.be.true() | CODE |
| CRITICAL | …ode/src/services/mcp/__tests__/McpHub.callTool.test.ts | 273 | result.content.should.be.an.Array() | CODE |
| CRITICAL | …ode/src/services/mcp/__tests__/McpHub.callTool.test.ts | 284 | 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/core/src/types/session.ts | 87 | // ── Persistence interfaces ──────────────────────────────────────────── | COMMENT |
| MEDIUM | …k/packages/core/src/runtime/host/local-runtime-host.ts | 320 | // ── Public API ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …k/packages/core/src/runtime/host/local-runtime-host.ts | 1407 | // ── Turn execution ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …k/packages/core/src/runtime/host/local-runtime-host.ts | 1716 | // ── Session lifecycle ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | …k/packages/core/src/runtime/host/local-runtime-host.ts | 1985 | // ── OAuth & auth ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …k/packages/core/src/runtime/host/local-runtime-host.ts | 2034 | // ── Utility methods ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | …k/packages/core/src/runtime/host/local-runtime-host.ts | 2201 | // ── 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 | 726 | // ── Chat session commands ────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/examples/desktop-app/sidecar/commands.ts | 736 | // ── Session data reading ────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/examples/desktop-app/sidecar/commands.ts | 751 | // ── Process context ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/examples/desktop-app/sidecar/commands.ts | 759 | // ── Tool approvals (in-memory) ──────────────────────────────────── | COMMENT |
| MEDIUM | apps/examples/desktop-app/sidecar/commands.ts | 805 | // ── Session discovery ───────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/examples/desktop-app/sidecar/commands.ts | 936 | // ── Workspace file search ───────────────────────────────────────── | COMMENT |
| MEDIUM | apps/examples/desktop-app/sidecar/commands.ts | 941 | // ── Cline account ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/examples/desktop-app/sidecar/commands.ts | 958 | // ── Provider management ──────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/examples/desktop-app/sidecar/commands.ts | 1051 | // ── Global settings ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/examples/desktop-app/sidecar/commands.ts | 1070 | // ── Connector channels ───────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/examples/desktop-app/sidecar/commands.ts | 1081 | // ── MCP server management ───────────────────────────────────────── | COMMENT |
| MEDIUM | apps/examples/desktop-app/sidecar/commands.ts | 1164 | // ── Git operations ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/examples/desktop-app/sidecar/commands.ts | 1190 | // ── Routine schedules ───────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/examples/desktop-app/sidecar/commands.ts | 1202 | // ── User instruction configs ────────────────────────────────────── | COMMENT |
| MEDIUM | apps/examples/desktop-app/sidecar/commands.ts | 1254 | // ── 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 | 319 | // ──────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/vscode/src/dev/debug-harness/server.ts | 321 | // ──────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/vscode/src/dev/debug-harness/server.ts | 570 | // ──────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/vscode/src/dev/debug-harness/server.ts | 572 | // ──────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/vscode/src/dev/debug-harness/server.ts | 741 | // ──────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/vscode/src/dev/debug-harness/server.ts | 743 | // ──────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/vscode/src/dev/debug-harness/server.ts | 836 | // ──────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/vscode/src/dev/debug-harness/server.ts | 838 | // ──────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/vscode/src/dev/debug-harness/server.ts | 1123 | // ──────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/vscode/src/dev/debug-harness/server.ts | 1125 | // ──────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/vscode/src/dev/debug-harness/server.ts | 1171 | // ──────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/vscode/src/dev/debug-harness/server.ts | 1173 | // ──────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | apps/vscode/src/dev/debug-harness/server.ts | 1325 | // ──────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | apps/vscode/src/dev/debug-harness/server.ts | 1327 | // ──────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | apps/vscode/src/dev/debug-harness/server.ts | 1337 | // ──────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | apps/vscode/src/dev/debug-harness/server.ts | 1339 | // ──────────────────────────────────────────── | COMMENT |
| MEDIUM | …ps/vscode/src/hosts/vscode/vscode-to-file-migration.ts | 121 | // ─── 0. Migrate legacy MCP settings files (if needed) ─────────── | COMMENT |
| MEDIUM | …ps/vscode/src/hosts/vscode/vscode-to-file-migration.ts | 128 | // ─── 1. Migrate global state + secrets (if needed) ───────────── | COMMENT |
| MEDIUM | …ps/vscode/src/hosts/vscode/vscode-to-file-migration.ts | 185 | // ─── 2. Migrate workspace state (if needed) ──────────────────── | COMMENT |
| MEDIUM⚡ | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 57 | // ── basics ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 66 | // ── no-op cases ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …s/mcp/__tests__/StreamableHttpReconnectHandler.test.ts | 102 | // ── successful reconnect ──────────────────────────────────────────── | COMMENT |
| 10 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 | 127 | // 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 | 352 | // Step 1: Find the MOST RECENT api_req_started overall (search backwards) | COMMENT |
| LOW⚡ | …ui/src/components/chat/chat-view/utils/messageUtils.ts | 372 | // 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 | 381 | // 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 | 86 | // Step 1: Verify hook doesn't exist initially | COMMENT |
| LOW⚡ | …ps/vscode/src/test/hook-management-integration.test.ts | 90 | // Step 2: Create the hook | COMMENT |
| LOW⚡ | …ps/vscode/src/test/hook-management-integration.test.ts | 97 | // Step 3: Verify hook was created and is disabled (644 permissions) | COMMENT |
| LOW⚡ | …ps/vscode/src/test/hook-management-integration.test.ts | 113 | // Step 4: Enable the hook | COMMENT |
| LOW⚡ | …ps/vscode/src/test/hook-management-integration.test.ts | 121 | // Step 5: Verify hook is now enabled (executable) | COMMENT |
| LOW⚡ | …ps/vscode/src/test/hook-management-integration.test.ts | 131 | // Step 6: Disable the hook | COMMENT |
| LOW⚡ | …ps/vscode/src/test/hook-management-integration.test.ts | 139 | // Step 7: Verify hook is now disabled again | COMMENT |
| LOW⚡ | …ps/vscode/src/test/hook-management-integration.test.ts | 152 | // Step 8: Delete the hook | COMMENT |
| LOW⚡ | …ps/vscode/src/test/hook-management-integration.test.ts | 159 | // Step 9: Verify hook is gone | COMMENT |
| LOW⚡ | …ps/vscode/src/test/hook-management-integration.test.ts | 168 | // Step 10: Final refresh to confirm clean state | COMMENT |
| LOW⚡ | apps/vscode/src/standalone/cline-core.ts | 239 | // Step 1: Tell the paired host bridge to shut down | COMMENT |
| LOW⚡ | apps/vscode/src/standalone/cline-core.ts | 247 | // Step 2: Clean up lock manager entry | COMMENT |
| 5 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 | 127 | // 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 | 352 | // Step 1: Find the MOST RECENT api_req_started overall (search backwards) | COMMENT |
| LOW⚡ | …ui/src/components/chat/chat-view/utils/messageUtils.ts | 372 | // 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 | 381 | // 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 | 86 | // Step 1: Verify hook doesn't exist initially | COMMENT |
| LOW⚡ | …ps/vscode/src/test/hook-management-integration.test.ts | 90 | // Step 2: Create the hook | COMMENT |
| LOW⚡ | …ps/vscode/src/test/hook-management-integration.test.ts | 97 | // Step 3: Verify hook was created and is disabled (644 permissions) | COMMENT |
| LOW⚡ | …ps/vscode/src/test/hook-management-integration.test.ts | 113 | // Step 4: Enable the hook | COMMENT |
| LOW⚡ | …ps/vscode/src/test/hook-management-integration.test.ts | 121 | // Step 5: Verify hook is now enabled (executable) | COMMENT |
| LOW⚡ | …ps/vscode/src/test/hook-management-integration.test.ts | 131 | // Step 6: Disable the hook | COMMENT |
| LOW⚡ | …ps/vscode/src/test/hook-management-integration.test.ts | 139 | // Step 7: Verify hook is now disabled again | COMMENT |
| LOW⚡ | …ps/vscode/src/test/hook-management-integration.test.ts | 152 | // Step 8: Delete the hook | COMMENT |
| LOW⚡ | …ps/vscode/src/test/hook-management-integration.test.ts | 159 | // Step 9: Verify hook is gone | COMMENT |
| LOW⚡ | …ps/vscode/src/test/hook-management-integration.test.ts | 168 | // Step 10: Final refresh to confirm clean state | COMMENT |
| LOW⚡ | apps/vscode/src/standalone/cline-core.ts | 239 | // Step 1: Tell the paired host bridge to shut down | COMMENT |
| LOW⚡ | apps/vscode/src/standalone/cline-core.ts | 247 | // Step 2: Clean up lock manager entry | COMMENT |
| LOW | apps/vscode/src/standalone/cline-core.ts | 263 | // Step 3: Tear down services | COMMENT |
| LOW | apps/vscode/src/standalone/cline-core.ts | 276 | // 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/examples/plugins/weather-metrics.ts | 41 | // process.cwd() or import.meta.url, so it is correct even when --cwd was | COMMENT |
| LOW | …/runtime/orchestration/session-runtime-orchestrator.ts | 1021 | case "turn-started": { | COMMENT |
| LOW | …ges/core/src/extensions/plugin/plugin-module-import.ts | 641 | throw new Error("Unable to load jiti"); | COMMENT |
| LOW | …ges/llms/src/providers/middleware/split-tool-images.ts | 1 | // LanguageModelV3 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/community.ts | 41 | model: (modelId) => provider(modelId), | COMMENT |
| LOW | apps/cli/script/publish-npm.ts | 1 | #!/usr/bin/env bun | COMMENT |
| LOW | apps/cli/src/tui/palette.ts | 61 | // | 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 | 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 | …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 | …ents/chat/chat-view/components/layout/MessagesArea.tsx | 81 | // This is the sole early loading indicator - RequestStartRow does NOT duplicate it. | COMMENT |
| LOW | …/components/chat/chat-view/hooks/useMessageHandlers.ts | 201 | ) | COMMENT |
| LOW | apps/vscode/src/types/vscode-language-model.d.ts | 1 | // Ambient augmentation of the `vscode` module for the Language Model (LM) API. | 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/refreshGroqModels.ts | 41 | // enriches each model with curated pricing/capabilities. The SDK HAS a generic | 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 |
| LOW | apps/vscode/src/core/hooks/templates.ts | 361 | # event: string, | COMMENT |
| LOW | apps/vscode/src/core/hooks/templates.ts | 421 | # Input: { | COMMENT |
| LOW | apps/vscode/src/test/bun-test-preload.ts | 1 | // Preload for `bun test` (registered via bunfig.toml [test] preload). It makes | COMMENT |
| LOW | apps/vscode/src/test/bun-test-preload.ts | 21 | // @cline/shared/storage — and the tsconfig `paths` aliases resolve on their own.) | COMMENT |
| LOW | apps/vscode/src/test/bun-test-preload.ts | 41 | for (const name of Object.keys(realClineCore)) { | COMMENT |
| LOW | apps/vscode/src/test/bun-test-preload.ts | 61 | // • vi.hoisted(fn) — vitest hoists these above imports; under bun's ESM | COMMENT |
| LOW | apps/vscode/src/test/bun-test-preload.ts | 101 | // IMPORTANT: bun has a *built-in* `vitest` → `bun:test` compatibility shim that | COMMENT |
| LOW | apps/vscode/src/test/bun-test-preload.ts | 121 | // | COMMENT |
| LOW | apps/vscode/src/shared/api.ts | 181 | supportsPromptCache: false, | COMMENT |
| LOW | apps/vscode/src/shared/multi-root/types.ts | 21 | // path: "/Users/dev/frontend", | COMMENT |
| LOW | apps/vscode/src/sdk/message-translator.ts | 1 | // Replaces classic message streaming from src/core/task/index.ts (see origin/main) | COMMENT |
| LOW | apps/vscode/src/sdk/message-translator.ts | 1441 | // used this turn, otherwise awaiting_followup), and the green "Task Completed" box | COMMENT |
| LOW | apps/vscode/src/sdk/message-translator.ts | 1521 | // raw model output (which may contain JSON, tool call fragments, etc.) | COMMENT |
| LOW | apps/vscode/src/sdk/sdk-compaction.ts | 1 | // Replaces classic manual-condense handling from src/core/task (see origin/main) | COMMENT |
| LOW | apps/vscode/src/sdk/provider-migration.ts | 1 | // Replaces classic provider credential management (see origin/main) | COMMENT |
| LOW | apps/vscode/src/sdk/hooks-adapter.ts | 1 | // Bridges Cline's file-based hook scripts into the SDK's runtime hooks. | COMMENT |
| LOW | apps/vscode/src/sdk/bedrock-config.ts | 1 | // Maps the extension's legacy Bedrock ApiConfiguration onto the SDK's | COMMENT |
| LOW | apps/vscode/src/sdk/sdk-compaction-coordinator.ts | 1 | // Replaces classic manual-condense handling from src/core/task (see origin/main) | COMMENT |
| LOW | apps/vscode/src/sdk/message-id-minter.ts | 1 | // Single source of truth for ClineMessage identity (`id`), update freshness (`seq`), | COMMENT |
| LOW | apps/vscode/src/sdk/auth-service.test.ts | 1 | // Tests for the SDK-backed AuthService (Step 6: Auth & Account Flows) | COMMENT |
| LOW | apps/vscode/src/sdk/provider-migration.test.ts | 1 | import fs from "node:fs" | COMMENT |
| LOW | apps/vscode/src/sdk/state-post-debouncer.test.ts | 81 | COMMENT | |
| LOW | apps/vscode/src/sdk/vscode-lm/register-vscode-lm.ts | 1 | // Registers the VS Code Language Model handler with the Cline SDK. | COMMENT |
| LOW | apps/vscode/src/dev/debug-harness/README.md | 101 | # Dismiss overlays first (see "Dismissing Promotional Overlays" below) | COMMENT |
| LOW | apps/vscode/src/dev/debug-harness/server.ts | 1261 | // Method 1: Use the extension host's Runtime.evaluate to trigger the URI handler | COMMENT |
| LOW | apps/vscode/src/services/mcp/McpOAuthManager.ts | 1 | // MCP OAuth state is stored in the shared MCP settings file | COMMENT |
| 3 more matches not shown… | ||||
| 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/packages/core/scripts/telemetry-smoke-host.ts | 155 | email: "user@example.com", | CODE |
| LOW | sdk/packages/core/src/auth/cline.test.ts | 18 | email: "user@example.com", | CODE |
| LOW | sdk/packages/core/src/auth/cline.test.ts | 291 | email: "user@example.com", | CODE |
| LOW | sdk/packages/core/src/auth/cline.test.ts | 321 | 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 | 72 | values: { "-k": "123456:fake-token" }, | CODE |
| LOW | …ore/src/hub/server/handlers/connector-handlers.test.ts | 92 | "123456:fake-token", | CODE |
| LOW | …ore/src/hub/server/handlers/connector-handlers.test.ts | 106 | values: { "-k": "123456:fake-token" }, | CODE |
| LOW | …ore/src/hub/server/handlers/connector-handlers.test.ts | 118 | values: { "-k": "123456:fake-token" }, | CODE |
| LOW | …ore/src/hub/server/handlers/connector-handlers.test.ts | 217 | 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 | …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 |
|---|---|---|---|---|
| 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 |
|---|---|---|---|---|
| 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 | 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/vscode/README.marketplace.md | 26 | Thanks to [Claude Sonnet's agentic coding capabilities](https://www.anthropic.com/claude/sonnet), Cline can handle compl | CODE |
| MEDIUM | apps/vscode/src/sdk/cline-session-factory.ts | 678 | // not include these guardrails, so without this the model in plan mode may | COMMENT |
| 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 | 258 | // Tracks when users select an option from AI-generated followup questions | COMMENT |
| HIGH | apps/vscode/src/services/telemetry/TelemetryService.ts | 260 | // 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 | 660 | "# Optional Guidelines\n\nConsider these best practices...", | CODE |
| MEDIUM | …vscode/webview-ui/src/components/chat/ChatTextArea.tsx | 871 | // 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 | 672 | 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 |