[{"data":1,"prerenderedAt":915},["ShallowReactive",2],{"navigation_docs":3,"trending-repo-Tracer-Cloud\u002Fopensre":249,"page-views-\u002Ftrending\u002FTracer-Cloud\u002Fopensre":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":305},"Tracer-Cloud\u002Fopensre","https:\u002F\u002Fgithub.com\u002FTracer-Cloud\u002Fopensre",[253,268,272,283,295],{"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-20",8,13218,38,"29d9ba64ffe3d19abf1e02d0b8f711106a565a87",3647,659308,2031,25016,3.79,2.21,1983,66.2,"C",{"date":269,"rank":255,"stars":270,"starsToday":271,"headSha":258,"sources":259,"lines":260,"clones":261,"duplicatedLines":262,"percentage":263,"codePercentage":264,"codeSources":265,"healthScore":266,"healthGrade":267},"2026-11-21",13686,466,{"date":273,"rank":255,"stars":274,"starsToday":275,"headSha":276,"sources":277,"lines":278,"clones":279,"duplicatedLines":280,"percentage":263,"codePercentage":264,"codeSources":281,"healthScore":282,"healthGrade":267},"2026-11-22",14066,450,"34743ae0a6537b42610efcc315b826ae17617d6d",3659,661534,2034,25051,1990,66.3,{"date":284,"rank":255,"stars":285,"starsToday":286,"headSha":287,"sources":288,"lines":289,"clones":290,"duplicatedLines":291,"percentage":292,"codePercentage":293,"codeSources":294,"healthScore":282,"healthGrade":267},"2026-11-23",14496,399,"75f248feeceb1be41cbb35ac89e7bc887fca6e6e",3661,662128,2035,25060,3.78,2.2,1991,{"date":296,"rank":255,"stars":297,"starsToday":298,"headSha":299,"sources":300,"lines":301,"clones":290,"duplicatedLines":302,"percentage":303,"codePercentage":293,"codeSources":304,"healthScore":282,"healthGrade":267},"2026-11-24",14895,436,"ccb13497bf3a03d93799e9fc32e0e958f8545fcc",3671,664007,25064,3.77,1997,{"date":296,"generatedAt":306,"name":250,"url":251,"description":307,"language":308,"stars":297,"starsToday":298,"defaultBranch":309,"headSha":299,"durationMs":310,"total":311,"formats":315,"topClones":375,"code":641,"health":790,"complexity":822,"deadCode":870},"2026-11-24T05:22:05.649Z","The open-source agent for CI\u002FCD reliability.","Python","main",3252,{"sources":300,"lines":301,"tokens":312,"clones":290,"duplicatedLines":302,"duplicatedTokens":313,"percentage":303,"percentageTokens":314},3622856,143825,3.97,[316,322,329,336,343,350,356,361,368,372],{"format":317,"sources":318,"lines":319,"clones":265,"duplicatedLines":320,"percentage":321},"python",3466,636049,24304,3.82,{"format":323,"sources":324,"lines":325,"clones":326,"duplicatedLines":327,"percentage":328},"yaml",43,3353,20,309,9.22,{"format":330,"sources":331,"lines":332,"clones":333,"duplicatedLines":334,"percentage":335},"json",16,6035,15,272,4.51,{"format":337,"sources":338,"lines":339,"clones":340,"duplicatedLines":341,"percentage":342},"css",2,2108,6,50,2.37,{"format":344,"sources":345,"lines":346,"clones":347,"duplicatedLines":348,"percentage":349},"markup",21,1476,5,82,5.56,{"format":351,"sources":352,"lines":353,"clones":354,"duplicatedLines":345,"percentage":355},"markdown",87,9547,3,0.22,{"format":357,"sources":338,"lines":358,"clones":338,"duplicatedLines":359,"percentage":360},"powershell",1359,19,1.4,{"format":362,"sources":363,"lines":364,"clones":365,"duplicatedLines":366,"percentage":367},"bash",10,1982,1,7,0.35,{"format":369,"sources":354,"lines":370,"clones":371,"duplicatedLines":371,"percentage":371},"javascript",847,0,{"format":373,"sources":338,"lines":374,"clones":371,"duplicatedLines":371,"percentage":371},"toml",335,[376,400,448,473,505,519,531,566,588,614],{"format":344,"lines":377,"tokens":378,"first":379,"others":383,"copies":338,"excerpt":387,"kind":399},34,1396,{"name":380,"start":381,"end":382},"docs\u002Fimages\u002Fenvironments\u002Faws-logo.svg",13,46,[384],{"name":380,"start":385,"end":386},45,78,{"lines":388,"total":377},[389,390,391,392,393,394,395,396,397,398],"\u003C\u002Fmetadata>","\u003Cg>"," \u003Cpath class=\"st0\" d=\"M33.9,26.1c0,1.5,0.2,2.7,0.4,3.6c0.3,0.9,0.7,1.8,1.3,2.9c0.2,0.3,0.3,0.6,0.3,0.9c0,0.4-0.2,0.8-0.8,1.2","       l-2.5,1.7c-0.4,0.2-0.7,0.4-1,0.4c-0.4,0-0.8-0.2-1.2-0.6c-0.6-0.6-1-1.2-1.4-1.9c-0.4-0.7-0.8-1.4-1.2-2.4","       c-3.1,3.7-7,5.5-11.8,5.5c-3.4,0-6-1-8-2.9s-3-4.5-3-7.7c0-3.4,1.2-6.2,3.6-8.2s5.7-3.1,9.8-3.1c1.4,0,2.8,0.1,4.2,0.3","       c1.5,0.2,3,0.5,4.6,0.9v-2.9c0-3-0.6-5.2-1.9-6.4c-1.3-1.2-3.4-1.8-6.5-1.8c-1.4,0-2.8,0.2-4.3,0.5c-1.5,0.4-2.9,0.8-4.3,1.4","       C9.6,7.7,9.1,7.9,8.8,8C8.5,8,8.3,8.1,8.2,8.1c-0.6,0-0.8-0.4-0.8-1.2v-2c0-0.6,0.1-1.1,0.3-1.4s0.6-0.6,1.1-0.8","       c1.4-0.7,3.1-1.3,5-1.8c2-0.5,4-0.8,6.2-0.8c4.8,0,8.2,1.1,10.5,3.2c2.2,2.2,3.3,5.4,3.3,9.9L33.9,26.1L33.9,26.1z M17.7,32.2","       c1.3,0,2.7-0.2,4.1-0.7c1.4-0.5,2.7-1.4,3.8-2.6c0.6-0.8,1.1-1.6,1.4-2.6c0.2-1,0.4-2.1,0.4-3.5v-1.7c-1.2-0.3-2.4-0.5-3.7-0.7","       c-1.3-0.2-2.5-0.2-3.8-0.2c-2.7,0-4.6,0.5-6,1.6c-1.3,1.1-2,2.6-2,4.6c0,1.9,0.5,3.3,1.5,4.2C14.4,31.8,15.8,32.2,17.7,32.2z","docs",{"format":317,"lines":401,"tokens":402,"first":403,"others":407,"copies":363,"excerpt":436,"kind":447},14,109,{"name":404,"start":405,"end":406},"integrations\u002Fkubernetes\u002Ftools\u002Fkubernetes_describe_pod_tool\u002Ftool.py",58,71,[408,412,415,419,421,424,428,432],{"name":409,"start":410,"end":411},"integrations\u002Fkubernetes\u002Ftools\u002Fkubernetes_get_events_tool\u002Ftool.py",60,73,{"name":413,"start":406,"end":414},"integrations\u002Fkubernetes\u002Ftools\u002Fkubernetes_get_resource_tool\u002Ftool.py",84,{"name":416,"start":417,"end":418},"integrations\u002Fkubernetes\u002Ftools\u002Fkubernetes_list_configmaps_tool\u002Ftool.py",51,64,{"name":420,"start":417,"end":418},"integrations\u002Fkubernetes\u002Ftools\u002Fkubernetes_list_daemonsets_tool\u002Ftool.py",{"name":422,"start":341,"end":423},"integrations\u002Fkubernetes\u002Ftools\u002Fkubernetes_list_deployments_tool\u002Ftool.py",63,{"name":425,"start":426,"end":427},"integrations\u002Fkubernetes\u002Ftools\u002Fkubernetes_list_ingresses_tool\u002Ftool.py",52,65,{"name":429,"start":430,"end":431},"integrations\u002Fkubernetes\u002Ftools\u002Fkubernetes_list_pods_tool\u002Ftool.py",56,69,{"name":433,"start":434,"end":435},"integrations\u002Fkubernetes\u002Ftools\u002Fkubernetes_list_services_tool\u002Ftool.py",57,70,{"lines":437,"total":401},[438,439,440,441,442,440,443,444,445,446],"    \"status\": \"Pod status including phase, conditions, and per-container states\",","}","","def is_available(self, sources: dict[str, Any]) -> bool:","    return _shared.is_available(sources)","def extract_params(self, sources: dict[str, Any]) -> dict[str, Any]:","    k8s = sources[\"kubernetes\"]","    return {","        \"kubeconfig\": k8s.get(\"kubeconfig\", \"\"),","code",{"format":317,"lines":449,"tokens":450,"first":451,"others":454,"copies":354,"excerpt":461,"kind":447},31,334,{"name":452,"start":453,"end":434},"core\u002Ftool_framework\u002Ftool_decorator.py",27,[455,458],{"name":452,"start":456,"end":457},66,96,{"name":452,"start":459,"end":460},105,135,{"lines":462,"total":449},[463,464,465,466,467,468,469,470,471,472],"description: str | None = None,","compact_description: str | None = None,","display_name: str | None = None,","input_schema: dict[str, Any] | None = None,","input_model: type[BaseModel] | None = None,","source: EvidenceSource | None = None,","source_id: str | None = None,","evidence_type: EvidenceType | None = None,","side_effect_level: SideEffectLevel | None = None,","surfaces: tuple[ToolSurface, ...] | None = None,",{"format":317,"lines":255,"tokens":474,"first":475,"others":479,"copies":363,"kind":504},62,{"name":476,"start":477,"end":478},"tests\u002Fanalytics\u002Ftest_provider.py",187,194,[480,483,486,489,492,495,498,501],{"name":476,"start":481,"end":482},268,275,{"name":476,"start":484,"end":485},310,317,{"name":476,"start":487,"end":488},544,551,{"name":476,"start":490,"end":491},646,653,{"name":476,"start":493,"end":494},771,778,{"name":476,"start":496,"end":497},805,812,{"name":476,"start":499,"end":500},1342,1349,{"name":476,"start":502,"end":503},1684,1691,"tests",{"format":317,"lines":506,"tokens":507,"first":508,"others":509,"copies":363,"kind":447},17,61,{"name":404,"start":365,"end":506},[510,511,513,514,515,516,517,518],{"name":409,"start":365,"end":506},{"name":512,"start":365,"end":506},"integrations\u002Fkubernetes\u002Ftools\u002Fkubernetes_get_pod_logs_tool\u002Ftool.py",{"name":416,"start":365,"end":506},{"name":420,"start":365,"end":506},{"name":422,"start":365,"end":506},{"name":425,"start":365,"end":506},{"name":429,"start":365,"end":506},{"name":433,"start":365,"end":506},{"format":317,"lines":326,"tokens":520,"first":521,"others":523,"copies":347,"kind":447},130,{"name":416,"start":410,"end":522},79,[524,525,527,529],{"name":420,"start":410,"end":522},{"name":422,"start":526,"end":386},59,{"name":425,"start":507,"end":528},80,{"name":530,"start":526,"end":386},"integrations\u002Fkubernetes\u002Ftools\u002Fkubernetes_list_statefulsets_tool\u002Ftool.py",{"format":317,"lines":532,"tokens":507,"first":533,"others":537,"copies":532,"kind":447},9,{"name":534,"start":535,"end":536},"integrations\u002Fgithub\u002Ftools\u002Factions.py",796,804,[538,541,544,547,551,555,559,562],{"name":534,"start":539,"end":540},968,976,{"name":534,"start":542,"end":543},1100,1108,{"name":534,"start":545,"end":546},1245,1253,{"name":548,"start":549,"end":550},"integrations\u002Fgithub\u002Ftools\u002Fcommits.py",111,119,{"name":552,"start":553,"end":554},"integrations\u002Fgithub\u002Ftools\u002Ffile_contents.py",110,118,{"name":556,"start":557,"end":558},"integrations\u002Fgithub\u002Ftools\u002Fgit_deploy_timeline_tool\u002F__init__.py",245,253,{"name":560,"start":561,"end":459},"integrations\u002Fgithub\u002Ftools\u002Fissues.py",97,{"name":563,"start":564,"end":565},"integrations\u002Fgithub\u002Ftools\u002Fsearch_code.py",94,102,{"format":317,"lines":340,"tokens":526,"first":567,"others":569,"copies":532,"kind":504},{"name":476,"start":568,"end":482},270,[570,572,574,576,578,581,583,585],{"name":476,"start":571,"end":488},546,{"name":476,"start":573,"end":491},648,{"name":476,"start":575,"end":494},773,{"name":476,"start":577,"end":497},807,{"name":476,"start":579,"end":580},1197,1202,{"name":476,"start":582,"end":500},1344,{"name":476,"start":584,"end":503},1686,{"name":476,"start":586,"end":587},1721,1726,{"format":317,"lines":589,"tokens":590,"first":591,"others":595,"copies":366,"kind":504},12,76,{"name":592,"start":593,"end":594},"tests\u002Fcli\u002Fwizard\u002Ftest_flow.py",1041,1052,[596,599,602,605,608,611],{"name":592,"start":597,"end":598},1099,1110,{"name":592,"start":600,"end":601},1578,1589,{"name":592,"start":603,"end":604},1897,1908,{"name":592,"start":606,"end":607},1952,1963,{"name":592,"start":609,"end":610},2014,2025,{"name":592,"start":612,"end":613},2744,2755,{"format":317,"lines":532,"tokens":423,"first":615,"others":619,"copies":255,"kind":447},{"name":616,"start":617,"end":618},"integrations\u002Falertmanager\u002Fclient.py",33,41,[620,623,627,630,633,636,638],{"name":621,"start":449,"end":622},"integrations\u002Fdatadog\u002Fclient.py",39,{"name":624,"start":625,"end":626},"integrations\u002Felasticsearch\u002Fclient.py",90,98,{"name":628,"start":629,"end":617},"integrations\u002Fhoneycomb\u002Fclient.py",25,{"name":631,"start":632,"end":520},"integrations\u002Fnew_relic\u002Fclient.py",122,{"name":634,"start":453,"end":635},"integrations\u002Fpagerduty\u002Fclient.py",35,{"name":637,"start":406,"end":522},"integrations\u002Fprefect\u002Fclient.py",{"name":639,"start":418,"end":640},"integrations\u002Fvictoria_logs\u002Fclient.py",72,{"sources":304,"lines":642,"tokens":643,"clones":644,"duplicatedLines":645,"duplicatedTokens":646,"percentage":293,"percentageTokens":647,"formats":648,"topClones":660,"generated":788},312680,1652889,535,6869,37958,2.3,[649,654,656,659],{"format":317,"sources":650,"lines":651,"clones":652,"duplicatedLines":653,"percentage":264},1992,309362,532,6843,{"format":357,"sources":365,"lines":655,"clones":338,"duplicatedLines":359,"percentage":360},1356,{"format":362,"sources":354,"lines":657,"clones":365,"duplicatedLines":366,"percentage":658},1889,0.37,{"format":369,"sources":365,"lines":411,"clones":371,"duplicatedLines":371,"percentage":371},[661,674,681,701,708,719,729,740,754,781],{"format":317,"lines":401,"tokens":402,"first":662,"others":663,"copies":363,"excerpt":672,"kind":447},{"name":404,"start":405,"end":406},[664,665,666,667,668,669,670,671],{"name":409,"start":410,"end":411},{"name":413,"start":406,"end":414},{"name":416,"start":417,"end":418},{"name":420,"start":417,"end":418},{"name":422,"start":341,"end":423},{"name":425,"start":426,"end":427},{"name":429,"start":430,"end":431},{"name":433,"start":434,"end":435},{"lines":673,"total":401},[438,439,440,441,442,440,443,444,445,446],{"format":317,"lines":449,"tokens":450,"first":675,"others":676,"copies":354,"excerpt":679,"kind":447},{"name":452,"start":453,"end":434},[677,678],{"name":452,"start":456,"end":457},{"name":452,"start":459,"end":460},{"lines":680,"total":449},[463,464,465,466,467,468,469,470,471,472],{"format":317,"lines":506,"tokens":507,"first":682,"others":683,"copies":363,"excerpt":692,"kind":447},{"name":404,"start":365,"end":506},[684,685,686,687,688,689,690,691],{"name":409,"start":365,"end":506},{"name":512,"start":365,"end":506},{"name":416,"start":365,"end":506},{"name":420,"start":365,"end":506},{"name":422,"start":365,"end":506},{"name":425,"start":365,"end":506},{"name":429,"start":365,"end":506},{"name":433,"start":365,"end":506},{"lines":693,"total":506},[694,440,695,440,696,440,697,698,699,700],"\"\"\"Fetch full spec, status, and container states for a single Kubernetes pod.\"\"\"","from __future__ import annotations","from typing import Any","import integrations.kubernetes.tools._shared as _shared","from core.domain.types.tools import ToolSurface","from core.tool import BaseTool, SideEffectLevel","from core.tool_framework.utils import tool_unavailable",{"format":317,"lines":326,"tokens":520,"first":702,"others":703,"copies":347,"kind":447},{"name":416,"start":410,"end":522},[704,705,706,707],{"name":420,"start":410,"end":522},{"name":422,"start":526,"end":386},{"name":425,"start":507,"end":528},{"name":530,"start":526,"end":386},{"format":317,"lines":532,"tokens":507,"first":709,"others":710,"copies":532,"kind":447},{"name":534,"start":535,"end":536},[711,712,713,714,715,716,717,718],{"name":534,"start":539,"end":540},{"name":534,"start":542,"end":543},{"name":534,"start":545,"end":546},{"name":548,"start":549,"end":550},{"name":552,"start":553,"end":554},{"name":556,"start":557,"end":558},{"name":560,"start":561,"end":459},{"name":563,"start":564,"end":565},{"format":317,"lines":532,"tokens":423,"first":720,"others":721,"copies":255,"kind":447},{"name":616,"start":617,"end":618},[722,723,724,725,726,727,728],{"name":621,"start":449,"end":622},{"name":624,"start":625,"end":626},{"name":628,"start":629,"end":617},{"name":631,"start":632,"end":520},{"name":634,"start":453,"end":635},{"name":637,"start":406,"end":522},{"name":639,"start":418,"end":640},{"format":317,"lines":331,"tokens":730,"first":731,"others":735,"copies":354,"kind":447},201,{"name":732,"start":733,"end":734},"integrations\u002Fhelm\u002Ftools\u002F__init__.py",165,180,[736,737],{"name":732,"start":558,"end":481},{"name":732,"start":738,"end":739},346,361,{"format":317,"lines":331,"tokens":434,"first":741,"others":742,"copies":255,"kind":447},{"name":409,"start":625,"end":459},[743,744,745,747,749,752,753],{"name":416,"start":522,"end":564},{"name":420,"start":522,"end":564},{"name":422,"start":386,"end":746},93,{"name":425,"start":528,"end":748},95,{"name":429,"start":750,"end":751},86,101,{"name":433,"start":352,"end":565},{"name":530,"start":386,"end":746},{"format":317,"lines":755,"tokens":423,"first":756,"others":760,"copies":366,"kind":447},18,{"name":757,"start":758,"end":759},"integrations\u002Fllm_cli\u002Fantigravity_cli.py",151,168,[761,764,768,770,774,778],{"name":762,"start":763,"end":481},"integrations\u002Fllm_cli\u002Fclaude_code.py",251,{"name":765,"start":766,"end":767},"integrations\u002Fllm_cli\u002Fcopilot.py",224,241,{"name":769,"start":758,"end":759},"integrations\u002Fllm_cli\u002Fgemini_cli.py",{"name":771,"start":772,"end":773},"integrations\u002Fllm_cli\u002Fgrok_cli.py",174,191,{"name":775,"start":776,"end":777},"integrations\u002Fllm_cli\u002Fopencode.py",137,154,{"name":779,"start":733,"end":780},"integrations\u002Fllm_cli\u002Fpi_cli.py",182,{"format":317,"lines":377,"tokens":782,"first":783,"others":784,"copies":338,"kind":447},352,{"name":452,"start":565,"end":460},[785],{"name":452,"start":786,"end":787},140,173,{"files":371,"minified":371,"sample":789},[],{"score":282,"grade":267,"size":791,"dimensions":795},{"lines":792,"files":793,"class":794},640428,3473,"L",[796,809,817],{"id":797,"source":798,"value":799,"adjusted":799,"lines":800,"halfLife":801,"formats":802,"excluded":805,"weight":365,"score":808},"duplication","jscpd",3.8,24330,8.5,[317,362,357,369,803,804],"makefile","docker",[344,806,807],"text","data",73.4,{"id":810,"source":798,"value":811,"adjusted":811,"lines":812,"halfLife":813,"coverage":814,"weight":815,"score":816},"dead-code",4.4,27902,7.5,99.9,0.999,66.8,{"id":818,"source":798,"value":819,"adjusted":819,"lines":820,"halfLife":341,"weight":365,"score":821},"complexity",37.5,240204,59.5,{"total":823,"mean":824,"files":825},79242,22.8,[826,830,835,840,845,849,854,858,863,866],{"path":592,"complexity":827,"lines":828,"bytes":829},453,3372,138511,{"path":831,"complexity":832,"lines":833,"bytes":834},"integrations\u002Fgithub\u002Fmcp.py",362,1486,55018,{"path":836,"complexity":837,"lines":838,"bytes":839},"integrations\u002F_catalog_impl.py",340,2270,93150,{"path":841,"complexity":842,"lines":843,"bytes":844},"integrations\u002Fslack\u002Fweb_client.py",303,916,34124,{"path":846,"complexity":847,"lines":503,"bytes":848},"core\u002Fagent_harness\u002Fturns\u002Faction_driver.py",299,69285,{"path":850,"complexity":851,"lines":852,"bytes":853},"surfaces\u002Fshared\u002Fterminal\u002Fcomponents\u002Finput_form.py",286,944,36301,{"path":855,"complexity":856,"lines":586,"bytes":857},"install.sh",285,50403,{"path":859,"complexity":860,"lines":861,"bytes":862},"gateway\u002Fcore\u002Fprompt_intake\u002Fjobs.py",248,1157,47174,{"path":534,"complexity":860,"lines":864,"bytes":865},1372,51201,{"path":867,"complexity":860,"lines":868,"bytes":869},"tests\u002Fcore\u002Fruntime\u002Fllm\u002Ftest_llm_client.py",2640,91345,{"percentage":871,"findings":872,"files":873,"byCategory":874,"largest":884},4.36,307,3869,[875,877,880,882],{"category":876,"count":733},"unused-file",{"category":878,"count":879},"unused-export",53,{"category":881,"count":750},"unused-symbol",{"category":883,"count":354},"unused-import",[885,886,889,892,895,898,901,904,907,910],{"category":876,"path":534,"name":440,"line":365,"lines":864},{"category":876,"path":887,"name":440,"line":365,"lines":888},"integrations\u002Fgithub\u002Ftools\u002Fsecurity_fix\u002Fcontext.py",774,{"category":876,"path":890,"name":440,"line":365,"lines":891},"integrations\u002Fhosted_gateway\u002Ftools\u002Fgateway_prompt.py",689,{"category":876,"path":893,"name":440,"line":365,"lines":894},"surfaces\u002Fcli\u002Fask\u002Fservice.py",668,{"category":876,"path":896,"name":440,"line":365,"lines":897},"integrations\u002Fgithub\u002Ftools\u002Fci_repair_run\u002Ftool.py",479,{"category":876,"path":899,"name":440,"line":365,"lines":900},"surfaces\u002Fcli\u002Fcommands\u002Fsentry_digest.py",459,{"category":876,"path":902,"name":440,"line":365,"lines":903},"surfaces\u002Fcli\u002Fcommands\u002Fcron.py",422,{"category":876,"path":905,"name":440,"line":365,"lines":906},"tools\u002Finteractive_shell\u002Factions\u002Fpropose_scheduled_delivery.py",419,{"category":876,"path":908,"name":440,"line":365,"lines":909},"docs\u002Fpublic\u002Fradar-chart.js",417,{"category":876,"path":911,"name":440,"line":365,"lines":912},"integrations\u002Fgithub\u002Ftools\u002Fci_health_scan\u002Fscan.py",414,{"\u002Ftrending\u002FTracer-Cloud\u002Fopensre":914},{"views":365,"visits":365},1795510264160]