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 26,570 GitHub stars. SynthScan v2.0 examined 229,319 lines of code across 1295 source files, recording 651 pattern matches distributed across 11 syntactic categories. The overall adjusted score of 8.0 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 651 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 | 1458 | Authorization: Bearer your-api-key | CODE |
| HIGH | README.md | 1474 | Authorization: Bearer your-api-key | CODE |
| HIGH | README.zh-CN.md | 1246 | Authorization: Bearer your-api-key | CODE |
| HIGH | README.zh-CN.md | 1262 | 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 |
| 116 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 | 51 | // ── TTS Config (config-driven, single source of truth) ───────────────────── | COMMENT |
| MEDIUM | open-sse/config/ttsModels.js | 135 | // ── Helper: get voices for a specific model ──────────────────────────────── | COMMENT |
| MEDIUM | open-sse/config/ttsModels.js | 142 | // ── 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 | 191 | // ── Claude (4.6+ = adaptive thinking; older/haiku = budget) ────── | COMMENT |
| MEDIUM | open-sse/providers/capabilities.js | 217 | // ── OpenAI GPT-5.x (vision + thinking + web search) ────────────── | COMMENT |
| MEDIUM | open-sse/providers/capabilities.js | 228 | // ── OpenAI o-series (reasoning, vision) ────────────────────────── | COMMENT |
| MEDIUM | open-sse/providers/capabilities.js | 234 | // ── Grok (vision + Live Search) ────────────────────────────────── | COMMENT |
| MEDIUM | open-sse/providers/capabilities.js | 256 | // ── Kimi (enabled→reasoning_effort; K2.7-code cannot disable) ───── | COMMENT |
| MEDIUM⚡ | open-sse/providers/capabilities.js | 276 | // ── MiniMax (M3 = adaptive; M2.x cannot disable) ───────────────── | COMMENT |
| MEDIUM⚡ | open-sse/providers/capabilities.js | 282 | // ── Xiaomi MiMo (vision, 1M / 262K ctx) ────────────────────────── | COMMENT |
| MEDIUM⚡ | open-sse/providers/capabilities.js | 287 | // ── Llama (4 = vision/1M; 3.x = text-only/128K) ────────────────── | COMMENT |
| MEDIUM⚡ | open-sse/providers/capabilities.js | 291 | // ── Mistral (Large 3 = vision/256K; codestral text) ────────────── | COMMENT |
| MEDIUM⚡ | open-sse/providers/capabilities.js | 296 | // ── Cohere (Command A Vision = vision; others text) ────────────── | COMMENT |
| MEDIUM⚡ | open-sse/providers/capabilities.js | 300 | // ── Perplexity (web search native) ─────────────────────────────── | COMMENT |
| MEDIUM | open-sse/providers/capabilities.js | 312 | // ── Others ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | open-sse/utils/proxyFetch.js | 8 | // ─── TLS fingerprinting via got-scraping (browser-like JA3) ─────────────── | COMMENT |
| MEDIUM | open-sse/executors/devin-cli.js | 28 | // ─── Binary discovery ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | open-sse/executors/devin-cli.js | 66 | // ─── ACP JSON-RPC helper ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | open-sse/executors/devin-cli.js | 74 | // ─── Client-tools → MCP bridge ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | open-sse/executors/devin-cli.js | 250 | // ─── Multi-turn message → single prompt builder ───────────────────────────── | COMMENT |
| MEDIUM | open-sse/executors/devin-cli.js | 303 | // ─── DevinCliExecutor ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | open-sse/executors/devin-cli.js | 453 | // ── JSON-RPC state machine ────────────────────────────────────────── | COMMENT |
| MEDIUM | open-sse/executors/devin-cli.js | 597 | // ── stdout reader (NDJSON) ────────────────────────────────────────── | COMMENT |
| MEDIUM | open-sse/executors/devin-cli.js | 616 | // ── Initialize response ─────────────────────────────────────── | COMMENT |
| MEDIUM | open-sse/executors/devin-cli.js | 631 | // ── session/new response → get sessionId ────────────────────── | COMMENT |
| MEDIUM | open-sse/executors/devin-cli.js | 650 | // ── session/prompt response (ack / final result) ──────────── | COMMENT |
| MEDIUM | open-sse/executors/devin-cli.js | 708 | // ── Streaming notifications (session/update) ────────────────── | COMMENT |
| MEDIUM | open-sse/executors/devin-cli.js | 765 | // ── Error responses ─────────────────────────────────────────── | COMMENT |
| MEDIUM | open-sse/executors/devin-cli.js | 789 | // ── Send initialize ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | open-sse/executors/devin-cli.js | 825 | // ─── Helpers ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | open-sse/executors/windsurf.js | 25 | // ─── Model alias map (catalog name → Windsurf wire name) ───────────────────── | COMMENT |
| MEDIUM⚡ | open-sse/executors/windsurf.js | 27 | // ── Cognition SWE ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | open-sse/executors/windsurf.js | 32 | // ── Claude Opus 4.7 — effort-tiered ───────────────────────────────────── | COMMENT |
| MEDIUM⚡ | open-sse/executors/windsurf.js | 39 | // ── Claude Opus/Sonnet 4.6 ────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | open-sse/executors/windsurf.js | 46 | // ── Claude 4.5 ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | open-sse/executors/windsurf.js | 52 | // ── GPT-5.5 ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | open-sse/executors/windsurf.js | 65 | // ── GPT-5.4 ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | open-sse/executors/windsurf.js | 81 | // ── GPT-5.3-Codex ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | open-sse/executors/windsurf.js | 91 | // ── GPT-5.2 ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | open-sse/executors/windsurf.js | 98 | // ── GPT-5 ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | open-sse/executors/windsurf.js | 100 | // ── GPT-4.1 / 4o ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | open-sse/executors/windsurf.js | 104 | // ── Gemini ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | open-sse/executors/windsurf.js | 114 | // ── Others ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | open-sse/executors/windsurf.js | 125 | // ─── Minimal protobuf encoder ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | open-sse/executors/windsurf.js | 167 | // ─── Protobuf message builders ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | open-sse/executors/windsurf.js | 207 | // ─── gRPC-web framing ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | open-sse/executors/windsurf.js | 218 | // ─── Protobuf response decoder ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | open-sse/executors/windsurf.js | 350 | // ─── OpenAI messages → Windsurf wire ───────────────────────────────────────── | COMMENT |
| MEDIUM | open-sse/executors/windsurf.js | 371 | // ─── WindsurfExecutor ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | open-sse/handlers/ttsCore.js | 14 | // ── Response Formatter (DRY) ─────────────────────────────────── | COMMENT |
| 92 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | custom-server.js | 18 | function startBackgroundTokenRefreshFromCustomServer() { | CODE |
| LOW | open-sse/config/kiroConstants.js | 63 | export function applyKiroThinkingOverride(body, override) { | CODE |
| LOW | open-sse/config/kiroConstants.js | 147 | export function resolveKiroThinkingBudget(body, headers, model) { | CODE |
| LOW | open-sse/config/kiroConstants.js | 187 | function extractKiroGptEffortLevel(body) { | CODE |
| LOW | open-sse/config/kiroConstants.js | 202 | export function buildKiroAdditionalModelRequestFields(body, effortPath = "output_config") { | CODE |
| LOW | open-sse/config/kiroConstants.js | 239 | export function supportsKiroAdditionalModelRequestFields(model) { | CODE |
| LOW | open-sse/config/kiroConstants.js | 248 | export function buildKiroAdditionalModelRequestFieldsForModel(body, model) { | CODE |
| LOW | open-sse/config/kiroConstants.js | 354 | export function buildThinkingSystemPrefix(budget = KIRO_THINKING_BUDGET_DEFAULT) { | CODE |
| LOW | open-sse/config/providers.js | 16 | export function resolveXiaomiTokenplanBaseUrl(credentials) { | CODE |
| LOW | open-sse/config/grokCli.js | 7 | export function supportsGrokCliReasoningEffort(model) { | 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 | 470 | export function createSSETransformStreamWithLogger(targetFormat, sourceFormat, provider = null, reqLogger = null, toolNa | CODE |
| LOW | open-sse/utils/stream.js | 487 | 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 | 130 | function extractAntigravitySession(body) { | CODE |
| LOW | open-sse/utils/kiroSessionReplay.js | 134 | export function clearKiroSessionReplayStore() { | CODE |
| LOW | open-sse/shared/zedAuth.js | 60 | export function encodeZedPrivateKeyVerifier(privateKeyPem) { | CODE |
| LOW | open-sse/shared/zedAuth.js | 64 | export function decodeZedPrivateKeyVerifier(verifier) { | CODE |
| LOW | open-sse/shared/zedAuth.js | 197 | export async function fetchZedAuthenticatedUser(credentials, options = {}) { | CODE |
| LOW | open-sse/shared/clineAuth.js | 12 | export function getClineAuthorizationHeader(token) { | CODE |
| LOW | open-sse/translator/formats/claude.js | 116 | export function normalizeClaudePassthrough(body, model = "") { | CODE |
| LOW | open-sse/translator/formats/gemini.js | 46 | export function convertOpenAIContentToParts(content) { | CODE |
| LOW | open-sse/translator/formats/gemini.js | 138 | function removeUnsupportedKeywords(obj, keywords) { | CODE |
| LOW | open-sse/translator/formats/gemini.js | 178 | function convertEnumValuesToStrings(obj) { | CODE |
| LOW | open-sse/translator/formats/gemini.js | 312 | 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 | 415 | 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 | 44 | function convertClaudeMessagesToKiro(messages, model) { | 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 | 301 | 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/kiroConversation.js | 359 | function flattenAllStructuredTools(turns, repairs) { | CODE |
| LOW | open-sse/translator/concerns/kiroConversation.js | 383 | export function canonicalizeKiroConversation({ | CODE |
| LOW | open-sse/translator/concerns/thinkingUnified.js | 183 | function getGeminiGenerationConfig(body) { | CODE |
| LOW | open-sse/translator/concerns/modality.js | 135 | export function stripUnsupportedModalities(body, sourceFormat, caps) { | CODE |
| LOW | open-sse/executors/grok-cli.js | 151 | function stringifyGrokCliToolOutput(output) { | CODE |
| LOW | open-sse/executors/grok-cli.js | 161 | function normalizeGrokCliInputItem(item) { | CODE |
| LOW | open-sse/executors/grok-cli.js | 223 | function stripStoredItemReferences(body) { | CODE |
| LOW | open-sse/executors/codex.js | 49 | function convertSystemToDeveloperRole(body) { | CODE |
| LOW | open-sse/executors/codex.js | 59 | function stripStoredItemReferences(body) { | CODE |
| 133 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | open-sse/translator/index.js | 91 | // Step 1: source -> openai (if source is not openai) | COMMENT |
| LOW⚡ | open-sse/translator/index.js | 101 | // Step 2: openai -> target (if target is not openai) | COMMENT |
| LOW | open-sse/translator/index.js | 182 | // Step 1: target -> openai (if target is not openai) | COMMENT |
| LOW | open-sse/translator/index.js | 195 | // Step 2: openai -> source (if source is not openai) | COMMENT |
| LOW | cli/scripts/build-cli.js | 158 | // Step 0: Sync version from app/cli/package.json to app/package.json | COMMENT |
| LOW | cli/scripts/build-cli.js | 171 | // Step 1: Build app with Next.js (workspace tracing root → traced node_modules in standalone). | COMMENT |
| LOW⚡ | cli/scripts/build-cli.js | 193 | // Step 2: Clean old app/cli/app if exists | COMMENT |
| LOW⚡ | cli/scripts/build-cli.js | 200 | // Step 3: Copy Next.js standalone build to app/cli/app. | COMMENT |
| LOW | cli/scripts/build-cli.js | 260 | // Step 4: Copy static files | COMMENT |
| LOW | cli/scripts/build-cli.js | 272 | // Step 5: Copy public folder if exists | COMMENT |
| LOW | cli/scripts/build-cli.js | 283 | // Step 6: Copy vendor-chunks (required for production) | COMMENT |
| LOW | cli/scripts/build-cli.js | 302 | // Step 7: Copy MITM server files (not bundled by Next.js standalone) | COMMENT |
| LOW | cli/scripts/build-cli.js | 324 | // Step 8: Build MITM server (config driven - see app/cli/scripts/buildMitm.js) | COMMENT |
| LOW⚡ | cli/src/cli/menus/providers.js | 566 | // Step 1: Request device code | COMMENT |
| LOW⚡ | cli/src/cli/menus/providers.js | 785 | // Step 1: Select type | COMMENT |
| LOW⚡ | cli/src/cli/menus/providers.js | 795 | // Step 2: Inputs | COMMENT |
| LOW⚡ | cli/src/cli/menus/providers.js | 805 | // Step 3: API type (OpenAI only) | COMMENT |
| LOW | cli/src/cli/menus/providers.js | 468 | // Step 1: Get auth URL | COMMENT |
| LOW | cli/src/cli/menus/providers.js | 490 | // Step 2: Show URL and instructions | COMMENT |
| LOW | cli/src/cli/menus/providers.js | 513 | // Step 3: Parse callback URL and extract code | COMMENT |
| LOW | cli/src/cli/menus/providers.js | 539 | // Step 4: Exchange code for tokens | COMMENT |
| LOW | cli/src/cli/menus/providers.js | 590 | // Step 2: Show instructions | COMMENT |
| LOW | cli/src/cli/menus/providers.js | 607 | // 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/kiro.js | 18 | // Step 1: Register client with AWS SSO OIDC | COMMENT |
| LOW | src/lib/oauth/providers/kiro.js | 41 | // Step 2: Request device authorization | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | open-sse/translator/index.js | 91 | // Step 1: source -> openai (if source is not openai) | COMMENT |
| LOW⚡ | open-sse/translator/index.js | 101 | // Step 2: openai -> target (if target is not openai) | COMMENT |
| LOW | open-sse/translator/index.js | 182 | // Step 1: target -> openai (if target is not openai) | COMMENT |
| LOW | open-sse/translator/index.js | 195 | // Step 2: openai -> source (if source is not openai) | COMMENT |
| LOW | cli/scripts/build-cli.js | 158 | // Step 0: Sync version from app/cli/package.json to app/package.json | COMMENT |
| LOW | cli/scripts/build-cli.js | 171 | // Step 1: Build app with Next.js (workspace tracing root → traced node_modules in standalone). | COMMENT |
| LOW⚡ | cli/scripts/build-cli.js | 193 | // Step 2: Clean old app/cli/app if exists | COMMENT |
| LOW⚡ | cli/scripts/build-cli.js | 200 | // Step 3: Copy Next.js standalone build to app/cli/app. | COMMENT |
| LOW | cli/scripts/build-cli.js | 260 | // Step 4: Copy static files | COMMENT |
| LOW | cli/scripts/build-cli.js | 272 | // Step 5: Copy public folder if exists | COMMENT |
| LOW | cli/scripts/build-cli.js | 283 | // Step 6: Copy vendor-chunks (required for production) | COMMENT |
| LOW | cli/scripts/build-cli.js | 302 | // Step 7: Copy MITM server files (not bundled by Next.js standalone) | COMMENT |
| LOW | cli/scripts/build-cli.js | 324 | // Step 8: Build MITM server (config driven - see app/cli/scripts/buildMitm.js) | COMMENT |
| LOW⚡ | cli/src/cli/menus/providers.js | 566 | // Step 1: Request device code | COMMENT |
| LOW⚡ | cli/src/cli/menus/providers.js | 785 | // Step 1: Select type | COMMENT |
| LOW⚡ | cli/src/cli/menus/providers.js | 795 | // Step 2: Inputs | COMMENT |
| LOW⚡ | cli/src/cli/menus/providers.js | 805 | // Step 3: API type (OpenAI only) | COMMENT |
| LOW | cli/src/cli/menus/providers.js | 468 | // Step 1: Get auth URL | COMMENT |
| LOW | cli/src/cli/menus/providers.js | 490 | // Step 2: Show URL and instructions | COMMENT |
| LOW | cli/src/cli/menus/providers.js | 513 | // Step 3: Parse callback URL and extract code | COMMENT |
| LOW | cli/src/cli/menus/providers.js | 539 | // Step 4: Exchange code for tokens | COMMENT |
| LOW | cli/src/cli/menus/providers.js | 590 | // Step 2: Show instructions | COMMENT |
| LOW | cli/src/cli/menus/providers.js | 607 | // 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/kiro.js | 18 | // Step 1: Register client with AWS SSO OIDC | COMMENT |
| LOW | src/lib/oauth/providers/kiro.js | 41 | // Step 2: Request device authorization | 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/selfhosted-tts.js | 1 | // Self-hosted, OpenAI-compatible text-to-speech (Kokoro-FastAPI, openedai-speech, | COMMENT |
| LOW | open-sse/providers/registry/zed.js | 41 | url: "https://cloud.zed.dev/client/users/me", // verified in zed_account.rs | COMMENT |
| LOW | open-sse/providers/registry/selfhosted-embedding.js | 1 | // Self-hosted, OpenAI-compatible embeddings (llama.cpp / llama-server, vLLM, | COMMENT |
| LOW | open-sse/providers/registry/selfhosted-stt.js | 1 | // Self-hosted, OpenAI-compatible speech-to-text (whisper.cpp, faster-whisper, | COMMENT |
| LOW | open-sse/utils/requestLogger.js | 81 | // for (const key of Object.keys(masked)) { | COMMENT |
| LOW | open-sse/translator/formats/claude.js | 261 | // - Add thinking block for Anthropic endpoint (provider === "claude") | COMMENT |
| LOW | open-sse/translator/request/openai-to-kiro.js | 321 | const { history, currentMessage } = convertMessages(messages, upstreamModel); | COMMENT |
| LOW | open-sse/translator/concerns/paramSupport.js | 1 | import { getCapabilitiesForModel } from "../../providers/capabilities.js"; | COMMENT |
| LOW | open-sse/executors/devin-cli.js | 401 | // inject WINDSURF_API_KEY: this provider is noAuth, and a bogus/leaked key | COMMENT |
| LOW | open-sse/executors/trae.js | 1 | import { BaseExecutor } from "./base.js"; | COMMENT |
| LOW | open-sse/executors/zed.js | 1 | // ZedHostedExecutor — routes requests to Zed's hosted LLM aggregator | COMMENT |
| LOW | open-sse/handlers/chatCore.js | 81 | // Multi-endpoint providers: pick transport matching sourceFormat → zero translation. | COMMENT |
| LOW | …sse/handlers/embeddingProviders/selfhostedEmbedding.js | 1 | // Self-hosted embeddings — like openaiCompatNode, but the baseUrl is REQUIRED. | COMMENT |
| LOW | open-sse/handlers/chatCore/sseToJsonHandler.js | 321 | }, { endpoint: clientRawRequest?.endpoint || null })).catch(() => {}); | COMMENT |
| LOW | open-sse/handlers/ttsProviders/selfhostedTts.js | 1 | // Self-hosted OpenAI-compatible TTS — POST {baseUrl}/v1/audio/speech. | COMMENT |
| LOW | open-sse/handlers/ttsProviders/selfhostedTts.js | 21 | // would 404 with nothing pointing at the cause. | COMMENT |
| LOW | src/app/api/v1/models/route.js | 481 | // { id, name } — no per-model capability data. Fall back to the same | COMMENT |
| LOW | src/app/api/auth/login/route.js | 61 | COMMENT | |
| LOW | src/shared/constants/cliTools.js | 81 | // name: "Cursor", | COMMENT |
| LOW | src/shared/constants/cliTools.js | 461 | }, | COMMENT |
| LOW | src/shared/utils/bulkAdd.js | 1 | // Bulk-add API-key planner. | COMMENT |
| LOW | src/lib/oauth/services/kimchi.js | 1 | // Kimchi browser-login service. | COMMENT |
| 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-models.test.js | 58 | providerSpecificData: { 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 | 252 | email: "user@example.com", | CODE |
| LOW⚡ | tests/unit/saml.test.js | 100 | email: "user@example.com", | CODE |
| LOW⚡ | tests/unit/saml.test.js | 101 | displayName: "Jane Doe", | CODE |
| LOW⚡ | tests/unit/saml.test.js | 108 | expect(pickSamlEmail(mockProfile, {})).toBe("user@example.com"); | CODE |
| LOW⚡ | tests/unit/saml.test.js | 121 | expect(pickSamlDisplayName(mockProfile, {})).toBe("Jane Doe"); | CODE |
| LOW⚡ | tests/unit/saml.test.js | 126 | pickSamlDisplayName({ email: "user@example.com" }, {}) | CODE |
| LOW⚡ | tests/unit/saml.test.js | 127 | ).toBe("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/providers/models/schema.js | 6 | // touched, so word/suffix hyphens stay intact ("-thinking", "-agentic", "qwen3-coder-next"). | 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 | 383 | // -thinking/-agentic variants per account). On failure, fall back to | 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 | 61 | setSubagentModel(status.config.agent.explorer.model.replace("9router/", "")); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | open-sse/config/codexInstructions.js | 30 | ## Codex CLI harness, sandboxing, and approvals | COMMENT |