[{"data":1,"prerenderedAt":941},["ShallowReactive",2],{"navigation_docs":3,"trending-repo-JetBrains\u002Fthinkrail":249,"page-views-\u002Ftrending\u002FJetBrains\u002Fthinkrail":939},[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":333},"JetBrains\u002Fthinkrail","https:\u002F\u002Fgithub.com\u002FJetBrains\u002Fthinkrail",[253,268,281,294,307,319],{"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-10-26",5,2012,51,"d299f20d2ba014f382ddbcc9b49f2aa63fada132",1848,340904,988,9673,2.84,0.74,879,69.9,"C",{"date":269,"rank":270,"stars":271,"starsToday":272,"headSha":273,"sources":274,"lines":275,"clones":276,"duplicatedLines":277,"percentage":263,"codePercentage":278,"codeSources":279,"healthScore":280,"healthGrade":267},"2026-10-27",3,3165,1173,"8e7ced35f4e651a763cc00453573f0f796830349",1876,349929,1014,9930,0.75,892,69.7,{"date":282,"rank":255,"stars":283,"starsToday":284,"headSha":285,"sources":286,"lines":287,"clones":288,"duplicatedLines":289,"percentage":290,"codePercentage":291,"codeSources":292,"healthScore":293,"healthGrade":267},"2026-10-28",4244,1204,"ef3d5b636ed511603f52dc6bfb3658bbb9178a49",1964,371842,1042,10236,2.75,0.76,937,69.4,{"date":295,"rank":296,"stars":297,"starsToday":298,"headSha":299,"sources":300,"lines":301,"clones":302,"duplicatedLines":303,"percentage":304,"codePercentage":278,"codeSources":305,"healthScore":306,"healthGrade":267},"2026-10-29",1,5293,1068,"940d15ca5fb0838b9396832befd9ad60d6e51e66",1987,376138,1047,10273,2.73,946,69.5,{"date":308,"rank":309,"stars":310,"starsToday":311,"headSha":312,"sources":313,"lines":314,"clones":315,"duplicatedLines":316,"percentage":317,"codePercentage":264,"codeSources":318,"healthScore":293,"healthGrade":267},"2026-10-30",2,6138,1117,"df7cb6d2dd5fafbc6ed8eea721f16e54f09e38fc",1997,382268,1050,10300,2.69,951,{"date":320,"rank":321,"stars":322,"starsToday":323,"headSha":324,"sources":325,"lines":326,"clones":327,"duplicatedLines":328,"percentage":329,"codePercentage":330,"codeSources":331,"healthScore":332,"healthGrade":267},"2026-10-31",6,6657,722,"ec2f2db511c4d5c2a7c3690bf418917d7ea3a29d",2085,403458,1082,10603,2.63,0.69,998,69.6,{"date":320,"generatedAt":334,"name":250,"url":251,"description":335,"language":336,"stars":322,"starsToday":323,"defaultBranch":337,"headSha":324,"durationMs":338,"total":339,"formats":343,"topClones":403,"code":659,"health":816,"complexity":847,"deadCode":901},"2026-10-31T05:21:19.544Z","Vibe code with pi in a lightweight, real IDE that customises itself around the way you work — The Vibe You Need","TypeScript","main",2897,{"sources":325,"lines":326,"tokens":340,"clones":327,"duplicatedLines":328,"duplicatedTokens":341,"percentage":329,"percentageTokens":342},3120401,75638,2.42,[344,351,358,365,372,379,386,392,396,400],{"format":345,"sources":346,"lines":347,"clones":348,"duplicatedLines":349,"percentage":350},"typescript",1379,277476,914,8823,3.18,{"format":352,"sources":353,"lines":354,"clones":355,"duplicatedLines":356,"percentage":357},"css",10,4977,75,595,11.95,{"format":359,"sources":360,"lines":361,"clones":362,"duplicatedLines":363,"percentage":364},"tsx",347,68165,57,641,0.94,{"format":366,"sources":367,"lines":368,"clones":369,"duplicatedLines":370,"percentage":371},"yaml",69,1420,13,138,9.72,{"format":373,"sources":374,"lines":375,"clones":376,"duplicatedLines":377,"percentage":378},"json",54,17083,9,236,1.38,{"format":380,"sources":381,"lines":382,"clones":383,"duplicatedLines":384,"percentage":385},"html",15,1090,8,99,9.08,{"format":387,"sources":388,"lines":389,"clones":255,"duplicatedLines":390,"percentage":391},"markdown",163,30912,65,0.21,{"format":393,"sources":309,"lines":394,"clones":296,"duplicatedLines":321,"percentage":395},"diff",151,3.97,{"format":397,"sources":383,"lines":398,"clones":399,"duplicatedLines":399,"percentage":399},"bash",909,0,{"format":401,"sources":381,"lines":402,"clones":399,"duplicatedLines":399,"percentage":399},"astro",501,[404,449,494,531,545,560,572,605,620,639],{"format":345,"lines":321,"tokens":405,"first":406,"others":410,"copies":435,"excerpt":436,"excerptSecond":444,"kind":448},62,{"name":407,"start":408,"end":409},"packages\u002Fserver\u002Fsrc\u002Ftodos\u002Fartifacts.test.ts",152,157,[411,414,417,420,423,426,429,432],{"name":407,"start":412,"end":413},188,193,{"name":407,"start":415,"end":416},258,267,{"name":407,"start":418,"end":419},306,311,{"name":407,"start":421,"end":422},336,341,{"name":407,"start":424,"end":425},371,376,{"name":407,"start":427,"end":428},385,390,{"name":407,"start":430,"end":431},506,511,{"name":407,"start":433,"end":434},572,577,19,{"lines":437,"total":321},[438,439,440,441,442,443],"test(\"done attaches the delta of changes since the in_progress baseline\", async () => {","    const { store, root } = tempStore();","    try {","        const todo = store.add({ title: \"step\" });","        store.update(todo.id, { status: \"in_progress\" });","        await reconcileChangeArtifacts(store, root, SESSION, async () => [\"a.ts\"]);",{"lines":445,"total":321},[446,439,440,441,442,447],"test(\"a done reconcile cannot commit an item reopened during its git read\", async () => {","        await reconcileChangeArtifacts(store, root, SESSION, async () => []);","tests",{"format":345,"lines":376,"tokens":450,"first":451,"others":454,"copies":478,"excerpt":479,"excerptSecond":490,"kind":448},67,{"name":452,"start":453,"end":412},"packages\u002Fserver\u002Fsrc\u002Fagent\u002Fextensions.test.ts",180,[455,458,461,463,466,469,472,475],{"name":452,"start":456,"end":457},228,235,{"name":452,"start":459,"end":460},353,360,{"name":452,"start":428,"end":462},397,{"name":452,"start":464,"end":465},424,431,{"name":452,"start":467,"end":468},473,480,{"name":452,"start":470,"end":471},497,504,{"name":452,"start":473,"end":474},555,562,{"name":452,"start":476,"end":477},700,707,11,{"lines":480,"total":376},[481,482,483,484,485,486,487,488,489],"const root = mkdtempSync(join(tmpdir(), \"thinkrail-skill-trust-\"));","const project = join(root, \"project\");","const home = join(root, \"home\");","const agentDir = join(root, \"pi-agent\");","mkdirSync(project, { recursive: true });","mkdirSync(home, { recursive: true });","mkdirSync(agentDir, { recursive: true });","","const original = Object.fromEntries(",{"lines":491,"total":383},[492,482,483,484,485,486,487,493],"const root = mkdtempSync(join(tmpdir(), \"thinkrail-skill-groups-\"));","const restore = stubSkillEnv(home, agentDir);",{"format":352,"lines":376,"tokens":495,"first":496,"others":500,"copies":321,"excerpt":516,"excerptSecond":527,"kind":530},85,{"name":497,"start":498,"end":499},"apps\u002Fweb\u002Fsrc\u002Fstyles\u002Fgenerated\u002Ftypography.css",175,183,[501,504,507,510,513],{"name":497,"start":502,"end":503},256,264,{"name":497,"start":505,"end":506},327,335,{"name":497,"start":508,"end":509},410,418,{"name":497,"start":511,"end":512},419,427,{"name":497,"start":514,"end":515},462,470,{"lines":517,"total":376},[518,519,520,521,522,523,524,525,526],"    font-family: var(--tr-font-family-interface);","    font-size: var(--tr-font-size-s14);","    font-weight: var(--tr-font-weight-light);","    line-height: var(--tr-line-height-reading);","    letter-spacing: var(--tr-letter-spacing-normal);","    text-transform: none;","    font-style: normal;","}",".tr-text-ui {",{"lines":528,"total":376},[518,519,520,521,522,523,524,525,529],".tr-code-text {","generated",{"format":352,"lines":353,"tokens":532,"first":533,"others":535,"copies":255,"kind":530},104,{"name":497,"start":370,"end":534},147,[536,538,540,542],{"name":497,"start":534,"end":537},156,{"name":497,"start":539,"end":459},344,{"name":497,"start":430,"end":541},515,{"name":497,"start":543,"end":544},571,580,{"format":352,"lines":353,"tokens":546,"first":547,"others":550,"copies":255,"kind":530},102,{"name":497,"start":548,"end":549},165,174,[551,553,556,558],{"name":497,"start":456,"end":552},237,{"name":497,"start":554,"end":555},246,255,{"name":497,"start":557,"end":424},362,{"name":497,"start":424,"end":559},380,{"format":380,"lines":561,"tokens":562,"first":563,"others":565,"copies":270,"kind":571},36,200,{"name":564,"start":296,"end":561},"apps\u002Fwebsite\u002Fsrc\u002Fpages\u002Fagentic-development\u002Findex.astro",[566,569],{"name":567,"start":296,"end":568},"apps\u002Fwebsite\u002Fsrc\u002Fpages\u002Fagentic-ide\u002Findex.astro",38,{"name":570,"start":296,"end":561},"apps\u002Fwebsite\u002Fsrc\u002Fpages\u002Fvibecoding\u002Findex.astro","code",{"format":345,"lines":376,"tokens":362,"first":573,"others":577,"copies":383,"kind":448},{"name":574,"start":575,"end":576},"packages\u002Fserver\u002Fsrc\u002Fagent\u002FchatResources.test.ts",70,78,[578,582,585,589,593,597,601],{"name":579,"start":580,"end":581},"packages\u002Fserver\u002Fsrc\u002Fagent\u002FmcpConfirm.test.ts",37,45,{"name":583,"start":584,"end":362},"packages\u002Fserver\u002Fsrc\u002Fagent\u002FmcpEngine.test.ts",49,{"name":586,"start":587,"end":588},"packages\u002Fserver\u002Fsrc\u002Fagent\u002FprojectTrust.test.ts",33,41,{"name":590,"start":591,"end":592},"packages\u002Fserver\u002Fsrc\u002Fagent\u002FreloadGate.test.ts",25,34,{"name":594,"start":595,"end":596},"packages\u002Fserver\u002Fsrc\u002Fagent\u002FsessionShutdown.test.ts",20,27,{"name":598,"start":599,"end":600},"packages\u002Fserver\u002Fsrc\u002Fhost\u002FdirectorySpelling.test.ts",47,55,{"name":602,"start":603,"end":604},"packages\u002Fserver\u002Fsrc\u002Fhost\u002FturnShutdown.test.ts",124,132,{"format":387,"lines":606,"tokens":413,"first":607,"others":611,"copies":270,"kind":619},14,{"name":608,"start":609,"end":610},"apps\u002Fwebsite\u002Fcontent\u002Fblog\u002F2026-10-18-thinkrail-0-2-0-review-the-turn\u002Findex.md",82,95,[612,616],{"name":613,"start":614,"end":615},"apps\u002Fwebsite\u002Fcontent\u002Fblog\u002F2026-10-28-gui-features\u002Findex.md",199,212,{"name":617,"start":618,"end":532},"apps\u002Fwebsite\u002Fcontent\u002Fblog\u002F2026-10-29-thinkrail-0-3-0-whole-loop-one-window\u002Findex.md",91,"docs",{"format":345,"lines":376,"tokens":621,"first":622,"others":626,"copies":255,"kind":448},94,{"name":623,"start":624,"end":625},"apps\u002Fweb\u002Fsrc\u002Fnavigation\u002Frestore.test.ts",383,391,[627,630,633,636],{"name":623,"start":628,"end":629},531,539,{"name":623,"start":631,"end":632},601,609,{"name":623,"start":634,"end":635},649,657,{"name":623,"start":637,"end":638},683,691,{"format":352,"lines":321,"tokens":640,"first":641,"others":643,"copies":383,"kind":530},52,{"name":497,"start":642,"end":539},339,[644,646,649,652,654,655,657],{"name":497,"start":645,"end":459},348,{"name":497,"start":647,"end":648},474,479,{"name":497,"start":650,"end":651},483,488,{"name":497,"start":653,"end":470},492,{"name":497,"start":402,"end":430},{"name":497,"start":656,"end":541},510,{"name":497,"start":658,"end":544},575,{"sources":331,"lines":660,"tokens":661,"clones":662,"duplicatedLines":663,"duplicatedTokens":664,"percentage":330,"percentageTokens":665,"formats":666,"topClones":688,"generated":813},175854,1121422,107,1213,8017,0.71,[667,672,677,678,680,681,684],{"format":359,"sources":668,"lines":669,"clones":374,"duplicatedLines":670,"percentage":671},298,61981,607,0.98,{"format":345,"sources":673,"lines":674,"clones":581,"duplicatedLines":675,"percentage":676},662,111043,507,0.46,{"format":380,"sources":381,"lines":382,"clones":383,"duplicatedLines":384,"percentage":385},{"format":397,"sources":270,"lines":679,"clones":399,"duplicatedLines":399,"percentage":399},710,{"format":401,"sources":381,"lines":402,"clones":399,"duplicatedLines":399,"percentage":399},{"format":682,"sources":296,"lines":683,"clones":399,"duplicatedLines":399,"percentage":399},"powershell",361,{"format":685,"sources":686,"lines":687,"clones":399,"duplicatedLines":399,"percentage":399},"javascript",4,168,[689,703,724,744,758,769,782,788,796,806],{"format":380,"lines":561,"tokens":562,"first":690,"others":691,"copies":270,"excerpt":694,"kind":571},{"name":564,"start":296,"end":561},[692,693],{"name":567,"start":296,"end":568},{"name":570,"start":296,"end":561},{"lines":695,"total":561},[696,697,698,488,699,700,696,488,701,702],"---","import Analytics from \"..\u002F..\u002Fcomponents\u002FAnalytics.astro\";","import { Landing, siteMetadata } from \"..\u002F..\u002Fvibecoding\";","const canonicalUrl = new URL(siteMetadata.path, siteMetadata.origin);","const ogImageUrl = new URL(siteMetadata.openGraphImagePath, siteMetadata.origin);","\u003C!doctype html>","\u003Chtml lang=\"en\">",{"format":345,"lines":592,"tokens":704,"first":705,"others":709,"copies":309,"excerpt":713,"kind":571},346,{"name":706,"start":707,"end":708},"apps\u002Fwebsite\u002Fsrc\u002Fattribution\u002Fprotocol.ts",60,93,[710],{"name":711,"start":374,"end":712},"packages\u002Fserver\u002Fsrc\u002Fpersistence\u002FattributionProtocol.ts",87,{"lines":714,"total":592},[715,716,717,718,719,720,721,722,723,525],"export function normalizeCampaignValue(value: string, limit: number): string | undefined {","    const withoutControls = Array.from(value)","        .filter((character) => {","            const codePoint = character.codePointAt(0) ?? 0;","            return codePoint > 31 && (codePoint \u003C 127 || codePoint > 159);","        })","        .join(\"\");","    const normalized = Array.from(withoutControls.trim()).slice(0, limit).join(\"\");","    return normalized.length > 0 ? normalized : undefined;",{"format":345,"lines":725,"tokens":413,"first":726,"others":729,"copies":309,"excerpt":733,"kind":571},26,{"name":727,"start":728,"end":450},"packages\u002Fpi-todos\u002Ftools\u002Fshared.ts",42,[730],{"name":731,"start":588,"end":732},"packages\u002Fspec-graph\u002Ftools\u002Fshared.ts",66,{"lines":734,"total":725},[735,525,736,737,738,739,740,741,742,743],"        \"Full output unavailable: temporary-file capture failed. Read the current plan with todo_list; do not repeat a mutation to retrieve its output.\";","const footer = `\\n\\n[Output truncated: ${preview.totalLines} lines, ${preview.totalBytes} bytes total. ${notice}]${continuation ? `\\n${continuation}` : \"\"}`;","const bounded = truncateHead(text, {","    maxBytes: Math.max(0, DEFAULT_MAX_BYTES - Buffer.byteLength(footer)),","    maxLines: DEFAULT_MAX_LINES - footer.split(\"\\n\").length,","});","return {","    content: [{ type: \"text\", text: `${bounded.content}${footer}` }],","    details: {",{"format":380,"lines":353,"tokens":362,"first":745,"others":748,"copies":686,"kind":571},{"name":746,"start":405,"end":747},"apps\u002Fwebsite\u002Fsrc\u002Fcomponents\u002FCliInstall.astro",71,[749,753,755],{"name":750,"start":751,"end":752},"apps\u002Fwebsite\u002Fsrc\u002Fcomponents\u002FInstallPicker.astro",63,68,{"name":750,"start":754,"end":576},73,{"name":750,"start":756,"end":757},83,88,{"format":359,"lines":596,"tokens":759,"first":760,"others":764,"copies":309,"kind":571},167,{"name":761,"start":762,"end":763},"packages\u002Fresource-renderers\u002Fsrc\u002Frenderers\u002Fcsv\u002FDiff.tsx",109,135,[765],{"name":766,"start":767,"end":768},"packages\u002Fresource-renderers\u002Fsrc\u002Frenderers\u002Fjson\u002FDiff.tsx",96,122,{"format":359,"lines":353,"tokens":355,"first":770,"others":773,"copies":270,"kind":571},{"name":761,"start":771,"end":772},278,287,[774,778],{"name":775,"start":776,"end":777},"packages\u002Fresource-renderers\u002Fsrc\u002Frenderers\u002Fcsv\u002FView.tsx",201,210,{"name":779,"start":780,"end":781},"packages\u002Fresource-renderers\u002Fsrc\u002Frenderers\u002Fjson\u002FView.tsx",128,137,{"format":359,"lines":595,"tokens":370,"first":783,"others":784,"copies":309,"kind":571},{"name":775,"start":732,"end":495},[785],{"name":779,"start":786,"end":787},58,77,{"format":359,"lines":435,"tokens":781,"first":789,"others":792,"copies":309,"kind":571},{"name":761,"start":790,"end":791},277,295,[793],{"name":766,"start":794,"end":795},225,243,{"format":380,"lines":321,"tokens":390,"first":797,"others":799,"copies":270,"kind":571},{"name":750,"start":798,"end":367},64,[800,803],{"name":750,"start":801,"end":802},74,79,{"name":750,"start":804,"end":805},84,89,{"format":345,"lines":376,"tokens":807,"first":808,"others":810,"copies":309,"kind":571},113,{"name":706,"start":809,"end":786},50,[811],{"name":711,"start":812,"end":640},44,{"files":296,"minified":399,"sample":814},[815],"apps\u002Fweb\u002Fsrc\u002Fchat\u002Fgenerated\u002FproviderGlyphs.ts",{"score":332,"grade":267,"size":817,"dimensions":821},{"lines":818,"files":819,"class":820},347491,1742,"L",[822,835,841],{"id":823,"source":824,"value":825,"adjusted":825,"lines":826,"halfLife":827,"formats":828,"excluded":830,"weight":296,"score":834},"duplication","jscpd",2.7,9464,8.5,[345,359,397,401,682,685,829],"sql",[831,832,833],"markup","text","data",80.1,{"id":836,"source":824,"value":837,"adjusted":837,"lines":838,"halfLife":839,"weight":296,"score":840},"dead-code",0.4,1328,7.5,96.4,{"id":842,"source":824,"value":843,"adjusted":844,"lines":845,"halfLife":809,"weight":296,"score":846},"complexity",60.1,59.9,208877,43.6,{"total":848,"mean":849,"files":850},66866,38.4,[851,856,861,866,871,876,881,886,891,896],{"path":852,"complexity":853,"lines":854,"bytes":855},"apps\u002Fweb\u002Fsrc\u002Fstore\u002FappStore.ts",1630,4660,154990,{"path":857,"complexity":858,"lines":859,"bytes":860},"packages\u002Fserver\u002Fsrc\u002Fagent\u002FagentSessionManager.ts",827,3118,100643,{"path":862,"complexity":863,"lines":864,"bytes":865},"packages\u002Fserver\u002Fsrc\u002Fagent\u002FagentSessionManager.test.ts",757,4215,151056,{"path":867,"complexity":868,"lines":869,"bytes":870},"apps\u002Fweb\u002Fsrc\u002Fshell\u002Flayout\u002Fmodel.ts",528,1528,53104,{"path":872,"complexity":873,"lines":874,"bytes":875},"apps\u002Fweb\u002Fsrc\u002Fstore\u002FappStore.test.ts",517,5061,176929,{"path":877,"complexity":878,"lines":879,"bytes":880},"packages\u002Fpi-dag\u002Fruntime\u002Fservice.ts",508,1695,60490,{"path":882,"complexity":883,"lines":884,"bytes":885},"packages\u002Fserver\u002Fsrc\u002Fhost\u002Fhandlers.ts",452,1544,50992,{"path":887,"complexity":888,"lines":889,"bytes":890},"apps\u002Fweb\u002Fsrc\u002Fchat\u002FuseChatScroll.ts",432,1322,47334,{"path":892,"complexity":893,"lines":894,"bytes":895},"thinkrail-extensions\u002Fask-user-question\u002Fweb\u002FAskUserQuestionCard.tsx",416,1490,46721,{"path":897,"complexity":898,"lines":899,"bytes":900},"packages\u002Fpi-delegation\u002Fsrc\u002Fservice.ts",407,1387,45829,{"percentage":902,"findings":903,"files":904,"byCategory":905,"largest":913},0.38,46,1821,[906,908,910],{"category":907,"count":606},"unused-file",{"category":909,"count":595},"unused-export",{"category":911,"count":912},"unused-symbol",12,[914,916,919,922,924,927,929,931,935,937],{"category":907,"path":915,"name":488,"line":296,"lines":412},"apps\u002Fdesktop\u002Fsrc\u002Fpreload.ts",{"category":907,"path":917,"name":488,"line":296,"lines":918},"apps\u002Fdesktop\u002FpreBuild.ts",184,{"category":907,"path":920,"name":488,"line":296,"lines":921},"design-audit\u002Ftooling\u002Fbuild-buttons.ts",150,{"category":907,"path":923,"name":488,"line":296,"lines":763},"scripts\u002Fpi-package-parity.node.mjs",{"category":907,"path":925,"name":488,"line":296,"lines":926},"design-audit\u002Ftooling\u002Fverify-buttons.ts",110,{"category":907,"path":928,"name":488,"line":296,"lines":756},"packages\u002Fpi-dag\u002Fruntime\u002Frecovery.fixture.ts",{"category":907,"path":930,"name":488,"line":296,"lines":752},"packages\u002Fserver\u002Fsrc\u002Fsubprocess\u002FwindowsConsole.fixture.ts",{"category":909,"path":932,"name":933,"line":600,"lines":934},"apps\u002Fdesktop\u002Fsrc\u002FpageZoom.ts","installPageZoomGestures",39,{"category":907,"path":936,"name":488,"line":296,"lines":934},"packages\u002Fpi-dag\u002Fpersistence\u002Ffixtures.ts",{"category":907,"path":938,"name":488,"line":296,"lines":934},"packages\u002Fpi-dag\u002Fruntime\u002Fprovider.fixture.ts",{"\u002Ftrending\u002FJetBrains\u002Fthinkrail":940},{"views":270,"visits":270},1795510259362]