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。

9.9 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of dwgx/WindsurfAPI, a JavaScript project with 2,890 GitHub stars. SynthScan v2.0 examined 111,859 lines of code across 452 source files, recording 678 pattern matches distributed across 11 syntactic categories. The overall adjusted score of 9.9 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).

9.9
Adjusted Score
9.9
Raw Score
100%
Time Factor
2026-07-13
Last Push
2.9K
Stars
JavaScript
Language
111.9K
Lines of Code
452
Files
678
Pattern Hits
2026-07-14
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

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

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 4MEDIUM 210LOW 464

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 678 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.

Decorative Section Separators194 hits · 596 pts
SeverityFileLineSnippetContext
MEDIUMinstall-ls.sh70# ─── Platform detection ────────────────────────────────COMMENT
MEDIUMtest/devin-connect.test.js1129 // ── Fault tolerance: response-side ChatToolCall structure (NW1 §2) ──────────COMMENT
MEDIUMtest/gemini.test.js12// ─── helpers ────────────────────────────────────────────────────COMMENT
MEDIUMtest/gemini.test.js49// ─── request translation ────────────────────────────────────────COMMENT
MEDIUMtest/gemini.test.js168// ─── non-stream response translation ────────────────────────────COMMENT
MEDIUMtest/gemini.test.js217// ─── error mapping (transient-first) ────────────────────────────COMMENT
MEDIUMtest/gemini.test.js254// ─── path parsing ───────────────────────────────────────────────COMMENT
MEDIUMtest/gemini.test.js270// ─── main entry: non-stream ─────────────────────────────────────COMMENT
MEDIUMtest/gemini.test.js309// ─── main entry: streaming ──────────────────────────────────────COMMENT
MEDIUMtest/gemini.test.js435// ─── translator direct unit (array mode empties) ────────────────COMMENT
MEDIUMtest/gemini.test.js447// ════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/gemini.test.js449// ════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/gemini.test.js451// ─── request translation: remaining part / config shapes ────────COMMENT
MEDIUMtest/gemini.test.js551// ─── non-stream response: finish + usage edge cases ─────────────COMMENT
MEDIUMtest/gemini.test.js661// ─── path parsing: edge cases ───────────────────────────────────COMMENT
MEDIUMtest/connect.test.js9// ─── CONN-1: decompression output must be bounded ─────────────────────────COMMENT
MEDIUMtest/cascade-native-bridge.test.js722// ─── v2.0.66 (#115) — partition mode + codex CLI mapping ──────────────COMMENT
MEDIUMtest/cascade-native-bridge.test.js722// ─── 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.js332// ── Fake workspace scaffold ────────────────────────────────COMMENT
MEDIUMsrc/client.js409// ─── WindsurfClient ────────────────────────────────────────COMMENT
MEDIUMsrc/client.js423 // ─── Legacy: RawGetChatMessage (streaming) ───────────────COMMENT
MEDIUMsrc/client.js579 // ─── Cascade flow ────────────────────────────────────────COMMENT
MEDIUMsrc/client.js1380 // ─── Register user (Connect-RPC primary, legacy REST fallback) ─────COMMENT
MEDIUMsrc/client.js1392 // ── 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.js34// ── retry-on-empty (fable capacity-jitter self-heal) ────────────────────────COMMENT
MEDIUMsrc/devin-connect-catalog.js425// ─── AssignModel — router-model resolution ──────────────────────────────────COMMENT
MEDIUMsrc/server.js258 // ─── Dashboard ─────────────────────────────────────────COMMENT
MEDIUMsrc/server.js312 // ─── Dashboard i18n locale files ────────────────────────COMMENT
MEDIUMsrc/server.js329 // ─── Dashboard data files (contributors, etc.) ──────────COMMENT
MEDIUMsrc/server.js348 // ─── API endpoints (require API key) ────────────────────COMMENT
MEDIUMsrc/server.js427 // ── 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.js32// ─── Account pool ──────────────────────────────────────────COMMENT
MEDIUMsrc/auth.js231// ─── C5: per-account rolling health window (persisted) ──────────────────────COMMENT
MEDIUMsrc/auth.js606// ─── Dynamic model catalog from cloud ─────────────────────COMMENT
MEDIUMsrc/auth.js676// ─── Account management ───────────────────────────────────COMMENT
MEDIUMsrc/auth.js1181// ─── Account selection (tier-weighted RPM) ─────────────────COMMENT
MEDIUMsrc/auth.js1239 // ── Sticky session: prefer the account from the last turn ────────COMMENT
MEDIUMsrc/auth.js1361 // ── Tiebreaker: user-aware account sharding ─────────────────────COMMENT
MEDIUMsrc/auth.js1754// ─── RB2/B1: account-level exponential backoff knobs ────────────────────────COMMENT
MEDIUMsrc/auth.js1772// ─── RB2/T3: new-credential thunderstorm grace window ───────────────────────COMMENT
MEDIUMsrc/auth.js1785// ─── LB: last-account breaker exemption ─────────────────────────────────────COMMENT
MEDIUMsrc/auth.js1885// ─── RB2/B2: quota-exhaustion closed-loop knobs ─────────────────────────────COMMENT
MEDIUMsrc/auth.js2300// ─── Status ────────────────────────────────────────────────COMMENT
MEDIUMsrc/auth.js3023// ─── Incoming request API key validation ───────────────────COMMENT
MEDIUMsrc/auth.js3084// ─── Brute-force lockout (v2.0.56, CLIProxyAPI-style) ─────────────────COMMENT
134 more matches not shown…
Over-Commented Block232 hits · 186 pts
SeverityFileLineSnippetContext
LOWREADME.en.md141# Language Server binary — auto-detects Linux/macOS, one-click download + chmodCOMMENT
LOWREADME.en.md161# The default download chain now uses the dwgx/windsurf-ls-release public mirror.COMMENT
LOWREADME.md141COMMENT
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/models-live-catalog.test.js1// audit 2026-07-12 (v3.2.4 regression fix): after v3.2.3 made resolveConnectSelectorCOMMENT
LOWtest/v2088-audit-fixes.test.js1// v2.0.88 — strict audit follow-up: 4 HIGH + 3 MED/LOW fromCOMMENT
LOWtest/v2078-audit-fixes.test.js1// v2.0.78 — strict audit follow-up (4 HIGH).COMMENT
LOWtest/v2079-audit-followup.test.js1// v2.0.79 — strict audit follow-up (3 MED + 2 LOW + 1 close-out).COMMENT
LOWtest/xff-client-ip-consistency.test.js1// audit S4 — the "trusted client IP" (X-Forwarded-For hop counting) logic usedCOMMENT
LOWtest/probe-lock-per-account.test.js1// Probe lock per-account de-duplication.COMMENT
LOWtest/stream-cache-policy.test.js1// Regression for issues #82 and #83 — `cachePolicy is not defined`.COMMENT
LOWtest/devin-connect-breaker.test.js1// RB2 — three resilience enhancements on the account pool (src/auth.js):COMMENT
LOWtest/workspace-stub-108.test.js1// #108 (nalayahfowlkest-ship-it / zhangzhang-bit): user with a realCOMMENT
LOWtest/workspace-stub-108.test.js21// that says the real cwd is on Windows.COMMENT
LOWtest/model-access-thinking-inheritance.test.js1// #103 (denvey): allowlist/blocklist must auto-inherit between a baseCOMMENT
LOWtest/backend-switch-hotswap.test.js1// Backend-switch hot-swap — env → runtime-config migration (v3.0.2).COMMENT
LOWtest/langserver-binary-update.test.js1// Dashboard /langserver/binary + /langserver/update endpoints.COMMENT
LOWtest/devin-acp-transient.test.js181 if (msg.method === 'authenticate') { send({ jsonrpc: '2.0', id: msg.id, result: {} }); return; }COMMENT
LOWtest/tool-emulation-end-to-end.test.js1// End-to-end chain test: raw cascade text → salvage parser → OpenAICOMMENT
LOWtest/image-resize.test.js221 assert.equal(out.images[0].base64_data, png);COMMENT
LOWtest/image-resize.test.js301});COMMENT
LOWtest/messages.test.js1021 it('does not contaminate the cascade trajectory across turns (regression for #104)', () => {COMMENT
LOWtest/untrusted-workspace-retry.test.js1// #107 follow-up (zhangzhang-bit): after the v2.0.45 cwd extractionCOMMENT
LOWtest/dashboard-auth-hardening.test.js1// AUTH-1 + XFF-1 regression coverage for src/dashboard/api.js.COMMENT
LOWtest/report-error-transient-guard.test.js1// audit #8 — reportError transient guard.COMMENT
LOWtest/report-error-transient-guard.test.js81 // (!isRateLimit && !isInternal && !isTransient — chat.js:4108/5143). BecauseCOMMENT
LOWtest/audit-fixes.test.js1// Audit-driven hardening (v2.0.42).COMMENT
LOWtest/thinking-fallback-glm.test.js1// Issue #86 follow-up KLFDan0534: GLM 5.1 in claudecode/openclaw silentlyCOMMENT
LOWtest/devin-connect-login-host-fallback.test.js1// app.devin.ai second-host login fallback (DEVIN_CONNECT_LOGIN_HOST_FALLBACK).COMMENT
LOWtest/devin-connect-stream-lifecycle.test.js161 });COMMENT
LOWtest/tool-call-from-thinking.test.js1// v2.0.146 regression: high-reasoning models (Opus 4.8 xhigh) sometimesCOMMENT
LOWtest/v2081-chinese-nlu.test.js1// v2.0.81 — Chinese NLU recovery + bilingual anti-narrate dialect.COMMENT
LOWtest/v2087-pool-alias-checkin.test.js1// v2.0.87 — cascade pool alias checkin (#129 wnfilm).COMMENT
LOWtest/devin-connect-relogin-live.test.js1// devin-connect-relogin-live.test.js — REAL-credential recovery chain.COMMENT
LOWtest/install-ls-atomic-rename.test.js1// install-ls.sh must do an atomic rename, not in-place overwrite.COMMENT
LOWtest/devin-connect-catalog-drift.test.js1import { describe, it } from 'node:test';COMMENT
LOWtest/stream-pool-exhausted-error.test.js1// Regression for issue #77 — `Stream error after retries:` with EMPTY message.COMMENT
LOWtest/sticky-session.test.js1// S2 (audit) — sticky-session.js had ZERO test coverage (HIGH-severity gap).COMMENT
LOWtest/cascade-native-bridge.test.js1// v2.0.65 (#115) — Cascade native tool bridge.COMMENT
LOWtest/issue-203-opus-4-8-catalog.test.js1import { describe, it } from 'node:test';COMMENT
LOWtest/addaccount-by-email.test.js1// addAccountByEmail wiring + CheckUserLoginMethod empty-body fallback.COMMENT
LOWtest/probe-canary-optin.test.js1// Probe canary is opt-in — a plain probe must never spend prompt credits.COMMENT
LOWtest/caller-environment.test.js1import { describe, it } from 'node:test';COMMENT
LOWtest/caller-environment.test.js261 // Cheap-out: if there's no reminder wrapper there's nothing to strip,COMMENT
LOWtest/tool-emulation-salvage.test.js1// Salvage pass for tool-call shapes the primary parser misses.COMMENT
LOWtest/docker-self-update.test.js1// Docker self-update endpoint behavior.COMMENT
LOWtest/docker-self-update.test.js121 test('/self-update POST falls back to docker when git is unavailable', () => {COMMENT
LOWtest/docker-self-update.test.js141//COMMENT
LOWtest/cascade-timeout-invalidation.test.js1// Issue #101 (nalayahfowlkest-ship-it): claude-opus-4.6-thinking,COMMENT
LOW.github/workflows/release.yml121COMMENT
LOWsrc/client.js161 // v2.0.91 — sanitize content-policy triggers that Windsurf upstreamCOMMENT
LOWsrc/client.js241 }COMMENT
LOWsrc/client.js261 // without giving stuck cascades free time — the cold stall (30s withCOMMENT
LOWsrc/client.js301// - tool-active beats thinking beats text-onlyCOMMENT
LOWsrc/client.js621 const isPanelMissing = (e) => /panel state not found|not_found.*panel/i.test(e?.message || '');COMMENT
LOWsrc/client.js1041 // Per-step token usage. Overwrite on every poll so the map alwaysCOMMENT
LOWsrc/client.js1141 // Warm stall: text stopped growing while planner is active.COMMENT
172 more matches not shown…
Hyper-Verbose Identifiers164 hits · 153 pts
SeverityFileLineSnippetContext
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/_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.js52function markCascadeTransportError(err) {CODE
LOWsrc/client.js60function resetCascadeTransportState(port) {CODE
LOWsrc/client.js94export function isReadUrlAutoApproveAllowed(url, origin) {CODE
LOWsrc/client.js159function neutralizeIdentityForCascade(sysText) {CODE
LOWsrc/client.js182function extractCompactSystemFacts(sysText) {CODE
LOWsrc/client.js203export function compactSystemPromptForCascade(sysText) {CODE
LOWsrc/client.js291function isCompletedReadUrlNativeResult(tc) {CODE
LOWsrc/devin-acp.js254function collectAcpTextFromNotification(obj, buffers, onChunk) {CODE
LOWsrc/special-agent.js730export async function handleSpecialAgentChatCompletion(body, route, deps = {}) {CODE
LOWsrc/devin-connect-catalog.js500export function decodeAssignModelResponse(raw, tags = ASSIGN_TAGS_DEFAULT) {CODE
LOWsrc/server.js153function nativeBridgeCallerKeyForRequest(req, token, body, callerKey = '') {CODE
LOWsrc/server.js428 async function parseAndValidateAccountProxy(proxyStr) {CODE
LOWsrc/conversation-pool.js123function normalizeSystemPromptForHash(s) {CODE
LOWsrc/conversation-pool.js287function projectAssistantToolCalls(m) {CODE
LOWsrc/auth.js66function shouldSkipBusyBackgroundMaintenance() {CODE
LOWsrc/auth.js176export function setDroughtRestrictResolver(fn) {CODE
LOWsrc/auth.js617async function fetchAndMergeModelCatalog() {CODE
LOWsrc/auth.js867export function isConnectSelectorAllowedForAccount(account, selector) {CODE
LOWsrc/auth.js880export function hasConnectEntitledAccount(selector) {CODE
LOWsrc/auth.js885export function getAvailableModelsForAccount(account) {CODE
LOWsrc/auth.js1133export async function probeAndRecoverConnectAccount(id, { signal } = {}) {CODE
LOWsrc/auth.js1866function newAccountBaselineEnabled() { return getBreakerTunable('newAccountBaseline'); }CODE
LOWsrc/auth.js2336export function isAllTemporarilyUnavailable(modelKey, connectSelector = null) {CODE
LOWsrc/native-bridge-stats.js96export function recordNativeBridgeDecision(decision = {}) {CODE
LOWsrc/native-bridge-stats.js108export function recordNativeBridgeRequest({ mappedTools = [], unmappedTools = [], additionalSteps = 0 } = {}) {CODE
LOWsrc/native-bridge-stats.js117export function recordNativeBridgeAccountGateReject() {CODE
LOWsrc/native-bridge-stats.js121export function recordNativeBridgeAccountGateSkip() {CODE
LOWsrc/native-bridge-stats.js125export function recordNativeBridgeCascadeToolCall(kind) {CODE
LOWsrc/native-bridge-stats.js130export function recordNativeBridgeEmittedToolCall(name, { source = 'cascade' } = {}) {CODE
LOWsrc/native-bridge-stats.js136export function recordNativeBridgeUnmappedCascadeToolCall(kind) {CODE
LOWsrc/native-bridge-stats.js141export function recordNativeBridgeNoToolCallResponse() {CODE
LOWsrc/models.js598export function registerDiscoveredFreeModel(key) {CODE
LOWsrc/models.js623function isSpecialAgentCatalogEnabled() {CODE
LOWsrc/runtime-config.js238export function getDroughtThresholdPercent() {CODE
LOWsrc/runtime-config.js363export function getBackendSwitchOverrides() {CODE
LOWsrc/runtime-config.js702export function setRuntimeDashboardPassword(plain) {CODE
LOWsrc/runtime-config.js724export function getEffectiveDashboardPasswordStored() {CODE
LOWsrc/langserver.js485function pendingStartReservationCount({ excludeKey = '', beforeSeq = Infinity } = {}) {CODE
LOWsrc/langserver.js495function poolOccupancyWithPendingReservations(opts = {}) {CODE
LOWsrc/langserver.js499function activeSpawnReservationCount(opts = {}) {CODE
LOWsrc/langserver.js86export function detectHostMemAvailableBytes(readFile = readFileSync, fallback = freemem()) {CODE
LOWsrc/langserver.js96export function estimateDefaultMaxLsInstances(totalBytes = totalmem(), perInstanceBytes = DEFAULT_LS_RSS_ESTIMATE_BYTES)CODE
LOWsrc/langserver.js363function invalidateEntryForShutdown(entry) {CODE
LOWsrc/langserver.js445async function waitPortReadyOrProcessExit(proc, port, timeoutMs) {CODE
LOWsrc/langserver.js512export function hasLsPoolCapacityForStart(effectiveOccupancy, maxInstances = MAX_LS_INSTANCES, evictableSlots = 0) {CODE
LOWsrc/langserver.js521function getIdleNonDefaultEvictionCandidates() {CODE
LOWsrc/langserver.js542function findIdleNonDefaultEvictionCandidate() {CODE
LOWsrc/langserver.js546function countIdleNonDefaultEvictionCandidates() {CODE
LOWsrc/langserver.js596function hasIdleNonDefaultInstance() {CODE
LOWsrc/langserver.js618function observedLsRssEstimateBytes(now = Date.now()) {CODE
104 more matches not shown…
Fake / Example Data53 hits · 69 pts
SeverityFileLineSnippetContext
LOWtest/v2078-audit-fixes.test.js41 assert.ok(!out.includes('foo@bar.com'));CODE
LOWtest/request-id-body.test.js113 const acct = addAccountByKey('fake-key-f4', 'f4-chat');CODE
LOWtest/request-id-body.test.js140 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/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.js359 ['placeholder', 'data-i18n-placeholder'],CODE
LOWsrc/dashboard/i18n/zh-CN.json434 "placeholder": "your-email@example.com"CODE
LOWsrc/dashboard/i18n/zh-CN.json438 "placeholder": "••••••••"CODE
LOWsrc/dashboard/i18n/zh-CN.json448 "placeholder": "proxy.example.com"CODE
LOWsrc/dashboard/i18n/zh-CN.json452 "placeholder": "8080"CODE
LOWsrc/dashboard/i18n/zh-CN.json456 "placeholder": "可选"CODE
LOWsrc/dashboard/i18n/zh-CN.json460 "placeholder": "可选"CODE
LOWsrc/dashboard/i18n/zh-CN.json464 "placeholder": "粘贴 Auth Token(从 windsurf.com/show-auth-token 获取)"CODE
LOWsrc/dashboard/i18n/zh-CN.json468 "placeholder": "可选"CODE
LOWsrc/dashboard/i18n/zh-CN.json472 "placeholder": "http://proxy:8080 或 socks5://user:pass@host:port(可选)",CODE
LOWsrc/dashboard/i18n/zh-CN.json484 "placeholder": "留空=使用全局"CODE
LOWsrc/dashboard/i18n/zh-CN.json491 "placeholder": "代理认证用户名"CODE
LOWsrc/dashboard/i18n/zh-CN.json494 "placeholder": "代理认证密码"CODE
LOWsrc/dashboard/i18n/zh-CN.json497 "placeholder": "搜索提供商..."CODE
LOWsrc/dashboard/i18n/zh-CN.json501 "placeholder": "搜索..."CODE
LOWsrc/dashboard/i18n/zh-CN.json505 "placeholder": "输入模型名称筛选..."CODE
LOWsrc/dashboard/i18n/zh-CN.json509 "placeholder": "留空则拒绝清单外请求",CODE
LOWsrc/dashboard/i18n/zh-CN.json519 "placeholder": "搜索提供商..."CODE
LOWsrc/dashboard/i18n/zh-CN.json527 "placeholder": "John"CODE
LOWsrc/dashboard/i18n/zh-CN.json535 "placeholder": "Doe"CODE
LOWsrc/dashboard/i18n/zh-CN.json259 "placeholder": "devin-session-token$... 或 auth1_... 或 email----password 每行一个,可混合",CODE
LOWsrc/dashboard/i18n/zh-CN.json1307 "placeholder": {CODE
LOWsrc/dashboard/i18n/zh-CN.json1428 "placeholder": "筛选设置…",CODE
LOWsrc/dashboard/i18n/en.json452 "placeholder": "Enter model name to filter..."CODE
LOWsrc/dashboard/i18n/en.json456 "placeholder": "Leave blank to reject out-of-list requests",CODE
LOWsrc/dashboard/i18n/en.json460 "placeholder": "Proxy auth username"CODE
LOWsrc/dashboard/i18n/en.json463 "placeholder": "Proxy auth password"CODE
LOWsrc/dashboard/i18n/en.json466 "placeholder": "Search providers..."CODE
LOWsrc/dashboard/i18n/en.json470 "placeholder": "proxy.example.com"CODE
LOWsrc/dashboard/i18n/en.json474 "placeholder": "8080"CODE
LOWsrc/dashboard/i18n/en.json478 "placeholder": "Optional"CODE
LOWsrc/dashboard/i18n/en.json482 "placeholder": "Optional"CODE
LOWsrc/dashboard/i18n/en.json486 "placeholder": "Paste Auth Token"CODE
LOWsrc/dashboard/i18n/en.json490 "placeholder": "Optional"CODE
LOWsrc/dashboard/i18n/en.json494 "placeholder": "http://proxy:8080 or socks5://user:pass@host:port (optional)",CODE
LOWsrc/dashboard/i18n/en.json506 "placeholder": "Leave empty = use global"CODE
LOWsrc/dashboard/i18n/en.json515 "placeholder": "Search providers..."CODE
LOWsrc/dashboard/i18n/en.json519 "placeholder": "Search..."CODE
LOWsrc/dashboard/i18n/en.json527 "placeholder": "John"CODE
LOWsrc/dashboard/i18n/en.json535 "placeholder": "Doe"CODE
LOWsrc/dashboard/i18n/en.json259 "placeholder": "devin-session-token$... or auth1_... or email----password — one per line, mixable",CODE
LOWsrc/dashboard/i18n/en.json434 "placeholder": "your-email@example.com"CODE
LOWsrc/dashboard/i18n/en.json438 "placeholder": "••••••••"CODE
LOWsrc/dashboard/i18n/en.json1307 "placeholder": {CODE
LOWsrc/dashboard/i18n/en.json1428 "placeholder": "Filter settings...",CODE
Modern AI Meta-Vocabulary14 hits · 52 pts
SeverityFileLineSnippetContext
MEDIUMdocker-compose.yml32 # protocol reliably in agentic clients (Claude Code/Cline/Codex). With itCOMMENT
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
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_2.0.138.md1# v2.0.138 - release gate, dashboard pagination, and memory guardrailsCOMMENT
MEDIUMsrc/client.js332// ── Fake workspace scaffold ────────────────────────────────COMMENT
MEDIUMsrc/client.js338// gap. The scaffold is created once per account and persists.COMMENT
MEDIUMsrc/client.js341// Detects an old (pre-#108) scaffold that named the placeholderCOMMENT
MEDIUMsrc/client.js341// Detects an old (pre-#108) scaffold that named the placeholderCOMMENT
MEDIUMsrc/client.js388// #108: prior scaffold seeded a `package.json` named "my-project" plus aCOMMENT
MEDIUMsrc/client.js388// #108: prior scaffold seeded a `package.json` named "my-project" plus aCOMMENT
MEDIUMsrc/client.js393// Node template the user has never seen. Keep the scaffold real enoughCOMMENT
Magic Placeholder Names4 hits · 22 pts
SeverityFileLineSnippetContext
HIGHREADME.en.md229client = OpenAI(base_url="http://YOUR_IP:3003/v1", api_key="YOUR_API_KEY")CODE
HIGHREADME.en.md241export ANTHROPIC_API_KEY=YOUR_API_KEYCODE
HIGHREADME.en.md257- 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.js635 // Step 1: Start cascade — with retry on panel-state-not-foundCOMMENT
LOWsrc/client.js774 // Step 2: Send message. Retry up to MAX_PANEL_RETRIES onCOMMENT
LOWsrc/client.js876 // 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.js635 // Step 1: Start cascade — with retry on panel-state-not-foundCOMMENT
LOWsrc/client.js774 // Step 2: Send message. Retry up to MAX_PANEL_RETRIES onCOMMENT
LOWsrc/client.js876 // 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 Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMsrc/conversation-pool.js41// reuse robust against fingerprint drift (system-prompt changes, tool-listCOMMENT
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