[{"data":1,"prerenderedAt":892},["ShallowReactive",2],{"navigation_docs":3,"trending-repo-BitterSecurity\u002FDecepticon":249,"page-views-\u002Ftrending\u002FBitterSecurity\u002FDecepticon":890},[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},"BitterSecurity\u002FDecepticon","https:\u002F\u002Fgithub.com\u002FBitterSecurity\u002FDecepticon",[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-12-05",5,7281,28,"6b15092d2e0b41f2ef5af79a16333582cc3fb353",3050,395884,1031,16569,4.19,3.62,689,62.4,"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":349,"code":578,"health":762,"complexity":794,"deadCode":848},"2026-12-05T05:21:39.328Z","Autonomous Hacking Agent for Red Team","Python","main",2096,{"sources":259,"lines":260,"tokens":275,"clones":261,"duplicatedLines":262,"duplicatedTokens":276,"percentage":263,"percentageTokens":277},2736818,109376,4,[279,286,293,300,307,314,321,328,335,342],{"format":280,"sources":281,"lines":282,"clones":283,"duplicatedLines":284,"percentage":285},"python",952,198597,464,6664,3.36,{"format":287,"sources":288,"lines":289,"clones":290,"duplicatedLines":291,"percentage":292},"markdown",816,100871,226,4078,4.04,{"format":294,"sources":295,"lines":296,"clones":297,"duplicatedLines":298,"percentage":299},"json",256,25456,188,4153,16.31,{"format":301,"sources":302,"lines":303,"clones":304,"duplicatedLines":305,"percentage":306},"go",142,22783,39,354,1.55,{"format":308,"sources":309,"lines":310,"clones":311,"duplicatedLines":312,"percentage":313},"txt",9,1318,37,484,36.72,{"format":315,"sources":316,"lines":317,"clones":318,"duplicatedLines":319,"percentage":320},"yaml",251,8568,35,395,4.61,{"format":322,"sources":323,"lines":324,"clones":325,"duplicatedLines":326,"percentage":327},"tsx",47,5182,24,201,3.88,{"format":329,"sources":330,"lines":331,"clones":332,"duplicatedLines":333,"percentage":334},"typescript",102,9500,6,54,0.57,{"format":336,"sources":337,"lines":338,"clones":339,"duplicatedLines":340,"percentage":341},"cypher",15,1598,3,22,1.38,{"format":343,"sources":344,"lines":345,"clones":346,"duplicatedLines":347,"percentage":348},"text",138,3198,2,14,0.44,[350,371,391,436,458,487,498,513,533,558],{"format":308,"lines":351,"tokens":352,"first":353,"others":356,"copies":346,"excerpt":359,"kind":370},59,4066,{"name":354,"start":355,"end":351},"docs\u002Fvalidation\u002Fevidence\u002Fdependency-security-20261102\u002Foss-security-fast-suite.txt",1,[357],{"name":358,"start":355,"end":351},"docs\u002Fvalidation\u002Fevidence\u002Funit-tmux-isolation-20261102\u002Ffull-python.txt",{"lines":360,"total":351},[361,362,363,363,364,365,366,367,368,369],"Waiting for the shared full-build slot.","Build slot acquired.","bringing up nodes...","","........................................................................ [  1%]","........................................................................ [  2%]","........................................................................ [  3%]","........................................................................ [  4%]","........................................................................ [  5%]","docs",{"format":308,"lines":372,"tokens":373,"first":374,"others":377,"copies":346,"excerpt":379,"kind":370},32,2155,{"name":354,"start":375,"end":376},64,95,[378],{"name":358,"start":375,"end":376},{"lines":380,"total":372},[381,382,383,384,385,386,387,388,389,390],"........................................................................ [ 69%]","........................................................................ [ 70%]","........................................................................ [ 71%]","........................................................................ [ 72%]","........................................................................ [ 73%]","........................................................................ [ 75%]","........................................................................ [ 76%]","........................................................................ [ 77%]","........................................................................ [ 78%]","........................................................................ [ 79%]",{"format":280,"lines":392,"tokens":393,"first":394,"others":397,"copies":424,"excerpt":425,"kind":435},8,104,{"name":395,"start":304,"end":396},"packages\u002Fdecepticon\u002Fdecepticon\u002Fagents\u002Fplugins\u002Fdetector.py",46,[398,402,405,407,410,414,418,422],{"name":399,"start":400,"end":401},"packages\u002Fdecepticon\u002Fdecepticon\u002Fagents\u002Fplugins\u002Fexploiter.py",33,40,{"name":403,"start":404,"end":311},"packages\u002Fdecepticon\u002Fdecepticon\u002Fagents\u002Fplugins\u002Fpatcher.py",30,{"name":406,"start":404,"end":311},"packages\u002Fdecepticon\u002Fdecepticon\u002Fagents\u002Fplugins\u002Fscanner.py",{"name":408,"start":318,"end":409},"packages\u002Fdecepticon\u002Fdecepticon\u002Fagents\u002Fplugins\u002Fverifier.py",42,{"name":411,"start":412,"end":413},"packages\u002Fdecepticon\u002Fdecepticon\u002Fagents\u002Fplugins\u002Fvulnresearch.py",38,45,{"name":415,"start":416,"end":417},"packages\u002Fdecepticon\u002Fdecepticon\u002Fagents\u002Fstandard\u002Fad_operator.py",18,25,{"name":419,"start":420,"end":421},"packages\u002Fdecepticon\u002Fdecepticon\u002Fagents\u002Fstandard\u002Fanalyst.py",41,48,{"name":423,"start":416,"end":417},"packages\u002Fdecepticon\u002Fdecepticon\u002Fagents\u002Fstandard\u002Fcloud_hunter.py",16,{"lines":426,"total":392},[427,428,429,430,431,432,433,434],"1. **OSS default**: ``create_detector_agent()`` — no args.","2. **Plugin override** (Docker \u002F pip-installed plugin): authors ship","   ``PluginBundle(...)`` under ``decepticon.bundles``; the factory","   discovers and applies it automatically.","3. **Full custom** (library composer): import building blocks from","   ``decepticon.middleware`` \u002F ``decepticon.tools`` and compose with","   ``langchain.agents.create_agent`` directly. Decepticon's factory","   is bypassed entirely.","code",{"format":280,"lines":416,"tokens":437,"first":438,"others":439,"copies":457,"kind":435},162,{"name":395,"start":340,"end":304},[440,441,443,445,446,449,451,455],{"name":399,"start":424,"end":400},{"name":406,"start":442,"end":404},13,{"name":411,"start":444,"end":412},21,{"name":419,"start":325,"end":420},{"name":447,"start":332,"end":448},"packages\u002Fdecepticon\u002Fdecepticon\u002Fagents\u002Fstandard\u002Fcontract_auditor.py",23,{"name":450,"start":340,"end":304},"packages\u002Fdecepticon\u002Fdecepticon\u002Fagents\u002Fstandard\u002Fdecepticon.py",{"name":452,"start":453,"end":454},"packages\u002Fdecepticon\u002Fdecepticon\u002Fagents\u002Fstandard\u002Fexploit.py",17,34,{"name":456,"start":392,"end":417},"packages\u002Fdecepticon\u002Fdecepticon\u002Fagents\u002Fstandard\u002Frecon.py",10,{"format":280,"lines":459,"tokens":460,"first":461,"others":465,"copies":486,"kind":435},49,214,{"name":462,"start":463,"end":464},"packages\u002Fdecepticon\u002Fdecepticon\u002Fagents\u002Fstandard\u002Fforensicator.py",79,127,[466,470,472,476,480,482],{"name":467,"start":468,"end":469},"packages\u002Fdecepticon\u002Fdecepticon\u002Fagents\u002Fstandard\u002Fics_operator.py",80,128,{"name":471,"start":463,"end":464},"packages\u002Fdecepticon\u002Fdecepticon\u002Fagents\u002Fstandard\u002Fiot_operator.py",{"name":473,"start":474,"end":475},"packages\u002Fdecepticon\u002Fdecepticon\u002Fagents\u002Fstandard\u002Fmobile_operator.py",74,122,{"name":477,"start":478,"end":479},"packages\u002Fdecepticon\u002Fdecepticon\u002Fagents\u002Fstandard\u002Fosint_operator.py",88,136,{"name":481,"start":463,"end":464},"packages\u002Fdecepticon\u002Fdecepticon\u002Fagents\u002Fstandard\u002Fsupply_chain_operator.py",{"name":483,"start":484,"end":485},"packages\u002Fdecepticon\u002Fdecepticon\u002Fagents\u002Fstandard\u002Fwireless_operator.py",85,133,7,{"format":287,"lines":488,"tokens":489,"first":490,"others":494,"copies":346,"kind":370},112,1213,{"name":491,"start":492,"end":493},"packages\u002Fdecepticon\u002Fdecepticon\u002Fworkflows\u002Fcatalog\u002Fbug-bounty-v1\u002FWORKFLOW.md",107,218,[495],{"name":496,"start":469,"end":497},"packages\u002Fdecepticon\u002Fdecepticon\u002Fworkflows\u002Fcatalog\u002Fbug-bounty\u002FWORKFLOW.md",239,{"format":287,"lines":444,"tokens":499,"first":500,"others":502,"copies":255,"kind":370},241,{"name":491,"start":318,"end":501},55,[503,506,508,511],{"name":496,"start":504,"end":505},36,56,{"name":507,"start":504,"end":505},"packages\u002Fdecepticon\u002Fdecepticon\u002Fworkflows\u002Fcatalog\u002Fpentest\u002FWORKFLOW.md",{"name":509,"start":311,"end":510},"packages\u002Fdecepticon\u002Fdecepticon\u002Fworkflows\u002Fcatalog\u002Fred-team\u002FWORKFLOW.md",57,{"name":512,"start":504,"end":505},"packages\u002Fdecepticon\u002Fdecepticon\u002Fworkflows\u002Fcatalog\u002Fvulnerability-research\u002FWORKFLOW.md",{"format":280,"lines":424,"tokens":514,"first":515,"others":518,"copies":486,"kind":435},158,{"name":399,"start":516,"end":517},119,134,[519,520,523,526,528,530],{"name":403,"start":492,"end":475},{"name":406,"start":521,"end":522},120,135,{"name":408,"start":524,"end":525},116,131,{"name":452,"start":527,"end":479},121,{"name":529,"start":492,"end":475},"packages\u002Fdecepticon\u002Fdecepticon\u002Fagents\u002Fstandard\u002Fpostexploit.py",{"name":456,"start":531,"end":532},109,124,{"format":315,"lines":486,"tokens":484,"first":534,"others":536,"copies":556,"kind":557},{"name":535,"start":337,"end":444},"benchmark\u002Fdreadgoad\u002Fconfigs\u002Fapt10.yaml",[537,539,542,544,546,550,552,554],{"name":538,"start":453,"end":448},"benchmark\u002Fdreadgoad\u002Fconfigs\u002Fapt28.yaml",{"name":540,"start":541,"end":417},"benchmark\u002Fdreadgoad\u002Fconfigs\u002Fapt29.yaml",19,{"name":543,"start":337,"end":444},"benchmark\u002Fdreadgoad\u002Fconfigs\u002Fapt36.yaml",{"name":545,"start":337,"end":444},"benchmark\u002Fdreadgoad\u002Fconfigs\u002Fapt41.yaml",{"name":547,"start":548,"end":549},"benchmark\u002Fdreadgoad\u002Fconfigs\u002Fapt44.yaml",20,26,{"name":551,"start":337,"end":444},"benchmark\u002Fdreadgoad\u002Fconfigs\u002Fkimsuky.yaml",{"name":553,"start":337,"end":444},"benchmark\u002Fdreadgoad\u002Fconfigs\u002Flazarus.yaml",{"name":555,"start":337,"end":444},"benchmark\u002Fdreadgoad\u002Fconfigs\u002Fmuddywater.yaml",12,"data",{"format":287,"lines":392,"tokens":351,"first":559,"others":561,"copies":424,"kind":370},{"name":560,"start":556,"end":541},"packages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fad\u002Fspecialist-methods\u002FSKILL.md",[562,564,566,568,570,572,574,576],{"name":563,"start":556,"end":541},"packages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fanalyst\u002Fspecialist-methods\u002FSKILL.md",{"name":565,"start":556,"end":541},"packages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fcloud\u002Fspecialist-methods\u002FSKILL.md",{"name":567,"start":556,"end":541},"packages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fcontracts\u002Fspecialist-methods\u002FSKILL.md",{"name":569,"start":556,"end":541},"packages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fdfir\u002Fspecialist-methods\u002FSKILL.md",{"name":571,"start":556,"end":541},"packages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fexploit\u002Fspecialist-methods\u002FSKILL.md",{"name":573,"start":556,"end":541},"packages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fics\u002Fspecialist-methods\u002FSKILL.md",{"name":575,"start":556,"end":541},"packages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fiot\u002Fspecialist-methods\u002FSKILL.md",{"name":577,"start":556,"end":541},"packages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fmobile\u002Fspecialist-methods\u002FSKILL.md",{"sources":265,"lines":579,"tokens":580,"clones":581,"duplicatedLines":582,"duplicatedTokens":583,"percentage":264,"percentageTokens":584,"formats":585,"topClones":617,"generated":759},137324,783524,309,4970,30269,3.86,[586,592,597,601,604,608,612,615],{"format":280,"sources":587,"lines":588,"clones":589,"duplicatedLines":590,"percentage":591},494,111016,289,4702,4.24,{"format":301,"sources":468,"lines":593,"clones":594,"duplicatedLines":595,"percentage":596},14158,11,99,0.7,{"format":329,"sources":598,"lines":599,"clones":255,"duplicatedLines":413,"percentage":600},69,7362,0.61,{"format":322,"sources":454,"lines":602,"clones":346,"duplicatedLines":556,"percentage":603},3032,0.4,{"format":605,"sources":277,"lines":606,"clones":346,"duplicatedLines":488,"percentage":607},"javascript",469,23.88,{"format":609,"sources":332,"lines":610,"clones":611,"duplicatedLines":611,"percentage":611},"bash",954,0,{"format":613,"sources":355,"lines":614,"clones":611,"duplicatedLines":611,"percentage":611},"powershell",212,{"format":616,"sources":355,"lines":527,"clones":611,"duplicatedLines":611,"percentage":611},"rust",[618,631,652,672,681,691,712,720,731,746],{"format":280,"lines":392,"tokens":393,"first":619,"others":620,"copies":424,"excerpt":629,"kind":435},{"name":395,"start":304,"end":396},[621,622,623,624,625,626,627,628],{"name":399,"start":400,"end":401},{"name":403,"start":404,"end":311},{"name":406,"start":404,"end":311},{"name":408,"start":318,"end":409},{"name":411,"start":412,"end":413},{"name":415,"start":416,"end":417},{"name":419,"start":420,"end":421},{"name":423,"start":416,"end":417},{"lines":630,"total":392},[427,428,429,430,431,432,433,434],{"format":280,"lines":416,"tokens":437,"first":632,"others":633,"copies":457,"excerpt":642,"kind":435},{"name":395,"start":340,"end":304},[634,635,636,637,638,639,640,641],{"name":399,"start":424,"end":400},{"name":406,"start":442,"end":404},{"name":411,"start":444,"end":412},{"name":419,"start":325,"end":420},{"name":447,"start":332,"end":448},{"name":450,"start":340,"end":304},{"name":452,"start":453,"end":454},{"name":456,"start":392,"end":417},{"lines":643,"total":416},[644,364,645,646,647,648,649,364,650,651],"SLOTS_PER_ROLE — ``detector`` maps to ``_BASE_SLOTS`` only).","Library API","-----------","Factory shape mirrors ``langchain.agents.create_agent`` \u002F","``deepagents.create_deep_agent`` — every keyword is optional, and","explicit values fully replace the OSS baseline:","  - ``tools=[...]``         full tool list (overrides the standard set)","  - ``middleware=[...]``    full middleware list (overrides the slot stack)",{"format":280,"lines":459,"tokens":460,"first":653,"others":654,"copies":486,"excerpt":661,"kind":435},{"name":462,"start":463,"end":464},[655,656,657,658,659,660],{"name":467,"start":468,"end":469},{"name":471,"start":463,"end":464},{"name":473,"start":474,"end":475},{"name":477,"start":478,"end":479},{"name":481,"start":463,"end":464},{"name":483,"start":484,"end":485},{"lines":662,"total":459},[663,664,665,666,667,668,669,364,670,671],"\"\"\"Build the Forensicator agent.\"\"\"","if llm is None or fallback_models is None:","    factory = LLMFactory()","    if llm is None:","        llm = factory.get_model(_ROLE)","    if fallback_models is None:","        fallback_models = factory.get_fallback_models(_ROLE)","if sandbox is None:","    sandbox = build_sandbox_backend()",{"format":280,"lines":424,"tokens":514,"first":673,"others":674,"copies":486,"kind":435},{"name":399,"start":516,"end":517},[675,676,677,678,679,680],{"name":403,"start":492,"end":475},{"name":406,"start":521,"end":522},{"name":408,"start":524,"end":525},{"name":452,"start":527,"end":479},{"name":529,"start":492,"end":475},{"name":456,"start":531,"end":532},{"format":280,"lines":424,"tokens":682,"first":683,"others":684,"copies":332,"kind":435},161,{"name":395,"start":325,"end":304},[685,686,687,688,689],{"name":403,"start":337,"end":404},{"name":408,"start":548,"end":318},{"name":415,"start":339,"end":416},{"name":423,"start":339,"end":416},{"name":690,"start":594,"end":549},"packages\u002Fdecepticon\u002Fdecepticon\u002Fagents\u002Fstandard\u002Fsoundwave.py",{"format":280,"lines":337,"tokens":692,"first":693,"others":696,"copies":556,"kind":435},73,{"name":399,"start":694,"end":695},97,111,[697,698,699,702,705,706,709,710],{"name":403,"start":484,"end":595},{"name":406,"start":478,"end":330},{"name":408,"start":700,"end":701},94,108,{"name":415,"start":703,"end":704},87,101,{"name":419,"start":694,"end":695},{"name":423,"start":707,"end":708},75,89,{"name":447,"start":703,"end":704},{"name":452,"start":595,"end":711},113,{"format":605,"lines":376,"tokens":713,"first":714,"others":716,"copies":346,"kind":435},781,{"name":715,"start":347,"end":701},"packages\u002Fdecepticon\u002Fdecepticon_sandbox\u002Fweb\u002Ftemplates\u002Fplaywright_mobile_chrome.js",[717],{"name":718,"start":541,"end":719},"packages\u002Fdecepticon\u002Fdecepticon_sandbox\u002Fweb\u002Ftemplates\u002Fplaywright_real_chrome.js",117,{"format":280,"lines":721,"tokens":722,"first":723,"others":726,"copies":346,"kind":435},125,774,{"name":724,"start":319,"end":725},"config\u002Fcopilot_handler.py",519,[727],{"name":728,"start":729,"end":730},"config\u002Fgrok_handler.py",257,381,{"format":280,"lines":332,"tokens":510,"first":732,"others":733,"copies":442,"kind":435},{"name":399,"start":311,"end":409},[734,735,736,738,740,742,743,744],{"name":403,"start":454,"end":304},{"name":406,"start":454,"end":304},{"name":408,"start":304,"end":737},44,{"name":415,"start":340,"end":739},27,{"name":419,"start":413,"end":741},50,{"name":423,"start":340,"end":739},{"name":447,"start":739,"end":372},{"name":452,"start":412,"end":745},43,{"format":280,"lines":747,"tokens":748,"first":749,"others":751,"copies":277,"kind":435},51,213,{"name":399,"start":479,"end":750},186,[752,754,757],{"name":403,"start":532,"end":753},174,{"name":406,"start":755,"end":756},137,187,{"name":408,"start":485,"end":758},183,{"files":355,"minified":611,"sample":760},[761],"packages\u002Fdecepticon\u002Ftests\u002Funit\u002Fad\u002Ftest_bhce_client.py",{"score":266,"grade":267,"size":763,"dimensions":767},{"lines":764,"files":765,"class":766},237761,1211,"L",[768,780,788],{"id":769,"source":770,"value":771,"adjusted":771,"lines":772,"halfLife":773,"formats":774,"excluded":777,"weight":355,"score":779},"duplication","jscpd",3.1,7393,8.5,[280,301,329,322,336,616,609,775,605,776,613],"docker","makefile",[778,343,557],"markup",77.6,{"id":781,"source":770,"value":782,"adjusted":782,"lines":783,"halfLife":784,"coverage":785,"weight":786,"score":787},"dead-code",6.1,12907,7.5,88.7,0.887,56.9,{"id":789,"source":770,"value":790,"adjusted":791,"lines":792,"halfLife":741,"weight":355,"score":793},"complexity",43.9,43.7,104439,54.5,{"total":795,"mean":796,"files":797},35453,29.3,[798,803,808,813,818,823,828,833,838,843],{"path":799,"complexity":800,"lines":801,"bytes":802},"clients\u002Fcli\u002Fsrc\u002Fhooks\u002FuseAgent.test.tsx",435,1271,67447,{"path":804,"complexity":805,"lines":806,"bytes":807},"packages\u002Fdecepticon\u002Fdecepticon\u002Ftools\u002Fresearch\u002Ftools.py",427,2660,96515,{"path":809,"complexity":810,"lines":811,"bytes":812},"clients\u002Fcli\u002Fsrc\u002Fhooks\u002FuseAgent.ts",376,1403,58100,{"path":814,"complexity":815,"lines":816,"bytes":817},"packages\u002Fdecepticon\u002Fdecepticon\u002Ftools\u002Fopplan.py",358,1528,63402,{"path":819,"complexity":820,"lines":821,"bytes":822},"packages\u002Fdecepticon\u002Fdecepticon\u002Fllm\u002Ffactory.py",347,2078,91978,{"path":824,"complexity":825,"lines":826,"bytes":827},"config\u002Fcodex_chatgpt_handler.py",253,934,37640,{"path":829,"complexity":830,"lines":831,"bytes":832},"packages\u002Fdecepticon\u002Fdecepticon\u002Ftools\u002Fad\u002Fbloodhound.py",245,1229,49232,{"path":834,"complexity":835,"lines":836,"bytes":837},"config\u002Fclaude_code_handler.py",237,1262,51156,{"path":839,"complexity":840,"lines":841,"bytes":842},"clients\u002Flauncher\u002Finternal\u002Fengagement\u002Fpicker.go",209,1030,35004,{"path":844,"complexity":845,"lines":846,"bytes":847},"clients\u002Fcli\u002Fsrc\u002Fcomponents\u002FPrompt.tsx",203,242,14829,{"percentage":849,"findings":850,"files":851,"byCategory":852,"largest":861},6.12,157,1107,[853,855,857,859],{"category":854,"count":521},"unused-file",{"category":856,"count":457},"unused-export",{"category":858,"count":548},"unused-symbol",{"category":860,"count":486},"unused-import",[862,863,866,869,872,875,878,881,884,887],{"category":854,"path":809,"name":364,"line":355,"lines":811},{"category":854,"path":864,"name":364,"line":355,"lines":865},"clients\u002Fcli\u002Fsrc\u002Fcommands\u002FconfiguredModelRoutes.ts",702,{"category":854,"path":867,"name":364,"line":355,"lines":868},"clients\u002Fcli\u002Fsrc\u002Fcommands\u002Fblue.ts",467,{"category":854,"path":870,"name":364,"line":355,"lines":871},"packages\u002Fdecepticon\u002Fdecepticon_sandbox\u002Fbrowser\u002Fproviders\u002Fobscura.py",456,{"category":854,"path":873,"name":364,"line":355,"lines":874},"packages\u002Fdecepticon\u002Fdecepticon\u002Fmiddleware\u002F_command_targets.py",441,{"category":854,"path":876,"name":364,"line":355,"lines":877},"clients\u002Fcli\u002Fsrc\u002Fscreens\u002FREPL.tsx",389,{"category":854,"path":879,"name":364,"line":355,"lines":880},"packages\u002Fdecepticon\u002Fdecepticon\u002Ftools\u002Fresearch\u002Fbounty.py",357,{"category":854,"path":882,"name":364,"line":355,"lines":883},"packages\u002Fdecepticon\u002Fdecepticon\u002Fserver\u002Fplugins_api.py",285,{"category":854,"path":885,"name":364,"line":355,"lines":886},"clients\u002Fcli\u002Fsrc\u002Fcomponents\u002Fmessages\u002FToolCallMessage.tsx",278,{"category":854,"path":888,"name":364,"line":355,"lines":889},"clients\u002Fcli\u002Fsrc\u002Fcommands\u002Fmodel.ts",271,{"\u002Ftrending\u002FBitterSecurity\u002FDecepticon":891},{"views":355,"visits":611},1796489471197]