[{"data":1,"prerenderedAt":818},["ShallowReactive",2],{"navigation_docs":3,"trending-repo-cloudflare\u002Fcloudflare-os":249,"page-views-\u002Ftrending\u002Fcloudflare\u002Fcloudflare-os":816},[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":282},"cloudflare\u002Fcloudflare-os","https:\u002F\u002Fgithub.com\u002Fcloudflare\u002Fcloudflare-os",[253,268],{"date":254,"rank":255,"stars":256,"starsToday":257,"headSha":258,"sources":259,"lines":260,"clones":261,"duplicatedLines":262,"percentage":263,"codePercentage":264,"codeSources":265,"healthScore":266,"healthGrade":267},"2026-10-04",4,10651,85,"5cae880e5e54563895a067e7f4dae67514e581be",1272,657845,1333,292899,44.52,2.15,638,17.9,"E",{"date":269,"rank":270,"stars":271,"starsToday":272,"headSha":273,"sources":274,"lines":275,"clones":276,"duplicatedLines":277,"percentage":278,"codePercentage":279,"codeSources":280,"healthScore":281,"healthGrade":267},"2026-10-06",7,11086,101,"b304e8c25497b7de3e976daebce3cfc015bbd605",1301,674278,1382,293312,43.5,2.05,647,18.4,{"date":269,"generatedAt":283,"name":250,"url":251,"description":284,"language":285,"stars":271,"starsToday":272,"defaultBranch":286,"headSha":273,"durationMs":287,"total":288,"formats":292,"topClones":352,"health":499,"complexity":529,"deadCode":583,"code":624,"measuredAt":814,"jscpdVersion":815},"2026-10-06T05:31:17.340Z","Agent workspace built on Cloudflare Workers for creating documents, building apps, and running agents with your company’s context and systems.","TypeScript","main",2224,{"sources":274,"lines":275,"tokens":289,"clones":276,"duplicatedLines":277,"duplicatedTokens":290,"percentage":278,"percentageTokens":291},3466708,905502,26.12,[293,300,307,314,321,328,335,340,345,348],{"format":294,"sources":295,"lines":296,"clones":297,"duplicatedLines":298,"percentage":299},"typescript",875,579730,1119,290278,50.07,{"format":301,"sources":302,"lines":303,"clones":304,"duplicatedLines":305,"percentage":306},"tsx",240,66765,196,1934,2.9,{"format":308,"sources":309,"lines":310,"clones":311,"duplicatedLines":312,"percentage":313},"json",69,3006,39,679,22.59,{"format":315,"sources":316,"lines":317,"clones":318,"duplicatedLines":319,"percentage":320},"css",8,1908,13,259,13.57,{"format":322,"sources":323,"lines":324,"clones":325,"duplicatedLines":326,"percentage":327},"yaml",14,1643,12,137,8.34,{"format":329,"sources":330,"lines":331,"clones":332,"duplicatedLines":333,"percentage":334},"markdown",60,19958,2,18,0.09,{"format":336,"sources":318,"lines":337,"clones":338,"duplicatedLines":270,"percentage":339},"text",187,1,3.74,{"format":341,"sources":342,"lines":343,"clones":344,"duplicatedLines":344,"percentage":344},"bash",11,659,0,{"format":346,"sources":338,"lines":347,"clones":344,"duplicatedLines":344,"percentage":344},"perl",174,{"format":349,"sources":350,"lines":351,"clones":344,"duplicatedLines":344,"percentage":344},"markup",6,116,[353,389,417,433,442,451,460,469,478,486],{"format":294,"lines":354,"tokens":355,"first":356,"others":360,"copies":342,"excerpt":377,"kind":388},15362,44685,{"name":357,"start":358,"end":359},"packages\u002Fgatekeeper-cloudflare\u002Fworker-configuration.d.ts",9,15370,[361,363,365,367,369,371,373,375],{"name":362,"start":358,"end":359},"packages\u002Fgatekeeper-confluence\u002Fworker-configuration.d.ts",{"name":364,"start":358,"end":359},"packages\u002Fgatekeeper-email\u002Fworker-configuration.d.ts",{"name":366,"start":358,"end":359},"packages\u002Fgatekeeper-github\u002Fworker-configuration.d.ts",{"name":368,"start":358,"end":359},"packages\u002Fgatekeeper-google\u002Fworker-configuration.d.ts",{"name":370,"start":358,"end":359},"packages\u002Fgatekeeper-linear\u002Fworker-configuration.d.ts",{"name":372,"start":358,"end":359},"packages\u002Fgatekeeper-notion\u002Fworker-configuration.d.ts",{"name":374,"start":358,"end":359},"packages\u002Fgatekeeper-slack\u002Fworker-configuration.d.ts",{"name":376,"start":358,"end":359},"packages\u002Fgatekeeper-spotify\u002Fworker-configuration.d.ts",{"lines":378,"total":354},[379,380,381,382,383,384,385,386,382,387],"        durableNamespaces: \"UserAccount\" | \"CloudflareObservabilityGatekeeper\";","    }","    interface Env extends __BaseEnv_Env {}","}","interface Env extends __BaseEnv_Env {}","declare module \"*.txt\" {","    const value: string;","    export default value;","declare module \"*.svg\" {","generated",{"format":294,"lines":390,"tokens":391,"first":392,"others":393,"copies":404,"excerpt":405,"kind":388},15332,44642,{"name":357,"start":311,"end":359},[394,398,400,402],{"name":395,"start":396,"end":397},"packages\u002Fgatekeeper-context\u002Fworker-configuration.d.ts",20,15351,{"name":399,"start":396,"end":397},"packages\u002Fgatekeeper-mcp-portal\u002Fworker-configuration.d.ts",{"name":401,"start":396,"end":397},"packages\u002Fgatekeeper-mcp\u002Fworker-configuration.d.ts",{"name":403,"start":396,"end":397},"packages\u002Fmcp-shared\u002Fworker-configuration.d.ts",5,{"lines":406,"total":390},[407,408,409,410,411,412,413,414,415,416],"declare var onmessage: never;","\u002F**"," * The **`DOMException`** interface represents an abnormal event (called an exception) that occurs as a result of calling a method or accessing a property of a…"," *"," * [MDN Reference](https:\u002F\u002Fdeveloper.mozilla.org\u002Fdocs\u002FWeb\u002FAPI\u002FDOMException)"," *\u002F","declare class DOMException extends Error {","    constructor(message?: string, name?: string);","    \u002F**","     * The **`message`** read-only property of the DOMException interface returns a string representing a message or description associated with the given erro…",{"format":294,"lines":418,"tokens":419,"first":420,"others":421,"copies":332,"excerpt":425,"kind":388},15353,44653,{"name":357,"start":333,"end":359},[422],{"name":423,"start":323,"end":424},"packages\u002Fgatekeeper-scheduler\u002Fworker-configuration.d.ts",15366,{"lines":426,"total":418},[387,385,386,382,427,428,429,430,431,432],"\u002F\u002F Begin runtime types","\u002F*! *****************************************************************************","Copyright (c) Cloudflare. All rights reserved.","Copyright (c) Microsoft Corporation. All rights reserved.","","Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use",{"format":294,"lines":434,"tokens":435,"first":436,"others":438,"copies":332,"kind":388},15350,44643,{"name":357,"start":437,"end":359},21,[439],{"name":440,"start":318,"end":441},"packages\u002Fgatekeeper-homeassistant\u002Fworker-configuration.d.ts",15363,{"format":294,"lines":443,"tokens":444,"first":445,"others":447,"copies":332,"kind":388},14816,41703,{"name":357,"start":446,"end":359},555,[448],{"name":449,"start":450,"end":354},"packages\u002Frouter\u002Fworker-configuration.d.ts",547,{"format":294,"lines":452,"tokens":453,"first":454,"others":456,"copies":332,"kind":388},13809,41196,{"name":440,"start":358,"end":455},13817,[457],{"name":458,"start":323,"end":459},"packages\u002Fworkshop-backend\u002Fworker-configuration.d.ts",13822,{"format":294,"lines":461,"tokens":462,"first":463,"others":465,"copies":332,"kind":388},1547,3462,{"name":357,"start":464,"end":359},13824,[466],{"name":458,"start":467,"end":468},13826,15372,{"format":294,"lines":470,"tokens":471,"first":472,"others":474,"copies":332,"kind":388},430,1885,{"name":440,"start":358,"end":473},438,[475],{"name":449,"start":476,"end":477},10,439,{"format":294,"lines":479,"tokens":480,"first":481,"others":484,"copies":332,"kind":388},109,1047,{"name":357,"start":482,"end":483},446,554,[485],{"name":449,"start":477,"end":450},{"format":315,"lines":487,"tokens":488,"first":489,"others":493,"copies":332,"kind":498},74,1042,{"name":490,"start":491,"end":492},"packages\u002Fgatekeeper-context\u002Fapp\u002Fstyles.css",145,218,[494],{"name":495,"start":496,"end":497},"packages\u002Fworkshop-frontend\u002Fsrc\u002Fstyles.css",146,219,"styles",{"score":281,"grade":267,"size":500,"dimensions":504},{"lines":501,"files":502,"class":503},646117,1108,"L",[505,516,522],{"id":506,"source":507,"value":508,"adjusted":509,"lines":510,"halfLife":511,"formats":512,"excluded":513,"weight":338,"score":515},"duplication","jscpd",45.2,45.1,292076,8.5,[294,301,341,346],[349,336,514],"data",2.5,{"id":517,"source":507,"value":518,"adjusted":515,"lines":519,"halfLife":520,"weight":338,"score":521},"dead-code",2.4,15833,7.5,79.7,{"id":523,"source":507,"value":524,"adjusted":525,"lines":526,"halfLife":527,"weight":338,"score":528},"complexity",84.5,84.3,545713,50,31.1,{"total":530,"mean":531,"files":532},64573,58.3,[533,538,543,548,553,558,563,568,573,578],{"path":534,"complexity":535,"lines":536,"bytes":537},"packages\u002Fworkshop-backend\u002Fsrc\u002Foverseer.ts",1955,12669,609634,{"path":539,"complexity":540,"lines":541,"bytes":542},"packages\u002Fworkshop-frontend\u002Fsrc\u002FChatInterface.tsx",1485,6693,288618,{"path":544,"complexity":545,"lines":546,"bytes":547},"packages\u002Fbundled-blueprints\u002Fblueprints\u002Fworkspace-sheets\u002Ffiles\u002Fclient.ts",1319,2553,133457,{"path":549,"complexity":550,"lines":551,"bytes":552},"packages\u002Fgatekeeper-google\u002F__tests__\u002Fworkerd\u002Fgmail-actions.test.ts",1247,6464,273258,{"path":554,"complexity":555,"lines":556,"bytes":557},"packages\u002Fgatekeeper-google\u002Fsrc\u002Fgmail.ts",1231,4764,203313,{"path":559,"complexity":560,"lines":561,"bytes":562},"packages\u002Fgatekeeper-github\u002Fsrc\u002Fgithub.ts",1115,5794,231558,{"path":564,"complexity":565,"lines":566,"bytes":567},"packages\u002Fgatekeeper-google\u002Fsrc\u002Fgoogle-api.ts",929,3224,125861,{"path":569,"complexity":570,"lines":571,"bytes":572},"packages\u002Fbundled-blueprints\u002Fblueprints\u002Fworkspace-slides\u002Ffiles\u002Fclient.ts",802,4103,156037,{"path":574,"complexity":575,"lines":576,"bytes":577},"packages\u002Fgatekeeper-google\u002Fsrc\u002Fmarkdown-converter.ts",790,2512,93420,{"path":579,"complexity":580,"lines":581,"bytes":582},"packages\u002Fgatekeeper-spotify\u002Fsrc\u002Fspotify.ts",643,2622,112299,{"percentage":584,"findings":585,"files":586,"byCategory":587,"largest":595},2.45,93,1219,[588,591,593],{"category":589,"count":590},"unused-file",75,{"category":592,"count":342},"unused-export",{"category":594,"count":270},"unused-symbol",[596,598,600,603,606,609,612,615,618,621],{"category":589,"path":569,"name":431,"line":338,"lines":597},4104,{"category":589,"path":544,"name":431,"line":338,"lines":599},2554,{"category":589,"path":601,"name":431,"line":338,"lines":602},"packages\u002Fbundled-blueprints\u002Fblueprints\u002Fworkspace-docs\u002Ffiles\u002Fclient.ts",1621,{"category":589,"path":604,"name":431,"line":338,"lines":605},"packages\u002Fworkshop-evals\u002Fevals\u002Fchess.eval.ts",796,{"category":589,"path":607,"name":431,"line":338,"lines":608},"packages\u002Fworkshop-evals\u002Fevals\u002Fchange-calendar.eval.ts",634,{"category":589,"path":610,"name":431,"line":338,"lines":611},"packages\u002Fworkshop-evals\u002Fevals\u002Fincident-desk.eval.ts",599,{"category":589,"path":613,"name":431,"line":338,"lines":614},"packages\u002Fworkshop-evals\u002Fevals\u002Fworker-logs.eval.ts",583,{"category":589,"path":616,"name":431,"line":338,"lines":617},"packages\u002Fworkshop-evals\u002Fsrc\u002Fharness.ts",276,{"category":589,"path":619,"name":431,"line":338,"lines":620},"packages\u002Fworkshop-evals\u002Fsrc\u002Ftarget.ts",268,{"category":589,"path":622,"name":431,"line":338,"lines":623},"packages\u002Fbundled-blueprints\u002Flibraries\u002Fui\u002Fsrc\u002Ftoolbar.ts",188,{"sources":280,"lines":625,"tokens":626,"clones":627,"duplicatedLines":628,"duplicatedTokens":629,"percentage":279,"percentageTokens":630,"formats":631,"topClones":647,"generated":810},216720,1209039,351,4435,27880,2.31,[632,638,644,646],{"format":294,"sources":633,"lines":634,"clones":635,"duplicatedLines":636,"percentage":637},452,166670,306,3907,2.34,{"format":301,"sources":639,"lines":640,"clones":641,"duplicatedLines":642,"percentage":643},185,49232,45,528,1.07,{"format":341,"sources":358,"lines":645,"clones":344,"duplicatedLines":344,"percentage":344},644,{"format":346,"sources":338,"lines":347,"clones":344,"duplicatedLines":344,"percentage":344},[648,671,692,723,738,760,770,780,791,799],{"format":294,"lines":649,"tokens":650,"first":651,"others":655,"copies":332,"excerpt":659,"kind":670},48,368,{"name":652,"start":653,"end":654},"packages\u002Fgatekeeper-linear\u002Fsrc\u002Flinear.ts",529,576,[656],{"name":579,"start":657,"end":658},511,558,{"lines":660,"total":649},[661,662,663,664,665,666,667,668,669,382],"  if (!this.ctx.storage.kv.get\u003CLinearOAuthGrant>(\"grant\")) {","    await this.ctx.storage.setAlarm(Date.now() + CONNECT_TIMEOUT_MS);","  }","  this.ctx.storage.kv.put(\"callback\", callback);","  this.ctx.storage.kv.put\u003CStoredNonce>(\"nonce\", {","    value: initiationNonce,","    expiresAt: Date.now() + INITIATION_NONCE_LIFETIME_MS,","    stage: \"initiation\",","  });","code",{"format":294,"lines":649,"tokens":672,"first":673,"others":677,"copies":332,"excerpt":682,"excerptSecond":688,"kind":670},362,{"name":674,"start":675,"end":676},"packages\u002Fgatekeeper-confluence\u002Fsrc\u002Fconfluence.ts",284,331,[678],{"name":679,"start":680,"end":681},"packages\u002Fgatekeeper-notion\u002Fsrc\u002Fnotion.ts",327,381,{"lines":683,"total":649},[684,685,663,664,665,686,669,382,431,687],"  if (!this.ctx.storage.kv.get\u003CStoredGrant>(\"grant\")) {","    this.ctx.storage.setAlarm(Date.now() + CONNECT_TIMEOUT_MS);","    value: initiationNonce, expiresAt: Date.now() + INITIATION_NONCE_LIFETIME_MS, stage: \"initiation\",","async prepareReconnect(initiationNonce: string) {",{"lines":689,"total":691},[690,685,663,664,665,666,667,668,669,382],"  if (!this.ctx.storage.kv.get\u003Cstring>(\"accessToken\")) {",55,{"format":294,"lines":693,"tokens":694,"first":695,"others":698,"copies":706,"excerpt":707,"excerptSecond":717,"kind":670},27,150,{"name":674,"start":696,"end":697},257,283,[699,702],{"name":579,"start":700,"end":701},483,510,{"name":703,"start":704,"end":705},"packages\u002Fgatekeeper-zoominfo\u002Fsrc\u002Fzoominfo.ts",354,382,3,{"lines":708,"total":693},[709,710,382,431,711,712,713,714,715,716],"      \"knowledge bases, or keep pages up to date.\",","  };","async connectAccount(","  callback: Fetcher\u003CGatekeeperConnectCallback>, _options?: GatekeeperConnectOptions,","): Promise\u003C{ url: string }> {","  const userObjectId = this.ctx.exports.UserAccount.newUniqueId();","  const initiationNonce = generateNonce();","  await this.ctx.exports.UserAccount.get(userObjectId).setCallback(callback, initiationNonce);",{"lines":718,"total":722},[719,710,382,431,711,720,721,713,714,715],"      \"or scope a Gadget to a single playlist.\",","  callback: Fetcher\u003CGatekeeperConnectCallback>,","  _options?: GatekeeperConnectOptions,",28,{"format":294,"lines":724,"tokens":725,"first":726,"others":729,"copies":706,"kind":670},16,132,{"name":727,"start":694,"end":728},"packages\u002Fgatekeeper-email\u002Fsrc\u002Femail.ts",165,[730,734],{"name":731,"start":732,"end":733},"packages\u002Fgatekeeper-google\u002Fsrc\u002Fgoogle.ts",212,225,{"name":735,"start":736,"end":737},"packages\u002Fgatekeeper-slack\u002Fsrc\u002Fslack.ts",215,229,{"format":294,"lines":476,"tokens":739,"first":740,"others":744,"copies":350,"kind":670},52,{"name":741,"start":742,"end":743},"packages\u002Fgatekeeper-cloudflare\u002Fsrc\u002Fcloudflare.ts",281,290,[745,748,751,754,757],{"name":674,"start":746,"end":747},315,324,{"name":559,"start":749,"end":750},1475,1484,{"name":652,"start":752,"end":753},563,572,{"name":755,"start":477,"end":756},"packages\u002Fgatekeeper-supabase\u002Fsrc\u002Fsupabase.ts",448,{"name":703,"start":758,"end":759},426,435,{"format":294,"lines":761,"tokens":762,"first":763,"others":766,"copies":332,"kind":670},24,252,{"name":554,"start":764,"end":765},1387,1410,[767],{"name":554,"start":768,"end":769},1418,1441,{"format":294,"lines":771,"tokens":772,"first":773,"others":776,"copies":332,"kind":670},31,244,{"name":579,"start":774,"end":775},394,424,[777],{"name":703,"start":778,"end":779},261,291,{"format":294,"lines":333,"tokens":351,"first":781,"others":784,"copies":706,"kind":670},{"name":741,"start":782,"end":783},163,180,[785,788],{"name":652,"start":786,"end":787},462,482,{"name":579,"start":789,"end":790},455,475,{"format":294,"lines":792,"tokens":497,"first":793,"others":796,"copies":332,"kind":670},36,{"name":579,"start":794,"end":795},497,532,[797],{"name":703,"start":650,"end":798},409,{"format":294,"lines":800,"tokens":479,"first":801,"others":803,"copies":706,"kind":670},23,{"name":579,"start":802,"end":790},453,[804,807],{"name":755,"start":805,"end":806},343,365,{"name":703,"start":808,"end":809},323,345,{"files":332,"minified":344,"sample":811},[812,813],"packages\u002Fworkshop-backend\u002Fsrc\u002Fenv.d.ts","packages\u002Fworkshop-frontend\u002Fsrc\u002FrouteTree.gen.ts","2026-10-07T05:28:28.252Z","5.4.0",{"\u002Ftrending\u002Fcloudflare\u002Fcloudflare-os":817},{"views":255,"visits":255},1795510256334]