Repository Analysis

dwgx/WindsurfAPI

Turn Windsurf / Devin Desktop's 100+ AI models (Claude, GPT, Gemini, DeepSeek, Kimi, GLM, SWE) into OpenAI-, Anthropic- & Gemini-compatible APIs. Zero-dependency self-hosted reverse proxy for Claude Code, Cline & Cursor. 把 Windsurf/Devin 云端 100+ 模型变成三套兼容 API。

8.7 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of dwgx/WindsurfAPI, a JavaScript project with 2,955 GitHub stars. SynthScan v2.0 examined 178,121 lines of code across 696 source files, recording 1088 pattern matches distributed across 12 syntactic categories. The overall adjusted score of 8.7 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).

8.7
Adjusted Score
8.7
Raw Score
100%
Time Factor
2026-08-28
Last Push
3.0K
Stars
JavaScript
Language
178.1K
Lines of Code
696
Files
1.1K
Pattern Hits
2026-08-29
Scan Date
0.01
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

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.

Severity Breakdown

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.

CRITICAL 0HIGH 5MEDIUM 261LOW 822

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 1088 distinct pattern matches across 12 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.

Decorative Section Separators231 hits · 710 pts
SeverityFileLineSnippetContext
MEDIUMinstall-ls.sh70# ─── Platform detection ────────────────────────────────COMMENT
MEDIUMtest/devin-connect.test.js1481 // ── Fault tolerance: response-side ChatToolCall structure (NW1 §2) ──────────COMMENT
MEDIUMtest/devin-connect.test.js2099 // ── Top-level combinator stripping (P4, ported from kiro.rs) ──────────────COMMENT
MEDIUMtest/zero-content-stream-death.test.js35// ─── helpers ────────────────────────────────────────────────────COMMENT
MEDIUMtest/zero-content-stream-death.test.js133// ─── Anthropic egress ───────────────────────────────────────────COMMENT
MEDIUMtest/zero-content-stream-death.test.js196// ─── Gemini egress ──────────────────────────────────────────────COMMENT
MEDIUMtest/zero-content-stream-death.test.js250// ─── three-way parity ───────────────────────────────────────────COMMENT
MEDIUMtest/gemini.test.js12// ─── helpers ────────────────────────────────────────────────────COMMENT
MEDIUMtest/gemini.test.js49// ─── request translation ────────────────────────────────────────COMMENT
MEDIUMtest/gemini.test.js208// ─── non-stream response translation ────────────────────────────COMMENT
MEDIUMtest/gemini.test.js257// ─── error mapping (transient-first) ────────────────────────────COMMENT
MEDIUMtest/gemini.test.js294// ─── path parsing ───────────────────────────────────────────────COMMENT
MEDIUMtest/gemini.test.js310// ─── main entry: non-stream ─────────────────────────────────────COMMENT
MEDIUMtest/gemini.test.js349// ─── main entry: streaming ──────────────────────────────────────COMMENT
MEDIUMtest/gemini.test.js561// ─── translator direct unit (array mode empties) ────────────────COMMENT
MEDIUMtest/gemini.test.js573// ════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/gemini.test.js575// ════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/gemini.test.js577// ─── request translation: remaining part / config shapes ────────COMMENT
MEDIUMtest/gemini.test.js677// ─── non-stream response: finish + usage edge cases ─────────────COMMENT
MEDIUMtest/gemini.test.js797// ─── path parsing: edge cases ───────────────────────────────────COMMENT
MEDIUMtest/connect.test.js9// ─── CONN-1: decompression output must be bounded ─────────────────────────COMMENT
MEDIUMtest/tool-preamble-budget.test.js125// ─── nativeStructured (hybrid mode) regression tests ─────────────────────────COMMENT
MEDIUMtest/cascade-think-reroute.test.js330 // ── emulateTools + failure: the accThinking hole ──────────────────────────COMMENT
MEDIUMtest/default-on-switch-registry.test.js44// ── the ledger ──────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/connect-error-blame.test.js99// ─── 结构守卫 ───────────────────────────────────────────────COMMENT
MEDIUMtest/cascade-native-bridge.test.js807// ─── v2.0.66 (#115) — partition mode + codex CLI mapping ──────────────COMMENT
MEDIUMtest/cascade-native-bridge.test.js807// ─── v2.0.66 (#115) — partition mode + codex CLI mapping ──────────────COMMENT
MEDIUMtest/caller-environment.test.js138 // ───── #100 follow-up: bare-path fallback when no <env> block ─────COMMENT
MEDIUMtest/caller-environment.test.js138 // ───── #100 follow-up: bare-path fallback when no <env> block ─────COMMENT
MEDIUMtest/caller-environment.test.js219 // ───── #100 follow-up #2 (yunduobaba): Claude Code <system-reminder> wrappers ─────COMMENT
MEDIUMtest/caller-environment.test.js219 // ───── #100 follow-up #2 (yunduobaba): Claude Code <system-reminder> wrappers ─────COMMENT
MEDIUMtest/caller-environment.test.js270 // ───── #106 / #107 (zhangzhang-bit): adjective-prefixed cwd + bullet fallback ─────COMMENT
MEDIUMtest/caller-environment.test.js270 // ───── #106 / #107 (zhangzhang-bit): adjective-prefixed cwd + bullet fallback ─────COMMENT
MEDIUMexamples/proxy-user-inject.js109// ═══════════════ CONFIGURE THESE ═══════════════COMMENT
MEDIUMexamples/proxy-user-inject.js115// ════════════════════════════════════════════════COMMENT
MEDIUMscripts/cli-agent-sim.js140// ── Test Scenarios ──────────────────────────────────COMMENT
MEDIUMscripts/cli-agent-sim.js300// ── Main ──────────────────────────────────COMMENT
MEDIUMsrc/client.js344// ── Fake workspace scaffold ────────────────────────────────COMMENT
MEDIUMsrc/client.js421// ─── WindsurfClient ────────────────────────────────────────COMMENT
MEDIUMsrc/client.js435 // ─── Short-lived user JWT (env-gated) ────────────────────COMMENT
MEDIUMsrc/client.js448 // ─── Legacy: RawGetChatMessage (streaming) ───────────────COMMENT
MEDIUMsrc/client.js610 // ─── Cascade flow ────────────────────────────────────────COMMENT
MEDIUMsrc/client.js1414 // ─── Register user (Connect-RPC primary, legacy REST fallback) ─────COMMENT
MEDIUMsrc/client.js1426 // ── GetUserStatus ────────────────────────────────────────COMMENT
MEDIUMsrc/devin-acp.js41// ── Zero-billable proactive availability probe (AC1 gap-e / §4) ──────────────COMMENT
MEDIUMsrc/devin-acp.js157// ── Transient-first ACP error classification ────────────────────────────────COMMENT
MEDIUMsrc/devin-connect-openai.js62// ── retry-on-empty (fable capacity-jitter self-heal) ────────────────────────COMMENT
MEDIUMsrc/devin-connect-catalog.js430// ─── AssignModel — router-model resolution ──────────────────────────────────COMMENT
MEDIUMsrc/server.js311 // ─── Dashboard ─────────────────────────────────────────COMMENT
MEDIUMsrc/server.js365 // ─── Dashboard i18n locale files ────────────────────────COMMENT
MEDIUMsrc/server.js382 // ─── Dashboard data files (contributors, etc.) ──────────COMMENT
MEDIUMsrc/server.js401 // ─── API endpoints (require API key) ────────────────────COMMENT
MEDIUMsrc/server.js480 // ── bind proxy to account ──────────────────────COMMENT
MEDIUMsrc/conversation-pool.js125 // ─── temporal / identifier tokens ────────────────────────────COMMENT
MEDIUMsrc/conversation-pool.js158 // ─── git status / recent commits block (Claude Code 2.x) ─────COMMENT
MEDIUMsrc/conversation-pool.js204 // ─── git short hashes ────────────────────────────────────────COMMENT
MEDIUMsrc/auth.js51// ─── Account pool ──────────────────────────────────────────COMMENT
MEDIUMsrc/auth.js404// ─── C5: per-account rolling health window (persisted) ──────────────────────COMMENT
MEDIUMsrc/auth.js819// ─── Dynamic model catalog from cloud ─────────────────────COMMENT
MEDIUMsrc/auth.js1320// ─── Account management ───────────────────────────────────COMMENT
171 more matches not shown…
Over-Commented Block511 hits · 416 pts
SeverityFileLineSnippetContext
LOWREADME.en.md181COMMENT
LOWREADME.en.md201# Windows: %APPDATA%\Windsurf\bin\language_server_windows_x64.exeCOMMENT
LOWREADME.md201COMMENT
LOWREADME.md221#COMMENT
LOWupdate.sh381echo "=== [1/5] Pull latest ==="COMMENT
LOWinstall-ls.sh1#!/usr/bin/env bashCOMMENT
LOWdocker-compose.yml21 # required:false so a fresh clone (which ships only .env.example, neverCOMMENT
LOWdocker-compose.yml41 # one global bucket. Exactly one trusted hop here.COMMENT
LOWdocker-compose.yml61 volumes:COMMENT
LOWtest/mutate-verify-harness.test.js1// The mutation harness's own verdict logic, which nothing covered until now.COMMENT
LOWtest/mutate-verify-harness.test.js301COMMENT
LOWtest/model-access-backend-coverage.test.js1// Model-access policy must gate EVERY backend, not just the one it happens toCOMMENT
LOWtest/models-live-catalog.test.js1// audit 2026-07-12 (v3.2.4 regression fix): after v3.2.3 made resolveConnectSelectorCOMMENT
LOWtest/sticky-exclude-keys.test.js1// Sticky fast path vs. excludeKeys (failover regression).COMMENT
LOWtest/route-error-parity-behaviour.test.js1// The route-parity guard checks SOURCE SHAPE, and shape is escapable.COMMENT
LOWtest/neutralize-rewrite-visibility.test.js1// Item 14 — the neutralize pass silently rewrote caller content, and the guardCOMMENT
LOWtest/neutralize-rewrite-visibility.test.js21//COMMENT
LOWtest/neutralize-rewrite-visibility.test.js121 // several times is one event, not two, and reporting it twice would make theCOMMENT
LOWtest/dashboard-escape-callsites.test.js1// The escape helpers were tested; their CALL SITES were not.COMMENT
LOWtest/v2088-audit-fixes.test.js1// v2.0.88 — strict audit follow-up: 4 HIGH + 3 MED/LOW fromCOMMENT
LOWtest/terminal-event-guard.test.js1// After a terminal event, a stream translator must stop writing.COMMENT
LOWtest/v2078-audit-fixes.test.js1// v2.0.78 — strict audit follow-up (4 HIGH).COMMENT
LOWtest/prompt-cache-options.test.js1// Explicit prompt caching — GetChatMessageRequest #13 system_prompt_cache_options.COMMENT
LOWtest/sticky-no-fallback-wedge.test.js1// stickyNoFallback could wedge a caller permanently.COMMENT
LOWtest/devin-connect.test.js801 // `response.incomplete` (a whole-turn hard failure for Codex-style clients),COMMENT
LOWtest/response-store-byte-budget.test.js1// Response store: the byte budget.COMMENT
LOWtest/response-store-byte-budget.test.js161 // loop. Under any byte-bound workload the writer's entry count stays far belowCOMMENT
LOWtest/scatter-attribution.test.js1// Why an UNBOUND caller's sequential turns move between accounts.COMMENT
LOWtest/scatter-attribution.test.js21// ------------------------------------------------------------------COMMENT
LOWtest/scatter-attribution.test.js41// that account's ratio, so it sorts last next turn). LRU alone yields one swap andCOMMENT
LOWtest/retry-rescue-budget-split.test.js1// #240 — retry-on-empty and the thinking-only rescue are two speculative arms with twoCOMMENT
LOWtest/retry-rescue-budget-split.test.js181 // What follows pins the operator-visible NUMBER, and only that. Be precise about theCOMMENT
LOWtest/v2079-audit-followup.test.js1// v2.0.79 — strict audit follow-up (3 MED + 2 LOW + 1 close-out).COMMENT
LOWtest/sticky-tenant-quota.test.js1// Sticky binding table: per-tenant fair share + LRU ordering.COMMENT
LOWtest/rate-limit.test.js121 assert.equal(result.body.error.type, 'rate_limit_exceeded');COMMENT
LOWtest/rate-limit.test.js141 // Tolerance, not equality. Every candidate feeding this branch is wall-clockCOMMENT
LOWtest/xff-client-ip-consistency.test.js1// audit S4 — the "trusted client IP" (X-Forwarded-For hop counting) logic usedCOMMENT
LOWtest/responses-stream-done-sentinel.test.js1// The /v1/responses SSE stream must close with the `data: [DONE]` sentinel.COMMENT
LOWtest/retry-after-route-parity.test.js1// `Retry-After` must survive every egress route, on the NON-STREAM branch too.COMMENT
LOWtest/zero-content-stream-death.test.js1// A stream that died having produced ZERO content must not be reported as aCOMMENT
LOWtest/probe-lock-per-account.test.js1// Probe lock per-account de-duplication.COMMENT
LOWtest/web-search-exposure.test.js1// Web search exposure — POST /dashboard/api/accounts/:id/web-search.COMMENT
LOWtest/responses-post-tool-text-item.test.js1// Item 16 — text arriving AFTER a tool call was merged back into the FIRSTCOMMENT
LOWtest/completion-config-max-tokens-tag.test.js1import { describe, it } from 'node:test';COMMENT
LOWtest/models-injection-eviction.test.js1// A deleted account's models stayed advertised forever.COMMENT
LOWtest/proto-codec-hardening.test.js1// Protobuf codec hardening — src/proto.js.COMMENT
LOWtest/stream-cache-policy.test.js1// Regression for issues #82 and #83 — `cachePolicy is not defined`.COMMENT
LOWtest/responses-retrieve-contract.test.js1// What GET /v1/responses/{id} is allowed to say.COMMENT
LOWtest/responses-retrieve-contract.test.js121 // and must not be logged. https-proxy.js:20 prints the full URL verbatim, so aCOMMENT
LOWtest/reasoning-dedup.test.js1// Unit tests for the incremental reasoning/content duplicate suppression moduleCOMMENT
LOWtest/response-store-entry-cap-array.test.js1// The per-entry byte ceiling could not see ARRAY content — which is the defaultCOMMENT
LOWtest/response-store-entry-cap-array.test.js141 assert.ok(store.getResponseStoreStats().bytes <= MAX_ENTRY_BYTES);COMMENT
LOWtest/drought-connect-namespace.test.js1// #234 — the drought gate must judge Connect selectors in the Connect namespace.COMMENT
LOWtest/dashboard-models-connect-parity.test.js1// Dashboard /models and /v1/models must answer the SAME question about the ConnectCOMMENT
LOWtest/devin-connect-breaker.test.js1// RB2 — three resilience enhancements on the account pool (src/auth.js):COMMENT
LOWtest/sticky-transient-blip-tradeoff.test.js1// What a transient blip does to a pinned conversation — and why the obvious fix is wrong.COMMENT
LOWtest/sticky-transient-blip-tradeoff.test.js21//COMMENT
LOWtest/self-update-gate.test.js21import { isolatedGitEnv, REAL_GIT, SAFE_TMP_ROOT } from './git-fixture-env.js';COMMENT
LOWtest/sticky-selector-dimension.test.js1// Sticky bindings need a SELECTOR dimension, not just (caller, modelKey).COMMENT
LOWtest/gemini-schema-type-normalize.test.js1// Gemini declares Schema.type as an UPPERCASE enum; everything downstream comparesCOMMENT
451 more matches not shown…
Hyper-Verbose Identifiers241 hits · 212 pts
SeverityFileLineSnippetContext
LOWtest/self-update-gate.test.js193function assertSafeDashboardFixture(fixture) {CODE
LOWtest/devin-connect-login-host-fallback.test.js176 const idx = LOGIN_SRC.indexOf('async function windsurfLoginViaDevinHost(');CODE
LOWtest/tool-call-from-thinking.test.js18function liftToolCallsFromThinking(accThinking, declaredTools, { modelKey = 'claude-opus-4-8-xhigh', provider = 'anthropCODE
LOWtest/client-panel-retry.test.js113function pendingReadUrlStepResponse() {CODE
LOWtest/client-panel-retry.test.js131function readUrlContentDoneStepResponse() {CODE
LOWtest/client-panel-retry.test.js151function readUrlContentDoneWithEchoStepResponse() {CODE
LOWtest/client-panel-retry.test.js212async function countPendingReadUrlApprovals({ nativeAllowlist = ['read_url_content'] } = {}) {CODE
LOWtest/ota-fixture-containment-static.test.js43function assertContainmentPredicate(source, label) {CODE
LOWtest/ota-fixture-containment-static.test.js62function assertTemporaryOriginSetup(source, executor, prefix, label) {CODE
LOWtest/ota-fixture-containment-static.test.js73function assertEveryPushHasExplicitTemporaryTarget(source, executor, minimum, label) {CODE
LOWtest/ota-fixture-containment-static.test.js168 const guard = section(DASHBOARD, 'function assertSafeDashboardFixture(fixture) {', '\n}\n\nfunction makeDashboardTagCODE
LOWtest/ota-fixture-containment-static.test.js187 const guard = section(DASHBOARD, 'function assertSafeDashboardFixture(fixture) {', '\n}\n\nfunction makeDashboardTagCODE
LOWtest/default-on-switch-registry.test.js230function discoverDefaultOnSwitches() {CODE
LOWtest/connect-dimension-behaviour.test.js74function assertNotNormallySelected(picked, what) {CODE
LOWtest/mutations/tool-choice-passthrough.json10 "anchor": "export function isToolChoicePassthroughEnabled(env = process.env) {\n return String(env.DEVIN_CONNECT_CODE
LOWtest/mutations/tool-choice-passthrough.json11 "replacement": "export function isToolChoicePassthroughEnabled(env = process.env) {\n return !!String(env.DEVIN_CCODE
LOWtest/mutations/prompt-cache-options.json16 "anchor": "export function buildSystemPromptCacheOptions(systemPrompt, env = process.env) {\n if (!isPromptCacheECODE
LOWtest/mutations/prompt-cache-options.json17 "replacement": "export function buildSystemPromptCacheOptions(systemPrompt, env = process.env) {\n if (false) retCODE
LOWtest/_research/responses-cache-hit-seq.test.js101 return async function handleChatCompletionsMock(body) {CODE
LOWdocs/releases/RELEASE_NOTES_2.0.36.md41-export function shouldFallbackThinkingToText({ routingModelKey, body, ... }) {CODE
LOWdocs/releases/RELEASE_NOTES_2.0.36.md42+export function shouldFallbackThinkingToText({ routingModelKey, wantThinking, ... }) {CODE
LOWdocs/releases/RELEASE_NOTES_2.0.71.md15export function detectFabricatedToolResult(text, { lastUserText }) {CODE
LOWsrc/client.js61function markCascadeTransportError(err) {CODE
LOWsrc/client.js69function resetCascadeTransportState(port) {CODE
LOWsrc/client.js103export function isReadUrlAutoApproveAllowed(url, origin) {CODE
LOWsrc/client.js168function neutralizeIdentityForCascade(sysText) {CODE
LOWsrc/client.js191function extractCompactSystemFacts(sysText) {CODE
LOWsrc/client.js212export function compactSystemPromptForCascade(sysText) {CODE
LOWsrc/client.js303function isCompletedReadUrlNativeResult(tc) {CODE
LOWsrc/devin-acp.js254function collectAcpTextFromNotification(obj, buffers, onChunk) {CODE
LOWsrc/special-agent.js775export async function handleSpecialAgentChatCompletion(body, route, deps = {}) {CODE
LOWsrc/devin-connect-catalog.js505export function decodeAssignModelResponse(raw, tags = ASSIGN_TAGS_DEFAULT) {CODE
LOWsrc/server.js175function nativeBridgeCallerKeyForRequest(req, token, body, callerKey = '') {CODE
LOWsrc/server.js481 async function parseAndValidateAccountProxy(proxyStr) {CODE
LOWsrc/conversation-pool.js123function normalizeSystemPromptForHash(s) {CODE
LOWsrc/conversation-pool.js287function projectAssistantToolCalls(m) {CODE
LOWsrc/auth.js85function shouldSkipBusyBackgroundMaintenance() {CODE
LOWsrc/auth.js236export function setDroughtRestrictResolver(fn) {CODE
LOWsrc/auth.js283export function isConnectSelectorBlockedByDrought(selector) {CODE
LOWsrc/auth.js300export function getCurrentlyFreeConnectSelectors() {CODE
LOWsrc/auth.js329export function isConnectSelectorCurrentlyFree(selector) {CODE
LOWsrc/auth.js883function scheduleModelCatalogRetry(accountId, apiKey) {CODE
LOWsrc/auth.js930function activeModelCatalogAccounts() {CODE
LOWsrc/auth.js934function reconcileModelCatalogAccounts() {CODE
LOWsrc/auth.js972function invalidateModelCatalogForAccount(accountId) {CODE
LOWsrc/auth.js1006function publishConnectCatalogUnion(activeAccounts = activeModelCatalogAccounts()) {CODE
LOWsrc/auth.js1043function connectCatalogRetryJitterBasisPoints(accountId, apiKey) {CODE
LOWsrc/auth.js1062function connectCatalogRetryDelayMs(failureCount, accountId, apiKey) {CODE
LOWsrc/auth.js1074function recordConnectCatalogRetryFailure(accountId, apiKey) {CODE
LOWsrc/auth.js1086function isCurrentConnectCatalogAttempt(accountId, apiKey, attempt) {CODE
LOWsrc/auth.js1169function forgetConnectCatalogForAccount(accountId) {CODE
LOWsrc/auth.js1181async function fetchAndMergeModelCatalog(accountId, apiKey) {CODE
LOWsrc/auth.js1557export function isConnectSelectorAllowedForAccount(account, selector) {CODE
LOWsrc/auth.js1587export function hasConnectEntitledAccount(selector) {CODE
LOWsrc/auth.js1592export function getAvailableModelsForAccount(account) {CODE
LOWsrc/auth.js1864export async function probeAndRecoverConnectAccount(id, { signal } = {}) {CODE
LOWsrc/auth.js2849function newAccountBaselineEnabled() { return getBreakerTunable('newAccountBaseline'); }CODE
LOWsrc/auth.js3388export function isAllTemporarilyUnavailable(modelKey, connectSelector = null) {CODE
LOWsrc/reasoning-dedup.js91export function createStreamReasoningDedup({ wantThinking = false } = {}) {CODE
LOWsrc/native-bridge-stats.js96export function recordNativeBridgeDecision(decision = {}) {CODE
181 more matches not shown…
Modern AI Meta-Vocabulary27 hits · 84 pts
SeverityFileLineSnippetContext
MEDIUMdocker-compose.yml32 # protocol reliably in agentic clients (Claude Code/Cline/Codex). With itCOMMENT
MEDIUMtest/completion-config-max-tokens-tag.test.js71 // Pre-fix, #2 was always the context window, so the encoded max_tokens wasCOMMENT
MEDIUMtest/sticky-transient-blip-tradeoff.test.js23// caller returns to the account holding the longest prefix. RPM windows are 60s and agenticCOMMENT
MEDIUMtest/workspace-stub-108.test.js12// register (closes a fingerprint gap). Old scaffold seeded aCOMMENT
MEDIUMtest/workspace-stub-108.test.js31// - client.js: rebrand the scaffold so every file is unmistakably aCOMMENT
MEDIUMtest/mutations/completion-config-max-tokens-tag.json8 "name": "the original swap restored — #2 carries the context window, so max_tokens is effectively uncapped",CODE
MEDIUMdocs/HISTORY-LEDGER-PRS.md72| 242 | warelik | 08-05→08-09 | DEVIN_CONNECT 会话保真,两个 opt-in 特性(DEVIN_CONNECT_SESSION_REUSE 主门控):① 稳定 ModelConfig(#15.1 CODE
MEDIUMdocs/HISTORY-LEDGER-PRS.md142**#242(S)—— 会话保真地基**:DEVIN_CONNECT_SESSION_REUSE 主门控下两个 opt-in 特性:① 稳定 ModelConfig(#15.1 会话内恒定、#15.2 单调递增,对齐 devin.exe,不CODE
MEDIUMdocs/HISTORY-LEDGER-2026-05-bridge.md11- 素材缺 **4 条 5-01 的 commit**(在切片起点之前、v2.0.45~48 时代):`b4a9ebf`(v2.0.45 #106/#107 Claude Code 2.x cwd 提取)、`222526b`(v2.0.46CODE
MEDIUMdocs/HISTORY-LEDGER.md159**关键修复**:`b6e7dc9` 四出口 11 缺陷、`6d1f087` response-store 四条「注释对、实现只盖一个特例」、`129682f` intent-extractor 从反例说明伪造工具调用、`7bca624` CODE
MEDIUMdocs/HISTORY-LEDGER.md212| #238→#241(PR 链) | swe-1-7 agentic 死循环 → rescue nudge 演化 | 793ed79 → 0f5a57b + digest 钳三连(#238/#241 是 warelik 的 PR,#239CODE
MEDIUMdocs/HISTORY-LEDGER-VIZ.html757const D_GIT = {"t0":1775727718,"t1":1787897322,"anchors":[{"h":"395311f2","t":1775727718,"a":"dwgx","s":"Initial commit:CODE
MEDIUMdocs/HISTORY-LEDGER-VIZ.html757const D_GIT = {"t0":1775727718,"t1":1787897322,"anchors":[{"h":"395311f2","t":1775727718,"a":"dwgx","s":"Initial commit:CODE
MEDIUMdocs/releases/RELEASE_NOTES_2.0.32.md77### Multi-stage codex orchestration (本次)COMMENT
MEDIUMdocs/releases/RELEASE_NOTES_2.0.105.md1## v2.0.105 - native bridge real-smoke guardrailsCOMMENT
MEDIUMdocs/releases/RELEASE_NOTES_2.0.33.md86### Multi-stage codex orchestration 流程COMMENT
MEDIUMdocs/releases/RELEASE_NOTES_3.9.7.md97### swe-1-7 在 agentic 循环里停滞:声明了工具意图却不发出 tool call(#238,@warelik)COMMENT
MEDIUMdocs/releases/RELEASE_NOTES_2.0.138.md1# v2.0.138 - release gate, dashboard pagination, and memory guardrailsCOMMENT
MEDIUMdocs/dashboard/data/contributors.json353 "summary": "两个耦合的根因修复,把 native tool-def 路从\"一批工具被上游拒\"救回来。① MCP-gate:上游 server.codeium.com 会对工具描述做指纹匹配(#10 顶层 descCODE
MEDIUMsrc/client.js344// ── Fake workspace scaffold ────────────────────────────────COMMENT
MEDIUMsrc/client.js350// gap. The scaffold is created once per account and persists.COMMENT
MEDIUMsrc/client.js353// Detects an old (pre-#108) scaffold that named the placeholderCOMMENT
MEDIUMsrc/client.js353// Detects an old (pre-#108) scaffold that named the placeholderCOMMENT
MEDIUMsrc/client.js400// #108: prior scaffold seeded a `package.json` named "my-project" plus aCOMMENT
MEDIUMsrc/client.js400// #108: prior scaffold seeded a `package.json` named "my-project" plus aCOMMENT
MEDIUMsrc/client.js405// Node template the user has never seen. Keep the scaffold real enoughCOMMENT
MEDIUMsrc/dashboard/data/contributors.json353 "summary": "两个耦合的根因修复,把 native tool-def 路从\"一批工具被上游拒\"救回来。① MCP-gate:上游 server.codeium.com 会对工具描述做指纹匹配(#10 顶层 descCODE
Fake / Example Data55 hits · 71 pts
SeverityFileLineSnippetContext
LOWtest/v2078-audit-fixes.test.js41 assert.ok(!out.includes('foo@bar.com'));CODE
LOWtest/retry-after-route-parity.test.js90 const key = `fake-key-${LABEL_PREFIX}${label}`;CODE
LOWtest/request-id-body.test.js116 const acct = addAccountByKey('fake-key-f4', 'f4-chat');CODE
LOWtest/request-id-body.test.js143 const acct = addAccountByKey('fake-key-f4', 'f4-msg');CODE
LOWtest/email-otp-login.test.js112 () => registerUserWithOtp('test@example.com', '999999', 'fake-token', '', '', null),CODE
LOWtest/devin-connect-credentials.test.js39 assert.equal(getCredential('user@example.com', env), 's3cret-pw!', 'email is case-insensitive');CODE
LOWtest/devin-connect-credentials.test.js41 assert.deepEqual(listCredentialEmails(env), ['user@example.com']);CODE
LOWtest/responses-retrieve-route.test.js76 const acct = addAccountByKey('fake-key-resp-route', `resp-route-${label}`);CODE
LOWtest/caller-environment.test.js303 const filler = 'lorem ipsum dolor sit amet '.repeat(200); // ~5 KB fillerCODE
LOWtest/caller-environment.test.js303 const filler = 'lorem ipsum dolor sit amet '.repeat(200); // ~5 KB fillerCODE
LOWsrc/dashboard/check-i18n.js390 ['placeholder', 'data-i18n-placeholder'],CODE
LOWsrc/dashboard/i18n/zh-CN.json471 "placeholder": "your-email@example.com"CODE
LOWsrc/dashboard/i18n/zh-CN.json475 "placeholder": "••••••••"CODE
LOWsrc/dashboard/i18n/zh-CN.json485 "placeholder": "proxy.example.com"CODE
LOWsrc/dashboard/i18n/zh-CN.json489 "placeholder": "8080"CODE
LOWsrc/dashboard/i18n/zh-CN.json493 "placeholder": "可选"CODE
LOWsrc/dashboard/i18n/zh-CN.json497 "placeholder": "可选"CODE
LOWsrc/dashboard/i18n/zh-CN.json501 "placeholder": "粘贴 Auth Token(从 windsurf.com/show-auth-token 获取)"CODE
LOWsrc/dashboard/i18n/zh-CN.json505 "placeholder": "可选"CODE
LOWsrc/dashboard/i18n/zh-CN.json509 "placeholder": "http://proxy:8080 或 socks5://user:pass@host:port(可选)",CODE
LOWsrc/dashboard/i18n/zh-CN.json521 "placeholder": "留空=使用全局"CODE
LOWsrc/dashboard/i18n/zh-CN.json528 "placeholder": "代理认证用户名"CODE
LOWsrc/dashboard/i18n/zh-CN.json531 "placeholder": "代理认证密码"CODE
LOWsrc/dashboard/i18n/zh-CN.json534 "placeholder": "搜索提供商..."CODE
LOWsrc/dashboard/i18n/zh-CN.json538 "placeholder": "搜索..."CODE
LOWsrc/dashboard/i18n/zh-CN.json542 "placeholder": "输入模型名称筛选..."CODE
LOWsrc/dashboard/i18n/zh-CN.json546 "placeholder": "留空则拒绝清单外请求",CODE
LOWsrc/dashboard/i18n/zh-CN.json556 "placeholder": "搜索提供商..."CODE
LOWsrc/dashboard/i18n/zh-CN.json564 "placeholder": "John"CODE
LOWsrc/dashboard/i18n/zh-CN.json572 "placeholder": "Doe"CODE
LOWsrc/dashboard/i18n/zh-CN.json284 "placeholder": "devin-session-token$... 或 show-auth-token 链接 或 email----password 每行一个,可混合",CODE
LOWsrc/dashboard/i18n/zh-CN.json1391 "placeholder": {CODE
LOWsrc/dashboard/i18n/zh-CN.json1516 "placeholder": "筛选设置…",CODE
LOWsrc/dashboard/i18n/en.json489 "placeholder": "Enter model name to filter..."CODE
LOWsrc/dashboard/i18n/en.json493 "placeholder": "Leave blank to reject out-of-list requests",CODE
LOWsrc/dashboard/i18n/en.json497 "placeholder": "Proxy auth username"CODE
LOWsrc/dashboard/i18n/en.json500 "placeholder": "Proxy auth password"CODE
LOWsrc/dashboard/i18n/en.json503 "placeholder": "Search providers..."CODE
LOWsrc/dashboard/i18n/en.json507 "placeholder": "proxy.example.com"CODE
LOWsrc/dashboard/i18n/en.json511 "placeholder": "8080"CODE
LOWsrc/dashboard/i18n/en.json515 "placeholder": "Optional"CODE
LOWsrc/dashboard/i18n/en.json519 "placeholder": "Optional"CODE
LOWsrc/dashboard/i18n/en.json523 "placeholder": "Paste Auth Token"CODE
LOWsrc/dashboard/i18n/en.json527 "placeholder": "Optional"CODE
LOWsrc/dashboard/i18n/en.json531 "placeholder": "http://proxy:8080 or socks5://user:pass@host:port (optional)",CODE
LOWsrc/dashboard/i18n/en.json543 "placeholder": "Leave empty = use global"CODE
LOWsrc/dashboard/i18n/en.json552 "placeholder": "Search providers..."CODE
LOWsrc/dashboard/i18n/en.json556 "placeholder": "Search..."CODE
LOWsrc/dashboard/i18n/en.json564 "placeholder": "John"CODE
LOWsrc/dashboard/i18n/en.json572 "placeholder": "Doe"CODE
LOWsrc/dashboard/i18n/en.json284 "placeholder": "devin-session-token$... or show-auth-token URL or email----password — one per line, mixable",CODE
LOWsrc/dashboard/i18n/en.json471 "placeholder": "your-email@example.com"CODE
LOWsrc/dashboard/i18n/en.json475 "placeholder": "••••••••"CODE
LOWsrc/dashboard/i18n/en.json1391 "placeholder": {CODE
LOWsrc/dashboard/i18n/en.json1516 "placeholder": "Filter settings...",CODE
Magic Placeholder Names4 hits · 22 pts
SeverityFileLineSnippetContext
HIGHREADME.en.md269client = OpenAI(base_url="http://YOUR_IP:3003/v1", api_key="YOUR_API_KEY")CODE
HIGHREADME.en.md281export ANTHROPIC_API_KEY=YOUR_API_KEYCODE
HIGHREADME.en.md297- API Key: YOUR_API_KEYCODE
HIGHexamples/proxy-user-inject.js85 * -H "Authorization: Bearer YOUR_API_KEY" \COMMENT
Verbosity Indicators7 hits · 13 pts
SeverityFileLineSnippetContext
LOWsrc/client.js666 // Step 1: Start cascade — with retry on panel-state-not-foundCOMMENT
LOWsrc/client.js805 // Step 2: Send message. Retry up to MAX_PANEL_RETRIES onCOMMENT
LOWsrc/client.js910 // Step 3: Poll for response.COMMENT
LOWsrc/socks.js38 // Step 1: greeting — offer auth methodsCOMMENT
LOWsrc/dashboard/email-otp-login.js439 // Step 1: Send verification emailCOMMENT
LOWsrc/dashboard/email-otp-login.js442 // Step 2: Poll Gmail for OTP codeCOMMENT
LOWsrc/dashboard/email-otp-login.js450 // Step 3: Register user with OTPCOMMENT
Structural Annotation Overuse7 hits · 13 pts
SeverityFileLineSnippetContext
LOWsrc/client.js666 // Step 1: Start cascade — with retry on panel-state-not-foundCOMMENT
LOWsrc/client.js805 // Step 2: Send message. Retry up to MAX_PANEL_RETRIES onCOMMENT
LOWsrc/client.js910 // Step 3: Poll for response.COMMENT
LOWsrc/socks.js38 // Step 1: greeting — offer auth methodsCOMMENT
LOWsrc/dashboard/email-otp-login.js439 // Step 1: Send verification emailCOMMENT
LOWsrc/dashboard/email-otp-login.js442 // Step 2: Poll Gmail for OTP codeCOMMENT
LOWsrc/dashboard/email-otp-login.js450 // Step 3: Register user with OTPCOMMENT
AI Slop Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMdocs/HISTORY-LEDGER-VIZ.html757const D_GIT = {"t0":1775727718,"t1":1787897322,"anchors":[{"h":"395311f2","t":1775727718,"a":"dwgx","s":"Initial commit:CODE
MEDIUMsrc/conversation-pool.js41// reuse robust against fingerprint drift (system-prompt changes, tool-listCOMMENT
Cross-Language Confusion (JS/TS)1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHtest/update-script-release-target.test.js359 elif [ -r "$pid_file" ]; then cat "$pid_file"; fiCODE
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMtest/tool-emulation-allowlist.test.js54 const raw = 'Sure, here you go:\n```json\n{"name":"Bash","arguments":{"command":"id"}}\n```\nLet me know if you needCODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWinstall-ls.sh4# Usage:COMMENT