Unlimited FREE AI coding. Connect Claude Code, Codex, Cursor, Cline, Copilot, Antigravity to FREE Claude/GPT/Gemini via 40+ providers. Auto-fallback, RTK -40% tokens, never hit limits.
This report presents the forensic synthetic code analysis of decolua/9router, a JavaScript project with 22,135 GitHub stars. SynthScan v2.0 examined 191,962 lines of code across 1144 source files, recording 551 pattern matches distributed across 11 syntactic categories. The overall adjusted score of 8.4 places this repository in the Low AI signal 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 551 distinct pattern matches across 11 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 |
|---|---|---|---|---|
| HIGH | README.md | 1376 | Authorization: Bearer your-api-key | CODE |
| HIGH | README.md | 1392 | Authorization: Bearer your-api-key | CODE |
| HIGH | README.zh-CN.md | 1242 | Authorization: Bearer your-api-key | CODE |
| HIGH | README.zh-CN.md | 1258 | Authorization: Bearer your-api-key | CODE |
| HIGH | gitbook/content/vi/troubleshooting.md | 247 | -H "Authorization: Bearer your-api-key" | CODE |
| HIGH | gitbook/content/vi/integration/other-tools.md | 21 | API Key: your-api-key-from-dashboard | CODE |
| HIGH | gitbook/content/vi/integration/other-tools.md | 28 | API Key: your-api-key-from-dashboard | CODE |
| HIGH | gitbook/content/vi/integration/other-tools.md | 55 | api_key="your-api-key-from-dashboard", | CODE |
| HIGH | gitbook/content/vi/integration/other-tools.md | 75 | apiKey: "your-api-key-from-dashboard", | CODE |
| HIGH | gitbook/content/vi/integration/other-tools.md | 94 | -H "Authorization: Bearer your-api-key-from-dashboard" \ | CODE |
| HIGH | gitbook/content/vi/integration/other-tools.md | 113 | Authorization: Bearer your-api-key-from-dashboard | CODE |
| HIGH | gitbook/content/vi/integration/other-tools.md | 136 | openai_api_key="your-api-key-from-dashboard", | CODE |
| HIGH | gitbook/content/vi/integration/other-tools.md | 153 | api_key="your-api-key-from-dashboard", | CODE |
| HIGH | gitbook/content/vi/integration/other-tools.md | 169 | openai.api_key = "your-api-key-from-dashboard" | CODE |
| HIGH | gitbook/content/vi/integration/other-tools.md | 201 | apiKey: "your-api-key-from-dashboard", | CODE |
| HIGH | gitbook/content/vi/integration/other-tools.md | 227 | api_key="your-api-key-from-dashboard", | CODE |
| HIGH | gitbook/content/vi/integration/other-tools.md | 256 | ROUTER_API_KEY=your-api-key-from-dashboard | CODE |
| HIGH | gitbook/content/vi/integration/other-tools.md | 277 | api_key="your-api-key", | CODE |
| HIGH | gitbook/content/vi/integration/other-tools.md | 298 | api_key="your-api-key", | CODE |
| HIGH | gitbook/content/vi/integration/other-tools.md | 344 | - Kiểm tra format header Authorization: `Bearer your-api-key` | CODE |
| HIGH | gitbook/content/vi/integration/continue.md | 33 | "apiKey": "your-api-key-from-dashboard", | CODE |
| HIGH⚡ | gitbook/content/vi/integration/continue.md | 48 | "apiKey": "your-api-key-from-dashboard", | CODE |
| HIGH⚡ | gitbook/content/vi/integration/continue.md | 55 | "apiKey": "your-api-key-from-dashboard", | CODE |
| HIGH⚡ | gitbook/content/vi/integration/continue.md | 62 | "apiKey": "your-api-key-from-dashboard", | CODE |
| HIGH⚡ | gitbook/content/vi/integration/continue.md | 69 | "apiKey": "your-api-key-from-dashboard", | CODE |
| HIGH | gitbook/content/vi/integration/continue.md | 145 | "apiKey": "your-api-key", | CODE |
| HIGH | gitbook/content/vi/integration/continue.md | 164 | "apiKey": "your-api-key", | CODE |
| HIGH | gitbook/content/vi/integration/roo.md | 26 | API Key: your-api-key-from-dashboard | CODE |
| HIGH | gitbook/content/vi/integration/roo.md | 32 | API Key: your-api-key-from-dashboard | CODE |
| HIGH | gitbook/content/vi/providers/cheap.md | 55 | API Key: zhipu-your-api-key-here | CODE |
| HIGH | gitbook/content/vi/features/quota-tracking.md | 565 | Authorization: Bearer your-api-key | CODE |
| HIGH | gitbook/content/vi/features/quota-tracking.md | 618 | Authorization: Bearer your-api-key | CODE |
| HIGH | gitbook/content/vi/features/combos.md | 384 | -H "Authorization: Bearer your-api-key" \ | CODE |
| HIGH | gitbook/content/vi/getting-started/installation.md | 150 | -H "Authorization: Bearer your-api-key" | CODE |
| HIGH | gitbook/content/vi/getting-started/installation.md | 172 | -H "Authorization: Bearer your-api-key" \ | CODE |
| HIGH | gitbook/content/ja/troubleshooting.md | 247 | -H "Authorization: Bearer your-api-key" | CODE |
| HIGH | gitbook/content/ja/integration/other-tools.md | 21 | API Key: your-api-key-from-dashboard | CODE |
| HIGH | gitbook/content/ja/integration/other-tools.md | 28 | API Key: your-api-key-from-dashboard | CODE |
| HIGH | gitbook/content/ja/integration/other-tools.md | 55 | api_key="your-api-key-from-dashboard", | CODE |
| HIGH | gitbook/content/ja/integration/other-tools.md | 75 | apiKey: "your-api-key-from-dashboard", | CODE |
| HIGH | gitbook/content/ja/integration/other-tools.md | 94 | -H "Authorization: Bearer your-api-key-from-dashboard" \ | CODE |
| HIGH | gitbook/content/ja/integration/other-tools.md | 113 | Authorization: Bearer your-api-key-from-dashboard | CODE |
| HIGH | gitbook/content/ja/integration/other-tools.md | 136 | openai_api_key="your-api-key-from-dashboard", | CODE |
| HIGH | gitbook/content/ja/integration/other-tools.md | 153 | api_key="your-api-key-from-dashboard", | CODE |
| HIGH | gitbook/content/ja/integration/other-tools.md | 169 | openai.api_key = "your-api-key-from-dashboard" | CODE |
| HIGH | gitbook/content/ja/integration/other-tools.md | 201 | apiKey: "your-api-key-from-dashboard", | CODE |
| HIGH | gitbook/content/ja/integration/other-tools.md | 227 | api_key="your-api-key-from-dashboard", | CODE |
| HIGH | gitbook/content/ja/integration/other-tools.md | 256 | ROUTER_API_KEY=your-api-key-from-dashboard | CODE |
| HIGH | gitbook/content/ja/integration/other-tools.md | 277 | api_key="your-api-key", | CODE |
| HIGH | gitbook/content/ja/integration/other-tools.md | 298 | api_key="your-api-key", | CODE |
| HIGH | gitbook/content/ja/integration/continue.md | 33 | "apiKey": "your-api-key-from-dashboard", | CODE |
| HIGH⚡ | gitbook/content/ja/integration/continue.md | 48 | "apiKey": "your-api-key-from-dashboard", | CODE |
| HIGH⚡ | gitbook/content/ja/integration/continue.md | 55 | "apiKey": "your-api-key-from-dashboard", | CODE |
| HIGH⚡ | gitbook/content/ja/integration/continue.md | 62 | "apiKey": "your-api-key-from-dashboard", | CODE |
| HIGH⚡ | gitbook/content/ja/integration/continue.md | 69 | "apiKey": "your-api-key-from-dashboard", | CODE |
| HIGH | gitbook/content/ja/integration/continue.md | 145 | "apiKey": "your-api-key", | CODE |
| HIGH | gitbook/content/ja/integration/continue.md | 164 | "apiKey": "your-api-key", | CODE |
| HIGH | gitbook/content/ja/integration/roo.md | 26 | API Key: your-api-key-from-dashboard | CODE |
| HIGH | gitbook/content/ja/integration/roo.md | 32 | API Key: your-api-key-from-dashboard | CODE |
| HIGH | gitbook/content/ja/providers/cheap.md | 55 | API Key: zhipu-your-api-key-here | CODE |
| 110 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | open-sse/config/ttsModels.js | 3 | // ── Voice definitions (DRY — reused across providers) ────────────────────── | COMMENT |
| MEDIUM | open-sse/config/ttsModels.js | 36 | // ── TTS Config (config-driven, single source of truth) ───────────────────── | COMMENT |
| MEDIUM | open-sse/config/ttsModels.js | 112 | // ── Helper: get voices for a specific model ──────────────────────────────── | COMMENT |
| MEDIUM | open-sse/config/ttsModels.js | 119 | // ── Build flat entries for PROVIDER_MODELS backward compat ───────────────── | COMMENT |
| MEDIUM⚡ | open-sse/providers/REGISTRY_TEMPLATE.js | 17 | // ── identity ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | open-sse/providers/REGISTRY_TEMPLATE.js | 24 | // ── auth hints (only when relevant) ────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | open-sse/providers/REGISTRY_TEMPLATE.js | 30 | // ── UI display ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | open-sse/providers/REGISTRY_TEMPLATE.js | 43 | // ── transport (HTTP runtime) → PROVIDERS[id] ───────────────────────────── | COMMENT |
| MEDIUM | open-sse/providers/REGISTRY_TEMPLATE.js | 60 | // ── oauth flow → PROVIDER_OAUTH[id] (omit for pure API-key) ─────────────── | COMMENT |
| MEDIUM | open-sse/providers/REGISTRY_TEMPLATE.js | 76 | // ── media (non-LLM services) → PROVIDER_MEDIA[id] ──────────────────────── | COMMENT |
| MEDIUM | open-sse/providers/REGISTRY_TEMPLATE.js | 87 | // ── models (omit = no key; [] = explicit empty) ────────────────────────── | COMMENT |
| MEDIUM | open-sse/providers/REGISTRY_TEMPLATE.js | 94 | // ── optional flags ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | open-sse/providers/capabilities.js | 9 | // ── HOW TO ADD / UPDATE A MODEL ────────────────────────────────────── | COMMENT |
| MEDIUM | open-sse/providers/capabilities.js | 145 | // ── Claude (4.6+ = adaptive thinking; older/haiku = budget) ────── | COMMENT |
| MEDIUM | open-sse/providers/capabilities.js | 169 | // ── OpenAI GPT-5.x (vision + thinking + web search) ────────────── | COMMENT |
| MEDIUM | open-sse/providers/capabilities.js | 180 | // ── OpenAI o-series (reasoning, vision) ────────────────────────── | COMMENT |
| MEDIUM | open-sse/providers/capabilities.js | 186 | // ── Grok (vision + Live Search) ────────────────────────────────── | COMMENT |
| MEDIUM | open-sse/providers/capabilities.js | 208 | // ── Kimi (enabled→reasoning_effort; K2.7-code cannot disable) ───── | COMMENT |
| MEDIUM⚡ | open-sse/providers/capabilities.js | 226 | // ── MiniMax (M3 = adaptive; M2.x cannot disable) ───────────────── | COMMENT |
| MEDIUM⚡ | open-sse/providers/capabilities.js | 232 | // ── Xiaomi MiMo (vision, 1M / 262K ctx) ────────────────────────── | COMMENT |
| MEDIUM⚡ | open-sse/providers/capabilities.js | 237 | // ── Llama (4 = vision/1M; 3.x = text-only/128K) ────────────────── | COMMENT |
| MEDIUM⚡ | open-sse/providers/capabilities.js | 241 | // ── Mistral (Large 3 = vision/256K; codestral text) ────────────── | COMMENT |
| MEDIUM⚡ | open-sse/providers/capabilities.js | 246 | // ── Cohere (Command A Vision = vision; others text) ────────────── | COMMENT |
| MEDIUM⚡ | open-sse/providers/capabilities.js | 250 | // ── Perplexity (web search native) ─────────────────────────────── | COMMENT |
| MEDIUM⚡ | open-sse/providers/capabilities.js | 255 | // ── Others ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | open-sse/utils/proxyFetch.js | 8 | // ─── TLS fingerprinting via got-scraping (browser-like JA3) ─────────────── | COMMENT |
| MEDIUM | open-sse/handlers/ttsCore.js | 14 | // ── Response Formatter (DRY) ─────────────────────────────────── | COMMENT |
| MEDIUM | open-sse/handlers/ttsCore.js | 44 | // ── Core handler ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | open-sse/handlers/search/callers.js | 33 | // ── Helpers ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | open-sse/handlers/search/callers.js | 87 | // ── Provider Request Builders ─────────────────────────────────────────── | COMMENT |
| MEDIUM | open-sse/handlers/search/callers.js | 330 | // ── Dispatcher ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | open-sse/services/projectId.js | 12 | // ─── Cache ──────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | open-sse/services/projectId.js | 19 | // ─── Pending-fetch deduplication ───────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | open-sse/services/projectId.js | 26 | // ─── Periodic cleanup ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | open-sse/services/projectId.js | 76 | // ─── Public API ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | open-sse/services/projectId.js | 148 | // ─── Internal helpers ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | open-sse/services/usage/minimax.js | 14 | // ── MiniMax helpers ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/unit/embeddings.cloud.test.js | 21 | // ─── Module mocks (hoisted before imports) ─────────────────────────────────── | COMMENT |
| MEDIUM | tests/unit/embeddings.cloud.test.js | 59 | // ─── Imports (after mocks) ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/unit/embeddings.cloud.test.js | 67 | // ─── Fixtures ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/unit/embeddings.cloud.test.js | 116 | // ─── Tests: CORS OPTIONS ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/unit/embeddings.cloud.test.js | 136 | // ─── Tests: Authentication ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/unit/embeddings.cloud.test.js | 231 | // ─── Tests: Body validation ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/unit/embeddings.cloud.test.js | 290 | // ─── Tests: Happy path — valid request ──────────────────────────────────────── | COMMENT |
| MEDIUM | tests/unit/embeddings.cloud.test.js | 378 | // ─── Tests: Rate limiting ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/unit/embeddings.cloud.test.js | 471 | // ─── Tests: machineId-override (old-format URL path) ───────────────────────── | COMMENT |
| MEDIUM | tests/unit/antigravity-cache.test.js | 145 | // ─── Codex-style sessionId comparison ──────────────────────────────── | COMMENT |
| MEDIUM | tests/unit/embeddingsCore.test.js | 13 | // ─── Mock the executors/index.js to avoid transitive uuid dependency ───────── | COMMENT |
| MEDIUM | tests/unit/embeddingsCore.test.js | 35 | // ─── Helpers ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/unit/embeddingsCore.test.js | 80 | // ─── Test: buildEmbeddingsBody (via handleEmbeddingsCore internals) ────────── | COMMENT |
| MEDIUM | tests/unit/embeddingsCore.test.js | 191 | // ─── Test: buildEmbeddingsUrl ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/unit/embeddingsCore.test.js | 306 | // ─── Test: buildEmbeddingsHeaders ─────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/unit/embeddingsCore.test.js | 373 | // ─── Test: handleEmbeddingsCore — input validation ─────────────────────────── | COMMENT |
| MEDIUM | tests/unit/embeddingsCore.test.js | 440 | // ─── Test: handleEmbeddingsCore — success path ─────────────────────────────── | COMMENT |
| MEDIUM | tests/unit/embeddingsCore.test.js | 517 | // ─── Test: handleEmbeddingsCore — provider error handling ──────────────────── | COMMENT |
| MEDIUM | tests/unit/embeddingsCore.test.js | 589 | // ─── Test: handleEmbeddingsCore — token refresh on 401 ─────────────────────── | COMMENT |
| MEDIUM | tests/unit/oauth-cursor-auto-import.test.js | 66 | // ── macOS path probing ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/unit/oauth-cursor-auto-import.test.js | 88 | // ── Token extraction ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/unit/oauth-cursor-auto-import.test.js | 123 | // ── Fuzzy fallback (macOS only) ─────────────────────────────────────── | COMMENT |
| MEDIUM | tests/unit/claude-header-forwarding.test.js | 15 | // ─── claudeHeaderCache ──────────────────────────────────────────────────────── | COMMENT |
| 49 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | open-sse/config/kiroConstants.js | 108 | export function resolveKiroThinkingBudget(body, headers, model) { | CODE |
| LOW | open-sse/config/kiroConstants.js | 234 | export function buildThinkingSystemPrefix(budget = KIRO_THINKING_BUDGET_DEFAULT) { | CODE |
| LOW | open-sse/config/providers.js | 16 | export function resolveXiaomiTokenplanBaseUrl(credentials) { | CODE |
| LOW | open-sse/transformer/responsesTransformer.js | 54 | export function createResponsesApiTransformStream(logger = null) { | CODE |
| LOW | open-sse/transformer/streamToJsonConverter.js | 49 | export async function convertResponsesStreamToJson(stream) { | CODE |
| LOW | open-sse/providers/capabilities.js | 65 | export function capabilitiesFromServiceKind(kind) { | CODE |
| LOW | open-sse/utils/streamHandler.js | 98 | export function createDisconnectAwareStream(transformStream, streamController, onAbortTerminal = null) { | CODE |
| LOW | open-sse/utils/stream.js | 467 | export function createSSETransformStreamWithLogger(targetFormat, sourceFormat, provider = null, reqLogger = null, toolNa | CODE |
| LOW | open-sse/utils/stream.js | 483 | export function createPassthroughStreamWithLogger(provider = null, reqLogger = null, model = null, connectionId = null, | CODE |
| LOW | open-sse/utils/bypassHandler.js | 128 | function createNonStreamingResponse(sourceFormat, model, text) { | CODE |
| LOW | open-sse/utils/bypassHandler.js | 279 | function createOpenAIStreamingChunks(completeResponse) { | CODE |
| LOW | open-sse/utils/proxyFetch.js | 203 | function resolveConnectionProxyUrl(targetUrl, proxyOptions) { | CODE |
| LOW⚡ | open-sse/utils/responsesStreamHelpers.js | 13 | export function getOpenAIResponsesEventName(eventName, chunk) { | CODE |
| LOW⚡ | open-sse/utils/responsesStreamHelpers.js | 19 | export function isOpenAIResponsesTerminalEvent(eventName, chunk) { | CODE |
| LOW⚡ | open-sse/utils/responsesStreamHelpers.js | 29 | export function buildAbortedResponsesTerminalBytes() { | CODE |
| LOW⚡ | open-sse/utils/responsesStreamHelpers.js | 34 | export function formatIncompleteOpenAIResponsesStreamFailure() { | CODE |
| LOW | open-sse/utils/sessionManager.js | 127 | function extractAntigravitySession(body) { | CODE |
| LOW | open-sse/shared/clineAuth.js | 12 | export function getClineAuthorizationHeader(token) { | CODE |
| LOW | open-sse/translator/formats/claude.js | 111 | export function normalizeClaudePassthrough(body, model = "") { | CODE |
| LOW | open-sse/translator/formats/gemini.js | 40 | export function convertOpenAIContentToParts(content) { | CODE |
| LOW | open-sse/translator/formats/gemini.js | 132 | function removeUnsupportedKeywords(obj, keywords) { | CODE |
| LOW | open-sse/translator/formats/gemini.js | 172 | function convertEnumValuesToStrings(obj) { | CODE |
| LOW | open-sse/translator/formats/gemini.js | 306 | export function cleanJSONSchemaForAntigravity(schema) { | CODE |
| LOW | open-sse/translator/formats/responsesApi.js | 31 | export function convertResponsesApiFormat(body) { | CODE |
| LOW | open-sse/translator/response/openai-to-antigravity.js | 9 | export function openaiToAntigravityResponse(chunk, state) { | CODE |
| LOW | open-sse/translator/response/openai-responses.js | 17 | export function openaiToOpenAIResponsesResponse(chunk, state) { | CODE |
| LOW | open-sse/translator/response/openai-responses.js | 376 | export function openaiResponsesToOpenAIResponse(chunk, state) { | CODE |
| LOW | open-sse/translator/response/commandcode-to-openai.js | 52 | export function commandCodeToOpenAIResponse(chunk, state) { | CODE |
| LOW | open-sse/translator/request/claude-to-kiro.js | 74 | function flattenClaudeToolInteractions(messages) { | CODE |
| LOW | open-sse/translator/request/claude-to-kiro.js | 112 | function convertClaudeMessagesToKiro(messages, tools, model) { | CODE |
| LOW | open-sse/translator/request/claude-to-kiro.js | 326 | function reconcileOrphanedToolResults(history, currentMessage) { | CODE |
| LOW | open-sse/translator/request/openai-to-kiro.js | 119 | function reconcileOrphanedToolResults(history, currentMessage) { | CODE |
| LOW | open-sse/translator/request/openai-to-gemini.js | 25 | function sanitizeGeminiFunctionName(name) { | CODE |
| LOW | open-sse/translator/request/openai-to-gemini.js | 299 | function wrapInCloudCodeEnvelopeForClaude(model, claudeRequest, credentials = null, signature = DEFAULT_THINKING_AG_SIGN | CODE |
| LOW | open-sse/translator/request/openai-to-gemini.js | 429 | export function openaiToAntigravityRequest(model, body, stream, credentials = null) { | CODE |
| LOW | open-sse/translator/request/claude-to-openai.js | 8 | function stripAnthropicBillingHeader(text) { | CODE |
| LOW | open-sse/translator/request/claude-to-openai.js | 97 | function fixMissingToolResponsesOpenAI(messages) { | CODE |
| LOW | open-sse/translator/request/antigravity-to-openai.js | 11 | export function antigravityToOpenAIRequest(model, body, stream) { | CODE |
| LOW | open-sse/translator/request/openai-responses.js | 19 | export function openaiResponsesToOpenAIRequest(model, body, stream, credentials) { | CODE |
| LOW | open-sse/translator/request/openai-responses.js | 257 | export function openaiToOpenAIResponsesRequest(model, body, stream, credentials) { | CODE |
| LOW | open-sse/translator/request/openai-to-claude.js | 201 | function getContentBlocksFromMessage(msg, toolNameMap = new Map()) { | CODE |
| LOW | open-sse/translator/request/openai-to-claude.js | 328 | function openaiToClaudeRequestForAntigravity(model, body, stream) { | CODE |
| LOW | open-sse/translator/request/openai-to-commandcode.js | 136 | export function openaiToCommandCodeRequest(model, body, stream /* , credentials */) { | CODE |
| LOW | open-sse/translator/concerns/thinkingUnified.js | 174 | function getGeminiGenerationConfig(body) { | CODE |
| LOW | open-sse/translator/concerns/modality.js | 122 | export function stripUnsupportedModalities(body, sourceFormat, caps) { | CODE |
| LOW | open-sse/executors/grok-cli.js | 89 | function stripStoredItemReferences(body) { | CODE |
| LOW | open-sse/executors/codex.js | 48 | function convertSystemToDeveloperRole(body) { | CODE |
| LOW | open-sse/executors/codex.js | 58 | function stripStoredItemReferences(body) { | CODE |
| LOW | open-sse/executors/cursor.js | 51 | function visibleComposerContentFromThinking(thinking) { | CODE |
| LOW | open-sse/executors/kimchi.js | 89 | function isAnthropicBackedKimchiModel(model) { | CODE |
| LOW | open-sse/executors/grok-web.js | 190 | async function buildNonStreamingResponse(eventStream, model, cid, created, isThinkingModel, signal) { | CODE |
| LOW | open-sse/executors/perplexity-web.js | 357 | async function buildNonStreamingResponse(eventStream, model, cid, created, history, currentMsg, signal) { | CODE |
| LOW | open-sse/executors/qwen.js | 39 | function sanitizeQwenThinkingToolChoice(body) { | CODE |
| LOW | open-sse/rtk/headroom.js | 78 | function hasUnsafeResponsesInputForCompression(body) { | CODE |
| LOW | open-sse/rtk/headroom.js | 86 | function collectKiroHeadroomMessages(body) { | CODE |
| LOW | open-sse/rtk/headroom.js | 172 | function applyKiroHeadroomMessages(projection, compressedMessages, diagnostics) { | CODE |
| LOW | open-sse/handlers/imageGenerationCore.js | 29 | export async function handleImageGenerationCore({ | CODE |
| LOW | open-sse/handlers/sttCore.js | 140 | async function transcribeOpenAICompatible(cfg, file, model, token, formData) { | CODE |
| LOW | open-sse/handlers/embeddingProviders/openai.js | 13 | export default function createOpenAIEmbeddingAdapter(providerId) { | CODE |
| LOW | open-sse/handlers/chatCore/nonStreamingHandler.js | 23 | function openAICompletionToClaudeMessage(responseBody) { | CODE |
| 101 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | open-sse/translator/index.js | 86 | // Step 1: source -> openai (if source is not openai) | COMMENT |
| LOW⚡ | open-sse/translator/index.js | 96 | // Step 2: openai -> target (if target is not openai) | COMMENT |
| LOW | open-sse/translator/index.js | 169 | // Step 1: target -> openai (if target is not openai) | COMMENT |
| LOW | open-sse/translator/index.js | 182 | // Step 2: openai -> source (if source is not openai) | COMMENT |
| LOW | cli/scripts/build-cli.js | 90 | // Step 0: Sync version from app/cli/package.json to app/package.json | COMMENT |
| LOW | cli/scripts/build-cli.js | 103 | // Step 1: Build app with Next.js (workspace tracing root → traced node_modules in standalone). | COMMENT |
| LOW⚡ | cli/scripts/build-cli.js | 125 | // Step 2: Clean old app/cli/app if exists | COMMENT |
| LOW⚡ | cli/scripts/build-cli.js | 132 | // Step 3: Copy Next.js standalone build to app/cli/app. | COMMENT |
| LOW | cli/scripts/build-cli.js | 205 | // Step 4: Copy static files | COMMENT |
| LOW | cli/scripts/build-cli.js | 217 | // Step 5: Copy public folder if exists | COMMENT |
| LOW | cli/scripts/build-cli.js | 228 | // Step 6: Copy vendor-chunks (required for production) | COMMENT |
| LOW | cli/scripts/build-cli.js | 240 | // Step 7: Copy MITM server files (not bundled by Next.js standalone) | COMMENT |
| LOW | cli/scripts/build-cli.js | 262 | // Step 8: Build MITM server (config driven - see app/cli/scripts/buildMitm.js) | COMMENT |
| LOW⚡ | cli/src/cli/menus/providers.js | 558 | // Step 1: Request device code | COMMENT |
| LOW⚡ | cli/src/cli/menus/providers.js | 777 | // Step 1: Select type | COMMENT |
| LOW⚡ | cli/src/cli/menus/providers.js | 787 | // Step 2: Inputs | COMMENT |
| LOW⚡ | cli/src/cli/menus/providers.js | 797 | // Step 3: API type (OpenAI only) | COMMENT |
| LOW | cli/src/cli/menus/providers.js | 460 | // Step 1: Get auth URL | COMMENT |
| LOW | cli/src/cli/menus/providers.js | 482 | // Step 2: Show URL and instructions | COMMENT |
| LOW | cli/src/cli/menus/providers.js | 505 | // Step 3: Parse callback URL and extract code | COMMENT |
| LOW | cli/src/cli/menus/providers.js | 531 | // Step 4: Exchange code for tokens | COMMENT |
| LOW | cli/src/cli/menus/providers.js | 582 | // Step 2: Show instructions | COMMENT |
| LOW | cli/src/cli/menus/providers.js | 599 | // Step 3: Poll for token | COMMENT |
| LOW⚡ | gitbook/content/en/features/combos.md | 71 | ### Step 1: Open Dashboard | COMMENT |
| LOW⚡ | gitbook/content/en/features/combos.md | 78 | ### Step 2: Navigate to Combos | COMMENT |
| LOW⚡ | gitbook/content/en/features/combos.md | 84 | ### Step 3: Configure Combo | COMMENT |
| LOW | gitbook/content/en/features/combos.md | 105 | ### Step 4: Save | COMMENT |
| LOW | gitbook/content/en/features/combos.md | 112 | ### Step 5: Use in CLI | COMMENT |
| LOW⚡ | gitbook/content/en/deployment/cloud.md | 16 | ### Step 1: Clone Repository | COMMENT |
| LOW⚡ | gitbook/content/en/deployment/cloud.md | 23 | ### Step 2: Install Dependencies | COMMENT |
| LOW⚡ | gitbook/content/en/deployment/cloud.md | 29 | ### Step 3: Build Application | COMMENT |
| LOW⚡ | gitbook/content/en/deployment/cloud.md | 35 | ### Step 4: Configure Environment Variables | COMMENT |
| LOW⚡ | gitbook/content/en/deployment/cloud.md | 56 | ### Step 5: Create Data Directory | COMMENT |
| LOW⚡ | gitbook/content/en/deployment/cloud.md | 63 | ### Step 6: Start Application | COMMENT |
| LOW⚡ | gitbook/content/en/deployment/cloud.md | 69 | ### Step 7: Setup PM2 for Production | COMMENT |
| LOW | gitbook/content/en/deployment/cloud.md | 217 | ### Step 1: Install Nginx | COMMENT |
| LOW | gitbook/content/en/deployment/cloud.md | 224 | ### Step 2: Configure Nginx | COMMENT |
| LOW | gitbook/content/en/deployment/cloud.md | 283 | ### Step 3: Enable Site | COMMENT |
| LOW | gitbook/content/en/deployment/cloud.md | 296 | ### Step 4: Setup SSL with Let's Encrypt | COMMENT |
| LOW | src/app/api/oauth/iflow/cookie/route.js | 28 | // Step 1: GET API key info to get the name | COMMENT |
| LOW | src/app/api/oauth/iflow/cookie/route.js | 65 | // Step 2: POST to refresh API key | COMMENT |
| LOW | src/app/api/cli-tools/cowork-mcp-tools/route.js | 18 | // Step 1: initialize | COMMENT |
| LOW⚡ | src/app/api/cli-tools/cowork-mcp-tools/route.js | 40 | // Step 2: notifications/initialized (required by spec before tools/list) | COMMENT |
| LOW⚡ | src/app/api/cli-tools/cowork-mcp-tools/route.js | 48 | // Step 3: tools/list | COMMENT |
| LOW | src/app/(dashboard)/dashboard/translator/page.js | 67 | // Step 1: detect provider/format from model field | COMMENT |
| LOW | src/mitm/manager.js | 534 | // Step 1: Generate Root CA if missing or expired | COMMENT |
| LOW | src/mitm/manager.js | 574 | // Step 2: Spawn server (Root CA already installed in Step 1.5) | COMMENT |
| LOW | src/lib/oauth/providers.js | 925 | // Step 1: Register client with AWS SSO OIDC | COMMENT |
| LOW | src/lib/oauth/providers.js | 948 | // Step 2: Request device authorization | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | open-sse/translator/index.js | 86 | // Step 1: source -> openai (if source is not openai) | COMMENT |
| LOW⚡ | open-sse/translator/index.js | 96 | // Step 2: openai -> target (if target is not openai) | COMMENT |
| LOW | open-sse/translator/index.js | 169 | // Step 1: target -> openai (if target is not openai) | COMMENT |
| LOW | open-sse/translator/index.js | 182 | // Step 2: openai -> source (if source is not openai) | COMMENT |
| LOW | cli/scripts/build-cli.js | 90 | // Step 0: Sync version from app/cli/package.json to app/package.json | COMMENT |
| LOW | cli/scripts/build-cli.js | 103 | // Step 1: Build app with Next.js (workspace tracing root → traced node_modules in standalone). | COMMENT |
| LOW⚡ | cli/scripts/build-cli.js | 125 | // Step 2: Clean old app/cli/app if exists | COMMENT |
| LOW⚡ | cli/scripts/build-cli.js | 132 | // Step 3: Copy Next.js standalone build to app/cli/app. | COMMENT |
| LOW | cli/scripts/build-cli.js | 205 | // Step 4: Copy static files | COMMENT |
| LOW | cli/scripts/build-cli.js | 217 | // Step 5: Copy public folder if exists | COMMENT |
| LOW | cli/scripts/build-cli.js | 228 | // Step 6: Copy vendor-chunks (required for production) | COMMENT |
| LOW | cli/scripts/build-cli.js | 240 | // Step 7: Copy MITM server files (not bundled by Next.js standalone) | COMMENT |
| LOW | cli/scripts/build-cli.js | 262 | // Step 8: Build MITM server (config driven - see app/cli/scripts/buildMitm.js) | COMMENT |
| LOW⚡ | cli/src/cli/menus/providers.js | 558 | // Step 1: Request device code | COMMENT |
| LOW⚡ | cli/src/cli/menus/providers.js | 777 | // Step 1: Select type | COMMENT |
| LOW⚡ | cli/src/cli/menus/providers.js | 787 | // Step 2: Inputs | COMMENT |
| LOW⚡ | cli/src/cli/menus/providers.js | 797 | // Step 3: API type (OpenAI only) | COMMENT |
| LOW | cli/src/cli/menus/providers.js | 460 | // Step 1: Get auth URL | COMMENT |
| LOW | cli/src/cli/menus/providers.js | 482 | // Step 2: Show URL and instructions | COMMENT |
| LOW | cli/src/cli/menus/providers.js | 505 | // Step 3: Parse callback URL and extract code | COMMENT |
| LOW | cli/src/cli/menus/providers.js | 531 | // Step 4: Exchange code for tokens | COMMENT |
| LOW | cli/src/cli/menus/providers.js | 582 | // Step 2: Show instructions | COMMENT |
| LOW | cli/src/cli/menus/providers.js | 599 | // Step 3: Poll for token | COMMENT |
| LOW | src/app/api/oauth/iflow/cookie/route.js | 28 | // Step 1: GET API key info to get the name | COMMENT |
| LOW | src/app/api/oauth/iflow/cookie/route.js | 65 | // Step 2: POST to refresh API key | COMMENT |
| LOW | src/app/api/cli-tools/cowork-mcp-tools/route.js | 18 | // Step 1: initialize | COMMENT |
| LOW⚡ | src/app/api/cli-tools/cowork-mcp-tools/route.js | 40 | // Step 2: notifications/initialized (required by spec before tools/list) | COMMENT |
| LOW⚡ | src/app/api/cli-tools/cowork-mcp-tools/route.js | 48 | // Step 3: tools/list | COMMENT |
| LOW | src/app/(dashboard)/dashboard/translator/page.js | 67 | // Step 1: detect provider/format from model field | COMMENT |
| LOW | src/mitm/manager.js | 534 | // Step 1: Generate Root CA if missing or expired | COMMENT |
| LOW | src/mitm/manager.js | 574 | // Step 2: Spawn server (Root CA already installed in Step 1.5) | COMMENT |
| LOW | src/lib/oauth/providers.js | 925 | // Step 1: Register client with AWS SSO OIDC | COMMENT |
| LOW | src/lib/oauth/providers.js | 948 | // Step 2: Request device authorization | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | open-sse/providers/models/schema.js | 6 | // touched, so word/suffix hyphens stay intact ("-thinking", "-agentic", "qwen3-coder-next"). | COMMENT |
| MEDIUM | open-sse/translator/request/claude-to-kiro.js | 424 | // Prefix order: thinking_mode tag, timestamp marker, then agentic prompt. | COMMENT |
| MEDIUM | open-sse/translator/request/openai-to-kiro.js | 555 | // then context/timestamp marker, then optional agentic chunked-write prompt. | COMMENT |
| MEDIUM | tests/__baseline__/baseline-results.json | 1 | {"numTotalTestSuites":209,"numPassedTestSuites":192,"numFailedTestSuites":17,"numPendingTestSuites":0,"numTotalTests":67 | CODE |
| MEDIUM | tests/__baseline__/current.json | 1 | {"numTotalTestSuites":276,"numPassedTestSuites":259,"numFailedTestSuites":17,"numPendingTestSuites":0,"numTotalTests":84 | CODE |
| MEDIUM | src/app/api/v1/models/route.js | 327 | // -thinking/-agentic variants per account). On failure, fall back to | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | open-sse/providers/REGISTRY_TEMPLATE.js | 41 | }, | COMMENT |
| LOW | open-sse/providers/REGISTRY_TEMPLATE.js | 61 | // oauth: { | COMMENT |
| LOW | open-sse/providers/REGISTRY_TEMPLATE.js | 81 | // embeddingConfig: { baseUrl: "...", authType: "apikey", authHeader: "bearer", models: [{ id: "emb-1", name: "Emb", | COMMENT |
| LOW | open-sse/providers/capabilities.js | 1 | // Model capabilities — what each model can read/do beyond plain text. | COMMENT |
| LOW | open-sse/providers/registry/qoder.js | 21 | timeoutMs: 120000, | COMMENT |
| LOW | open-sse/utils/requestLogger.js | 81 | // for (const key of Object.keys(masked)) { | COMMENT |
| LOW | open-sse/translator/formats/claude.js | 181 | } | COMMENT |
| LOW | open-sse/translator/request/openai-to-kiro.js | 461 | // input is only assistant messages), create a minimal currentMessage so | COMMENT |
| LOW | open-sse/translator/concerns/paramSupport.js | 1 | import { getCapabilitiesForModel } from "../../providers/capabilities.js"; | COMMENT |
| LOW | src/shared/constants/cliTools.js | 61 | { id: "claude-sonnet-4", name: "Claude Sonnet 4", alias: "claude-sonnet-4" }, | COMMENT |
| LOW | src/shared/constants/cliTools.js | 361 | ], | COMMENT |
| LOW | src/lib/oauth/services/kimchi.js | 1 | // Kimchi browser-login service. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | gitbook/content/vi/integration/other-tools.md | 288 | print(f"Error: {e}") | CODE |
| MEDIUM | gitbook/content/ja/integration/other-tools.md | 288 | print(f"Error: {e}") | CODE |
| MEDIUM | gitbook/content/zh-CN/integration/other-tools.md | 288 | print(f"Error: {e}") | CODE |
| MEDIUM | gitbook/content/es/integration/other-tools.md | 288 | print(f"Error: {e}") | CODE |
| MEDIUM | gitbook/content/en/integration/other-tools.md | 288 | print(f"Error: {e}") | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …rd)/dashboard/cli-tools/components/OpenCodeToolCard.js | 62 | setSubagentModel(status.config.agent.explorer.model.replace("9router/", "")); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/unit/kiro-external-idp.test.js | 6 | const TEST_EMAIL = "user@example.com"; | CODE |
| LOW | tests/unit/grok-cli-usage.test.js | 56 | email: "user@example.com", | CODE |
| LOW | tests/unit/grok-cli-usage.test.js | 120 | email: "user@example.com", | CODE |
| LOW | …oard)/dashboard/providers/[id]/BulkImportCodexModal.js | 13 | "email": "user@example.com" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | open-sse/config/codexInstructions.js | 30 | ## Codex CLI harness, sandboxing, and approvals | COMMENT |