[{"data":1,"prerenderedAt":915},["ShallowReactive",2],{"navigation_docs":3,"trending-repo-ranxianglei\u002Fbillion-context":249,"page-views-\u002Ftrending\u002Franxianglei\u002Fbillion-context":913},[4,29,104,124,194],{"title":5,"icon":6,"path":7,"stem":8,"children":9},"Start",false,"\u002Fstart","1.start",[10,14,19,24],{"title":11,"path":7,"stem":12,"icon":13},"What jscpd finds","1.start\u002Findex","i-lucide-house",{"title":15,"path":16,"stem":17,"icon":18},"Installation","\u002Fstart\u002Finstallation","1.start\u002F2.installation","i-lucide-download",{"title":20,"path":21,"stem":22,"icon":23},"Quickstart","\u002Fstart\u002Fquickstart","1.start\u002F3.quickstart","i-lucide-rocket",{"title":25,"path":26,"stem":27,"icon":28},"Configuration basics","\u002Fstart\u002Fconfiguration","1.start\u002F4.configuration","i-lucide-settings-2",{"title":30,"icon":6,"path":31,"stem":32,"children":33,"page":6},"Guides","\u002Fguides","2.guides",[34,39,44,49,54,59,64,69,74,79,84,89,94,99],{"title":35,"path":36,"stem":37,"icon":38},"Use jscpd in CI","\u002Fguides\u002Fci","2.guides\u002F01.ci","i-lucide-github",{"title":40,"path":41,"stem":42,"icon":43},"Pre-commit hooks","\u002Fguides\u002Fpre-commit","2.guides\u002F02.pre-commit","i-lucide-git-commit",{"title":45,"path":46,"stem":47,"icon":48},"Fail only on new duplication","\u002Fguides\u002Fbaseline","2.guides\u002F03.baseline","i-lucide-git-compare",{"title":50,"path":51,"stem":52,"icon":53},"Monorepos","\u002Fguides\u002Fmonorepos","2.guides\u002F04.monorepos","i-lucide-folder-tree",{"title":55,"path":56,"stem":57,"icon":58},"Cross-format detection","\u002Fguides\u002Fcross-format","2.guides\u002F05.cross-format","i-lucide-layers",{"title":60,"path":61,"stem":62,"icon":63},"Agents","\u002Fguides\u002Fagents","2.guides\u002F06.agents","i-lucide-cpu",{"title":65,"path":66,"stem":67,"icon":68},"Editors","\u002Fguides\u002Feditors","2.guides\u002F07.editors","i-lucide-code",{"title":70,"path":71,"stem":72,"icon":73},"Duplication over git history","\u002Fguides\u002Fhistory","2.guides\u002F08.history","i-lucide-chart-no-axes-combined",{"title":75,"path":76,"stem":77,"icon":78},"Dashboard and health score","\u002Fguides\u002Fdashboard","2.guides\u002F09.dashboard","i-lucide-layout-dashboard",{"title":80,"path":81,"stem":82,"icon":83},"Dead code","\u002Fguides\u002Fdead-code","2.guides\u002F10.dead-code","i-lucide-ghost",{"title":85,"path":86,"stem":87,"icon":88},"Comparing two codebases","\u002Fguides\u002Fcompare","2.guides\u002F11.compare","i-lucide-git-compare-arrows",{"title":90,"path":91,"stem":92,"icon":93},"Semantic clones","\u002Fguides\u002Fsemantic-clones","2.guides\u002F12.semantic-clones","i-lucide-brain-circuit",{"title":95,"path":96,"stem":97,"icon":98},"Similar functions","\u002Fguides\u002Fsimilarity","2.guides\u002F13.similarity","i-lucide-list-tree",{"title":100,"path":101,"stem":102,"icon":103},"Boundaries","\u002Fguides\u002Fboundaries","2.guides\u002F14.boundaries","i-lucide-fence",{"title":105,"icon":6,"path":106,"stem":107,"children":108,"page":6},"Concepts","\u002Fconcepts","3.concepts",[109,114,119],{"title":110,"path":111,"stem":112,"icon":113},"Types of code clones","\u002Fconcepts\u002Fclone-types","3.concepts\u002F1.clone-types","i-lucide-copy",{"title":115,"path":116,"stem":117,"icon":118},"How detection works","\u002Fconcepts\u002Fhow-detection-works","3.concepts\u002F2.how-detection-works","i-lucide-scan-search",{"title":120,"path":121,"stem":122,"icon":123},"The health score","\u002Fconcepts\u002Fhealth-score","3.concepts\u002F3.health-score","i-lucide-heart-pulse",{"title":125,"icon":6,"path":126,"stem":127,"children":128,"page":6},"Reference","\u002Freference","4.reference",[129,134,139,144,181,186,190],{"title":130,"path":131,"stem":132,"icon":133},"CLI options","\u002Freference\u002Fcli","4.reference\u002F1.cli","i-lucide-terminal",{"title":135,"path":136,"stem":137,"icon":138},"The config file","\u002Freference\u002Fconfig-file","4.reference\u002F2.config-file","i-lucide-settings",{"title":140,"path":141,"stem":142,"icon":143},"Exit codes","\u002Freference\u002Fexit-codes","4.reference\u002F3.exit-codes","i-lucide-log-out",{"title":145,"icon":6,"path":146,"stem":147,"children":148},"Reporters","\u002Freference\u002Freporters","4.reference\u002F4.reporters\u002Findex",[149,151,156,161,166,171,176],{"title":145,"path":146,"stem":147,"icon":150},"i-lucide-file-chart-column",{"title":152,"path":153,"stem":154,"icon":155},"HTML reporter","\u002Freference\u002Freporters\u002Fhtml","4.reference\u002F4.reporters\u002F2.html","i-lucide-file-code",{"title":157,"path":158,"stem":159,"icon":160},"JSON reporter","\u002Freference\u002Freporters\u002Fjson","4.reference\u002F4.reporters\u002F3.json","i-lucide-braces",{"title":162,"path":163,"stem":164,"icon":165},"Badge reporter","\u002Freference\u002Freporters\u002Fbadge","4.reference\u002F4.reporters\u002F4.badge","i-lucide-award",{"title":167,"path":168,"stem":169,"icon":170},"SARIF reporter","\u002Freference\u002Freporters\u002Fsarif","4.reference\u002F4.reporters\u002F5.sarif","i-lucide-shield-check",{"title":172,"path":173,"stem":174,"icon":175},"CodeClimate reporter","\u002Freference\u002Freporters\u002Fcodeclimate","4.reference\u002F4.reporters\u002F6.codeclimate","i-lucide-flag-triangle-right",{"title":177,"path":178,"stem":179,"icon":180},"OpenMetrics reporter","\u002Freference\u002Freporters\u002Fopenmetrics","4.reference\u002F4.reporters\u002F7.openmetrics","i-lucide-activity",{"title":182,"path":183,"stem":184,"icon":185},"Supported formats","\u002Freference\u002Fsupported-formats","4.reference\u002F5.supported-formats","i-lucide-languages",{"title":187,"path":188,"stem":189,"icon":38},"GitHub Action","\u002Freference\u002Fgithub-action","4.reference\u002F6.github-action",{"title":191,"path":192,"stem":193,"icon":68},"Rust crates","\u002Freference\u002Frust-crates","4.reference\u002F7.rust-crates",{"title":195,"icon":6,"path":196,"stem":197,"children":198,"page":6},"Project","\u002Fproject","5.project",[199,204,209,214,239,244],{"title":200,"path":201,"stem":202,"icon":203},"Changelog","\u002Fproject\u002Fchangelog","5.project\u002F1.changelog","i-lucide-scroll-text",{"title":205,"path":206,"stem":207,"icon":208},"Migrating from v4 to v5","\u002Fproject\u002Fmigration","5.project\u002F2.migration","i-lucide-arrow-right-left",{"title":210,"path":211,"stem":212,"icon":213},"jscpd v4 (TypeScript)","\u002Fproject\u002Fv4","5.project\u002F3.v4","i-simple-icons-typescript",{"title":215,"icon":6,"path":216,"stem":217,"children":218},"Benchmarks","\u002Fproject\u002Fbenchmarks","5.project\u002F4.benchmarks\u002Findex",[219,221,226,230,235],{"title":215,"path":216,"stem":217,"icon":220},"i-lucide-gauge",{"title":222,"path":223,"stem":224,"icon":225},"Detection Speed","\u002Fproject\u002Fbenchmarks\u002Fdetection-speed","5.project\u002F4.benchmarks\u002F2.detection-speed","i-lucide-zap",{"title":227,"path":228,"stem":229,"icon":58},"Multi-Format Detection","\u002Fproject\u002Fbenchmarks\u002Fcross-format","5.project\u002F4.benchmarks\u002F3.cross-format",{"title":231,"path":232,"stem":233,"icon":234},"AI Token Efficiency","\u002Fproject\u002Fbenchmarks\u002Fai-token-efficiency","5.project\u002F4.benchmarks\u002F4.ai-token-efficiency","i-lucide-sparkles",{"title":236,"path":237,"stem":238,"icon":93},"Embedding Models","\u002Fproject\u002Fbenchmarks\u002Fembedding-models","5.project\u002F4.benchmarks\u002F5.embedding-models",{"title":240,"path":241,"stem":242,"icon":243},"Research","\u002Fproject\u002Fresearch","5.project\u002F5.research","i-lucide-graduation-cap",{"title":245,"path":246,"stem":247,"icon":248},"Articles","\u002Fproject\u002Farticles","5.project\u002F6.articles","i-lucide-newspaper",{"name":250,"url":251,"appearances":252,"latest":281},"ranxianglei\u002Fbillion-context","https:\u002F\u002Fgithub.com\u002Franxianglei\u002Fbillion-context",[253,268],{"date":254,"rank":255,"stars":256,"starsToday":257,"headSha":258,"sources":259,"lines":260,"clones":261,"duplicatedLines":262,"percentage":263,"codePercentage":264,"codeSources":265,"healthScore":266,"healthGrade":267},"2026-11-08",9,4694,191,"354e21e23af4f5dc10166c94c47f09f1e514899d",2052,618491,8152,100092,16.18,2.74,449,46.3,"D",{"date":269,"rank":255,"stars":270,"starsToday":271,"headSha":272,"sources":273,"lines":274,"clones":275,"duplicatedLines":276,"percentage":277,"codePercentage":278,"codeSources":279,"healthScore":280,"healthGrade":267},"2026-11-11",6464,375,"e3220adc0f5412af83163666ca70a6afa05e3247",2173,644916,8437,103440,16.04,2.73,463,46.6,{"date":269,"generatedAt":282,"name":250,"url":251,"description":283,"language":284,"stars":270,"starsToday":271,"defaultBranch":285,"headSha":272,"durationMs":286,"total":287,"formats":291,"topClones":356,"code":603,"health":788,"complexity":818,"deadCode":871},"2026-11-11T05:21:30.833Z","A context-compression plugin for month-long single sessions (billions of tokens) ,small context windows (a 100K context is enough) and token savings (5x fewer tokens) .上下文压缩插件，月级长会话会话， 兼顾小窗口(100k上下文足矣)省token(省5倍token) . billion-context is all you need","TypeScript","master",4409,{"sources":273,"lines":274,"tokens":288,"clones":275,"duplicatedLines":276,"duplicatedTokens":289,"percentage":277,"percentageTokens":290},5310814,757388,14.26,[292,299,306,313,320,327,334,340,347,352],{"format":293,"sources":294,"lines":295,"clones":296,"duplicatedLines":297,"percentage":298},"typescript",1814,592390,8240,98442,16.62,{"format":300,"sources":301,"lines":302,"clones":303,"duplicatedLines":304,"percentage":305},"json",35,7261,90,2968,40.88,{"format":307,"sources":308,"lines":309,"clones":310,"duplicatedLines":311,"percentage":312},"yaml",42,7827,41,779,9.95,{"format":314,"sources":315,"lines":316,"clones":317,"duplicatedLines":318,"percentage":319},"javascript",40,8610,25,307,3.57,{"format":321,"sources":322,"lines":323,"clones":324,"duplicatedLines":325,"percentage":326},"markup",30,1661,19,278,16.74,{"format":328,"sources":329,"lines":330,"clones":331,"duplicatedLines":332,"percentage":333},"markdown",178,23791,15,464,1.95,{"format":335,"sources":336,"lines":337,"clones":336,"duplicatedLines":338,"percentage":339},"txt",4,243,113,46.5,{"format":341,"sources":342,"lines":343,"clones":344,"duplicatedLines":345,"percentage":346},"bash",13,350,3,89,25.43,{"format":348,"sources":349,"lines":350,"clones":351,"duplicatedLines":351,"percentage":351},"python",2,2165,0,{"format":353,"sources":354,"lines":355,"clones":351,"duplicatedLines":351,"percentage":351},"css",1,281,[357,402,451,476,503,513,530,551,563,573],{"format":293,"lines":358,"tokens":359,"first":360,"others":363,"copies":317,"excerpt":389,"kind":401},12,118,{"name":361,"start":255,"end":362},"tests\u002Facp-status-estimator.test.ts",20,[364,368,372,375,379,381,385,387],{"name":365,"start":366,"end":367},"tests\u002Fanthropic-round2-thinking-hold.test.ts",68,79,{"name":369,"start":370,"end":371},"tests\u002Fcompress-credit.test.ts",21,32,{"name":373,"start":317,"end":374},"tests\u002Fcompress-fingerprint-refold.test.ts",36,{"name":376,"start":377,"end":378},"tests\u002Fcompress-observability.test.ts",22,33,{"name":380,"start":324,"end":322},"tests\u002Fcompress-reject-reasons.test.ts",{"name":382,"start":383,"end":384},"tests\u002Fcompress-span-hint.test.ts",28,39,{"name":386,"start":377,"end":378},"tests\u002Fcompress-success-tail.test.ts",{"name":388,"start":317,"end":374},"tests\u002Ffix-1124-compress-receipt.test.ts",{"lines":390,"total":358},[391,392,393,394,395,396,397,398,399,400],"id: `test-${Math.random().toString(36).slice(2)}`,","meta: {},","stats: { requests: 0, tokensSaved: 0, inputTokens: 0, cachedTokens: 0, outputTokens: 0, cacheSamples: 0, lastInputTokens: 0, compressCreditTokens: 0, contextTo…","metadata: {},","state: createInitialState(),","createdAt: Date.now(),","lastSeen: Date.now(),","blockContents: new Map(),","inFlight: 0,","persisted: false,","tests",{"format":293,"lines":403,"tokens":404,"first":405,"others":409,"copies":438,"excerpt":439,"kind":401},10,51,{"name":406,"start":407,"end":408},"tests\u002Fcompaction-trigger-finality.test.ts",137,146,[410,414,417,421,424,428,431,434],{"name":411,"start":412,"end":413},"tests\u002Fe2e-issue3450-stated-counts.test.ts",167,176,{"name":411,"start":415,"end":416},246,255,{"name":418,"start":419,"end":420},"tests\u002Fe2e-issue3900-overflow-teaches.test.ts",135,144,{"name":418,"start":422,"end":423},180,189,{"name":425,"start":426,"end":427},"tests\u002Fe2e-overflow-selfheal.test.ts",185,194,{"name":425,"start":429,"end":430},261,270,{"name":425,"start":432,"end":433},340,349,{"name":435,"start":436,"end":437},"tests\u002Fe2e\u002Fe2e-image-billing.test.ts",408,417,53,{"lines":440,"total":403},[441,442,443,444,445,446,447,448,449,450],"        assert.ok(bodies[bodies.length - 1].includes(\"Context limit reached\"), \"nudge still injected on a normal request\");","    } finally {","        proxy.close();","        proxy.closeIdleConnections?.();","        await once(proxy, \"close\");","        upstream.close();","        upstream.closeIdleConnections?.();","        await once(upstream, \"close\");","    }","});",{"format":328,"lines":452,"tokens":453,"first":454,"others":458,"copies":349,"excerpt":463,"kind":475},169,2501,{"name":455,"start":456,"end":457},"docs\u002Fconfiguration.md",1903,2071,[459],{"name":460,"start":461,"end":462},"docs\u002Fconfiguration.zh-CN.md",1880,2048,{"lines":464,"total":452},[465,466,467,468,469,470,471,472,473,474],"| Env var | Config key | Default |","|---------|------------|--------|","| `` | `pi.commands` | [\"acp\", \"acp-cache\"] |","| `ACP_AUTO_RESTART_ON_UPDATE` | `autoRestartOnUpdate` | false |","| `ACP_AUTO_UPDATE` | `autoUpdate` | true |","| `ACP_COMPRESS_NUDGE` | `compress.injectNudge` | true |","| `ACP_COMPRESS_PROTOCOL` | `diagnostics.compressProtocol` | \"tools\" |","| `ACP_COMPRESS_TOOL` | `compress.injectTool` | true |","| `ACP_COUNT_TOKENS_PASSTHROUGH` | `diagnostics.countTokensPassthrough` | false |","| `ACP_DEBUG` | `debug` | false |","docs",{"format":307,"lines":477,"tokens":478,"first":479,"others":481,"copies":403,"kind":502},34,265,{"name":480,"start":362,"end":438},".github\u002Fworkflows\u002Fci-e2e-codex-persona.yml",[482,484,487,489,491,493,495,499],{"name":483,"start":362,"end":438},".github\u002Fworkflows\u002Fci-e2e-dsh-native.yml",{"name":485,"start":371,"end":486},".github\u002Fworkflows\u002Fci-e2e-dsh.yml",65,{"name":488,"start":362,"end":438},".github\u002Fworkflows\u002Fci-e2e-fake.yml",{"name":490,"start":362,"end":438},".github\u002Fworkflows\u002Fci-e2e-native-opencode.yml",{"name":492,"start":362,"end":438},".github\u002Fworkflows\u002Fci-e2e-native.yml",{"name":494,"start":362,"end":438},".github\u002Fworkflows\u002Fci-e2e-pi-ws.yml",{"name":496,"start":497,"end":498},".github\u002Fworkflows\u002Fci-e2e.yml",45,78,{"name":500,"start":322,"end":501},".github\u002Fworkflows\u002Fci-image.yml",63,"data",{"format":335,"lines":504,"tokens":505,"first":506,"others":508,"copies":344,"kind":401},48,1114,{"name":507,"start":354,"end":504},"kernel\u002Ftests\u002Ffixtures\u002Fprompt-function-default.txt",[509,511],{"name":510,"start":354,"end":504},"kernel\u002Ftests\u002Ffixtures\u002Fprompt-hybrid-default.txt",{"name":512,"start":354,"end":504},"kernel\u002Ftests\u002Ffixtures\u002Fprompt-text-default.txt",{"format":293,"lines":514,"tokens":515,"first":516,"others":519,"copies":336,"kind":401},95,740,{"name":517,"start":477,"end":518},"tests\u002Fissue2419-dsh-skill-catalog.test.ts",128,[520,523,526],{"name":521,"start":522,"end":420},"tests\u002Fissue2446-dsh-mcp-catalog.test.ts",50,{"name":524,"start":315,"end":525},"tests\u002Fissue2447-dsh-workspace-instructions.test.ts",134,{"name":527,"start":528,"end":529},"tests\u002Fissue2481-dsh-runtime-context.test.ts",47,141,{"format":293,"lines":342,"tokens":531,"first":532,"others":534,"copies":550,"kind":401},73,{"name":533,"start":354,"end":342},"tests\u002Fclaude-bridge-e2e.test.ts",[535,537,538,540,542,544,546,548],{"name":536,"start":354,"end":342},"tests\u002Fcodex-compact-e2e.test.ts",{"name":406,"start":354,"end":342},{"name":539,"start":354,"end":342},"tests\u002Ffix-488-multimodal.test.ts",{"name":541,"start":354,"end":342},"tests\u002Ffork-nudge-trigger.test.ts",{"name":543,"start":354,"end":342},"tests\u002Fissue1492-stale-estimate-view.test.ts",{"name":545,"start":354,"end":301},"tests\u002Fissue1839-ghost-denominator.test.ts",{"name":547,"start":354,"end":342},"tests\u002Fissue1841-preflight-futility.test.ts",{"name":549,"start":354,"end":342},"tests\u002Fissue1843-learned-image-cost.test.ts",31,{"format":293,"lines":552,"tokens":553,"first":554,"others":558,"copies":349,"kind":401},110,1780,{"name":555,"start":556,"end":557},"tests\u002Fgolden-storage-drive.ts",217,326,[559],{"name":560,"start":561,"end":562},"tests\u002Fidentity-proof.test.ts",211,316,{"format":328,"lines":310,"tokens":564,"first":565,"others":568,"copies":344,"kind":475},860,{"name":566,"start":567,"end":528},"README.ja.md",7,[569,571],{"name":570,"start":567,"end":528},"README.md",{"name":572,"start":567,"end":528},"README.zh-CN.md",{"format":293,"lines":574,"tokens":404,"first":575,"others":577,"copies":477,"kind":401},11,{"name":411,"start":576,"end":329},168,[578,580,583,586,589,593,596,600],{"name":418,"start":579,"end":408},136,{"name":425,"start":581,"end":582},186,196,{"name":425,"start":584,"end":585},262,272,{"name":435,"start":587,"end":588},409,419,{"name":590,"start":591,"end":592},"tests\u002Ffake-completion.test.ts",438,448,{"name":594,"start":595,"end":419},"tests\u002Ffallback-window-floor.test.ts",125,{"name":597,"start":598,"end":599},"tests\u002Ffix-1001-history-rewrite.test.ts",236,250,{"name":601,"start":602,"end":432},"tests\u002Fissue1933-preflight-calibration.test.ts",330,{"sources":279,"lines":604,"tokens":605,"clones":606,"duplicatedLines":607,"duplicatedTokens":608,"percentage":278,"percentageTokens":609,"formats":610,"topClones":624,"generated":784},212240,1248364,462,5787,40453,3.24,[611,617,620,621,623],{"format":293,"sources":612,"lines":613,"clones":614,"duplicatedLines":615,"percentage":616},424,202099,451,5636,2.79,{"format":314,"sources":477,"lines":618,"clones":574,"duplicatedLines":619,"percentage":333},7726,151,{"format":348,"sources":349,"lines":350,"clones":351,"duplicatedLines":351,"percentage":351},{"format":622,"sources":349,"lines":556,"clones":351,"duplicatedLines":351,"percentage":351},"powershell",{"format":341,"sources":354,"lines":378,"clones":351,"duplicatedLines":351,"percentage":351},[625,650,676,708,717,732,744,754,767,775],{"format":293,"lines":626,"tokens":627,"first":628,"others":632,"copies":349,"excerpt":637,"kind":649},66,579,{"name":629,"start":630,"end":631},"src\u002Fserver\u002Fprepare-google.ts",202,267,[633],{"name":634,"start":635,"end":636},"src\u002Fserver\u002Fprepare-openai.ts",321,393,{"lines":638,"total":626},[639,640,641,642,643,644,645,646,647,648],"const turn = core.processTurn({ messages: renderMsgs, state: session.state, config: loopConfig, tokenCount, tokenCountSource, renderTags: renderStrategy, conte…","session.state = turn.state;","adoptContentStore(session, turn.contentStore);","\u002F\u002F #4528: split the kernel pass from its post-processing scan passes so","\u002F\u002F each is a bounded synchronous stretch rather than one long block.","await yieldToEventLoop();","\u002F\u002F The fold from last turn's compress has now materialized in state —","\u002F\u002F future usage reports are post-fold reality, drop the credit.","session.stats.compressCreditTokens = 0;","if (foldCoveredBefore !== null && !isTitleGen && msgs.length >= REWRITE_MIN_INCOMING_TOTAL) {","code",{"format":293,"lines":651,"tokens":652,"first":653,"others":657,"copies":349,"excerpt":659,"excerptSecond":671,"kind":649},60,528,{"name":654,"start":655,"end":656},"src\u002Fserver\u002Fprepare-anthropic.ts",372,431,[658],{"name":629,"start":561,"end":631},{"lines":660,"total":651},[661,662,663,664,665,666,667,668,669,670],"if (foldCoveredBefore !== null && msgs.length >= REWRITE_MIN_INCOMING_TOTAL) {","    const gap = foldCoverage(foldCoveredBefore, msgs.map((m) => m.id));","    if (gap) log(\"warn\", `[${sessionId}] [acp-drift] fold coverage mismatch: ${gap.matched}\u002F${gap.expected} covered message id(s) present in resent history — $…","}","storeEffectiveAbsorb(session, loopConfig);","storeEffectiveRules(session, config);","turn.messages = applyAbsorbView(turn.messages, session.state, loopConfig, tokenCount);","turn.messages = attachSubagentSessions(turn.messages, session);","\u002F\u002F Drop sub-viability fragments before any consumer sees them: a tiny","\u002F\u002F range in the list makes batched compress attempts fail atomically",{"lines":672,"total":675},[648,662,663,664,665,666,667,668,673,674],"\u002F\u002F #3204: also drop DEAD-ref-bracketing spans at this single point so","\u002F\u002F every downstream consumer (decision prompt + directive, prose nudge,",57,{"format":293,"lines":255,"tokens":677,"first":678,"others":682,"copies":695,"excerpt":696,"excerptSecond":704,"kind":649},77,{"name":679,"start":680,"end":681},"src\u002Fserver\u002Fadmin.ts",816,824,[683,686,689,692],{"name":679,"start":684,"end":685},851,859,{"name":679,"start":687,"end":688},864,872,{"name":679,"start":690,"end":691},875,883,{"name":679,"start":693,"end":694},888,902,5,{"lines":697,"total":255},[698,699,700,701,702,699,449,664,703],"        handlePluginRegister(body.toString(\"utf8\"), res);","        return;","    } catch (err) {","        res.writeHead(err instanceof BodyTooLargeError ? 413 : 400, { \"content-type\": \"application\u002Fjson\" });","        res.end(JSON.stringify({ ok: false, error: String(err) }));","if (req.method === \"POST\" && req.url === \"\u002F__bili\u002Fagent-providers\") {",{"lines":705,"total":255},[706,699,700,701,702,699,449,664,707],"        handlePluginRuntimeInfo(body.toString(\"utf8\"), res);","if (req.method === \"POST\" && req.url === \"\u002F__bili\u002Fplugin\u002Fattribution\") {",{"format":293,"lines":322,"tokens":709,"first":710,"others":713,"copies":349,"kind":649},300,{"name":654,"start":711,"end":712},440,469,[714],{"name":634,"start":715,"end":716},403,432,{"format":293,"lines":383,"tokens":718,"first":719,"others":723,"copies":344,"kind":649},150,{"name":720,"start":721,"end":722},"src\u002Fagent\u002Fomp-native.ts",354,381,[724,728],{"name":725,"start":726,"end":727},"src\u002Fagent\u002Fopencode-native.ts",402,430,{"name":729,"start":730,"end":731},"src\u002Fagent\u002Fpi-native.ts",252,279,{"format":293,"lines":733,"tokens":734,"first":735,"others":739,"copies":349,"kind":649},38,299,{"name":736,"start":737,"end":738},"src\u002Fstorage\u002Fmysql.ts",1835,1872,[740],{"name":741,"start":742,"end":743},"src\u002Fstorage\u002Fstore.ts",2118,2155,{"format":293,"lines":377,"tokens":745,"first":746,"others":750,"copies":349,"kind":649},293,{"name":747,"start":748,"end":749},"src\u002Fclient-config.ts",2156,2177,[751],{"name":747,"start":752,"end":753},2187,2208,{"format":293,"lines":755,"tokens":525,"first":756,"others":758,"copies":344,"kind":649},14,{"name":757,"start":413,"end":423},"src\u002Fhost-plugin-notice.ts",[759,763],{"name":760,"start":761,"end":762},"src\u002Fnotice-store.ts",72,87,{"name":764,"start":765,"end":766},"src\u002Fpck-notice.ts",43,56,{"format":293,"lines":315,"tokens":631,"first":768,"others":770,"copies":349,"kind":649},{"name":769,"start":370,"end":651},"src\u002Floop\u002Fadapter-anthropic.ts",[771],{"name":772,"start":773,"end":774},"src\u002Floop\u002Fadapter-responses.ts",179,218,{"format":293,"lines":733,"tokens":776,"first":777,"others":779,"copies":349,"kind":649},266,{"name":778,"start":310,"end":498},"src\u002Fkimi\u002Fnative.ts",[780],{"name":781,"start":782,"end":783},"src\u002Fzcode\u002Fnative.ts",55,92,{"files":349,"minified":351,"sample":785},[786,787],"src\u002Fweb\u002Ffavicon.ts","src\u002Fzcode\u002Fjson-edit.ts",{"score":280,"grade":267,"size":789,"dimensions":793},{"lines":790,"files":791,"class":792},603180,1855,"L",[794,806,812],{"id":795,"source":796,"value":797,"adjusted":798,"lines":799,"halfLife":800,"formats":801,"excluded":803,"weight":354,"score":805},"duplication","jscpd",16.4,16.3,98737,8.5,[293,314,348,622,341,802],"docker",[321,804,502],"text",26.4,{"id":807,"source":796,"value":808,"adjusted":808,"lines":809,"halfLife":810,"weight":354,"score":811},"dead-code",1.2,7257,7.5,89.4,{"id":813,"source":796,"value":814,"adjusted":815,"lines":816,"halfLife":522,"weight":354,"score":817},"complexity",61.3,61.2,369764,42.8,{"total":819,"mean":820,"files":821},113195,61,[822,827,832,837,842,847,852,857,862,867],{"path":823,"complexity":824,"lines":825,"bytes":826},"src\u002Flauncher.ts",1987,7786,419374,{"path":828,"complexity":829,"lines":830,"bytes":831},"src\u002Fplugin.ts",1935,5241,319988,{"path":833,"complexity":834,"lines":835,"bytes":836},"verif\u002Fsymbolic.ts",1779,3581,193597,{"path":838,"complexity":839,"lines":840,"bytes":841},"tests\u002Flauncher.test.ts",1535,8598,422494,{"path":843,"complexity":844,"lines":845,"bytes":846},"src\u002Fserver.ts",1028,4826,312024,{"path":848,"complexity":849,"lines":850,"bytes":851},"src\u002Fpersist.ts",1008,4469,255768,{"path":853,"complexity":854,"lines":855,"bytes":856},"src\u002Fpreflight.ts",970,3264,211927,{"path":858,"complexity":859,"lines":860,"bytes":861},"src\u002Fplugin-install.ts",949,2702,141804,{"path":863,"complexity":864,"lines":865,"bytes":866},"src\u002Fserver\u002Fhandle.ts",914,3378,251124,{"path":868,"complexity":693,"lines":869,"bytes":870},"src\u002Fconfig.ts",3555,211415,{"percentage":808,"findings":872,"files":873,"byCategory":874,"largest":886},382,1869,[875,878,881,883],{"category":876,"count":877},"unused-file",17,{"category":879,"count":880},"unused-export",24,{"category":882,"count":626},"unused-symbol",{"category":884,"count":885},"unused-import",275,[887,889,892,895,898,900,903,906,908,911],{"category":876,"path":833,"name":888,"line":354,"lines":835},"",{"category":876,"path":890,"name":888,"line":354,"lines":891},"verif\u002Fsubset-guard.ts",584,{"category":876,"path":893,"name":888,"line":354,"lines":894},"verif\u002Fterms.ts",541,{"category":876,"path":896,"name":888,"line":354,"lines":897},"scripts\u002Fupdate-storage-corpus.ts",472,{"category":876,"path":899,"name":888,"line":354,"lines":773},"src\u002Fpersona-anchor.ts",{"category":876,"path":901,"name":888,"line":354,"lines":902},"verif\u002Fsolve.ts",174,{"category":876,"path":904,"name":888,"line":354,"lines":905},"kernel\u002Fsrc\u002Fsearch\u002Falgorithms\u002Fsemantic.ts",112,{"category":876,"path":907,"name":888,"line":354,"lines":514},"verif\u002Fexceptions.ts",{"category":876,"path":909,"name":888,"line":354,"lines":910},"scripts\u002Fcheck-dist-external-zod.mjs",86,{"category":876,"path":912,"name":888,"line":354,"lines":910},"verif\u002Fdrivers\u002Fresponses-ingress-driver.ts",{"\u002Ftrending\u002Franxianglei\u002Fbillion-context":914},{"views":336,"visits":336},1795510262797]