[{"data":1,"prerenderedAt":935},["ShallowReactive",2],{"navigation_docs":3,"trending-repo-vercel-labs\u002Fagent-desktop":249,"page-views-\u002Ftrending\u002Fvercel-labs\u002Fagent-desktop":933},[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":301},"vercel-labs\u002Fagent-desktop","https:\u002F\u002Fgithub.com\u002Fvercel-labs\u002Fagent-desktop",[253,268,278,291],{"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-03",1,10513,2275,"d3dc190afbf34cd2377252398ddd5c30efbd093a",3372,507501,2502,36884,7.27,5.66,2668,68.8,"C",{"date":269,"rank":255,"stars":270,"starsToday":271,"headSha":272,"sources":273,"lines":274,"clones":261,"duplicatedLines":262,"percentage":275,"codePercentage":276,"codeSources":277,"healthScore":266,"healthGrade":267},"2026-11-04",13244,3791,"6660fbac768dc7e7332837b90ed465684859afa3",3382,508817,7.25,5.64,2677,{"date":279,"rank":280,"stars":281,"starsToday":282,"headSha":283,"sources":284,"lines":285,"clones":286,"duplicatedLines":287,"percentage":288,"codePercentage":289,"codeSources":290,"healthScore":266,"healthGrade":267},"2026-11-05",3,15560,2470,"5e0491ae9cfe0552cd50ca348188411d94b8abdc",3413,514784,2517,36999,7.19,5.59,2706,{"date":292,"rank":293,"stars":294,"starsToday":295,"headSha":296,"sources":297,"lines":298,"clones":286,"duplicatedLines":287,"percentage":299,"codePercentage":289,"codeSources":300,"healthScore":266,"healthGrade":267},"2026-11-06",4,17181,2173,"b43ac4f6e892ef608f8851428613c4009f0e84c7",3415,514979,7.18,2708,{"date":292,"generatedAt":302,"name":250,"url":251,"description":303,"language":304,"stars":294,"starsToday":295,"defaultBranch":305,"headSha":296,"durationMs":306,"total":307,"formats":311,"topClones":379,"code":564,"health":810,"complexity":841,"deadCode":893},"2026-11-06T05:21:38.798Z","Computer use CLI for AI agents","Rust","main",4294,{"sources":297,"lines":298,"tokens":308,"clones":286,"duplicatedLines":287,"duplicatedTokens":309,"percentage":299,"percentageTokens":310},3769363,210458,5.58,[312,319,326,333,340,347,353,360,367,374],{"format":313,"sources":314,"lines":315,"clones":316,"duplicatedLines":317,"percentage":318},"rust",2635,373952,1716,18977,5.07,{"format":320,"sources":321,"lines":322,"clones":323,"duplicatedLines":324,"percentage":325},"powershell",139,44842,415,4901,10.93,{"format":327,"sources":328,"lines":329,"clones":330,"duplicatedLines":331,"percentage":332},"json",156,29054,284,11646,40.08,{"format":334,"sources":335,"lines":336,"clones":337,"duplicatedLines":338,"percentage":339},"python",165,22744,27,261,1.15,{"format":341,"sources":342,"lines":343,"clones":344,"duplicatedLines":345,"percentage":346},"yaml",29,2868,26,509,17.75,{"format":348,"sources":337,"lines":349,"clones":350,"duplicatedLines":351,"percentage":352},"csharp",7621,20,292,3.83,{"format":354,"sources":355,"lines":356,"clones":357,"duplicatedLines":358,"percentage":359},"markup",8,643,10,240,37.33,{"format":361,"sources":362,"lines":363,"clones":364,"duplicatedLines":365,"percentage":366},"javascript",32,5718,9,96,1.68,{"format":368,"sources":369,"lines":370,"clones":371,"duplicatedLines":372,"percentage":373},"c-header",2,2317,7,51,2.2,{"format":375,"sources":355,"lines":376,"clones":369,"duplicatedLines":377,"percentage":378},"c",929,15,1.61,[380,403,429,449,458,466,474,497,527,550],{"format":327,"lines":381,"tokens":382,"first":383,"others":387,"copies":369,"excerpt":390,"kind":402},1360,3724,{"name":384,"start":385,"end":386},"probes\u002Fwindows\u002F15-vocabulary\u002Fcaptures\u002Fuia-vocabulary-wpf-ci.json",56,1415,[388],{"name":389,"start":385,"end":386},"probes\u002Fwindows\u002F15-vocabulary\u002Fcaptures\u002Fuia-vocabulary-wpf-devbox.json",{"lines":391,"total":381},[392,393,394,395,396,397,398,399,400,401],"                                    \"read_median_micros\":  3978,","                                    \"repeats\":  7,","                                    \"successful_reads\":  3482","                                },","                   \"note\":  \"min is the least noise-sensitive estimator; the spread is reported so a claim can be checked against it\",","                   \"warmed_up\":  true","               },","\"cached_labeled_by\":  {","                          \"cached_nodes\":  81,","                          \"labelled_nodes\":  2,","data",{"format":354,"lines":404,"tokens":405,"first":406,"others":410,"copies":293,"excerpt":417,"kind":354},53,981,{"name":407,"start":408,"end":409},".agents\u002Fskills\u002Farchitecture-diagram\u002Freferences\u002Ftemplate.html",6,58,[411,413,415],{"name":412,"start":408,"end":409},"apps\u002Fdocs\u002Fpublic\u002Fdesktop\u002Fdiagrams\u002Farchitecture\u002Findex.html",{"name":414,"start":408,"end":409},"apps\u002Fdocs\u002Fpublic\u002Fdesktop\u002Fdiagrams\u002Fref-resolution\u002Findex.html",{"name":416,"start":408,"end":409},"apps\u002Fdocs\u002Fpublic\u002Fdesktop\u002Fdiagrams\u002Fsnapshot-loop\u002Findex.html",{"lines":418,"total":404},[419,420,421,422,423,424,425,426,427,428],"\u003Ctitle>Diagram name\u003C\u002Ftitle>","\u003Cscript>","  var t = new URLSearchParams(location.search).get(\"theme\");","  if (t === \"light\" || t === \"dark\") document.documentElement.setAttribute(\"data-theme\", t);","  if (window.self === window.top) document.documentElement.setAttribute(\"data-top\", \"\");","\u003C\u002Fscript>","\u003Cstyle>","  :root {","    color-scheme: dark;","    --bg: #000; --panel: #0a0a0a; --node: #111; --border: #5c5c5c;",{"format":327,"lines":430,"tokens":431,"first":432,"others":434,"copies":369,"excerpt":437,"kind":402},748,2421,{"name":433,"start":255,"end":430},"probes\u002Fwindows\u002F19-semantic-actions\u002Fcaptures\u002Fsemantic-set-ci.json",[435],{"name":436,"start":255,"end":430},"probes\u002Fwindows\u002F19-semantic-actions\u002Fcaptures\u002Fsemantic-set-devbox.json",{"lines":438,"total":430},[439,440,441,442,443,444,445,446,447,448],"{","    \"winforms\":  {","                     \"ExpandCollapse\":  {","                                            \"automation_id_digest\":  \"fe622ad1c908a3ce\",","                                            \"call\":  {","                                                         \"before\":  {","                                                                        \"ok\":  true,","                                                                        \"state\":  \"Collapsed\"","                                                                    },","                                                         \"collapse\":  {",{"format":327,"lines":450,"tokens":451,"first":452,"others":455,"copies":369,"kind":402},642,1746,{"name":453,"start":385,"end":454},"probes\u002Fwindows\u002F15-vocabulary\u002Fcaptures\u002Fuia-vocabulary-ci.json",697,[456],{"name":457,"start":385,"end":454},"probes\u002Fwindows\u002F15-vocabulary\u002Fcaptures\u002Fuia-vocabulary-devbox.json",{"format":327,"lines":459,"tokens":460,"first":461,"others":463,"copies":369,"kind":402},293,931,{"name":462,"start":255,"end":459},"probes\u002Fwindows\u002F19-semantic-actions\u002Fcaptures\u002Fsemantic-failure-ci.json",[464],{"name":465,"start":255,"end":459},"probes\u002Fwindows\u002F19-semantic-actions\u002Fcaptures\u002Fsemantic-failure-devbox.json",{"format":327,"lines":467,"tokens":468,"first":469,"others":471,"copies":369,"kind":402},304,857,{"name":470,"start":255,"end":467},"probes\u002Fwindows\u002F19-semantic-actions\u002Fcaptures\u002Fsemantic-combo-ci.json",[472],{"name":473,"start":255,"end":467},"probes\u002Fwindows\u002F19-semantic-actions\u002Fcaptures\u002Fsemantic-combo-devbox.json",{"format":313,"lines":377,"tokens":475,"first":476,"others":478,"copies":357,"kind":496},87,{"name":477,"start":255,"end":377},"crates\u002Fcore\u002Fsrc\u002Fcommands\u002Fcheck.rs",[479,481,483,486,488,490,492,494],{"name":480,"start":255,"end":377},"crates\u002Fcore\u002Fsrc\u002Fcommands\u002Fclear.rs",{"name":482,"start":255,"end":377},"crates\u002Fcore\u002Fsrc\u002Fcommands\u002Fclick.rs",{"name":484,"start":255,"end":485},"crates\u002Fcore\u002Fsrc\u002Fcommands\u002Fcollapse.rs",18,{"name":487,"start":255,"end":377},"crates\u002Fcore\u002Fsrc\u002Fcommands\u002Fexpand.rs",{"name":489,"start":255,"end":485},"crates\u002Fcore\u002Fsrc\u002Fcommands\u002Ffocus.rs",{"name":491,"start":255,"end":485},"crates\u002Fcore\u002Fsrc\u002Fcommands\u002Fscroll_to.rs",{"name":493,"start":255,"end":377},"crates\u002Fcore\u002Fsrc\u002Fcommands\u002Ftoggle.rs",{"name":495,"start":255,"end":485},"crates\u002Fcore\u002Fsrc\u002Fcommands\u002Ftriple_click.rs","code",{"format":320,"lines":498,"tokens":499,"first":500,"others":504,"copies":371,"kind":496},16,114,{"name":501,"start":502,"end":503},"probes\u002Fwindows\u002F14-ci-capability\u002Fprobe.ps1",50,65,[505,509,513,517,520,523],{"name":506,"start":507,"end":508},"probes\u002Fwindows\u002F15-vocabulary\u002Fprobe.ps1",55,70,{"name":510,"start":511,"end":512},"probes\u002Fwindows\u002F16-observation\u002Fprobe.ps1",62,77,{"name":514,"start":515,"end":516},"probes\u002Fwindows\u002F17-resolution\u002Fprobe.ps1",59,74,{"name":518,"start":519,"end":511},"probes\u002Fwindows\u002F18-actionability\u002Fprobe.ps1",47,{"name":521,"start":404,"end":522},"probes\u002Fwindows\u002F20-input-synthesis\u002Fprobe.ps1",68,{"name":524,"start":525,"end":526},"probes\u002Fwindows\u002F21-system-lifecycle\u002Fmeasure-cost.ps1",30,45,{"format":320,"lines":528,"tokens":529,"first":530,"others":533,"copies":371,"kind":496},11,104,{"name":531,"start":337,"end":532},"probes\u002Fwindows\u002F22-capture-clipboard\u002Fmeasure-cost.ps1",37,[534,536,539,542,544,548],{"name":535,"start":404,"end":503},"probes\u002Fwindows\u002F22-capture-clipboard\u002Fprobe.ps1",{"name":537,"start":538,"end":385},"probes\u002Fwindows\u002F23-signals-menus\u002Fmeasure-cost.ps1",44,{"name":540,"start":522,"end":541},"probes\u002Fwindows\u002F23-signals-menus\u002Fprobe-root-classify.ps1",80,{"name":543,"start":409,"end":508},"probes\u002Fwindows\u002F23-signals-menus\u002Fprobe.ps1",{"name":545,"start":546,"end":547},"probes\u002Fwindows\u002F24-fixture-e2e\u002F01-fixture-toolchain.ps1",85,97,{"name":549,"start":511,"end":516},"probes\u002Fwindows\u002F25-packaging\u002F01-archive-and-download-tools.ps1",{"format":327,"lines":551,"tokens":552,"first":553,"others":557,"copies":280,"kind":402},111,307,{"name":554,"start":555,"end":556},"probes\u002Fwindows\u002F16-observation\u002Fcaptures\u002Fobservation-chromium-devbox.json",82,192,[558,561],{"name":554,"start":559,"end":560},92,202,{"name":554,"start":562,"end":563},212,322,{"sources":300,"lines":565,"tokens":566,"clones":567,"duplicatedLines":568,"duplicatedTokens":569,"percentage":289,"percentageTokens":570,"formats":571,"topClones":605,"generated":807},413783,2882639,2041,23136,155711,5.4,[572,578,584,587,588,592,596,599,602],{"format":313,"sources":573,"lines":574,"clones":575,"duplicatedLines":576,"percentage":577},2542,359878,1632,18199,5.06,{"format":320,"sources":579,"lines":580,"clones":581,"duplicatedLines":582,"percentage":583},86,35249,380,4579,12.99,{"format":348,"sources":355,"lines":585,"clones":350,"duplicatedLines":351,"percentage":586},5471,5.34,{"format":368,"sources":369,"lines":370,"clones":371,"duplicatedLines":372,"percentage":373},{"format":375,"sources":589,"lines":590,"clones":369,"duplicatedLines":377,"percentage":591},5,95,15.79,{"format":361,"sources":593,"lines":594,"clones":595,"duplicatedLines":595,"percentage":595},17,3013,0,{"format":597,"sources":344,"lines":598,"clones":595,"duplicatedLines":595,"percentage":595},"bash",2771,{"format":334,"sources":600,"lines":601,"clones":595,"duplicatedLines":595,"percentage":595},13,2528,{"format":603,"sources":364,"lines":604,"clones":595,"duplicatedLines":595,"percentage":595},"objectivec",2461,[606,629,650,677,707,731,749,766,788,798],{"format":313,"lines":377,"tokens":475,"first":607,"others":608,"copies":357,"excerpt":617,"kind":496},{"name":477,"start":255,"end":377},[609,610,611,612,613,614,615,616],{"name":480,"start":255,"end":377},{"name":482,"start":255,"end":377},{"name":484,"start":255,"end":485},{"name":487,"start":255,"end":377},{"name":489,"start":255,"end":485},{"name":491,"start":255,"end":485},{"name":493,"start":255,"end":377},{"name":495,"start":255,"end":485},{"lines":618,"total":377},[619,620,621,622,623,624,625,626,627,628],"use crate::{","    AppError,","    actions::action::Action,","    adapter::PlatformAdapter,","    commands::helpers::{RefArgs, execute_ref_action_with_context},","    context::CommandContext,","};","use serde_json::Value;","","pub fn execute(",{"format":320,"lines":498,"tokens":499,"first":630,"others":631,"copies":371,"excerpt":638,"kind":496},{"name":501,"start":502,"end":503},[632,633,634,635,636,637],{"name":506,"start":507,"end":508},{"name":510,"start":511,"end":512},{"name":514,"start":515,"end":516},{"name":518,"start":519,"end":511},{"name":521,"start":404,"end":522},{"name":524,"start":525,"end":526},{"lines":639,"total":498},[640,641,642,643,644,645,646,647,648,649],"function Write-CapabilityCapture {","    param(","        [Parameter(Mandatory = $true)][string]$Name,","        [Parameter(Mandatory = $true)][AllowEmptyString()][string]$Content","    )","    $redacted = Protect-ProbeText -Text $Content","    $path = Join-Path $script:CaptureDir $Name","    $utf8NoBom = New-Object System.Text.UTF8Encoding $false","    [IO.File]::WriteAllText($path, $redacted, $utf8NoBom)","    if (-not (Test-CaptureRedaction -Path $path)) {",{"format":320,"lines":528,"tokens":529,"first":651,"others":652,"copies":371,"excerpt":659,"excerptSecond":666,"kind":496},{"name":531,"start":337,"end":532},[653,654,655,656,657,658],{"name":535,"start":404,"end":503},{"name":537,"start":538,"end":385},{"name":540,"start":522,"end":541},{"name":543,"start":409,"end":508},{"name":545,"start":546,"end":547},{"name":549,"start":511,"end":516},{"lines":660,"total":528},[645,646,647,648,661,662,663,664,665,627],"    $normalized = Get-NormalizedCapture -Text $redacted","    [IO.File]::WriteAllText(($path + '.normalized'), $normalized, $utf8NoBom)","    if (-not (Test-CaptureRedaction -Path $path)) { throw \"redaction residue in $path\" }","    return $path","}",{"lines":667,"total":600},[668,669,670,671,672,673,674,675,665,676],"$redacted = Protect-ProbeText -Text $Content","$path = Join-Path $script:CaptureDir $Name","$utf8NoBom = New-Object System.Text.UTF8Encoding $false","[IO.File]::WriteAllText($path, $redacted, $utf8NoBom)","$normalized = Get-NormalizedCapture -Text $redacted","[IO.File]::WriteAllText(($path + '.normalized'), $normalized, $utf8NoBom)","if (-not (Test-CaptureRedaction -Path $path)) {","    throw \"redaction residue in $path\"","return $path",{"format":313,"lines":377,"tokens":475,"first":678,"others":682,"copies":355,"kind":496},{"name":679,"start":680,"end":681},"crates\u002Fcore\u002Fsrc\u002Fcommands\u002Fwait_resolution_tests.rs",109,123,[683,687,691,693,697,700,704],{"name":684,"start":685,"end":686},"crates\u002Fcore\u002Fsrc\u002Fref_action\u002Fref_action_exactly_once_tests.rs",200,214,{"name":688,"start":689,"end":690},"crates\u002Fcore\u002Fsrc\u002Fref_action\u002Fref_action_tests.rs",201,215,{"name":692,"start":498,"end":525},"crates\u002Fcore\u002Fsrc\u002Fref_action\u002Fref_action_wait_app_not_found_tests.rs",{"name":694,"start":695,"end":696},"crates\u002Fcore\u002Fsrc\u002Fref_action\u002Fref_action_wait_process_state_tests.rs",19,33,{"name":698,"start":350,"end":699},"crates\u002Fcore\u002Fsrc\u002Fref_action\u002Fref_action_wait_success_tests.rs",34,{"name":701,"start":702,"end":703},"crates\u002Fcore\u002Fsrc\u002Fref_action\u002Fref_action_wait_tests.rs",127,141,{"name":705,"start":706,"end":502},"crates\u002Fcore\u002Fsrc\u002Ftrace\u002Ftrace_artifacts_tests.rs",36,{"format":313,"lines":708,"tokens":709,"first":710,"others":712,"copies":357,"kind":496},12,67,{"name":692,"start":711,"end":590},84,[713,715,718,720,722,723,725,728],{"name":692,"start":681,"end":714},134,{"name":692,"start":716,"end":717},199,210,{"name":719,"start":579,"end":547},"crates\u002Fcore\u002Fsrc\u002Fref_action\u002Fref_action_wait_lease_tests.rs",{"name":694,"start":475,"end":721},98,{"name":698,"start":516,"end":546},{"name":701,"start":511,"end":724},73,{"name":701,"start":726,"end":727},101,112,{"name":701,"start":729,"end":730},318,329,{"format":320,"lines":485,"tokens":732,"first":733,"others":735,"copies":589,"kind":496},150,{"name":545,"start":734,"end":590},78,[736,738,742,746],{"name":737,"start":475,"end":529},"probes\u002Fwindows\u002F24-fixture-e2e\u002F04-explorer-below-fold.ps1",{"name":739,"start":740,"end":741},"probes\u002Fwindows\u002F24-fixture-e2e\u002F06-cell-role-provider.ps1",76,93,{"name":743,"start":744,"end":745},"probes\u002Fwindows\u002F24-fixture-e2e\u002F09-cell-role-stock-dgv.ps1",64,81,{"name":747,"start":409,"end":748},"probes\u002Fwindows\u002F24-fixture-e2e\u002F10-hosted-modern-capture.ps1",75,{"format":320,"lines":364,"tokens":750,"first":751,"others":752,"copies":371,"kind":496},91,{"name":501,"start":502,"end":409},[753,755,757,760,762,764],{"name":535,"start":754,"end":385},48,{"name":537,"start":756,"end":519},39,{"name":540,"start":758,"end":759},63,71,{"name":543,"start":404,"end":761},61,{"name":545,"start":541,"end":763},88,{"name":549,"start":765,"end":503},57,{"format":313,"lines":767,"tokens":745,"first":768,"others":772,"copies":371,"kind":496},14,{"name":769,"start":770,"end":771},"crates\u002Fcore\u002Fsrc\u002Fref_action\u002Fpresentation_lease_tests.rs",22,35,[773,776,779,782,783,785],{"name":774,"start":775,"end":404},"crates\u002Fcore\u002Fsrc\u002Fref_action\u002Fpresentation_shared_cursor_tests.rs",40,{"name":688,"start":777,"end":778},108,121,{"name":688,"start":780,"end":781},154,167,{"name":698,"start":761,"end":516},{"name":705,"start":475,"end":784},100,{"name":705,"start":786,"end":787},151,164,{"format":320,"lines":789,"tokens":790,"first":791,"others":795,"copies":369,"kind":496},66,482,{"name":792,"start":793,"end":794},"probes\u002Fwindows\u002Fscratch\u002Frun-input-dogfood.ps1",241,306,[796],{"name":797,"start":750,"end":328},"probes\u002Fwindows\u002Fscratch\u002Frun-lifecycle-dogfood.ps1",{"format":320,"lines":350,"tokens":786,"first":799,"others":800,"copies":293,"kind":496},{"name":545,"start":734,"end":547},[801,803,805],{"name":802,"start":734,"end":547},"probes\u002Fwindows\u002F24-fixture-e2e\u002F05-hwnd-wrap-churn.ps1",{"name":804,"start":516,"end":763},"probes\u002Fwindows\u002F24-fixture-e2e\u002F07-split-integrity-effects.ps1",{"name":806,"start":475,"end":726},"probes\u002Fwindows\u002F24-fixture-e2e\u002F08-chromium-content.ps1",{"files":255,"minified":595,"sample":808},[809],"scripts\u002Fcheck-rust-file-size.sh",{"score":266,"grade":267,"size":811,"dimensions":815},{"lines":812,"files":813,"class":814},468818,3097,"L",[816,829,836],{"id":817,"source":818,"value":819,"adjusted":819,"lines":820,"halfLife":821,"formats":822,"excluded":826,"weight":255,"score":828},"duplication","jscpd",5.2,24604,8.5,[313,320,334,348,597,361,603,368,823,375,824,825],"swift","tsx","typescript",[354,827,402],"text",65.2,{"id":830,"source":818,"value":831,"adjusted":831,"lines":832,"halfLife":833,"coverage":834,"weight":835,"score":555},"dead-code",2.1,608,7.5,6.2,0.062,{"id":837,"source":818,"value":838,"adjusted":838,"lines":839,"halfLife":502,"weight":255,"score":840},"complexity",23.8,111774,71.9,{"total":842,"mean":843,"files":844},64564,20.8,[845,850,855,860,865,870,874,879,884,888],{"path":846,"complexity":847,"lines":848,"bytes":849},"probes\u002Fwindows\u002F26-shell-surfaces\u002Fshell-probe.cs",454,2051,105414,{"path":851,"complexity":852,"lines":853,"bytes":854},"probes\u002Fwindows\u002Fscratch\u002Frun-capture-clipboard-dogfood.ps1",269,1029,51809,{"path":856,"complexity":857,"lines":858,"bytes":859},"probes\u002Fwindows\u002Fcommon.ps1",253,1115,56786,{"path":861,"complexity":862,"lines":863,"bytes":864},"probes\u002Fwindows\u002Fscratch\u002Frun-semantic-dogfood.ps1",250,945,47306,{"path":866,"complexity":867,"lines":868,"bytes":869},"probes\u002Fwindows\u002F08-uia3-com.cs",242,1440,70503,{"path":871,"complexity":690,"lines":872,"bytes":873},"probes\u002Fwindows\u002Fscratch\u002Frun-actionability-dogfood.ps1",894,46012,{"path":875,"complexity":876,"lines":877,"bytes":878},"scripts\u002Fcheck_architecture.py",204,663,33369,{"path":880,"complexity":881,"lines":882,"bytes":883},"tests\u002Fe2e-linux\u002Fscenarios\u002Fref_contract.py",198,369,20263,{"path":792,"complexity":885,"lines":886,"bytes":887},195,1106,50448,{"path":889,"complexity":890,"lines":891,"bytes":892},"probes\u002Fwindows\u002F01-tree-dump.ps1",181,773,44621,{"percentage":894,"findings":528,"files":895,"byCategory":896,"largest":903},2.08,229,[897,899,901],{"category":898,"count":589},"unused-file",{"category":900,"count":293},"unused-export",{"category":902,"count":369},"unused-import",[904,907,910,913,915,917,920,924,926,929],{"category":898,"path":905,"name":627,"line":255,"lines":906},"crates\u002Fcore\u002Fsrc\u002Ftrace\u002Ftrace_read\u002Fviewer.js",347,{"category":898,"path":908,"name":627,"line":255,"lines":909},"src\u002Fvisual_debug\u002Fviewer.js",161,{"category":898,"path":911,"name":627,"line":255,"lines":912},"crates\u002Flinux\u002Fsrc\u002Fsystem\u002Fclose\u002Fclose_live\u002Fowners.py",49,{"category":898,"path":914,"name":627,"line":255,"lines":696},"src\u002Fvisual_debug\u002Fviewer_filter.js",{"category":898,"path":916,"name":627,"line":255,"lines":408},"apps\u002Fdocs\u002Flib\u002Futils.ts",{"category":900,"path":918,"name":919,"line":528,"lines":280},"apps\u002Fdocs\u002Flib\u002Fgeistdocs\u002Fi18n.ts","i18nProvider",{"category":902,"path":921,"name":922,"line":923,"lines":280},"scripts\u002Flinux-live-gate.py","CLI_WAYLAND",21,{"category":902,"path":921,"name":925,"line":923,"lines":280},"CURSOR_WAYLAND",{"category":900,"path":927,"name":928,"line":342,"lines":255},"apps\u002Fdocs\u002Flib\u002Fgeistdocs\u002Fsite-url.ts","isSiteUrlConfigured",{"category":900,"path":930,"name":931,"line":932,"lines":255},"apps\u002Fdocs\u002Flib\u002Fgeistdocs\u002Fsource.ts","getPageImage",23,{"\u002Ftrending\u002Fvercel-labs\u002Fagent-desktop":934},{"views":589,"visits":293},1795510264364]