[{"data":1,"prerenderedAt":903},["ShallowReactive",2],{"navigation_docs":3,"trending-repo-vercel-labs\u002Fagent-desktop":249,"page-views-\u002Ftrending\u002Fvercel-labs\u002Fagent-desktop":901},[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":268},"vercel-labs\u002Fagent-desktop","https:\u002F\u002Fgithub.com\u002Fvercel-labs\u002Fagent-desktop",[253],{"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":254,"generatedAt":269,"name":250,"url":251,"description":270,"language":271,"stars":256,"starsToday":257,"defaultBranch":272,"headSha":258,"durationMs":273,"total":274,"formats":278,"topClones":346,"code":533,"health":777,"complexity":809,"deadCode":861},"2026-11-03T05:21:14.506Z","Computer use CLI for AI agents","Rust","main",4254,{"sources":259,"lines":260,"tokens":275,"clones":261,"duplicatedLines":262,"duplicatedTokens":276,"percentage":263,"percentageTokens":277},3713254,209698,5.65,[279,286,293,300,307,314,320,327,334,341],{"format":280,"sources":281,"lines":282,"clones":283,"duplicatedLines":284,"percentage":285},"rust",2593,366842,1701,18862,5.14,{"format":287,"sources":288,"lines":289,"clones":290,"duplicatedLines":291,"percentage":292},"powershell",139,44842,415,4901,10.93,{"format":294,"sources":295,"lines":296,"clones":297,"duplicatedLines":298,"percentage":299},"json",156,29054,284,11646,40.08,{"format":301,"sources":302,"lines":303,"clones":304,"duplicatedLines":305,"percentage":306},"python",164,22419,27,261,1.16,{"format":308,"sources":309,"lines":310,"clones":311,"duplicatedLines":312,"percentage":313},"yaml",29,2868,26,509,17.75,{"format":315,"sources":304,"lines":316,"clones":317,"duplicatedLines":318,"percentage":319},"csharp",7621,20,292,3.83,{"format":321,"sources":322,"lines":323,"clones":324,"duplicatedLines":325,"percentage":326},"markup",8,643,10,240,37.33,{"format":328,"sources":329,"lines":330,"clones":331,"duplicatedLines":332,"percentage":333},"javascript",32,5717,9,96,1.68,{"format":335,"sources":336,"lines":337,"clones":338,"duplicatedLines":339,"percentage":340},"c-header",2,2318,7,51,2.2,{"format":342,"sources":322,"lines":343,"clones":336,"duplicatedLines":344,"percentage":345},"c",929,15,1.61,[347,370,397,417,426,434,442,465,495,518],{"format":294,"lines":348,"tokens":349,"first":350,"others":354,"copies":336,"excerpt":357,"kind":369},1360,3724,{"name":351,"start":352,"end":353},"probes\u002Fwindows\u002F15-vocabulary\u002Fcaptures\u002Fuia-vocabulary-wpf-ci.json",56,1415,[355],{"name":356,"start":352,"end":353},"probes\u002Fwindows\u002F15-vocabulary\u002Fcaptures\u002Fuia-vocabulary-wpf-devbox.json",{"lines":358,"total":348},[359,360,361,362,363,364,365,366,367,368],"                                    \"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":321,"lines":371,"tokens":372,"first":373,"others":377,"copies":384,"excerpt":385,"kind":321},53,981,{"name":374,"start":375,"end":376},".agents\u002Fskills\u002Farchitecture-diagram\u002Freferences\u002Ftemplate.html",6,58,[378,380,382],{"name":379,"start":375,"end":376},"apps\u002Fdocs\u002Fpublic\u002Fdesktop\u002Fdiagrams\u002Farchitecture\u002Findex.html",{"name":381,"start":375,"end":376},"apps\u002Fdocs\u002Fpublic\u002Fdesktop\u002Fdiagrams\u002Fref-resolution\u002Findex.html",{"name":383,"start":375,"end":376},"apps\u002Fdocs\u002Fpublic\u002Fdesktop\u002Fdiagrams\u002Fsnapshot-loop\u002Findex.html",4,{"lines":386,"total":371},[387,388,389,390,391,392,393,394,395,396],"\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":294,"lines":398,"tokens":399,"first":400,"others":402,"copies":336,"excerpt":405,"kind":369},748,2421,{"name":401,"start":255,"end":398},"probes\u002Fwindows\u002F19-semantic-actions\u002Fcaptures\u002Fsemantic-set-ci.json",[403],{"name":404,"start":255,"end":398},"probes\u002Fwindows\u002F19-semantic-actions\u002Fcaptures\u002Fsemantic-set-devbox.json",{"lines":406,"total":398},[407,408,409,410,411,412,413,414,415,416],"{","    \"winforms\":  {","                     \"ExpandCollapse\":  {","                                            \"automation_id_digest\":  \"fe622ad1c908a3ce\",","                                            \"call\":  {","                                                         \"before\":  {","                                                                        \"ok\":  true,","                                                                        \"state\":  \"Collapsed\"","                                                                    },","                                                         \"collapse\":  {",{"format":294,"lines":418,"tokens":419,"first":420,"others":423,"copies":336,"kind":369},642,1746,{"name":421,"start":352,"end":422},"probes\u002Fwindows\u002F15-vocabulary\u002Fcaptures\u002Fuia-vocabulary-ci.json",697,[424],{"name":425,"start":352,"end":422},"probes\u002Fwindows\u002F15-vocabulary\u002Fcaptures\u002Fuia-vocabulary-devbox.json",{"format":294,"lines":427,"tokens":428,"first":429,"others":431,"copies":336,"kind":369},293,931,{"name":430,"start":255,"end":427},"probes\u002Fwindows\u002F19-semantic-actions\u002Fcaptures\u002Fsemantic-failure-ci.json",[432],{"name":433,"start":255,"end":427},"probes\u002Fwindows\u002F19-semantic-actions\u002Fcaptures\u002Fsemantic-failure-devbox.json",{"format":294,"lines":435,"tokens":436,"first":437,"others":439,"copies":336,"kind":369},304,857,{"name":438,"start":255,"end":435},"probes\u002Fwindows\u002F19-semantic-actions\u002Fcaptures\u002Fsemantic-combo-ci.json",[440],{"name":441,"start":255,"end":435},"probes\u002Fwindows\u002F19-semantic-actions\u002Fcaptures\u002Fsemantic-combo-devbox.json",{"format":280,"lines":344,"tokens":443,"first":444,"others":446,"copies":324,"kind":464},87,{"name":445,"start":255,"end":344},"crates\u002Fcore\u002Fsrc\u002Fcommands\u002Fcheck.rs",[447,449,451,454,456,458,460,462],{"name":448,"start":255,"end":344},"crates\u002Fcore\u002Fsrc\u002Fcommands\u002Fclear.rs",{"name":450,"start":255,"end":344},"crates\u002Fcore\u002Fsrc\u002Fcommands\u002Fclick.rs",{"name":452,"start":255,"end":453},"crates\u002Fcore\u002Fsrc\u002Fcommands\u002Fcollapse.rs",18,{"name":455,"start":255,"end":344},"crates\u002Fcore\u002Fsrc\u002Fcommands\u002Fexpand.rs",{"name":457,"start":255,"end":453},"crates\u002Fcore\u002Fsrc\u002Fcommands\u002Ffocus.rs",{"name":459,"start":255,"end":453},"crates\u002Fcore\u002Fsrc\u002Fcommands\u002Fscroll_to.rs",{"name":461,"start":255,"end":344},"crates\u002Fcore\u002Fsrc\u002Fcommands\u002Ftoggle.rs",{"name":463,"start":255,"end":453},"crates\u002Fcore\u002Fsrc\u002Fcommands\u002Ftriple_click.rs","code",{"format":287,"lines":466,"tokens":467,"first":468,"others":472,"copies":338,"kind":464},16,114,{"name":469,"start":470,"end":471},"probes\u002Fwindows\u002F14-ci-capability\u002Fprobe.ps1",50,65,[473,477,481,485,488,491],{"name":474,"start":475,"end":476},"probes\u002Fwindows\u002F15-vocabulary\u002Fprobe.ps1",55,70,{"name":478,"start":479,"end":480},"probes\u002Fwindows\u002F16-observation\u002Fprobe.ps1",62,77,{"name":482,"start":483,"end":484},"probes\u002Fwindows\u002F17-resolution\u002Fprobe.ps1",59,74,{"name":486,"start":487,"end":479},"probes\u002Fwindows\u002F18-actionability\u002Fprobe.ps1",47,{"name":489,"start":371,"end":490},"probes\u002Fwindows\u002F20-input-synthesis\u002Fprobe.ps1",68,{"name":492,"start":493,"end":494},"probes\u002Fwindows\u002F21-system-lifecycle\u002Fmeasure-cost.ps1",30,45,{"format":287,"lines":496,"tokens":497,"first":498,"others":501,"copies":338,"kind":464},11,104,{"name":499,"start":304,"end":500},"probes\u002Fwindows\u002F22-capture-clipboard\u002Fmeasure-cost.ps1",37,[502,504,507,510,512,516],{"name":503,"start":371,"end":471},"probes\u002Fwindows\u002F22-capture-clipboard\u002Fprobe.ps1",{"name":505,"start":506,"end":352},"probes\u002Fwindows\u002F23-signals-menus\u002Fmeasure-cost.ps1",44,{"name":508,"start":490,"end":509},"probes\u002Fwindows\u002F23-signals-menus\u002Fprobe-root-classify.ps1",80,{"name":511,"start":376,"end":476},"probes\u002Fwindows\u002F23-signals-menus\u002Fprobe.ps1",{"name":513,"start":514,"end":515},"probes\u002Fwindows\u002F24-fixture-e2e\u002F01-fixture-toolchain.ps1",85,97,{"name":517,"start":479,"end":484},"probes\u002Fwindows\u002F25-packaging\u002F01-archive-and-download-tools.ps1",{"format":294,"lines":519,"tokens":520,"first":521,"others":525,"copies":532,"kind":369},111,307,{"name":522,"start":523,"end":524},"probes\u002Fwindows\u002F16-observation\u002Fcaptures\u002Fobservation-chromium-devbox.json",82,192,[526,529],{"name":522,"start":527,"end":528},92,202,{"name":522,"start":530,"end":531},212,322,3,{"sources":265,"lines":534,"tokens":535,"clones":536,"duplicatedLines":537,"duplicatedTokens":538,"percentage":264,"percentageTokens":539,"formats":540,"topClones":573,"generated":774},406813,2832971,2026,23021,154951,5.47,[541,546,552,555,556,560,564,567,570],{"format":280,"sources":261,"lines":542,"clones":543,"duplicatedLines":544,"percentage":545},352942,1617,18084,5.12,{"format":287,"sources":547,"lines":548,"clones":549,"duplicatedLines":550,"percentage":551},86,35249,380,4579,12.99,{"format":315,"sources":322,"lines":553,"clones":317,"duplicatedLines":318,"percentage":554},5471,5.34,{"format":335,"sources":336,"lines":337,"clones":338,"duplicatedLines":339,"percentage":340},{"format":342,"sources":557,"lines":558,"clones":336,"duplicatedLines":344,"percentage":559},5,95,15.79,{"format":328,"sources":561,"lines":562,"clones":563,"duplicatedLines":563,"percentage":563},17,3013,0,{"format":565,"sources":311,"lines":566,"clones":563,"duplicatedLines":563,"percentage":563},"bash",2771,{"format":301,"sources":568,"lines":569,"clones":563,"duplicatedLines":563,"percentage":563},13,2528,{"format":571,"sources":331,"lines":572,"clones":563,"duplicatedLines":563,"percentage":563},"objectivec",2426,[574,597,618,645,675,699,717,734,755,765],{"format":280,"lines":344,"tokens":443,"first":575,"others":576,"copies":324,"excerpt":585,"kind":464},{"name":445,"start":255,"end":344},[577,578,579,580,581,582,583,584],{"name":448,"start":255,"end":344},{"name":450,"start":255,"end":344},{"name":452,"start":255,"end":453},{"name":455,"start":255,"end":344},{"name":457,"start":255,"end":453},{"name":459,"start":255,"end":453},{"name":461,"start":255,"end":344},{"name":463,"start":255,"end":453},{"lines":586,"total":344},[587,588,589,590,591,592,593,594,595,596],"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":287,"lines":466,"tokens":467,"first":598,"others":599,"copies":338,"excerpt":606,"kind":464},{"name":469,"start":470,"end":471},[600,601,602,603,604,605],{"name":474,"start":475,"end":476},{"name":478,"start":479,"end":480},{"name":482,"start":483,"end":484},{"name":486,"start":487,"end":479},{"name":489,"start":371,"end":490},{"name":492,"start":493,"end":494},{"lines":607,"total":466},[608,609,610,611,612,613,614,615,616,617],"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":287,"lines":496,"tokens":497,"first":619,"others":620,"copies":338,"excerpt":627,"excerptSecond":634,"kind":464},{"name":499,"start":304,"end":500},[621,622,623,624,625,626],{"name":503,"start":371,"end":471},{"name":505,"start":506,"end":352},{"name":508,"start":490,"end":509},{"name":511,"start":376,"end":476},{"name":513,"start":514,"end":515},{"name":517,"start":479,"end":484},{"lines":628,"total":496},[613,614,615,616,629,630,631,632,633,595],"    $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":635,"total":568},[636,637,638,639,640,641,642,643,633,644],"$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":280,"lines":344,"tokens":443,"first":646,"others":650,"copies":322,"kind":464},{"name":647,"start":648,"end":649},"crates\u002Fcore\u002Fsrc\u002Fcommands\u002Fwait_resolution_tests.rs",109,123,[651,655,659,661,665,668,672],{"name":652,"start":653,"end":654},"crates\u002Fcore\u002Fsrc\u002Fref_action\u002Fref_action_exactly_once_tests.rs",200,214,{"name":656,"start":657,"end":658},"crates\u002Fcore\u002Fsrc\u002Fref_action\u002Fref_action_tests.rs",201,215,{"name":660,"start":466,"end":493},"crates\u002Fcore\u002Fsrc\u002Fref_action\u002Fref_action_wait_app_not_found_tests.rs",{"name":662,"start":663,"end":664},"crates\u002Fcore\u002Fsrc\u002Fref_action\u002Fref_action_wait_process_state_tests.rs",19,33,{"name":666,"start":317,"end":667},"crates\u002Fcore\u002Fsrc\u002Fref_action\u002Fref_action_wait_success_tests.rs",34,{"name":669,"start":670,"end":671},"crates\u002Fcore\u002Fsrc\u002Fref_action\u002Fref_action_wait_tests.rs",127,141,{"name":673,"start":674,"end":470},"crates\u002Fcore\u002Fsrc\u002Ftrace\u002Ftrace_artifacts_tests.rs",36,{"format":280,"lines":676,"tokens":677,"first":678,"others":680,"copies":324,"kind":464},12,67,{"name":660,"start":679,"end":558},84,[681,683,686,688,690,691,693,696],{"name":660,"start":649,"end":682},134,{"name":660,"start":684,"end":685},199,210,{"name":687,"start":547,"end":515},"crates\u002Fcore\u002Fsrc\u002Fref_action\u002Fref_action_wait_lease_tests.rs",{"name":662,"start":443,"end":689},98,{"name":666,"start":484,"end":514},{"name":669,"start":479,"end":692},73,{"name":669,"start":694,"end":695},101,112,{"name":669,"start":697,"end":698},318,329,{"format":287,"lines":453,"tokens":700,"first":701,"others":703,"copies":557,"kind":464},150,{"name":513,"start":702,"end":558},78,[704,706,710,714],{"name":705,"start":443,"end":497},"probes\u002Fwindows\u002F24-fixture-e2e\u002F04-explorer-below-fold.ps1",{"name":707,"start":708,"end":709},"probes\u002Fwindows\u002F24-fixture-e2e\u002F06-cell-role-provider.ps1",76,93,{"name":711,"start":712,"end":713},"probes\u002Fwindows\u002F24-fixture-e2e\u002F09-cell-role-stock-dgv.ps1",64,81,{"name":715,"start":376,"end":716},"probes\u002Fwindows\u002F24-fixture-e2e\u002F10-hosted-modern-capture.ps1",75,{"format":287,"lines":331,"tokens":718,"first":719,"others":720,"copies":338,"kind":464},91,{"name":469,"start":470,"end":376},[721,723,725,728,730,732],{"name":503,"start":722,"end":352},48,{"name":505,"start":724,"end":487},39,{"name":508,"start":726,"end":727},63,71,{"name":511,"start":371,"end":729},61,{"name":513,"start":509,"end":731},88,{"name":517,"start":733,"end":471},57,{"format":280,"lines":735,"tokens":713,"first":736,"others":740,"copies":338,"kind":464},14,{"name":737,"start":738,"end":739},"crates\u002Fcore\u002Fsrc\u002Fref_action\u002Fpresentation_lease_tests.rs",22,35,[741,744,747,750,751,753],{"name":742,"start":743,"end":371},"crates\u002Fcore\u002Fsrc\u002Fref_action\u002Fpresentation_shared_cursor_tests.rs",40,{"name":656,"start":745,"end":746},108,121,{"name":656,"start":748,"end":749},154,167,{"name":666,"start":729,"end":484},{"name":673,"start":443,"end":752},100,{"name":673,"start":754,"end":302},151,{"format":287,"lines":756,"tokens":757,"first":758,"others":762,"copies":336,"kind":464},66,482,{"name":759,"start":760,"end":761},"probes\u002Fwindows\u002Fscratch\u002Frun-input-dogfood.ps1",241,306,[763],{"name":764,"start":718,"end":295},"probes\u002Fwindows\u002Fscratch\u002Frun-lifecycle-dogfood.ps1",{"format":287,"lines":317,"tokens":754,"first":766,"others":767,"copies":384,"kind":464},{"name":513,"start":702,"end":515},[768,770,772],{"name":769,"start":702,"end":515},"probes\u002Fwindows\u002F24-fixture-e2e\u002F05-hwnd-wrap-churn.ps1",{"name":771,"start":484,"end":731},"probes\u002Fwindows\u002F24-fixture-e2e\u002F07-split-integrity-effects.ps1",{"name":773,"start":443,"end":694},"probes\u002Fwindows\u002F24-fixture-e2e\u002F08-chromium-content.ps1",{"files":255,"minified":563,"sample":775},[776],"scripts\u002Fcheck-rust-file-size.sh",{"score":266,"grade":267,"size":778,"dimensions":782},{"lines":779,"files":780,"class":781},461348,3054,"L",[783,796,804],{"id":784,"source":785,"value":786,"adjusted":786,"lines":787,"halfLife":788,"formats":789,"excluded":793,"weight":255,"score":795},"duplication","jscpd",5.3,24489,8.5,[280,287,301,315,565,328,571,335,790,342,791,792],"swift","tsx","typescript",[321,794,369],"text",64.9,{"id":797,"source":785,"value":798,"adjusted":340,"lines":799,"halfLife":800,"coverage":801,"weight":802,"score":803},"dead-code",2.1,608,7.5,6.3,0.063,81.8,{"id":805,"source":785,"value":806,"adjusted":806,"lines":807,"halfLife":470,"weight":255,"score":808},"complexity",23.6,109054,72.1,{"total":810,"mean":811,"files":812},63370,20.7,[813,818,823,828,833,838,842,847,852,856],{"path":814,"complexity":815,"lines":816,"bytes":817},"probes\u002Fwindows\u002F26-shell-surfaces\u002Fshell-probe.cs",454,2051,105414,{"path":819,"complexity":820,"lines":821,"bytes":822},"probes\u002Fwindows\u002Fscratch\u002Frun-capture-clipboard-dogfood.ps1",269,1029,51809,{"path":824,"complexity":825,"lines":826,"bytes":827},"probes\u002Fwindows\u002Fcommon.ps1",253,1115,56786,{"path":829,"complexity":830,"lines":831,"bytes":832},"probes\u002Fwindows\u002Fscratch\u002Frun-semantic-dogfood.ps1",250,945,47306,{"path":834,"complexity":835,"lines":836,"bytes":837},"probes\u002Fwindows\u002F08-uia3-com.cs",242,1440,70503,{"path":839,"complexity":658,"lines":840,"bytes":841},"probes\u002Fwindows\u002Fscratch\u002Frun-actionability-dogfood.ps1",894,46012,{"path":843,"complexity":844,"lines":845,"bytes":846},"scripts\u002Fcheck_architecture.py",204,663,33362,{"path":848,"complexity":849,"lines":850,"bytes":851},"tests\u002Fe2e-linux\u002Fscenarios\u002Fref_contract.py",198,369,20263,{"path":759,"complexity":853,"lines":854,"bytes":855},195,1106,50448,{"path":857,"complexity":858,"lines":859,"bytes":860},"probes\u002Fwindows\u002F01-tree-dump.ps1",181,773,44621,{"percentage":862,"findings":496,"files":863,"byCategory":864,"largest":871},2.11,228,[865,867,869],{"category":866,"count":557},"unused-file",{"category":868,"count":384},"unused-export",{"category":870,"count":336},"unused-import",[872,875,878,881,883,885,888,892,894,897],{"category":866,"path":873,"name":595,"line":255,"lines":874},"crates\u002Fcore\u002Fsrc\u002Ftrace\u002Ftrace_read\u002Fviewer.js",347,{"category":866,"path":876,"name":595,"line":255,"lines":877},"src\u002Fvisual_debug\u002Fviewer.js",161,{"category":866,"path":879,"name":595,"line":255,"lines":880},"crates\u002Flinux\u002Fsrc\u002Fsystem\u002Fclose\u002Fclose_live\u002Fowners.py",49,{"category":866,"path":882,"name":595,"line":255,"lines":664},"src\u002Fvisual_debug\u002Fviewer_filter.js",{"category":866,"path":884,"name":595,"line":255,"lines":375},"apps\u002Fdocs\u002Flib\u002Futils.ts",{"category":868,"path":886,"name":887,"line":496,"lines":532},"apps\u002Fdocs\u002Flib\u002Fgeistdocs\u002Fi18n.ts","i18nProvider",{"category":870,"path":889,"name":890,"line":891,"lines":532},"scripts\u002Flinux-live-gate.py","CLI_WAYLAND",21,{"category":870,"path":889,"name":893,"line":891,"lines":532},"CURSOR_WAYLAND",{"category":868,"path":895,"name":896,"line":309,"lines":255},"apps\u002Fdocs\u002Flib\u002Fgeistdocs\u002Fsite-url.ts","isSiteUrlConfigured",{"category":868,"path":898,"name":899,"line":900,"lines":255},"apps\u002Fdocs\u002Flib\u002Fgeistdocs\u002Fsource.ts","getPageImage",23,{"\u002Ftrending\u002Fvercel-labs\u002Fagent-desktop":902},{"views":563,"visits":563},1793688681951]