@claudiolabs/claudin 0.6.0 → 0.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/AgentTool-0.6.2-he5a0dam.mjs +1 -0
- package/dist/chunks/App-0.6.2-81hq55t1.mjs +1 -0
- package/dist/chunks/ApproveApiKey-0.6.2-08hjmc7a.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-0.6.2-0r37ejyw.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-0.6.2-k5q2wq69.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-0.6.2-q2vnf20c.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.2-nsje6vp4.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-0.6.2-0td2rsrs.mjs +1 -0
- package/dist/chunks/DiffDialog-0.6.2-6yg14gsy.mjs +3 -0
- package/dist/chunks/Doctor-0.6.2-3wbjtm02.mjs +1 -0
- package/dist/chunks/Grove-0.6.2-baqbhjjj.mjs +1 -0
- package/dist/chunks/ITermBackend-0.6.2-zmtwee85.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-0.6.2-yxzmem78.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-0.6.2-fp9sq2qx.mjs +1 -0
- package/dist/chunks/MigrationDialog-0.6.2-yvf4s2y6.mjs +1 -0
- package/dist/chunks/Onboarding-0.6.2-y1rgs60d.mjs +1 -0
- package/dist/chunks/ProviderManager-0.6.2-cp0pxj1c.mjs +1 -0
- package/dist/chunks/REPL-0.6.2-ab1c9240.mjs +1 -0
- package/dist/chunks/ResumeConversation-0.6.2-sc3b5r7q.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-0.6.2-8sv3ddk7.mjs +1 -0
- package/dist/chunks/TeleportProgress-0.6.2-wa2hgv37.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-0.6.2-a3a7fv1a.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-0.6.2-2n1ktp6n.mjs +1 -0
- package/dist/chunks/TmuxBackend-0.6.2-qbc4yk54.mjs +9 -0
- package/dist/chunks/ToolSearchTool-0.6.2-384g3ky4.mjs +1 -0
- package/dist/chunks/TrustDialog-0.6.2-egpnc3w1.mjs +1 -0
- package/dist/chunks/activeProvider-0.6.2-w0ja3pnw.mjs +1 -0
- package/dist/chunks/add-dir-0.6.2-srcrq97m.mjs +1 -0
- package/dist/chunks/agents-0.6.2-pwkawpda.mjs +110 -0
- package/dist/chunks/agents-0.6.2-v40vzjvy.mjs +3 -0
- package/dist/chunks/api-0.6.2-r9z30232.mjs +1 -0
- package/dist/chunks/asciicast-0.6.2-dtanhyb8.mjs +1 -0
- package/dist/chunks/assistant-0.6.2-29e26n3s.mjs +1 -0
- package/dist/chunks/auth-0.6.2-azq9yv0m.mjs +1 -0
- package/dist/chunks/auth-0.6.2-ndpcgcx5.mjs +1 -0
- package/dist/chunks/autoMode-0.6.2-w921k0xq.mjs +48 -0
- package/dist/chunks/autoUpdater-0.6.2-gwvkqpt8.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-0.6.2-7p2jxjem.mjs +1 -0
- package/dist/chunks/branch-0.6.2-tx9vvnkh.mjs +4 -0
- package/dist/chunks/bridgePointer-0.6.2-vm11xngr.mjs +1 -0
- package/dist/chunks/btw-0.6.2-s76cg2fz.mjs +1 -0
- package/dist/chunks/buddy-0.6.2-0ck2kabw.mjs +3 -0
- package/dist/chunks/cacache-0.6.2-c87f0fw9.mjs +1 -0
- package/dist/chunks/cache-probe-0.6.2-nhq6d99v.mjs +21 -0
- package/dist/chunks/cacheStats-0.6.2-wjqpder6.mjs +4 -0
- package/dist/chunks/caches-0.6.2-ckpe4m10.mjs +1 -0
- package/dist/chunks/claudeDesktop-0.6.2-9xry3zxj.mjs +1 -0
- package/dist/chunks/claudemd-0.6.2-eevm7pz1.mjs +1 -0
- package/dist/chunks/clear-0.6.2-301n503a.mjs +1 -0
- package/dist/chunks/clearTerminal-0.6.2-qgg50hxe.mjs +1 -0
- package/dist/chunks/cli-0.6.2-0cpmb5wg.mjs +42 -0
- package/dist/chunks/cli-0.6.2-0f9sh5z8.mjs +4 -0
- package/dist/chunks/cli-0.6.2-0p39svq8.mjs +2 -0
- package/dist/chunks/cli-0.6.2-1acc8mpr.mjs +2 -0
- package/dist/chunks/cli-0.6.2-1ahapm20.mjs +2 -0
- package/dist/chunks/cli-0.6.2-1b9hx344.mjs +2 -0
- package/dist/chunks/cli-0.6.2-1g0gmdck.mjs +2 -0
- package/dist/chunks/cli-0.6.2-1hrabb68.mjs +3 -0
- package/dist/chunks/cli-0.6.2-1wj8sm5y.mjs +9 -0
- package/dist/chunks/cli-0.6.2-1y907j57.mjs +2 -0
- package/dist/chunks/cli-0.6.2-22zkw0rp.mjs +2 -0
- package/dist/chunks/cli-0.6.2-26qywcgz.mjs +2 -0
- package/dist/chunks/cli-0.6.2-2aj7wfhk.mjs +2 -0
- package/dist/chunks/cli-0.6.2-2ewwghbe.mjs +3 -0
- package/dist/chunks/cli-0.6.2-2jg2f49s.mjs +2 -0
- package/dist/chunks/cli-0.6.2-2z19ppek.mjs +15 -0
- package/dist/chunks/cli-0.6.2-334vw6ys.mjs +2 -0
- package/dist/chunks/cli-0.6.2-3mpd0wjn.mjs +2 -0
- package/dist/chunks/cli-0.6.2-3r8vgmhb.mjs +2 -0
- package/dist/chunks/cli-0.6.2-3rgtxc9f.mjs +2 -0
- package/dist/chunks/cli-0.6.2-40pc2aj2.mjs +2 -0
- package/dist/chunks/cli-0.6.2-42d88f3r.mjs +2 -0
- package/dist/chunks/cli-0.6.2-43f0sknv.mjs +2 -0
- package/dist/chunks/cli-0.6.2-43qjtqa5.mjs +2 -0
- package/dist/chunks/cli-0.6.2-4a5t390f.mjs +2 -0
- package/dist/chunks/cli-0.6.2-4drhcx9k.mjs +15 -0
- package/dist/chunks/cli-0.6.2-4kcvb5en.mjs +2 -0
- package/dist/chunks/cli-0.6.2-4ke2trrq.mjs +39 -0
- package/dist/chunks/cli-0.6.2-4p9wa0p6.mjs +5323 -0
- package/dist/chunks/cli-0.6.2-4py7r63v.mjs +2 -0
- package/dist/chunks/cli-0.6.2-4r69ge5f.mjs +59 -0
- package/dist/chunks/cli-0.6.2-5d05m4xc.mjs +2 -0
- package/dist/chunks/cli-0.6.2-5jempndm.mjs +133 -0
- package/dist/chunks/cli-0.6.2-657fbmws.mjs +2 -0
- package/dist/chunks/cli-0.6.2-6bacgc39.mjs +3 -0
- package/dist/chunks/cli-0.6.2-6g0t3j91.mjs +5 -0
- package/dist/chunks/cli-0.6.2-6g8yfn0m.mjs +2 -0
- package/dist/chunks/cli-0.6.2-6kn7z0zj.mjs +3 -0
- package/dist/chunks/cli-0.6.2-6wk99hh1.mjs +3 -0
- package/dist/chunks/cli-0.6.2-73vnf2t2.mjs +4 -0
- package/dist/chunks/cli-0.6.2-74x1d5s0.mjs +2 -0
- package/dist/chunks/cli-0.6.2-7egesyh9.mjs +4 -0
- package/dist/chunks/cli-0.6.2-7rmm482v.mjs +12 -0
- package/dist/chunks/cli-0.6.2-7rmymgpp.mjs +2 -0
- package/dist/chunks/cli-0.6.2-7z82z1hp.mjs +25 -0
- package/dist/chunks/cli-0.6.2-83ennmm8.mjs +21 -0
- package/dist/chunks/cli-0.6.2-8ka8msyf.mjs +2 -0
- package/dist/chunks/cli-0.6.2-8ksqzwe8.mjs +5 -0
- package/dist/chunks/cli-0.6.2-8v8sktjd.mjs +10 -0
- package/dist/chunks/cli-0.6.2-8y3j75c7.mjs +2 -0
- package/dist/chunks/cli-0.6.2-974c5e67.mjs +9 -0
- package/dist/chunks/cli-0.6.2-9j01vvqt.mjs +2 -0
- package/dist/chunks/cli-0.6.2-9mwrq250.mjs +3 -0
- package/dist/chunks/cli-0.6.2-9n2g6k9w.mjs +2 -0
- package/dist/chunks/cli-0.6.2-9n9cpja7.mjs +2 -0
- package/dist/chunks/cli-0.6.2-9qtj477e.mjs +2 -0
- package/dist/chunks/cli-0.6.2-9w9nmx9s.mjs +2 -0
- package/dist/chunks/cli-0.6.2-9ybnhjj8.mjs +4 -0
- package/dist/chunks/cli-0.6.2-a8atyp18.mjs +2 -0
- package/dist/chunks/cli-0.6.2-ahaj5z3h.mjs +2 -0
- package/dist/chunks/cli-0.6.2-aq30pg47.mjs +2 -0
- package/dist/chunks/cli-0.6.2-aqxemf9h.mjs +6 -0
- package/dist/chunks/cli-0.6.2-b34y2qb7.mjs +2 -0
- package/dist/chunks/cli-0.6.2-b88e6p6d.mjs +2 -0
- package/dist/chunks/cli-0.6.2-b8r77v7s.mjs +2 -0
- package/dist/chunks/cli-0.6.2-bkff60ff.mjs +2 -0
- package/dist/chunks/cli-0.6.2-br678d1b.mjs +8 -0
- package/dist/chunks/cli-0.6.2-bvyhf16r.mjs +2 -0
- package/dist/chunks/cli-0.6.2-c05pfwbs.mjs +2 -0
- package/dist/chunks/cli-0.6.2-c3h0j3ad.mjs +2 -0
- package/dist/chunks/cli-0.6.2-c8bf5gfw.mjs +4 -0
- package/dist/chunks/cli-0.6.2-c9adbzc9.mjs +2 -0
- package/dist/chunks/cli-0.6.2-cvr4dbfz.mjs +2 -0
- package/dist/chunks/cli-0.6.2-d3evezft.mjs +1 -0
- package/dist/chunks/cli-0.6.2-d3y2w089.mjs +2 -0
- package/dist/chunks/cli-0.6.2-d3ykxc81.mjs +2 -0
- package/dist/chunks/cli-0.6.2-dbw96fj0.mjs +12 -0
- package/dist/chunks/cli-0.6.2-dr4gmq77.mjs +2 -0
- package/dist/chunks/cli-0.6.2-drm9vdbc.mjs +2 -0
- package/dist/chunks/cli-0.6.2-dv8abe56.mjs +7 -0
- package/dist/chunks/cli-0.6.2-dx6qfese.mjs +2 -0
- package/dist/chunks/cli-0.6.2-dy4zwces.mjs +2 -0
- package/dist/chunks/cli-0.6.2-e0x7vgkh.mjs +2 -0
- package/dist/chunks/cli-0.6.2-e26khw0m.mjs +6 -0
- package/dist/chunks/cli-0.6.2-e66qz53g.mjs +2 -0
- package/dist/chunks/cli-0.6.2-ea8z1e2e.mjs +16 -0
- package/dist/chunks/cli-0.6.2-erkq6kmj.mjs +45 -0
- package/dist/chunks/cli-0.6.2-ezn7w7ae.mjs +5 -0
- package/dist/chunks/cli-0.6.2-f8wbscq8.mjs +2 -0
- package/dist/chunks/cli-0.6.2-ffwsaj8h.mjs +2 -0
- package/dist/chunks/cli-0.6.2-fm1d3kkg.mjs +2 -0
- package/dist/chunks/cli-0.6.2-g1m1mc2w.mjs +2 -0
- package/dist/chunks/cli-0.6.2-g5akhdzk.mjs +2 -0
- package/dist/chunks/cli-0.6.2-g6c6hjc6.mjs +6 -0
- package/dist/chunks/cli-0.6.2-gjc0cfpe.mjs +2 -0
- package/dist/chunks/cli-0.6.2-gjcarfd4.mjs +2 -0
- package/dist/chunks/cli-0.6.2-gqbd9ax6.mjs +2 -0
- package/dist/chunks/cli-0.6.2-grf75vb7.mjs +2 -0
- package/dist/chunks/cli-0.6.2-h18w4nmy.mjs +2 -0
- package/dist/chunks/cli-0.6.2-h72p44ws.mjs +24 -0
- package/dist/chunks/cli-0.6.2-ha8qy3b0.mjs +2 -0
- package/dist/chunks/cli-0.6.2-hhjx89cr.mjs +193 -0
- package/dist/chunks/cli-0.6.2-hhyenxhe.mjs +2 -0
- package/dist/chunks/cli-0.6.2-hp1pwe62.mjs +2 -0
- package/dist/chunks/cli-0.6.2-hqmcear6.mjs +2 -0
- package/dist/chunks/cli-0.6.2-hs0y8na1.mjs +34 -0
- package/dist/chunks/cli-0.6.2-j05kmd43.mjs +2 -0
- package/dist/chunks/cli-0.6.2-j1nazgzc.mjs +2 -0
- package/dist/chunks/cli-0.6.2-jgh80hr1.mjs +2 -0
- package/dist/chunks/cli-0.6.2-jrb4f391.mjs +15 -0
- package/dist/chunks/cli-0.6.2-jrpted0b.mjs +2 -0
- package/dist/chunks/cli-0.6.2-jv7awz9n.mjs +2 -0
- package/dist/chunks/cli-0.6.2-k56bbmdp.mjs +2 -0
- package/dist/chunks/cli-0.6.2-k9v931hm.mjs +2 -0
- package/dist/chunks/cli-0.6.2-kbz4gdv0.mjs +2 -0
- package/dist/chunks/cli-0.6.2-kcf9h23h.mjs +2 -0
- package/dist/chunks/cli-0.6.2-kk5rmpf2.mjs +4 -0
- package/dist/chunks/cli-0.6.2-ky1drj50.mjs +2 -0
- package/dist/chunks/cli-0.6.2-mabejxsw.mjs +4 -0
- package/dist/chunks/cli-0.6.2-majp93c4.mjs +2 -0
- package/dist/chunks/cli-0.6.2-mqcsy5k1.mjs +2 -0
- package/dist/chunks/cli-0.6.2-n4v3wxhj.mjs +3 -0
- package/dist/chunks/cli-0.6.2-n9610c8k.mjs +2 -0
- package/dist/chunks/cli-0.6.2-ntj0k6z8.mjs +2 -0
- package/dist/chunks/cli-0.6.2-nw08h6z2.mjs +2 -0
- package/dist/chunks/cli-0.6.2-nwzye174.mjs +2 -0
- package/dist/chunks/cli-0.6.2-p0jszyht.mjs +3 -0
- package/dist/chunks/cli-0.6.2-p6w7n0bx.mjs +58 -0
- package/dist/chunks/cli-0.6.2-ptm65j7w.mjs +2 -0
- package/dist/chunks/cli-0.6.2-q45wdma3.mjs +3 -0
- package/dist/chunks/cli-0.6.2-q4pmjk86.mjs +2 -0
- package/dist/chunks/cli-0.6.2-qa6qbf36.mjs +2 -0
- package/dist/chunks/cli-0.6.2-qec7nrgw.mjs +2 -0
- package/dist/chunks/cli-0.6.2-qezxrvkk.mjs +2 -0
- package/dist/chunks/cli-0.6.2-qkzrj9jv.mjs +2 -0
- package/dist/chunks/cli-0.6.2-qpnzszt1.mjs +2 -0
- package/dist/chunks/cli-0.6.2-r4p904h3.mjs +67 -0
- package/dist/chunks/cli-0.6.2-r7j7h4hj.mjs +2 -0
- package/dist/chunks/cli-0.6.2-rde30n8x.mjs +2 -0
- package/dist/chunks/cli-0.6.2-rdfwysaf.mjs +2 -0
- package/dist/chunks/cli-0.6.2-red287ya.mjs +2 -0
- package/dist/chunks/cli-0.6.2-rjqa4vcn.mjs +2 -0
- package/dist/chunks/cli-0.6.2-rkp36r0y.mjs +2 -0
- package/dist/chunks/cli-0.6.2-rpxhzchp.mjs +17 -0
- package/dist/chunks/cli-0.6.2-rsw5s54e.mjs +24 -0
- package/dist/chunks/cli-0.6.2-s3xefpk2.mjs +2 -0
- package/dist/chunks/cli-0.6.2-s73x3nqc.mjs +2 -0
- package/dist/chunks/cli-0.6.2-sb3gjggk.mjs +2 -0
- package/dist/chunks/cli-0.6.2-sbjpxvg6.mjs +2 -0
- package/dist/chunks/cli-0.6.2-sbvnj6xm.mjs +2 -0
- package/dist/chunks/cli-0.6.2-sr4xyjmx.mjs +133 -0
- package/dist/chunks/cli-0.6.2-st7jwd3e.mjs +2 -0
- package/dist/chunks/cli-0.6.2-t038jmme.mjs +3 -0
- package/dist/chunks/cli-0.6.2-t3e59m32.mjs +2 -0
- package/dist/chunks/cli-0.6.2-t74yr8e7.mjs +2 -0
- package/dist/chunks/cli-0.6.2-t8yezjtz.mjs +2 -0
- package/dist/chunks/cli-0.6.2-tbbfz84c.mjs +2 -0
- package/dist/chunks/cli-0.6.2-tqq6q5x7.mjs +2 -0
- package/dist/chunks/cli-0.6.2-tqt8xgww.mjs +50 -0
- package/dist/chunks/cli-0.6.2-v1hjbt4b.mjs +20 -0
- package/dist/chunks/cli-0.6.2-v9brbf1x.mjs +2 -0
- package/dist/chunks/cli-0.6.2-vfdaj8xa.mjs +2 -0
- package/dist/chunks/cli-0.6.2-vg43sy4j.mjs +2 -0
- package/dist/chunks/cli-0.6.2-vqas2mhg.mjs +2 -0
- package/dist/chunks/cli-0.6.2-vqt5hqzr.mjs +2 -0
- package/dist/chunks/cli-0.6.2-vrv3r8v9.mjs +18 -0
- package/dist/chunks/cli-0.6.2-vys7e4x0.mjs +2 -0
- package/dist/chunks/cli-0.6.2-w0nwtgnn.mjs +3 -0
- package/dist/chunks/cli-0.6.2-w9trxbjc.mjs +2 -0
- package/dist/chunks/cli-0.6.2-wbg54yyk.mjs +2 -0
- package/dist/chunks/cli-0.6.2-wdtqrg29.mjs +12 -0
- package/dist/chunks/cli-0.6.2-wryj4wnr.mjs +2 -0
- package/dist/chunks/cli-0.6.2-x7zpbnzj.mjs +2 -0
- package/dist/chunks/cli-0.6.2-xnn1c5kd.mjs +18 -0
- package/dist/chunks/cli-0.6.2-y8g2xkqa.mjs +2 -0
- package/dist/chunks/cli-0.6.2-yep449sd.mjs +17 -0
- package/dist/chunks/cli-0.6.2-yjbsdf10.mjs +2 -0
- package/dist/chunks/cli-0.6.2-ymnp9sv9.mjs +2 -0
- package/dist/chunks/cli-0.6.2-ynamhrtk.mjs +4 -0
- package/dist/chunks/cli-0.6.2-yysvdabq.mjs +2 -0
- package/dist/chunks/cli-0.6.2-z00mtdgp.mjs +4 -0
- package/dist/chunks/cli-0.6.2-z1njvrn7.mjs +3 -0
- package/dist/chunks/cli-0.6.2-z2ftrcke.mjs +4 -0
- package/dist/chunks/cli-0.6.2-z3vr6hxb.mjs +2 -0
- package/dist/chunks/cli-0.6.2-z9kadqm6.mjs +18 -0
- package/dist/chunks/cli-0.6.2-zaahyems.mjs +2 -0
- package/dist/chunks/cli-0.6.2-zftyh47j.mjs +2 -0
- package/dist/chunks/cli-0.6.2-zqj8dk7m.mjs +2 -0
- package/dist/chunks/cli-0.6.2-zs4qp487.mjs +2 -0
- package/dist/chunks/client-0.6.2-8b0s065m.mjs +1 -0
- package/dist/chunks/color-0.6.2-jza3jez4.mjs +1 -0
- package/dist/chunks/compact-0.6.2-2jy7t4f4.mjs +3 -0
- package/dist/chunks/config-0.6.2-qjwjrd75.mjs +1 -0
- package/dist/chunks/config-0.6.2-xac3sjb7.mjs +1 -0
- package/dist/chunks/constants-0.6.2-gwzfwz81.mjs +1 -0
- package/dist/chunks/context-0.6.2-w965073f.mjs +1 -0
- package/dist/chunks/context-noninteractive-0.6.2-fcjaexgs.mjs +1 -0
- package/dist/chunks/conversation-0.6.2-19c4vdvz.mjs +1 -0
- package/dist/chunks/copilotHeaders-0.6.2-pad0tejv.mjs +1 -0
- package/dist/chunks/copy-0.6.2-p4jw9gbt.mjs +9 -0
- package/dist/chunks/cost-0.6.2-vhwgeqym.mjs +1 -0
- package/dist/chunks/createSSHSession-0.6.2-j2yf2qm6.mjs +1 -0
- package/dist/chunks/createSession-0.6.2-axgp009k.mjs +1 -0
- package/dist/chunks/debug-0.6.2-g2n0fqva.mjs +1 -0
- package/dist/chunks/defaultActionDeps-0.6.2-28650cn6.mjs +1365 -0
- package/dist/chunks/desktop-0.6.2-g4c5xzgr.mjs +1 -0
- package/dist/chunks/detectRepository-0.6.2-d1chqsq7.mjs +1 -0
- package/dist/chunks/detection-0.6.2-rtsr38x3.mjs +1 -0
- package/dist/chunks/diff-0.6.2-md180qh9.mjs +1 -0
- package/dist/chunks/doctor-0.6.2-g7yz0erc.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-0.6.2-a82fkq4t.mjs +1 -0
- package/dist/chunks/earlyInput-0.6.2-7j71psy0.mjs +1 -0
- package/dist/chunks/effort-0.6.2-n6mb1qca.mjs +10 -0
- package/dist/chunks/envUtils-0.6.2-cgk2t66d.mjs +1 -0
- package/dist/chunks/environmentSelection-0.6.2-jxz6pef4.mjs +1 -0
- package/dist/chunks/environments-0.6.2-fe197syt.mjs +1 -0
- package/dist/chunks/errors-0.6.2-qwc8na5z.mjs +1 -0
- package/dist/chunks/exampleCommands-0.6.2-ts5qp1zd.mjs +1 -0
- package/dist/chunks/exit-0.6.2-ejt9v4r5.mjs +1 -0
- package/dist/chunks/export-0.6.2-7xzrp9f7.mjs +2 -0
- package/dist/chunks/extra-usage-0.6.2-4xbsq144.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-0.6.2-dbw7cdb9.mjs +1 -0
- package/dist/chunks/fast-0.6.2-trs3hdhf.mjs +1 -0
- package/dist/chunks/feedback-0.6.2-ssmy63tw.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-0.6.2-8h0fye4z.mjs +1 -0
- package/dist/chunks/git-0.6.2-nt9s7t3d.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-0.6.2-24hacezm.mjs +1 -0
- package/dist/chunks/goal-0.6.2-y7sqebpb.mjs +4 -0
- package/dist/chunks/grove-0.6.2-a2wgccag.mjs +1 -0
- package/dist/chunks/growthbook-0.6.2-0rhkaa7d.mjs +1 -0
- package/dist/chunks/headless-0.6.2-mqs7zsvy.mjs +2 -0
- package/dist/chunks/heapdump-0.6.2-4n8atcks.mjs +6 -0
- package/dist/chunks/help-0.6.2-c49svpae.mjs +1 -0
- package/dist/chunks/hookChains-0.6.2-44ps20xa.mjs +3 -0
- package/dist/chunks/hooks-0.6.2-27hpvpxf.mjs +1 -0
- package/dist/chunks/hooks-0.6.2-7ze1m2wq.mjs +79 -0
- package/dist/chunks/ide-0.6.2-4v9fdhr6.mjs +3 -0
- package/dist/chunks/image-processor-napi-0.6.2-a92myehv.mjs +1 -0
- package/dist/chunks/index-0.6.2-1kk3erm5.mjs +9 -0
- package/dist/chunks/index-0.6.2-21nak3ad.mjs +1 -0
- package/dist/chunks/index-0.6.2-2vns8v9p.mjs +1 -0
- package/dist/chunks/index-0.6.2-2wg5fkyq.mjs +1 -0
- package/dist/chunks/index-0.6.2-3g92ew8z.mjs +1 -0
- package/dist/chunks/index-0.6.2-4wsxzfzg.mjs +1 -0
- package/dist/chunks/index-0.6.2-88m8k4cp.mjs +1 -0
- package/dist/chunks/index-0.6.2-93bh3w93.mjs +1 -0
- package/dist/chunks/index-0.6.2-9e0qz384.mjs +1 -0
- package/dist/chunks/index-0.6.2-emm65q8h.mjs +17 -0
- package/dist/chunks/index-0.6.2-ff57yvh3.mjs +1 -0
- package/dist/chunks/index-0.6.2-g6xy97jv.mjs +1 -0
- package/dist/chunks/index-0.6.2-h37g7n0s.mjs +9 -0
- package/dist/chunks/index-0.6.2-h8jkf613.mjs +5 -0
- package/dist/chunks/index-0.6.2-jcsv5kp3.mjs +1 -0
- package/dist/chunks/index-0.6.2-jw83xhc8.mjs +2 -0
- package/dist/chunks/index-0.6.2-mehn31e3.mjs +30 -0
- package/dist/chunks/index-0.6.2-naw1d8mg.mjs +2 -0
- package/dist/chunks/index-0.6.2-qjs3rrrc.mjs +1 -0
- package/dist/chunks/index-0.6.2-qn0re7sj.mjs +1 -0
- package/dist/chunks/index-0.6.2-tftj6wdh.mjs +1 -0
- package/dist/chunks/index-0.6.2-ww1qy3cg.mjs +1 -0
- package/dist/chunks/init-0.6.2-47k2caay.mjs +1 -0
- package/dist/chunks/initReplBridge-0.6.2-sn29sxg9.mjs +1 -0
- package/dist/chunks/ink-0.6.2-dhg7s7qq.mjs +1 -0
- package/dist/chunks/insights-0.6.2-st861yg4.mjs +870 -0
- package/dist/chunks/install-0.6.2-webkhwz9.mjs +1 -0
- package/dist/chunks/install-github-app-0.6.2-dyf38saf.mjs +149 -0
- package/dist/chunks/install-slack-app-0.6.2-mkhq39jq.mjs +1 -0
- package/dist/chunks/instrumentation-0.6.2-8enws6w1.mjs +1 -0
- package/dist/chunks/interactiveHelpers-0.6.2-h3c63932.mjs +1 -0
- package/dist/chunks/keybindings-0.6.2-b4h5gr36.mjs +2 -0
- package/dist/chunks/knowledge-0.6.2-r7wzchg7.mjs +2 -0
- package/dist/chunks/latestVersionCache-0.6.2-29wtfvgy.mjs +1 -0
- package/dist/chunks/loadAgentsDir-0.6.2-6tmzy9fs.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.6.2-1qx97351.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.6.2-c4wpqz2j.mjs +1 -0
- package/dist/chunks/log-0.6.2-h02k5q0p.mjs +1 -0
- package/dist/chunks/main-0.6.2-51xvrsbq.mjs +1 -0
- package/dist/chunks/managedEnv-0.6.2-ma1dx63x.mjs +1 -0
- package/dist/chunks/mcp-0.6.2-j3m0e0bk.mjs +17 -0
- package/dist/chunks/mcp-0.6.2-n8yv335k.mjs +4 -0
- package/dist/chunks/mcp-0.6.2-zebf4vwt.mjs +1 -0
- package/dist/chunks/mcpb-0.6.2-egn2wk5t.mjs +1 -0
- package/dist/chunks/memory-0.6.2-vy2ka09s.mjs +3 -0
- package/dist/chunks/mobile-0.6.2-s8f6z7dq.mjs +2 -0
- package/dist/chunks/model-0.6.2-49f9g2vz.mjs +2 -0
- package/dist/chunks/model-0.6.2-pcd5ta0c.mjs +1 -0
- package/dist/chunks/node-0.6.2-40bknjza.mjs +12 -0
- package/dist/chunks/oauth-0.6.2-newhjxdv.mjs +1 -0
- package/dist/chunks/openaiShim-0.6.2-rjs9w27t.mjs +14 -0
- package/dist/chunks/output-style-0.6.2-n76v4e26.mjs +1 -0
- package/dist/chunks/package-D6422PQU-0.6.2-cymw10eg.mjs +1 -0
- package/dist/chunks/parseConnectUrl-0.6.2-qy2dp99f.mjs +1 -0
- package/dist/chunks/parser-0.6.2-xgg5gh3g.mjs +1 -0
- package/dist/chunks/passes-0.6.2-kadygcw6.mjs +1 -0
- package/dist/chunks/permissions-0.6.2-hv22h5gm.mjs +3 -0
- package/dist/chunks/plan-0.6.2-hzbsezab.mjs +1 -0
- package/dist/chunks/plist-0.6.2-hkq2x0x5.mjs +1 -0
- package/dist/chunks/plugin-0.6.2-pr48413e.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-0.6.2-zfb8qack.mjs +1 -0
- package/dist/chunks/plugins-0.6.2-hx8jrngg.mjs +9 -0
- package/dist/chunks/preActionHook-0.6.2-pac7p55h.mjs +2 -0
- package/dist/chunks/print-0.6.2-ng7p0m66.mjs +57 -0
- package/dist/chunks/privacy-settings-0.6.2-awj1k33j.mjs +1 -0
- package/dist/chunks/process-0.6.2-7k26fk4b.mjs +1 -0
- package/dist/chunks/processBashCommand-0.6.2-379q2wr4.mjs +1 -0
- package/dist/chunks/processSlashCommand-0.6.2-7zk4c0n0.mjs +9 -0
- package/dist/chunks/prompt-0.6.2-c2vevj59.mjs +1 -0
- package/dist/chunks/prompt-0.6.2-szkc5jgm.mjs +1 -0
- package/dist/chunks/prompts-0.6.2-s8z9fmgq.mjs +1 -0
- package/dist/chunks/protocolHandler-0.6.2-wc5pcv21.mjs +13 -0
- package/dist/chunks/provider-0.6.2-nbcrfwt5.mjs +2 -0
- package/dist/chunks/providerProfiles-0.6.2-r9j184kz.mjs +1 -0
- package/dist/chunks/providerValidation-0.6.2-4h7yr0x2.mjs +6 -0
- package/dist/chunks/rate-limit-options-0.6.2-dbvvmtas.mjs +1 -0
- package/dist/chunks/registerSubcommands-0.6.2-w8y8efwa.mjs +34 -0
- package/dist/chunks/registry-0.6.2-8xcdw66w.mjs +1 -0
- package/dist/chunks/release-notes-0.6.2-xtnhsjps.mjs +5 -0
- package/dist/chunks/reload-plugins-0.6.2-hhgdgy2j.mjs +2 -0
- package/dist/chunks/remote-env-0.6.2-9tdvzj0q.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-0.6.2-y9spfxbw.mjs +1 -0
- package/dist/chunks/remoteSession-0.6.2-pb3185rt.mjs +1 -0
- package/dist/chunks/rename-0.6.2-z5pwd75p.mjs +1 -0
- package/dist/chunks/replBridgeHandle-0.6.2-epcyvrf1.mjs +1 -0
- package/dist/chunks/replLauncher-0.6.2-yk4q9w0s.mjs +1 -0
- package/dist/chunks/resume-0.6.2-wwmdq5gh.mjs +2 -0
- package/dist/chunks/rewind-0.6.2-keb5hdgr.mjs +1 -0
- package/dist/chunks/rootOptions-0.6.2-hprbxscd.mjs +1 -0
- package/dist/chunks/sandbox-adapter-0.6.2-4ntc8ewv.mjs +1 -0
- package/dist/chunks/sandbox-toggle-0.6.2-5zdhe1qf.mjs +1 -0
- package/dist/chunks/session-0.6.2-k41jbqwf.mjs +2 -0
- package/dist/chunks/sessionDiscovery-0.6.2-x9rwtkey.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-0.6.2-0ska7d2r.mjs +1 -0
- package/dist/chunks/sessionStorage-0.6.2-0brgsadt.mjs +1 -0
- package/dist/chunks/settings-0.6.2-cgwa4c0s.mjs +1 -0
- package/dist/chunks/setup-0.6.2-vqm3xhrr.mjs +5 -0
- package/dist/chunks/sinks-0.6.2-p6ftcdrs.mjs +1 -0
- package/dist/chunks/skills-0.6.2-87j1kdxj.mjs +1 -0
- package/dist/chunks/startupProfiler-0.6.2-173hw815.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-0.6.2-4364mejf.mjs +1 -0
- package/dist/chunks/state-0.6.2-nymhw7ey.mjs +1 -0
- package/dist/chunks/stats-0.6.2-skm9nakv.mjs +6 -0
- package/dist/chunks/status-0.6.2-wfm0ahb8.mjs +1 -0
- package/dist/chunks/stickers-0.6.2-nze85ck5.mjs +1 -0
- package/dist/chunks/subprocessEnv-0.6.2-vktss3j3.mjs +1 -0
- package/dist/chunks/tasks-0.6.2-hfy99qn9.mjs +1 -0
- package/dist/chunks/teamHelpers-0.6.2-ep254ybc.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-0.6.2-ecyswt3z.mjs +1 -0
- package/dist/chunks/teleport-0.6.2-ve5pmdye.mjs +1 -0
- package/dist/chunks/terminalSetup-0.6.2-wxnysmg4.mjs +1 -0
- package/dist/chunks/theme-0.6.2-r6cak2qv.mjs +1 -0
- package/dist/chunks/thinkback-0.6.2-9svbgrtq.mjs +1 -0
- package/dist/chunks/thinkback-play-0.6.2-22rfv6x5.mjs +1 -0
- package/dist/chunks/toolPool-0.6.2-znz9vm50.mjs +1 -0
- package/dist/chunks/toolSearch-0.6.2-nsf80s0q.mjs +1 -0
- package/dist/chunks/tools-0.6.2-wcxfbgtv.mjs +1 -0
- package/dist/chunks/trustedDevice-0.6.2-ab0ftpnm.mjs +1 -0
- package/dist/chunks/turndown.cjs-0.6.2-g0zf33kq.mjs +69 -0
- package/dist/chunks/ultrareviewCommand-0.6.2-8c0jzztb.mjs +4 -0
- package/dist/chunks/update-0.6.2-p8edrwg4.mjs +86 -0
- package/dist/chunks/upgrade-0.6.2-wkscvr1z.mjs +1 -0
- package/dist/chunks/upstreamproxy-0.6.2-0bdt5gtr.mjs +14 -0
- package/dist/chunks/url-handler-napi-0.6.2-rgywhzs5.mjs +1 -0
- package/dist/chunks/usage-0.6.2-mkckbqy2.mjs +1 -0
- package/dist/chunks/util-0.6.2-yet75ms4.mjs +1 -0
- package/dist/chunks/utils-0.6.2-pedaa5s8.mjs +1 -0
- package/dist/chunks/vim-0.6.2-m8vm39s8.mjs +1 -0
- package/dist/chunks/watcher-0.6.2-apxj1t3y.mjs +1 -0
- package/dist/chunks/wiki-0.6.2-wztzwvgx.mjs +132 -0
- package/dist/chunks/worktree-0.6.2-jvbqmswq.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-0.6.2-bq8z3zp7.mjs +1 -0
- package/dist/chunks/wrapper-0.6.2-wwg8e756.mjs +7 -0
- package/dist/claudin-vscode.vsix +0 -0
- package/dist/cli.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunks/AgentTool-0.6.0-8f3qtrj8.mjs +0 -1
- package/dist/chunks/App-0.6.0-9n7fg3v4.mjs +0 -1
- package/dist/chunks/ApproveApiKey-0.6.0-egkvq84f.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-0.6.0-30jea1bv.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-0.6.0-3kcrm51e.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-0.6.0-ynatyfe7.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.0-bfvx8vyr.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-0.6.0-ta5bxsqc.mjs +0 -1
- package/dist/chunks/DiffDialog-0.6.0-cw7k3rhz.mjs +0 -3
- package/dist/chunks/Doctor-0.6.0-w85vn7cp.mjs +0 -1
- package/dist/chunks/Grove-0.6.0-8pzwxvxy.mjs +0 -1
- package/dist/chunks/ITermBackend-0.6.0-ccznb0th.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-0.6.0-0za8mmqc.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-0.6.0-mvr8g3r7.mjs +0 -1
- package/dist/chunks/MigrationDialog-0.6.0-8r6844g6.mjs +0 -1
- package/dist/chunks/Onboarding-0.6.0-s775c4cr.mjs +0 -1
- package/dist/chunks/ProviderManager-0.6.0-xgf5m2wn.mjs +0 -1
- package/dist/chunks/REPL-0.6.0-z46m261k.mjs +0 -1
- package/dist/chunks/ResumeConversation-0.6.0-4njrwnw3.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-0.6.0-1aanznj9.mjs +0 -1
- package/dist/chunks/TeleportProgress-0.6.0-ddvkc0ya.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-0.6.0-r86b0jdg.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-0.6.0-m20qbr0e.mjs +0 -1
- package/dist/chunks/TmuxBackend-0.6.0-qb88j55p.mjs +0 -9
- package/dist/chunks/ToolSearchTool-0.6.0-v8recgw0.mjs +0 -1
- package/dist/chunks/TrustDialog-0.6.0-tdfv8cqs.mjs +0 -1
- package/dist/chunks/activeProvider-0.6.0-ajzxc1d4.mjs +0 -1
- package/dist/chunks/add-dir-0.6.0-e8scpyaj.mjs +0 -1
- package/dist/chunks/agents-0.6.0-69xm47ft.mjs +0 -3
- package/dist/chunks/agents-0.6.0-8m3ze781.mjs +0 -110
- package/dist/chunks/api-0.6.0-3cymw2a4.mjs +0 -1
- package/dist/chunks/asciicast-0.6.0-mz8jmcqs.mjs +0 -1
- package/dist/chunks/assistant-0.6.0-qf4d0nt8.mjs +0 -1
- package/dist/chunks/auth-0.6.0-6j97pezz.mjs +0 -1
- package/dist/chunks/auth-0.6.0-hkthtnfk.mjs +0 -1
- package/dist/chunks/autoMode-0.6.0-82td4ejn.mjs +0 -48
- package/dist/chunks/autoUpdater-0.6.0-4rrgwmxf.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-0.6.0-j2hd827a.mjs +0 -1
- package/dist/chunks/branch-0.6.0-rnjgfgek.mjs +0 -4
- package/dist/chunks/bridgePointer-0.6.0-4pp7berq.mjs +0 -1
- package/dist/chunks/btw-0.6.0-9pm632qb.mjs +0 -1
- package/dist/chunks/buddy-0.6.0-zyreaya9.mjs +0 -3
- package/dist/chunks/cacache-0.6.0-mhcyz322.mjs +0 -1
- package/dist/chunks/cache-probe-0.6.0-2m2g30sy.mjs +0 -21
- package/dist/chunks/cacheStats-0.6.0-mzcbqxz0.mjs +0 -4
- package/dist/chunks/caches-0.6.0-x8ev20m0.mjs +0 -1
- package/dist/chunks/claudeDesktop-0.6.0-66prcdq2.mjs +0 -1
- package/dist/chunks/claudemd-0.6.0-t41nj06r.mjs +0 -1
- package/dist/chunks/clear-0.6.0-g494jnyj.mjs +0 -1
- package/dist/chunks/clearTerminal-0.6.0-3d2y2snk.mjs +0 -1
- package/dist/chunks/cli-0.6.0-0ck8d1xf.mjs +0 -3
- package/dist/chunks/cli-0.6.0-0kx1hnqt.mjs +0 -2
- package/dist/chunks/cli-0.6.0-0p3mkd59.mjs +0 -2
- package/dist/chunks/cli-0.6.0-0yb835ch.mjs +0 -2
- package/dist/chunks/cli-0.6.0-1b6rqyjf.mjs +0 -2
- package/dist/chunks/cli-0.6.0-1bpa9gj3.mjs +0 -2
- package/dist/chunks/cli-0.6.0-1bzempk2.mjs +0 -12
- package/dist/chunks/cli-0.6.0-1cfghz45.mjs +0 -20
- package/dist/chunks/cli-0.6.0-1d77dayv.mjs +0 -2
- package/dist/chunks/cli-0.6.0-1hxw8522.mjs +0 -2
- package/dist/chunks/cli-0.6.0-1jem05z7.mjs +0 -45
- package/dist/chunks/cli-0.6.0-1zce7bz0.mjs +0 -17
- package/dist/chunks/cli-0.6.0-27pnyd8x.mjs +0 -2
- package/dist/chunks/cli-0.6.0-295jdx7b.mjs +0 -2
- package/dist/chunks/cli-0.6.0-2age3kgh.mjs +0 -2
- package/dist/chunks/cli-0.6.0-2bbdcxda.mjs +0 -2
- package/dist/chunks/cli-0.6.0-2c7skznf.mjs +0 -2
- package/dist/chunks/cli-0.6.0-2gsntzzv.mjs +0 -2
- package/dist/chunks/cli-0.6.0-2h139nq7.mjs +0 -2
- package/dist/chunks/cli-0.6.0-2k2xxr4j.mjs +0 -2
- package/dist/chunks/cli-0.6.0-2kvggf16.mjs +0 -2
- package/dist/chunks/cli-0.6.0-2m8k6622.mjs +0 -18
- package/dist/chunks/cli-0.6.0-2m9w0jtx.mjs +0 -2
- package/dist/chunks/cli-0.6.0-2qtnp6rz.mjs +0 -2
- package/dist/chunks/cli-0.6.0-2z14r3n7.mjs +0 -2
- package/dist/chunks/cli-0.6.0-2ztxr2t5.mjs +0 -2
- package/dist/chunks/cli-0.6.0-32mypc03.mjs +0 -4
- package/dist/chunks/cli-0.6.0-363zfcx9.mjs +0 -2
- package/dist/chunks/cli-0.6.0-3jwfajtd.mjs +0 -2
- package/dist/chunks/cli-0.6.0-3kbabt72.mjs +0 -2
- package/dist/chunks/cli-0.6.0-3kxxj2zn.mjs +0 -2
- package/dist/chunks/cli-0.6.0-3m7j40bv.mjs +0 -2
- package/dist/chunks/cli-0.6.0-3ns7jd71.mjs +0 -2
- package/dist/chunks/cli-0.6.0-3qpvyrpf.mjs +0 -16
- package/dist/chunks/cli-0.6.0-3sdh6b3v.mjs +0 -2
- package/dist/chunks/cli-0.6.0-3wr1g3r3.mjs +0 -2
- package/dist/chunks/cli-0.6.0-4fzxnfth.mjs +0 -2
- package/dist/chunks/cli-0.6.0-4ks8fpx1.mjs +0 -2
- package/dist/chunks/cli-0.6.0-592v9jcz.mjs +0 -2
- package/dist/chunks/cli-0.6.0-59hncecf.mjs +0 -17
- package/dist/chunks/cli-0.6.0-5bjsew2k.mjs +0 -2
- package/dist/chunks/cli-0.6.0-5m6h57jc.mjs +0 -18
- package/dist/chunks/cli-0.6.0-5zykg2fc.mjs +0 -2
- package/dist/chunks/cli-0.6.0-60ma2ekn.mjs +0 -2
- package/dist/chunks/cli-0.6.0-60q6k4k3.mjs +0 -3
- package/dist/chunks/cli-0.6.0-6tdctbcr.mjs +0 -2
- package/dist/chunks/cli-0.6.0-6w72esaf.mjs +0 -3
- package/dist/chunks/cli-0.6.0-76c1zq6n.mjs +0 -2
- package/dist/chunks/cli-0.6.0-7m760mbp.mjs +0 -2
- package/dist/chunks/cli-0.6.0-7qw68ehh.mjs +0 -2
- package/dist/chunks/cli-0.6.0-7qwx1xwm.mjs +0 -2
- package/dist/chunks/cli-0.6.0-7s0k6nw0.mjs +0 -12
- package/dist/chunks/cli-0.6.0-7shwamwq.mjs +0 -4
- package/dist/chunks/cli-0.6.0-855c2tef.mjs +0 -2
- package/dist/chunks/cli-0.6.0-8kh9rbvn.mjs +0 -2
- package/dist/chunks/cli-0.6.0-8meqksnp.mjs +0 -9
- package/dist/chunks/cli-0.6.0-8xf2xpy3.mjs +0 -3
- package/dist/chunks/cli-0.6.0-8zczwtyv.mjs +0 -2
- package/dist/chunks/cli-0.6.0-91exkfnc.mjs +0 -2
- package/dist/chunks/cli-0.6.0-97d3zsj0.mjs +0 -2
- package/dist/chunks/cli-0.6.0-9faq31pe.mjs +0 -4
- package/dist/chunks/cli-0.6.0-9gnppzfq.mjs +0 -133
- package/dist/chunks/cli-0.6.0-9qdj830c.mjs +0 -4
- package/dist/chunks/cli-0.6.0-9rq760gd.mjs +0 -2
- package/dist/chunks/cli-0.6.0-9rxskyst.mjs +0 -5
- package/dist/chunks/cli-0.6.0-a21pffqx.mjs +0 -2
- package/dist/chunks/cli-0.6.0-a62vvs4t.mjs +0 -2
- package/dist/chunks/cli-0.6.0-a7h4zkhn.mjs +0 -15
- package/dist/chunks/cli-0.6.0-aqestr3c.mjs +0 -193
- package/dist/chunks/cli-0.6.0-awtw1t27.mjs +0 -2
- package/dist/chunks/cli-0.6.0-b6tgentw.mjs +0 -2
- package/dist/chunks/cli-0.6.0-bca4nx7y.mjs +0 -4
- package/dist/chunks/cli-0.6.0-bg7yq5wg.mjs +0 -2
- package/dist/chunks/cli-0.6.0-bjyadvf4.mjs +0 -2
- package/dist/chunks/cli-0.6.0-c1a6kyzf.mjs +0 -2
- package/dist/chunks/cli-0.6.0-c1hzx5ft.mjs +0 -2
- package/dist/chunks/cli-0.6.0-c6nqbf3d.mjs +0 -3
- package/dist/chunks/cli-0.6.0-caxz9dgf.mjs +0 -2
- package/dist/chunks/cli-0.6.0-d3wk9en8.mjs +0 -2
- package/dist/chunks/cli-0.6.0-d4v4gc51.mjs +0 -2
- package/dist/chunks/cli-0.6.0-da98vnek.mjs +0 -3
- package/dist/chunks/cli-0.6.0-db9z8rd6.mjs +0 -2
- package/dist/chunks/cli-0.6.0-dsrnkn8r.mjs +0 -2
- package/dist/chunks/cli-0.6.0-dsykmkkh.mjs +0 -2
- package/dist/chunks/cli-0.6.0-dxwdyaw3.mjs +0 -2
- package/dist/chunks/cli-0.6.0-e05hymmk.mjs +0 -2
- package/dist/chunks/cli-0.6.0-e8a59m32.mjs +0 -2
- package/dist/chunks/cli-0.6.0-f7y1nm61.mjs +0 -4
- package/dist/chunks/cli-0.6.0-f8va1ddb.mjs +0 -2
- package/dist/chunks/cli-0.6.0-fdfhshmm.mjs +0 -3
- package/dist/chunks/cli-0.6.0-fg2kp9t9.mjs +0 -2
- package/dist/chunks/cli-0.6.0-fx65e0yv.mjs +0 -2
- package/dist/chunks/cli-0.6.0-fzxv7yps.mjs +0 -2
- package/dist/chunks/cli-0.6.0-g60zf7ra.mjs +0 -2
- package/dist/chunks/cli-0.6.0-g61jvwe5.mjs +0 -2
- package/dist/chunks/cli-0.6.0-g7exm24t.mjs +0 -3
- package/dist/chunks/cli-0.6.0-gaakjhm0.mjs +0 -2
- package/dist/chunks/cli-0.6.0-gassmthg.mjs +0 -2
- package/dist/chunks/cli-0.6.0-gec8yt9j.mjs +0 -2
- package/dist/chunks/cli-0.6.0-gjcmv34x.mjs +0 -4
- package/dist/chunks/cli-0.6.0-gw1zy408.mjs +0 -2
- package/dist/chunks/cli-0.6.0-h0z5ygw4.mjs +0 -2
- package/dist/chunks/cli-0.6.0-h88zf9sp.mjs +0 -2
- package/dist/chunks/cli-0.6.0-hchy51xn.mjs +0 -15
- package/dist/chunks/cli-0.6.0-hf8fw0bb.mjs +0 -2
- package/dist/chunks/cli-0.6.0-hms5fdyd.mjs +0 -2
- package/dist/chunks/cli-0.6.0-hraw3dez.mjs +0 -2
- package/dist/chunks/cli-0.6.0-hwes2c0w.mjs +0 -6
- package/dist/chunks/cli-0.6.0-hxhwjzmm.mjs +0 -34
- package/dist/chunks/cli-0.6.0-j4gvgd8r.mjs +0 -7
- package/dist/chunks/cli-0.6.0-j5r9tdmt.mjs +0 -50
- package/dist/chunks/cli-0.6.0-jb17xpd5.mjs +0 -2
- package/dist/chunks/cli-0.6.0-jfft7zdk.mjs +0 -67
- package/dist/chunks/cli-0.6.0-jpsf0t8a.mjs +0 -9
- package/dist/chunks/cli-0.6.0-js1fe4hv.mjs +0 -2
- package/dist/chunks/cli-0.6.0-k8qnaskd.mjs +0 -8
- package/dist/chunks/cli-0.6.0-kr9jt2p9.mjs +0 -6
- package/dist/chunks/cli-0.6.0-kvv5zw54.mjs +0 -5
- package/dist/chunks/cli-0.6.0-m47zataq.mjs +0 -2
- package/dist/chunks/cli-0.6.0-mkca0jw4.mjs +0 -2
- package/dist/chunks/cli-0.6.0-mmmmpmp3.mjs +0 -2
- package/dist/chunks/cli-0.6.0-mmp6g96h.mjs +0 -2
- package/dist/chunks/cli-0.6.0-mqdfskgd.mjs +0 -2
- package/dist/chunks/cli-0.6.0-mvv5jvw3.mjs +0 -2
- package/dist/chunks/cli-0.6.0-ndxtcmnz.mjs +0 -2
- package/dist/chunks/cli-0.6.0-npjb4qxf.mjs +0 -3
- package/dist/chunks/cli-0.6.0-npxj2hv4.mjs +0 -2
- package/dist/chunks/cli-0.6.0-nxpvznpz.mjs +0 -4
- package/dist/chunks/cli-0.6.0-nzqrvkwj.mjs +0 -58
- package/dist/chunks/cli-0.6.0-p3kytvrk.mjs +0 -42
- package/dist/chunks/cli-0.6.0-pbegwent.mjs +0 -2
- package/dist/chunks/cli-0.6.0-pk4x582t.mjs +0 -2
- package/dist/chunks/cli-0.6.0-pp6kfka3.mjs +0 -2
- package/dist/chunks/cli-0.6.0-pvkfx5f1.mjs +0 -2
- package/dist/chunks/cli-0.6.0-q63ry2jk.mjs +0 -2
- package/dist/chunks/cli-0.6.0-qnby905t.mjs +0 -2
- package/dist/chunks/cli-0.6.0-qzs04ar5.mjs +0 -6
- package/dist/chunks/cli-0.6.0-r3kd85yw.mjs +0 -2
- package/dist/chunks/cli-0.6.0-r5tyrw7e.mjs +0 -59
- package/dist/chunks/cli-0.6.0-r8g9yjbx.mjs +0 -4
- package/dist/chunks/cli-0.6.0-rrp10514.mjs +0 -2
- package/dist/chunks/cli-0.6.0-rvcpxnfv.mjs +0 -2
- package/dist/chunks/cli-0.6.0-rys3h8aw.mjs +0 -2
- package/dist/chunks/cli-0.6.0-rytp9dva.mjs +0 -2
- package/dist/chunks/cli-0.6.0-s2w74466.mjs +0 -15
- package/dist/chunks/cli-0.6.0-s36ckgp3.mjs +0 -2
- package/dist/chunks/cli-0.6.0-s4fa0ekw.mjs +0 -2
- package/dist/chunks/cli-0.6.0-s56fh7wm.mjs +0 -2
- package/dist/chunks/cli-0.6.0-s6hbyqbv.mjs +0 -2
- package/dist/chunks/cli-0.6.0-s7b70a0c.mjs +0 -2
- package/dist/chunks/cli-0.6.0-sa2mtczk.mjs +0 -2
- package/dist/chunks/cli-0.6.0-sd76f2sk.mjs +0 -21
- package/dist/chunks/cli-0.6.0-sh2rvpbt.mjs +0 -2
- package/dist/chunks/cli-0.6.0-ssdst17p.mjs +0 -2
- package/dist/chunks/cli-0.6.0-szxjcmcn.mjs +0 -2
- package/dist/chunks/cli-0.6.0-t2arqp0e.mjs +0 -12
- package/dist/chunks/cli-0.6.0-t91jvdfm.mjs +0 -2
- package/dist/chunks/cli-0.6.0-t93n2gev.mjs +0 -3
- package/dist/chunks/cli-0.6.0-tbe2ca49.mjs +0 -3
- package/dist/chunks/cli-0.6.0-tgc46p2a.mjs +0 -2
- package/dist/chunks/cli-0.6.0-tmwp0q7v.mjs +0 -2
- package/dist/chunks/cli-0.6.0-ttys4ffq.mjs +0 -2
- package/dist/chunks/cli-0.6.0-tz34279s.mjs +0 -3
- package/dist/chunks/cli-0.6.0-v56hqc26.mjs +0 -25
- package/dist/chunks/cli-0.6.0-v7kten40.mjs +0 -2
- package/dist/chunks/cli-0.6.0-v92kj5pr.mjs +0 -2
- package/dist/chunks/cli-0.6.0-vcvchaan.mjs +0 -2
- package/dist/chunks/cli-0.6.0-vj1q5vmq.mjs +0 -5321
- package/dist/chunks/cli-0.6.0-vrp1zbfc.mjs +0 -4
- package/dist/chunks/cli-0.6.0-vy5a76pk.mjs +0 -18
- package/dist/chunks/cli-0.6.0-vzmjmj1n.mjs +0 -133
- package/dist/chunks/cli-0.6.0-wcqzr1n7.mjs +0 -10
- package/dist/chunks/cli-0.6.0-wmt6ytdx.mjs +0 -2
- package/dist/chunks/cli-0.6.0-wnrwh53h.mjs +0 -2
- package/dist/chunks/cli-0.6.0-wz6en1nw.mjs +0 -39
- package/dist/chunks/cli-0.6.0-x7c5eyt4.mjs +0 -2
- package/dist/chunks/cli-0.6.0-xczg4s5m.mjs +0 -2
- package/dist/chunks/cli-0.6.0-xg7esvcf.mjs +0 -2
- package/dist/chunks/cli-0.6.0-xp74d7yz.mjs +0 -1
- package/dist/chunks/cli-0.6.0-xyv90m2s.mjs +0 -2
- package/dist/chunks/cli-0.6.0-xzvyqs4f.mjs +0 -24
- package/dist/chunks/cli-0.6.0-y4g2dppt.mjs +0 -2
- package/dist/chunks/cli-0.6.0-ycj7gxxz.mjs +0 -2
- package/dist/chunks/cli-0.6.0-yryz4xm4.mjs +0 -2
- package/dist/chunks/cli-0.6.0-zabvyppx.mjs +0 -2
- package/dist/chunks/cli-0.6.0-zngss8r1.mjs +0 -2
- package/dist/chunks/cli-0.6.0-zr99z1nr.mjs +0 -5
- package/dist/chunks/cli-0.6.0-zxckyy4s.mjs +0 -2
- package/dist/chunks/cli-0.6.0-zz1dfz4t.mjs +0 -24
- package/dist/chunks/client-0.6.0-djg9p1rh.mjs +0 -1
- package/dist/chunks/color-0.6.0-hpk7e2x9.mjs +0 -1
- package/dist/chunks/compact-0.6.0-gtvx4hy7.mjs +0 -3
- package/dist/chunks/config-0.6.0-f4jc8hpt.mjs +0 -1
- package/dist/chunks/config-0.6.0-jpx4jvj2.mjs +0 -1
- package/dist/chunks/constants-0.6.0-qe49df42.mjs +0 -1
- package/dist/chunks/context-0.6.0-t33461h9.mjs +0 -1
- package/dist/chunks/context-noninteractive-0.6.0-vh1s30rr.mjs +0 -1
- package/dist/chunks/conversation-0.6.0-apb71k2e.mjs +0 -1
- package/dist/chunks/copilotHeaders-0.6.0-2apz8tq4.mjs +0 -1
- package/dist/chunks/copy-0.6.0-yfzmdd0z.mjs +0 -9
- package/dist/chunks/cost-0.6.0-qrhnvqtm.mjs +0 -1
- package/dist/chunks/createSSHSession-0.6.0-2p1n5srr.mjs +0 -1
- package/dist/chunks/createSession-0.6.0-pcy6a299.mjs +0 -1
- package/dist/chunks/debug-0.6.0-39p8tt4j.mjs +0 -1
- package/dist/chunks/defaultActionDeps-0.6.0-8bzdvszj.mjs +0 -1365
- package/dist/chunks/desktop-0.6.0-vxzr6474.mjs +0 -1
- package/dist/chunks/detectRepository-0.6.0-wvjpx2rr.mjs +0 -1
- package/dist/chunks/detection-0.6.0-8thkktsw.mjs +0 -1
- package/dist/chunks/diff-0.6.0-g8kn9exw.mjs +0 -1
- package/dist/chunks/doctor-0.6.0-dxy0j0g4.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-0.6.0-aa892edk.mjs +0 -1
- package/dist/chunks/earlyInput-0.6.0-gj3dyt0d.mjs +0 -1
- package/dist/chunks/effort-0.6.0-g5xfz2eg.mjs +0 -10
- package/dist/chunks/envUtils-0.6.0-tf4st484.mjs +0 -1
- package/dist/chunks/environmentSelection-0.6.0-r5ar2987.mjs +0 -1
- package/dist/chunks/environments-0.6.0-gec3hdz5.mjs +0 -1
- package/dist/chunks/errors-0.6.0-mf51mpgf.mjs +0 -1
- package/dist/chunks/exampleCommands-0.6.0-qg1e4vxh.mjs +0 -1
- package/dist/chunks/exit-0.6.0-xys34kqe.mjs +0 -1
- package/dist/chunks/export-0.6.0-135ccc8z.mjs +0 -2
- package/dist/chunks/extra-usage-0.6.0-aqn3jh3x.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-0.6.0-yw91pfe0.mjs +0 -1
- package/dist/chunks/fast-0.6.0-gw4rymz7.mjs +0 -1
- package/dist/chunks/feedback-0.6.0-j898w96j.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-0.6.0-t26jt3ej.mjs +0 -1
- package/dist/chunks/git-0.6.0-1rjgfq8r.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-0.6.0-ek8depe7.mjs +0 -1
- package/dist/chunks/goal-0.6.0-wdmxdemz.mjs +0 -4
- package/dist/chunks/grove-0.6.0-bge298jb.mjs +0 -1
- package/dist/chunks/growthbook-0.6.0-vkrtxrkt.mjs +0 -1
- package/dist/chunks/headless-0.6.0-kw28r6p5.mjs +0 -2
- package/dist/chunks/heapdump-0.6.0-5130r1vc.mjs +0 -6
- package/dist/chunks/help-0.6.0-krmgwd6p.mjs +0 -1
- package/dist/chunks/hookChains-0.6.0-esxa7jav.mjs +0 -3
- package/dist/chunks/hooks-0.6.0-652920vq.mjs +0 -79
- package/dist/chunks/hooks-0.6.0-tgtx7vah.mjs +0 -1
- package/dist/chunks/ide-0.6.0-j84km85e.mjs +0 -3
- package/dist/chunks/image-processor-napi-0.6.0-tyyms96b.mjs +0 -1
- package/dist/chunks/index-0.6.0-1c8mc7c5.mjs +0 -1
- package/dist/chunks/index-0.6.0-33tqx1q0.mjs +0 -1
- package/dist/chunks/index-0.6.0-4cjwvzjk.mjs +0 -2
- package/dist/chunks/index-0.6.0-8r6qtdvj.mjs +0 -2
- package/dist/chunks/index-0.6.0-9br46rw2.mjs +0 -1
- package/dist/chunks/index-0.6.0-apr64dfb.mjs +0 -1
- package/dist/chunks/index-0.6.0-e79va7fg.mjs +0 -9
- package/dist/chunks/index-0.6.0-f35c7dte.mjs +0 -1
- package/dist/chunks/index-0.6.0-fsb9nqdb.mjs +0 -1
- package/dist/chunks/index-0.6.0-gxd56xhn.mjs +0 -1
- package/dist/chunks/index-0.6.0-kbwkgp90.mjs +0 -5
- package/dist/chunks/index-0.6.0-mhvzn9h5.mjs +0 -1
- package/dist/chunks/index-0.6.0-mxm4er0h.mjs +0 -1
- package/dist/chunks/index-0.6.0-nny5a3rt.mjs +0 -30
- package/dist/chunks/index-0.6.0-nst006cq.mjs +0 -17
- package/dist/chunks/index-0.6.0-rv4pntam.mjs +0 -1
- package/dist/chunks/index-0.6.0-scwzrsg7.mjs +0 -1
- package/dist/chunks/index-0.6.0-w2djrw2s.mjs +0 -9
- package/dist/chunks/index-0.6.0-wb1ws1yr.mjs +0 -1
- package/dist/chunks/index-0.6.0-wjesenkh.mjs +0 -1
- package/dist/chunks/index-0.6.0-y9ppfz99.mjs +0 -1
- package/dist/chunks/index-0.6.0-zem7h5vp.mjs +0 -1
- package/dist/chunks/init-0.6.0-1770vy5g.mjs +0 -1
- package/dist/chunks/initReplBridge-0.6.0-z9198t8c.mjs +0 -1
- package/dist/chunks/ink-0.6.0-qwcph42h.mjs +0 -1
- package/dist/chunks/insights-0.6.0-cw0cadtm.mjs +0 -870
- package/dist/chunks/install-0.6.0-26gqe0fd.mjs +0 -1
- package/dist/chunks/install-github-app-0.6.0-afraccwz.mjs +0 -149
- package/dist/chunks/install-slack-app-0.6.0-ddv0a41d.mjs +0 -1
- package/dist/chunks/instrumentation-0.6.0-2rcak0p8.mjs +0 -1
- package/dist/chunks/interactiveHelpers-0.6.0-jxbk6fey.mjs +0 -1
- package/dist/chunks/keybindings-0.6.0-5ytp6650.mjs +0 -2
- package/dist/chunks/knowledge-0.6.0-ew766111.mjs +0 -2
- package/dist/chunks/latestVersionCache-0.6.0-yy47behr.mjs +0 -1
- package/dist/chunks/loadAgentsDir-0.6.0-80k2aj05.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.6.0-vhh7gzzn.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.6.0-ztp923sq.mjs +0 -1
- package/dist/chunks/log-0.6.0-9tz5q7ps.mjs +0 -1
- package/dist/chunks/main-0.6.0-rzx5483p.mjs +0 -1
- package/dist/chunks/managedEnv-0.6.0-vr46tva8.mjs +0 -1
- package/dist/chunks/mcp-0.6.0-0w7zg3p3.mjs +0 -4
- package/dist/chunks/mcp-0.6.0-6h57nk7y.mjs +0 -1
- package/dist/chunks/mcp-0.6.0-r1061w3f.mjs +0 -17
- package/dist/chunks/mcpb-0.6.0-9ka233fc.mjs +0 -1
- package/dist/chunks/memory-0.6.0-wzcpareq.mjs +0 -3
- package/dist/chunks/mobile-0.6.0-wfnegsdg.mjs +0 -2
- package/dist/chunks/model-0.6.0-2ncemzh6.mjs +0 -1
- package/dist/chunks/model-0.6.0-tefdsge4.mjs +0 -2
- package/dist/chunks/node-0.6.0-x0ve6mnc.mjs +0 -12
- package/dist/chunks/oauth-0.6.0-dqw6k0tz.mjs +0 -1
- package/dist/chunks/openaiShim-0.6.0-22t2dr2z.mjs +0 -14
- package/dist/chunks/output-style-0.6.0-6kqm6df4.mjs +0 -1
- package/dist/chunks/package-D6422PQU-0.6.0-vx7g6m15.mjs +0 -1
- package/dist/chunks/parseConnectUrl-0.6.0-fzb9qfec.mjs +0 -1
- package/dist/chunks/parser-0.6.0-y80gn3tg.mjs +0 -1
- package/dist/chunks/passes-0.6.0-0gxeeegv.mjs +0 -1
- package/dist/chunks/permissions-0.6.0-hke4pdcc.mjs +0 -3
- package/dist/chunks/plan-0.6.0-v60h02ep.mjs +0 -1
- package/dist/chunks/plist-0.6.0-bz14nbfw.mjs +0 -1
- package/dist/chunks/plugin-0.6.0-43b045ac.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-0.6.0-rxgqz1f8.mjs +0 -1
- package/dist/chunks/plugins-0.6.0-c4zsb658.mjs +0 -9
- package/dist/chunks/preActionHook-0.6.0-bxna1trm.mjs +0 -2
- package/dist/chunks/print-0.6.0-09j4e2ec.mjs +0 -57
- package/dist/chunks/privacy-settings-0.6.0-yhesee0k.mjs +0 -1
- package/dist/chunks/process-0.6.0-194s5ayw.mjs +0 -1
- package/dist/chunks/processBashCommand-0.6.0-pfp2pv9w.mjs +0 -1
- package/dist/chunks/processSlashCommand-0.6.0-7xzbb466.mjs +0 -9
- package/dist/chunks/prompt-0.6.0-g86dhhk0.mjs +0 -1
- package/dist/chunks/prompt-0.6.0-zaxw8ms6.mjs +0 -1
- package/dist/chunks/prompts-0.6.0-dk1vzsz0.mjs +0 -1
- package/dist/chunks/protocolHandler-0.6.0-54sm9br3.mjs +0 -13
- package/dist/chunks/provider-0.6.0-f3hjdgnv.mjs +0 -2
- package/dist/chunks/providerProfiles-0.6.0-bxp22mqt.mjs +0 -1
- package/dist/chunks/providerValidation-0.6.0-pvwdjqw3.mjs +0 -6
- package/dist/chunks/rate-limit-options-0.6.0-y2qv27ms.mjs +0 -1
- package/dist/chunks/registerSubcommands-0.6.0-dh1kmqw1.mjs +0 -34
- package/dist/chunks/registry-0.6.0-6zvdx4fa.mjs +0 -1
- package/dist/chunks/release-notes-0.6.0-6p8nx2xc.mjs +0 -5
- package/dist/chunks/reload-plugins-0.6.0-570gszfw.mjs +0 -2
- package/dist/chunks/remote-env-0.6.0-sjemeetj.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-0.6.0-ab80z440.mjs +0 -1
- package/dist/chunks/remoteSession-0.6.0-d07620cv.mjs +0 -1
- package/dist/chunks/rename-0.6.0-nyqpebf6.mjs +0 -1
- package/dist/chunks/replBridgeHandle-0.6.0-pvrxskrc.mjs +0 -1
- package/dist/chunks/replLauncher-0.6.0-1ng5ajaz.mjs +0 -1
- package/dist/chunks/resume-0.6.0-0gcmk4pd.mjs +0 -2
- package/dist/chunks/rewind-0.6.0-ktbtm3a9.mjs +0 -1
- package/dist/chunks/rootOptions-0.6.0-3y0nvcgg.mjs +0 -1
- package/dist/chunks/sandbox-adapter-0.6.0-n03pbpa8.mjs +0 -1
- package/dist/chunks/sandbox-toggle-0.6.0-r6ap16jq.mjs +0 -1
- package/dist/chunks/session-0.6.0-8wj8t5kq.mjs +0 -2
- package/dist/chunks/sessionDiscovery-0.6.0-ggm4y3jm.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-0.6.0-zzn2r4we.mjs +0 -1
- package/dist/chunks/sessionStorage-0.6.0-dqq9e9s8.mjs +0 -1
- package/dist/chunks/settings-0.6.0-ap4tqn54.mjs +0 -1
- package/dist/chunks/setup-0.6.0-mgbyyc71.mjs +0 -5
- package/dist/chunks/sinks-0.6.0-5ekfd4ya.mjs +0 -1
- package/dist/chunks/skills-0.6.0-78btd7cr.mjs +0 -1
- package/dist/chunks/startupProfiler-0.6.0-a2shb6dh.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-0.6.0-3ygq5msd.mjs +0 -1
- package/dist/chunks/state-0.6.0-m6bsf1b6.mjs +0 -1
- package/dist/chunks/stats-0.6.0-w163rgvd.mjs +0 -6
- package/dist/chunks/status-0.6.0-ce1p1nbt.mjs +0 -1
- package/dist/chunks/stickers-0.6.0-j9h7rsnm.mjs +0 -1
- package/dist/chunks/subprocessEnv-0.6.0-ep7ha98p.mjs +0 -1
- package/dist/chunks/tasks-0.6.0-2qdk98p6.mjs +0 -1
- package/dist/chunks/teamHelpers-0.6.0-z26tek6c.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-0.6.0-ydtqht2v.mjs +0 -1
- package/dist/chunks/teleport-0.6.0-sq90w2z1.mjs +0 -1
- package/dist/chunks/terminalSetup-0.6.0-nj633zgj.mjs +0 -1
- package/dist/chunks/theme-0.6.0-gbx1fx14.mjs +0 -1
- package/dist/chunks/thinkback-0.6.0-g650qsc0.mjs +0 -1
- package/dist/chunks/thinkback-play-0.6.0-x83b68dn.mjs +0 -1
- package/dist/chunks/toolPool-0.6.0-p2sms7a9.mjs +0 -1
- package/dist/chunks/toolSearch-0.6.0-wyps3eqc.mjs +0 -1
- package/dist/chunks/tools-0.6.0-xk9wgy5h.mjs +0 -1
- package/dist/chunks/trustedDevice-0.6.0-rgqjeqzg.mjs +0 -1
- package/dist/chunks/turndown.cjs-0.6.0-dsdamyph.mjs +0 -69
- package/dist/chunks/ultrareviewCommand-0.6.0-x19p2w4a.mjs +0 -4
- package/dist/chunks/update-0.6.0-ryw1h5dw.mjs +0 -86
- package/dist/chunks/upgrade-0.6.0-gwrpq422.mjs +0 -1
- package/dist/chunks/upstreamproxy-0.6.0-99efcy5e.mjs +0 -14
- package/dist/chunks/url-handler-napi-0.6.0-k1qxf5y3.mjs +0 -1
- package/dist/chunks/usage-0.6.0-9gygvtnp.mjs +0 -1
- package/dist/chunks/util-0.6.0-pnf3vdnn.mjs +0 -1
- package/dist/chunks/utils-0.6.0-pf338f8r.mjs +0 -1
- package/dist/chunks/vim-0.6.0-xr4692km.mjs +0 -1
- package/dist/chunks/watcher-0.6.0-cypcv0dz.mjs +0 -1
- package/dist/chunks/wiki-0.6.0-hj8m2rct.mjs +0 -132
- package/dist/chunks/worktree-0.6.0-gkckfba3.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-0.6.0-rrpspmv9.mjs +0 -1
- package/dist/chunks/wrapper-0.6.0-hdrsg1aw.mjs +0 -7
- /package/dist/chunks/{cli-0.6.0-ktf52b8k.mjs → cli-0.6.2-1e5p6hw6.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.0-td7dsace.mjs → cli-0.6.2-3eaaj6e5.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.0-hcx40dgf.mjs → cli-0.6.2-7p1ykg1m.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.0-djm9knfa.mjs → cli-0.6.2-adegz2m3.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.0-6hak6gny.mjs → cli-0.6.2-hb4fz4pd.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.0-9zx9qdaq.mjs → cli-0.6.2-hkgnx8g7.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.0-2hnyx7jy.mjs → cli-0.6.2-qk6j042k.mjs} +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Dca as $,Eca as y,a8 as Z,c8 as f,lda as B,oda as K}from"./cli-0.6.2-hhjx89cr.mjs";import{Nha as Y,Vha as E}from"./cli-0.6.2-gqbd9ax6.mjs";import{hpa as N,ipa as x}from"./cli-0.6.2-3rgtxc9f.mjs";import{existsSync as S}from"node:fs";import{homedir as F}from"node:os";import{join as X}from"node:path";function _(){if(Y())return;try{return $().read()?.gemini?.accessToken?.trim()||void 0}catch{return}}function J(b){let w=b?.trim();return w?w:void 0}function V(b=process.env){return J(b.GOOGLE_CLOUD_PROJECT)??J(b.GCLOUD_PROJECT)??J(b.GOOGLE_PROJECT_ID)}function D(b=process.env){let w=J(b.GEMINI_AUTH_MODE)?.toLowerCase();if(w==="api-key"||w==="access-token"||w==="adc")return w;return}function P(b=process.env){let w=J(b.GOOGLE_APPLICATION_CREDENTIALS),q=new Set;if(w)q.add(w);q.add(X(F(),".config","gcloud","application_default_credentials.json"));let O=J(b.APPDATA);if(O)q.add(X(O,"gcloud","application_default_credentials.json"));return[...q]}function k(b=process.env){return P(b).some((w)=>S(w))}function G(b){if(typeof b==="string")return J(b);return J(b?.token)}async function A(){let{GoogleAuth:b}=await import("google-auth-library");return new b({scopes:[z]})}async function L(b,w){if(!k(b))return{kind:"none"};try{let q=await(w.createGoogleAuth??A)(),O=await q.getClient(),R=G(await O.getAccessToken());if(!R)return{kind:"none"};let Q=V(b)??(typeof q.getProjectId==="function"?J(await q.getProjectId().catch(()=>{return})):void 0);return{kind:"adc",credential:R,...Q?{projectId:Q}:{}}}catch{return{kind:"none"}}}async function s(b=process.env,w={}){let q=D(b),O=B(),R=O?.transport==="gemini"?J(O.apiKey):void 0,U=q==="access-token"||q==="adc"?void 0:R;if(U&&(q===void 0||q==="api-key"))return{kind:"api-key",credential:U};let Q=q==="api-key"||q==="adc"?void 0:J(_());if(Q&&(q===void 0||q==="access-token")){let W=V(b);return{kind:"access-token",credential:Q,...W?{projectId:W}:{}}}if(q==="api-key"||q==="access-token")return{kind:"none"};if(w.createGoogleAuth)return L(b,w);return T(J(b.GOOGLE_APPLICATION_CREDENTIALS),J(b.APPDATA),F(),V(b))}var z="https://www.googleapis.com/auth/cloud-platform",C=300000,T;var g=N(()=>{K();E();f();y();T=Z(async(b,w,q,O)=>L({GOOGLE_APPLICATION_CREDENTIALS:b,APPDATA:w,GOOGLE_CLOUD_PROJECT:O,GCLOUD_PROJECT:O,GOOGLE_PROJECT_ID:O,HOME:q},{}),C)});
|
|
2
|
+
export{D as wh,s as xh,g as yh};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{jh as e,mh as fq}from"./cli-0.6.2-334vw6ys.mjs";import{nh as t,ph as Hq}from"./cli-0.6.2-red287ya.mjs";import{ML as o,NL as s,OL as Oq,YD as r,ZD as kq,gE as n,hE as Mq,pm as S,qm as Nq,rm as g,sm as Vq,tm as $,um as Wq,xm as i,ym as Yq}from"./cli-0.6.2-4p9wa0p6.mjs";import{lW as u,nW as Zq}from"./cli-0.6.2-vfdaj8xa.mjs";import{EY as c,FY as Uq,RW as Qq,RY as Xq,kY as M,mY as F}from"./cli-0.6.2-4r69ge5f.mjs";import{p0 as L,q0 as R,r0 as l}from"./cli-0.6.2-jrpted0b.mjs";import{s0 as Lq}from"./cli-0.6.2-d3y2w089.mjs";import{w7 as d,x7 as Jq}from"./cli-0.6.2-hhjx89cr.mjs";import{dpa as a,hpa as Gq}from"./cli-0.6.2-3rgtxc9f.mjs";function qq(){let Z=T.c(1),q;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))q=L(F,{dimColor:!0,children:"Claude Code will be able to read files in this directory and make edits when auto-accept edits is on."}),Z[0]=q;else q=Z[0];return q}function wq(Z){let q=T.c(5),{path:X}=Z,Q;if(q[0]!==X)Q=L(F,{color:"permission",children:X}),q[0]=X,q[1]=Q;else Q=q[1];let N;if(q[2]===Symbol.for("react.memo_cache_sentinel"))N=L(qq,{}),q[2]=N;else N=q[2];let J;if(q[3]!==Q)J=R(M,{flexDirection:"column",paddingX:2,gap:1,children:[Q,N]}),q[3]=Q,q[4]=J;else J=q[4];return J}function Kq(Z){let q=T.c(14),{value:X,onChange:Q,onSubmit:N,error:J,suggestions:V,selectedSuggestion:w}=Z,k;if(q[0]===Symbol.for("react.memo_cache_sentinel"))k=L(F,{children:"Enter the path to the directory:"}),q[0]=k;else k=q[0];let Y;if(q[1]!==Q||q[2]!==N||q[3]!==X)Y=L(M,{borderDimColor:!0,borderStyle:"round",marginY:1,paddingLeft:1,children:L(r,{showCursor:!0,placeholder:`Directory path${d.ellipsis}`,value:X,onChange:Q,onSubmit:N,columns:80,cursorOffset:X.length,onChangeCursorOffset:Aq})}),q[1]=Q,q[2]=N,q[3]=X,q[4]=Y;else Y=q[4];let W;if(q[5]!==w||q[6]!==V)W=V.length>0&&L(M,{marginBottom:1,children:L(t,{suggestions:V,selectedSuggestion:w})}),q[5]=w,q[6]=V,q[7]=W;else W=q[7];let U;if(q[8]!==J)U=J&&L(F,{color:"error",children:J}),q[8]=J,q[9]=U;else U=q[9];let O;if(q[10]!==Y||q[11]!==W||q[12]!==U)O=R(M,{flexDirection:"column",children:[k,Y,W,U]}),q[10]=Y,q[11]=W,q[12]=U,q[13]=O;else O=q[13];return O}function Aq(){}function lq(Z){let q=T.c(34),{onAddDirectory:X,onCancel:Q,permissionContext:N,directoryPath:J}=Z,[V,w]=H.useState(""),[k,Y]=H.useState(null),W;if(q[0]===Symbol.for("react.memo_cache_sentinel"))W=[],q[0]=W;else W=q[0];let[U,O]=H.useState(W),[f,B]=H.useState(0),v;if(q[1]===Symbol.for("react.memo_cache_sentinel"))v=async(z)=>{if(!z){O([]),B(0);return}let G=await e(z);O(G),B(0)},q[1]=v;else v=q[1];let I=c(v,100),C,P;if(q[2]!==I||q[3]!==V)C=()=>{I(V)},P=[V,I],q[2]=I,q[3]=V,q[4]=C,q[5]=P;else C=q[4],P=q[5];H.useEffect(C,P);let m;if(q[6]===Symbol.for("react.memo_cache_sentinel"))m=(z)=>{let G=z.id+"/";w(G),Y(null)},q[6]=m;else m=q[6];let zq=m,_;if(q[7]!==X||q[8]!==N)_=async(z)=>{let G=await o(z,N);if(G.resultType==="success")X(G.absolutePath,!1);else Y(s(G))},q[7]=X,q[8]=N,q[9]=_;else _=q[9];let K=_,D;if(q[10]===Symbol.for("react.memo_cache_sentinel"))D={context:"Settings"},q[10]=D;else D=q[10];u("confirm:no",Q,D);let b;if(q[11]!==K||q[12]!==f||q[13]!==U)b=(z)=>{if(U.length>0){if(z.key==="tab"){z.preventDefault();let G=U[f];if(G)zq(G);return}if(z.key==="return"){z.preventDefault();let G=U[f];if(G)K(G.id+"/");return}if(z.key==="up"||z.ctrl&&z.key==="p"){z.preventDefault(),B((G)=>G<=0?U.length-1:G-1);return}if(z.key==="down"||z.ctrl&&z.key==="n"){z.preventDefault(),B((G)=>G>=U.length-1?0:G+1);return}}},q[11]=K,q[12]=f,q[13]=U,q[14]=b;else b=q[14];let x=b,j;if(q[15]!==J||q[16]!==X||q[17]!==Q)j=(z)=>{if(!J)return;let G=z;q:switch(G){case"yes-session":{X(J,!1);break q}case"yes-remember":{X(J,!0);break q}case"no":Q()}},q[15]=J,q[16]=X,q[17]=Q,q[18]=j;else j=q[18];let y=j,p=J?void 0:Eq,A;if(q[19]!==V||q[20]!==J||q[21]!==k||q[22]!==y||q[23]!==K||q[24]!==f||q[25]!==U)A=J?R(M,{flexDirection:"column",gap:1,children:[L(wq,{path:J}),L(n,{options:Rq,onChange:y,onCancel:()=>y("no")})]}):R(M,{flexDirection:"column",gap:1,marginX:2,children:[L(qq,{}),L(Kq,{value:V,onChange:w,onSubmit:K,error:k,suggestions:U,selectedSuggestion:f})]}),q[19]=V,q[20]=J,q[21]=k,q[22]=y,q[23]=K,q[24]=f,q[25]=U,q[26]=A;else A=q[26];let E;if(q[27]!==Q||q[28]!==p||q[29]!==A)E=L(i,{title:"Add directory to workspace",onCancel:Q,color:"permission",isCancelActive:!1,inputGuide:p,children:A}),q[27]=Q,q[28]=p,q[29]=A,q[30]=E;else E=q[30];let h;if(q[31]!==x||q[32]!==E)h=L(M,{flexDirection:"column",tabIndex:0,autoFocus:!0,onKeyDown:x,children:E}),q[31]=x,q[32]=E,q[33]=h;else h=q[33];return h}function Eq(Z){return Z.pending?R(F,{children:["Press ",Z.keyName," again to exit"]}):R($,{children:[L(S,{shortcut:"Tab",action:"complete"}),L(S,{shortcut:"Enter",action:"add"}),L(g,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"})]})}var T,H,Rq;var Fq=Gq(()=>{Jq();Uq();Oq();kq();Xq();Zq();fq();Vq();Mq();Wq();Yq();Nq();Hq();l();T=a(Qq(),1),H=a(Lq(),1),Rq=[{value:"yes-session",label:"Yes, for this session"},{value:"yes-remember",label:"Yes, and remember this directory"},{value:"no",label:"No"}]});
|
|
2
|
+
export{lq as hh,Fq as ih};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{I8 as x,V7 as X,Z7 as k,m8 as Y}from"./cli-0.6.2-hhjx89cr.mjs";import{dea as $}from"./cli-0.6.2-73vnf2t2.mjs";import{hpa as Z}from"./cli-0.6.2-3rgtxc9f.mjs";import{stat as I}from"fs/promises";import{join as Q,sep as P}from"path";async function H(J){let q=await Y(J);if(!q)return;let K=await X(q),[z,B]=await Promise.all([V(Q(q,"FETCH_HEAD")),K?V(Q(K,"FETCH_HEAD")):Promise.resolve(void 0)]);if(z&&B)return z>B?z:B;return z??B}async function V(J){try{let{mtime:q}=await I(J);return q}catch{return}}var M=Z(()=>{$();k();x()});
|
|
2
|
+
export{H as qb,M as rb};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{Jba as P,N7 as Q,P7 as M,cca as R}from"./cli-0.6.2-hhjx89cr.mjs";import{eha as G,hha as C}from"./cli-0.6.2-g6c6hjc6.mjs";import{hpa as j}from"./cli-0.6.2-3rgtxc9f.mjs";import{promises as I}from"node:fs";import{homedir as y}from"node:os";import K from"node:path";function O(q){let z;try{z=new URL(q)}catch(A){throw Error(`Invalid URL format: ${q}`)}if(z.protocol!=="http:"&&z.protocol!=="https:")throw Error(`Invalid URL protocol: must use http:// or https://, got ${z.protocol}`)}async function g(q){try{let z=process.platform;if(z==="win32"){let{code:V}=await Q("explorer",[q]);return V===0}let A=z==="darwin"?"open":"xdg-open",{code:J}=await Q(A,[q]);return J===0}catch(z){return!1}}function U(){let q=process.env.XDG_DATA_HOME&&process.env.XDG_DATA_HOME.length>0?process.env.XDG_DATA_HOME:K.join(y(),".local","share");return[K.join(q,"applications"),"/usr/local/share/applications","/usr/share/applications","/var/lib/snapd/desktop/applications","/var/lib/flatpak/exports/share/applications"]}function k(q){let z=q.split(`
|
|
2
|
+
`),A=!1;for(let J of z){let V=J.trim();if(V.startsWith("[")){A=V==="[Desktop Entry]";continue}if(!A)continue;if(!V.startsWith("Exec="))continue;let $=V.slice(5).replace(S,"").replace(/%%/g,"%").trim();if($.length===0)return null;let Y=$.match(/^"([^"]+)"|^(\S+)/);if(!Y)return null;return Y[1]??Y[2]??null}return null}async function L(q){for(let z of U()){let A=K.join(z,q);try{return await I.readFile(A,"utf8")}catch(J){}}return null}async function _(q){let{code:z}=await Q("which",[q],{timeout:X,useCwd:!1});return z===0}async function N(){let{code:q,stdout:z}=await Q("xdg-settings",["get","default-web-browser"],{timeout:X,useCwd:!1});if(q!==0)return null;let A=z.trim();if(A.length===0||!A.endsWith(".desktop"))return null;let J=await L(A);if(J==null)return null;return k(J)}async function B(){for(let q of v)if(await _(q))return q;return null}async function m(){if(Z!==void 0)return Z;try{let q=await N();if(q)return Z=q,q}catch(q){G(`browser: xdg-settings detection failed: ${String(q)}`)}try{let q=await B();return Z=q,q}catch(q){return G(`browser: probe list failed: ${String(q)}`),Z=null,null}}async function W(q,z){let{code:A}=await Q(q,[z]);return A===0}async function w(q){try{O(q);let z=process.env.BROWSER,A=process.platform;if(A==="win32"){if(z){let{code:H}=await Q(z,[`"${q}"`]);return H===0}let{code:Y}=await Q("rundll32",["url,OpenURL",q],{});return Y===0}if(A==="darwin"){let Y=z||"open",{code:H}=await Q(Y,[q]);return H===0}if(z){if(await W(z,q))return!0}let J;try{J=P().oauthBrowser}catch(Y){G(`browser: failed to read oauthBrowser setting: ${String(Y)}`)}if(J&&J.length>0){if(await W(J,q))return!0}let V=await m();if(V){if(await W(V,q))return!0}let{code:$}=await Q("xdg-open",[q]);return $===0}catch(z){return!1}}var S,v,X=2000,Z=void 0;var f=j(()=>{M();C();R();S=/%[fFuUdDnNickvm]/g,v=["brave-browser","brave","firefox","chromium","google-chrome","microsoft-edge"]});
|
|
3
|
+
export{g as O0,w as P0,f as Q0};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{gE as h,iE as I,xm as g,ym as k}from"./cli-0.6.2-4p9wa0p6.mjs";import{RW as S,RY as _,mY as s}from"./cli-0.6.2-4r69ge5f.mjs";import{p0 as c,q0 as m,r0 as T}from"./cli-0.6.2-jrpted0b.mjs";import{Gba as b,cca as P}from"./cli-0.6.2-hhjx89cr.mjs";import{dpa as D}from"./cli-0.6.2-3rgtxc9f.mjs";_();P();I();k();T();var v=D(S(),1);function E(C){let e=v.c(17),{customApiKeyTruncated:o,onDone:p}=C,r;if(e[0]!==o||e[1]!==p)r=function(R){e:switch(R){case"yes":{b((n)=>({...n,customApiKeyResponses:{...n.customApiKeyResponses,approved:[...n.customApiKeyResponses?.approved??[],o]}})),p(!0);break e}case"no":b((n)=>({...n,customApiKeyResponses:{...n.customApiKeyResponses,rejected:[...n.customApiKeyResponses?.rejected??[],o]}})),p(!1)}},e[0]=o,e[1]=p,e[2]=r;else r=e[2];let t=r,l;if(e[3]!==t)l=()=>t("no"),e[3]=t,e[4]=l;else l=e[4];let f;if(e[5]===Symbol.for("react.memo_cache_sentinel"))f=c(s,{bold:!0,children:"ANTHROPIC_API_KEY"}),e[5]=f;else f=e[5];let i;if(e[6]!==o)i=m(s,{children:[f,m(s,{children:[": sk-ant-...",o]})]}),e[6]=o,e[7]=i;else i=e[7];let u;if(e[8]===Symbol.for("react.memo_cache_sentinel"))u=c(s,{children:"Do you want to use this API key?"}),e[8]=u;else u=e[8];let y;if(e[9]===Symbol.for("react.memo_cache_sentinel"))y={label:"Yes",value:"yes"},e[9]=y;else y=e[9];let d;if(e[10]===Symbol.for("react.memo_cache_sentinel"))d=[y,{label:m(s,{children:["No (",c(s,{bold:!0,children:"recommended"}),")"]}),value:"no"}],e[10]=d;else d=e[10];let a;if(e[11]!==t)a=c(h,{defaultValue:"no",defaultFocusValue:"no",options:d,onChange:(K)=>t(K),onCancel:()=>t("no")}),e[11]=t,e[12]=a;else a=e[12];let A;if(e[13]!==l||e[14]!==i||e[15]!==a)A=m(g,{title:"Detected a custom API key in your environment",color:"warning",onCancel:l,children:[i,u,a]}),e[13]=l,e[14]=i,e[15]=a,e[16]=A;else A=e[16];return A}
|
|
2
|
+
export{E as da};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import{fpa as T,hpa as J5,ipa as M}from"./cli-0.6.2-3rgtxc9f.mjs";var T0=T((G5,K1)=>{K1.exports=function(){return typeof Promise==="function"&&Promise.prototype&&Promise.prototype.then}});var y=T((O2)=>{var X0,E2=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];O2.getSymbolSize=function(q){if(!q)throw Error('"version" cannot be null or undefined');if(q<1||q>40)throw Error('"version" should be in range from 1 to 40');return q*4+17};O2.getSymbolTotalCodewords=function(q){return E2[q]};O2.getBCHDigit=function($){let q=0;while($!==0)q++,$>>>=1;return q};O2.setToSJISFunction=function(q){if(typeof q!=="function")throw Error('"toSJISFunc" is not a valid function.');X0=q};O2.isKanjiModeEnabled=function(){return typeof X0<"u"};O2.toSJIS=function(q){return X0(q)}});var J0=T((M2)=>{M2.L={bit:1};M2.M={bit:0};M2.Q={bit:3};M2.H={bit:2};function W2($){if(typeof $!=="string")throw Error("Param is not a string");switch($.toLowerCase()){case"l":case"low":return M2.L;case"m":case"medium":return M2.M;case"q":case"quartile":return M2.Q;case"h":case"high":return M2.H;default:throw Error("Unknown EC Level: "+$)}}M2.isValid=function(q){return q&&typeof q.bit<"u"&&q.bit>=0&&q.bit<4};M2.from=function(q,Z){if(M2.isValid(q))return q;try{return W2(q)}catch(J){return Z}}});var X1=T((N5,T1)=>{function O1(){this.buffer=[],this.length=0}O1.prototype={get:function($){let q=Math.floor($/8);return(this.buffer[q]>>>7-$%8&1)===1},put:function($,q){for(let Z=0;Z<q;Z++)this.putBit(($>>>q-Z-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function($){let q=Math.floor(this.length/8);if(this.buffer.length<=q)this.buffer.push(0);if($)this.buffer[q]|=128>>>this.length%8;this.length++}};T1.exports=O1});var V1=T((W5,G1)=>{function s($){if(!$||$<1)throw Error("BitMatrix size must be defined and greater than 0");this.size=$,this.data=new Uint8Array($*$),this.reservedBit=new Uint8Array($*$)}s.prototype.set=function($,q,Z,J){let Q=$*this.size+q;if(this.data[Q]=Z,J)this.reservedBit[Q]=!0};s.prototype.get=function($,q){return this.data[$*this.size+q]};s.prototype.xor=function($,q,Z){this.data[$*this.size+q]^=Z};s.prototype.isReserved=function($,q){return this.reservedBit[$*this.size+q]};G1.exports=s});var N1=T((B2)=>{var _2=y().getSymbolSize;B2.getRowColCoords=function(q){if(q===1)return[];let Z=Math.floor(q/7)+2,J=_2(q),Q=J===145?26:Math.ceil((J-13)/(2*Z-2))*2,F=[J-7];for(let K=1;K<Z-1;K++)F[K]=F[K-1]-Q;return F.push(6),F.reverse()};B2.getPositions=function(q){let Z=[],J=B2.getRowColCoords(q),Q=J.length;for(let F=0;F<Q;F++)for(let K=0;K<Q;K++){if(F===0&&K===0||F===0&&K===Q-1||F===Q-1&&K===0)continue;Z.push([J[F],J[K]])}return Z}});var W1=T((z2)=>{var L2=y().getSymbolSize;z2.getPositions=function(q){let Z=L2(q);return[[0,0],[Z-7,0],[0,Z-7]]}});var L1=T((w2)=>{w2.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};var v={N1:3,N2:3,N3:40,N4:10};w2.isValid=function(q){return q!=null&&q!==""&&!isNaN(q)&&q>=0&&q<=7};w2.from=function(q){return w2.isValid(q)?parseInt(q,10):void 0};w2.getPenaltyN1=function(q){let Z=q.size,J=0,Q=0,F=0,K=null,U=null;for(let R=0;R<Z;R++){Q=F=0,K=U=null;for(let H=0;H<Z;H++){let Y=q.get(R,H);if(Y===K)Q++;else{if(Q>=5)J+=v.N1+(Q-5);K=Y,Q=1}if(Y=q.get(H,R),Y===U)F++;else{if(F>=5)J+=v.N1+(F-5);U=Y,F=1}}if(Q>=5)J+=v.N1+(Q-5);if(F>=5)J+=v.N1+(F-5)}return J};w2.getPenaltyN2=function(q){let Z=q.size,J=0;for(let Q=0;Q<Z-1;Q++)for(let F=0;F<Z-1;F++){let K=q.get(Q,F)+q.get(Q,F+1)+q.get(Q+1,F)+q.get(Q+1,F+1);if(K===4||K===0)J++}return J*v.N2};w2.getPenaltyN3=function(q){let Z=q.size,J=0,Q=0,F=0;for(let K=0;K<Z;K++){Q=F=0;for(let U=0;U<Z;U++){if(Q=Q<<1&2047|q.get(K,U),U>=10&&(Q===1488||Q===93))J++;if(F=F<<1&2047|q.get(U,K),U>=10&&(F===1488||F===93))J++}}return J*v.N3};w2.getPenaltyN4=function(q){let Z=0,J=q.data.length;for(let F=0;F<J;F++)Z+=q.data[F];return Math.abs(Math.ceil(Z*100/J/5)-10)*v.N4};function S2($,q,Z){switch($){case w2.Patterns.PATTERN000:return(q+Z)%2===0;case w2.Patterns.PATTERN001:return q%2===0;case w2.Patterns.PATTERN010:return Z%3===0;case w2.Patterns.PATTERN011:return(q+Z)%3===0;case w2.Patterns.PATTERN100:return(Math.floor(q/2)+Math.floor(Z/3))%2===0;case w2.Patterns.PATTERN101:return q*Z%2+q*Z%3===0;case w2.Patterns.PATTERN110:return(q*Z%2+q*Z%3)%2===0;case w2.Patterns.PATTERN111:return(q*Z%3+(q+Z)%2)%2===0;default:throw Error("bad maskPattern:"+$)}}w2.applyMask=function(q,Z){let J=Z.size;for(let Q=0;Q<J;Q++)for(let F=0;F<J;F++){if(Z.isReserved(F,Q))continue;Z.xor(F,Q,S2(q,F,Q))}};w2.getBestMask=function(q,Z){let J=Object.keys(w2.Patterns).length,Q=0,F=1/0;for(let K=0;K<J;K++){Z(K),w2.applyMask(K,q);let U=w2.getPenaltyN1(q)+w2.getPenaltyN2(q)+w2.getPenaltyN3(q)+w2.getPenaltyN4(q);if(w2.applyMask(K,q),U<F)F=U,Q=K}return Q}});var V0=T((y2)=>{var g=J0(),Q0=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],F0=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];y2.getBlocksCount=function(q,Z){switch(Z){case g.L:return Q0[(q-1)*4+0];case g.M:return Q0[(q-1)*4+1];case g.Q:return Q0[(q-1)*4+2];case g.H:return Q0[(q-1)*4+3];default:return}};y2.getTotalCodewordsCount=function(q,Z){switch(Z){case g.L:return F0[(q-1)*4+0];case g.M:return F0[(q-1)*4+1];case g.Q:return F0[(q-1)*4+2];case g.H:return F0[(q-1)*4+3];default:return}}});var z1=T((D2)=>{var o=new Uint8Array(512),K0=new Uint8Array(256);(function(){let q=1;for(let Z=0;Z<255;Z++)if(o[Z]=q,K0[q]=Z,q<<=1,q&256)q^=285;for(let Z=255;Z<512;Z++)o[Z]=o[Z-255]})();D2.log=function(q){if(q<1)throw Error("log("+q+")");return K0[q]};D2.exp=function(q){return o[q]};D2.mul=function(q,Z){if(q===0||Z===0)return 0;return o[K0[q]+K0[Z]]}});var S1=T((c2)=>{var A0=z1();c2.mul=function(q,Z){let J=new Uint8Array(q.length+Z.length-1);for(let Q=0;Q<q.length;Q++)for(let F=0;F<Z.length;F++)J[Q+F]^=A0.mul(q[Q],Z[F]);return J};c2.mod=function(q,Z){let J=new Uint8Array(q);while(J.length-Z.length>=0){let Q=J[0];for(let K=0;K<Z.length;K++)J[K]^=A0.mul(Z[K],Q);let F=0;while(F<J.length&&J[F]===0)F++;J=J.slice(F)}return J};c2.generateECPolynomial=function(q){let Z=new Uint8Array([1]);for(let J=0;J<q;J++)Z=c2.mul(Z,new Uint8Array([1,A0.exp(J)]));return Z}});var C1=T((z5,f1)=>{var w1=S1();function N0($){if(this.genPoly=void 0,this.degree=$,this.degree)this.initialize(this.degree)}N0.prototype.initialize=function(q){this.degree=q,this.genPoly=w1.generateECPolynomial(this.degree)};N0.prototype.encode=function(q){if(!this.genPoly)throw Error("Encoder not initialized");let Z=new Uint8Array(q.length+this.degree);Z.set(q);let J=w1.mod(Z,this.genPoly),Q=this.degree-J.length;if(Q>0){let F=new Uint8Array(this.degree);return F.set(J,Q),F}return J};f1.exports=N0});var W0=T((x2)=>{x2.isValid=function(q){return!isNaN(q)&&q>=1&&q<=40}});var M0=T((i2)=>{var t="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";t=t.replace(/u/g,"\\u");var n2="(?:(?![A-Z0-9 $%*+\\-./:]|"+t+`)(?:.|[\r
|
|
2
|
+
]))+`;i2.KANJI=new RegExp(t,"g");i2.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");i2.BYTE=new RegExp(n2,"g");i2.NUMERIC=new RegExp("[0-9]+","g");i2.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");var p2=new RegExp("^"+t+"$"),d2=new RegExp("^[0-9]+$"),r2=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");i2.testKanji=function(q){return p2.test(q)};i2.testNumeric=function(q){return d2.test(q)};i2.testAlphanumeric=function(q){return r2.test(q)}});var u=T((F6)=>{var J6=W0(),j0=M0();F6.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]};F6.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]};F6.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]};F6.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]};F6.MIXED={bit:-1};F6.getCharCountIndicator=function(q,Z){if(!q.ccBits)throw Error("Invalid mode: "+q);if(!J6.isValid(Z))throw Error("Invalid version: "+Z);if(Z>=1&&Z<10)return q.ccBits[0];else if(Z<27)return q.ccBits[1];return q.ccBits[2]};F6.getBestModeForData=function(q){if(j0.testNumeric(q))return F6.NUMERIC;else if(j0.testAlphanumeric(q))return F6.ALPHANUMERIC;else if(j0.testKanji(q))return F6.KANJI;else return F6.BYTE};F6.toString=function(q){if(q&&q.id)return q.id;throw Error("Invalid mode")};F6.isValid=function(q){return q&&q.bit&&q.ccBits};function Q6($){if(typeof $!=="string")throw Error("Param is not a string");switch($.toLowerCase()){case"numeric":return F6.NUMERIC;case"alphanumeric":return F6.ALPHANUMERIC;case"kanji":return F6.KANJI;case"byte":return F6.BYTE;default:throw Error("Unknown mode: "+$)}}F6.from=function(q,Z){if(F6.isValid(q))return q;try{return Q6(q)}catch(J){return Z}}});var P1=T((G6)=>{var U0=y(),E6=V0(),g1=J0(),D=u(),z0=W0(),u1=U0.getBCHDigit(7973);function O6($,q,Z){for(let J=1;J<=40;J++)if(q<=G6.getCapacity(J,Z,$))return J;return}function D1($,q){return D.getCharCountIndicator($,q)+4}function T6($,q){let Z=0;return $.forEach(function(J){let Q=D1(J.mode,q);Z+=Q+J.getBitsLength()}),Z}function X6($,q){for(let Z=1;Z<=40;Z++)if(T6($,Z)<=G6.getCapacity(Z,q,D.MIXED))return Z;return}G6.from=function(q,Z){if(z0.isValid(q))return parseInt(q,10);return Z};G6.getCapacity=function(q,Z,J){if(!z0.isValid(q))throw Error("Invalid QR Code version");if(typeof J>"u")J=D.BYTE;let Q=U0.getSymbolTotalCodewords(q),F=E6.getTotalCodewordsCount(q,Z),K=(Q-F)*8;if(J===D.MIXED)return K;let U=K-D1(J,q);switch(J){case D.NUMERIC:return Math.floor(U/10*3);case D.ALPHANUMERIC:return Math.floor(U/11*2);case D.KANJI:return Math.floor(U/13);case D.BYTE:default:return Math.floor(U/8)}};G6.getBestVersionForData=function(q,Z){let J,Q=g1.from(Z,g1.M);if(Array.isArray(q)){if(q.length>1)return X6(q,Q);if(q.length===0)return 1;J=q[0]}else J=q;return O6(J.mode,J.getLength(),Q)};G6.getEncodedBits=function(q){if(!z0.isValid(q)||q<7)throw Error("Invalid QR Code version");let Z=q<<12;while(U0.getBCHDigit(Z)-u1>=0)Z^=7973<<U0.getBCHDigit(Z)-u1;return q<<12|Z}});var c1=T((W6)=>{var k0=y(),v1=k0.getBCHDigit(1335);W6.getEncodedBits=function(q,Z){let J=q.bit<<3|Z,Q=J<<10;while(k0.getBCHDigit(Q)-v1>=0)Q^=1335<<k0.getBCHDigit(Q)-v1;return(J<<10|Q)^21522}});var m1=T((y5,b1)=>{var j6=u();function m($){this.mode=j6.NUMERIC,this.data=$.toString()}m.getBitsLength=function(q){return 10*Math.floor(q/3)+(q%3?q%3*3+1:0)};m.prototype.getLength=function(){return this.data.length};m.prototype.getBitsLength=function(){return m.getBitsLength(this.data.length)};m.prototype.write=function(q){let Z,J,Q;for(Z=0;Z+3<=this.data.length;Z+=3)J=this.data.substr(Z,3),Q=parseInt(J,10),q.put(Q,10);let F=this.data.length-Z;if(F>0)J=this.data.substr(Z),Q=parseInt(J,10),q.put(Q,F*3+1)};b1.exports=m});var l1=T((g5,x1)=>{var _6=u(),S0=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function x($){this.mode=_6.ALPHANUMERIC,this.data=$}x.getBitsLength=function(q){return 11*Math.floor(q/2)+6*(q%2)};x.prototype.getLength=function(){return this.data.length};x.prototype.getBitsLength=function(){return x.getBitsLength(this.data.length)};x.prototype.write=function(q){let Z;for(Z=0;Z+2<=this.data.length;Z+=2){let J=S0.indexOf(this.data[Z])*45;J+=S0.indexOf(this.data[Z+1]),q.put(J,11)}if(this.data.length%2)q.put(S0.indexOf(this.data[Z]),6)};x1.exports=x});var p1=T((u5,n1)=>{var B6=u();function l($){if(this.mode=B6.BYTE,typeof $==="string")this.data=new TextEncoder().encode($);else this.data=new Uint8Array($)}l.getBitsLength=function(q){return q*8};l.prototype.getLength=function(){return this.data.length};l.prototype.getBitsLength=function(){return l.getBitsLength(this.data.length)};l.prototype.write=function($){for(let q=0,Z=this.data.length;q<Z;q++)$.put(this.data[q],8)};n1.exports=l});var r1=T((D5,d1)=>{var I6=u(),L6=y();function n($){this.mode=I6.KANJI,this.data=$}n.getBitsLength=function(q){return q*13};n.prototype.getLength=function(){return this.data.length};n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.length)};n.prototype.write=function($){let q;for(q=0;q<this.data.length;q++){let Z=L6.toSJIS(this.data[q]);if(Z>=33088&&Z<=40956)Z-=33088;else if(Z>=57408&&Z<=60351)Z-=49472;else throw Error("Invalid SJIS character: "+this.data[q]+`
|
|
3
|
+
Make sure your charset is UTF-8`);Z=(Z>>>8&255)*192+(Z&255),$.put(Z,13)}};d1.exports=n});var i1=T((h5,w0)=>{var e={single_source_shortest_paths:function($,q,Z){var J={},Q={};Q[q]=0;var F=e.PriorityQueue.make();F.push(q,0);var K,U,R,H,Y,E,O,X,G;while(!F.empty()){K=F.pop(),U=K.value,H=K.cost,Y=$[U]||{};for(R in Y)if(Y.hasOwnProperty(R)){if(E=Y[R],O=H+E,X=Q[R],G=typeof Q[R]>"u",G||X>O)Q[R]=O,F.push(R,O),J[R]=U}}if(typeof Z<"u"&&typeof Q[Z]>"u"){var A=["Could not find a path from ",q," to ",Z,"."].join("");throw Error(A)}return J},extract_shortest_path_from_predecessor_list:function($,q){var Z=[],J=q,Q;while(J)Z.push(J),Q=$[J],J=$[J];return Z.reverse(),Z},find_path:function($,q,Z){var J=e.single_source_shortest_paths($,q,Z);return e.extract_shortest_path_from_predecessor_list(J,Z)},PriorityQueue:{make:function($){var q=e.PriorityQueue,Z={},J;$=$||{};for(J in q)if(q.hasOwnProperty(J))Z[J]=q[J];return Z.queue=[],Z.sorter=$.sorter||q.default_sorter,Z},default_sorter:function($,q){return $.cost-q.cost},push:function($,q){var Z={value:$,cost:q};this.queue.push(Z),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};if(typeof w0<"u")w0.exports=e});var Z7=T((f6)=>{var N=u(),t1=m1(),e1=l1(),a1=p1(),q7=r1(),a=M0(),R0=y(),z6=i1();function s1($){return unescape(encodeURIComponent($)).length}function q0($,q,Z){let J=[],Q;while((Q=$.exec(Z))!==null)J.push({data:Q[0],index:Q.index,mode:q,length:Q[0].length});return J}function $7($){let q=q0(a.NUMERIC,N.NUMERIC,$),Z=q0(a.ALPHANUMERIC,N.ALPHANUMERIC,$),J,Q;if(R0.isKanjiModeEnabled())J=q0(a.BYTE,N.BYTE,$),Q=q0(a.KANJI,N.KANJI,$);else J=q0(a.BYTE_KANJI,N.BYTE,$),Q=[];return q.concat(Z,J,Q).sort(function(K,U){return K.index-U.index}).map(function(K){return{data:K.data,mode:K.mode,length:K.length}})}function f0($,q){switch(q){case N.NUMERIC:return t1.getBitsLength($);case N.ALPHANUMERIC:return e1.getBitsLength($);case N.KANJI:return q7.getBitsLength($);case N.BYTE:return a1.getBitsLength($)}}function k6($){return $.reduce(function(q,Z){let J=q.length-1>=0?q[q.length-1]:null;if(J&&J.mode===Z.mode)return q[q.length-1].data+=Z.data,q;return q.push(Z),q},[])}function S6($){let q=[];for(let Z=0;Z<$.length;Z++){let J=$[Z];switch(J.mode){case N.NUMERIC:q.push([J,{data:J.data,mode:N.ALPHANUMERIC,length:J.length},{data:J.data,mode:N.BYTE,length:J.length}]);break;case N.ALPHANUMERIC:q.push([J,{data:J.data,mode:N.BYTE,length:J.length}]);break;case N.KANJI:q.push([J,{data:J.data,mode:N.BYTE,length:s1(J.data)}]);break;case N.BYTE:q.push([{data:J.data,mode:N.BYTE,length:s1(J.data)}])}}return q}function w6($,q){let Z={},J={start:{}},Q=["start"];for(let F=0;F<$.length;F++){let K=$[F],U=[];for(let R=0;R<K.length;R++){let H=K[R],Y=""+F+R;U.push(Y),Z[Y]={node:H,lastCount:0},J[Y]={};for(let E=0;E<Q.length;E++){let O=Q[E];if(Z[O]&&Z[O].node.mode===H.mode)J[O][Y]=f0(Z[O].lastCount+H.length,H.mode)-f0(Z[O].lastCount,H.mode),Z[O].lastCount+=H.length;else{if(Z[O])Z[O].lastCount=H.length;J[O][Y]=f0(H.length,H.mode)+4+N.getCharCountIndicator(H.mode,q)}}}Q=U}for(let F=0;F<Q.length;F++)J[Q[F]].end=0;return{map:J,table:Z}}function o1($,q){let Z,J=N.getBestModeForData($);if(Z=N.from(q,J),Z!==N.BYTE&&Z.bit<J.bit)throw Error('"'+$+'" cannot be encoded with mode '+N.toString(Z)+`.
|
|
4
|
+
Suggested mode is: `+N.toString(J));if(Z===N.KANJI&&!R0.isKanjiModeEnabled())Z=N.BYTE;switch(Z){case N.NUMERIC:return new t1($);case N.ALPHANUMERIC:return new e1($);case N.KANJI:return new q7($);case N.BYTE:return new a1($)}}f6.fromArray=function(q){return q.reduce(function(Z,J){if(typeof J==="string")Z.push(o1(J,null));else if(J.data)Z.push(o1(J.data,J.mode));return Z},[])};f6.fromString=function(q,Z){let J=$7(q,R0.isKanjiModeEnabled()),Q=S6(J),F=w6(Q,Z),K=z6.find_path(F.map,"start","end"),U=[];for(let R=1;R<K.length-1;R++)U.push(F.table[K[R]].node);return f6.fromArray(k6(U))};f6.rawSplit=function(q){return f6.fromArray($7(q,R0.isKanjiModeEnabled()))}});var P0=T((i6)=>{var Y0=y(),y0=J0(),g6=X1(),u6=V1(),D6=N1(),h6=W1(),D0=L1(),h0=V0(),P6=C1(),H0=P1(),v6=c1(),c6=u(),g0=Z7();function b6($,q){let Z=$.size,J=h6.getPositions(q);for(let Q=0;Q<J.length;Q++){let F=J[Q][0],K=J[Q][1];for(let U=-1;U<=7;U++){if(F+U<=-1||Z<=F+U)continue;for(let R=-1;R<=7;R++){if(K+R<=-1||Z<=K+R)continue;if(U>=0&&U<=6&&(R===0||R===6)||R>=0&&R<=6&&(U===0||U===6)||U>=2&&U<=4&&R>=2&&R<=4)$.set(F+U,K+R,!0,!0);else $.set(F+U,K+R,!1,!0)}}}}function m6($){let q=$.size;for(let Z=8;Z<q-8;Z++){let J=Z%2===0;$.set(Z,6,J,!0),$.set(6,Z,J,!0)}}function x6($,q){let Z=D6.getPositions(q);for(let J=0;J<Z.length;J++){let Q=Z[J][0],F=Z[J][1];for(let K=-2;K<=2;K++)for(let U=-2;U<=2;U++)if(K===-2||K===2||U===-2||U===2||K===0&&U===0)$.set(Q+K,F+U,!0,!0);else $.set(Q+K,F+U,!1,!0)}}function l6($,q){let Z=$.size,J=H0.getEncodedBits(q),Q,F,K;for(let U=0;U<18;U++)Q=Math.floor(U/3),F=U%3+Z-8-3,K=(J>>U&1)===1,$.set(Q,F,K,!0),$.set(F,Q,K,!0)}function u0($,q,Z){let J=$.size,Q=v6.getEncodedBits(q,Z),F,K;for(F=0;F<15;F++){if(K=(Q>>F&1)===1,F<6)$.set(F,8,K,!0);else if(F<8)$.set(F+1,8,K,!0);else $.set(J-15+F,8,K,!0);if(F<8)$.set(8,J-F-1,K,!0);else if(F<9)$.set(8,15-F-1+1,K,!0);else $.set(8,15-F-1,K,!0)}$.set(J-8,8,1,!0)}function n6($,q){let Z=$.size,J=-1,Q=Z-1,F=7,K=0;for(let U=Z-1;U>0;U-=2){if(U===6)U--;while(!0){for(let R=0;R<2;R++)if(!$.isReserved(Q,U-R)){let H=!1;if(K<q.length)H=(q[K]>>>F&1)===1;if($.set(Q,U-R,H),F--,F===-1)K++,F=7}if(Q+=J,Q<0||Z<=Q){Q-=J,J=-J;break}}}}function p6($,q,Z){let J=new g6;Z.forEach(function(R){J.put(R.mode.bit,4),J.put(R.getLength(),c6.getCharCountIndicator(R.mode,$)),R.write(J)});let Q=Y0.getSymbolTotalCodewords($),F=h0.getTotalCodewordsCount($,q),K=(Q-F)*8;if(J.getLengthInBits()+4<=K)J.put(0,4);while(J.getLengthInBits()%8!==0)J.putBit(0);let U=(K-J.getLengthInBits())/8;for(let R=0;R<U;R++)J.put(R%2?17:236,8);return d6(J,$,q)}function d6($,q,Z){let J=Y0.getSymbolTotalCodewords(q),Q=h0.getTotalCodewordsCount(q,Z),F=J-Q,K=h0.getBlocksCount(q,Z),U=J%K,R=K-U,H=Math.floor(J/K),Y=Math.floor(F/K),E=Y+1,O=H-Y,X=new P6(O),G=0,A=Array(K),V=Array(K),W=0,E0=new Uint8Array($.buffer);for(let b=0;b<K;b++){let O0=b<R?Y:E;A[b]=E0.slice(G,G+O0),V[b]=X.encode(A[b]),G+=O0,W=Math.max(W,O0)}let i=new Uint8Array(J),I=0,z,C;for(z=0;z<W;z++)for(C=0;C<K;C++)if(z<A[C].length)i[I++]=A[C][z];for(z=0;z<O;z++)for(C=0;C<K;C++)i[I++]=V[C][z];return i}function r6($,q,Z,J){let Q;if(Array.isArray($))Q=g0.fromArray($);else if(typeof $==="string"){let H=q;if(!H){let Y=g0.rawSplit($);H=H0.getBestVersionForData(Y,Z)}Q=g0.fromString($,H||40)}else throw Error("Invalid data");let F=H0.getBestVersionForData(Q,Z);if(!F)throw Error("The amount of data is too big to be stored in a QR Code");if(!q)q=F;else if(q<F)throw Error(`
|
|
5
|
+
The chosen QR Code version cannot contain this amount of data.
|
|
6
|
+
Minimum version required to store current data is: `+F+`.
|
|
7
|
+
`);let K=p6(q,Z,Q),U=Y0.getSymbolSize(q),R=new u6(U);if(b6(R,q),m6(R),x6(R,q),u0(R,Z,0),q>=7)l6(R,q);if(n6(R,K),isNaN(J))J=D0.getBestMask(R,u0.bind(null,R,Z));return D0.applyMask(J,R),u0(R,Z,J),{modules:R,version:q,errorCorrectionLevel:Z,maskPattern:J,segments:Q}}i6.create=function(q,Z){if(typeof q>"u"||q==="")throw Error("No input text");let J=y0.M,Q,F;if(typeof Z<"u"){if(J=y0.from(Z.errorCorrectionLevel,y0.M),Q=H0.from(Z.version),F=D0.from(Z.maskPattern),Z.toSJISFunc)Y0.setToSJISFunction(Z.toSJISFunc)}return r6(q,Q,J,F)}});var v0=T((c5,Q7)=>{var o6=M("util"),J7=M("stream"),S=Q7.exports=function(){J7.call(this),this._buffers=[],this._buffered=0,this._reads=[],this._paused=!1,this._encoding="utf8",this.writable=!0};o6.inherits(S,J7);S.prototype.read=function($,q){this._reads.push({length:Math.abs($),allowLess:$<0,func:q}),process.nextTick(function(){if(this._process(),this._paused&&this._reads&&this._reads.length>0)this._paused=!1,this.emit("drain")}.bind(this))};S.prototype.write=function($,q){if(!this.writable)return this.emit("error",Error("Stream not writable")),!1;let Z;if(Buffer.isBuffer($))Z=$;else Z=Buffer.from($,q||this._encoding);if(this._buffers.push(Z),this._buffered+=Z.length,this._process(),this._reads&&this._reads.length===0)this._paused=!0;return this.writable&&!this._paused};S.prototype.end=function($,q){if($)this.write($,q);if(this.writable=!1,!this._buffers)return;if(this._buffers.length===0)this._end();else this._buffers.push(null),this._process()};S.prototype.destroySoon=S.prototype.end;S.prototype._end=function(){if(this._reads.length>0)this.emit("error",Error("Unexpected end of input"));this.destroy()};S.prototype.destroy=function(){if(!this._buffers)return;this.writable=!1,this._reads=null,this._buffers=null,this.emit("close")};S.prototype._processReadAllowingLess=function($){this._reads.shift();let q=this._buffers[0];if(q.length>$.length)this._buffered-=$.length,this._buffers[0]=q.slice($.length),$.func.call(this,q.slice(0,$.length));else this._buffered-=q.length,this._buffers.shift(),$.func.call(this,q)};S.prototype._processRead=function($){this._reads.shift();let q=0,Z=0,J=Buffer.alloc($.length);while(q<$.length){let Q=this._buffers[Z++],F=Math.min(Q.length,$.length-q);if(Q.copy(J,q,0,F),q+=F,F!==Q.length)this._buffers[--Z]=Q.slice(F)}if(Z>0)this._buffers.splice(0,Z);this._buffered-=$.length,$.func.call(this,J)};S.prototype._process=function(){try{while(this._buffered>0&&this._reads&&this._reads.length>0){let $=this._reads[0];if($.allowLess)this._processReadAllowingLess($);else if(this._buffered>=$.length)this._processRead($);else break}if(this._buffers&&!this.writable)this._end()}catch($){this.emit("error",$)}}});var c0=T((t6)=>{var h=[{x:[0],y:[0]},{x:[4],y:[0]},{x:[0,4],y:[4]},{x:[2,6],y:[0,4]},{x:[0,2,4,6],y:[2,6]},{x:[1,3,5,7],y:[0,2,4,6]},{x:[0,1,2,3,4,5,6,7],y:[1,3,5,7]}];t6.getImagePasses=function($,q){let Z=[],J=$%8,Q=q%8,F=($-J)/8,K=(q-Q)/8;for(let U=0;U<h.length;U++){let R=h[U],H=F*R.x.length,Y=K*R.y.length;for(let E=0;E<R.x.length;E++)if(R.x[E]<J)H++;else break;for(let E=0;E<R.y.length;E++)if(R.y[E]<Q)Y++;else break;if(H>0&&Y>0)Z.push({width:H,height:Y,index:U})}return Z};t6.getInterlaceIterator=function($){return function(q,Z,J){let Q=q%h[J].x.length,F=(q-Q)/h[J].x.length*8+h[J].x[Q],K=Z%h[J].y.length,U=(Z-K)/h[J].y.length*8+h[J].y[K];return F*4+U*$*4}}});var b0=T((m5,F7)=>{F7.exports=function(q,Z,J){let Q=q+Z-J,F=Math.abs(Q-q),K=Math.abs(Q-Z),U=Math.abs(Q-J);if(F<=K&&F<=U)return q;if(K<=U)return Z;return J}});var m0=T((x5,U7)=>{var qq=c0(),$q=b0();function K7($,q,Z){let J=$*q;if(Z!==8)J=Math.ceil(J/(8/Z));return J}var p=U7.exports=function($,q){let{width:Z,height:J,interlace:Q,bpp:F,depth:K}=$;if(this.read=q.read,this.write=q.write,this.complete=q.complete,this._imageIndex=0,this._images=[],Q){let U=qq.getImagePasses(Z,J);for(let R=0;R<U.length;R++)this._images.push({byteWidth:K7(U[R].width,F,K),height:U[R].height,lineIndex:0})}else this._images.push({byteWidth:K7(Z,F,K),height:J,lineIndex:0});if(K===8)this._xComparison=F;else if(K===16)this._xComparison=F*2;else this._xComparison=1};p.prototype.start=function(){this.read(this._images[this._imageIndex].byteWidth+1,this._reverseFilterLine.bind(this))};p.prototype._unFilterType1=function($,q,Z){let J=this._xComparison,Q=J-1;for(let F=0;F<Z;F++){let K=$[1+F],U=F>Q?q[F-J]:0;q[F]=K+U}};p.prototype._unFilterType2=function($,q,Z){let J=this._lastLine;for(let Q=0;Q<Z;Q++){let F=$[1+Q],K=J?J[Q]:0;q[Q]=F+K}};p.prototype._unFilterType3=function($,q,Z){let J=this._xComparison,Q=J-1,F=this._lastLine;for(let K=0;K<Z;K++){let U=$[1+K],R=F?F[K]:0,H=K>Q?q[K-J]:0,Y=Math.floor((H+R)/2);q[K]=U+Y}};p.prototype._unFilterType4=function($,q,Z){let J=this._xComparison,Q=J-1,F=this._lastLine;for(let K=0;K<Z;K++){let U=$[1+K],R=F?F[K]:0,H=K>Q?q[K-J]:0,Y=K>Q&&F?F[K-J]:0,E=$q(H,R,Y);q[K]=U+E}};p.prototype._reverseFilterLine=function($){let q=$[0],Z,J=this._images[this._imageIndex],Q=J.byteWidth;if(q===0)Z=$.slice(1,Q+1);else switch(Z=Buffer.alloc(Q),q){case 1:this._unFilterType1($,Z,Q);break;case 2:this._unFilterType2($,Z,Q);break;case 3:this._unFilterType3($,Z,Q);break;case 4:this._unFilterType4($,Z,Q);break;default:throw Error("Unrecognised filter type - "+q)}if(this.write(Z),J.lineIndex++,J.lineIndex>=J.height)this._lastLine=null,this._imageIndex++,J=this._images[this._imageIndex];else this._lastLine=Z;if(J)this.read(J.byteWidth+1,this._reverseFilterLine.bind(this));else this._lastLine=null,this.complete()}});var Y7=T((l5,H7)=>{var Zq=M("util"),R7=v0(),Jq=m0(),Qq=H7.exports=function($){R7.call(this);let q=[],Z=this;this._filter=new Jq($,{read:this.read.bind(this),write:function(J){q.push(J)},complete:function(){Z.emit("complete",Buffer.concat(q))}}),this._filter.start()};Zq.inherits(Qq,R7)});var d=T((n5,E7)=>{E7.exports={PNG_SIGNATURE:[137,80,78,71,13,10,26,10],TYPE_IHDR:1229472850,TYPE_IEND:1229278788,TYPE_IDAT:1229209940,TYPE_PLTE:1347179589,TYPE_tRNS:1951551059,TYPE_gAMA:1732332865,COLORTYPE_GRAYSCALE:0,COLORTYPE_PALETTE:1,COLORTYPE_COLOR:2,COLORTYPE_ALPHA:4,COLORTYPE_PALETTE_COLOR:3,COLORTYPE_COLOR_ALPHA:6,COLORTYPE_TO_BPP_MAP:{0:1,2:3,3:1,4:2,6:4},GAMMA_DIVISION:1e5}});var n0=T((p5,O7)=>{var x0=[];(function(){for(let $=0;$<256;$++){let q=$;for(let Z=0;Z<8;Z++)if(q&1)q=3988292384^q>>>1;else q=q>>>1;x0[$]=q}})();var l0=O7.exports=function(){this._crc=-1};l0.prototype.write=function($){for(let q=0;q<$.length;q++)this._crc=x0[(this._crc^$[q])&255]^this._crc>>>8;return!0};l0.prototype.crc32=function(){return this._crc^-1};l0.crc32=function($){let q=-1;for(let Z=0;Z<$.length;Z++)q=x0[(q^$[Z])&255]^q>>>8;return q^-1}});var p0=T((d5,T7)=>{var j=d(),Fq=n0(),_=T7.exports=function($,q){this._options=$,$.checkCRC=$.checkCRC!==!1,this._hasIHDR=!1,this._hasIEND=!1,this._emittedHeadersFinished=!1,this._palette=[],this._colorType=0,this._chunks={},this._chunks[j.TYPE_IHDR]=this._handleIHDR.bind(this),this._chunks[j.TYPE_IEND]=this._handleIEND.bind(this),this._chunks[j.TYPE_IDAT]=this._handleIDAT.bind(this),this._chunks[j.TYPE_PLTE]=this._handlePLTE.bind(this),this._chunks[j.TYPE_tRNS]=this._handleTRNS.bind(this),this._chunks[j.TYPE_gAMA]=this._handleGAMA.bind(this),this.read=q.read,this.error=q.error,this.metadata=q.metadata,this.gamma=q.gamma,this.transColor=q.transColor,this.palette=q.palette,this.parsed=q.parsed,this.inflateData=q.inflateData,this.finished=q.finished,this.simpleTransparency=q.simpleTransparency,this.headersFinished=q.headersFinished||function(){}};_.prototype.start=function(){this.read(j.PNG_SIGNATURE.length,this._parseSignature.bind(this))};_.prototype._parseSignature=function($){let q=j.PNG_SIGNATURE;for(let Z=0;Z<q.length;Z++)if($[Z]!==q[Z]){this.error(Error("Invalid file signature"));return}this.read(8,this._parseChunkBegin.bind(this))};_.prototype._parseChunkBegin=function($){let q=$.readUInt32BE(0),Z=$.readUInt32BE(4),J="";for(let F=4;F<8;F++)J+=String.fromCharCode($[F]);let Q=Boolean($[4]&32);if(!this._hasIHDR&&Z!==j.TYPE_IHDR){this.error(Error("Expected IHDR on beggining"));return}if(this._crc=new Fq,this._crc.write(Buffer.from(J)),this._chunks[Z])return this._chunks[Z](q);if(!Q){this.error(Error("Unsupported critical chunk type "+J));return}this.read(q+4,this._skipChunk.bind(this))};_.prototype._skipChunk=function(){this.read(8,this._parseChunkBegin.bind(this))};_.prototype._handleChunkEnd=function(){this.read(4,this._parseChunkEnd.bind(this))};_.prototype._parseChunkEnd=function($){let q=$.readInt32BE(0),Z=this._crc.crc32();if(this._options.checkCRC&&Z!==q){this.error(Error("Crc error - "+q+" - "+Z));return}if(!this._hasIEND)this.read(8,this._parseChunkBegin.bind(this))};_.prototype._handleIHDR=function($){this.read($,this._parseIHDR.bind(this))};_.prototype._parseIHDR=function($){this._crc.write($);let q=$.readUInt32BE(0),Z=$.readUInt32BE(4),J=$[8],Q=$[9],F=$[10],K=$[11],U=$[12];if(J!==8&&J!==4&&J!==2&&J!==1&&J!==16){this.error(Error("Unsupported bit depth "+J));return}if(!(Q in j.COLORTYPE_TO_BPP_MAP)){this.error(Error("Unsupported color type"));return}if(F!==0){this.error(Error("Unsupported compression method"));return}if(K!==0){this.error(Error("Unsupported filter method"));return}if(U!==0&&U!==1){this.error(Error("Unsupported interlace method"));return}this._colorType=Q;let R=j.COLORTYPE_TO_BPP_MAP[this._colorType];this._hasIHDR=!0,this.metadata({width:q,height:Z,depth:J,interlace:Boolean(U),palette:Boolean(Q&j.COLORTYPE_PALETTE),color:Boolean(Q&j.COLORTYPE_COLOR),alpha:Boolean(Q&j.COLORTYPE_ALPHA),bpp:R,colorType:Q}),this._handleChunkEnd()};_.prototype._handlePLTE=function($){this.read($,this._parsePLTE.bind(this))};_.prototype._parsePLTE=function($){this._crc.write($);let q=Math.floor($.length/3);for(let Z=0;Z<q;Z++)this._palette.push([$[Z*3],$[Z*3+1],$[Z*3+2],255]);this.palette(this._palette),this._handleChunkEnd()};_.prototype._handleTRNS=function($){this.simpleTransparency(),this.read($,this._parseTRNS.bind(this))};_.prototype._parseTRNS=function($){if(this._crc.write($),this._colorType===j.COLORTYPE_PALETTE_COLOR){if(this._palette.length===0){this.error(Error("Transparency chunk must be after palette"));return}if($.length>this._palette.length){this.error(Error("More transparent colors than palette size"));return}for(let q=0;q<$.length;q++)this._palette[q][3]=$[q];this.palette(this._palette)}if(this._colorType===j.COLORTYPE_GRAYSCALE)this.transColor([$.readUInt16BE(0)]);if(this._colorType===j.COLORTYPE_COLOR)this.transColor([$.readUInt16BE(0),$.readUInt16BE(2),$.readUInt16BE(4)]);this._handleChunkEnd()};_.prototype._handleGAMA=function($){this.read($,this._parseGAMA.bind(this))};_.prototype._parseGAMA=function($){this._crc.write($),this.gamma($.readUInt32BE(0)/j.GAMMA_DIVISION),this._handleChunkEnd()};_.prototype._handleIDAT=function($){if(!this._emittedHeadersFinished)this._emittedHeadersFinished=!0,this.headersFinished();this.read(-$,this._parseIDAT.bind(this,$))};_.prototype._parseIDAT=function($,q){if(this._crc.write(q),this._colorType===j.COLORTYPE_PALETTE_COLOR&&this._palette.length===0)throw Error("Expected palette not found");this.inflateData(q);let Z=$-q.length;if(Z>0)this._handleIDAT(Z);else this._handleChunkEnd()};_.prototype._handleIEND=function($){this.read($,this._parseIEND.bind(this))};_.prototype._parseIEND=function($){if(this._crc.write($),this._hasIEND=!0,this._handleChunkEnd(),this.finished)this.finished()}});var d0=T((Eq)=>{var X7=c0(),Kq=[function(){},function($,q,Z,J){if(J===q.length)throw Error("Ran out of data");let Q=q[J];$[Z]=Q,$[Z+1]=Q,$[Z+2]=Q,$[Z+3]=255},function($,q,Z,J){if(J+1>=q.length)throw Error("Ran out of data");let Q=q[J];$[Z]=Q,$[Z+1]=Q,$[Z+2]=Q,$[Z+3]=q[J+1]},function($,q,Z,J){if(J+2>=q.length)throw Error("Ran out of data");$[Z]=q[J],$[Z+1]=q[J+1],$[Z+2]=q[J+2],$[Z+3]=255},function($,q,Z,J){if(J+3>=q.length)throw Error("Ran out of data");$[Z]=q[J],$[Z+1]=q[J+1],$[Z+2]=q[J+2],$[Z+3]=q[J+3]}],Uq=[function(){},function($,q,Z,J){let Q=q[0];$[Z]=Q,$[Z+1]=Q,$[Z+2]=Q,$[Z+3]=J},function($,q,Z){let J=q[0];$[Z]=J,$[Z+1]=J,$[Z+2]=J,$[Z+3]=q[1]},function($,q,Z,J){$[Z]=q[0],$[Z+1]=q[1],$[Z+2]=q[2],$[Z+3]=J},function($,q,Z){$[Z]=q[0],$[Z+1]=q[1],$[Z+2]=q[2],$[Z+3]=q[3]}];function Rq($,q){let Z=[],J=0;function Q(){if(J===$.length)throw Error("Ran out of data");let F=$[J];J++;let K,U,R,H,Y,E,O,X;switch(q){default:throw Error("unrecognised depth");case 16:O=$[J],J++,Z.push((F<<8)+O);break;case 4:O=F&15,X=F>>4,Z.push(X,O);break;case 2:Y=F&3,E=F>>2&3,O=F>>4&3,X=F>>6&3,Z.push(X,O,E,Y);break;case 1:K=F&1,U=F>>1&1,R=F>>2&1,H=F>>3&1,Y=F>>4&1,E=F>>5&1,O=F>>6&1,X=F>>7&1,Z.push(X,O,E,Y,H,R,U,K);break}}return{get:function(F){while(Z.length<F)Q();let K=Z.slice(0,F);return Z=Z.slice(F),K},resetAfterLine:function(){Z.length=0},end:function(){if(J!==$.length)throw Error("extra data found")}}}function Hq($,q,Z,J,Q,F){let{width:K,height:U,index:R}=$;for(let H=0;H<U;H++)for(let Y=0;Y<K;Y++){let E=Z(Y,H,R);Kq[J](q,Q,E,F),F+=J}return F}function Yq($,q,Z,J,Q,F){let{width:K,height:U,index:R}=$;for(let H=0;H<U;H++){for(let Y=0;Y<K;Y++){let E=Q.get(J),O=Z(Y,H,R);Uq[J](q,E,O,F)}Q.resetAfterLine()}}Eq.dataToBitMap=function($,q){let{width:Z,height:J,depth:Q,bpp:F,interlace:K}=q,U;if(Q!==8)U=Rq($,Q);let R;if(Q<=8)R=Buffer.alloc(Z*J*4);else R=new Uint16Array(Z*J*4);let H=Math.pow(2,Q)-1,Y=0,E,O;if(K)E=X7.getImagePasses(Z,J),O=X7.getInterlaceIterator(Z,J);else{let X=0;O=function(){let G=X;return X+=4,G},E=[{width:Z,height:J}]}for(let X=0;X<E.length;X++)if(Q===8)Y=Hq(E[X],R,O,F,$,Y);else Yq(E[X],R,O,F,U,H);if(Q===8){if(Y!==$.length)throw Error("extra data found")}else U.end();return R}});var r0=T((i5,G7)=>{function Tq($,q,Z,J,Q){let F=0;for(let K=0;K<J;K++)for(let U=0;U<Z;U++){let R=Q[$[F]];if(!R)throw Error("index "+$[F]+" not in palette");for(let H=0;H<4;H++)q[F+H]=R[H];F+=4}}function Xq($,q,Z,J,Q){let F=0;for(let K=0;K<J;K++)for(let U=0;U<Z;U++){let R=!1;if(Q.length===1){if(Q[0]===$[F])R=!0}else if(Q[0]===$[F]&&Q[1]===$[F+1]&&Q[2]===$[F+2])R=!0;if(R)for(let H=0;H<4;H++)q[F+H]=0;F+=4}}function Gq($,q,Z,J,Q){let F=255,K=Math.pow(2,Q)-1,U=0;for(let R=0;R<J;R++)for(let H=0;H<Z;H++){for(let Y=0;Y<4;Y++)q[U+Y]=Math.floor($[U+Y]*F/K+0.5);U+=4}}G7.exports=function($,q){let{depth:Z,width:J,height:Q,colorType:F,transColor:K,palette:U}=q,R=$;if(F===3)Tq($,R,J,Q,U);else{if(K)Xq($,R,J,Q,K);if(Z!==8){if(Z===16)R=Buffer.alloc(J*Q*4);Gq($,R,J,Q,Z)}}return R}});var N7=T((s5,A7)=>{var Vq=M("util"),i0=M("zlib"),V7=v0(),Aq=Y7(),Nq=p0(),Wq=d0(),Mq=r0(),f=A7.exports=function($){V7.call(this),this._parser=new Nq($,{read:this.read.bind(this),error:this._handleError.bind(this),metadata:this._handleMetaData.bind(this),gamma:this.emit.bind(this,"gamma"),palette:this._handlePalette.bind(this),transColor:this._handleTransColor.bind(this),finished:this._finished.bind(this),inflateData:this._inflateData.bind(this),simpleTransparency:this._simpleTransparency.bind(this),headersFinished:this._headersFinished.bind(this)}),this._options=$,this.writable=!0,this._parser.start()};Vq.inherits(f,V7);f.prototype._handleError=function($){if(this.emit("error",$),this.writable=!1,this.destroy(),this._inflate&&this._inflate.destroy)this._inflate.destroy();if(this._filter)this._filter.destroy(),this._filter.on("error",function(){});this.errord=!0};f.prototype._inflateData=function($){if(!this._inflate)if(this._bitmapInfo.interlace)this._inflate=i0.createInflate(),this._inflate.on("error",this.emit.bind(this,"error")),this._filter.on("complete",this._complete.bind(this)),this._inflate.pipe(this._filter);else{let Z=((this._bitmapInfo.width*this._bitmapInfo.bpp*this._bitmapInfo.depth+7>>3)+1)*this._bitmapInfo.height,J=Math.max(Z,i0.Z_MIN_CHUNK);this._inflate=i0.createInflate({chunkSize:J});let Q=Z,F=this.emit.bind(this,"error");this._inflate.on("error",function(U){if(!Q)return;F(U)}),this._filter.on("complete",this._complete.bind(this));let K=this._filter.write.bind(this._filter);this._inflate.on("data",function(U){if(!Q)return;if(U.length>Q)U=U.slice(0,Q);Q-=U.length,K(U)}),this._inflate.on("end",this._filter.end.bind(this._filter))}this._inflate.write($)};f.prototype._handleMetaData=function($){this._metaData=$,this._bitmapInfo=Object.create($),this._filter=new Aq(this._bitmapInfo)};f.prototype._handleTransColor=function($){this._bitmapInfo.transColor=$};f.prototype._handlePalette=function($){this._bitmapInfo.palette=$};f.prototype._simpleTransparency=function(){this._metaData.alpha=!0};f.prototype._headersFinished=function(){this.emit("metadata",this._metaData)};f.prototype._finished=function(){if(this.errord)return;if(!this._inflate)this.emit("error","No Inflate block");else this._inflate.end()};f.prototype._complete=function($){if(this.errord)return;let q;try{let Z=Wq.dataToBitMap($,this._bitmapInfo);q=Mq(Z,this._bitmapInfo),Z=null}catch(Z){this._handleError(Z);return}this.emit("parsed",q)}});var M7=T((o5,W7)=>{var k=d();W7.exports=function($,q,Z,J){let Q=[k.COLORTYPE_COLOR_ALPHA,k.COLORTYPE_ALPHA].indexOf(J.colorType)!==-1;if(J.colorType===J.inputColorType){let G=function(){let A=new ArrayBuffer(2);return new DataView(A).setInt16(0,256,!0),new Int16Array(A)[0]!==256}();if(J.bitDepth===8||J.bitDepth===16&&G)return $}let F=J.bitDepth!==16?$:new Uint16Array($.buffer),K=255,U=k.COLORTYPE_TO_BPP_MAP[J.inputColorType];if(U===4&&!J.inputHasAlpha)U=3;let R=k.COLORTYPE_TO_BPP_MAP[J.colorType];if(J.bitDepth===16)K=65535,R*=2;let H=Buffer.alloc(q*Z*R),Y=0,E=0,O=J.bgColor||{};if(O.red===void 0)O.red=K;if(O.green===void 0)O.green=K;if(O.blue===void 0)O.blue=K;function X(){let G,A,V,W=K;switch(J.inputColorType){case k.COLORTYPE_COLOR_ALPHA:W=F[Y+3],G=F[Y],A=F[Y+1],V=F[Y+2];break;case k.COLORTYPE_COLOR:G=F[Y],A=F[Y+1],V=F[Y+2];break;case k.COLORTYPE_ALPHA:W=F[Y+1],G=F[Y],A=G,V=G;break;case k.COLORTYPE_GRAYSCALE:G=F[Y],A=G,V=G;break;default:throw Error("input color type:"+J.inputColorType+" is not supported at present")}if(J.inputHasAlpha){if(!Q)W/=K,G=Math.min(Math.max(Math.round((1-W)*O.red+W*G),0),K),A=Math.min(Math.max(Math.round((1-W)*O.green+W*A),0),K),V=Math.min(Math.max(Math.round((1-W)*O.blue+W*V),0),K)}return{red:G,green:A,blue:V,alpha:W}}for(let G=0;G<Z;G++)for(let A=0;A<q;A++){let V=X(F,Y);switch(J.colorType){case k.COLORTYPE_COLOR_ALPHA:case k.COLORTYPE_COLOR:if(J.bitDepth===8){if(H[E]=V.red,H[E+1]=V.green,H[E+2]=V.blue,Q)H[E+3]=V.alpha}else if(H.writeUInt16BE(V.red,E),H.writeUInt16BE(V.green,E+2),H.writeUInt16BE(V.blue,E+4),Q)H.writeUInt16BE(V.alpha,E+6);break;case k.COLORTYPE_ALPHA:case k.COLORTYPE_GRAYSCALE:{let W=(V.red+V.green+V.blue)/3;if(J.bitDepth===8){if(H[E]=W,Q)H[E+1]=V.alpha}else if(H.writeUInt16BE(W,E),Q)H.writeUInt16BE(V.alpha,E+2);break}default:throw Error("unrecognised color Type "+J.colorType)}Y+=U,E+=R}return H}});var B7=T((t5,_7)=>{var j7=b0();function jq($,q,Z,J,Q){for(let F=0;F<Z;F++)J[Q+F]=$[q+F]}function _q($,q,Z){let J=0,Q=q+Z;for(let F=q;F<Q;F++)J+=Math.abs($[F]);return J}function Bq($,q,Z,J,Q,F){for(let K=0;K<Z;K++){let U=K>=F?$[q+K-F]:0,R=$[q+K]-U;J[Q+K]=R}}function Iq($,q,Z,J){let Q=0;for(let F=0;F<Z;F++){let K=F>=J?$[q+F-J]:0,U=$[q+F]-K;Q+=Math.abs(U)}return Q}function Lq($,q,Z,J,Q){for(let F=0;F<Z;F++){let K=q>0?$[q+F-Z]:0,U=$[q+F]-K;J[Q+F]=U}}function zq($,q,Z){let J=0,Q=q+Z;for(let F=q;F<Q;F++){let K=q>0?$[F-Z]:0,U=$[F]-K;J+=Math.abs(U)}return J}function kq($,q,Z,J,Q,F){for(let K=0;K<Z;K++){let U=K>=F?$[q+K-F]:0,R=q>0?$[q+K-Z]:0,H=$[q+K]-(U+R>>1);J[Q+K]=H}}function Sq($,q,Z,J){let Q=0;for(let F=0;F<Z;F++){let K=F>=J?$[q+F-J]:0,U=q>0?$[q+F-Z]:0,R=$[q+F]-(K+U>>1);Q+=Math.abs(R)}return Q}function wq($,q,Z,J,Q,F){for(let K=0;K<Z;K++){let U=K>=F?$[q+K-F]:0,R=q>0?$[q+K-Z]:0,H=q>0&&K>=F?$[q+K-(Z+F)]:0,Y=$[q+K]-j7(U,R,H);J[Q+K]=Y}}function fq($,q,Z,J){let Q=0;for(let F=0;F<Z;F++){let K=F>=J?$[q+F-J]:0,U=q>0?$[q+F-Z]:0,R=q>0&&F>=J?$[q+F-(Z+J)]:0,H=$[q+F]-j7(K,U,R);Q+=Math.abs(H)}return Q}var Cq={0:jq,1:Bq,2:Lq,3:kq,4:wq},yq={0:_q,1:Iq,2:zq,3:Sq,4:fq};_7.exports=function($,q,Z,J,Q){let F;if(!("filterType"in J)||J.filterType===-1)F=[0,1,2,3,4];else if(typeof J.filterType==="number")F=[J.filterType];else throw Error("unrecognised filter types");if(J.bitDepth===16)Q*=2;let K=q*Q,U=0,R=0,H=Buffer.alloc((K+1)*Z),Y=F[0];for(let E=0;E<Z;E++){if(F.length>1){let O=1/0;for(let X=0;X<F.length;X++){let G=yq[F[X]]($,R,K,Q);if(G<O)Y=F[X],O=G}}H[U]=Y,U++,Cq[Y]($,R,K,H,U,Q),U+=K,R+=K}return H}});var s0=T((e5,I7)=>{var B=d(),gq=n0(),uq=M7(),Dq=B7(),hq=M("zlib"),P=I7.exports=function($){if(this._options=$,$.deflateChunkSize=$.deflateChunkSize||32768,$.deflateLevel=$.deflateLevel!=null?$.deflateLevel:9,$.deflateStrategy=$.deflateStrategy!=null?$.deflateStrategy:3,$.inputHasAlpha=$.inputHasAlpha!=null?$.inputHasAlpha:!0,$.deflateFactory=$.deflateFactory||hq.createDeflate,$.bitDepth=$.bitDepth||8,$.colorType=typeof $.colorType==="number"?$.colorType:B.COLORTYPE_COLOR_ALPHA,$.inputColorType=typeof $.inputColorType==="number"?$.inputColorType:B.COLORTYPE_COLOR_ALPHA,[B.COLORTYPE_GRAYSCALE,B.COLORTYPE_COLOR,B.COLORTYPE_COLOR_ALPHA,B.COLORTYPE_ALPHA].indexOf($.colorType)===-1)throw Error("option color type:"+$.colorType+" is not supported at present");if([B.COLORTYPE_GRAYSCALE,B.COLORTYPE_COLOR,B.COLORTYPE_COLOR_ALPHA,B.COLORTYPE_ALPHA].indexOf($.inputColorType)===-1)throw Error("option input color type:"+$.inputColorType+" is not supported at present");if($.bitDepth!==8&&$.bitDepth!==16)throw Error("option bit depth:"+$.bitDepth+" is not supported at present")};P.prototype.getDeflateOptions=function(){return{chunkSize:this._options.deflateChunkSize,level:this._options.deflateLevel,strategy:this._options.deflateStrategy}};P.prototype.createDeflate=function(){return this._options.deflateFactory(this.getDeflateOptions())};P.prototype.filterData=function($,q,Z){let J=uq($,q,Z,this._options),Q=B.COLORTYPE_TO_BPP_MAP[this._options.colorType];return Dq(J,q,Z,this._options,Q)};P.prototype._packChunk=function($,q){let Z=q?q.length:0,J=Buffer.alloc(Z+12);if(J.writeUInt32BE(Z,0),J.writeUInt32BE($,4),q)q.copy(J,8);return J.writeInt32BE(gq.crc32(J.slice(4,J.length-4)),J.length-4),J};P.prototype.packGAMA=function($){let q=Buffer.alloc(4);return q.writeUInt32BE(Math.floor($*B.GAMMA_DIVISION),0),this._packChunk(B.TYPE_gAMA,q)};P.prototype.packIHDR=function($,q){let Z=Buffer.alloc(13);return Z.writeUInt32BE($,0),Z.writeUInt32BE(q,4),Z[8]=this._options.bitDepth,Z[9]=this._options.colorType,Z[10]=0,Z[11]=0,Z[12]=0,this._packChunk(B.TYPE_IHDR,Z)};P.prototype.packIDAT=function($){return this._packChunk(B.TYPE_IDAT,$)};P.prototype.packIEND=function(){return this._packChunk(B.TYPE_IEND,null)}});var S7=T((a5,k7)=>{var Pq=M("util"),L7=M("stream"),vq=d(),cq=s0(),z7=k7.exports=function($){L7.call(this);let q=$||{};this._packer=new cq(q),this._deflate=this._packer.createDeflate(),this.readable=!0};Pq.inherits(z7,L7);z7.prototype.pack=function($,q,Z,J){if(this.emit("data",Buffer.from(vq.PNG_SIGNATURE)),this.emit("data",this._packer.packIHDR(q,Z)),J)this.emit("data",this._packer.packGAMA(J));let Q=this._packer.filterData($,q,Z);this._deflate.on("error",this.emit.bind(this,"error")),this._deflate.on("data",function(F){this.emit("data",this._packer.packIDAT(F))}.bind(this)),this._deflate.on("end",function(){this.emit("data",this._packer.packIEND()),this.emit("end")}.bind(this)),this._deflate.end(Q)}});var u7=T(($0,g7)=>{var w7=M("assert").ok,r=M("zlib"),bq=M("util"),f7=M("buffer").kMaxLength;function c($){if(!(this instanceof c))return new c($);if($&&$.chunkSize<r.Z_MIN_CHUNK)$.chunkSize=r.Z_MIN_CHUNK;if(r.Inflate.call(this,$),this._offset=this._offset===void 0?this._outOffset:this._offset,this._buffer=this._buffer||this._outBuffer,$&&$.maxLength!=null)this._maxLength=$.maxLength}function mq($){return new c($)}function C7($,q){if(q)process.nextTick(q);if(!$._handle)return;$._handle.close(),$._handle=null}c.prototype._processChunk=function($,q,Z){if(typeof Z==="function")return r.Inflate._processChunk.call(this,$,q,Z);let J=this,Q=$&&$.length,F=this._chunkSize-this._offset,K=this._maxLength,U=0,R=[],H=0,Y;this.on("error",function(G){Y=G});function E(G,A){if(J._hadError)return;let V=F-A;if(w7(V>=0,"have should not go down"),V>0){let W=J._buffer.slice(J._offset,J._offset+V);if(J._offset+=V,W.length>K)W=W.slice(0,K);if(R.push(W),H+=W.length,K-=W.length,K===0)return!1}if(A===0||J._offset>=J._chunkSize)F=J._chunkSize,J._offset=0,J._buffer=Buffer.allocUnsafe(J._chunkSize);if(A===0)return U+=Q-G,Q=G,!0;return!1}w7(this._handle,"zlib binding closed");let O;do O=this._handle.writeSync(q,$,U,Q,this._buffer,this._offset,F),O=O||this._writeState;while(!this._hadError&&E(O[0],O[1]));if(this._hadError)throw Y;if(H>=f7)throw C7(this),RangeError("Cannot create final Buffer. It would be larger than 0x"+f7.toString(16)+" bytes");let X=Buffer.concat(R,H);return C7(this),X};bq.inherits(c,r.Inflate);function xq($,q){if(typeof q==="string")q=Buffer.from(q);if(!(q instanceof Buffer))throw TypeError("Not a string or buffer");let Z=$._finishFlushFlag;if(Z==null)Z=r.Z_FINISH;return $._processChunk(q,Z)}function y7($,q){return xq(new c(q),$)}g7.exports=$0=y7;$0.Inflate=c;$0.createInflate=mq;$0.inflateSync=y7});var o0=T((q$,h7)=>{var D7=h7.exports=function($){this._buffer=$,this._reads=[]};D7.prototype.read=function($,q){this._reads.push({length:Math.abs($),allowLess:$<0,func:q})};D7.prototype.process=function(){while(this._reads.length>0&&this._buffer.length){let $=this._reads[0];if(this._buffer.length&&(this._buffer.length>=$.length||$.allowLess)){this._reads.shift();let q=this._buffer;this._buffer=q.slice($.length),$.func.call(this,q.slice(0,$.length))}else break}if(this._reads.length>0)return Error("There are some read requests waitng on finished stream");if(this._buffer.length>0)return Error("unrecognised content at end of stream")}});var P7=T((pq)=>{var lq=o0(),nq=m0();pq.process=function($,q){let Z=[],J=new lq($);return new nq(q,{read:J.read.bind(J),write:function(F){Z.push(F)},complete:function(){}}).start(),J.process(),Buffer.concat(Z)}});var m7=T((Z$,b7)=>{var v7=!0,c7=M("zlib"),rq=u7();if(!c7.deflateSync)v7=!1;var iq=o0(),sq=P7(),oq=p0(),tq=d0(),eq=r0();b7.exports=function($,q){if(!v7)throw Error("To use the sync capability of this library in old node versions, please pin pngjs to v2.3.0");let Z;function J(I){Z=I}let Q;function F(I){Q=I}function K(I){Q.transColor=I}function U(I){Q.palette=I}function R(){Q.alpha=!0}let H;function Y(I){H=I}let E=[];function O(I){E.push(I)}let X=new iq($);if(new oq(q,{read:X.read.bind(X),error:J,metadata:F,gamma:Y,palette:U,transColor:K,inflateData:O,simpleTransparency:R}).start(),X.process(),Z)throw Z;let A=Buffer.concat(E);E.length=0;let V;if(Q.interlace)V=c7.inflateSync(A);else{let z=((Q.width*Q.bpp*Q.depth+7>>3)+1)*Q.height;V=rq(A,{chunkSize:z,maxLength:z})}if(A=null,!V||!V.length)throw Error("bad png - invalid inflate data response");let W=sq.process(V,Q);A=null;let E0=tq.dataToBitMap(W,Q);W=null;let i=eq(E0,Q);return Q.data=i,Q.gamma=H||0,Q}});var p7=T((J$,n7)=>{var x7=!0,l7=M("zlib");if(!l7.deflateSync)x7=!1;var aq=d(),q4=s0();n7.exports=function($,q){if(!x7)throw Error("To use the sync capability of this library in old node versions, please pin pngjs to v2.3.0");let J=new q4(q||{}),Q=[];if(Q.push(Buffer.from(aq.PNG_SIGNATURE)),Q.push(J.packIHDR($.width,$.height)),$.gamma)Q.push(J.packGAMA($.gamma));let F=J.filterData($.data,$.width,$.height),K=l7.deflateSync(F,J.getDeflateOptions());if(F=null,!K||!K.length)throw Error("bad png - invalid compressed data response");return Q.push(J.packIDAT(K)),Q.push(J.packIEND()),Buffer.concat(Q)}});var d7=T((J4)=>{var $4=m7(),Z4=p7();J4.read=function($,q){return $4($,q||{})};J4.write=function($,q){return Z4($,q)}});var i7=T((Y4)=>{var K4=M("util"),r7=M("stream"),U4=N7(),R4=S7(),H4=d7(),L=Y4.PNG=function($){if(r7.call(this),$=$||{},this.width=$.width|0,this.height=$.height|0,this.data=this.width>0&&this.height>0?Buffer.alloc(4*this.width*this.height):null,$.fill&&this.data)this.data.fill(0);this.gamma=0,this.readable=this.writable=!0,this._parser=new U4($),this._parser.on("error",this.emit.bind(this,"error")),this._parser.on("close",this._handleClose.bind(this)),this._parser.on("metadata",this._metadata.bind(this)),this._parser.on("gamma",this._gamma.bind(this)),this._parser.on("parsed",function(q){this.data=q,this.emit("parsed",q)}.bind(this)),this._packer=new R4($),this._packer.on("data",this.emit.bind(this,"data")),this._packer.on("end",this.emit.bind(this,"end")),this._parser.on("close",this._handleClose.bind(this)),this._packer.on("error",this.emit.bind(this,"error"))};K4.inherits(L,r7);L.sync=H4;L.prototype.pack=function(){if(!this.data||!this.data.length)return this.emit("error","No data provided"),this;return process.nextTick(function(){this._packer.pack(this.data,this.width,this.height,this.gamma)}.bind(this)),this};L.prototype.parse=function($,q){if(q){let Z,J;Z=function(Q){this.removeListener("error",J),this.data=Q,q(null,this)}.bind(this),J=function(Q){this.removeListener("parsed",Z),q(Q,null)}.bind(this),this.once("parsed",Z),this.once("error",J)}return this.end($),this};L.prototype.write=function($){return this._parser.write($),!0};L.prototype.end=function($){this._parser.end($)};L.prototype._metadata=function($){this.width=$.width,this.height=$.height,this.emit("metadata",$)};L.prototype._gamma=function($){this.gamma=$};L.prototype._handleClose=function(){if(!this._parser.writable&&!this._packer.readable)this.emit("close")};L.bitblt=function($,q,Z,J,Q,F,K,U){if(Z|=0,J|=0,Q|=0,F|=0,K|=0,U|=0,Z>$.width||J>$.height||Z+Q>$.width||J+F>$.height)throw Error("bitblt reading outside image");if(K>q.width||U>q.height||K+Q>q.width||U+F>q.height)throw Error("bitblt writing outside image");for(let R=0;R<F;R++)$.data.copy(q.data,(U+R)*q.width+K<<2,(J+R)*$.width+Z<<2,(J+R)*$.width+Z+Q<<2)};L.prototype.bitblt=function($,q,Z,J,Q,F,K){return L.bitblt(this,$,q,Z,J,Q,F,K),this};L.adjustGamma=function($){if($.gamma){for(let q=0;q<$.height;q++)for(let Z=0;Z<$.width;Z++){let J=$.width*q+Z<<2;for(let Q=0;Q<3;Q++){let F=$.data[J+Q]/255;F=Math.pow(F,0.45454545454545453/$.gamma),$.data[J+Q]=Math.round(F*255)}}$.gamma=0}};L.prototype.adjustGamma=function(){L.adjustGamma(this)}});var Z0=T((E4)=>{function s7($){if(typeof $==="number")$=$.toString();if(typeof $!=="string")throw Error("Color should be defined as hex string");let q=$.slice().replace("#","").split("");if(q.length<3||q.length===5||q.length>8)throw Error("Invalid hex color: "+$);if(q.length===3||q.length===4)q=Array.prototype.concat.apply([],q.map(function(J){return[J,J]}));if(q.length===6)q.push("F","F");let Z=parseInt(q.join(""),16);return{r:Z>>24&255,g:Z>>16&255,b:Z>>8&255,a:Z&255,hex:"#"+q.slice(0,6).join("")}}E4.getOptions=function(q){if(!q)q={};if(!q.color)q.color={};let Z=typeof q.margin>"u"||q.margin===null||q.margin<0?4:q.margin,J=q.width&&q.width>=21?q.width:void 0,Q=q.scale||4;return{width:J,scale:J?4:Q,margin:Z,color:{dark:s7(q.color.dark||"#000000ff"),light:s7(q.color.light||"#ffffffff")},type:q.type,rendererOpts:q.rendererOpts||{}}};E4.getScale=function(q,Z){return Z.width&&Z.width>=q+Z.margin*2?Z.width/(q+Z.margin*2):Z.scale};E4.getImageWidth=function(q,Z){let J=E4.getScale(q,Z);return Math.floor((q+Z.margin*2)*J)};E4.qrToImageData=function(q,Z,J){let Q=Z.modules.size,F=Z.modules.data,K=E4.getScale(Q,J),U=Math.floor((Q+J.margin*2)*K),R=J.margin*K,H=[J.color.light,J.color.dark];for(let Y=0;Y<U;Y++)for(let E=0;E<U;E++){let O=(Y*U+E)*4,X=J.color.light;if(Y>=R&&E>=R&&Y<U-R&&E<U-R){let G=Math.floor((Y-R)/K),A=Math.floor((E-R)/K);X=H[F[G*Q+A]?1:0]}q[O++]=X.r,q[O++]=X.g,q[O++]=X.b,q[O]=X.a}}});var o7=T((A4)=>{var G4=M("fs"),V4=i7().PNG,e0=Z0();A4.render=function(q,Z){let J=e0.getOptions(Z),Q=J.rendererOpts,F=e0.getImageWidth(q.modules.size,J);Q.width=F,Q.height=F;let K=new V4(Q);return e0.qrToImageData(K.data,q,J),K};A4.renderToDataURL=function(q,Z,J){if(typeof J>"u")J=Z,Z=void 0;A4.renderToBuffer(q,Z,function(Q,F){if(Q)J(Q);let K="data:image/png;base64,";K+=F.toString("base64"),J(null,K)})};A4.renderToBuffer=function(q,Z,J){if(typeof J>"u")J=Z,Z=void 0;let Q=A4.render(q,Z),F=[];Q.on("error",J),Q.on("data",function(K){F.push(K)}),Q.on("end",function(){J(null,Buffer.concat(F))}),Q.pack()};A4.renderToFile=function(q,Z,J,Q){if(typeof Q>"u")Q=J,J=void 0;let F=!1,K=(...R)=>{if(F)return;F=!0,Q.apply(null,R)},U=G4.createWriteStream(q);U.on("error",K),U.on("close",K),A4.renderToFileStream(U,Z,J)};A4.renderToFileStream=function(q,Z,J){A4.render(Z,J).pack().pipe(q)}});var e7=T((z4)=>{var _4=Z0(),B4={WW:" ",WB:"▄",BB:"█",BW:"▀"},I4={BB:" ",BW:"▄",WW:"█",WB:"▀"};function L4($,q,Z){if($&&q)return Z.BB;if($&&!q)return Z.BW;if(!$&&q)return Z.WB;return Z.WW}z4.render=function($,q,Z){let J=_4.getOptions(q),Q=B4;if(J.color.dark.hex==="#ffffff"||J.color.light.hex==="#000000")Q=I4;let F=$.modules.size,K=$.modules.data,U="",R=Array(F+J.margin*2+1).join(Q.WW);R=Array(J.margin/2+1).join(R+`
|
|
8
|
+
`);let H=Array(J.margin+1).join(Q.WW);U+=R;for(let Y=0;Y<F;Y+=2){U+=H;for(let E=0;E<F;E++){let O=K[Y*F+E],X=K[(Y+1)*F+E];U+=L4(O,X,Q)}U+=H+`
|
|
9
|
+
`}if(U+=R.slice(0,-1),typeof Z==="function")Z(null,U);return U};z4.renderToFile=function(q,Z,J,Q){if(typeof Q>"u")Q=J,J=void 0;let F=M("fs"),K=z4.render(Z,J);F.writeFile(q,K,Q)}});var a7=T((S4)=>{S4.render=function($,q,Z){let J=$.modules.size,Q=$.modules.data,F="\x1B[40m \x1B[0m",K="\x1B[47m \x1B[0m",U="",R=Array(J+3).join("\x1B[47m \x1B[0m"),H=Array(2).join("\x1B[47m \x1B[0m");U+=R+`
|
|
10
|
+
`;for(let Y=0;Y<J;++Y){U+="\x1B[47m \x1B[0m";for(let E=0;E<J;E++)U+=Q[Y*J+E]?"\x1B[40m \x1B[0m":"\x1B[47m \x1B[0m";U+=H+`
|
|
11
|
+
`}if(U+=R+`
|
|
12
|
+
`,typeof Z==="function")Z(null,U);return U}});var Z2=T((g4)=>{var f4="\x1B[47m\x1B[30m",C4="\x1B[40m\x1B[37m",y4=function($,q,Z){return{"00":"\x1B[0m "+$,"01":"\x1B[0m"+q+"▄"+$,"02":"\x1B[0m"+Z+"▄"+$,10:"\x1B[0m"+q+"▀"+$,11:" ",12:"▄",20:"\x1B[0m"+Z+"▀"+$,21:"▀",22:"█"}},q2=function($,q,Z,J){let Q=q+1;if(Z>=Q||J>=Q||J<-1||Z<-1)return"0";if(Z>=q||J>=q||J<0||Z<0)return"1";let F=J*q+Z;return $[F]?"2":"1"},$2=function($,q,Z,J){return q2($,q,Z,J)+q2($,q,Z,J+1)};g4.render=function($,q,Z){let J=$.modules.size,Q=$.modules.data,F=!!(q&&q.inverse),K=q&&q.inverse?C4:f4,H=y4(K,F?"\x1B[30m":"\x1B[37m",F?"\x1B[37m":"\x1B[30m"),Y=`\x1B[0m
|
|
13
|
+
`+K,E=K;for(let O=-1;O<J+1;O+=2){for(let X=-1;X<J;X++)E+=H[$2(Q,J,X,O)];E+=H[$2(Q,J,J,O)]+Y}if(E+="\x1B[0m",typeof Z==="function")Z(null,E);return E}});var J2=T((P4)=>{var D4=a7(),h4=Z2();P4.render=function($,q,Z){if(q&&q.small)return h4.render($,q,Z);return D4.render($,q,Z)}});var $1=T((m4)=>{var c4=Z0();function Q2($,q){let Z=$.a/255,J=q+'="'+$.hex+'"';return Z<1?J+" "+q+'-opacity="'+Z.toFixed(2).slice(1)+'"':J}function q1($,q,Z){let J=$+q;if(typeof Z<"u")J+=" "+Z;return J}function b4($,q,Z){let J="",Q=0,F=!1,K=0;for(let U=0;U<$.length;U++){let R=Math.floor(U%q),H=Math.floor(U/q);if(!R&&!F)F=!0;if($[U]){if(K++,!(U>0&&R>0&&$[U-1]))J+=F?q1("M",R+Z,0.5+H+Z):q1("m",Q,0),Q=0,F=!1;if(!(R+1<q&&$[U+1]))J+=q1("h",K),K=0}else Q++}return J}m4.render=function(q,Z,J){let Q=c4.getOptions(Z),F=q.modules.size,K=q.modules.data,U=F+Q.margin*2,R=!Q.color.light.a?"":"<path "+Q2(Q.color.light,"fill")+' d="M0 0h'+U+"v"+U+'H0z"/>',H="<path "+Q2(Q.color.dark,"stroke")+' d="'+b4(K,F,Q.margin)+'"/>',Y='viewBox="0 0 '+U+" "+U+'"',O='<svg xmlns="http://www.w3.org/2000/svg" '+(!Q.width?"":'width="'+Q.width+'" height="'+Q.width+'" ')+Y+' shape-rendering="crispEdges">'+R+H+`</svg>
|
|
14
|
+
`;if(typeof J==="function")J(null,O);return O}});var K2=T((n4)=>{var l4=$1();n4.render=l4.render;n4.renderToFile=function(q,Z,J,Q){if(typeof Q>"u")Q=J,J=void 0;let F=M("fs"),U='<?xml version="1.0" encoding="utf-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">'+n4.render(Z,J);F.writeFile(q,U,Q)}});var R2=T((i4)=>{var Z1=Z0();function d4($,q,Z){if($.clearRect(0,0,q.width,q.height),!q.style)q.style={};q.height=Z,q.width=Z,q.style.height=Z+"px",q.style.width=Z+"px"}function r4(){try{return document.createElement("canvas")}catch($){throw Error("You need to specify a canvas element")}}i4.render=function(q,Z,J){let Q=J,F=Z;if(typeof Q>"u"&&(!Z||!Z.getContext))Q=Z,Z=void 0;if(!Z)F=r4();Q=Z1.getOptions(Q);let K=Z1.getImageWidth(q.modules.size,Q),U=F.getContext("2d"),R=U.createImageData(K,K);return Z1.qrToImageData(R.data,q,Q),d4(U,F,K),U.putImageData(R,0,0),F};i4.renderToDataURL=function(q,Z,J){let Q=J;if(typeof Q>"u"&&(!Z||!Z.getContext))Q=Z,Z=void 0;if(!Q)Q={};let F=i4.render(q,Z,Q),K=Q.type||"image/png",U=Q.rendererOpts||{};return F.toDataURL(K,U.quality)}});var Y2=T((e4)=>{var o4=T0(),J1=P0(),H2=R2(),t4=$1();function Q1($,q,Z,J,Q){let F=[].slice.call(arguments,1),K=F.length,U=typeof F[K-1]==="function";if(!U&&!o4())throw Error("Callback required as last argument");if(U){if(K<2)throw Error("Too few arguments provided");if(K===2)Q=Z,Z=q,q=J=void 0;else if(K===3)if(q.getContext&&typeof Q>"u")Q=J,J=void 0;else Q=J,J=Z,Z=q,q=void 0}else{if(K<1)throw Error("Too few arguments provided");if(K===1)Z=q,q=J=void 0;else if(K===2&&!q.getContext)J=Z,Z=q,q=void 0;return new Promise(function(R,H){try{let Y=J1.create(Z,J);R($(Y,q,J))}catch(Y){H(Y)}})}try{let R=J1.create(Z,J);Q(null,$(R,q,J))}catch(R){Q(R)}}e4.create=J1.create;e4.toCanvas=Q1.bind(null,H2.render);e4.toDataURL=Q1.bind(null,H2.renderToDataURL);e4.toString=Q1.bind(null,function($,q,Z){return t4.render($,Z)})});function R5($,q,Z){if(typeof $>"u")throw Error("String required as first argument");if(typeof Z>"u")Z=q,q={};if(typeof Z!=="function")if(!Q5())throw Error("Callback required as last argument");else q=Z||{},Z=null;return{opts:q,cb:Z}}function H5($){switch($){case"svg":return U5;case"terminal":return K5;case"utf8":default:return F5}}function Y5($,q,Z){if(!Z.cb)return new Promise(function(J,Q){try{let F=F1.create(q,Z.opts);return $(F,Z.opts,function(K,U){return K?Q(K):J(U)})}catch(F){Q(F)}});try{let J=F1.create(q,Z.opts);return $(J,Z.opts,Z.cb)}catch(J){Z.cb(J)}}var Q5,F1,A$,F5,K5,U5,E5,O5,T5=function(q,Z,J){let Q=R5(q,Z,J),F=Q.opts?Q.opts.type:void 0,K=H5(F);return Y5(K.render,q,Q)};var X5=J5(()=>{Q5=T0(),F1=P0(),A$=o7(),F5=e7(),K5=J2(),U5=K2();E5=F1.create,O5=Y2().toCanvas});
|
|
15
|
+
export{T5 as mf,X5 as nf};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{$7 as E,Ada as U,Ida as m,R8 as F,V8 as f,_7 as K}from"./cli-0.6.2-hhjx89cr.mjs";import{ofa as v,pfa as x}from"./cli-0.6.2-d3ykxc81.mjs";import{Sga as D,Wga as g}from"./cli-0.6.2-g6c6hjc6.mjs";import{hpa as S}from"./cli-0.6.2-3rgtxc9f.mjs";import{basename as H,dirname as b,join as I,sep as O}from"path";function _(q,B){if(!q)return{directory:B||v(),prefix:""};let G=F(q,B);if(q.endsWith("/")||q.endsWith(O))return{directory:G,prefix:""};let N=b(G),J=H(q);return{directory:N,prefix:J}}async function k(q){let B=Z.get(q);if(B)return B;try{let J=(await D().readdir(q)).filter((M)=>M.isDirectory()&&!M.name.startsWith(".")).map((M)=>({name:M.name,path:I(q,M.name),type:"directory"})).slice(0,100);return Z.set(q,J),J}catch(G){return U(G),[]}}async function P(q,B={}){let{basePath:G=v(),maxResults:N=10}=B,{directory:J,prefix:M}=_(q,G),V=await k(J),z=M.toLowerCase();return V.filter((X)=>X.name.toLowerCase().startsWith(z)).slice(0,N).map((X)=>({id:X.path,displayText:X.name+"/",description:"directory",metadata:{type:"directory"}}))}function o(q){return q.startsWith("~/")||q.startsWith("/")||q.startsWith("./")||q.startsWith("../")||q==="~"||q==="."||q===".."}async function u(q,B=!1){let G=`${q}:${B}`,N=A.get(G);if(N)return N;try{let V=(await D().readdir(q)).filter((z)=>B||!z.name.startsWith(".")).map((z)=>({name:z.name,path:I(q,z.name),type:z.isDirectory()?"directory":"file"})).sort((z,W)=>{if(z.type==="directory"&&W.type!=="directory")return-1;if(z.type!=="directory"&&W.type==="directory")return 1;return z.name.localeCompare(W.name)}).slice(0,100);return A.set(G,V),V}catch(J){return U(J),[]}}async function h(q,B={}){let{basePath:G=v(),maxResults:N=10,includeFiles:J=!0,includeHidden:M=!1}=B,{directory:V,prefix:z}=_(q,G),W=await u(V,M),X=z.toLowerCase(),j=W.filter((Q)=>{if(!J&&Q.type==="file")return!1;return Q.name.toLowerCase().startsWith(X)}).slice(0,N),w=q.includes("/")||q.includes(O),Y="";if(w){let Q=q.lastIndexOf("/"),$=q.lastIndexOf(O),L=Math.max(Q,$);Y=q.substring(0,L+1)}if(Y.startsWith("./")||Y.startsWith("."+O))Y=Y.slice(2);return j.map((Q)=>{let $=Y+Q.name;return{id:$,displayText:Q.type==="directory"?$+"/":$,metadata:{type:Q.type}}})}var R=500,T=300000,Z,A;var C=S(()=>{E();x();g();m();f();Z=new K({max:R,ttl:T}),A=new K({max:R,ttl:T})});
|
|
2
|
+
export{P as jh,o as kh,h as lh,C as mh};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{fpa as I,hpa as YJ}from"./cli-0.6.2-3rgtxc9f.mjs";var N=I((FJ,Iq)=>{var K1=Number.MAX_SAFE_INTEGER||9007199254740991,j1=["major","premajor","minor","preminor","patch","prepatch","prerelease"];Iq.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:K1,RELEASE_TYPES:j1,SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var S=I((OJ,Hq)=>{var z1=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...q)=>console.error("SEMVER",...q):()=>{};Hq.exports=z1});var C=I((L,wq)=>{var{MAX_SAFE_COMPONENT_LENGTH:t,MAX_SAFE_BUILD_LENGTH:Y1,MAX_LENGTH:U1}=N(),F1=S();L=wq.exports={};var O1=L.re=[],I1=L.safeRe=[],j=L.src=[],H1=L.safeSrc=[],z=L.t={},w1=0,r="[a-zA-Z0-9-]",y1=[["\\s",1],["\\d",U1],[r,Y1]],B1=(q)=>{for(let[$,J]of y1)q=q.split(`${$}*`).join(`${$}{0,${J}}`).split(`${$}+`).join(`${$}{1,${J}}`);return q},w=(q,$,J)=>{let Q=B1($),W=w1++;F1(q,W,$),z[q]=W,j[W]=$,H1[W]=Q,O1[W]=new RegExp($,J?"g":void 0),I1[W]=new RegExp(Q,J?"g":void 0)};w("NUMERICIDENTIFIER","0|[1-9]\\d*");w("NUMERICIDENTIFIERLOOSE","\\d+");w("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${r}*`);w("MAINVERSION",`(${j[z.NUMERICIDENTIFIER]})\\.(${j[z.NUMERICIDENTIFIER]})\\.(${j[z.NUMERICIDENTIFIER]})`);w("MAINVERSIONLOOSE",`(${j[z.NUMERICIDENTIFIERLOOSE]})\\.(${j[z.NUMERICIDENTIFIERLOOSE]})\\.(${j[z.NUMERICIDENTIFIERLOOSE]})`);w("PRERELEASEIDENTIFIER",`(?:${j[z.NONNUMERICIDENTIFIER]}|${j[z.NUMERICIDENTIFIER]})`);w("PRERELEASEIDENTIFIERLOOSE",`(?:${j[z.NONNUMERICIDENTIFIER]}|${j[z.NUMERICIDENTIFIERLOOSE]})`);w("PRERELEASE",`(?:-(${j[z.PRERELEASEIDENTIFIER]}(?:\\.${j[z.PRERELEASEIDENTIFIER]})*))`);w("PRERELEASELOOSE",`(?:-?(${j[z.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${j[z.PRERELEASEIDENTIFIERLOOSE]})*))`);w("BUILDIDENTIFIER",`${r}+`);w("BUILD",`(?:\\+(${j[z.BUILDIDENTIFIER]}(?:\\.${j[z.BUILDIDENTIFIER]})*))`);w("FULLPLAIN",`v?${j[z.MAINVERSION]}${j[z.PRERELEASE]}?${j[z.BUILD]}?`);w("FULL",`^${j[z.FULLPLAIN]}$`);w("LOOSEPLAIN",`[v=\\s]*${j[z.MAINVERSIONLOOSE]}${j[z.PRERELEASELOOSE]}?${j[z.BUILD]}?`);w("LOOSE",`^${j[z.LOOSEPLAIN]}$`);w("GTLT","((?:<|>)?=?)");w("XRANGEIDENTIFIERLOOSE",`${j[z.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);w("XRANGEIDENTIFIER",`${j[z.NUMERICIDENTIFIER]}|x|X|\\*`);w("XRANGEPLAIN",`[v=\\s]*(${j[z.XRANGEIDENTIFIER]})(?:\\.(${j[z.XRANGEIDENTIFIER]})(?:\\.(${j[z.XRANGEIDENTIFIER]})(?:${j[z.PRERELEASE]})?${j[z.BUILD]}?)?)?`);w("XRANGEPLAINLOOSE",`[v=\\s]*(${j[z.XRANGEIDENTIFIERLOOSE]})(?:\\.(${j[z.XRANGEIDENTIFIERLOOSE]})(?:\\.(${j[z.XRANGEIDENTIFIERLOOSE]})(?:${j[z.PRERELEASELOOSE]})?${j[z.BUILD]}?)?)?`);w("XRANGE",`^${j[z.GTLT]}\\s*${j[z.XRANGEPLAIN]}$`);w("XRANGELOOSE",`^${j[z.GTLT]}\\s*${j[z.XRANGEPLAINLOOSE]}$`);w("COERCEPLAIN",`(^|[^\\d])(\\d{1,${t}})(?:\\.(\\d{1,${t}}))?(?:\\.(\\d{1,${t}}))?`);w("COERCE",`${j[z.COERCEPLAIN]}(?:$|[^\\d])`);w("COERCEFULL",j[z.COERCEPLAIN]+`(?:${j[z.PRERELEASE]})?(?:${j[z.BUILD]})?(?:$|[^\\d])`);w("COERCERTL",j[z.COERCE],!0);w("COERCERTLFULL",j[z.COERCEFULL],!0);w("LONETILDE","(?:~>?)");w("TILDETRIM",`(\\s*)${j[z.LONETILDE]}\\s+`,!0);L.tildeTrimReplace="$1~";w("TILDE",`^${j[z.LONETILDE]}${j[z.XRANGEPLAIN]}$`);w("TILDELOOSE",`^${j[z.LONETILDE]}${j[z.XRANGEPLAINLOOSE]}$`);w("LONECARET","(?:\\^)");w("CARETTRIM",`(\\s*)${j[z.LONECARET]}\\s+`,!0);L.caretTrimReplace="$1^";w("CARET",`^${j[z.LONECARET]}${j[z.XRANGEPLAIN]}$`);w("CARETLOOSE",`^${j[z.LONECARET]}${j[z.XRANGEPLAINLOOSE]}$`);w("COMPARATORLOOSE",`^${j[z.GTLT]}\\s*(${j[z.LOOSEPLAIN]})$|^$`);w("COMPARATOR",`^${j[z.GTLT]}\\s*(${j[z.FULLPLAIN]})$|^$`);w("COMPARATORTRIM",`(\\s*)${j[z.GTLT]}\\s*(${j[z.LOOSEPLAIN]}|${j[z.XRANGEPLAIN]})`,!0);L.comparatorTrimReplace="$1$2$3";w("HYPHENRANGE",`^\\s*(${j[z.XRANGEPLAIN]})\\s+-\\s+(${j[z.XRANGEPLAIN]})\\s*$`);w("HYPHENRANGELOOSE",`^\\s*(${j[z.XRANGEPLAINLOOSE]})\\s+-\\s+(${j[z.XRANGEPLAINLOOSE]})\\s*$`);w("STAR","(<|>)?=?\\s*\\*");w("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");w("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var b=I((IJ,yq)=>{var x1=Object.freeze({loose:!0}),D1=Object.freeze({}),G1=(q)=>{if(!q)return D1;if(typeof q!=="object")return x1;return q};yq.exports=G1});var o=I((HJ,Dq)=>{var Bq=/^[0-9]+$/,xq=(q,$)=>{if(typeof q==="number"&&typeof $==="number")return q===$?0:q<$?-1:1;let J=Bq.test(q),Q=Bq.test($);if(J&&Q)q=+q,$=+$;return q===$?0:J&&!Q?-1:Q&&!J?1:q<$?-1:1},V1=(q,$)=>xq($,q);Dq.exports={compareIdentifiers:xq,rcompareIdentifiers:V1}});var D=I((wJ,Vq)=>{var h=S(),{MAX_LENGTH:Gq,MAX_SAFE_INTEGER:f}=N(),{safeRe:v,t:d}=C(),X1=b(),{compareIdentifiers:e}=o(),P1=(q,$)=>{let J=$.split(".");if(J.length>q.length)return!1;for(let Q=0;Q<J.length;Q++)if(e(q[Q],J[Q])!==0)return!1;return!0};class A{constructor(q,$){if($=X1($),q instanceof A)if(q.loose===!!$.loose&&q.includePrerelease===!!$.includePrerelease)return q;else q=q.version;else if(typeof q!=="string")throw TypeError(`Invalid version. Must be a string. Got type "${typeof q}".`);if(q.length>Gq)throw TypeError(`version is longer than ${Gq} characters`);h("SemVer",q,$),this.options=$,this.loose=!!$.loose,this.includePrerelease=!!$.includePrerelease;let J=q.trim().match($.loose?v[d.LOOSE]:v[d.FULL]);if(!J)throw TypeError(`Invalid Version: ${q}`);if(this.raw=q,this.major=+J[1],this.minor=+J[2],this.patch=+J[3],this.major>f||this.major<0)throw TypeError("Invalid major version");if(this.minor>f||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>f||this.patch<0)throw TypeError("Invalid patch version");if(!J[4])this.prerelease=[];else this.prerelease=J[4].split(".").map((Q)=>{if(/^[0-9]+$/.test(Q)){let W=+Q;if(W>=0&&W<f)return W}return Q});this.build=J[5]?J[5].split("."):[],this.format()}format(){if(this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length)this.version+=`-${this.prerelease.join(".")}`;return this.version}toString(){return this.version}compare(q){if(h("SemVer.compare",this.version,this.options,q),!(q instanceof A)){if(typeof q==="string"&&q===this.version)return 0;q=new A(q,this.options)}if(q.version===this.version)return 0;return this.compareMain(q)||this.comparePre(q)}compareMain(q){if(!(q instanceof A))q=new A(q,this.options);if(this.major<q.major)return-1;if(this.major>q.major)return 1;if(this.minor<q.minor)return-1;if(this.minor>q.minor)return 1;if(this.patch<q.patch)return-1;if(this.patch>q.patch)return 1;return 0}comparePre(q){if(!(q instanceof A))q=new A(q,this.options);if(this.prerelease.length&&!q.prerelease.length)return-1;else if(!this.prerelease.length&&q.prerelease.length)return 1;else if(!this.prerelease.length&&!q.prerelease.length)return 0;let $=0;do{let J=this.prerelease[$],Q=q.prerelease[$];if(h("prerelease compare",$,J,Q),J===void 0&&Q===void 0)return 0;else if(Q===void 0)return 1;else if(J===void 0)return-1;else if(J===Q)continue;else return e(J,Q)}while(++$)}compareBuild(q){if(!(q instanceof A))q=new A(q,this.options);let $=0;do{let J=this.build[$],Q=q.build[$];if(h("build compare",$,J,Q),J===void 0&&Q===void 0)return 0;else if(Q===void 0)return 1;else if(J===void 0)return-1;else if(J===Q)continue;else return e(J,Q)}while(++$)}inc(q,$,J){if(q.startsWith("pre")){if(!$&&J===!1)throw Error("invalid increment argument: identifier is empty");if($){let Q=`-${$}`.match(this.options.loose?v[d.PRERELEASELOOSE]:v[d.PRERELEASE]);if(!Q||Q[1]!==$)throw Error(`invalid identifier: ${$}`)}}switch(q){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",$,J);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",$,J);break;case"prepatch":this.prerelease.length=0,this.inc("patch",$,J),this.inc("pre",$,J);break;case"prerelease":if(this.prerelease.length===0)this.inc("patch",$,J);this.inc("pre",$,J);break;case"release":if(this.prerelease.length===0)throw Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0)this.major++;this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0)this.minor++;this.patch=0,this.prerelease=[];break;case"patch":if(this.prerelease.length===0)this.patch++;this.prerelease=[];break;case"pre":{let Q=Number(J)?1:0;if(this.prerelease.length===0)this.prerelease=[Q];else{let W=this.prerelease.length;while(--W>=0)if(typeof this.prerelease[W]==="number")this.prerelease[W]++,W=-2;if(W===-1){if($===this.prerelease.join(".")&&J===!1)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(Q)}}if($){let W=[$,Q];if(J===!1)W=[$];if(P1(this.prerelease,$)){let Z=this.prerelease[$.split(".").length];if(isNaN(Z))this.prerelease=W}else this.prerelease=W}break}default:throw Error(`invalid increment argument: ${q}`)}if(this.raw=this.format(),this.build.length)this.raw+=`+${this.build.join(".")}`;return this}}Vq.exports=A});var E=I((yJ,Pq)=>{var Xq=D(),_1=(q,$,J=!1)=>{if(q instanceof Xq)return q;try{return new Xq(q,$)}catch(Q){if(!J)return null;throw Q}};Pq.exports=_1});var Aq=I((BJ,_q)=>{var A1=E(),L1=(q,$)=>{let J=A1(q,$);return J?J.version:null};_q.exports=L1});var Eq=I((xJ,Lq)=>{var E1=E(),N1=(q,$)=>{let J=E1(q.trim().replace(/^[=v]+/,""),$);return J?J.version:null};Lq.exports=N1});var Sq=I((DJ,Cq)=>{var Nq=D(),C1=(q,$,J,Q,W)=>{if(typeof J==="string")W=Q,Q=J,J=void 0;try{return new Nq(q instanceof Nq?q.version:q,J).inc($,Q,W).version}catch(Z){return null}};Cq.exports=C1});var uq=I((GJ,kq)=>{var Rq=E(),S1=(q,$)=>{let J=Rq(q,null,!0),Q=Rq($,null,!0),W=J.compare(Q);if(W===0)return null;let Z=W>0,K=Z?J:Q,Y=Z?Q:J,U=!!K.prerelease.length;if(!!Y.prerelease.length&&!U){if(!Y.patch&&!Y.minor)return"major";if(Y.compareMain(K)===0){if(Y.minor&&!Y.patch)return"minor";return"patch"}}let F=U?"pre":"";if(J.major!==Q.major)return F+"major";if(J.minor!==Q.minor)return F+"minor";if(J.patch!==Q.patch)return F+"patch";return"prerelease"};kq.exports=S1});var Mq=I((VJ,Tq)=>{var R1=D(),k1=(q,$)=>new R1(q,$).major;Tq.exports=k1});var hq=I((XJ,bq)=>{var u1=D(),T1=(q,$)=>new u1(q,$).minor;bq.exports=T1});var vq=I((PJ,fq)=>{var M1=D(),b1=(q,$)=>new M1(q,$).patch;fq.exports=b1});var lq=I((_J,dq)=>{var h1=E(),f1=(q,$)=>{let J=h1(q,$);return J&&J.prerelease.length?J.prerelease:null};dq.exports=f1});var P=I((AJ,cq)=>{var gq=D(),v1=(q,$,J)=>new gq(q,J).compare(new gq($,J));cq.exports=v1});var pq=I((LJ,mq)=>{var d1=P(),l1=(q,$,J)=>d1($,q,J);mq.exports=l1});var aq=I((EJ,sq)=>{var g1=P(),c1=(q,$)=>g1(q,$,!0);sq.exports=c1});var l=I((NJ,iq)=>{var nq=D(),m1=(q,$,J)=>{let Q=new nq(q,J),W=new nq($,J);return Q.compare(W)||Q.compareBuild(W)};iq.exports=m1});var rq=I((CJ,tq)=>{var p1=l(),s1=(q,$)=>q.sort((J,Q)=>p1(J,Q,$));tq.exports=s1});var eq=I((SJ,oq)=>{var a1=l(),n1=(q,$)=>q.sort((J,Q)=>a1(Q,J,$));oq.exports=n1});var R=I((RJ,q0)=>{var i1=P(),t1=(q,$,J)=>i1(q,$,J)>0;q0.exports=t1});var g=I((kJ,$0)=>{var r1=P(),o1=(q,$,J)=>r1(q,$,J)<0;$0.exports=o1});var qq=I((uJ,J0)=>{var e1=P(),q$=(q,$,J)=>e1(q,$,J)===0;J0.exports=q$});var $q=I((TJ,Q0)=>{var $$=P(),J$=(q,$,J)=>$$(q,$,J)!==0;Q0.exports=J$});var c=I((MJ,W0)=>{var Q$=P(),W$=(q,$,J)=>Q$(q,$,J)>=0;W0.exports=W$});var m=I((bJ,Z0)=>{var Z$=P(),K$=(q,$,J)=>Z$(q,$,J)<=0;Z0.exports=K$});var Jq=I((hJ,K0)=>{var j$=qq(),z$=$q(),Y$=R(),U$=c(),F$=g(),O$=m(),I$=(q,$,J,Q)=>{switch($){case"===":if(typeof q==="object")q=q.version;if(typeof J==="object")J=J.version;return q===J;case"!==":if(typeof q==="object")q=q.version;if(typeof J==="object")J=J.version;return q!==J;case"":case"=":case"==":return j$(q,J,Q);case"!=":return z$(q,J,Q);case">":return Y$(q,J,Q);case">=":return U$(q,J,Q);case"<":return F$(q,J,Q);case"<=":return O$(q,J,Q);default:throw TypeError(`Invalid operator: ${$}`)}};K0.exports=I$});var z0=I((fJ,j0)=>{var H$=D(),w$=E(),{safeRe:p,t:s}=C(),y$=(q,$)=>{if(q instanceof H$)return q;if(typeof q==="number")q=String(q);if(typeof q!=="string")return null;$=$||{};let J=null;if(!$.rtl)J=q.match($.includePrerelease?p[s.COERCEFULL]:p[s.COERCE]);else{let U=$.includePrerelease?p[s.COERCERTLFULL]:p[s.COERCERTL],H;while((H=U.exec(q))&&(!J||J.index+J[0].length!==q.length)){if(!J||H.index+H[0].length!==J.index+J[0].length)J=H;U.lastIndex=H.index+H[1].length+H[2].length}U.lastIndex=-1}if(J===null)return null;let Q=J[2],W=J[3]||"0",Z=J[4]||"0",K=$.includePrerelease&&J[5]?`-${J[5]}`:"",Y=$.includePrerelease&&J[6]?`+${J[6]}`:"";return w$(`${Q}.${W}.${Z}${K}${Y}`,$)};j0.exports=y$});var U0=I((vJ,Y0)=>{var B$=E(),x$=N(),D$=D(),G$=(q,$,J)=>{if(!x$.RELEASE_TYPES.includes($))return null;let Q=V$(q,J);return Q&&X$(Q,$)},V$=(q,$)=>{let J=q instanceof D$?q.version:q;return B$(J,$)},X$=(q,$)=>{if(P$($))return q.version;switch(q.prerelease=[],$){case"major":q.minor=0,q.patch=0;break;case"minor":q.patch=0;break}return q.format()},P$=(q)=>{return q.startsWith("pre")};Y0.exports=G$});var I0=I((dJ,O0)=>{class F0{constructor(){this.max=1000,this.map=new Map}get(q){let $=this.map.get(q);if($===void 0)return;else return this.map.delete(q),this.map.set(q,$),$}delete(q){return this.map.delete(q)}set(q,$){if(!this.delete(q)&&$!==void 0){if(this.map.size>=this.max){let Q=this.map.keys().next().value;this.delete(Q)}this.map.set(q,$)}return this}}O0.exports=F0});var _=I((lJ,B0)=>{var _$=/\s+/g;class k{constructor(q,$){if($=L$($),q instanceof k)if(q.loose===!!$.loose&&q.includePrerelease===!!$.includePrerelease)return q;else return new k(q.raw,$);if(q instanceof Qq)return this.raw=q.value,this.set=[[q]],this.formatted=void 0,this;if(this.options=$,this.loose=!!$.loose,this.includePrerelease=!!$.includePrerelease,this.raw=q.trim().replace(_$," "),this.set=this.raw.split("||").map((J)=>this.parseRange(J.trim())).filter((J)=>J.length),!this.set.length)throw TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let J=this.set[0];if(this.set=this.set.filter((Q)=>!w0(Q[0])),this.set.length===0)this.set=[J];else if(this.set.length>1){for(let Q of this.set)if(Q.length===1&&M$(Q[0])){this.set=[Q];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let q=0;q<this.set.length;q++){if(q>0)this.formatted+="||";let $=this.set[q];for(let J=0;J<$.length;J++){if(J>0)this.formatted+=" ";this.formatted+=$[J].toString().trim()}}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(q){q=q.replace(T$,"");let J=((this.options.includePrerelease&&k$)|(this.options.loose&&u$))+":"+q,Q=H0.get(J);if(Q)return Q;let W=this.options.loose,Z=W?V[G.HYPHENRANGELOOSE]:V[G.HYPHENRANGE];q=q.replace(Z,p$(this.options.includePrerelease)),B("hyphen replace",q),q=q.replace(V[G.COMPARATORTRIM],C$),B("comparator trim",q),q=q.replace(V[G.TILDETRIM],S$),B("tilde trim",q),q=q.replace(V[G.CARETTRIM],R$),B("caret trim",q);let K=q.split(" ").map((F)=>b$(F,this.options)).join(" ").split(/\s+/).map((F)=>m$(F,this.options));if(W)K=K.filter((F)=>{return B("loose invalid filter",F,this.options),!!F.match(V[G.COMPARATORLOOSE])});B("range list",K);let Y=new Map,U=K.map((F)=>new Qq(F,this.options));for(let F of U){if(w0(F))return[F];Y.set(F.value,F)}if(Y.size>1&&Y.has(""))Y.delete("");let H=[...Y.values()];return H0.set(J,H),H}intersects(q,$){if(!(q instanceof k))throw TypeError("a Range is required");return this.set.some((J)=>{return y0(J,$)&&q.set.some((Q)=>{return y0(Q,$)&&J.every((W)=>{return Q.every((Z)=>{return W.intersects(Z,$)})})})})}test(q){if(!q)return!1;if(typeof q==="string")try{q=new E$(q,this.options)}catch($){return!1}for(let $=0;$<this.set.length;$++)if(s$(this.set[$],q,this.options))return!0;return!1}}B0.exports=k;var A$=I0(),H0=new A$,L$=b(),Qq=u(),B=S(),E$=D(),{safeRe:V,src:N$,t:G,comparatorTrimReplace:C$,tildeTrimReplace:S$,caretTrimReplace:R$}=C(),{FLAG_INCLUDE_PRERELEASE:k$,FLAG_LOOSE:u$}=N(),T$=new RegExp(N$[G.BUILD],"g"),w0=(q)=>q.value==="<0.0.0-0",M$=(q)=>q.value==="",y0=(q,$)=>{let J=!0,Q=q.slice(),W=Q.pop();while(J&&Q.length)J=Q.every((Z)=>{return W.intersects(Z,$)}),W=Q.pop();return J},b$=(q,$)=>{return q=q.replace(V[G.BUILD],""),B("comp",q,$),q=v$(q,$),B("caret",q),q=h$(q,$),B("tildes",q),q=l$(q,$),B("xrange",q),q=c$(q,$),B("stars",q),q},X=(q)=>!q||q.toLowerCase()==="x"||q==="*",h$=(q,$)=>{return q.trim().split(/\s+/).map((J)=>f$(J,$)).join(" ")},f$=(q,$)=>{let J=$.loose?V[G.TILDELOOSE]:V[G.TILDE];return q.replace(J,(Q,W,Z,K,Y)=>{B("tilde",q,Q,W,Z,K,Y);let U;if(X(W))U="";else if(X(Z))U=`>=${W}.0.0 <${+W+1}.0.0-0`;else if(X(K))U=`>=${W}.${Z}.0 <${W}.${+Z+1}.0-0`;else if(Y)B("replaceTilde pr",Y),U=`>=${W}.${Z}.${K}-${Y} <${W}.${+Z+1}.0-0`;else U=`>=${W}.${Z}.${K} <${W}.${+Z+1}.0-0`;return B("tilde return",U),U})},v$=(q,$)=>{return q.trim().split(/\s+/).map((J)=>d$(J,$)).join(" ")},d$=(q,$)=>{B("caret",q,$);let J=$.loose?V[G.CARETLOOSE]:V[G.CARET],Q=$.includePrerelease?"-0":"";return q.replace(J,(W,Z,K,Y,U)=>{B("caret",q,W,Z,K,Y,U);let H;if(X(Z))H="";else if(X(K))H=`>=${Z}.0.0${Q} <${+Z+1}.0.0-0`;else if(X(Y))if(Z==="0")H=`>=${Z}.${K}.0${Q} <${Z}.${+K+1}.0-0`;else H=`>=${Z}.${K}.0${Q} <${+Z+1}.0.0-0`;else if(U)if(B("replaceCaret pr",U),Z==="0")if(K==="0")H=`>=${Z}.${K}.${Y}-${U} <${Z}.${K}.${+Y+1}-0`;else H=`>=${Z}.${K}.${Y}-${U} <${Z}.${+K+1}.0-0`;else H=`>=${Z}.${K}.${Y}-${U} <${+Z+1}.0.0-0`;else if(B("no pr"),Z==="0")if(K==="0")H=`>=${Z}.${K}.${Y}${Q} <${Z}.${K}.${+Y+1}-0`;else H=`>=${Z}.${K}.${Y}${Q} <${Z}.${+K+1}.0-0`;else H=`>=${Z}.${K}.${Y} <${+Z+1}.0.0-0`;return B("caret return",H),H})},l$=(q,$)=>{return B("replaceXRanges",q,$),q.split(/\s+/).map((J)=>g$(J,$)).join(" ")},g$=(q,$)=>{q=q.trim();let J=$.loose?V[G.XRANGELOOSE]:V[G.XRANGE];return q.replace(J,(Q,W,Z,K,Y,U)=>{B("xRange",q,Q,W,Z,K,Y,U);let H=X(Z),F=H||X(K),y=F||X(Y),x=y;if(W==="="&&x)W="";if(U=$.includePrerelease?"-0":"",H)if(W===">"||W==="<")Q="<0.0.0-0";else Q="*";else if(W&&x){if(F)K=0;if(Y=0,W===">")if(W=">=",F)Z=+Z+1,K=0,Y=0;else K=+K+1,Y=0;else if(W==="<=")if(W="<",F)Z=+Z+1;else K=+K+1;if(W==="<")U="-0";Q=`${W+Z}.${K}.${Y}${U}`}else if(F)Q=`>=${Z}.0.0${U} <${+Z+1}.0.0-0`;else if(y)Q=`>=${Z}.${K}.0${U} <${Z}.${+K+1}.0-0`;return B("xRange return",Q),Q})},c$=(q,$)=>{return B("replaceStars",q,$),q.trim().replace(V[G.STAR],"")},m$=(q,$)=>{return B("replaceGTE0",q,$),q.trim().replace(V[$.includePrerelease?G.GTE0PRE:G.GTE0],"")},p$=(q)=>($,J,Q,W,Z,K,Y,U,H,F,y,x)=>{if(X(Q))J="";else if(X(W))J=`>=${Q}.0.0${q?"-0":""}`;else if(X(Z))J=`>=${Q}.${W}.0${q?"-0":""}`;else if(K)J=`>=${J}`;else J=`>=${J}${q?"-0":""}`;if(X(H))U="";else if(X(F))U=`<${+H+1}.0.0-0`;else if(X(y))U=`<${H}.${+F+1}.0-0`;else if(x)U=`<=${H}.${F}.${y}-${x}`;else if(q)U=`<${H}.${F}.${+y+1}-0`;else U=`<=${U}`;return`${J} ${U}`.trim()},s$=(q,$,J)=>{for(let Q=0;Q<q.length;Q++)if(!q[Q].test($))return!1;if($.prerelease.length&&!J.includePrerelease){for(let Q=0;Q<q.length;Q++){if(B(q[Q].semver),q[Q].semver===Qq.ANY)continue;if(q[Q].semver.prerelease.length>0){let W=q[Q].semver;if(W.major===$.major&&W.minor===$.minor&&W.patch===$.patch)return!0}}return!1}return!0}});var u=I((gJ,P0)=>{var T=Symbol("SemVer ANY");class a{static get ANY(){return T}constructor(q,$){if($=x0($),q instanceof a)if(q.loose===!!$.loose)return q;else q=q.value;if(q=q.trim().split(/\s+/).join(" "),Zq("comparator",q,$),this.options=$,this.loose=!!$.loose,this.parse(q),this.semver===T)this.value="";else this.value=this.operator+this.semver.version;Zq("comp",this)}parse(q){let $=this.options.loose?D0[G0.COMPARATORLOOSE]:D0[G0.COMPARATOR],J=q.match($);if(!J)throw TypeError(`Invalid comparator: ${q}`);if(this.operator=J[1]!==void 0?J[1]:"",this.operator==="=")this.operator="";if(!J[2])this.semver=T;else this.semver=new V0(J[2],this.options.loose)}toString(){return this.value}test(q){if(Zq("Comparator.test",q,this.options.loose),this.semver===T||q===T)return!0;if(typeof q==="string")try{q=new V0(q,this.options)}catch($){return!1}return Wq(q,this.operator,this.semver,this.options)}intersects(q,$){if(!(q instanceof a))throw TypeError("a Comparator is required");if(this.operator===""){if(this.value==="")return!0;return new X0(q.value,$).test(this.value)}else if(q.operator===""){if(q.value==="")return!0;return new X0(this.value,$).test(q.semver)}if($=x0($),$.includePrerelease&&(this.value==="<0.0.0-0"||q.value==="<0.0.0-0"))return!1;if(!$.includePrerelease&&(this.value.startsWith("<0.0.0")||q.value.startsWith("<0.0.0")))return!1;if(this.operator.startsWith(">")&&q.operator.startsWith(">"))return!0;if(this.operator.startsWith("<")&&q.operator.startsWith("<"))return!0;if(this.semver.version===q.semver.version&&this.operator.includes("=")&&q.operator.includes("="))return!0;if(Wq(this.semver,"<",q.semver,$)&&this.operator.startsWith(">")&&q.operator.startsWith("<"))return!0;if(Wq(this.semver,">",q.semver,$)&&this.operator.startsWith("<")&&q.operator.startsWith(">"))return!0;return!1}}P0.exports=a;var x0=b(),{safeRe:D0,t:G0}=C(),Wq=Jq(),Zq=S(),V0=D(),X0=_()});var M=I((cJ,_0)=>{var a$=_(),n$=(q,$,J)=>{try{$=new a$($,J)}catch(Q){return!1}return $.test(q)};_0.exports=n$});var L0=I((mJ,A0)=>{var i$=_(),t$=(q,$)=>new i$(q,$).set.map((J)=>J.map((Q)=>Q.value).join(" ").trim().split(" "));A0.exports=t$});var N0=I((pJ,E0)=>{var r$=D(),o$=_(),e$=(q,$,J)=>{let Q=null,W=null,Z=null;try{Z=new o$($,J)}catch(K){return null}return q.forEach((K)=>{if(Z.test(K)){if(!Q||W.compare(K)===-1)Q=K,W=new r$(Q,J)}}),Q};E0.exports=e$});var S0=I((sJ,C0)=>{var q9=D(),$9=_(),J9=(q,$,J)=>{let Q=null,W=null,Z=null;try{Z=new $9($,J)}catch(K){return null}return q.forEach((K)=>{if(Z.test(K)){if(!Q||W.compare(K)===1)Q=K,W=new q9(Q,J)}}),Q};C0.exports=J9});var u0=I((aJ,k0)=>{var Kq=D(),Q9=_(),R0=R(),W9=(q,$)=>{q=new Q9(q,$);let J=new Kq("0.0.0");if(q.test(J))return J;if(J=new Kq("0.0.0-0"),q.test(J))return J;J=null;for(let Q=0;Q<q.set.length;++Q){let W=q.set[Q],Z=null;if(W.forEach((K)=>{let Y=new Kq(K.semver.version);switch(K.operator){case">":if(Y.prerelease.length===0)Y.patch++;else Y.prerelease.push(0);Y.raw=Y.format();case"":case">=":if(!Z||R0(Y,Z))Z=Y;break;case"<":case"<=":break;default:throw Error(`Unexpected operation: ${K.operator}`)}}),Z&&(!J||R0(J,Z)))J=Z}if(J&&q.test(J))return J;return null};k0.exports=W9});var M0=I((nJ,T0)=>{var Z9=_(),K9=(q,$)=>{try{return new Z9(q,$).range||"*"}catch(J){return null}};T0.exports=K9});var n=I((iJ,v0)=>{var j9=D(),f0=u(),{ANY:z9}=f0,Y9=_(),U9=M(),b0=R(),h0=g(),F9=m(),O9=c(),I9=(q,$,J,Q)=>{q=new j9(q,Q),$=new Y9($,Q);let W,Z,K,Y,U;switch(J){case">":W=b0,Z=F9,K=h0,Y=">",U=">=";break;case"<":W=h0,Z=O9,K=b0,Y="<",U="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"')}if(U9(q,$,Q))return!1;for(let H=0;H<$.set.length;++H){let F=$.set[H],y=null,x=null;if(F.forEach((O)=>{if(O.semver===z9)O=new f0(">=0.0.0");if(y=y||O,x=x||O,W(O.semver,y.semver,Q))y=O;else if(K(O.semver,x.semver,Q))x=O}),y.operator===Y||y.operator===U)return!1;if((!x.operator||x.operator===Y)&&Z(q,x.semver))return!1;else if(x.operator===U&&K(q,x.semver))return!1}return!0};v0.exports=I9});var l0=I((tJ,d0)=>{var H9=n(),w9=(q,$,J)=>H9(q,$,">",J);d0.exports=w9});var c0=I((rJ,g0)=>{var y9=n(),B9=(q,$,J)=>y9(q,$,"<",J);g0.exports=B9});var s0=I((oJ,p0)=>{var m0=_(),x9=(q,$,J)=>{return q=new m0(q,J),$=new m0($,J),q.intersects($,J)};p0.exports=x9});var n0=I((eJ,a0)=>{var D9=M(),G9=P();a0.exports=(q,$,J)=>{let Q=[],W=null,Z=null,K=q.sort((F,y)=>G9(F,y,J));for(let F of K)if(D9(F,$,J)){if(Z=F,!W)W=F}else{if(Z)Q.push([W,Z]);Z=null,W=null}if(W)Q.push([W,null]);let Y=[];for(let[F,y]of Q)if(F===y)Y.push(F);else if(!y&&F===K[0])Y.push("*");else if(!y)Y.push(`>=${F}`);else if(F===K[0])Y.push(`<=${y}`);else Y.push(`${F} - ${y}`);let U=Y.join(" || "),H=typeof $.raw==="string"?$.raw:String($);return U.length<H.length?U:$}});var q1=I((qQ,e0)=>{var i0=_(),Yq=u(),{ANY:jq}=Yq,zq=M(),Uq=P(),V9=(q,$,J={})=>{if(q===$)return!0;q=new i0(q,J),$=new i0($,J);let Q=!1;q:for(let W of q.set){for(let Z of $.set){let K=P9(W,Z,J);if(Q=Q||K!==null,K)continue q}if(Q)return!1}return!0},X9=[new Yq(">=0.0.0-0")],t0=[new Yq(">=0.0.0")],P9=(q,$,J)=>{if(q===$)return!0;if(q.length===1&&q[0].semver===jq)if($.length===1&&$[0].semver===jq)return!0;else if(J.includePrerelease)q=X9;else q=t0;if($.length===1&&$[0].semver===jq)if(J.includePrerelease)return!0;else $=t0;let Q=new Set,W,Z;for(let O of q)if(O.operator===">"||O.operator===">=")W=r0(W,O,J);else if(O.operator==="<"||O.operator==="<=")Z=o0(Z,O,J);else Q.add(O.semver);if(Q.size>1)return null;let K;if(W&&Z){if(K=Uq(W.semver,Z.semver,J),K>0)return null;else if(K===0&&(W.operator!==">="||Z.operator!=="<="))return null}for(let O of Q){if(W&&!zq(O,String(W),J))return null;if(Z&&!zq(O,String(Z),J))return null;for(let Z1 of $)if(!zq(O,String(Z1),J))return!1;return!0}let Y,U,H,F,y=Z&&!J.includePrerelease&&Z.semver.prerelease.length?Z.semver:!1,x=W&&!J.includePrerelease&&W.semver.prerelease.length?W.semver:!1;if(y&&y.prerelease.length===1&&Z.operator==="<"&&y.prerelease[0]===0)y=!1;for(let O of $){if(F=F||O.operator===">"||O.operator===">=",H=H||O.operator==="<"||O.operator==="<=",W){if(x){if(O.semver.prerelease&&O.semver.prerelease.length&&O.semver.major===x.major&&O.semver.minor===x.minor&&O.semver.patch===x.patch)x=!1}if(O.operator===">"||O.operator===">="){if(Y=r0(W,O,J),Y===O&&Y!==W)return!1}else if(W.operator===">="&&!O.test(W.semver))return!1}if(Z){if(y){if(O.semver.prerelease&&O.semver.prerelease.length&&O.semver.major===y.major&&O.semver.minor===y.minor&&O.semver.patch===y.patch)y=!1}if(O.operator==="<"||O.operator==="<="){if(U=o0(Z,O,J),U===O&&U!==Z)return!1}else if(Z.operator==="<="&&!O.test(Z.semver))return!1}if(!O.operator&&(Z||W)&&K!==0)return!1}if(W&&H&&!Z&&K!==0)return!1;if(Z&&F&&!W&&K!==0)return!1;if(x||y)return!1;return!0},r0=(q,$,J)=>{if(!q)return $;let Q=Uq(q.semver,$.semver,J);return Q>0?q:Q<0?$:$.operator===">"&&q.operator===">="?$:q},o0=(q,$,J)=>{if(!q)return $;let Q=Uq(q.semver,$.semver,J);return Q<0?q:Q>0?$:$.operator==="<"&&q.operator==="<="?$:q};e0.exports=V9});var W1=I(($Q,Q1)=>{var Fq=C(),$1=N(),_9=D(),J1=o(),A9=E(),L9=Aq(),E9=Eq(),N9=Sq(),C9=uq(),S9=Mq(),R9=hq(),k9=vq(),u9=lq(),T9=P(),M9=pq(),b9=aq(),h9=l(),f9=rq(),v9=eq(),d9=R(),l9=g(),g9=qq(),c9=$q(),m9=c(),p9=m(),s9=Jq(),a9=z0(),n9=U0(),i9=u(),t9=_(),r9=M(),o9=L0(),e9=N0(),qJ=S0(),$J=u0(),JJ=M0(),QJ=n(),WJ=l0(),ZJ=c0(),KJ=s0(),jJ=n0(),zJ=q1();Q1.exports={parse:A9,valid:L9,clean:E9,inc:N9,diff:C9,major:S9,minor:R9,patch:k9,prerelease:u9,compare:T9,rcompare:M9,compareLoose:b9,compareBuild:h9,sort:f9,rsort:v9,gt:d9,lt:l9,eq:g9,neq:c9,gte:m9,lte:p9,cmp:s9,coerce:a9,truncate:n9,Comparator:i9,Range:t9,satisfies:r9,toComparators:o9,maxSatisfying:e9,minSatisfying:qJ,minVersion:$J,validRange:JJ,outside:QJ,gtr:WJ,ltr:ZJ,intersects:KJ,simplifyRange:jJ,subset:zJ,SemVer:_9,re:Fq.re,src:Fq.src,tokens:Fq.t,SEMVER_SPEC_VERSION:$1.SEMVER_SPEC_VERSION,RELEASE_TYPES:$1.RELEASE_TYPES,compareIdentifiers:J1.compareIdentifiers,rcompareIdentifiers:J1.rcompareIdentifiers}});function i(){if(!Oq)Oq=W1();return Oq}function JQ(q,$){if(typeof Bun<"u")return Bun.semver.order(q,$)===1;return i().gt(q,$,{loose:!0})}function QQ(q,$){if(typeof Bun<"u")return Bun.semver.order(q,$)>=0;return i().gte(q,$,{loose:!0})}function WQ(q,$){if(typeof Bun<"u")return Bun.semver.order(q,$)===-1;return i().lt(q,$,{loose:!0})}function ZQ(q,$){if(typeof Bun<"u")return Bun.semver.satisfies(q,$);return i().satisfies(q,$,{loose:!0})}var Oq;var UJ=()=>{};
|
|
2
|
+
export{W1 as IZ,JQ as JZ,QQ as KZ,WQ as LZ,ZQ as MZ,UJ as NZ};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Ms as R,Ns as T,Os as $,hx as U,ix as V,lx as f}from"./cli-0.6.2-4p9wa0p6.mjs";import{N2 as Q,O2 as _}from"./cli-0.6.2-ea8z1e2e.mjs";import{Ada as G,Ida as Z,Z9 as L,e_ as Y}from"./cli-0.6.2-hhjx89cr.mjs";import{hpa as X}from"./cli-0.6.2-3rgtxc9f.mjs";function S(q,j){let z=new Map;for(let x of j)z.set(x.agentType,x);let H=new Set,J=[];for(let x of q){let K=`${x.agentType}:${x.source}`;if(H.has(K))continue;H.add(K);let E=z.get(x.agentType),W=E&&E.source!==x.source?E.source:void 0;J.push({...x,overriddenBy:W})}return J}function I(q){let j=q.model||U();if(!j)return;if(j==="inherit")return"inherit";if(j==="haiku"||j==="sonnet"||j==="opus"){try{if(!V())return"inherit";if(!Q(j))return"inherit"}catch(z){G(z)}return j}return T(j,`agent:${q.agentType}`,{getAvailableModelIds:R,logDebug:()=>{},logErr:G})??j}function N(q){return L(q).toLowerCase()}function P(q,j){return q.agentType.localeCompare(j.agentType,void 0,{sensitivity:"base"})}var O;var h=X(()=>{f();_();Z();Y();$();O=[{label:"User agents",source:"userSettings"},{label:"Project agents",source:"projectSettings"},{label:"Local agents",source:"localSettings"},{label:"Managed agents",source:"policySettings"},{label:"Plugin agents",source:"plugin"},{label:"CLI arg agents",source:"flagSettings"},{label:"Built-in agents",source:"built-in"}]});
|
|
2
|
+
export{O as rc,S as sc,I as tc,N as uc,P as vc,h as wc};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{createRequire as w}from"node:module";var p=Object.create;var{getPrototypeOf:q,defineProperty:k,getOwnPropertyNames:m,getOwnPropertyDescriptor:r}=Object,n=Object.prototype.hasOwnProperty;function o(a){return this[a]}var s,t,z=(a,b,c)=>{var d=a!=null&&typeof a==="object";if(d){var h=b?s??=new WeakMap:t??=new WeakMap,g=h.get(a);if(g)return g}c=a!=null?p(q(a)):{};let e=b||!a||!a.__esModule?k(c,"default",{value:a,enumerable:!0}):c;for(let f of m(a))if(!n.call(e,f))k(e,f,{get:o.bind(a,f),enumerable:!0});if(d)h.set(a,e);return e},A=(a)=>{var b=(l??=new WeakMap).get(a),c;if(b)return b;if(b=k({},"__esModule",{value:!0}),a&&typeof a==="object"||typeof a==="function"){for(var d of m(a))if(!n.call(b,d))k(b,d,{get:o.bind(a,d),enumerable:!(c=r(a,d))||c.enumerable})}return l.set(a,b),b},l,B=(a,b)=>()=>(b||a((b={exports:{}}).exports,b),b.exports);var u=(a)=>a;function v(a,b){this[a]=u.bind(null,b)}var C=(a,b)=>{for(var c in b)k(a,c,{get:b[c],enumerable:!0,configurable:!0,set:v.bind(b,c)})};var D=(a,b)=>()=>(a&&(b=a(a=0)),b);var F=w(import.meta.url),x=Symbol.dispose||Symbol.for("Symbol.dispose"),y=Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose"),G=(a,b,c)=>{if(b!=null){if(typeof b!=="object"&&typeof b!=="function")throw TypeError('Object expected to be assigned to "using" declaration');var d;if(c)d=b[y];if(d===void 0)d=b[x];if(typeof d!=="function")throw TypeError("Object not disposable");a.push([c,d,b])}else if(c)a.push([c]);return b},H=(a,b,c)=>{var d=typeof SuppressedError==="function"?SuppressedError:function(e,f,i,j){return j=Error(i),j.name="SuppressedError",j.error=e,j.suppressed=f,j},h=(e)=>b=c?new d(e,b,"An error was suppressed during disposal"):(c=!0,e),g=(e)=>{while(e=a.pop())try{var f=e[1]&&e[1].call(e[2]);if(e[0])return Promise.resolve(f).then(g,(i)=>(h(i),g()))}catch(i){h(i)}if(c)throw b};return g()};
|
|
2
|
+
export{z as dpa,A as epa,B as fpa,C as gpa,D as hpa,F as ipa,G as jpa,H as kpa};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{cU as YJ,gU as DJ,kU as vJ,lU as c,mU as SJ,uU as ZJ}from"./cli-0.6.2-yjbsdf10.mjs";import{f0 as CJ,m0 as TJ}from"./cli-0.6.2-rdfwysaf.mjs";import{Ada as p,I8 as NJ,Ida as wJ,O7 as OJ,P7 as FJ,aba as S,cba as yJ,k8 as xJ,p9 as jJ}from"./cli-0.6.2-hhjx89cr.mjs";import{Nea as R,Pea as VJ,Qea as w,Rea as XJ}from"./cli-0.6.2-r4p904h3.mjs";import{Jga as v,Kga as y,Oga as JJ,eha as G,hha as QJ}from"./cli-0.6.2-g6c6hjc6.mjs";import{Fha as e,yha as W,zha as C}from"./cli-0.6.2-0f9sh5z8.mjs";import{Iha as s,Jha as I,Lha as t,Vha as a}from"./cli-0.6.2-gqbd9ax6.mjs";import{Ima as L,mla as i,vja as r,wja as MJ,yna as m,zja as d}from"./cli-0.6.2-42d88f3r.mjs";import{hpa as T,ipa as BJ}from"./cli-0.6.2-3rgtxc9f.mjs";import{mkdir as PJ,readdir as l,readFile as $J,unlink as qJ,writeFile as b}from"fs/promises";import{join as D}from"path";function HQ(J){if(M===J)return;M=J,U()}function UQ(){if(M===void 0)return;M=void 0,U()}function U(){try{GJ.emit()}catch{}}function KJ(J){return D(E(J),cJ)}async function g(J){let Q=KJ(J);try{let V=(await $J(Q,"utf-8")).trim(),X=parseInt(V,10);return isNaN(X)?0:X}catch{return 0}}async function RJ(J,Q){let V=KJ(J);await b(V,String(Q))}function OQ(){if(t(process.env.CLAUDE_CODE_ENABLE_TASKS))return!0;return!i()}async function xQ(J){let Q=E(J),V=await o(J),X;try{X=await S(V,P);let Z=await WJ(J);if(Z>0){let $=await g(J);if(Z>$)await RJ(J,Z)}let Y;try{Y=await l(Q)}catch{Y=[]}for(let $ of Y)if($.endsWith(".json")&&!$.startsWith(".")){let q=D(Q,$);try{await qJ(q)}catch{}}U()}finally{if(X)await X()}}function CQ(){if(process.env.CLAUDE_CODE_TASK_LIST_ID)return process.env.CLAUDE_CODE_TASK_LIST_ID;let J=YJ();if(J)return J.teamName;return c()||M||d()}function _J(J){return J.replace(/[^a-zA-Z0-9_-]/g,"-")}function E(J){return D(s(),"tasks",_J(J))}function A(J,Q){return D(E(J),`${_J(Q)}.json`)}async function bJ(J){let Q=E(J);try{await PJ(Q,{recursive:!0})}catch{}}async function WJ(J){let Q=E(J),V;try{V=await l(Q)}catch{return 0}let X=0;for(let Z of V){if(!Z.endsWith(".json"))continue;let Y=parseInt(Z.replace(".json",""),10);if(!isNaN(Y)&&Y>X)X=Y}return X}async function hJ(J){let[Q,V]=await Promise.all([WJ(J),g(J)]);return Math.max(Q,V)}async function vQ(J,Q){let V=await o(J),X;try{X=await S(V,P);let Z=await hJ(J),Y=String(Z+1),$={id:Y,...Q},q=A(J,Y);return await b(q,v($,null,2)),U(),Y}finally{if(X)await X()}}async function O(J,Q){let V=A(J,Q);try{let X=await $J(V,"utf-8"),Z=y(X),Y=pJ().safeParse(Z);if(!Y.success)return G(`[Tasks] Task ${Q} failed schema validation: ${Y.error.message}`),null;return Y.data}catch(X){if(C(X)==="ENOENT")return null;return G(`[Tasks] Failed to read task ${Q}: ${W(X)}`),p(X),null}}async function EJ(J,Q,V){let X=await O(J,Q);if(!X)return null;let Z={...X,...V,id:Q},Y=A(J,Q);return await b(Y,v(Z,null,2)),U(),Z}async function j(J,Q,V){let X=A(J,Q);if(!await O(J,Q))return null;let Y;try{return Y=await S(X,P),await EJ(J,Q,V)}finally{await Y?.()}}async function SQ(J,Q){let V=A(J,Q);try{let X=parseInt(Q,10);if(!isNaN(X)){let Y=await g(J);if(X>Y)await RJ(J,X)}try{await qJ(V)}catch(Y){if(C(Y)==="ENOENT")return!1;throw Y}let Z=await h(J);for(let Y of Z){let $=Y.blocks.filter((K)=>K!==Q),q=Y.blockedBy.filter((K)=>K!==Q);if($.length!==Y.blocks.length||q.length!==Y.blockedBy.length)await j(J,Y.id,{blocks:$,blockedBy:q})}return U(),!0}catch{return!1}}async function h(J){let Q=E(J),V;try{V=await l(Q)}catch{return[]}let X=V.filter((Y)=>Y.endsWith(".json")).map((Y)=>Y.replace(".json",""));return(await Promise.all(X.map((Y)=>O(J,Y)))).filter((Y)=>Y!==null)}async function AQ(J,Q,V){let[X,Z]=await Promise.all([O(J,Q),O(J,V)]);if(!X||!Z)return!1;if(!X.blocks.includes(V))await j(J,Q,{blocks:[...X.blocks,V]});if(!Z.blockedBy.includes(Q))await j(J,V,{blockedBy:[...Z.blockedBy,Q]});return!0}function LJ(J){return D(E(J),".lock")}async function o(J){await bJ(J);let Q=LJ(J);try{await b(Q,"",{flag:"wx"})}catch{}return Q}async function zQ(J,Q,V,X={}){let Z=A(J,Q);if(!await O(J,Q))return{success:!1,reason:"task_not_found"};if(X.checkAgentBusy)return uJ(J,Q,V);let $;try{$=await S(Z,P);let q=await O(J,Q);if(!q)return{success:!1,reason:"task_not_found"};if(q.owner&&q.owner!==V)return{success:!1,reason:"already_claimed",task:q};if(q.status==="completed")return{success:!1,reason:"already_resolved",task:q};let K=await h(J),B=new Set(K.filter((z)=>z.status!=="completed").map((z)=>z.id)),N=q.blockedBy.filter((z)=>B.has(z));if(N.length>0)return{success:!1,reason:"blocked",task:q,blockedByTasks:N};return{success:!0,task:await EJ(J,Q,{owner:V})}}catch(q){return G(`[Tasks] Failed to claim task ${Q}: ${W(q)}`),p(q),{success:!1,reason:"task_not_found"}}finally{if($)await $()}}async function uJ(J,Q,V){let X=await o(J),Z;try{Z=await S(X,P);let Y=await h(J),$=Y.find((_)=>_.id===Q);if(!$)return{success:!1,reason:"task_not_found"};if($.owner&&$.owner!==V)return{success:!1,reason:"already_claimed",task:$};if($.status==="completed")return{success:!1,reason:"already_resolved",task:$};let q=new Set(Y.filter((_)=>_.status!=="completed").map((_)=>_.id)),K=$.blockedBy.filter((_)=>q.has(_));if(K.length>0)return{success:!1,reason:"blocked",task:$,blockedByTasks:K};let B=Y.filter((_)=>_.status!=="completed"&&_.owner===V&&_.id!==Q);if(B.length>0)return{success:!1,reason:"agent_busy",task:$,busyWithTasks:B.map((_)=>_.id)};return{success:!0,task:await j(J,Q,{owner:V})}}catch(Y){return G(`[Tasks] Failed to claim task ${Q} with busy check: ${W(Y)}`),p(Y),{success:!1,reason:"task_not_found"}}finally{if(Z)await Z()}}async function MQ(J,Q,V,X){let Y=(await h(J)).filter((K)=>K.status!=="completed"&&(K.owner===Q||K.owner===V));for(let K of Y)await j(J,K.id,{owner:void 0,status:"pending"});if(Y.length>0)G(`[Tasks] Unassigned ${Y.length} task(s) from ${V}`);let q=`${V} ${X==="terminated"?"was terminated":"has shut down"}.`;if(Y.length>0){let K=Y.map((B)=>`#${B.id} "${B.subject}"`).join(", ");q+=` ${Y.length} task(s) were unassigned: ${K}. Use TaskList to check availability and TaskUpdate with owner to reassign them to idle teammates.`}return{unassignedTasks:Y.map((K)=>({id:K.id,subject:K.subject})),notificationMessage:q}}var GJ,M,BQ,fJ,pJ,cJ=".highwatermark",P;var HJ=T(()=>{VJ();m();jJ();QJ();a();e();XJ();yJ();wJ();MJ();JJ();ZJ();DJ();GJ=r();BQ=GJ.subscribe;fJ=w(()=>R.enum(["pending","in_progress","completed"])),pJ=w(()=>R.object({id:R.string(),subject:R.string(),description:R.string(),activeForm:R.string().optional(),owner:R.string().optional(),status:fJ(),blocks:R.array(R.string()),blockedBy:R.array(R.string()),metadata:R.record(R.string(),R.unknown()).optional()})),P={retries:{retries:30,minTimeout:5,maxTimeout:100}}});function n(J){return J==="tmux"||J==="iterm2"}var UJ=()=>{};import{mkdirSync as IJ,readFileSync as lJ,writeFileSync as gJ}from"fs";import{mkdir as oJ,readFile as AJ,rm as k,writeFile as nJ}from"fs/promises";import{join as f}from"path";function zJ(J){return J.replace(/[^a-zA-Z0-9]/g,"-").toLowerCase()}function nQ(J){return J.replace(/@/g,"-")}function u(J){return f(I(),zJ(J))}function F(J){return f(u(J),"config.json")}function H(J){try{let Q=lJ(F(J),"utf-8");return y(Q)}catch(Q){if(C(Q)==="ENOENT")return null;return G(`[TeammateTool] Failed to read team file for ${J}: ${W(Q)}`),null}}async function kJ(J){try{let Q=await AJ(F(J),"utf-8");return y(Q)}catch(Q){if(C(Q)==="ENOENT")return null;return G(`[TeammateTool] Failed to read team file for ${J}: ${W(Q)}`),null}}function x(J,Q){let V=u(J);IJ(V,{recursive:!0}),gJ(F(J),v(Q,null,2))}async function rJ(J,Q){let V=u(J);await oJ(V,{recursive:!0}),await nJ(F(J),v(Q,null,2))}function kQ(J,Q){let V=Q.agentId||Q.name;if(!V)return G("[TeammateTool] removeTeammateFromTeamFile called with no identifier"),!1;let X=H(J);if(!X)return G(`[TeammateTool] Cannot remove teammate ${V}: failed to read team file for "${J}"`),!1;let Z=X.members.length;if(X.members=X.members.filter((Y)=>{if(Q.agentId&&Y.agentId===Q.agentId)return!1;if(Q.name&&Y.name===Q.name)return!1;return!0}),X.members.length===Z)return G(`[TeammateTool] Teammate ${V} not found in team file for "${J}"`),!1;return x(J,X),G(`[TeammateTool] Removed teammate from team file: ${V}`),!0}function rQ(J,Q){let V=H(J);if(!V)return!1;let X=V.hiddenPaneIds??[];if(!X.includes(Q))X.push(Q),V.hiddenPaneIds=X,x(J,V),G(`[TeammateTool] Added ${Q} to hidden panes for team ${J}`);return!0}function dQ(J,Q){let V=H(J);if(!V)return!1;let X=V.hiddenPaneIds??[],Z=X.indexOf(Q);if(Z!==-1)X.splice(Z,1),V.hiddenPaneIds=X,x(J,V),G(`[TeammateTool] Removed ${Q} from hidden panes for team ${J}`);return!0}function iQ(J,Q){let V=H(J);if(!V)return!1;let X=V.members.findIndex((Z)=>Z.tmuxPaneId===Q);if(X===-1)return!1;if(V.members.splice(X,1),V.hiddenPaneIds){let Z=V.hiddenPaneIds.indexOf(Q);if(Z!==-1)V.hiddenPaneIds.splice(Z,1)}return x(J,V),G(`[TeammateTool] Removed member with pane ${Q} from team ${J}`),!0}function mQ(J,Q){let V=H(J);if(!V)return!1;let X=V.members.findIndex((Z)=>Z.agentId===Q);if(X===-1)return!1;return V.members.splice(X,1),x(J,V),G(`[TeammateTool] Removed member ${Q} from team ${J}`),!0}function dJ(J,Q,V){let X=H(J);if(!X)return!1;let Z=X.members.find(($)=>$.name===Q);if(!Z)return G(`[TeammateTool] Cannot set member mode: member ${Q} not found in team ${J}`),!1;if(Z.mode===V)return!0;let Y=X.members.map(($)=>$.name===Q?{...$,mode:V}:$);return x(J,{...X,members:Y}),G(`[TeammateTool] Set member ${Q} in team ${J} to mode: ${V}`),!0}function sQ(J,Q){if(!SJ())return;let V=Q??c(),X=vJ();if(V&&X)dJ(V,X,J)}function tQ(J,Q){let V=H(J);if(!V)return!1;let X=new Map(Q.map(($)=>[$.memberName,$.mode])),Z=!1,Y=V.members.map(($)=>{let q=X.get($.name);if(q!==void 0&&$.mode!==q)return Z=!0,{...$,mode:q};return $});if(Z)x(J,{...V,members:Y}),G(`[TeammateTool] Set ${Q.length} member modes in team ${J}`);return!0}async function aQ(J,Q,V){let X=await kJ(J);if(!X){G(`[TeammateTool] Cannot set member active: team ${J} not found`);return}let Z=X.members.find((Y)=>Y.name===Q);if(!Z){G(`[TeammateTool] Cannot set member active: member ${Q} not found in team ${J}`);return}if(Z.isActive===V)return;Z.isActive=V,await rJ(J,X),G(`[TeammateTool] Set member ${Q} in team ${J} to ${V?"active":"idle"}`)}async function iJ(J){let Q=f(J,".git"),V=null;try{let Z=(await AJ(Q,"utf-8")).trim().match(/^gitdir:\s*(.+)$/);if(Z&&Z[1]){let Y=Z[1],$=f(Y,"..","..");V=f($,"..")}}catch{}if(V){let X=await OJ(xJ(),["worktree","remove","--force",J],{cwd:V});if(X.code===0){G(`[TeammateTool] Removed worktree via git: ${J}`);return}if(X.stderr?.includes("not a working tree")){G(`[TeammateTool] Worktree already removed: ${J}`);return}G(`[TeammateTool] git worktree remove failed, falling back to rm: ${X.stderr}`)}try{await k(J,{recursive:!0,force:!0}),G(`[TeammateTool] Removed worktree directory manually: ${J}`)}catch(X){G(`[TeammateTool] Failed to remove worktree ${J}: ${W(X)}`)}}function eQ(J){L().add(J)}function JV(J){L().delete(J)}async function QV(){let J=L();if(J.size===0)return;let Q=Array.from(J);G(`cleanupSessionTeams: removing ${Q.length} orphan team dir(s): ${Q.join(", ")}`),await Promise.allSettled(Q.map((V)=>mJ(V))),await Promise.allSettled(Q.map((V)=>sJ(V))),J.clear()}async function mJ(J){let Q=H(J);if(!Q)return;let V=Q.members.filter((q)=>q.name!==CJ&&q.tmuxPaneId&&q.backendType&&n(q.backendType));if(V.length===0)return;let[{ensureBackendsRegistered:X,getBackendByType:Z},{isInsideTmux:Y}]=await Promise.all([import("./registry-0.6.2-8xcdw66w.mjs"),import("./detection-0.6.2-rtsr38x3.mjs")]);await X();let $=!await Y();await Promise.allSettled(V.map(async(q)=>{if(!q.tmuxPaneId||!q.backendType||!n(q.backendType))return;let K=await Z(q.backendType).killPane(q.tmuxPaneId,$);G(`cleanupSessionTeams: killPane ${q.name} (${q.backendType} ${q.tmuxPaneId}) → ${K}`)}))}async function sJ(J){let Q=zJ(J),V=H(J),X=[];if(V){for(let $ of V.members)if($.worktreePath)X.push($.worktreePath)}for(let $ of X)await iJ($);let Z=u(J);try{await k(Z,{recursive:!0,force:!0}),G(`[TeammateTool] Cleaned up team directory: ${Z}`)}catch($){G(`[TeammateTool] Failed to clean up team directory ${Z}: ${W($)}`)}let Y=E(Q);try{await k(Y,{recursive:!0,force:!0}),G(`[TeammateTool] Cleaned up tasks directory: ${Y}`),U()}catch($){G(`[TeammateTool] Failed to clean up tasks directory ${Y}: ${W($)}`)}}var oQ;var tJ=T(()=>{VJ();m();QJ();a();e();FJ();NJ();XJ();JJ();HJ();ZJ();UJ();TJ();oQ=w(()=>R.strictObject({operation:R.enum(["spawnTeam","cleanup"]).describe("Operation: spawnTeam to create a team, cleanup to remove team and task directories."),agent_type:R.string().optional().describe('Type/role of the team lead (e.g., "researcher", "test-runner"). Used for team file and inter-agent coordination.'),team_name:R.string().optional().describe("Name for the new team to create (required for spawnTeam)."),description:R.string().optional().describe("Team description/purpose (only used with spawnTeam).")}))});
|
|
2
|
+
export{HQ as CS,UQ as DS,BQ as ES,fJ as FS,OQ as GS,xQ as HS,CQ as IS,_J as JS,E as KS,bJ as LS,vQ as MS,O as NS,j as OS,SQ as PS,h as QS,AQ as RS,zQ as SS,MQ as TS,HJ as US,n as VS,UJ as WS,oQ as XS,zJ as YS,nQ as ZS,u as _S,F as $S,H as aT,kJ as bT,rJ as cT,kQ as dT,rQ as eT,dQ as fT,iQ as gT,mQ as hT,dJ as iT,sQ as jT,tQ as kT,aQ as lT,eQ as mT,JV as nT,QV as oT,sJ as pT,tJ as qT};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Ana as YJ,Bna as v,Cna as P1,Dna as Y5,Ena as w8,Fna as q,Gna as y,Hna as S,Ina as kQ,Jna as L,Kna as a,Lna as n5,Mna as e8,Nna as R5,Ona as _8,Pna as E,Qna as h8,Rna as P,Sna as x1,Tna as d,Una as xQ,Vna as r,Wna as UQ,Xna as T5,Yna as UY,zna as _Q}from"./cli-0.6.2-wryj4wnr.mjs";import{gpa as aQ,hpa as X}from"./cli-0.6.2-3rgtxc9f.mjs";function h$(){this.__data__=new v,this.size=0}var QQ;var $Q=X(()=>{P1();QQ=h$});function n$(Q){var J=this.__data__,Y=J.delete(Q);return this.size=J.size,Y}var JQ;var YQ=X(()=>{JQ=n$});function b$(Q){return this.__data__.get(Q)}var ZQ;var XQ=X(()=>{ZQ=b$});function i$(Q){return this.__data__.has(Q)}var HQ;var WQ=X(()=>{HQ=i$});function l$(Q,J){var Y=this.__data__;if(Y instanceof v){var Z=Y.__data__;if(!d||Z.length<u$-1)return Z.push([Q,J]),this.size=++Y.size,this;Y=this.__data__=new r(Z)}return Y.set(Q,J),this.size=Y.size,this}var u$=200,KQ;var GQ=X(()=>{P1();xQ();UQ();KQ=l$});function g(Q){var J=this.__data__=new v(Q);this.size=J.size}var p;var I1=X(()=>{P1();$Q();YQ();XQ();WQ();GQ();g.prototype.clear=QQ;g.prototype.delete=JQ;g.prototype.get=ZQ;g.prototype.has=HQ;g.prototype.set=KQ;p=g});function c$(Q){return this.__data__.set(Q,T$),this}var T$="__lodash_hash_undefined__",BQ;var NQ=X(()=>{BQ=c$});function r$(Q){return this.__data__.has(Q)}var wQ;var zQ=X(()=>{wQ=r$});function o(Q){var J=-1,Y=Q==null?0:Q.length;this.__data__=new r;while(++J<Y)this.add(Q[J])}var FQ;var RQ=X(()=>{UQ();NQ();zQ();o.prototype.add=o.prototype.push=BQ;o.prototype.has=wQ;FQ=o});function o$(Q,J){var Y=-1,Z=Q==null?0:Q.length;while(++Y<Z)if(J(Q[Y],Y,Q))return!0;return!1}var qQ;var DQ=X(()=>{qQ=o$});function s$(Q,J){return Q.has(J)}var OQ;var VQ=X(()=>{OQ=s$});function e$(Q,J,Y,Z,H,W){var x=Y&a$,U=Q.length,B=J.length;if(U!=B&&!(x&&B>U))return!1;var K=W.get(Q),F=W.get(J);if(K&&F)return K==J&&F==Q;var z=-1,N=!0,V=Y&t$?new FQ:void 0;W.set(Q,J),W.set(J,Q);while(++z<U){var R=Q[z],D=J[z];if(Z)var f=x?Z(D,R,z,J,Q,W):Z(R,D,z,Q,J,W);if(f!==void 0){if(f)continue;N=!1;break}if(V){if(!qQ(J,function(C,_){if(!OQ(V,_)&&(R===C||H(R,C,Y,Z,W)))return V.push(_)})){N=!1;break}}else if(!(R===D||H(R,D,Y,Z,W))){N=!1;break}}return W.delete(Q),W.delete(J),N}var a$=1,t$=2,s;var C1=X(()=>{RQ();DQ();VQ();s=e$});var QJ,_1;var MQ=X(()=>{y();QJ=q.Uint8Array,_1=QJ});function $J(Q){var J=-1,Y=Array(Q.size);return Q.forEach(function(Z,H){Y[++J]=[H,Z]}),Y}var LQ;var fQ=X(()=>{LQ=$J});function JJ(Q){var J=-1,Y=Array(Q.size);return Q.forEach(function(Z){Y[++J]=Z}),Y}var PQ;var IQ=X(()=>{PQ=JJ});function RJ(Q,J,Y,Z,H,W,x){switch(Y){case FJ:if(Q.byteLength!=J.byteLength||Q.byteOffset!=J.byteOffset)return!1;Q=Q.buffer,J=J.buffer;case zJ:if(Q.byteLength!=J.byteLength||!W(new _1(Q),new _1(J)))return!1;return!0;case HJ:case WJ:case KJ:return _Q(+Q,+J);case xJ:return Q.name==J.name&&Q.message==J.message;case GJ:case NJ:return Q==J+"";case UJ:var U=LQ;case BJ:var B=Z&ZJ;if(U||(U=PQ),Q.size!=J.size&&!B)return!1;var K=x.get(Q);if(K)return K==J;Z|=XJ,x.set(Q,J);var F=s(U(Q),U(J),Z,H,W,x);return x.delete(Q),F;case wJ:if(k1)return k1.call(Q)==k1.call(J)}return!1}var ZJ=1,XJ=2,HJ="[object Boolean]",WJ="[object Date]",xJ="[object Error]",UJ="[object Map]",KJ="[object Number]",GJ="[object RegExp]",BJ="[object Set]",NJ="[object String]",wJ="[object Symbol]",zJ="[object ArrayBuffer]",FJ="[object DataView]",CQ,k1,EQ;var vQ=X(()=>{kQ();MQ();YJ();C1();fQ();IQ();CQ=S?S.prototype:void 0,k1=CQ?CQ.valueOf:void 0;EQ=RJ});function qJ(Q,J){var Y=-1,Z=J.length,H=Q.length;while(++Y<Z)Q[H+Y]=J[Y];return Q}var dQ;var gQ=X(()=>{dQ=qJ});var DJ,w;var M=X(()=>{DJ=Array.isArray,w=DJ});function OJ(Q,J,Y){var Z=J(Q);return w(Q)?Z:dQ(Z,Y(Q))}var pQ;var yQ=X(()=>{gQ();M();pQ=OJ});function VJ(Q,J){var Y=-1,Z=Q==null?0:Q.length,H=0,W=[];while(++Y<Z){var x=Q[Y];if(J(x,Y,Q))W[H++]=x}return W}var SQ;var mQ=X(()=>{SQ=VJ});function MJ(){return[]}var AQ;var jQ=X(()=>{AQ=MJ});var LJ,fJ,hQ,PJ,nQ;var bQ=X(()=>{mQ();jQ();LJ=Object.prototype,fJ=LJ.propertyIsEnumerable,hQ=Object.getOwnPropertySymbols,PJ=!hQ?AQ:function(Q){if(Q==null)return[];return Q=Object(Q),SQ(hQ(Q),function(J){return fJ.call(Q,J)})},nQ=PJ});function IJ(Q,J){var Y=-1,Z=Array(Q);while(++Y<Q)Z[Y]=J(Y);return Z}var iQ;var uQ=X(()=>{iQ=IJ});function CJ(Q){return Q!=null&&typeof Q=="object"}var O;var m=X(()=>{O=CJ});function kJ(Q){return O(Q)&&L(Q)==_J}var _J="[object Arguments]",E1;var lQ=X(()=>{a();m();E1=kJ});var TQ,EJ,vJ,dJ,t;var v1=X(()=>{lQ();m();TQ=Object.prototype,EJ=TQ.hasOwnProperty,vJ=TQ.propertyIsEnumerable,dJ=E1(function(){return arguments}())?E1:function(Q){return O(Q)&&EJ.call(Q,"callee")&&!vJ.call(Q,"callee")},t=dJ});function gJ(){return!1}var cQ;var rQ=X(()=>{cQ=gJ});var Q1={};aQ(Q1,{default:()=>A});var tQ,oQ,pJ,sQ,yJ,SJ,A;var d1=X(()=>{y();rQ();tQ=typeof Q1=="object"&&Q1&&!Q1.nodeType&&Q1,oQ=tQ&&typeof e=="object"&&e&&!e.nodeType&&e,pJ=oQ&&oQ.exports===tQ,sQ=pJ?q.Buffer:void 0,yJ=sQ?sQ.isBuffer:void 0,SJ=yJ||cQ,A=SJ});function jJ(Q,J){var Y=typeof Q;return J=J==null?mJ:J,!!J&&(Y=="number"||Y!="symbol"&&AJ.test(Q))&&(Q>-1&&Q%1==0&&Q<J)}var mJ=9007199254740991,AJ,$1;var g1=X(()=>{AJ=/^(?:0|[1-9]\d*)$/;$1=jJ});function nJ(Q){return typeof Q=="number"&&Q>-1&&Q%1==0&&Q<=hJ}var hJ=9007199254740991,j;var J1=X(()=>{j=nJ});function B8(Q){return O(Q)&&j(Q.length)&&!!G[L(Q)]}var bJ="[object Arguments]",iJ="[object Array]",uJ="[object Boolean]",lJ="[object Date]",TJ="[object Error]",cJ="[object Function]",rJ="[object Map]",oJ="[object Number]",sJ="[object Object]",aJ="[object RegExp]",tJ="[object Set]",eJ="[object String]",Q8="[object WeakMap]",$8="[object ArrayBuffer]",J8="[object DataView]",Y8="[object Float32Array]",Z8="[object Float64Array]",X8="[object Int8Array]",H8="[object Int16Array]",W8="[object Int32Array]",x8="[object Uint8Array]",U8="[object Uint8ClampedArray]",K8="[object Uint16Array]",G8="[object Uint32Array]",G,eQ;var Q5=X(()=>{a();J1();m();G={};G[Y8]=G[Z8]=G[X8]=G[H8]=G[W8]=G[x8]=G[U8]=G[K8]=G[G8]=!0;G[bJ]=G[iJ]=G[$8]=G[uJ]=G[J8]=G[lJ]=G[TJ]=G[cJ]=G[rJ]=G[oJ]=G[sJ]=G[aJ]=G[tJ]=G[eJ]=G[Q8]=!1;eQ=B8});function N8(Q){return function(J){return Q(J)}}var $5;var J5=X(()=>{$5=N8});var Z1={};aQ(Z1,{default:()=>X1});var Z5,i,z8,p1,F8,X1;var X5=X(()=>{w8();Z5=typeof Z1=="object"&&Z1&&!Z1.nodeType&&Z1,i=Z5&&typeof Y1=="object"&&Y1&&!Y1.nodeType&&Y1,z8=i&&i.exports===Z5,p1=z8&&Y5.process,F8=function(){try{var Q=i&&i.require&&i.require("util").types;if(Q)return Q;return p1&&p1.binding&&p1.binding("util")}catch(J){}}(),X1=F8});var H5,R8,H1;var y1=X(()=>{Q5();J5();X5();H5=X1&&X1.isTypedArray,R8=H5?$5(H5):eQ,H1=R8});function O8(Q,J){var Y=w(Q),Z=!Y&&t(Q),H=!Y&&!Z&&A(Q),W=!Y&&!Z&&!H&&H1(Q),x=Y||Z||H||W,U=x?iQ(Q.length,String):[],B=U.length;for(var K in Q)if((J||D8.call(Q,K))&&!(x&&(K=="length"||H&&(K=="offset"||K=="parent")||W&&(K=="buffer"||K=="byteLength"||K=="byteOffset")||$1(K,B))))U.push(K);return U}var q8,D8,W5;var x5=X(()=>{uQ();v1();M();d1();g1();y1();q8=Object.prototype,D8=q8.hasOwnProperty;W5=O8});function M8(Q){var J=Q&&Q.constructor,Y=typeof J=="function"&&J.prototype||V8;return Q===Y}var V8,U5;var K5=X(()=>{V8=Object.prototype;U5=M8});function L8(Q,J){return function(Y){return Q(J(Y))}}var G5;var B5=X(()=>{G5=L8});var f8,N5;var w5=X(()=>{B5();f8=G5(Object.keys,Object),N5=f8});function C8(Q){if(!U5(Q))return N5(Q);var J=[];for(var Y in Object(Q))if(I8.call(Q,Y)&&Y!="constructor")J.push(Y);return J}var P8,I8,z5;var F5=X(()=>{K5();w5();P8=Object.prototype,I8=P8.hasOwnProperty;z5=C8});function k8(Q){return Q!=null&&j(Q.length)&&!R5(Q)}var q5;var D5=X(()=>{_8();J1();q5=k8});function E8(Q){return q5(Q)?W5(Q):z5(Q)}var W1;var S1=X(()=>{x5();F5();D5();W1=E8});function v8(Q){return pQ(Q,W1,nQ)}var m1;var O5=X(()=>{yQ();bQ();S1();m1=v8});function y8(Q,J,Y,Z,H,W){var x=Y&d8,U=m1(Q),B=U.length,K=m1(J),F=K.length;if(B!=F&&!x)return!1;var z=B;while(z--){var N=U[z];if(!(x?N in J:p8.call(J,N)))return!1}var V=W.get(Q),R=W.get(J);if(V&&R)return V==J&&R==Q;var D=!0;W.set(Q,J),W.set(J,Q);var f=x;while(++z<B){N=U[z];var C=Q[N],_=J[N];if(Z)var e1=x?Z(_,C,N,J,Q,W):Z(C,_,N,Q,J,W);if(!(e1===void 0?C===_||H(C,_,Y,Z,W):e1)){D=!1;break}f||(f=N=="constructor")}if(D&&!f){var T=Q.constructor,c=J.constructor;if(T!=c&&(("constructor"in Q)&&("constructor"in J))&&!(typeof T=="function"&&T instanceof T&&typeof c=="function"&&c instanceof c))D=!1}return W.delete(Q),W.delete(J),D}var d8=1,g8,p8,V5;var M5=X(()=>{O5();g8=Object.prototype,p8=g8.hasOwnProperty;V5=y8});var S8,U1;var L5=X(()=>{x1();y();S8=P(q,"DataView"),U1=S8});var m8,K1;var f5=X(()=>{x1();y();m8=P(q,"Promise"),K1=m8});var A8,G1;var P5=X(()=>{x1();y();A8=P(q,"Set"),G1=A8});var j8,B1;var I5=X(()=>{x1();y();j8=P(q,"WeakMap"),B1=j8});var C5="[object Map]",n8="[object Object]",_5="[object Promise]",k5="[object Set]",E5="[object WeakMap]",v5="[object DataView]",b8,i8,u8,l8,T8,k,A1;var d5=X(()=>{L5();xQ();f5();P5();I5();a();h8();b8=E(U1),i8=E(d),u8=E(K1),l8=E(G1),T8=E(B1),k=L;if(U1&&k(new U1(new ArrayBuffer(1)))!=v5||d&&k(new d)!=C5||K1&&k(K1.resolve())!=_5||G1&&k(new G1)!=k5||B1&&k(new B1)!=E5)k=function(Q){var J=L(Q),Y=J==n8?Q.constructor:void 0,Z=Y?E(Y):"";if(Z)switch(Z){case b8:return v5;case i8:return C5;case u8:return _5;case l8:return k5;case T8:return E5}return J};A1=k});function o8(Q,J,Y,Z,H,W){var x=w(Q),U=w(J),B=x?p5:A1(Q),K=U?p5:A1(J);B=B==g5?N1:B,K=K==g5?N1:K;var F=B==N1,z=K==N1,N=B==K;if(N&&A(Q)){if(!A(J))return!1;x=!0,F=!1}if(N&&!F)return W||(W=new p),x||H1(Q)?s(Q,J,Y,Z,H,W):EQ(Q,J,B,Y,Z,H,W);if(!(Y&c8)){var V=F&&y5.call(Q,"__wrapped__"),R=z&&y5.call(J,"__wrapped__");if(V||R){var D=V?Q.value():Q,f=R?J.value():J;return W||(W=new p),H(D,f,Y,Z,W)}}if(!N)return!1;return W||(W=new p),V5(Q,J,Y,Z,H,W)}var c8=1,g5="[object Arguments]",p5="[object Array]",N1="[object Object]",r8,y5,S5;var m5=X(()=>{I1();C1();vQ();M5();d5();M();d1();y1();r8=Object.prototype,y5=r8.hasOwnProperty;S5=o8});function A5(Q,J,Y,Z,H){if(Q===J)return!0;if(Q==null||J==null||!O(Q)&&!O(J))return Q!==Q&&J!==J;return S5(Q,J,Y,Z,A5,H)}var w1;var j1=X(()=>{m5();m();w1=A5});function t8(Q,J,Y,Z){var H=Y.length,W=H,x=!Z;if(Q==null)return!W;Q=Object(Q);while(H--){var U=Y[H];if(x&&U[2]?U[1]!==Q[U[0]]:!(U[0]in Q))return!1}while(++H<W){U=Y[H];var B=U[0],K=Q[B],F=U[1];if(x&&U[2]){if(K===void 0&&!(B in Q))return!1}else{var z=new p;if(Z)var N=Z(K,F,B,Q,J,z);if(!(N===void 0?w1(F,K,s8|a8,Z,z):N))return!1}}return!0}var s8=1,a8=2,j5;var h5=X(()=>{I1();j1();j5=t8});function QY(Q){return Q===Q&&!n5(Q)}var z1;var h1=X(()=>{e8();z1=QY});function $Y(Q){var J=W1(Q),Y=J.length;while(Y--){var Z=J[Y],H=Q[Z];J[Y]=[Z,H,z1(H)]}return J}var b5;var i5=X(()=>{h1();S1();b5=$Y});function JY(Q,J){return function(Y){if(Y==null)return!1;return Y[Q]===J&&(J!==void 0||(Q in Object(Y)))}}var F1;var n1=X(()=>{F1=JY});function YY(Q){var J=b5(Q);if(J.length==1&&J[0][2])return F1(J[0][0],J[0][1]);return function(Y){return Y===Q||j5(Y,Q,J)}}var u5;var l5=X(()=>{h5();i5();n1();u5=YY});function XY(Q){return typeof Q=="symbol"||O(Q)&&L(Q)==ZY}var ZY="[object Symbol]",h;var R1=X(()=>{a();m();h=XY});function xY(Q,J){if(w(Q))return!1;var Y=typeof Q;if(Y=="number"||Y=="symbol"||Y=="boolean"||Q==null||h(Q))return!0;return WY.test(Q)||!HY.test(Q)||J!=null&&Q in Object(J)}var HY,WY,n;var q1=X(()=>{M();R1();HY=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,WY=/^\w*$/;n=xY});function GY(Q){var J=T5(Q,function(Z){if(Y.size===KY)Y.clear();return Z}),Y=J.cache;return J}var KY=500,c5;var r5=X(()=>{UY();c5=GY});var BY,NY,wY,o5;var s5=X(()=>{r5();BY=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,NY=/\\(\\)?/g,wY=c5(function(Q){var J=[];if(Q.charCodeAt(0)===46)J.push("");return Q.replace(BY,function(Y,Z,H,W){J.push(H?W.replace(NY,"$1"):Z||Y)}),J}),o5=wY});function zY(Q,J){var Y=-1,Z=Q==null?0:Q.length,H=Array(Z);while(++Y<Z)H[Y]=J(Q[Y],Y,Q);return H}var a5;var t5=X(()=>{a5=zY});function $$(Q){if(typeof Q=="string")return Q;if(w(Q))return a5(Q,$$)+"";if(h(Q))return Q$?Q$.call(Q):"";var J=Q+"";return J=="0"&&1/Q==-FY?"-0":J}var FY=1/0,e5,Q$,J$;var Y$=X(()=>{kQ();t5();M();R1();e5=S?S.prototype:void 0,Q$=e5?e5.toString:void 0;J$=$$});function RY(Q){return Q==null?"":J$(Q)}var Z$;var X$=X(()=>{Y$();Z$=RY});function qY(Q,J){if(w(Q))return Q;return n(Q,J)?[Q]:o5(Z$(Q))}var D1;var b1=X(()=>{M();q1();s5();X$();D1=qY});function OY(Q){if(typeof Q=="string"||h(Q))return Q;var J=Q+"";return J=="0"&&1/Q==-DY?"-0":J}var DY=1/0,I;var u=X(()=>{R1();I=OY});function VY(Q,J){J=D1(J,Q);var Y=0,Z=J.length;while(Q!=null&&Y<Z)Q=Q[I(J[Y++])];return Y&&Y==Z?Q:void 0}var O1;var i1=X(()=>{b1();u();O1=VY});function MY(Q,J,Y){var Z=Q==null?void 0:O1(Q,J);return Z===void 0?Y:Z}var H$;var W$=X(()=>{i1();H$=MY});function LY(Q,J){return Q!=null&&J in Object(Q)}var x$;var U$=X(()=>{x$=LY});function fY(Q,J,Y){J=D1(J,Q);var Z=-1,H=J.length,W=!1;while(++Z<H){var x=I(J[Z]);if(!(W=Q!=null&&Y(Q,x)))break;Q=Q[x]}if(W||++Z!=H)return W;return H=Q==null?0:Q.length,!!H&&j(H)&&$1(x,H)&&(w(Q)||t(Q))}var K$;var G$=X(()=>{b1();v1();M();g1();J1();u();K$=fY});function PY(Q,J){return Q!=null&&K$(Q,J,x$)}var B$;var N$=X(()=>{U$();G$();B$=PY});function _Y(Q,J){if(n(Q)&&z1(J))return F1(I(Q),J);return function(Y){var Z=H$(Y,Q);return Z===void 0&&Z===J?B$(Y,Q):w1(J,Z,IY|CY)}}var IY=1,CY=2,w$;var z$=X(()=>{j1();W$();N$();q1();h1();n1();u();w$=_Y});function kY(Q){return Q}var F$;var R$=X(()=>{F$=kY});function EY(Q){return function(J){return J==null?void 0:J[Q]}}var q$;var D$=X(()=>{q$=EY});function vY(Q){return function(J){return O1(J,Q)}}var O$;var V$=X(()=>{i1();O$=vY});function dY(Q){return n(Q)?q$(I(Q)):O$(Q)}var M$;var L$=X(()=>{D$();V$();q1();u();M$=dY});function gY(Q){if(typeof Q=="function")return Q;if(Q==null)return F$;if(typeof Q=="object")return w(Q)?w$(Q[0],Q[1]):u5(Q);return M$(Q)}var f$;var P$=X(()=>{l5();z$();R$();M();L$();f$=gY});function pY(Q,J){var Y,Z=-1,H=Q.length;while(++Z<H){var W=J(Q[Z]);if(W!==void 0)Y=Y===void 0?W:Y+W}return Y}var I$;var C$=X(()=>{I$=pY});function yY(Q,J){return Q&&Q.length?I$(Q,f$(J,2)):0}var b;var _$=X(()=>{P$();C$();b=yY});import{randomUUID as u1}from"crypto";var k$=()=>{};function nX(){return l1}function bX(Q){l1=Q}function iX(Q){return V1.has(Q)?V1.get(Q):void 0}function uX(Q,J){V1.set(Q,J)}function lX(Q){return T1.get(Q)}function TX(Q,J){T1.set(Q,J)}function E$(){l1=null,V1.clear(),T1.clear()}function cX(){return c1}function rX(Q){c1=Q}function oX(){c1=void 0}var l1=null,V1,T1,c1;var v$=X(()=>{V1=new Map;T1=new Map});function d$(){let Q=new Set;return{subscribe(J){return Q.add(J),()=>{Q.delete(J)}},emit(...J){for(let Y of Q)Y(...J)},clear(){Q.clear()}}}var g$=()=>{};import{realpathSync as p$}from"fs";import{cwd as SY}from"process";function Z9(Q){return r1.add(Q),()=>r1.delete(Q)}function X9(){L1()}function L1(){for(let Q of r1)try{Q()}catch{}}function y$(){let Q="";if(typeof process<"u"&&typeof process.cwd==="function"&&typeof p$==="function"){let Y=SY();try{Q=p$(Y).normalize("NFC")}catch{Q=Y.normalize("NFC")}}return{originalCwd:Q,projectRoot:Q,totalCostUSD:0,totalAPIDuration:0,totalAPIDurationWithoutRetries:0,totalToolDuration:0,turnHookDurationMs:0,turnToolDurationMs:0,turnClassifierDurationMs:0,turnToolCount:0,turnHookCount:0,turnClassifierCount:0,startTime:Date.now(),lastInteractionTime:Date.now(),totalLinesAdded:0,totalLinesRemoved:0,hasUnknownModelCost:!1,cwd:Q,modelUsage:{},mainLoopModelOverride:void 0,initialMainLoopModel:null,modelStrings:null,isInteractive:!1,kairosActive:!1,strictToolResultPairing:!1,sdkAgentProgressSummariesEnabled:!1,userMsgOptIn:!1,clientType:"cli",sessionSource:void 0,questionPreviewFormat:void 0,sessionIngressToken:void 0,oauthTokenFromFd:void 0,apiKeyFromFd:void 0,flagSettingsPath:void 0,flagSettingsInline:null,allowedSettingSources:["userSettings","projectSettings","localSettings","flagSettings","policySettings"],meter:null,sessionCounter:null,locCounter:null,prCounter:null,commitCounter:null,costCounter:null,tokenCounter:null,codeEditToolDecisionCounter:null,activeTimeCounter:null,statsStore:null,sessionId:u1(),parentSessionId:void 0,loggerProvider:null,eventLogger:null,meterProvider:null,tracerProvider:null,agentColorMap:new Map,agentColorIndex:0,lastAPIRequest:null,lastAPIRequestMessages:null,lastClassifierRequests:null,cachedClaudeMdContent:null,inMemoryErrorLog:[],inlinePlugins:[],useCoworkPlugins:!1,sessionBypassPermissionsMode:!1,scheduledTasksEnabled:!1,sessionCronTasks:[],pendingSessionWakeup:null,sessionCreatedTeams:new Set,sessionTrustAccepted:!1,sessionPersistenceDisabled:!1,hasExitedPlanMode:!1,needsPlanModeExitAttachment:!1,needsAutoModeExitAttachment:!1,lspRecommendationShownThisSession:!1,initJsonSchema:null,registeredHooks:null,planSlugCache:new Map,teleportedSessionInfo:null,invokedSkills:new Map,slowOperations:[],sdkBetas:void 0,mainThreadAgentType:void 0,isRemoteMode:!1,directConnectServerUrl:void 0,systemPromptSectionCache:new Map,lastEmittedDate:null,additionalDirectoriesForClaudeMd:[],allowedChannels:[],hasDevChannels:!1,sessionProjectDir:null,largeSystemPromptDetected:null,afkModeHeaderLatched:null,fastModeHeaderLatched:null,thinkingClearLatched:null,lspDeferLatchedTools:null,deferredDeltaLegacySession:!1,sessionEpochMs:Date.now()-process.uptime()*1000,promptId:null,lastMainRequestId:void 0,lastApiCompletionTimestamp:null,pendingPostCompaction:!1}}function H9(){return $.sessionId}function W9(Q={}){if(Q.setCurrentAsParent)$.parentSessionId=$.sessionId;return $.planSlugCache.delete($.sessionId),$.sessionId=u1(),$.sessionProjectDir=null,S$($.sessionId),$.sessionId}function x9(){return $.parentSessionId}function U9(Q,J=null){$.planSlugCache.delete($.sessionId),$.sessionId=Q,$.sessionProjectDir=J,S$(Q)}function S$(Q){$.pendingSessionWakeup=null,jY(),$.sessionEpochMs=Date.now(),o1.emit(Q)}function G9(){return $.sessionProjectDir}function B9(){return $.originalCwd}function N9(){return $.projectRoot}function w9(Q){$.originalCwd=Q.normalize("NFC")}function z9(Q){$.projectRoot=Q.normalize("NFC")}function F9(){return $.cwd}function R9(Q){$.cwd=Q.normalize("NFC")}function q9(){return $.directConnectServerUrl}function D9(Q){$.directConnectServerUrl=Q}function O9(Q,J){$.totalAPIDuration+=Q,$.totalAPIDurationWithoutRetries+=J}function V9(){$.totalAPIDuration=0,$.totalAPIDurationWithoutRetries=0,$.totalCostUSD=0}function M9(Q,J,Y){$.modelUsage[Y]=J,$.totalCostUSD+=Q}function L9(){return $.totalCostUSD}function f9(){return $.totalAPIDuration}function P9(){return Date.now()-$.startTime}function I9(){return $.totalAPIDurationWithoutRetries}function C9(){return $.totalToolDuration}function _9(Q){$.totalToolDuration+=Q,$.turnToolDurationMs+=Q,$.turnToolCount++}function k9(){return $.turnHookDurationMs}function E9(Q){$.turnHookDurationMs+=Q,$.turnHookCount++}function v9(){$.turnHookDurationMs=0,$.turnHookCount=0}function d9(){return $.turnHookCount}function g9(){return $.turnToolDurationMs}function p9(){$.turnToolDurationMs=0,$.turnToolCount=0}function y9(){return $.turnToolCount}function S9(){return $.turnClassifierDurationMs}function m9(Q){$.turnClassifierDurationMs+=Q,$.turnClassifierCount++}function A9(){$.turnClassifierDurationMs=0,$.turnClassifierCount=0}function j9(){return $.turnClassifierCount}function h9(){return $.statsStore}function n9(Q){$.statsStore=Q}function b9(Q){if(Q)m$();else s1=!0}function i9(){if(s1)m$()}function m$(){$.lastInteractionTime=Date.now(),s1=!1}function u9(Q,J){$.totalLinesAdded+=Q,$.totalLinesRemoved+=J}function l9(){return $.totalLinesAdded}function T9(){return $.totalLinesRemoved}function c9(){return b(Object.values($.modelUsage),"inputTokens")}function A$(){return b(Object.values($.modelUsage),"outputTokens")}function r9(){return b(Object.values($.modelUsage),"cacheReadInputTokens")}function o9(){return b(Object.values($.modelUsage),"cacheCreationInputTokens")}function s9(){return b(Object.values($.modelUsage),"webSearchRequests")}function a9(){return A$()-a1}function t9(){return t1}function e9(Q){a1=A$(),t1=Q,f1=0}function QH(){return f1}function $H(){f1++}function JH(){$.hasUnknownModelCost=!0}function YH(){return $.hasUnknownModelCost}function ZH(){return $.lastMainRequestId}function XH(Q){$.lastMainRequestId=Q}function HH(){return $.lastApiCompletionTimestamp}function WH(Q){$.lastApiCompletionTimestamp=Q}function xH(){$.pendingPostCompaction=!0}function UH(){let Q=$.pendingPostCompaction;return $.pendingPostCompaction=!1,Q}function KH(){return $.lastInteractionTime}function GH(){if(M1=!0,l)clearTimeout(l);l=setTimeout(()=>{M1=!1,l=void 0},j$),l.unref?.()}function BH(){return M1}async function NH(){while(M1)await new Promise((Q)=>setTimeout(Q,j$).unref?.())}function wH(){return $.modelUsage}function zH(Q){return $.modelUsage[Q]}function FH(){return $.mainLoopModelOverride}function RH(){return $.initialMainLoopModel}function qH(Q){$.mainLoopModelOverride=Q}function DH(Q){$.initialMainLoopModel=Q}function OH(){return $.sdkBetas}function VH(Q){$.sdkBetas=Q}function MH(){$.totalCostUSD=0,$.totalAPIDuration=0,$.totalAPIDurationWithoutRetries=0,$.totalToolDuration=0,$.startTime=Date.now(),$.totalLinesAdded=0,$.totalLinesRemoved=0,$.hasUnknownModelCost=!1,$.modelUsage={},$.promptId=null}function LH({totalCostUSD:Q,totalAPIDuration:J,totalAPIDurationWithoutRetries:Y,totalToolDuration:Z,totalLinesAdded:H,totalLinesRemoved:W,lastDuration:x,modelUsage:U}){if($.totalCostUSD=Q,$.totalAPIDuration=J,$.totalAPIDurationWithoutRetries=Y,$.totalToolDuration=Z,$.totalLinesAdded=H,$.totalLinesRemoved=W,U)$.modelUsage=U;if(x)$.startTime=Date.now()-x}function fH(){throw Error("resetStateForTests can only be called in tests")}function PH(){return $.modelStrings}function IH(Q){$.modelStrings=Q}function CH(){$.modelStrings=null}function _H(Q,J){$.meter=Q,$.sessionCounter=J("claude_code.session.count",{description:"Count of CLI sessions started"}),$.locCounter=J("claude_code.lines_of_code.count",{description:"Count of lines of code modified, with the 'type' attribute indicating whether lines were added or removed"}),$.prCounter=J("claude_code.pull_request.count",{description:"Number of pull requests created"}),$.commitCounter=J("claude_code.commit.count",{description:"Number of git commits created"}),$.costCounter=J("claude_code.cost.usage",{description:"Cost of the Claude Code session",unit:"USD"}),$.tokenCounter=J("claude_code.token.usage",{description:"Number of tokens used",unit:"tokens"}),$.codeEditToolDecisionCounter=J("claude_code.code_edit_tool.decision",{description:"Count of code editing tool permission decisions (accept/reject) for Edit, Write, and NotebookEdit tools"}),$.activeTimeCounter=J("claude_code.active_time.total",{description:"Total active time in seconds",unit:"s"})}function kH(){return $.meter}function EH(){return $.sessionCounter}function vH(){return $.locCounter}function dH(){return $.prCounter}function gH(){return $.commitCounter}function pH(){return $.costCounter}function yH(){return $.tokenCounter}function SH(){return $.codeEditToolDecisionCounter}function mH(){return $.activeTimeCounter}function AH(){return $.loggerProvider}function jH(Q){$.loggerProvider=Q}function hH(){return $.eventLogger}function nH(Q){$.eventLogger=Q}function bH(){return $.meterProvider}function iH(Q){$.meterProvider=Q}function uH(){return $.tracerProvider}function lH(Q){$.tracerProvider=Q}function mY(){return!$.isInteractive}function TH(){return $.isInteractive}function cH(Q){$.isInteractive=Q}function rH(){return $.clientType}function oH(Q){$.clientType=Q}function sH(){return $.sdkAgentProgressSummariesEnabled}function aH(Q){$.sdkAgentProgressSummariesEnabled=Q}function tH(){return $.kairosActive}function eH(Q){$.kairosActive=Q,L1()}function Q4(){return $.strictToolResultPairing}function $4(Q){$.strictToolResultPairing=Q}function J4(){return $.userMsgOptIn}function Y4(Q){$.userMsgOptIn=Q,L1()}function Z4(){return $.sessionSource}function X4(Q){$.sessionSource=Q}function H4(){return $.questionPreviewFormat}function W4(Q){$.questionPreviewFormat=Q}function x4(){return $.agentColorMap}function U4(){return $.flagSettingsPath}function K4(Q){$.flagSettingsPath=Q}function G4(){return $.flagSettingsInline}function B4(Q){$.flagSettingsInline=Q}function N4(){return $.sessionIngressToken}function w4(Q){$.sessionIngressToken=Q}function z4(){return $.oauthTokenFromFd}function F4(Q){$.oauthTokenFromFd=Q}function R4(){return $.apiKeyFromFd}function q4(Q){$.apiKeyFromFd=Q}function D4(Q){$.lastAPIRequest=Q}function O4(){return $.lastAPIRequest}function V4(Q){$.lastAPIRequestMessages=Q}function M4(){return $.lastAPIRequestMessages}function L4(Q){$.lastClassifierRequests=Q}function f4(){return $.lastClassifierRequests}function P4(Q){$.cachedClaudeMdContent=Q}function I4(){return $.cachedClaudeMdContent}function C4(Q){if($.inMemoryErrorLog.length>=100)$.inMemoryErrorLog.shift();$.inMemoryErrorLog.push(Q)}function _4(){return $.allowedSettingSources}function k4(Q){$.allowedSettingSources=Q}function E4(){return mY()&&$.clientType!=="claude-vscode"}function v4(Q){$.inlinePlugins=Q}function d4(){return $.inlinePlugins}function g4(Q){$.useCoworkPlugins=Q,E$()}function p4(){return $.useCoworkPlugins}function y4(Q){$.sessionBypassPermissionsMode=Q}function S4(){return $.sessionBypassPermissionsMode}function m4(Q){$.scheduledTasksEnabled=Q}function A4(){return $.scheduledTasksEnabled}function j4(){return $.sessionCronTasks}function h4(Q){$.sessionCronTasks.push(Q)}function n4(Q){if(Q.length===0)return 0;let J=new Set(Q),Y=$.sessionCronTasks.filter((H)=>!J.has(H.id)),Z=$.sessionCronTasks.length-Y.length;if(Z===0)return 0;return $.sessionCronTasks=Y,Z}function b4(){return $.pendingSessionWakeup}function i4(Q){let J=$.pendingSessionWakeup!==null;return $.pendingSessionWakeup=Q,J}function u4(){$.pendingSessionWakeup=null}function l4(Q){$.sessionTrustAccepted=Q}function T4(){return $.sessionTrustAccepted}function c4(Q){$.sessionPersistenceDisabled=Q}function r4(){return $.sessionPersistenceDisabled}function o4(){return $.hasExitedPlanMode}function s4(Q){$.hasExitedPlanMode=Q}function a4(){return $.needsPlanModeExitAttachment}function t4(Q){$.needsPlanModeExitAttachment=Q}function e4(Q,J){if(J==="plan"&&Q!=="plan")$.needsPlanModeExitAttachment=!1;if(Q==="plan"&&J!=="plan")$.needsPlanModeExitAttachment=!0}function Q3(){return $.needsAutoModeExitAttachment}function $3(Q){$.needsAutoModeExitAttachment=Q}function J3(Q,J){if(Q==="auto"&&J==="plan"||Q==="plan"&&J==="auto")return;let Y=Q==="auto",Z=J==="auto";if(Z&&!Y)$.needsAutoModeExitAttachment=!1;if(Y&&!Z)$.needsAutoModeExitAttachment=!0}function Y3(){return $.lspRecommendationShownThisSession}function Z3(Q){$.lspRecommendationShownThisSession=Q}function X3(Q){$.initJsonSchema=Q}function H3(){return $.initJsonSchema}function W3(Q){if(!$.registeredHooks)$.registeredHooks={};for(let[J,Y]of Object.entries(Q)){let Z=J;if(!$.registeredHooks[Z])$.registeredHooks[Z]=[];$.registeredHooks[Z].push(...Y)}}function x3(){return $.registeredHooks}function U3(){$.registeredHooks=null}function K3(){if(!$.registeredHooks)return;let Q={};for(let[J,Y]of Object.entries($.registeredHooks)){let Z=Y.filter((H)=>!("pluginRoot"in H));if(Z.length>0)Q[J]=Z}$.registeredHooks=Object.keys(Q).length>0?Q:null}function G3(){$.initJsonSchema=null,$.registeredHooks=null}function B3(){return $.planSlugCache}function N3(){return $.sessionCreatedTeams}function w3(Q){$.teleportedSessionInfo={isTeleported:!0,hasLoggedFirstMessage:!1,sessionId:Q.sessionId}}function z3(){return $.teleportedSessionInfo}function F3(){if($.teleportedSessionInfo)$.teleportedSessionInfo.hasLoggedFirstMessage=!0}function R3(Q,J,Y,Z=null){let H=`${Z??""}:${Q}`;$.invokedSkills.set(H,{skillName:Q,skillPath:J,content:Y,invokedAt:Date.now(),agentId:Z})}function q3(){return $.invokedSkills}function D3(Q){let J=Q??null,Y=new Map;for(let[Z,H]of $.invokedSkills)if(H.agentId===J)Y.set(Z,H);return Y}function O3(Q){if(!Q||Q.size===0){$.invokedSkills.clear();return}for(let[J,Y]of $.invokedSkills)if(Y.agentId===null||!Q.has(Y.agentId))$.invokedSkills.delete(J)}function V3(Q){for(let[J,Y]of $.invokedSkills)if(Y.agentId===Q)$.invokedSkills.delete(J)}function M3(Q,J){}function L3(){return AY}function f3(){return $.mainThreadAgentType}function P3(Q){$.mainThreadAgentType=Q}function I3(){return $.isRemoteMode}function C3(Q){$.isRemoteMode=Q}function _3(){return $.systemPromptSectionCache}function k3(Q,J){$.systemPromptSectionCache.set(Q,J)}function E3(){$.systemPromptSectionCache.clear()}function v3(){return $.lastEmittedDate}function d3(Q){$.lastEmittedDate=Q}function g3(){return $.additionalDirectoriesForClaudeMd}function p3(Q){$.additionalDirectoriesForClaudeMd=Q}function y3(){return $.allowedChannels}function S3(Q){$.allowedChannels=Q,L1()}function m3(){return $.hasDevChannels}function A3(Q){$.hasDevChannels=Q}function j3(){return $.largeSystemPromptDetected}function h3(Q){$.largeSystemPromptDetected=Q}function n3(){return $.afkModeHeaderLatched}function b3(Q){$.afkModeHeaderLatched=Q}function i3(){return $.fastModeHeaderLatched}function u3(Q){$.fastModeHeaderLatched=Q}function l3(){return $.thinkingClearLatched}function T3(Q){$.thinkingClearLatched=Q}function c3(Q){return $.lspDeferLatchedTools?.has(Q)??!1}function r3(Q){if(!$.lspDeferLatchedTools)$.lspDeferLatchedTools=new Set;$.lspDeferLatchedTools.add(Q)}function o3(){return $.deferredDeltaLegacySession}function s3(Q){$.deferredDeltaLegacySession=Q}function jY(){$.afkModeHeaderLatched=null,$.fastModeHeaderLatched=null,$.thinkingClearLatched=null,$.lspDeferLatchedTools=null,$.deferredDeltaLegacySession=!1}function a3(){return $.sessionEpochMs}function t3(){return $.promptId}function e3(Q){$.promptId=Q}function QW(){return!1}function $W(){return null}var r1,$,o1,K9,s1=!1,a1=0,t1=null,f1=0,M1=!1,l,j$=150,AY;var hY=X(()=>{_$();k$();v$();g$();r1=new Set;$=y$();o1=d$();K9=o1.subscribe;AY=[]});
|
|
2
|
+
export{p as Wha,I1 as Xha,FQ as Yha,RQ as Zha,OQ as _ha,VQ as $ha,_1 as aia,MQ as bia,PQ as cia,IQ as dia,dQ as eia,gQ as fia,w as gia,M as hia,pQ as iia,yQ as jia,SQ as kia,mQ as lia,AQ as mia,jQ as nia,nQ as oia,bQ as pia,O as qia,m as ria,t as sia,v1 as tia,A as uia,d1 as via,$1 as wia,g1 as xia,$5 as yia,J5 as zia,X1 as Aia,X5 as Bia,H1 as Cia,y1 as Dia,W5 as Eia,x5 as Fia,U5 as Gia,K5 as Hia,G5 as Iia,B5 as Jia,q5 as Kia,D5 as Lia,W1 as Mia,S1 as Nia,m1 as Oia,O5 as Pia,G1 as Qia,P5 as Ria,A1 as Sia,d5 as Tia,w1 as Uia,j1 as Via,h as Wia,R1 as Xia,a5 as Yia,t5 as Zia,Z$ as _ia,X$ as $ia,D1 as aja,b1 as bja,I as cja,u as dja,O1 as eja,i1 as fja,F$ as gja,R$ as hja,f$ as ija,P$ as jja,nX as kja,bX as lja,iX as mja,uX as nja,lX as oja,TX as pja,E$ as qja,cX as rja,rX as sja,oX as tja,v$ as uja,d$ as vja,g$ as wja,Z9 as xja,X9 as yja,H9 as zja,W9 as Aja,x9 as Bja,U9 as Cja,K9 as Dja,G9 as Eja,B9 as Fja,N9 as Gja,w9 as Hja,z9 as Ija,F9 as Jja,R9 as Kja,q9 as Lja,D9 as Mja,O9 as Nja,V9 as Oja,M9 as Pja,L9 as Qja,f9 as Rja,P9 as Sja,I9 as Tja,C9 as Uja,_9 as Vja,k9 as Wja,E9 as Xja,v9 as Yja,d9 as Zja,g9 as _ja,p9 as $ja,y9 as aka,S9 as bka,m9 as cka,A9 as dka,j9 as eka,h9 as fka,n9 as gka,b9 as hka,i9 as ika,u9 as jka,l9 as kka,T9 as lka,c9 as mka,A$ as nka,r9 as oka,o9 as pka,s9 as qka,a9 as rka,t9 as ska,e9 as tka,QH as uka,$H as vka,JH as wka,YH as xka,ZH as yka,XH as zka,HH as Aka,WH as Bka,xH as Cka,UH as Dka,KH as Eka,GH as Fka,BH as Gka,NH as Hka,wH as Ika,zH as Jka,FH as Kka,RH as Lka,qH as Mka,DH as Nka,OH as Oka,VH as Pka,MH as Qka,LH as Rka,fH as Ska,PH as Tka,IH as Uka,CH as Vka,_H as Wka,kH as Xka,EH as Yka,vH as Zka,dH as _ka,gH as $ka,pH as ala,yH as bla,SH as cla,mH as dla,AH as ela,jH as fla,hH as gla,nH as hla,bH as ila,iH as jla,uH as kla,lH as lla,mY as mla,TH as nla,cH as ola,rH as pla,oH as qla,sH as rla,aH as sla,tH as tla,eH as ula,Q4 as vla,$4 as wla,J4 as xla,Y4 as yla,Z4 as zla,X4 as Ala,H4 as Bla,W4 as Cla,x4 as Dla,U4 as Ela,K4 as Fla,G4 as Gla,B4 as Hla,N4 as Ila,w4 as Jla,z4 as Kla,F4 as Lla,R4 as Mla,q4 as Nla,D4 as Ola,O4 as Pla,V4 as Qla,M4 as Rla,L4 as Sla,f4 as Tla,P4 as Ula,I4 as Vla,C4 as Wla,_4 as Xla,k4 as Yla,E4 as Zla,v4 as _la,d4 as $la,g4 as ama,p4 as bma,y4 as cma,S4 as dma,m4 as ema,A4 as fma,j4 as gma,h4 as hma,n4 as ima,b4 as jma,i4 as kma,u4 as lma,l4 as mma,T4 as nma,c4 as oma,r4 as pma,o4 as qma,s4 as rma,a4 as sma,t4 as tma,e4 as uma,Q3 as vma,$3 as wma,J3 as xma,Y3 as yma,Z3 as zma,X3 as Ama,H3 as Bma,W3 as Cma,x3 as Dma,U3 as Ema,K3 as Fma,G3 as Gma,B3 as Hma,N3 as Ima,w3 as Jma,z3 as Kma,F3 as Lma,R3 as Mma,q3 as Nma,D3 as Oma,O3 as Pma,V3 as Qma,M3 as Rma,L3 as Sma,f3 as Tma,P3 as Uma,I3 as Vma,C3 as Wma,_3 as Xma,k3 as Yma,E3 as Zma,v3 as _ma,d3 as $ma,g3 as ana,p3 as bna,y3 as cna,S3 as dna,m3 as ena,A3 as fna,j3 as gna,h3 as hna,n3 as ina,b3 as jna,i3 as kna,u3 as lna,l3 as mna,T3 as nna,c3 as ona,r3 as pna,o3 as qna,s3 as rna,jY as sna,a3 as tna,t3 as una,e3 as vna,QW as wna,$W as xna,hY as yna};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{lu as C,ou as X}from"./cli-0.6.2-4p9wa0p6.mjs";import{s0 as W}from"./cli-0.6.2-d3y2w089.mjs";import{Y2 as I,i3 as J,p3 as V}from"./cli-0.6.2-ea8z1e2e.mjs";import{Sea as H,lfa as T}from"./cli-0.6.2-9w9nmx9s.mjs";import{dpa as P,hpa as Q}from"./cli-0.6.2-3rgtxc9f.mjs";function v(){let K=C((q)=>q.mainLoopModel),N=C((q)=>q.mainLoopModelForSession),[,O]=z.useReducer((q)=>q+1,0);return z.useEffect(()=>H(O),[]),J(N??K??I())}var z;var Y=Q(()=>{T();X();V();z=P(W(),1)});
|
|
2
|
+
export{v as Fc,Y as Gc};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{I0 as N,N0 as $}from"./cli-0.6.2-1b9hx344.mjs";import{I1 as L,L1 as Y,Y4 as Z,y4 as M}from"./cli-0.6.2-ea8z1e2e.mjs";import{Ada as Q,Ida as X}from"./cli-0.6.2-hhjx89cr.mjs";import{aga as J,bga as V}from"./cli-0.6.2-qec7nrgw.mjs";import{Fha as S,xha as P}from"./cli-0.6.2-0f9sh5z8.mjs";import{Koa as W,soa as K}from"./cli-0.6.2-xnn1c5kd.mjs";import{hpa as R}from"./cli-0.6.2-3rgtxc9f.mjs";async function C(){let F=M()?.accessToken;if(!F)throw Error("Claude Code web sessions require authentication with a Claude.ai account. API key authentication is not sufficient. Please run /login to authenticate, or check your authentication status with /status.");let y=await L();if(!y)throw Error("Unable to get organization UUID");let G=`${J().BASE_API_URL}/v1/environment_providers`;try{let B={...N(F),"x-organization-uuid":y},q=await K.get(G,{headers:B,timeout:15000});if(q.status!==200)throw Error(`Failed to fetch environments: ${q.status} ${q.statusText}`);return q.data.environments}catch(B){let q=P(B);throw Q(q),Error(`Failed to fetch environments: ${q.message}`)}}async function j(F){let y=M()?.accessToken;if(!y)throw Error("No access token available");let G=await L();if(!G)throw Error("Unable to get organization UUID");let B=`${J().BASE_API_URL}/v1/environment_providers/cloud/create`;return(await K.post(B,{name:F,kind:"anthropic_cloud",description:"",config:{environment_type:"anthropic",cwd:"/home/user",init_script:null,environment:{},languages:[{name:"python",version:"3.11"},{name:"node",version:"20"}],network_config:{allowed_hosts:[],allow_default_hosts:!0}}},{headers:{...N(y),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":G},timeout:15000})).data}var b=R(()=>{W();V();Y();Z();S();X();$()});
|
|
2
|
+
export{C as vU,j as wU,b as xU};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{hpa as s}from"./cli-0.6.2-3rgtxc9f.mjs";function c(){return"claude-code/99.0.0"}function i(){let e=process.env.CLAUDE_CODE_ENTRYPOINT??"cli",n=process.env.CLAUDE_AGENT_SDK_VERSION?`, agent-sdk/${process.env.CLAUDE_AGENT_SDK_VERSION}`:"",t=process.env.CLAUDE_AGENT_SDK_CLIENT_APP?`, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`:"";return`claudin/0.6.2 (${e}${n}${t})`}var r=()=>{};
|
|
2
|
+
export{c as z0,i as A0,r as B0};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import{Ni as J,mL as f,mx as L,nx as k,oL as z,tO as _}from"./cli-0.6.2-4p9wa0p6.mjs";import{R9 as F,W9 as A}from"./cli-0.6.2-hhjx89cr.mjs";import{Nea as Y,Pea as h,Qea as H,Rea as X}from"./cli-0.6.2-r4p904h3.mjs";import{cga as W,ega as M}from"./cli-0.6.2-vqt5hqzr.mjs";import{eha as D,hha as R}from"./cli-0.6.2-g6c6hjc6.mjs";import{mla as q,yna as C}from"./cli-0.6.2-42d88f3r.mjs";import{hpa as V}from"./cli-0.6.2-3rgtxc9f.mjs";function S(U){let Q=[];for(let w of U){if(w.type!=="user"&&w.type!=="assistant")continue;if("isMeta"in w&&w.isMeta)continue;if("origin"in w&&w.origin&&w.origin.kind!=="human")continue;let K=w.message.content;if(typeof K==="string")Q.push(K);else if(Array.isArray(K)){for(let B of K)if("type"in B&&B.type==="text"&&"text"in B)Q.push(B.text)}}let G=Q.join(`
|
|
2
|
+
`);return G.length>$?G.slice(-$):G}async function T(U,Q){let G=U.trim();if(!G)return null;try{let w=await f({systemPrompt:L([P]),userPrompt:G,outputFormat:{type:"json_schema",schema:{type:"object",properties:{title:{type:"string"}},required:["title"],additionalProperties:!1}},signal:Q,options:{querySource:"generate_session_title",agents:[],isNonInteractiveSession:q(),hasAppendSystemPrompt:!1,mcpTools:[]}}),K=J(w.message.content),B=v().safeParse(F(K)),Z=B.success?B.data.title.trim()||null:null;return W("tengu_session_title_generated",{success:Z!==null}),Z}catch(w){return D(`generateSessionTitle failed: ${w}`,{level:"error"}),W("tengu_session_title_generated",{success:!1}),"Claudin"}}var $=1000,P=`Generate a concise, sentence-case title (3-7 words) that captures the main topic or goal of this coding session. The title should be clear enough that the user recognizes the session in a list. Use sentence case: capitalize only the first word and proper nouns.
|
|
3
|
+
|
|
4
|
+
Return JSON with a single "title" field.
|
|
5
|
+
|
|
6
|
+
Good examples:
|
|
7
|
+
{"title": "Fix login button on mobile"}
|
|
8
|
+
{"title": "Add OAuth authentication"}
|
|
9
|
+
{"title": "Debug failing CI tests"}
|
|
10
|
+
{"title": "Refactor API client error handling"}
|
|
11
|
+
|
|
12
|
+
Bad (too vague): {"title": "Code changes"}
|
|
13
|
+
Bad (too long): {"title": "Investigate and fix the issue where the login button does not respond on mobile devices"}
|
|
14
|
+
Bad (wrong case): {"title": "Fix Login Button On Mobile"}`,v;var I=V(()=>{h();C();M();z();R();A();X();_();k();v=H(()=>Y.object({title:Y.string()}))});
|
|
15
|
+
export{S as ye,T as ze,I as Ae};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{RW as f}from"./cli-0.6.2-4r69ge5f.mjs";import{p0 as p,r0 as c}from"./cli-0.6.2-jrpted0b.mjs";import{s0 as M}from"./cli-0.6.2-d3y2w089.mjs";import{dpa as o}from"./cli-0.6.2-3rgtxc9f.mjs";c();var n=o(f(),1),r=o(M(),1),d=r.createContext(void 0);function a(F){let e=n.c(3),{getFpsMetrics:s,children:i}=F,t;if(e[0]!==i||e[1]!==s)t=p(d.Provider,{value:s,children:i}),e[0]=i,e[1]=s,e[2]=t;else t=e[2];return t}function l(){return r.useContext(d)}
|
|
2
|
+
export{a as zb,l as Ab};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import{Uw as B,Ww as U,dN as L,eN as w,fO as N,tO as d}from"./cli-0.6.2-4p9wa0p6.mjs";import{Z9 as z,e_ as F,haa as P}from"./cli-0.6.2-hhjx89cr.mjs";import{Zda as H,dea as v}from"./cli-0.6.2-73vnf2t2.mjs";import{hpa as j}from"./cli-0.6.2-3rgtxc9f.mjs";async function V(R){let{messages:I,getAppState:O,options:{mainLoopModel:J,tools:Y,agentDefinitions:Z,customSystemPrompt:W,appendSystemPrompt:X}}=R,Q=N(I),{messages:K}=await B(Q),h=O();return L(K,J,async()=>h.toolPermissionContext,Y,Z,void 0,{options:{customSystemPrompt:W,appendSystemPrompt:X}},void 0,Q)}async function g(R,I){let O=await V(I);return{type:"text",value:b(O)}}function b(R){let{categories:I,totalTokens:O,rawMaxTokens:J,percentage:Y,model:Z,memoryFiles:W,mcpTools:X,agents:Q,skills:K}=R,h=`## Context Usage
|
|
2
|
+
|
|
3
|
+
`;h+=`**Model:** ${Z}
|
|
4
|
+
`,h+=`**Tokens:** ${H(O)} / ${H(J)} (${Y}%)
|
|
5
|
+
`,h+=`
|
|
6
|
+
`;let _=I.filter((q)=>q.tokens>0&&q.name!=="Free space"&&q.name!=="Autocompact buffer");if(_.length>0){h+=`### Estimated usage by category
|
|
7
|
+
|
|
8
|
+
`,h+=`| Category | Tokens | Percentage |
|
|
9
|
+
`,h+=`|----------|--------|------------|
|
|
10
|
+
`;for(let G of _){let $=(G.tokens/J*100).toFixed(1);h+=`| ${G.name} | ${H(G.tokens)} | ${$}% |
|
|
11
|
+
`}let q=I.find((G)=>G.name==="Free space");if(q&&q.tokens>0){let G=(q.tokens/J*100).toFixed(1);h+=`| Free space | ${H(q.tokens)} | ${G}% |
|
|
12
|
+
`}let E=I.find((G)=>G.name==="Autocompact buffer");if(E&&E.tokens>0){let G=(E.tokens/J*100).toFixed(1);h+=`| Autocompact buffer | ${H(E.tokens)} | ${G}% |
|
|
13
|
+
`}h+=`
|
|
14
|
+
`}if(X.length>0){h+=`### MCP Tools
|
|
15
|
+
|
|
16
|
+
`,h+=`| Tool | Server | Tokens |
|
|
17
|
+
`,h+=`|------|--------|--------|
|
|
18
|
+
`;for(let q of X)h+=`| ${q.name} | ${q.serverName} | ${H(q.tokens)} |
|
|
19
|
+
`;h+=`
|
|
20
|
+
`}if(Q.length>0){h+=`### Custom Agents
|
|
21
|
+
|
|
22
|
+
`,h+=`| Agent Type | Source | Tokens |
|
|
23
|
+
`,h+=`|------------|--------|--------|
|
|
24
|
+
`;for(let q of Q){let E;switch(q.source){case"projectSettings":E="Project";break;case"userSettings":E="User";break;case"localSettings":E="Local";break;case"flagSettings":E="Flag";break;case"policySettings":E="Policy";break;case"plugin":E="Plugin";break;case"built-in":E="Built-in";break;default:E=String(q.source)}h+=`| ${q.agentType} | ${E} | ${H(q.tokens)} |
|
|
25
|
+
`}h+=`
|
|
26
|
+
`}if(W.length>0){h+=`### Memory Files
|
|
27
|
+
|
|
28
|
+
`,h+=`| Type | Path | Tokens |
|
|
29
|
+
`,h+=`|------|------|--------|
|
|
30
|
+
`;for(let q of W)h+=`| ${q.type} | ${q.path} | ${H(q.tokens)} |
|
|
31
|
+
`;h+=`
|
|
32
|
+
`}if(K&&K.tokens>0&&K.skillFrontmatter.length>0){h+=`### Skills
|
|
33
|
+
|
|
34
|
+
`,h+=`| Skill | Source | Tokens |
|
|
35
|
+
`,h+=`|-------|--------|--------|
|
|
36
|
+
`;for(let q of K.skillFrontmatter)h+=`| ${q.name} | ${z(q.source)} | ${H(q.tokens)} |
|
|
37
|
+
`;h+=`
|
|
38
|
+
`}return h}var A=j(()=>{U();w();v();d();F();P()});
|
|
39
|
+
export{V as Fg,g as Gg,A as Hg};
|