@claudiolabs/claudin 0.6.1 → 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-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.1-2b9yaj35.mjs +0 -1
- package/dist/chunks/App-0.6.1-sqd9wgy4.mjs +0 -1
- package/dist/chunks/ApproveApiKey-0.6.1-baj4maw0.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-0.6.1-77f308qc.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-0.6.1-q2fa8wy9.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-0.6.1-vj7zarcr.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.1-ywjkq6yd.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-0.6.1-7092d0jn.mjs +0 -1
- package/dist/chunks/DiffDialog-0.6.1-43pkwyjr.mjs +0 -3
- package/dist/chunks/Doctor-0.6.1-cptm2pha.mjs +0 -1
- package/dist/chunks/Grove-0.6.1-ty02ny05.mjs +0 -1
- package/dist/chunks/ITermBackend-0.6.1-hhbm7qhe.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-0.6.1-2r03697h.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-0.6.1-fz8qbmrm.mjs +0 -1
- package/dist/chunks/MigrationDialog-0.6.1-f184vmmc.mjs +0 -1
- package/dist/chunks/Onboarding-0.6.1-k9r90dkb.mjs +0 -1
- package/dist/chunks/ProviderManager-0.6.1-k9cepg1h.mjs +0 -1
- package/dist/chunks/REPL-0.6.1-v3fvm99r.mjs +0 -1
- package/dist/chunks/ResumeConversation-0.6.1-4rzcxbm0.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-0.6.1-3tfkf2r1.mjs +0 -1
- package/dist/chunks/TeleportProgress-0.6.1-6sxb0xve.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-0.6.1-ct0aebdh.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-0.6.1-rby53r9t.mjs +0 -1
- package/dist/chunks/TmuxBackend-0.6.1-aha1d4jg.mjs +0 -9
- package/dist/chunks/ToolSearchTool-0.6.1-wyvd75qb.mjs +0 -1
- package/dist/chunks/TrustDialog-0.6.1-0dxgmy9j.mjs +0 -1
- package/dist/chunks/activeProvider-0.6.1-edcjn35d.mjs +0 -1
- package/dist/chunks/add-dir-0.6.1-vbry4cq5.mjs +0 -1
- package/dist/chunks/agents-0.6.1-6g7eqc6g.mjs +0 -3
- package/dist/chunks/agents-0.6.1-bmw6yemz.mjs +0 -110
- package/dist/chunks/api-0.6.1-p90y28ss.mjs +0 -1
- package/dist/chunks/asciicast-0.6.1-dvny24yw.mjs +0 -1
- package/dist/chunks/assistant-0.6.1-c7xjeve6.mjs +0 -1
- package/dist/chunks/auth-0.6.1-qmmqr4a0.mjs +0 -1
- package/dist/chunks/auth-0.6.1-zmzs34rx.mjs +0 -1
- package/dist/chunks/autoMode-0.6.1-bcye95b8.mjs +0 -48
- package/dist/chunks/autoUpdater-0.6.1-477zfmqr.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-0.6.1-6c0npbxs.mjs +0 -1
- package/dist/chunks/branch-0.6.1-x2xgjxty.mjs +0 -4
- package/dist/chunks/bridgePointer-0.6.1-6mp5c94p.mjs +0 -1
- package/dist/chunks/btw-0.6.1-0vee5vec.mjs +0 -1
- package/dist/chunks/buddy-0.6.1-10x5b5m0.mjs +0 -3
- package/dist/chunks/cacache-0.6.1-t6wndp6s.mjs +0 -1
- package/dist/chunks/cache-probe-0.6.1-kb2vnp2j.mjs +0 -21
- package/dist/chunks/cacheStats-0.6.1-wa9ng3pv.mjs +0 -4
- package/dist/chunks/caches-0.6.1-h39v3a02.mjs +0 -1
- package/dist/chunks/claudeDesktop-0.6.1-gsfj6bp7.mjs +0 -1
- package/dist/chunks/claudemd-0.6.1-bp7xc2mx.mjs +0 -1
- package/dist/chunks/clear-0.6.1-ct2r7t9t.mjs +0 -1
- package/dist/chunks/clearTerminal-0.6.1-6gr2k1tw.mjs +0 -1
- package/dist/chunks/cli-0.6.1-0agnsggr.mjs +0 -2
- package/dist/chunks/cli-0.6.1-0bqe4byy.mjs +0 -2
- package/dist/chunks/cli-0.6.1-0f7jh20f.mjs +0 -2
- package/dist/chunks/cli-0.6.1-0jy2jkq4.mjs +0 -15
- package/dist/chunks/cli-0.6.1-0pwatab1.mjs +0 -2
- package/dist/chunks/cli-0.6.1-0r6z6t9d.mjs +0 -2
- package/dist/chunks/cli-0.6.1-0z6pdqg3.mjs +0 -2
- package/dist/chunks/cli-0.6.1-1a523nkb.mjs +0 -2
- package/dist/chunks/cli-0.6.1-1k359w9m.mjs +0 -2
- package/dist/chunks/cli-0.6.1-1n5ek5r5.mjs +0 -2
- package/dist/chunks/cli-0.6.1-22ayz1qb.mjs +0 -133
- package/dist/chunks/cli-0.6.1-24tz9gwy.mjs +0 -2
- package/dist/chunks/cli-0.6.1-263k8zfv.mjs +0 -24
- package/dist/chunks/cli-0.6.1-2avp7x48.mjs +0 -2
- package/dist/chunks/cli-0.6.1-2sc0f0mb.mjs +0 -2
- package/dist/chunks/cli-0.6.1-2wfbdh6y.mjs +0 -6
- package/dist/chunks/cli-0.6.1-2wy35yyy.mjs +0 -20
- package/dist/chunks/cli-0.6.1-2zh54t3f.mjs +0 -2
- package/dist/chunks/cli-0.6.1-39s97gy4.mjs +0 -2
- package/dist/chunks/cli-0.6.1-39t9nckk.mjs +0 -2
- package/dist/chunks/cli-0.6.1-3c4bskq1.mjs +0 -2
- package/dist/chunks/cli-0.6.1-3jfbggrv.mjs +0 -18
- package/dist/chunks/cli-0.6.1-3nvnx582.mjs +0 -2
- package/dist/chunks/cli-0.6.1-3r1egjh5.mjs +0 -3
- package/dist/chunks/cli-0.6.1-3x2x8nsx.mjs +0 -2
- package/dist/chunks/cli-0.6.1-3xsbth8a.mjs +0 -2
- package/dist/chunks/cli-0.6.1-481efx1c.mjs +0 -3
- package/dist/chunks/cli-0.6.1-481k0n0b.mjs +0 -2
- package/dist/chunks/cli-0.6.1-4argxq2y.mjs +0 -2
- package/dist/chunks/cli-0.6.1-4fjwfatp.mjs +0 -2
- package/dist/chunks/cli-0.6.1-4r2x7kmj.mjs +0 -12
- package/dist/chunks/cli-0.6.1-51sp0g9f.mjs +0 -25
- package/dist/chunks/cli-0.6.1-57gxa3fn.mjs +0 -2
- package/dist/chunks/cli-0.6.1-59957axm.mjs +0 -2
- package/dist/chunks/cli-0.6.1-5gcjed1z.mjs +0 -2
- package/dist/chunks/cli-0.6.1-5m3ph8yr.mjs +0 -2
- package/dist/chunks/cli-0.6.1-5pwj3d7r.mjs +0 -6
- package/dist/chunks/cli-0.6.1-5qttbnpm.mjs +0 -2
- package/dist/chunks/cli-0.6.1-5qyw0ayj.mjs +0 -24
- package/dist/chunks/cli-0.6.1-5rb1fsaa.mjs +0 -2
- package/dist/chunks/cli-0.6.1-5sj9ea9y.mjs +0 -4
- package/dist/chunks/cli-0.6.1-60wfpc5c.mjs +0 -2
- package/dist/chunks/cli-0.6.1-6erz0ahq.mjs +0 -18
- package/dist/chunks/cli-0.6.1-6rspq12f.mjs +0 -2
- package/dist/chunks/cli-0.6.1-6xr6nx71.mjs +0 -2
- package/dist/chunks/cli-0.6.1-7b4bmf31.mjs +0 -2
- package/dist/chunks/cli-0.6.1-7hcdhx2y.mjs +0 -2
- package/dist/chunks/cli-0.6.1-7mnw60rd.mjs +0 -2
- package/dist/chunks/cli-0.6.1-7rde0hat.mjs +0 -1
- package/dist/chunks/cli-0.6.1-85mcqw66.mjs +0 -2
- package/dist/chunks/cli-0.6.1-8djfzern.mjs +0 -2
- package/dist/chunks/cli-0.6.1-8fpj913g.mjs +0 -2
- package/dist/chunks/cli-0.6.1-8x7dm6mk.mjs +0 -3
- package/dist/chunks/cli-0.6.1-8y4y6nv3.mjs +0 -2
- package/dist/chunks/cli-0.6.1-94k5k8gj.mjs +0 -2
- package/dist/chunks/cli-0.6.1-9j0tzj57.mjs +0 -3
- package/dist/chunks/cli-0.6.1-9kse9m13.mjs +0 -12
- package/dist/chunks/cli-0.6.1-9m3tqqvw.mjs +0 -2
- package/dist/chunks/cli-0.6.1-9te6kt3m.mjs +0 -2
- package/dist/chunks/cli-0.6.1-a2tyzbp4.mjs +0 -9
- package/dist/chunks/cli-0.6.1-a7130ntd.mjs +0 -2
- package/dist/chunks/cli-0.6.1-agqm0wsp.mjs +0 -2
- package/dist/chunks/cli-0.6.1-amg1caaz.mjs +0 -2
- package/dist/chunks/cli-0.6.1-as4q7dcy.mjs +0 -2
- package/dist/chunks/cli-0.6.1-aw7t5zg2.mjs +0 -5322
- package/dist/chunks/cli-0.6.1-ay9b7nme.mjs +0 -2
- package/dist/chunks/cli-0.6.1-b0cyn50w.mjs +0 -45
- package/dist/chunks/cli-0.6.1-bak7jvd3.mjs +0 -2
- package/dist/chunks/cli-0.6.1-bk01taq5.mjs +0 -2
- package/dist/chunks/cli-0.6.1-bn89zt4s.mjs +0 -2
- package/dist/chunks/cli-0.6.1-bp0mdayc.mjs +0 -2
- package/dist/chunks/cli-0.6.1-bx5g1s5d.mjs +0 -21
- package/dist/chunks/cli-0.6.1-bygvqehn.mjs +0 -2
- package/dist/chunks/cli-0.6.1-c10fzbkx.mjs +0 -4
- package/dist/chunks/cli-0.6.1-c2scacda.mjs +0 -10
- package/dist/chunks/cli-0.6.1-c494rthj.mjs +0 -2
- package/dist/chunks/cli-0.6.1-cb15wwgj.mjs +0 -2
- package/dist/chunks/cli-0.6.1-cntxcs18.mjs +0 -2
- package/dist/chunks/cli-0.6.1-cyesbyzb.mjs +0 -2
- package/dist/chunks/cli-0.6.1-dbk7et0y.mjs +0 -3
- package/dist/chunks/cli-0.6.1-dq9trhqw.mjs +0 -2
- package/dist/chunks/cli-0.6.1-dsry83zd.mjs +0 -2
- package/dist/chunks/cli-0.6.1-e895xgfg.mjs +0 -2
- package/dist/chunks/cli-0.6.1-eaf4rwyc.mjs +0 -4
- package/dist/chunks/cli-0.6.1-egwp1swr.mjs +0 -3
- package/dist/chunks/cli-0.6.1-ehdz64pd.mjs +0 -15
- package/dist/chunks/cli-0.6.1-ersr5ygq.mjs +0 -2
- package/dist/chunks/cli-0.6.1-ewkq3bnm.mjs +0 -2
- package/dist/chunks/cli-0.6.1-f7gt1c0a.mjs +0 -2
- package/dist/chunks/cli-0.6.1-fc2ewzw4.mjs +0 -2
- package/dist/chunks/cli-0.6.1-fc3sjkr8.mjs +0 -2
- package/dist/chunks/cli-0.6.1-fez41x44.mjs +0 -2
- package/dist/chunks/cli-0.6.1-fgnbf5bf.mjs +0 -2
- package/dist/chunks/cli-0.6.1-fpj8wpjs.mjs +0 -39
- package/dist/chunks/cli-0.6.1-fq7f4jb5.mjs +0 -2
- package/dist/chunks/cli-0.6.1-fzkdgcv3.mjs +0 -3
- package/dist/chunks/cli-0.6.1-gctajvvw.mjs +0 -4
- package/dist/chunks/cli-0.6.1-gdpgyrvw.mjs +0 -2
- package/dist/chunks/cli-0.6.1-gqhwqmhd.mjs +0 -12
- package/dist/chunks/cli-0.6.1-h0rn9sr9.mjs +0 -2
- package/dist/chunks/cli-0.6.1-h379gj9d.mjs +0 -2
- package/dist/chunks/cli-0.6.1-h757m4m8.mjs +0 -2
- package/dist/chunks/cli-0.6.1-hgctsdgg.mjs +0 -2
- package/dist/chunks/cli-0.6.1-hgz08acq.mjs +0 -16
- package/dist/chunks/cli-0.6.1-hj8ew2yx.mjs +0 -2
- package/dist/chunks/cli-0.6.1-hrnyr65b.mjs +0 -5
- package/dist/chunks/cli-0.6.1-j4akqyey.mjs +0 -2
- package/dist/chunks/cli-0.6.1-j8nqjtw2.mjs +0 -59
- package/dist/chunks/cli-0.6.1-jb3djqjh.mjs +0 -2
- package/dist/chunks/cli-0.6.1-jca1jhwf.mjs +0 -2
- package/dist/chunks/cli-0.6.1-je6nv7n6.mjs +0 -67
- package/dist/chunks/cli-0.6.1-jy43zg5q.mjs +0 -2
- package/dist/chunks/cli-0.6.1-jyw27bnr.mjs +0 -2
- package/dist/chunks/cli-0.6.1-k0sj08eq.mjs +0 -2
- package/dist/chunks/cli-0.6.1-katpz9mk.mjs +0 -2
- package/dist/chunks/cli-0.6.1-kfy009df.mjs +0 -2
- package/dist/chunks/cli-0.6.1-krcqab65.mjs +0 -18
- package/dist/chunks/cli-0.6.1-ksvftj0q.mjs +0 -2
- package/dist/chunks/cli-0.6.1-n7yfhpx0.mjs +0 -34
- package/dist/chunks/cli-0.6.1-n93sg062.mjs +0 -3
- package/dist/chunks/cli-0.6.1-ne71q1ht.mjs +0 -2
- package/dist/chunks/cli-0.6.1-nen4rh8r.mjs +0 -2
- package/dist/chunks/cli-0.6.1-nj1fz1ee.mjs +0 -2
- package/dist/chunks/cli-0.6.1-nk615t5t.mjs +0 -2
- package/dist/chunks/cli-0.6.1-np8mapek.mjs +0 -2
- package/dist/chunks/cli-0.6.1-nx5jm8nf.mjs +0 -3
- package/dist/chunks/cli-0.6.1-p94mckzz.mjs +0 -2
- package/dist/chunks/cli-0.6.1-pkqzm2ty.mjs +0 -5
- package/dist/chunks/cli-0.6.1-qdytg688.mjs +0 -2
- package/dist/chunks/cli-0.6.1-qftnyx2b.mjs +0 -2
- package/dist/chunks/cli-0.6.1-qk3v8fwe.mjs +0 -4
- package/dist/chunks/cli-0.6.1-qqtj12xs.mjs +0 -9
- package/dist/chunks/cli-0.6.1-qre0g1ag.mjs +0 -2
- package/dist/chunks/cli-0.6.1-qsq2xg3g.mjs +0 -4
- package/dist/chunks/cli-0.6.1-rjp543r8.mjs +0 -42
- package/dist/chunks/cli-0.6.1-rsa7f7a3.mjs +0 -2
- package/dist/chunks/cli-0.6.1-s13hz2xf.mjs +0 -2
- package/dist/chunks/cli-0.6.1-s1snv8wb.mjs +0 -2
- package/dist/chunks/cli-0.6.1-sbqpxvzz.mjs +0 -2
- package/dist/chunks/cli-0.6.1-sgm15vmv.mjs +0 -2
- package/dist/chunks/cli-0.6.1-sq2cnxjs.mjs +0 -2
- package/dist/chunks/cli-0.6.1-sq5qhzhn.mjs +0 -8
- package/dist/chunks/cli-0.6.1-srah4vag.mjs +0 -2
- package/dist/chunks/cli-0.6.1-svkrdf57.mjs +0 -2
- package/dist/chunks/cli-0.6.1-syhvjk64.mjs +0 -2
- package/dist/chunks/cli-0.6.1-t35v9gfs.mjs +0 -2
- package/dist/chunks/cli-0.6.1-taw5rdf2.mjs +0 -50
- package/dist/chunks/cli-0.6.1-tkjavmyv.mjs +0 -5
- package/dist/chunks/cli-0.6.1-trn8t31z.mjs +0 -2
- package/dist/chunks/cli-0.6.1-ttxz68nf.mjs +0 -58
- package/dist/chunks/cli-0.6.1-tx5cxejc.mjs +0 -3
- package/dist/chunks/cli-0.6.1-v15rcvwv.mjs +0 -2
- package/dist/chunks/cli-0.6.1-v39bx87n.mjs +0 -2
- package/dist/chunks/cli-0.6.1-v7m7rsb0.mjs +0 -2
- package/dist/chunks/cli-0.6.1-v95z8p88.mjs +0 -2
- package/dist/chunks/cli-0.6.1-vcgwtxe8.mjs +0 -133
- package/dist/chunks/cli-0.6.1-vep0hgj0.mjs +0 -2
- package/dist/chunks/cli-0.6.1-vgj2ekm4.mjs +0 -2
- package/dist/chunks/cli-0.6.1-vgznt46g.mjs +0 -2
- package/dist/chunks/cli-0.6.1-vkd5hcb8.mjs +0 -2
- package/dist/chunks/cli-0.6.1-vr6dwhw0.mjs +0 -17
- package/dist/chunks/cli-0.6.1-vvycdrz3.mjs +0 -2
- package/dist/chunks/cli-0.6.1-vz6zhwrs.mjs +0 -2
- package/dist/chunks/cli-0.6.1-w9afetc8.mjs +0 -2
- package/dist/chunks/cli-0.6.1-wz2nkwz1.mjs +0 -4
- package/dist/chunks/cli-0.6.1-x25mwydc.mjs +0 -2
- package/dist/chunks/cli-0.6.1-x3sm4qwg.mjs +0 -2
- package/dist/chunks/cli-0.6.1-x4kttrew.mjs +0 -2
- package/dist/chunks/cli-0.6.1-x5fsjhh0.mjs +0 -3
- package/dist/chunks/cli-0.6.1-xcamy4zk.mjs +0 -2
- package/dist/chunks/cli-0.6.1-xhm4pfg5.mjs +0 -2
- package/dist/chunks/cli-0.6.1-xk82vgbd.mjs +0 -2
- package/dist/chunks/cli-0.6.1-xn6xkj8r.mjs +0 -17
- package/dist/chunks/cli-0.6.1-xpqybxb3.mjs +0 -6
- package/dist/chunks/cli-0.6.1-y15p20f4.mjs +0 -7
- package/dist/chunks/cli-0.6.1-yafngt11.mjs +0 -4
- package/dist/chunks/cli-0.6.1-ybch0rz5.mjs +0 -193
- package/dist/chunks/cli-0.6.1-yjn2sk7y.mjs +0 -2
- package/dist/chunks/cli-0.6.1-ysqzwf65.mjs +0 -2
- package/dist/chunks/cli-0.6.1-yxv8jw6e.mjs +0 -3
- package/dist/chunks/cli-0.6.1-z11x4s9s.mjs +0 -4
- package/dist/chunks/cli-0.6.1-zac9yqwp.mjs +0 -2
- package/dist/chunks/cli-0.6.1-zdetqpgd.mjs +0 -2
- package/dist/chunks/cli-0.6.1-zerz57mn.mjs +0 -4
- package/dist/chunks/cli-0.6.1-zkz3hp6v.mjs +0 -2
- package/dist/chunks/cli-0.6.1-zp8yt3me.mjs +0 -2
- package/dist/chunks/cli-0.6.1-zscfe2d6.mjs +0 -2
- package/dist/chunks/cli-0.6.1-zznedec0.mjs +0 -15
- package/dist/chunks/client-0.6.1-f1wz818f.mjs +0 -1
- package/dist/chunks/color-0.6.1-39x5mjrw.mjs +0 -1
- package/dist/chunks/compact-0.6.1-qmw1c0k5.mjs +0 -3
- package/dist/chunks/config-0.6.1-0sgd8g9c.mjs +0 -1
- package/dist/chunks/config-0.6.1-jtzeeq94.mjs +0 -1
- package/dist/chunks/constants-0.6.1-x7zzrahn.mjs +0 -1
- package/dist/chunks/context-0.6.1-91fk726f.mjs +0 -1
- package/dist/chunks/context-noninteractive-0.6.1-w6v2qm5p.mjs +0 -1
- package/dist/chunks/conversation-0.6.1-s8pkny9g.mjs +0 -1
- package/dist/chunks/copilotHeaders-0.6.1-5qr59e2q.mjs +0 -1
- package/dist/chunks/copy-0.6.1-hj7kkkb0.mjs +0 -9
- package/dist/chunks/cost-0.6.1-qfwk0ft6.mjs +0 -1
- package/dist/chunks/createSSHSession-0.6.1-8pxajawh.mjs +0 -1
- package/dist/chunks/createSession-0.6.1-23bnms7y.mjs +0 -1
- package/dist/chunks/debug-0.6.1-r42ensd9.mjs +0 -1
- package/dist/chunks/defaultActionDeps-0.6.1-hsssc0vk.mjs +0 -1365
- package/dist/chunks/desktop-0.6.1-7bxmq0nj.mjs +0 -1
- package/dist/chunks/detectRepository-0.6.1-e5c2p61b.mjs +0 -1
- package/dist/chunks/detection-0.6.1-htd79a96.mjs +0 -1
- package/dist/chunks/diff-0.6.1-vk9z6wqg.mjs +0 -1
- package/dist/chunks/doctor-0.6.1-0vcg8q42.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-0.6.1-5ag5mgxk.mjs +0 -1
- package/dist/chunks/earlyInput-0.6.1-ackq9kf1.mjs +0 -1
- package/dist/chunks/effort-0.6.1-j6f1gp2z.mjs +0 -10
- package/dist/chunks/envUtils-0.6.1-9m48026q.mjs +0 -1
- package/dist/chunks/environmentSelection-0.6.1-vg5vgac7.mjs +0 -1
- package/dist/chunks/environments-0.6.1-pdexpf06.mjs +0 -1
- package/dist/chunks/errors-0.6.1-4v305q50.mjs +0 -1
- package/dist/chunks/exampleCommands-0.6.1-38stg387.mjs +0 -1
- package/dist/chunks/exit-0.6.1-mktwwvyj.mjs +0 -1
- package/dist/chunks/export-0.6.1-zc1hfk24.mjs +0 -2
- package/dist/chunks/extra-usage-0.6.1-wd89f315.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-0.6.1-t7dbhvyj.mjs +0 -1
- package/dist/chunks/fast-0.6.1-r6b8a0jx.mjs +0 -1
- package/dist/chunks/feedback-0.6.1-318aqn49.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-0.6.1-fd6ha0k4.mjs +0 -1
- package/dist/chunks/git-0.6.1-7ttpbhwc.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-0.6.1-9ds8a7fr.mjs +0 -1
- package/dist/chunks/goal-0.6.1-qh393evm.mjs +0 -4
- package/dist/chunks/grove-0.6.1-r5vxxzjz.mjs +0 -1
- package/dist/chunks/growthbook-0.6.1-md0gf7ks.mjs +0 -1
- package/dist/chunks/headless-0.6.1-h7011eeb.mjs +0 -2
- package/dist/chunks/heapdump-0.6.1-jx537rkx.mjs +0 -6
- package/dist/chunks/help-0.6.1-fw6h8sky.mjs +0 -1
- package/dist/chunks/hookChains-0.6.1-rkbx2t08.mjs +0 -3
- package/dist/chunks/hooks-0.6.1-91f4dj33.mjs +0 -1
- package/dist/chunks/hooks-0.6.1-dnspnhgd.mjs +0 -79
- package/dist/chunks/ide-0.6.1-hh533s3f.mjs +0 -3
- package/dist/chunks/image-processor-napi-0.6.1-3xp446fk.mjs +0 -1
- package/dist/chunks/index-0.6.1-09g2rewq.mjs +0 -1
- package/dist/chunks/index-0.6.1-0c57bpxq.mjs +0 -5
- package/dist/chunks/index-0.6.1-0grk74h7.mjs +0 -1
- package/dist/chunks/index-0.6.1-0vyqysww.mjs +0 -1
- package/dist/chunks/index-0.6.1-14xdd101.mjs +0 -1
- package/dist/chunks/index-0.6.1-3y22dzck.mjs +0 -1
- package/dist/chunks/index-0.6.1-5hede59y.mjs +0 -1
- package/dist/chunks/index-0.6.1-6vg6rzs0.mjs +0 -1
- package/dist/chunks/index-0.6.1-93zddsg2.mjs +0 -1
- package/dist/chunks/index-0.6.1-9w2d7p1e.mjs +0 -1
- package/dist/chunks/index-0.6.1-b8yv5gy2.mjs +0 -9
- package/dist/chunks/index-0.6.1-d7vyz56s.mjs +0 -17
- package/dist/chunks/index-0.6.1-dx12abyz.mjs +0 -1
- package/dist/chunks/index-0.6.1-f8srt3s7.mjs +0 -1
- package/dist/chunks/index-0.6.1-fd7pn0sn.mjs +0 -1
- package/dist/chunks/index-0.6.1-h8zv2k0g.mjs +0 -30
- package/dist/chunks/index-0.6.1-hfzesfbt.mjs +0 -1
- package/dist/chunks/index-0.6.1-r75bspk7.mjs +0 -2
- package/dist/chunks/index-0.6.1-t8sgq6bc.mjs +0 -1
- package/dist/chunks/index-0.6.1-vqtjqmqh.mjs +0 -9
- package/dist/chunks/index-0.6.1-wpz2sj28.mjs +0 -2
- package/dist/chunks/index-0.6.1-y6b4meqt.mjs +0 -1
- package/dist/chunks/init-0.6.1-0d45p8bb.mjs +0 -1
- package/dist/chunks/initReplBridge-0.6.1-x10y77yb.mjs +0 -1
- package/dist/chunks/ink-0.6.1-frjecwrb.mjs +0 -1
- package/dist/chunks/insights-0.6.1-jfq7b6tw.mjs +0 -870
- package/dist/chunks/install-0.6.1-egwy09ax.mjs +0 -1
- package/dist/chunks/install-github-app-0.6.1-0weabx7j.mjs +0 -149
- package/dist/chunks/install-slack-app-0.6.1-1y33208g.mjs +0 -1
- package/dist/chunks/instrumentation-0.6.1-q16b8vzj.mjs +0 -1
- package/dist/chunks/interactiveHelpers-0.6.1-vadchdt4.mjs +0 -1
- package/dist/chunks/keybindings-0.6.1-mxntktr5.mjs +0 -2
- package/dist/chunks/knowledge-0.6.1-3xqwg7qm.mjs +0 -2
- package/dist/chunks/latestVersionCache-0.6.1-900swz28.mjs +0 -1
- package/dist/chunks/loadAgentsDir-0.6.1-4kmt7rg0.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.6.1-q16r2b1a.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.6.1-smdakskd.mjs +0 -1
- package/dist/chunks/log-0.6.1-k5w8v9b7.mjs +0 -1
- package/dist/chunks/main-0.6.1-v5q5kdjt.mjs +0 -1
- package/dist/chunks/managedEnv-0.6.1-x9wyzt74.mjs +0 -1
- package/dist/chunks/mcp-0.6.1-06zc97m0.mjs +0 -4
- package/dist/chunks/mcp-0.6.1-sp1gzne1.mjs +0 -1
- package/dist/chunks/mcp-0.6.1-yfzfbpgf.mjs +0 -17
- package/dist/chunks/mcpb-0.6.1-e6wqpjjr.mjs +0 -1
- package/dist/chunks/memory-0.6.1-197wbyh9.mjs +0 -3
- package/dist/chunks/mobile-0.6.1-p623pybm.mjs +0 -2
- package/dist/chunks/model-0.6.1-fzqfznkt.mjs +0 -2
- package/dist/chunks/model-0.6.1-hkw4jq8s.mjs +0 -1
- package/dist/chunks/node-0.6.1-1zzbgn75.mjs +0 -12
- package/dist/chunks/oauth-0.6.1-j5fet3d4.mjs +0 -1
- package/dist/chunks/openaiShim-0.6.1-hcjz6jw0.mjs +0 -14
- package/dist/chunks/output-style-0.6.1-nd3zbark.mjs +0 -1
- package/dist/chunks/package-D6422PQU-0.6.1-v7kakn1v.mjs +0 -1
- package/dist/chunks/parseConnectUrl-0.6.1-ejn7xha9.mjs +0 -1
- package/dist/chunks/parser-0.6.1-fp8tsr8z.mjs +0 -1
- package/dist/chunks/passes-0.6.1-mdsmrywr.mjs +0 -1
- package/dist/chunks/permissions-0.6.1-b7hww4nq.mjs +0 -3
- package/dist/chunks/plan-0.6.1-r0w4htej.mjs +0 -1
- package/dist/chunks/plist-0.6.1-xe8jtnxk.mjs +0 -1
- package/dist/chunks/plugin-0.6.1-4p7wpc14.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-0.6.1-gt4eypw9.mjs +0 -1
- package/dist/chunks/plugins-0.6.1-3zsktaas.mjs +0 -9
- package/dist/chunks/preActionHook-0.6.1-78da30nj.mjs +0 -2
- package/dist/chunks/print-0.6.1-xbgj0g80.mjs +0 -57
- package/dist/chunks/privacy-settings-0.6.1-nnhvq7b2.mjs +0 -1
- package/dist/chunks/process-0.6.1-fx7x9r07.mjs +0 -1
- package/dist/chunks/processBashCommand-0.6.1-bdscj4y4.mjs +0 -1
- package/dist/chunks/processSlashCommand-0.6.1-tf3bkmyy.mjs +0 -9
- package/dist/chunks/prompt-0.6.1-3dnt3zey.mjs +0 -1
- package/dist/chunks/prompt-0.6.1-e3bbvmwk.mjs +0 -1
- package/dist/chunks/prompts-0.6.1-xf5gjw54.mjs +0 -1
- package/dist/chunks/protocolHandler-0.6.1-3x1y3rds.mjs +0 -13
- package/dist/chunks/provider-0.6.1-9645a8j1.mjs +0 -2
- package/dist/chunks/providerProfiles-0.6.1-rvwkz6ak.mjs +0 -1
- package/dist/chunks/providerValidation-0.6.1-vj6yhn15.mjs +0 -6
- package/dist/chunks/rate-limit-options-0.6.1-zedhbgar.mjs +0 -1
- package/dist/chunks/registerSubcommands-0.6.1-07hhytjp.mjs +0 -34
- package/dist/chunks/registry-0.6.1-j5gr410a.mjs +0 -1
- package/dist/chunks/release-notes-0.6.1-g9gvekqx.mjs +0 -5
- package/dist/chunks/reload-plugins-0.6.1-h895km4v.mjs +0 -2
- package/dist/chunks/remote-env-0.6.1-prvyvph7.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-0.6.1-repc3wzt.mjs +0 -1
- package/dist/chunks/remoteSession-0.6.1-sy45mthq.mjs +0 -1
- package/dist/chunks/rename-0.6.1-mbf64z4s.mjs +0 -1
- package/dist/chunks/replBridgeHandle-0.6.1-vh85gp20.mjs +0 -1
- package/dist/chunks/replLauncher-0.6.1-4h94vpmh.mjs +0 -1
- package/dist/chunks/resume-0.6.1-c4m2tsz1.mjs +0 -2
- package/dist/chunks/rewind-0.6.1-rwc9yc72.mjs +0 -1
- package/dist/chunks/rootOptions-0.6.1-qrzakwkb.mjs +0 -1
- package/dist/chunks/sandbox-adapter-0.6.1-g2cqqkbq.mjs +0 -1
- package/dist/chunks/sandbox-toggle-0.6.1-h0t8vrsp.mjs +0 -1
- package/dist/chunks/session-0.6.1-z2z0v2b2.mjs +0 -2
- package/dist/chunks/sessionDiscovery-0.6.1-zwyhdetk.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-0.6.1-sa1zcdy1.mjs +0 -1
- package/dist/chunks/sessionStorage-0.6.1-3kwfwm9f.mjs +0 -1
- package/dist/chunks/settings-0.6.1-nkp3cfkx.mjs +0 -1
- package/dist/chunks/setup-0.6.1-ye3h2662.mjs +0 -5
- package/dist/chunks/sinks-0.6.1-aj971rff.mjs +0 -1
- package/dist/chunks/skills-0.6.1-rg44nb1f.mjs +0 -1
- package/dist/chunks/startupProfiler-0.6.1-wmynctg8.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-0.6.1-w1296eb6.mjs +0 -1
- package/dist/chunks/state-0.6.1-xeb3g7ee.mjs +0 -1
- package/dist/chunks/stats-0.6.1-b809msg3.mjs +0 -6
- package/dist/chunks/status-0.6.1-qgzafsnk.mjs +0 -1
- package/dist/chunks/stickers-0.6.1-mvc1yhza.mjs +0 -1
- package/dist/chunks/subprocessEnv-0.6.1-p24f3mb2.mjs +0 -1
- package/dist/chunks/tasks-0.6.1-6mkyp39c.mjs +0 -1
- package/dist/chunks/teamHelpers-0.6.1-5y5q1d5a.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-0.6.1-ctbnrn7g.mjs +0 -1
- package/dist/chunks/teleport-0.6.1-snck0mt3.mjs +0 -1
- package/dist/chunks/terminalSetup-0.6.1-grwmkggx.mjs +0 -1
- package/dist/chunks/theme-0.6.1-nkn391vp.mjs +0 -1
- package/dist/chunks/thinkback-0.6.1-w3e30qga.mjs +0 -1
- package/dist/chunks/thinkback-play-0.6.1-xtt1h9bj.mjs +0 -1
- package/dist/chunks/toolPool-0.6.1-k6p9m933.mjs +0 -1
- package/dist/chunks/toolSearch-0.6.1-hf1m96t5.mjs +0 -1
- package/dist/chunks/tools-0.6.1-k1he8tf4.mjs +0 -1
- package/dist/chunks/trustedDevice-0.6.1-jp75s058.mjs +0 -1
- package/dist/chunks/turndown.cjs-0.6.1-nbyhbfxh.mjs +0 -69
- package/dist/chunks/ultrareviewCommand-0.6.1-wt29n8f8.mjs +0 -4
- package/dist/chunks/update-0.6.1-nhyb2p18.mjs +0 -86
- package/dist/chunks/upgrade-0.6.1-bsgbm532.mjs +0 -1
- package/dist/chunks/upstreamproxy-0.6.1-tv3yt8kf.mjs +0 -14
- package/dist/chunks/url-handler-napi-0.6.1-17xw9yz6.mjs +0 -1
- package/dist/chunks/usage-0.6.1-kc6f3g70.mjs +0 -1
- package/dist/chunks/util-0.6.1-4tchwwds.mjs +0 -1
- package/dist/chunks/utils-0.6.1-b58yrh2f.mjs +0 -1
- package/dist/chunks/vim-0.6.1-0epxft4g.mjs +0 -1
- package/dist/chunks/watcher-0.6.1-g05xbezn.mjs +0 -1
- package/dist/chunks/wiki-0.6.1-d931wde5.mjs +0 -132
- package/dist/chunks/worktree-0.6.1-8ebt180m.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-0.6.1-av5mja7y.mjs +0 -1
- package/dist/chunks/wrapper-0.6.1-yv9p7ayq.mjs +0 -7
- /package/dist/chunks/{cli-0.6.1-ygrfhgb0.mjs → cli-0.6.2-1e5p6hw6.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.1-5aftf3q9.mjs → cli-0.6.2-3eaaj6e5.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.1-9pfc6b63.mjs → cli-0.6.2-3rgtxc9f.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.1-jkwrn2xm.mjs → cli-0.6.2-7p1ykg1m.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.1-xz21g65j.mjs → cli-0.6.2-adegz2m3.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.1-xv8wfg40.mjs → cli-0.6.2-hb4fz4pd.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.1-naw66kt5.mjs → cli-0.6.2-hkgnx8g7.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.1-j1raybvn.mjs → cli-0.6.2-qk6j042k.mjs} +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{$oa as n}from"./cli-0.6.1-vr6dwhw0.mjs";import{fpa as r}from"./cli-0.6.1-9pfc6b63.mjs";var i=r((e)=>{Object.defineProperty(e,"__esModule",{value:!0});e.readFile=e.externalDataInterceptor=e.parseKnownFiles=e.loadSsoSessionData=e.loadSharedConfigFiles=e.CONFIG_PREFIX_SEPARATOR=e.getSSOTokenFromFile=e.getSSOTokenFilepath=e.getProfileName=e.DEFAULT_PROFILE=e.ENV_PROFILE=e.getHomeDir=void 0;var t=n();Object.defineProperty(e,"getHomeDir",{enumerable:!0,get:function(){return t.getHomeDir}});Object.defineProperty(e,"ENV_PROFILE",{enumerable:!0,get:function(){return t.ENV_PROFILE}});Object.defineProperty(e,"DEFAULT_PROFILE",{enumerable:!0,get:function(){return t.DEFAULT_PROFILE}});Object.defineProperty(e,"getProfileName",{enumerable:!0,get:function(){return t.getProfileName}});Object.defineProperty(e,"getSSOTokenFilepath",{enumerable:!0,get:function(){return t.getSSOTokenFilepath}});Object.defineProperty(e,"getSSOTokenFromFile",{enumerable:!0,get:function(){return t.getSSOTokenFromFile}});Object.defineProperty(e,"CONFIG_PREFIX_SEPARATOR",{enumerable:!0,get:function(){return t.CONFIG_PREFIX_SEPARATOR}});Object.defineProperty(e,"loadSharedConfigFiles",{enumerable:!0,get:function(){return t.loadSharedConfigFiles}});Object.defineProperty(e,"loadSsoSessionData",{enumerable:!0,get:function(){return t.loadSsoSessionData}});Object.defineProperty(e,"parseKnownFiles",{enumerable:!0,get:function(){return t.parseKnownFiles}});Object.defineProperty(e,"externalDataInterceptor",{enumerable:!0,get:function(){return t.externalDataInterceptor}});Object.defineProperty(e,"readFile",{enumerable:!0,get:function(){return t.readFile}})});
|
|
2
|
-
export{i as g7};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Lha as w,Vha as F}from"./cli-0.6.1-qdytg688.mjs";import{hpa as D}from"./cli-0.6.1-9pfc6b63.mjs";function Q(b){z=b}function V(){let b=z?.()??{};if(!w(process.env.CLAUDE_CODE_SUBPROCESS_ENV_SCRUB))return Object.keys(b).length>0?{...process.env,...b}:process.env;let d={...process.env,...b};for(let q of J)delete d[q],delete d[`INPUT_${q}`];return d}var J,z;var L=D(()=>{F();J=["ANTHROPIC_API_KEY","CLAUDE_CODE_OAUTH_TOKEN","ANTHROPIC_AUTH_TOKEN","ANTHROPIC_FOUNDRY_API_KEY","ANTHROPIC_CUSTOM_HEADERS","OTEL_EXPORTER_OTLP_HEADERS","OTEL_EXPORTER_OTLP_LOGS_HEADERS","OTEL_EXPORTER_OTLP_METRICS_HEADERS","OTEL_EXPORTER_OTLP_TRACES_HEADERS","AWS_SECRET_ACCESS_KEY","AWS_SESSION_TOKEN","AWS_BEARER_TOKEN_BEDROCK","GOOGLE_APPLICATION_CREDENTIALS","AZURE_CLIENT_SECRET","AZURE_CLIENT_CERTIFICATE_PATH","ACTIONS_ID_TOKEN_REQUEST_TOKEN","ACTIONS_ID_TOKEN_REQUEST_URL","ACTIONS_RUNTIME_TOKEN","ACTIONS_RUNTIME_URL","ALL_INPUTS","OVERRIDE_GITHUB_TOKEN","DEFAULT_WORKFLOW_TOKEN","SSH_SIGNING_KEY"]});
|
|
2
|
-
export{Q as FT,V as GT,L as HT};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{af as N0,bf as U0,df as VP}from"./cli-0.6.1-vvycdrz3.mjs";import{BK as ZP,CK as m0,EK as qP,HJ as WP,JK as CP,QJ as cP,RJ as fP,TF as G0,TJ as M0,UF as YP,UJ as h0,VJ as T0,WJ as d0,YD as XP,ZD as mP,ZJ as R0,_K as C0,cL as pP,eK as u0,gE as L0,iE as i0,lu as J0,mu as QP,ou as j0,pm as h,qm as c0,rm as p,sm as w0,tm as r,um as W0,xm as O0,ym as EP}from"./cli-0.6.1-aw7t5zg2.mjs";import{YU as D0,ZU as LP}from"./cli-0.6.1-j4akqyey.mjs";import{ZV as JP,_V as hP,lW as z0,nW as TP}from"./cli-0.6.1-x25mwydc.mjs";import{GY as GP,LW as PP,QW as AP,RW as I0,RY as q0,_W as k0,iY as C,kY as X,mY as L,qY as F0}from"./cli-0.6.1-j8nqjtw2.mjs";import{o0 as n,p0 as J,q0 as Q,r0 as a}from"./cli-0.6.1-7mnw60rd.mjs";import{s0 as $0}from"./cli-0.6.1-yjn2sk7y.mjs";import{P0 as A0,Q0 as dP}from"./cli-0.6.1-8x7dm6mk.mjs";import{G4 as e0,Y4 as gP}from"./cli-0.6.1-hgz08acq.mjs";import{$$ as zP,Fda as s0,I$ as y0,Ida as SP,J$ as B0,K$ as KP,_$ as H0,haa as p0,w7 as _,x7 as r0}from"./cli-0.6.1-ybch0rz5.mjs";import{aga as g0,bga as _P}from"./cli-0.6.1-8fpj913g.mjs";import{cga as m,ega as IP}from"./cli-0.6.1-vz6zhwrs.mjs";import{Fha as t0,yha as f0}from"./cli-0.6.1-qsq2xg3g.mjs";import{dpa as e,hpa as P0}from"./cli-0.6.1-9pfc6b63.mjs";function K0(G){let P=o0.c(9),{serverToolsCount:Y,serverPromptsCount:z,serverResourcesCount:Z}=G,f;if(P[0]!==z||P[1]!==Z||P[2]!==Y){if(f=[],Y>0)f.push("tools");if(Z>0)f.push("resources");if(z>0)f.push("prompts");P[0]=z,P[1]=Z,P[2]=Y,P[3]=f}else f=P[3];let H;if(P[4]===Symbol.for("react.memo_cache_sentinel"))H=J(L,{bold:!0,children:"Capabilities: "}),P[4]=H;else H=P[4];let W;if(P[5]!==f)W=f.length>0?J(r,{children:f}):"none",P[5]=f,P[6]=W;else W=P[6];let k;if(P[7]!==W)k=Q(X,{children:[H,J(L,{color:"text",children:W})]}),P[7]=W,P[8]=k;else k=P[8];return k}var o0;var _0=P0(()=>{q0();W0();a();o0=e(I0(),1)});function E0(G,P){switch(G.client.type){case"connected":return{message:`Reconnected to ${P}.`,success:!0};case"needs-auth":return{message:`${P} requires authentication. Use the 'Authenticate' option.`,success:!1};case"failed":return{message:`Failed to reconnect to ${P}.`,success:!1};default:return{message:`Unknown result when reconnecting to ${P}.`,success:!1}}}function V0(G,P){let Y=G instanceof Error?G.message:String(G);return`Error reconnecting to ${P}: ${Y}`}var S0=()=>{};function bG({server:G,serverToolsCount:P,onViewTools:Y,onCancel:z,onComplete:Z,borderless:f=!1}){let[H]=k0(),W=D0(),{columns:k}=JP(),[B,N]=E.default.useState(!1),[$,U]=E.default.useState(null),S=J0((q)=>q.mcp),M=QP(),[b,K]=E.default.useState(null),[V,D]=E.useState(!1),R=E.useRef(null),[g,c]=E.useState(!1),[j,T]=E.useState(null),[A,y]=E.useState(!1),[i,u]=E.useState(null),[l,v]=E.useState(!1),[o,s]=E.useState(!1),x=E.useRef(void 0),O=E.useRef(!1),[x0,Q0]=E.useState(""),[kP,DP]=E.useState(0),[a0,n0]=E.useState(null);E.useEffect(()=>()=>{if(O.current=!0,R.current?.abort(),x.current!==void 0)clearTimeout(x.current)},[]);let X0=G.isAuthenticated||G.client.type==="connected"&&P>0,Y0=N0(),wP=E.default.useCallback(async()=>{c(!1),T(null),D(!0);try{let q=await Y0(G.name),F=q.client.type==="connected";if(m("tengu_claudeai_mcp_auth_completed",{success:F}),F)Z?.(`Authentication successful. Connected to ${G.name}.`);else if(q.client.type==="needs-auth")Z?.("Authentication successful, but server still requires authentication. You may need to manually restart Claude Code.");else Z?.("Authentication successful, but server reconnection failed. You may need to manually restart Claude Code for the changes to take effect.")}catch(q){m("tengu_claudeai_mcp_auth_completed",{success:!1}),Z?.(V0(q,G.name))}finally{D(!1)}},[Y0,G.name,Z]),MP=E.default.useCallback(async()=>{await C0(G.name,{...G.config,scope:G.scope}),M((q)=>{let F=q.mcp.clients.map((t)=>t.name===G.name?{...t,type:"needs-auth"}:t),w=h0(q.mcp.tools,G.name),d=T0(q.mcp.commands,G.name),Z0=d0(q.mcp.resources,G.name);return{...q,mcp:{...q.mcp,clients:F,tools:w,commands:d,resources:Z0}}}),m("tengu_claudeai_mcp_clear_auth_completed",{}),Z?.(`Disconnected from ${G.name}.`),y(!1),u(null),v(!1)},[G.name,G.config,G.scope,M,Z]);z0("confirm:no",()=>{R.current?.abort(),R.current=null,N(!1),K(null)},{context:"Confirmation",isActive:B}),z0("confirm:no",()=>{c(!1),T(null)},{context:"Confirmation",isActive:g}),z0("confirm:no",()=>{y(!1),u(null),v(!1)},{context:"Confirmation",isActive:A}),GP((q,F)=>{if(F.return&&g)wP();if(F.return&&A)if(l)MP();else{let w=`${g0().CLAUDE_AI_ORIGIN}/settings/connectors`;u(w),v(!0),A0(w)}if(q==="c"&&!o){let w=b||j||i;if(w)PP(w).then((d)=>{if(O.current)return;if(d)process.stdout.write(d);if(s(!0),x.current!==void 0)clearTimeout(x.current);x.current=setTimeout(s,2000,!1)})}});let RP=H0(String(G.name)),NP=M0(S.commands,G.name).length,l0=U0(),UP=E.default.useCallback(async()=>{let q=g0().CLAUDE_AI_ORIGIN,w=e0()?.organizationUuid,d;if(w&&G.config.type==="claudeai-proxy"&&G.config.id){let Z0=G.config.id.startsWith("mcprs")?"mcpsrv"+G.config.id.slice(5):G.config.id,t=encodeURIComponent(process.env.CLAUDE_CODE_ENTRYPOINT||"cli");d=`${q}/api/organizations/${w}/mcp/start-auth/${Z0}?product_surface=${t}`}else d=`${q}/settings/connectors`;T(d),c(!0),m("tengu_claudeai_mcp_auth_started",{}),await A0(d)},[G.config]),bP=E.default.useCallback(()=>{y(!0),m("tengu_claudeai_mcp_clear_auth_started",{})},[]),yP=E.default.useCallback(async()=>{let q=G.client.type!=="disabled";try{if(await l0(G.name),G.config.type==="claudeai-proxy")m("tengu_claudeai_mcp_toggle",{new_state:q?"disabled":"enabled"});z()}catch(F){Z?.(`Failed to ${q?"disable":"enable"} MCP server '${G.name}': ${f0(F)}`)}},[G.client.type,G.config.type,G.name,l0,z,Z]),BP=E.default.useCallback(async()=>{if(G.config.type==="claudeai-proxy")return;N(!0),U(null);let q=new AbortController;R.current=q;try{if(G.isAuthenticated&&G.config)await m0(G.name,G.config,{preserveStepUpState:!0});if(G.config){await qP(G.name,G.config,K,q.signal,{onWaitingForCallback:(w)=>{n0(()=>w)}}),m("tengu_mcp_auth_config_authenticate",{wasAuthenticated:G.isAuthenticated});let F=await Y0(G.name);if(F.client.type==="connected"){let w=X0?`Authentication successful. Reconnected to ${G.name}.`:`Authentication successful. Connected to ${G.name}.`;Z?.(w)}else if(F.client.type==="needs-auth")Z?.("Authentication successful, but server still requires authentication. You may need to manually restart Claude Code.");else s0(G.name,"Reconnection failed after authentication"),Z?.("Authentication successful, but server reconnection failed. You may need to manually restart Claude Code for the changes to take effect.")}}catch(F){if(F instanceof Error&&!(F instanceof ZP))U(F.message)}finally{N(!1),R.current=null,n0(null),Q0("")}},[G.isAuthenticated,G.config,G.name,Z,Y0,X0]),OP=async()=>{if(G.config.type==="claudeai-proxy")return;if(G.config)await m0(G.name,G.config),m("tengu_mcp_auth_config_clear",{}),await C0(G.name,{...G.config,scope:G.scope}),M((q)=>{let F=q.mcp.clients.map((t)=>t.name===G.name?{...t,type:"failed"}:t),w=h0(q.mcp.tools,G.name),d=T0(q.mcp.commands,G.name),Z0=d0(q.mcp.resources,G.name);return{...q,mcp:{...q.mcp,clients:F,tools:w,commands:d,resources:Z0}}}),Z?.(`Authentication cleared for ${G.name}.`)};if(B){let q=G.config.type!=="claudeai-proxy"&&G.config.oauth?.xaa?" Authenticating via your identity provider":" A browser window will open for authentication";return Q(X,{flexDirection:"column",gap:1,padding:1,children:[Q(L,{color:"claude",children:["Authenticating with ",G.name,"…"]}),Q(X,{children:[J(G0,{}),J(L,{children:q})]}),b&&Q(X,{flexDirection:"column",children:[Q(X,{children:[Q(L,{dimColor:!0,children:["If your browser doesn't open automatically, copy this URL manually"," "]}),o?J(L,{color:"success",children:"(Copied!)"}):J(L,{dimColor:!0,children:J(h,{shortcut:"c",action:"copy",parens:!0})})]}),J(F0,{url:b})]}),B&&b&&a0&&Q(X,{flexDirection:"column",marginTop:1,children:[J(L,{dimColor:!0,children:"If the redirect page shows a connection error, paste the URL from your browser's address bar:"}),Q(X,{children:[Q(L,{dimColor:!0,children:["URL ",">"," "]}),J(XP,{value:x0,onChange:Q0,onSubmit:(F)=>{a0(F.trim()),Q0("")},cursorOffset:kP,onChangeCursorOffset:DP,columns:k-8})]})]}),J(X,{marginLeft:3,children:J(L,{dimColor:!0,children:"Return here after authenticating in your browser. Press Esc to go back."})})]})}if(g)return Q(X,{flexDirection:"column",gap:1,padding:1,children:[Q(L,{color:"claude",children:["Authenticating with ",G.name,"…"]}),Q(X,{children:[J(G0,{}),J(L,{children:" A browser window will open for authentication"})]}),j&&Q(X,{flexDirection:"column",children:[Q(X,{children:[Q(L,{dimColor:!0,children:["If your browser doesn't open automatically, copy this URL manually"," "]}),o?J(L,{color:"success",children:"(Copied!)"}):J(L,{dimColor:!0,children:J(h,{shortcut:"c",action:"copy",parens:!0})})]}),J(F0,{url:j})]}),Q(X,{marginLeft:3,flexDirection:"column",children:[Q(L,{color:"permission",children:["Press ",J(L,{bold:!0,children:"Enter"})," after authenticating in your browser."]}),J(L,{dimColor:!0,italic:!0,children:J(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"back"})})]})]});if(A)return Q(X,{flexDirection:"column",gap:1,padding:1,children:[Q(L,{color:"claude",children:["Clear authentication for ",G.name]}),l?Q(n,{children:[J(L,{children:'Find the MCP server in the browser and click "Disconnect".'}),i&&Q(X,{flexDirection:"column",children:[Q(X,{children:[Q(L,{dimColor:!0,children:["If your browser didn't open automatically, copy this URL manually"," "]}),o?J(L,{color:"success",children:"(Copied!)"}):J(L,{dimColor:!0,children:J(h,{shortcut:"c",action:"copy",parens:!0})})]}),J(F0,{url:i})]}),Q(X,{marginLeft:3,flexDirection:"column",children:[Q(L,{color:"permission",children:["Press ",J(L,{bold:!0,children:"Enter"})," when done."]}),J(L,{dimColor:!0,italic:!0,children:J(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"back"})})]})]}):Q(n,{children:[J(L,{children:'This will open claude.ai in the browser. Find the MCP server in the list and click "Disconnect".'}),Q(X,{marginLeft:3,flexDirection:"column",children:[Q(L,{color:"permission",children:["Press ",J(L,{bold:!0,children:"Enter"})," to open the browser."]}),J(L,{dimColor:!0,italic:!0,children:J(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"back"})})]})]})]});if(V)return Q(X,{flexDirection:"column",gap:1,padding:1,children:[Q(L,{color:"text",children:["Connecting to ",J(L,{bold:!0,children:G.name}),"…"]}),Q(X,{children:[J(G0,{}),J(L,{children:" Establishing connection to MCP server"})]}),J(L,{dimColor:!0,children:"This may take a few moments."})]});let I=[];if(G.client.type==="disabled")I.push({label:"Enable",value:"toggle-enabled"});if(G.client.type==="connected"&&P>0)I.push({label:"View tools",value:"tools"});if(G.config.type==="claudeai-proxy"){if(G.client.type==="connected")I.push({label:"Clear authentication",value:"claudeai-clear-auth"});else if(G.client.type!=="disabled")I.push({label:"Authenticate",value:"claudeai-auth"})}else{if(X0)I.push({label:"Re-authenticate",value:"reauth"}),I.push({label:"Clear authentication",value:"clear-auth"});if(!X0)I.push({label:"Authenticate",value:"auth"})}if(G.client.type!=="disabled"){if(G.client.type!=="needs-auth")I.push({label:"Reconnect",value:"reconnectMcpServer"});I.push({label:"Disable",value:"toggle-enabled"})}if(I.length===0)I.push({label:"Back",value:"back"});return Q(X,{flexDirection:"column",children:[Q(X,{flexDirection:"column",paddingX:1,borderStyle:f?void 0:"round",children:[J(X,{marginBottom:1,children:Q(L,{bold:!0,children:[RP," MCP Server"]})}),Q(X,{flexDirection:"column",gap:0,children:[Q(X,{children:[J(L,{bold:!0,children:"Status: "}),G.client.type==="disabled"?Q(L,{children:[C("inactive",H)(_.radioOff)," disabled"]}):G.client.type==="connected"?Q(L,{children:[C("success",H)(_.tick)," connected"]}):G.client.type==="pending"?Q(n,{children:[J(L,{dimColor:!0,children:_.radioOff}),J(L,{children:" connecting…"})]}):G.client.type==="needs-auth"?Q(L,{children:[C("warning",H)(_.triangleUpOutline)," needs authentication"]}):Q(L,{children:[C("error",H)(_.cross)," failed"]})]}),G.transport!=="claudeai-proxy"&&Q(X,{children:[J(L,{bold:!0,children:"Auth: "}),X0?Q(L,{children:[C("success",H)(_.tick)," authenticated"]}):Q(L,{children:[C("error",H)(_.cross)," not authenticated"]})]}),Q(X,{children:[J(L,{bold:!0,children:"URL: "}),J(L,{dimColor:!0,children:G.config.url})]}),Q(X,{children:[J(L,{bold:!0,children:"Config location: "}),J(L,{dimColor:!0,children:R0(G.scope)})]}),G.client.type==="connected"&&J(K0,{serverToolsCount:P,serverPromptsCount:NP,serverResourcesCount:S.resources[G.name]?.length||0}),G.client.type==="connected"&&P>0&&Q(X,{children:[J(L,{bold:!0,children:"Tools: "}),Q(L,{dimColor:!0,children:[P," tools"]})]})]}),$&&J(X,{marginTop:1,children:Q(L,{color:"error",children:["Error: ",$]})}),I.length>0&&J(X,{marginTop:1,children:J(L0,{options:I,onChange:async(q)=>{switch(q){case"tools":Y();break;case"auth":case"reauth":await BP();break;case"clear-auth":await OP();break;case"claudeai-auth":await UP();break;case"claudeai-clear-auth":bP();break;case"reconnectMcpServer":D(!0);try{let F=await Y0(G.name);if(G.config.type==="claudeai-proxy")m("tengu_claudeai_mcp_reconnect",{success:F.client.type==="connected"});let{message:w}=E0(F,G.name);Z?.(w)}catch(F){if(G.config.type==="claudeai-proxy")m("tengu_claudeai_mcp_reconnect",{success:!1});Z?.(V0(F,G.name))}finally{D(!1)}break;case"toggle-enabled":await yP();break;case"back":z();break}},onCancel:z})})]}),J(X,{marginTop:1,children:J(L,{dimColor:!0,italic:!0,children:W.pending?Q(n,{children:["Press ",W.keyName," again to exit"]}):Q(r,{children:[J(h,{shortcut:"↑↓",action:"navigate"}),J(h,{shortcut:"Enter",action:"select"}),J(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"back"})]})})})]})}var E;var $P=P0(()=>{r0();IP();_P();LP();hP();AP();q0();TP();CP();pP();VP();u0();j0();gP();dP();t0();SP();p0();w0();i0();W0();c0();YP();mP();_0();S0();a();E=e($0(),1)});function uG({server:G,serverToolsCount:P,onViewTools:Y,onCancel:z,onComplete:Z,borderless:f=!1}){let[H]=k0(),W=D0(),k=J0((V)=>V.mcp),B=N0(),N=U0(),[$,U]=b0.useState(!1),S=b0.default.useCallback(async()=>{let V=G.client.type!=="disabled";try{await N(G.name),z()}catch(D){Z(`Failed to ${V?"disable":"enable"} MCP server '${G.name}': ${f0(D)}`)}},[G.client.type,G.name,N,z,Z]),M=H0(String(G.name)),b=M0(k.commands,G.name).length,K=[];if(G.client.type!=="disabled"&&P>0)K.push({label:"View tools",value:"tools"});if(G.client.type!=="disabled")K.push({label:"Reconnect",value:"reconnectMcpServer"});if(K.push({label:G.client.type!=="disabled"?"Disable":"Enable",value:"toggle-enabled"}),K.length===0)K.push({label:"Back",value:"back"});if($)return Q(X,{flexDirection:"column",gap:1,padding:1,children:[Q(L,{color:"text",children:["Reconnecting to ",J(L,{bold:!0,children:G.name})]}),Q(X,{children:[J(G0,{}),J(L,{children:" Restarting MCP server process"})]}),J(L,{dimColor:!0,children:"This may take a few moments."})]});return Q(X,{flexDirection:"column",children:[Q(X,{flexDirection:"column",paddingX:1,borderStyle:f?void 0:"round",children:[J(X,{marginBottom:1,children:Q(L,{bold:!0,children:[M," MCP Server"]})}),Q(X,{flexDirection:"column",gap:0,children:[Q(X,{children:[J(L,{bold:!0,children:"Status: "}),G.client.type==="disabled"?Q(L,{children:[C("inactive",H)(_.radioOff)," disabled"]}):G.client.type==="connected"?Q(L,{children:[C("success",H)(_.tick)," connected"]}):G.client.type==="pending"?Q(n,{children:[J(L,{dimColor:!0,children:_.radioOff}),J(L,{children:" connecting…"})]}):Q(L,{children:[C("error",H)(_.cross)," failed"]})]}),Q(X,{children:[J(L,{bold:!0,children:"Command: "}),J(L,{dimColor:!0,children:G.config.command})]}),G.config.args&&G.config.args.length>0&&Q(X,{children:[J(L,{bold:!0,children:"Args: "}),J(L,{dimColor:!0,children:G.config.args.join(" ")})]}),Q(X,{children:[J(L,{bold:!0,children:"Config location: "}),J(L,{dimColor:!0,children:R0(WP(G.name)?.scope??"dynamic")})]}),G.client.type==="connected"&&J(K0,{serverToolsCount:P,serverPromptsCount:b,serverResourcesCount:k.resources[G.name]?.length||0}),G.client.type==="connected"&&P>0&&Q(X,{children:[J(L,{bold:!0,children:"Tools: "}),Q(L,{dimColor:!0,children:[P," tools"]})]})]}),K.length>0&&J(X,{marginTop:1,children:J(L0,{options:K,onChange:async(V)=>{if(V==="tools")Y();else if(V==="reconnectMcpServer"){U(!0);try{let D=await B(G.name),{message:R}=E0(D,G.name);Z?.(R)}catch(D){Z?.(V0(D,G.name))}finally{U(!1)}}else if(V==="toggle-enabled")await S();else if(V==="back")z()},onCancel:z})})]}),J(X,{marginTop:1,children:J(L,{dimColor:!0,italic:!0,children:W.pending?Q(n,{children:["Press ",W.keyName," again to exit"]}):Q(r,{children:[J(h,{shortcut:"↑↓",action:"navigate"}),J(h,{shortcut:"Enter",action:"select"}),J(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"back"})]})})})]})}var b0;var jP=P0(()=>{r0();LP();q0();cP();VP();u0();j0();t0();p0();w0();i0();W0();c0();YP();_0();S0();a();b0=e($0(),1)});function tG(G){let P=FP.c(44),{tool:Y,server:z,onBack:Z}=G,[f,H]=v0.default.useState(""),W,k;if(P[0]!==z.name||P[1]!==Y){k=y0(Y.name,z.name);let s=Y.userFacingName?Y.userFacingName({}):k;W=B0(s),P[0]=z.name,P[1]=Y,P[2]=W,P[3]=k}else W=P[2],k=P[3];let B=W,N;if(P[4]!==Y)N=Y.isReadOnly?.({})??!1,P[4]=Y,P[5]=N;else N=P[5];let $=N,U;if(P[6]!==Y)U=Y.isDestructive?.({})??!1,P[6]=Y,P[7]=U;else U=P[7];let S=U,M;if(P[8]!==Y)M=Y.isOpenWorld?.({})??!1,P[8]=Y,P[9]=M;else M=P[9];let b=M,K,V;if(P[10]!==Y)K=()=>{(async function(){try{let O=await Y.description({},{isNonInteractiveSession:!1,toolPermissionContext:{mode:"default",additionalWorkingDirectories:new Map,alwaysAllowRules:{},alwaysDenyRules:{},alwaysAskRules:{},isBypassPermissionsModeAvailable:!1},tools:[]});H(O)}catch{H("Failed to load description")}})()},V=[Y],P[10]=Y,P[11]=K,P[12]=V;else K=P[11],V=P[12];v0.default.useEffect(K,V);let D;if(P[13]!==$)D=$&&J(L,{color:"success",children:" [read-only]"}),P[13]=$,P[14]=D;else D=P[14];let R;if(P[15]!==S)R=S&&J(L,{color:"error",children:" [destructive]"}),P[15]=S,P[16]=R;else R=P[16];let g;if(P[17]!==b)g=b&&J(L,{dimColor:!0,children:" [open-world]"}),P[17]=b,P[18]=g;else g=P[18];let c;if(P[19]!==B||P[20]!==D||P[21]!==R||P[22]!==g)c=Q(n,{children:[B,D,R,g]}),P[19]=B,P[20]=D,P[21]=R,P[22]=g,P[23]=c;else c=P[23];let j=c,T;if(P[24]===Symbol.for("react.memo_cache_sentinel"))T=J(L,{bold:!0,children:"Tool name: "}),P[24]=T;else T=P[24];let A;if(P[25]!==k)A=Q(X,{children:[T,J(L,{dimColor:!0,children:k})]}),P[25]=k,P[26]=A;else A=P[26];let y;if(P[27]===Symbol.for("react.memo_cache_sentinel"))y=J(L,{bold:!0,children:"Full name: "}),P[27]=y;else y=P[27];let i;if(P[28]!==Y.name)i=Q(X,{children:[y,J(L,{dimColor:!0,children:Y.name})]}),P[28]=Y.name,P[29]=i;else i=P[29];let u;if(P[30]!==f)u=f&&Q(X,{flexDirection:"column",marginTop:1,children:[J(L,{bold:!0,children:"Description:"}),J(L,{wrap:"wrap",children:f})]}),P[30]=f,P[31]=u;else u=P[31];let l;if(P[32]!==Y.inputJSONSchema)l=Y.inputJSONSchema&&Y.inputJSONSchema.properties&&Object.keys(Y.inputJSONSchema.properties).length>0&&Q(X,{flexDirection:"column",marginTop:1,children:[J(L,{bold:!0,children:"Parameters:"}),J(X,{marginLeft:2,flexDirection:"column",children:Object.entries(Y.inputJSONSchema.properties).map((s)=>{let[x,O]=s,Q0=Y.inputJSONSchema?.required?.includes(x);return Q(L,{children:["• ",x,Q0&&J(L,{dimColor:!0,children:" (required)"}),":"," ",J(L,{dimColor:!0,children:typeof O==="object"&&O&&"type"in O?String(O.type):"unknown"}),typeof O==="object"&&O&&"description"in O&&Q(L,{dimColor:!0,children:[" - ",String(O.description)]})]},x)})})]}),P[32]=Y.inputJSONSchema,P[33]=l;else l=P[33];let v;if(P[34]!==A||P[35]!==i||P[36]!==u||P[37]!==l)v=Q(X,{flexDirection:"column",children:[A,i,u,l]}),P[34]=A,P[35]=i,P[36]=u,P[37]=l,P[38]=v;else v=P[38];let o;if(P[39]!==Z||P[40]!==z.name||P[41]!==v||P[42]!==j)o=J(O0,{title:j,subtitle:z.name,onCancel:Z,inputGuide:iP,children:v}),P[39]=Z,P[40]=z.name,P[41]=v,P[42]=j,P[43]=o;else o=P[43];return o}function iP(G){return G.pending?Q(L,{children:["Press ",G.keyName," again to exit"]}):J(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"go back"})}var FP,v0;var uP=P0(()=>{q0();KP();w0();EP();a();FP=e(I0(),1),v0=e($0(),1)});function VJ(G){let P=HP.c(21),{server:Y,onSelectTool:z,onBack:Z}=G,f=J0(xP),H;P:{if(Y.client.type!=="connected"){let V;if(P[0]===Symbol.for("react.memo_cache_sentinel"))V=[],P[0]=V;else V=P[0];H=V;break P}let K;if(P[1]!==f||P[2]!==Y.name)K=fP(f,Y.name),P[1]=f,P[2]=Y.name,P[3]=K;else K=P[3];H=K}let W=H,k;if(P[4]!==Y.name||P[5]!==W){let K;if(P[7]!==Y.name)K=(V,D)=>{let R=y0(V.name,Y.name),g=V.userFacingName?V.userFacingName({}):R,c=B0(g),j=V.isReadOnly?.({})??!1,T=V.isDestructive?.({})??!1,A=V.isOpenWorld?.({})??!1,y=[];if(j)y.push("read-only");if(T)y.push("destructive");if(A)y.push("open-world");return{label:c,value:D.toString(),description:y.length>0?y.join(", "):void 0,descriptionColor:T?"error":j?"success":void 0}},P[7]=Y.name,P[8]=K;else K=P[8];k=W.map(K),P[4]=Y.name,P[5]=W,P[6]=k}else k=P[6];let B=k,N=`Tools for ${Y.name}`,$=W.length,U;if(P[9]!==W.length)U=zP(W.length,"tool"),P[9]=W.length,P[10]=U;else U=P[10];let S=`${$} ${U}`,M;if(P[11]!==Z||P[12]!==z||P[13]!==W||P[14]!==B)M=W.length===0?J(L,{dimColor:!0,children:"No tools available"}):J(L0,{options:B,onChange:(K)=>{let V=parseInt(K),D=W[V];if(D)z(D,V)},onCancel:Z}),P[11]=Z,P[12]=z,P[13]=W,P[14]=B,P[15]=M;else M=P[15];let b;if(P[16]!==Z||P[17]!==N||P[18]!==S||P[19]!==M)b=J(O0,{title:N,subtitle:S,onCancel:Z,inputGuide:vP,children:M}),P[16]=Z,P[17]=N,P[18]=S,P[19]=M,P[20]=b;else b=P[20];return b}function vP(G){return G.pending?Q(L,{children:["Press ",G.keyName," again to exit"]}):Q(r,{children:[J(h,{shortcut:"↑↓",action:"navigate"}),J(h,{shortcut:"Enter",action:"select"}),J(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"back"})]})}function xP(G){return G.mcp.tools}var HP;var aP=P0(()=>{q0();KP();u0();j0();p0();w0();i0();W0();EP();c0();a();HP=e(I0(),1)});
|
|
2
|
-
export{bG as Te,$P as Ue,uG as Ve,jP as We,tG as Xe,uP as Ye,VJ as Ze,aP as _e};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{ZV as y,_V as O}from"./cli-0.6.1-x25mwydc.mjs";import{RY as H,kY as h,mY as T}from"./cli-0.6.1-j8nqjtw2.mjs";import{p0 as s,r0 as I}from"./cli-0.6.1-7mnw60rd.mjs";import{s0 as z}from"./cli-0.6.1-yjn2sk7y.mjs";import{w7 as R,x7 as V}from"./cli-0.6.1-ybch0rz5.mjs";import{Nda as i,Oda as A,Pda as E,Qda as p,dea as U}from"./cli-0.6.1-zerz57mn.mjs";import{dpa as X,hpa as q}from"./cli-0.6.1-9pfc6b63.mjs";function J(o){if(o.startsWith("file-"))return"+";if(o.startsWith("mcp-resource-"))return"◇";if(o.startsWith("agent-"))return"*";return"+"}function K(o){return o.startsWith("file-")||o.startsWith("mcp-resource-")||o.startsWith("agent-")}function Z({suggestions:o,selectedSuggestion:t,maxColumnWidth:m,overlay:e}){let{rows:a}=y(),r=e?Y:Math.min(14,Math.max(1,a-2));if(o.length===0)return null;let u=m??Math.max(...o.map((n)=>i(n.displayText)))+5,l=Math.max(0,Math.min(t-Math.floor(r/2),o.length-r)),f=Math.min(l+r,o.length),d=o.slice(l,f);return s(h,{flexDirection:"column",justifyContent:e?void 0:"flex-end",children:d.map((n)=>s(Q,{item:n,maxColumnWidth:u,isSelected:n.id===o[t]?.id},`${n.id}:${n.id===o[t]?.id?"selected":"idle"}`))})}var C,Y=10,k,G=" ",W,Q,at;var j=q(()=>{V();O();A();H();U();I();C=X(z(),1),k=`${R.pointer} `,W=i(k);Q=C.memo(function({item:t,maxColumnWidth:m,isSelected:e}){let a=y().columns,r=e?k:G,u=e?"suggestion":void 0,l=e?"inverseText":void 0;if(K(t.id)){let $=J(t.id),F=!e,N=t.id.startsWith("file-"),_=t.id.startsWith("mcp-resource-"),tt=2,ot=4,b=t.description?3:0,c;if(N){let x=t.description?Math.min(20,i(t.description)):0,L=a-W-2-4-b-x;c=E(t.displayText,L)}else if(_)c=p(t.displayText,30);else c=t.displayText;let v=a-W-2-i(c)-b-4,g;if(t.description){let x=p(t.description.replace(/\s+/g," "),Math.max(0,v));g=`${r}${$} ${c} - ${x}`}else g=`${r}${$} ${c}`;return s(h,{width:"100%",opaque:!0,backgroundColor:u,children:s(T,{color:l,dimColor:F,bold:e,wrap:"truncate",children:g})})}let f=Math.floor(a*0.4),d=Math.min(m??i(t.displayText)+5,f),n=t.displayText;if(i(n)>d-2)n=p(n,d-2);let w=r+n+" ".repeat(Math.max(0,d-i(n))),M=t.tag?`[${t.tag}] `:"",P=i(M),D=Math.max(0,a-W-d-P-4),S=t.description?p(t.description.replace(/\s+/g," "),D):"",B=`${w}${M}${S}`;return s(h,{width:"100%",opaque:!0,backgroundColor:u,children:s(T,{color:l,dimColor:!e,bold:e,wrap:"truncate",children:B})})});at=C.memo(Z)});
|
|
2
|
-
export{Z as nh,at as oh,j as ph};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{$w as P,Xn as W,Yn as n,_w as I,cx as t}from"./cli-0.6.1-aw7t5zg2.mjs";import{x0 as H,y0 as p}from"./cli-0.6.1-85mcqw66.mjs";import{B0 as i,z0 as C}from"./cli-0.6.1-a7130ntd.mjs";import{E4 as V,Y4 as l,Z3 as v,h1 as S,m1 as c,y4 as R}from"./cli-0.6.1-hgz08acq.mjs";import{Ada as D,Gba as E,Ida as m,Jba as X,bda as T,cca as O,cda as Y,dba as q,eba as u,ida as y,lda as k,oda as g}from"./cli-0.6.1-ybch0rz5.mjs";import{Nea as G,Pea as f,Qea as $,Rea as h}from"./cli-0.6.1-je6nv7n6.mjs";import{Xfa as Z,aga as _,bga as M}from"./cli-0.6.1-8fpj913g.mjs";import{eha as x,hha as b}from"./cli-0.6.1-2wfbdh6y.mjs";import{Koa as A,soa as Q}from"./cli-0.6.1-krcqab65.mjs";import{hpa as U}from"./cli-0.6.1-9pfc6b63.mjs";async function s(){if(q())return x("[Bootstrap] Skipped: Nonessential traffic disabled"),null;if(S()!=="firstParty")return x("[Bootstrap] Skipped: 3P provider"),null;let w=v();if(!(R()?.accessToken&&V())&&!w)return x("[Bootstrap] Skipped: no usable OAuth or API key"),null;let J=`${_().BASE_API_URL}/api/claude_cli/bootstrap`;try{return await H(async()=>{let j=R()?.accessToken,z;if(j&&V())z={Authorization:`Bearer ${j}`,"anthropic-beta":Z};else if(w)z={"x-api-key":w};else return x("[Bootstrap] No auth available on retry, aborting"),null;x("[Bootstrap] Fetching");let N=await Q.get(J,{headers:{"Content-Type":"application/json","User-Agent":C(),...z},timeout:5000}),B=d().safeParse(N.data);if(!B.success)return x(`[Bootstrap] Response failed validation: ${B.error.message}`),null;return x("[Bootstrap] Fetch ok"),B.data})}catch(j){if(Q.isAxiosError(j)){let z=j.response?.status??"no-response",N=j.code??"unknown-code",B=j.config?.method?.toUpperCase()??"UNKNOWN",K=j.config?.url??"unknown-url",L=j.message??"unknown axios error";x(`[Bootstrap] Fetch failed: status=${z} code=${N} method=${B} url=${K} message=${L}`)}else{let z=j instanceof Error?j.message:String(j);x(`[Bootstrap] Fetch failed: ${z}`)}throw j}}async function a(){let w=Y();if(!w?.startsWith("openai:"))return null;let{baseUrl:F}=T(),J=await P({baseUrl:F,apiKey:k()?.apiKey});if(J===null)return x("[Bootstrap] Local OpenAI model discovery failed"),null;let j=I(F);return{clientData:X().clientDataCache??null,additionalModelOptionsScope:w,additionalModelOptions:J.map((z)=>({value:z,label:z,description:`Detected from ${j}`}))}}async function Yj(){try{let w=Y(),F=null;if(w==="firstParty"){let B=await s();if(!B)return;F={clientData:B.client_data??null,additionalModelOptions:B.additional_model_options??[],additionalModelOptionsScope:w}}else if(w?.startsWith("openai:")){if(F=await a(),!F)return}else{x("[Bootstrap] Skipped: no additional model source");return}let{clientData:J,additionalModelOptions:j,additionalModelOptionsScope:z}=F,N=X();if(W(N.clientDataCache,J)&&W(N.additionalModelOptionsCache,j)&&N.additionalModelOptionsCacheScope===z){x("[Bootstrap] Cache unchanged, skipping write");return}x("[Bootstrap] Cache updated, persisting to disk"),E((B)=>({...B,clientDataCache:J,additionalModelOptionsCache:j,additionalModelOptionsCacheScope:z}))}catch(w){D(w)}}var d;var r=U(()=>{A();n();l();f();M();O();b();p();h();m();c();u();t();i();g();y();d=$(()=>G.object({client_data:G.record(G.string(),G.unknown()).nullish(),additional_model_options:G.array(G.object({model:G.string(),name:G.string(),description:G.string()}).transform(({model:w,name:F,description:J})=>({value:w,label:F,description:J}))).nullish()}))});
|
|
2
|
-
export{Yj as Nb,r as Ob};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import{Loa as A2,Moa as l5,Noa as b$,Ooa as e4,Poa as v$}from"./cli-0.6.1-gqhwqmhd.mjs";import{dpa as y4,fpa as a0,gpa as f2,hpa as C,ipa as s0}from"./cli-0.6.1-9pfc6b63.mjs";function f0($,Y){return function(){return $.apply(Y,arguments)}}var j4=()=>{};function E0($){return $!==null&&!H0($)&&$.constructor!==null&&!H0($.constructor)&&t($.constructor.isBuffer)&&$.constructor.isBuffer($)}function A6($){let Y;if(typeof ArrayBuffer<"u"&&ArrayBuffer.isView)Y=ArrayBuffer.isView($);else Y=$&&$.buffer&&R1($.buffer);return Y}function u6(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;return{}}function g0($,Y,{allOwnKeys:Q=!1}={}){if($===null||typeof $>"u")return;let G,W;if(typeof $!=="object")$=[$];if(w0($))for(G=0,W=$.length;G<W;G++)Y.call(null,$[G],G,$);else{if(E0($))return;let Z=Q?Object.getOwnPropertyNames($):Object.keys($),X=Z.length,K;for(G=0;G<X;G++)K=Z[G],Y.call(null,$[K],K,$)}}function O1($,Y){if(E0($))return null;Y=Y.toLowerCase();let Q=Object.keys($),G=Q.length,W;while(G-- >0)if(W=Q[G],Y===W.toLowerCase())return W;return null}function k4(...$){let{caseless:Y,skipUndefined:Q}=H1(this)&&this||{},G={},W=(Z,X)=>{if(X==="__proto__"||X==="constructor"||X==="prototype")return;let K=Y&&typeof X==="string"&&O1(G,X)||X,M=x4(G,K)?G[K]:void 0;if(M4(M)&&M4(Z))G[K]=k4(M,Z);else if(M4(Z))G[K]=k4({},Z);else if(w0(Z))G[K]=Z.slice();else if(!Q||!H0(Z))G[K]=Z};for(let Z=0,X=$.length;Z<X;Z++){let K=$[Z];if(!K||E0(K))continue;if(g0(K,W),typeof K!=="object"||w0(K))continue;let M=Object.getOwnPropertySymbols(K);for(let z=0;z<M.length;z++){let N=M[z];if(X2.call(K,N))W(K[N],N)}}return G}function B2($){return!!($&&t($.append)&&$[C1]==="FormData"&&$[z4])}var E6,N4,z4,C1,B4,Q0=($)=>{return $=$.toLowerCase(),(Y)=>B4(Y)===$},V4=($)=>(Y)=>typeof Y===$,w0,H0,R1,j6,t,T1,h0=($)=>$!==null&&typeof $==="object",k6=($)=>$===!0||$===!1,M4=($)=>{if(B4($)!=="object")return!1;let Y=N4($);return(Y===null||Y===Object.prototype||Object.getPrototypeOf(Y)===null)&&!(C1 in $)&&!(z4 in $)},x6=($)=>{if(!h0($)||E0($))return!1;try{return Object.keys($).length===0&&Object.getPrototypeOf($)===Object.prototype}catch(Y){return!1}},b6,v6,y6=($)=>{return!!($&&typeof $.uri<"u")},m6=($)=>$&&typeof $.getParts<"u",f6,h6,g6=($)=>h0($)&&t($.pipe),_1,q1,d6=($)=>{if(!$)return!1;if(q1&&$ instanceof q1)return!0;let Y=N4($);if(!Y||Y===Object.prototype)return!1;if(!t($.append))return!1;let Q=B4($);return Q==="formdata"||Q==="object"&&t($.toString)&&$.toString()==="[object FormData]"},c6,p6,l6,i6,n6,a6=($)=>{return $.trim?$.trim():$.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},U0,H1=($)=>!H0($)&&$!==U0,t6=($,Y,Q,{allOwnKeys:G}={})=>{return g0(Y,(W,Z)=>{if(Q&&t(W))Object.defineProperty($,Z,{__proto__:null,value:f0(W,Q),writable:!0,enumerable:!0,configurable:!0});else Object.defineProperty($,Z,{__proto__:null,value:W,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:G}),$},s6=($)=>{if($.charCodeAt(0)===65279)$=$.slice(1);return $},r6=($,Y,Q,G)=>{$.prototype=Object.create(Y.prototype,G),Object.defineProperty($.prototype,"constructor",{__proto__:null,value:$,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty($,"super",{__proto__:null,value:Y.prototype}),Q&&Object.assign($.prototype,Q)},o6=($,Y,Q,G)=>{let W,Z,X,K={};if(Y=Y||{},$==null)return Y;do{W=Object.getOwnPropertyNames($),Z=W.length;while(Z-- >0)if(X=W[Z],(!G||G(X,$,Y))&&!K[X])Y[X]=$[X],K[X]=!0;$=Q!==!1&&N4($)}while($&&(!Q||Q($,Y))&&$!==Object.prototype);return Y},e6=($,Y,Q)=>{if($=String($),Q===void 0||Q>$.length)Q=$.length;Q-=Y.length;let G=$.indexOf(Y,Q);return G!==-1&&G===Q},$2=($)=>{if(!$)return null;if(w0($))return $;let Y=$.length;if(!T1(Y))return null;let Q=Array(Y);while(Y-- >0)Q[Y]=$[Y];return Q},Y2,Q2=($,Y)=>{let G=($&&$[z4]).call($),W;while((W=G.next())&&!W.done){let Z=W.value;Y.call($,Z[0],Z[1])}},G2=($,Y)=>{let Q,G=[];while((Q=$.exec(Y))!==null)G.push(Q);return G},W2,Z2=($)=>{return $.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(Q,G,W){return G.toUpperCase()+W})},x4,X2,J2,E1=($,Y)=>{let Q=Object.getOwnPropertyDescriptors($),G={};g0(Q,(W,Z)=>{let X;if((X=Y(W,Z,$))!==!1)G[Z]=X||W}),Object.defineProperties($,G)},K2=($)=>{E1($,(Y,Q)=>{if(t($)&&["arguments","caller","callee"].includes(Q))return!1;let G=$[Q];if(!t(G))return;if(Y.enumerable=!1,"writable"in Y){Y.writable=!1;return}if(!Y.set)Y.set=()=>{throw Error("Can not rewrite read-only method '"+Q+"'")}})},M2=($,Y)=>{let Q={},G=(W)=>{W.forEach((Z)=>{Q[Z]=!0})};return w0($)?G($):G(String($).split(Y)),Q},N2=()=>{},z2=($,Y)=>{return $!=null&&Number.isFinite($=+$)?$:Y},V2=($)=>{let Y=new WeakSet,Q=(G)=>{if(h0(G)){if(Y.has(G))return;if(E0(G))return G;if(!("toJSON"in G)){Y.add(G);let W=w0(G)?[]:{};return g0(G,(Z,X)=>{let K=Q(Z);!H0(K)&&(W[X]=K)}),Y.delete(G),W}}return G};return Q($)},I2,F2=($)=>$&&(h0($)||t($))&&t($.then)&&t($.catch),A1,L2,U2=($)=>$!=null&&t($[z4]),J;var j=C(()=>{j4();({toString:E6}=Object.prototype),{getPrototypeOf:N4}=Object,{iterator:z4,toStringTag:C1}=Symbol,B4=(($)=>(Y)=>{let Q=E6.call(Y);return $[Q]||($[Q]=Q.slice(8,-1).toLowerCase())})(Object.create(null)),{isArray:w0}=Array,H0=V4("undefined");R1=Q0("ArrayBuffer");j6=V4("string"),t=V4("function"),T1=V4("number"),b6=Q0("Date"),v6=Q0("File"),f6=Q0("Blob"),h6=Q0("FileList");_1=u6(),q1=typeof _1.FormData<"u"?_1.FormData:void 0,c6=Q0("URLSearchParams"),[p6,l6,i6,n6]=["ReadableStream","Request","Response","Headers"].map(Q0);U0=(()=>{if(typeof globalThis<"u")return globalThis;return typeof self<"u"?self:typeof window<"u"?window:global})();Y2=(($)=>{return(Y)=>{return $&&Y instanceof $}})(typeof Uint8Array<"u"&&N4(Uint8Array)),W2=Q0("HTMLFormElement"),x4=(({hasOwnProperty:$})=>(Y,Q)=>$.call(Y,Q))(Object.prototype),{propertyIsEnumerable:X2}=Object.prototype,J2=Q0("RegExp");I2=Q0("AsyncFunction"),A1=(($,Y)=>{if($)return setImmediate;return Y?((Q,G)=>{return U0.addEventListener("message",({source:W,data:Z})=>{if(W===U0&&Z===Q)G.length&&G.shift()()},!1),(W)=>{G.push(W),U0.postMessage(Q,"*")}})(`axios@${Math.random()}`,[]):(Q)=>setTimeout(Q)})(typeof setImmediate==="function",t(U0.postMessage)),L2=typeof queueMicrotask<"u"?queueMicrotask.bind(U0):typeof process<"u"&&process.nextTick||A1,J={isArray:w0,isArrayBuffer:R1,isBuffer:E0,isFormData:d6,isArrayBufferView:A6,isString:j6,isNumber:T1,isBoolean:k6,isObject:h0,isPlainObject:M4,isEmptyObject:x6,isReadableStream:p6,isRequest:l6,isResponse:i6,isHeaders:n6,isUndefined:H0,isDate:b6,isFile:v6,isReactNativeBlob:y6,isReactNative:m6,isBlob:f6,isRegExp:J2,isFunction:t,isStream:g6,isURLSearchParams:c6,isTypedArray:Y2,isFileList:h6,forEach:g0,merge:k4,extend:t6,trim:a6,stripBOM:s6,inherits:r6,toFlatObject:o6,kindOf:B4,kindOfTest:Q0,endsWith:e6,toArray:$2,forEachEntry:Q2,matchAll:G2,isHTMLForm:W2,hasOwnProperty:x4,hasOwnProp:x4,reduceDescriptors:E1,freezeMethods:K2,toObjectSet:M2,toCamelCase:Z2,noop:N2,toFiniteNumber:z2,findKey:O1,global:U0,isContextDefined:H1,isSpecCompliantForm:B2,toJSONObject:V2,isAsyncFn:I2,isThenable:F2,setImmediate:A1,asap:L2,isIterable:U2}});var w2,j1=($)=>{let Y={},Q,G,W;return $&&$.split(`
|
|
2
|
-
`).forEach(function(X){if(W=X.indexOf(":"),Q=X.substring(0,W).trim().toLowerCase(),G=X.substring(W+1).trim(),!Q||Y[Q]&&w2[Q])return;if(Q==="set-cookie")if(Y[Q])Y[Q].push(G);else Y[Q]=[G];else Y[Q]=Y[Q]?Y[Q]+", "+G:G}),Y};var k1=C(()=>{j();w2=J.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"])});function S2($){let Y=0,Q=$.length;while(Y<Q){let G=$.charCodeAt(Y);if(G!==9&&G!==32)break;Y+=1}while(Q>Y){let G=$.charCodeAt(Q-1);if(G!==9&&G!==32)break;Q-=1}return Y===0&&Q===$.length?$:$.slice(Y,Q)}function b4($,Y){if(J.isArray($))return $.map((Q)=>b4(Q,Y));return S2(String($).replace(Y,""))}function A0($){let Y=Object.create(null);return J.forEach($.toJSON(),(Q,G)=>{Y[G]=_2(Q)}),Y}var D2,P2,x1=($)=>b4($,D2),_2=($)=>b4($,P2);var u0=C(()=>{j();D2=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),P2=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g")});function d0($){return $&&String($).trim().toLowerCase()}function I4($){if($===!1||$==null)return $;return J.isArray($)?$.map(I4):x1(String($))}function q2($){let Y=Object.create(null),Q=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,G;while(G=Q.exec($))Y[G[1]]=G[2];return Y}function v4($,Y,Q,G,W){if(J.isFunction(G))return G.call(this,Y,Q);if(W)Y=Q;if(!J.isString(Y))return;if(J.isString(G))return Y.indexOf(G)!==-1;if(J.isRegExp(G))return G.test(Y)}function R2($){return $.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(Y,Q,G)=>{return Q.toUpperCase()+G})}function T2($,Y){let Q=J.toCamelCase(" "+Y);["get","set","has"].forEach((G)=>{Object.defineProperty($,G+Q,{__proto__:null,value:function(W,Z,X){return this[G].call(this,Y,W,Z,X)},configurable:!0})})}var b1,C2=($)=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test($.trim()),c0,x;var G0=C(()=>{j();k1();u0();b1=Symbol("internals");c0=class c0{constructor($){$&&this.set($)}set($,Y,Q){let G=this;function W(X,K,M){let z=d0(K);if(!z)return;let N=J.findKey(G,z);if(!N||G[N]===void 0||M===!0||M===void 0&&G[N]!==!1)G[N||K]=I4(X)}let Z=(X,K)=>J.forEach(X,(M,z)=>W(M,z,K));if(J.isPlainObject($)||$ instanceof this.constructor)Z($,Y);else if(J.isString($)&&($=$.trim())&&!C2($))Z(j1($),Y);else if(J.isObject($)&&J.isIterable($)){let X={},K,M;for(let z of $){if(!J.isArray(z))throw TypeError("Object iterator must return a key-value pair");X[M=z[0]]=(K=X[M])?J.isArray(K)?[...K,z[1]]:[K,z[1]]:z[1]}Z(X,Y)}else $!=null&&W(Y,$,Q);return this}get($,Y){if($=d0($),$){let Q=J.findKey(this,$);if(Q){let G=this[Q];if(!Y)return G;if(Y===!0)return q2(G);if(J.isFunction(Y))return Y.call(this,G,Q);if(J.isRegExp(Y))return Y.exec(G);throw TypeError("parser must be boolean|regexp|function")}}}has($,Y){if($=d0($),$){let Q=J.findKey(this,$);return!!(Q&&this[Q]!==void 0&&(!Y||v4(this,this[Q],Q,Y)))}return!1}delete($,Y){let Q=this,G=!1;function W(Z){if(Z=d0(Z),Z){let X=J.findKey(Q,Z);if(X&&(!Y||v4(Q,Q[X],X,Y)))delete Q[X],G=!0}}if(J.isArray($))$.forEach(W);else W($);return G}clear($){let Y=Object.keys(this),Q=Y.length,G=!1;while(Q--){let W=Y[Q];if(!$||v4(this,this[W],W,$,!0))delete this[W],G=!0}return G}normalize($){let Y=this,Q={};return J.forEach(this,(G,W)=>{let Z=J.findKey(Q,W);if(Z){Y[Z]=I4(G),delete Y[W];return}let X=$?R2(W):String(W).trim();if(X!==W)delete Y[W];Y[X]=I4(G),Q[X]=!0}),this}concat(...$){return this.constructor.concat(this,...$)}toJSON($){let Y=Object.create(null);return J.forEach(this,(Q,G)=>{Q!=null&&Q!==!1&&(Y[G]=$&&J.isArray(Q)?Q.join(", "):Q)}),Y}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([$,Y])=>$+": "+Y).join(`
|
|
3
|
-
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from($){return $ instanceof this?$:new this($)}static concat($,...Y){let Q=new this($);return Y.forEach((G)=>Q.set(G)),Q}static accessor($){let Q=(this[b1]=this[b1]={accessors:{}}).accessors,G=this.prototype;function W(Z){let X=d0(Z);if(!Q[X])T2(G,Z),Q[X]=!0}return J.isArray($)?$.forEach(W):W($),this}};c0.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);J.reduceDescriptors(c0.prototype,({value:$},Y)=>{let Q=Y[0].toUpperCase()+Y.slice(1);return{get:()=>$,set(G){this[Q]=G}}});J.freezeMethods(c0);x=c0});function H2($){if(J.hasOwnProp($,"toJSON"))return!0;let Y=Object.getPrototypeOf($);while(Y&&Y!==Object.prototype){if(J.hasOwnProp(Y,"toJSON"))return!0;Y=Object.getPrototypeOf(Y)}return!1}function E2($,Y){let Q=new Set(Y.map((Z)=>String(Z).toLowerCase())),G=[],W=(Z)=>{if(Z===null||typeof Z!=="object")return Z;if(J.isBuffer(Z))return Z;if(G.indexOf(Z)!==-1)return;if(Z instanceof x)Z=Z.toJSON();G.push(Z);let X;if(J.isArray(Z))X=[],Z.forEach((K,M)=>{let z=W(K);if(!J.isUndefined(z))X[M]=z});else{if(!J.isPlainObject(Z)&&H2(Z))return G.pop(),Z;X=Object.create(null);for(let[K,M]of Object.entries(Z)){let z=Q.has(K.toLowerCase())?O2:W(M);if(!J.isUndefined(z))X[K]=z}}return G.pop(),X};return W($)}var O2="[REDACTED ****]",u,V;var r=C(()=>{j();G0();u=class u extends Error{static from($,Y,Q,G,W,Z){let X=new u($.message,Y||$.code,Q,G,W);if(X.cause=$,X.name=$.name,$.status!=null&&X.status==null)X.status=$.status;return Z&&Object.assign(X,Z),X}constructor($,Y,Q,G,W){super($);if(Object.defineProperty(this,"message",{__proto__:null,value:$,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,Y&&(this.code=Y),Q&&(this.config=Q),G&&(this.request=G),W)this.response=W,this.status=W.status}toJSON(){let $=this.config,Y=$&&J.hasOwnProp($,"redact")?$.redact:void 0,Q=J.isArray(Y)&&Y.length>0?E2($,Y):J.toJSONObject($);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Q,code:this.code,status:this.status}}};u.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";u.ERR_BAD_OPTION="ERR_BAD_OPTION";u.ECONNABORTED="ECONNABORTED";u.ETIMEDOUT="ETIMEDOUT";u.ECONNREFUSED="ECONNREFUSED";u.ERR_NETWORK="ERR_NETWORK";u.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";u.ERR_DEPRECATED="ERR_DEPRECATED";u.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";u.ERR_BAD_REQUEST="ERR_BAD_REQUEST";u.ERR_CANCELED="ERR_CANCELED";u.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";u.ERR_INVALID_URL="ERR_INVALID_URL";u.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";V=u});var v1,F4;var m4=C(()=>{v1=y4(A2(),1),F4=v1.default});function h4($){return J.isPlainObject($)||J.isArray($)}function y1($){return J.endsWith($,"[]")?$.slice(0,-2):$}function f4($,Y,Q){if(!$)return Y;return $.concat(Y).map(function(W,Z){return W=y1(W),!Q&&Z?"["+W+"]":W}).join(Q?".":"")}function j2($){return J.isArray($)&&!$.some(h4)}function x2($,Y,Q){if(!J.isObject($))throw TypeError("target must be an object");Y=Y||new(F4||FormData),Q=J.toFlatObject(Q,{metaTokens:!0,dots:!1,indexes:!1},!1,function(L,w){return!J.isUndefined(w[L])});let G=Q.metaTokens,W=Q.visitor||I,Z=Q.dots,X=Q.indexes,K=Q.Blob||typeof Blob<"u"&&Blob,M=Q.maxDepth===void 0?100:Q.maxDepth,z=K&&J.isSpecCompliantForm(Y);if(!J.isFunction(W))throw TypeError("visitor must be a function");function N(U){if(U===null)return"";if(J.isDate(U))return U.toISOString();if(J.isBoolean(U))return U.toString();if(!z&&J.isBlob(U))throw new V("Blob is not supported. Use a Buffer instead.");if(J.isArrayBuffer(U)||J.isTypedArray(U))return z&&typeof Blob==="function"?new Blob([U]):Buffer.from(U);return U}function I(U,L,w){let _=U;if(J.isReactNative(Y)&&J.isReactNativeBlob(U))return Y.append(f4(w,L,Z),N(U)),!1;if(U&&!w&&typeof U==="object"){if(J.endsWith(L,"{}"))L=G?L:L.slice(0,-2),U=JSON.stringify(U);else if(J.isArray(U)&&j2(U)||(J.isFileList(U)||J.endsWith(L,"[]"))&&(_=J.toArray(U)))return L=y1(L),_.forEach(function(O,f){!(J.isUndefined(O)||O===null)&&Y.append(X===!0?f4([L],f,Z):X===null?L:L+"[]",N(O))}),!1}if(h4(U))return!0;return Y.append(f4(w,L,Z),N(U)),!1}let B=[],F=Object.assign(k2,{defaultVisitor:I,convertValue:N,isVisitable:h4});function D(U,L,w=0){if(J.isUndefined(U))return;if(w>M)throw new V("Object is too deeply nested ("+w+" levels). Max depth: "+M,V.ERR_FORM_DATA_DEPTH_EXCEEDED);if(B.indexOf(U)!==-1)throw Error("Circular reference detected in "+L.join("."));B.push(U),J.forEach(U,function(R,O){if((!(J.isUndefined(R)||R===null)&&W.call(Y,R,J.isString(O)?O.trim():O,L,F))===!0)D(R,L?L.concat(O):[O],w+1)}),B.pop()}if(!J.isObject($))throw TypeError("data must be an object");return D($),Y}var k2,I0;var p0=C(()=>{j();r();m4();k2=J.toFlatObject(J,{},null,function(Y){return/^is[A-Z]/.test(Y)});I0=x2});function m1($){let Y={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent($).replace(/[!'()~]|%20/g,function(G){return Y[G]})}function f1($,Y){this._pairs=[],$&&I0($,this,Y)}var h1,g1;var u1=C(()=>{p0();h1=f1.prototype;h1.append=function(Y,Q){this._pairs.push([Y,Q])};h1.toString=function(Y){let Q=Y?function(G){return Y.call(this,G,m1)}:m1;return this._pairs.map(function(W){return Q(W[0])+"="+Q(W[1])},"").join("&")};g1=f1});function b2($){return encodeURIComponent($).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function S0($,Y,Q){if(!Y)return $;let G=Q&&Q.encode||b2,W=J.isFunction(Q)?{serialize:Q}:Q,Z=W&&W.serialize,X;if(Z)X=Z(Y,W);else X=J.isURLSearchParams(Y)?Y.toString():new g1(Y,W).toString(G);if(X){let K=$.indexOf("#");if(K!==-1)$=$.slice(0,K);$+=($.indexOf("?")===-1?"?":"&")+X}return $}var L4=C(()=>{j();u1()});class d1{constructor(){this.handlers=[]}use($,Y,Q){return this.handlers.push({fulfilled:$,rejected:Y,synchronous:Q?Q.synchronous:!1,runWhen:Q?Q.runWhen:null}),this.handlers.length-1}eject($){if(this.handlers[$])this.handlers[$]=null}clear(){if(this.handlers)this.handlers=[]}forEach($){J.forEach(this.handlers,function(Q){if(Q!==null)$(Q)})}}var g4;var c1=C(()=>{j();g4=d1});var F0;var l0=C(()=>{F0={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1}});import v2 from"url";var p1;var l1=C(()=>{p1=v2.URLSearchParams});import y2 from"crypto";var u4="abcdefghijklmnopqrstuvwxyz",i1="0123456789",n1,m2=($=16,Y=n1.ALPHA_DIGIT)=>{let Q="",{length:G}=Y,W=new Uint32Array($);y2.randomFillSync(W);for(let Z=0;Z<$;Z++)Q+=Y[W[Z]%G];return Q},a1;var t1=C(()=>{l1();m4();n1={DIGIT:i1,ALPHA:u4,ALPHA_DIGIT:u4+u4.toUpperCase()+i1},a1={isNode:!0,classes:{URLSearchParams:p1,FormData:F4,Blob:typeof Blob<"u"&&Blob||null},ALPHABET:n1,generateString:m2,protocols:["http","https","file","data"]}});var p4={};f2(p4,{origin:()=>u2,navigator:()=>d4,hasStandardBrowserWebWorkerEnv:()=>g2,hasStandardBrowserEnv:()=>h2,hasBrowserEnv:()=>c4});var c4,d4,h2,g2,u2;var s1=C(()=>{c4=typeof window<"u"&&typeof document<"u",d4=typeof navigator==="object"&&navigator||void 0,h2=c4&&(!d4||["ReactNative","NativeScript","NS"].indexOf(d4.product)<0),g2=(()=>{return typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts==="function"})(),u2=c4&&window.location.href||"http://localhost"});var H;var W0=C(()=>{t1();s1();H={...p4,...a1}});function l4($,Y){return I0($,new H.classes.URLSearchParams,{visitor:function(Q,G,W,Z){if(H.isNode&&J.isBuffer(Q))return this.append(G,Q.toString("base64")),!1;return Z.defaultVisitor.apply(this,arguments)},...Y})}var r1=C(()=>{j();p0();W0()});function d2($){return J.matchAll(/\w+|\[(\w*)]/g,$).map((Y)=>{return Y[0]==="[]"?"":Y[1]||Y[0]})}function c2($){let Y={},Q=Object.keys($),G,W=Q.length,Z;for(G=0;G<W;G++)Z=Q[G],Y[Z]=$[Z];return Y}function p2($){function Y(Q,G,W,Z){let X=Q[Z++];if(X==="__proto__")return!0;let K=Number.isFinite(+X),M=Z>=Q.length;if(X=!X&&J.isArray(W)?W.length:X,M){if(J.hasOwnProp(W,X))W[X]=J.isArray(W[X])?W[X].concat(G):[W[X],G];else W[X]=G;return!K}if(!J.hasOwnProp(W,X)||!J.isObject(W[X]))W[X]=[];if(Y(Q,G,W[X],Z)&&J.isArray(W[X]))W[X]=c2(W[X]);return!K}if(J.isFormData($)&&J.isFunction($.entries)){let Q={};return J.forEachEntry($,(G,W)=>{Y(d2(G),W,Q,0)}),Q}return null}var U4;var i4=C(()=>{j();U4=p2});function l2($,Y,Q){if(J.isString($))try{return(Y||JSON.parse)($),J.trim($)}catch(G){if(G.name!=="SyntaxError")throw G}return(Q||JSON.stringify)($)}var j0=($,Y)=>$!=null&&J.hasOwnProp($,Y)?$[Y]:void 0,n4,k0;var w4=C(()=>{j();r();l0();p0();r1();W0();i4();n4={transitional:F0,adapter:["xhr","http","fetch"],transformRequest:[function(Y,Q){let G=Q.getContentType()||"",W=G.indexOf("application/json")>-1,Z=J.isObject(Y);if(Z&&J.isHTMLForm(Y))Y=new FormData(Y);if(J.isFormData(Y))return W?JSON.stringify(U4(Y)):Y;if(J.isArrayBuffer(Y)||J.isBuffer(Y)||J.isStream(Y)||J.isFile(Y)||J.isBlob(Y)||J.isReadableStream(Y))return Y;if(J.isArrayBufferView(Y))return Y.buffer;if(J.isURLSearchParams(Y))return Q.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),Y.toString();let K;if(Z){let M=j0(this,"formSerializer");if(G.indexOf("application/x-www-form-urlencoded")>-1)return l4(Y,M).toString();if((K=J.isFileList(Y))||G.indexOf("multipart/form-data")>-1){let z=j0(this,"env"),N=z&&z.FormData;return I0(K?{"files[]":Y}:Y,N&&new N,M)}}if(Z||W)return Q.setContentType("application/json",!1),l2(Y);return Y}],transformResponse:[function(Y){let Q=j0(this,"transitional")||n4.transitional,G=Q&&Q.forcedJSONParsing,W=j0(this,"responseType"),Z=W==="json";if(J.isResponse(Y)||J.isReadableStream(Y))return Y;if(Y&&J.isString(Y)&&(G&&!W||Z)){let K=!(Q&&Q.silentJSONParsing)&&Z;try{return JSON.parse(Y,j0(this,"parseReviver"))}catch(M){if(K){if(M.name==="SyntaxError")throw V.from(M,V.ERR_BAD_RESPONSE,this,null,j0(this,"response"));throw M}}}return Y}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:H.classes.FormData,Blob:H.classes.Blob},validateStatus:function(Y){return Y>=200&&Y<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};J.forEach(["delete","get","head","post","put","patch","query"],($)=>{n4.headers[$]={}});k0=n4});function i0($,Y){let Q=this||k0,G=Y||Q,W=x.from(G.headers),Z=G.data;return J.forEach($,function(K){Z=K.call(Q,Z,W.normalize(),Y?Y.status:void 0)}),W.normalize(),Z}var o1=C(()=>{j();w4();G0()});function n0($){return!!($&&$.__CANCEL__)}var a4=()=>{};var e1,o;var D0=C(()=>{r();e1=class e1 extends V{constructor($,Y,Q){super($==null?"canceled":$,V.ERR_CANCELED,Y,Q);this.name="CanceledError",this.__CANCEL__=!0}};o=e1});function z0($,Y,Q){let G=Q.config.validateStatus;if(!Q.status||!G||G(Q.status))$(Q);else Y(new V("Request failed with status code "+Q.status,Q.status>=400&&Q.status<500?V.ERR_BAD_REQUEST:V.ERR_BAD_RESPONSE,Q.config,Q.request,Q))}var S4=C(()=>{r()});function t4($){if(typeof $!=="string")return!1;return/^([a-z][a-z\d+\-.]*:)?\/\//i.test($)}var $5=()=>{};function s4($,Y){return Y?$.replace(/\/?\/$/,"")+"/"+Y.replace(/^\/+/,""):$}var Y5=()=>{};function P0($,Y,Q){let G=!t4(Y);if($&&(G||Q===!1))return s4($,Y);return Y}var D4=C(()=>{$5();Y5()});var G5=a0((Q5)=>{Object.defineProperty(Q5,"__esModule",{value:!0});function i2($){return function(Y,Q){return new Promise((G,W)=>{$.call(this,Y,Q,(Z,X)=>{if(Z)W(Z);else G(X)})})}}Q5.default=i2});var X5=a0((o4,Z5)=>{var W5=o4&&o4.__importDefault||function($){return $&&$.__esModule?$:{default:$}},a2=s0("events"),t2=W5(e4()),s2=W5(G5()),t0=t2.default("agent-base");function r2($){return Boolean($)&&typeof $.addRequest==="function"}function r4(){let{stack:$}=Error();if(typeof $!=="string")return!1;return $.split(`
|
|
4
|
-
`).some((Y)=>Y.indexOf("(https.js:")!==-1||Y.indexOf("node:https:")!==-1)}function P4($,Y){return new P4.Agent($,Y)}(function($){class Y extends a2.EventEmitter{constructor(Q,G){super();let W=G;if(typeof Q==="function")this.callback=Q;else if(Q)W=Q;if(this.timeout=null,W&&typeof W.timeout==="number")this.timeout=W.timeout;this.maxFreeSockets=1,this.maxSockets=1,this.maxTotalSockets=1/0,this.sockets={},this.freeSockets={},this.requests={},this.options={}}get defaultPort(){if(typeof this.explicitDefaultPort==="number")return this.explicitDefaultPort;return r4()?443:80}set defaultPort(Q){this.explicitDefaultPort=Q}get protocol(){if(typeof this.explicitProtocol==="string")return this.explicitProtocol;return r4()?"https:":"http:"}set protocol(Q){this.explicitProtocol=Q}callback(Q,G,W){throw Error('"agent-base" has no default implementation, you must subclass and override `callback()`')}addRequest(Q,G){let W=Object.assign({},G);if(typeof W.secureEndpoint!=="boolean")W.secureEndpoint=r4();if(W.host==null)W.host="localhost";if(W.port==null)W.port=W.secureEndpoint?443:80;if(W.protocol==null)W.protocol=W.secureEndpoint?"https:":"http:";if(W.host&&W.path)delete W.path;delete W.agent,delete W.hostname,delete W._defaultAgent,delete W.defaultPort,delete W.createConnection,Q._last=!0,Q.shouldKeepAlive=!1;let Z=!1,X=null,K=W.timeout||this.timeout,M=(B)=>{if(Q._hadError)return;Q.emit("error",B),Q._hadError=!0},z=()=>{X=null,Z=!0;let B=Error(`A "socket" was not created for HTTP request before ${K}ms`);B.code="ETIMEOUT",M(B)},N=(B)=>{if(Z)return;if(X!==null)clearTimeout(X),X=null;M(B)},I=(B)=>{if(Z)return;if(X!=null)clearTimeout(X),X=null;if(r2(B)){t0("Callback returned another Agent instance %o",B.constructor.name),B.addRequest(Q,W);return}if(B){B.once("free",()=>{this.freeSocket(B,W)}),Q.onSocket(B);return}let F=Error(`no Duplex stream was returned to agent-base for \`${Q.method} ${Q.path}\``);M(F)};if(typeof this.callback!=="function"){M(Error("`callback` is not defined"));return}if(!this.promisifiedCallback)if(this.callback.length>=3)t0("Converting legacy callback function to promise"),this.promisifiedCallback=s2.default(this.callback);else this.promisifiedCallback=this.callback;if(typeof K==="number"&&K>0)X=setTimeout(z,K);if("port"in W&&typeof W.port!=="number")W.port=Number(W.port);try{t0("Resolving socket for %o request: %o",W.protocol,`${Q.method} ${Q.path}`),Promise.resolve(this.promisifiedCallback(Q,W)).then(I,N)}catch(B){Promise.reject(B).catch(N)}}freeSocket(Q,G){t0("Freeing socket %o %o",Q.constructor.name,G),Q.destroy()}destroy(){t0("Destroying agent %o",this.constructor.name)}}$.Agent=Y,$.prototype=$.Agent.prototype})(P4||(P4={}));Z5.exports=P4});var J5=a0((o0)=>{var o2=o0&&o0.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(o0,"__esModule",{value:!0});var e2=o2(e4()),r0=e2.default("https-proxy-agent:parse-proxy-response");function $$($){return new Promise((Y,Q)=>{let G=0,W=[];function Z(){let I=$.read();if(I)N(I);else $.once("readable",Z)}function X(){$.removeListener("end",M),$.removeListener("error",z),$.removeListener("close",K),$.removeListener("readable",Z)}function K(I){r0("onclose had error %o",I)}function M(){r0("onend")}function z(I){X(),r0("onerror %o",I),Q(I)}function N(I){W.push(I),G+=I.length;let B=Buffer.concat(W,G);if(B.indexOf(`\r
|
|
5
|
-
\r
|
|
6
|
-
`)===-1){r0("have not received end of HTTP headers yet..."),Z();return}let D=B.toString("ascii",0,B.indexOf(`\r
|
|
7
|
-
`)),U=+D.split(" ")[1];r0("got proxy server response: %o",D),Y({statusCode:U,buffered:B})}$.on("error",z),$.on("close",K),$.on("end",M),Z()})}o0.default=$$});var z5=a0((_0)=>{var Y$=_0&&_0.__awaiter||function($,Y,Q,G){function W(Z){return Z instanceof Q?Z:new Q(function(X){X(Z)})}return new(Q||(Q=Promise))(function(Z,X){function K(N){try{z(G.next(N))}catch(I){X(I)}}function M(N){try{z(G.throw(N))}catch(I){X(I)}}function z(N){N.done?Z(N.value):W(N.value).then(K,M)}z((G=G.apply($,Y||[])).next())})},x0=_0&&_0.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(_0,"__esModule",{value:!0});var K5=x0(s0("net")),M5=x0(s0("tls")),Q$=x0(s0("url")),G$=x0(s0("assert")),W$=x0(e4()),Z$=X5(),X$=x0(J5()),e0=W$.default("https-proxy-agent:agent");class N5 extends Z$.Agent{constructor($){let Y;if(typeof $==="string")Y=Q$.default.parse($);else Y=$;if(!Y)throw Error("an HTTP(S) proxy server `host` and `port` must be specified!");e0("creating new HttpsProxyAgent instance: %o",Y);super(Y);let Q=Object.assign({},Y);if(this.secureProxy=Y.secureProxy||M$(Q.protocol),Q.host=Q.hostname||Q.host,typeof Q.port==="string")Q.port=parseInt(Q.port,10);if(!Q.port&&Q.host)Q.port=this.secureProxy?443:80;if(this.secureProxy&&!("ALPNProtocols"in Q))Q.ALPNProtocols=["http 1.1"];if(Q.host&&Q.path)delete Q.path,delete Q.pathname;this.proxy=Q}callback($,Y){return Y$(this,void 0,void 0,function*(){let{proxy:Q,secureProxy:G}=this,W;if(G)e0("Creating `tls.Socket`: %o",Q),W=M5.default.connect(Q);else e0("Creating `net.Socket`: %o",Q),W=K5.default.connect(Q);let Z=Object.assign({},Q.headers),K=`CONNECT ${`${Y.host}:${Y.port}`} HTTP/1.1\r
|
|
8
|
-
`;if(Q.auth)Z["Proxy-Authorization"]=`Basic ${Buffer.from(Q.auth).toString("base64")}`;let{host:M,port:z,secureEndpoint:N}=Y;if(!K$(z,N))M+=`:${z}`;Z.Host=M,Z.Connection="close";for(let U of Object.keys(Z))K+=`${U}: ${Z[U]}\r
|
|
9
|
-
`;let I=X$.default(W);W.write(`${K}\r
|
|
10
|
-
`);let{statusCode:B,buffered:F}=yield I;if(B===200){if($.once("socket",J$),Y.secureEndpoint){e0("Upgrading socket connection to TLS");let U=Y.servername||Y.host;return M5.default.connect(Object.assign(Object.assign({},N$(Y,"host","hostname","path","port")),{socket:W,servername:U}))}return W}W.destroy();let D=new K5.default.Socket({writable:!1});return D.readable=!0,$.once("socket",(U)=>{e0("replaying proxy buffer for failed request"),G$.default(U.listenerCount("data")>0),U.push(F),U.push(null)}),D})}}_0.default=N5;function J$($){$.resume()}function K$($,Y){return Boolean(!Y&&$===80||Y&&$===443)}function M$($){return typeof $==="string"?/^https:?$/i.test($):!1}function N$($,...Y){let Q={},G;for(G in $)if(!Y.includes(G))Q[G]=$[G];return Q}});var V5=a0((Q1,B5)=>{var z$=Q1&&Q1.__importDefault||function($){return $&&$.__esModule?$:{default:$}},$1=z$(z5());function Y1($){return new $1.default($)}(function($){$.HttpsProxyAgent=$1.default,$.prototype=$1.default.prototype})(Y1||(Y1={}));B5.exports=Y1});var B0="1.17.0";var $4=()=>{};function Y4($){let Y=/^([-+\w]{1,25}):(?:\/\/)?/.exec($);return Y&&Y[1]||""}var G1=()=>{};function W1($,Y,Q){let G=Q&&Q.Blob||H.classes.Blob,W=Y4($);if(Y===void 0&&G)Y=!0;if(W==="data"){$=W.length?$.slice(W.length+1):$;let Z=B$.exec($);if(!Z)throw new V("Invalid URL",V.ERR_INVALID_URL);let X=Z[1],K=Z[2],M=Z[3]?"base64":"utf8",z=Z[4],N;if(X)N=K?X+K:X;else if(K)N="text/plain"+K;let I=Buffer.from(decodeURIComponent(z),M);if(Y){if(!G)throw new V("Blob is not supported",V.ERR_NOT_SUPPORT);return new G([I],{type:N})}return I}throw new V("Unsupported protocol "+W,V.ERR_NOT_SUPPORT)}var B$;var I5=C(()=>{r();G1();W0();B$=/^([^,;]+\/[^,;]+)?((?:;[^,;=]+=[^,;]+)*)(;base64)?,([\s\S]*)$/});import V$ from"stream";var Z1,F5,X1;var L5=C(()=>{j();Z1=Symbol("internals");F5=class F5 extends V$.Transform{constructor($){$=J.toFlatObject($,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(Q,G)=>{return!J.isUndefined(G[Q])});super({readableHighWaterMark:$.chunkSize});let Y=this[Z1]={timeWindow:$.timeWindow,chunkSize:$.chunkSize,maxRate:$.maxRate,minChunkSize:$.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",(Q)=>{if(Q==="progress"){if(!Y.isCaptured)Y.isCaptured=!0}})}_read($){let Y=this[Z1];if(Y.onReadCallback)Y.onReadCallback();return super._read($)}_transform($,Y,Q){let G=this[Z1],W=G.maxRate,Z=this.readableHighWaterMark,X=G.timeWindow,K=1000/X,M=W/K,z=G.minChunkSize!==!1?Math.max(G.minChunkSize,M*0.01):0,N=(B,F)=>{let D=Buffer.byteLength(B);if(G.bytesSeen+=D,G.bytes+=D,G.isCaptured&&this.emit("progress",G.bytesSeen),this.push(B))process.nextTick(F);else G.onReadCallback=()=>{G.onReadCallback=null,process.nextTick(F)}},I=(B,F)=>{let D=Buffer.byteLength(B),U=null,L=Z,w,_=0;if(W){let R=Date.now();if(!G.ts||(_=R-G.ts)>=X)G.ts=R,w=M-G.bytes,G.bytes=w<0?-w:0,_=0;w=M-G.bytes}if(W){if(w<=0)return setTimeout(()=>{F(null,B)},X-_);if(w<L)L=w}if(L&&D>L&&D-L>z)U=B.subarray(L),B=B.subarray(0,L);N(B,U?()=>{process.nextTick(F,null,U)}:F)};I($,function B(F,D){if(F)return Q(F);if(D)I(D,B);else Q(null)})}};X1=F5});var U5,I$=async function*($){if($.stream)yield*$.stream();else if($.arrayBuffer)yield await $.arrayBuffer();else if($[U5])yield*$[U5]();else yield $},_4;var J1=C(()=>{({asyncIterator:U5}=Symbol),_4=I$});import F$ from"util";import{Readable as L$}from"stream";class w5{constructor($,Y){let{escapeName:Q}=this.constructor,G=J.isString(Y),W=`Content-Disposition: form-data; name="${Q($)}"${!G&&Y.name?`; filename="${Q(Y.name)}"`:""}${q0}`;if(G)Y=Q4.encode(String(Y).replace(/\r?\n|\r\n?/g,q0));else{let Z=String(Y.type||"application/octet-stream").replace(/[\r\n]/g,"");W+=`Content-Type: ${Z}${q0}`}this.headers=Q4.encode(W+q0),this.contentLength=G?Y.byteLength:Y.size,this.size=this.headers.byteLength+this.contentLength+S$,this.name=$,this.value=Y}async*encode(){yield this.headers;let{value:$}=this;if(J.isTypedArray($))yield $;else yield*_4($);yield w$}static escapeName($){return String($).replace(/[\r\n"]/g,(Y)=>({"\r":"%0D","\n":"%0A",'"':"%22"})[Y])}}var U$,Q4,q0=`\r
|
|
11
|
-
`,w$,S$=2,D$=($,Y,Q)=>{let{tag:G="form-data-boundary",size:W=25,boundary:Z=G+"-"+H.generateString(W,U$)}=Q||{};if(!J.isFormData($))throw TypeError("FormData instance required");if(Z.length<1||Z.length>70)throw Error("boundary must be 1-70 characters long");let X=Q4.encode("--"+Z+q0),K=Q4.encode("--"+Z+"--"+q0),M=K.byteLength,z=Array.from($.entries()).map(([I,B])=>{let F=new w5(I,B);return M+=F.size,F});M+=X.byteLength*z.length,M=J.toFiniteNumber(M);let N={"Content-Type":`multipart/form-data; boundary=${Z}`};if(Number.isFinite(M))N["Content-Length"]=M;return Y&&Y(N),L$.from(async function*(){for(let I of z)yield X,yield*I.encode();yield K}())},S5;var D5=C(()=>{j();J1();W0();U$=H.ALPHABET.ALPHA_DIGIT+"-_",Q4=typeof TextEncoder==="function"?new TextEncoder:new F$.TextEncoder,w$=Q4.encode(q0);S5=D$});import P$ from"stream";var P5,_5;var q5=C(()=>{P5=class P5 extends P$.Transform{__transform($,Y,Q){this.push($),Q()}_transform($,Y,Q){if($.length!==0){if(this._transform=this.__transform,$[0]!==120){let G=Buffer.alloc(2);G[0]=120,G[1]=156,this.push(G,Y)}}this.__transform($,Y,Q)}};_5=P5});import _$ from"http2";import q$ from"util";class C5{constructor(){this.sessions=Object.create(null)}getSession($,Y){Y=Object.assign({sessionTimeout:1000},Y);let Q=this.sessions[$];if(Q){let N=Q.length;for(let I=0;I<N;I++){let[B,F]=Q[I];if(!B.destroyed&&!B.closed&&q$.isDeepStrictEqual(F,Y))return B}}let G=_$.connect($,Y),W,Z,X=()=>{if(W)return;if(W=!0,Z)clearTimeout(Z),Z=null;let N=Q,I=N.length,B=I;while(B--)if(N[B][0]===G){if(I===1)delete this.sessions[$];else N.splice(B,1);if(!G.closed)G.close();return}},K=G.request,{sessionTimeout:M}=Y;if(M!=null){let N=0;G.request=function(){let I=K.apply(this,arguments);if(N++,Z)clearTimeout(Z),Z=null;return I.once("close",()=>{if(!--N)Z=setTimeout(()=>{Z=null,X()},M)}),I}}G.once("close",X);let z=[G,Y];return Q?Q.push(z):Q=this.sessions[$]=[z],G}}var R5;var T5=C(()=>{R5=C5});var C$=($,Y)=>{return J.isAsyncFn($)?function(...Q){let G=Q.pop();$.apply(this,Q).then((W)=>{try{Y?G(null,...Y(W)):G(null,W)}catch(Z){G(Z)}},G)}:$},O5;var H5=C(()=>{j();O5=C$});function K1($){let Y;try{Y=new URL($)}catch(Z){return!1}let Q=(process.env.no_proxy||process.env.NO_PROXY||"").toLowerCase();if(!Q)return!1;if(Q==="*")return!0;let G=Number.parseInt(Y.port,10)||O$[Y.protocol.split(":",1)[0]]||0,W=A5(Y.hostname.toLowerCase());return Q.split(/[\s,]+/).some((Z)=>{if(!Z)return!1;let[X,K]=H$(Z);if(X=A5(X),!X)return!1;if(K&&K!==G)return!1;if(X.charAt(0)==="*")X=X.slice(1);if(X.charAt(0)===".")return W.endsWith(X);return W===X||E5(W)&&E5(X)})}var R$,j5=($)=>{let Y=$.split(".");if(Y.length!==4)return!1;if(Y[0]!=="127")return!1;return Y.every((Q)=>/^\d+$/.test(Q)&&Number(Q)>=0&&Number(Q)<=255)},T$=($)=>{if($==="::1")return!0;let Y=$.match(/^::ffff:(\d+\.\d+\.\d+\.\d+)$/i);if(Y)return j5(Y[1]);let Q=$.match(/^::ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i);if(Q){let W=parseInt(Q[1],16);return W>=32512&&W<=32767}let G=$.split(":");if(G.length===8){for(let W=0;W<7;W++)if(!/^0+$/.test(G[W]))return!1;return/^0*1$/.test(G[7])}return!1},E5=($)=>{if(!$)return!1;if(R$.has($))return!0;if(j5($))return!0;return T$($)},O$,H$=($)=>{let Y=$,Q=0;if(Y.charAt(0)==="["){let Z=Y.indexOf("]");if(Z!==-1){let X=Y.slice(1,Z),K=Y.slice(Z+1);if(K.charAt(0)===":"&&/^\d+$/.test(K.slice(1)))Q=Number.parseInt(K.slice(1),10);return[X,Q]}}let G=Y.indexOf(":"),W=Y.lastIndexOf(":");if(G!==-1&&G===W&&/^\d+$/.test(Y.slice(W+1)))Q=Number.parseInt(Y.slice(W+1),10),Y=Y.slice(0,W);return[Y,Q]},E$,A$,j$=($)=>{if(typeof $!=="string"||$.indexOf(":")===-1)return $;let Y=$.match(E$);if(Y)return Y[1];let Q=$.match(A$);if(Q){let G=parseInt(Q[1],16),W=parseInt(Q[2],16);return`${G>>8}.${G&255}.${W>>8}.${W&255}`}return $},A5=($)=>{if(!$)return $;if($.charAt(0)==="["&&$.charAt($.length-1)==="]")$=$.slice(1,-1);return j$($.replace(/\.+$/,""))};var k5=C(()=>{R$=new Set(["localhost"]),O$={http:80,https:443,ws:80,wss:443,ftp:21},E$=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:(\d+\.\d+\.\d+\.\d+)$/i,A$=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i});function k$($,Y){$=$||10;let Q=Array($),G=Array($),W=0,Z=0,X;return Y=Y!==void 0?Y:1000,function(M){let z=Date.now(),N=G[Z];if(!X)X=z;Q[W]=M,G[W]=z;let I=Z,B=0;while(I!==W)B+=Q[I++],I=I%$;if(W=(W+1)%$,W===Z)Z=(Z+1)%$;if(z-X<Y)return;let F=N&&z-N;return F?Math.round(B*1000/F):void 0}}var x5;var b5=C(()=>{x5=k$});function x$($,Y){let Q=0,G=1000/Y,W,Z,X=(z,N=Date.now())=>{if(Q=N,W=null,Z)clearTimeout(Z),Z=null;$(...z)};return[(...z)=>{let N=Date.now(),I=N-Q;if(I>=G)X(z,N);else if(W=z,!Z)Z=setTimeout(()=>{Z=null,X(W)},G-I)},()=>W&&X(W)]}var v5;var y5=C(()=>{v5=x$});var V0=($,Y,Q=3)=>{let G=0,W=x5(50,250);return v5((Z)=>{if(!Z||typeof Z.loaded!=="number")return;let X=Z.loaded,K=Z.lengthComputable?Z.total:void 0,M=K!=null?Math.min(X,K):X,z=Math.max(0,M-G),N=W(z);G=Math.max(G,M);let I={loaded:M,total:K,progress:K?M/K:void 0,bytes:z,rate:N?N:void 0,estimated:N&&K?(K-M)/N:void 0,event:Z,lengthComputable:K!=null,[Y?"download":"upload"]:!0};$(I)},Q)},b0=($,Y)=>{let Q=$!=null;return[(G)=>Y[0]({lengthComputable:Q,total:$,loaded:G}),Y[1]]},v0=($)=>(...Y)=>J.asap(()=>$(...Y));var q4=C(()=>{b5();y5();j()});function G4($){if(!$||typeof $!=="string")return 0;if(!$.startsWith("data:"))return 0;let Y=$.indexOf(",");if(Y<0)return 0;let Q=$.slice(5,Y),G=$.slice(Y+1);if(/;base64/i.test(Q)){let{length:X,length:K}=G;for(let F=0;F<K;F++)if(G.charCodeAt(F)===37&&F+2<K){let D=G.charCodeAt(F+1),U=G.charCodeAt(F+2);if((D>=48&&D<=57||D>=65&&D<=70||D>=97&&D<=102)&&(U>=48&&U<=57||U>=65&&U<=70||U>=97&&U<=102))X-=2,F+=2}let M=0,z=K-1,N=(F)=>F>=2&&G.charCodeAt(F-2)===37&&G.charCodeAt(F-1)===51&&(G.charCodeAt(F)===68||G.charCodeAt(F)===100);if(z>=0){if(G.charCodeAt(z)===61)M++,z--;else if(N(z))M++,z-=3}if(M===1&&z>=0){if(G.charCodeAt(z)===61)M++;else if(N(z))M++}let B=Math.floor(X/4)*3-(M||0);return B>0?B:0}if(typeof Buffer<"u"&&typeof Buffer.byteLength==="function")return Buffer.byteLength(G,"utf8");let Z=0;for(let X=0,K=G.length;X<K;X++){let M=G.charCodeAt(X);if(M<128)Z+=1;else if(M<2048)Z+=2;else if(M>=55296&&M<=56319&&X+1<K){let z=G.charCodeAt(X+1);if(z>=56320&&z<=57343)Z+=4,X++;else Z+=3}else Z+=3}return Z}var M1=()=>{};import y$ from"http";import m$ from"https";import f$ from"http2";import h$ from"util";import{resolve as m5}from"path";import $0 from"zlib";import Z0 from"stream";import{EventEmitter as g$}from"events";function n$($,Y,Q){if(Q!=="content-only"){$.set(Y);return}Object.entries(Y).forEach(([G,W])=>{if(i$.includes(G.toLowerCase()))$.set(G,W)})}function t$($,Y){let Q=$.protocol+"//"+$.hostname+":"+($.port||"")+"#"+($.auth||""),G=Y?g5.get(Y)||g5.set(Y,new Map).get(Y):a$,W=G.get(Q);if(W)return W;let Z=Y&&Y.options?{...Y.options,...$}:$;if(W=new N1.default(Z),Y&&Y.options){let X={...Y.options},K=W.callback;W.callback=function(z,N){return K.call(this,z,{...X,...N})}}return W[r5]=!0,G.set(Q,W),W}function r$($,Y,Q){if($.beforeRedirects.proxy)$.beforeRedirects.proxy($);if($.beforeRedirects.auth)$.beforeRedirects.auth($);if($.beforeRedirects.config)$.beforeRedirects.config($,Y,Q)}function o5($,Y,Q,G,W){let Z=Y;if(!Z&&Z!==!1){let X=l5(Q);if(X){if(!K1(Q))Z=new URL(X)}}if(G&&$.headers){for(let X of Object.keys($.headers))if(X.toLowerCase()==="proxy-authorization")delete $.headers[X]}if(G&&$.agent&&$.agent[r5])$.agent=void 0;if(Z){let X=Z instanceof URL,K=(B)=>X||J.hasOwnProp(Z,B)?Z[B]:void 0,M=K("username"),z=K("password"),N=J.hasOwnProp(Z,"auth")?Z.auth:void 0;if(M)N=(M||"")+":"+(z||"");if(N){let B=typeof N==="object",F=B&&J.hasOwnProp(N,"username")?N.username:void 0,D=B&&J.hasOwnProp(N,"password")?N.password:void 0;if(Boolean(F||D))N=(F||"")+":"+(D||"");else if(B)throw new V("Invalid proxy authorization",V.ERR_BAD_OPTION,{proxy:Z})}if(s5.test($.protocol)){if(!(W instanceof N1.default)){let B=K("hostname")||K("host"),F=K("port"),D=K("protocol"),U=D?D.includes(":")?D:`${D}:`:"http:",L=B&&B.includes(":")&&!B.startsWith("[")?`[${B}]`:B,w=new URL(`${U}//${L}${F?":"+F:""}`),_={protocol:w.protocol,hostname:w.hostname.replace(/^\[|\]$/g,""),port:w.port,auth:N&&typeof N==="string"?N:void 0};if(w.protocol==="https:")_.ALPNProtocols=["http/1.1"];let R=t$(_,W);if($.agent=R,$.agents)$.agents.https=R}}else{if(N){let U=Buffer.from(N,"utf8").toString("base64");$.headers["Proxy-Authorization"]="Basic "+U}let B=!1;for(let U of Object.keys($.headers))if(U.toLowerCase()==="host"){B=!0;break}if(!B)$.headers.host=$.hostname+($.port?":"+$.port:"");let F=K("hostname")||K("host");$.hostname=F,$.host=F,$.port=K("port"),$.path=Q;let D=K("protocol");if(D)$.protocol=D.includes(":")?D:`${D}:`}}$.beforeRedirects.proxy=function(K){o5(K,Y,K.href,!0,W)}}var N1,i5,f5,u$,d$,n5,a5,t5,c$,p$,l$,s5,i$,h5,C4,r5,a$,g5,u5,d5=($)=>{if(!J.isString($))return $;try{return decodeURIComponent($)}catch(Y){return $}},c5=($,[Y,Q])=>{return $.on("end",Q).on("error",Q),Y},s$,o$,e$=($)=>{return new Promise((Y,Q)=>{let G,W,Z=(M,z)=>{if(W)return;W=!0,G&&G(M,z)},X=(M)=>{Z(M),Y(M)},K=(M)=>{Z(M,!0),Q(M)};$(X,K,(M)=>G=M).catch(K)})},$7=({address:$,family:Y})=>{if(!J.isString($))throw TypeError("address must be a string");return{address:$,family:Y||($.indexOf(".")<0?6:4)}},p5=($,Y)=>$7(J.isObject($)?$:{address:$,family:Y}),Y7,e5;var $6=C(()=>{j();S4();D4();L4();b$();$4();l0();r();D0();W0();I5();G0();L5();D5();J1();q5();T5();H5();k5();u0();q4();M1();N1=y4(V5(),1),i5=y4(v$(),1),f5={flush:$0.constants.Z_SYNC_FLUSH,finishFlush:$0.constants.Z_SYNC_FLUSH},u$={flush:$0.constants.BROTLI_OPERATION_FLUSH,finishFlush:$0.constants.BROTLI_OPERATION_FLUSH},d$={flush:$0.constants.ZSTD_e_flush,finishFlush:$0.constants.ZSTD_e_flush},n5=J.isFunction($0.createBrotliDecompress),a5=J.isFunction($0.createZstdDecompress),t5="gzip, compress, deflate"+(n5?", br":""),c$=t5+(a5?", zstd":""),{http:p$,https:l$}=i5.default,s5=/https:?/,i$=["content-type","content-length"];h5=Symbol("axios.http.socketListener"),C4=Symbol("axios.http.currentReq"),r5=Symbol("axios.http.installedTunnel"),a$=new Map,g5=new WeakMap;u5=H.protocols.map(($)=>{return $+":"}),s$=new R5;o$=typeof process<"u"&&J.kindOf(process)==="process",Y7={request($,Y){let Q=$.protocol+"//"+$.hostname+":"+($.port||($.protocol==="https:"?443:80)),{http2Options:G,headers:W}=$,Z=s$.getSession(Q,G),{HTTP2_HEADER_SCHEME:X,HTTP2_HEADER_METHOD:K,HTTP2_HEADER_PATH:M,HTTP2_HEADER_STATUS:z}=f$.constants,N={[X]:$.protocol.replace(":",""),[K]:$.method,[M]:$.path};J.forEach(W,(B,F)=>{F.charAt(0)!==":"&&(N[F]=B)});let I=Z.request(N);return I.once("response",(B)=>{let F=I;B=Object.assign({},B);let D=B[z];delete B[z],F.headers=B,F.statusCode=+D,Y(F)}),I}},e5=o$&&function(Y){return e$(async function(G,W,Z){let X=(q)=>J.hasOwnProp(Y,q)?Y[q]:void 0,K=X("transitional")||F0,M=X("data"),z=X("lookup"),N=X("family"),I=X("httpVersion");if(I===void 0)I=1;let B=X("http2Options"),F=X("responseType"),D=X("responseEncoding"),U=Y.method.toUpperCase(),L,w=!1,_,R;if(I=+I,Number.isNaN(I))throw TypeError(`Invalid protocol version: '${Y.httpVersion}' is not a number`);if(I!==1&&I!==2)throw TypeError(`Unsupported protocol version '${I}'`);let O=I===2;if(z){let q=O5(z,(S)=>J.isArray(S)?S:[S]);z=(S,P,A)=>{q(S,P,(T,b,i)=>{if(T)return A(T);let v=J.isArray(b)?b.map((e)=>p5(e)):[p5(b,i)];P.all?A(T,v):A(T,v[0].address,v[0].family)})}}let f=new g$;function g(q){try{f.emit("abort",!q||q.type?new o(null,Y,_):q)}catch(S){}}function J0(){if(R)clearTimeout(R),R=null}function y0(){let q=Y.timeout?"timeout of "+Y.timeout+"ms exceeded":"timeout exceeded";if(Y.timeoutErrorMessage)q=Y.timeoutErrorMessage;return new V(q,K.clarifyTimeoutError?V.ETIMEDOUT:V.ECONNABORTED,Y,_)}f.once("abort",W);let C0=()=>{if(J0(),Y.cancelToken)Y.cancelToken.unsubscribe(g);if(Y.signal)Y.signal.removeEventListener("abort",g);f.removeAllListeners()};if(Y.cancelToken||Y.signal){if(Y.cancelToken&&Y.cancelToken.subscribe(g),Y.signal)Y.signal.aborted?g():Y.signal.addEventListener("abort",g)}Z((q,S)=>{if(L=!0,J0(),S){w=!0,C0();return}let{data:P}=q;if(P instanceof Z0.Readable||P instanceof Z0.Duplex){let A=Z0.finished(P,()=>{A(),C0()})}else C0()});let Y0=P0(Y.baseURL,Y.url,Y.allowAbsoluteUrls),k=new URL(Y0,H.hasBrowserEnv?H.origin:void 0),K0=k.protocol||u5[0];if(K0==="data:"){if(Y.maxContentLength>-1){let S=String(Y.url||Y0||"");if(G4(S)>Y.maxContentLength)return W(new V("maxContentLength size of "+Y.maxContentLength+" exceeded",V.ERR_BAD_RESPONSE,Y))}let q;if(U!=="GET")return z0(G,W,{status:405,statusText:"method not allowed",headers:{},config:Y});try{q=W1(Y.url,F==="blob",{Blob:Y.env&&Y.env.Blob})}catch(S){throw V.from(S,V.ERR_BAD_REQUEST,Y)}if(F==="text"){if(q=q.toString(D),!D||D==="utf8")q=J.stripBOM(q)}else if(F==="stream")q=Z0.Readable.from(q);return z0(G,W,{data:q,status:200,statusText:"OK",headers:new x,config:Y})}if(u5.indexOf(K0)===-1)return W(new V("Unsupported protocol "+K0,V.ERR_BAD_REQUEST,Y));let d=x.from(Y.headers).normalize();d.set("User-Agent","axios/"+B0,!1);let{onUploadProgress:n,onDownloadProgress:L0}=Y,M0=Y.maxRate,R0=void 0,T0=void 0;if(J.isSpecCompliantForm(M)){let q=d.getContentType(/boundary=([-_\w\d]{10,70})/i);M=S5(M,(S)=>{d.set(S)},{tag:`axios-${B0}-boundary`,boundary:q&&q[1]||void 0})}else if(J.isFormData(M)&&J.isFunction(M.getHeaders)&&M.getHeaders!==Object.prototype.getHeaders){if(n$(d,M.getHeaders(),X("formDataHeaderPolicy")),!d.hasContentLength())try{let q=await h$.promisify(M.getLength).call(M);Number.isFinite(q)&&q>=0&&d.setContentLength(q)}catch(q){}}else if(J.isBlob(M)||J.isFile(M))M.size&&d.setContentType(M.type||"application/octet-stream"),d.setContentLength(M.size||0),M=Z0.Readable.from(_4(M));else if(M&&!J.isStream(M)){if(Buffer.isBuffer(M));else if(J.isArrayBuffer(M))M=Buffer.from(new Uint8Array(M));else if(J.isString(M))M=Buffer.from(M,"utf-8");else return W(new V("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",V.ERR_BAD_REQUEST,Y));if(d.setContentLength(M.length,!1),Y.maxBodyLength>-1&&M.length>Y.maxBodyLength)return W(new V("Request body larger than maxBodyLength limit",V.ERR_BAD_REQUEST,Y))}let J4=J.toFiniteNumber(d.getContentLength());if(J.isArray(M0))R0=M0[0],T0=M0[1];else R0=T0=M0;if(M&&(n||R0)){if(!J.isStream(M))M=Z0.Readable.from(M,{objectMode:!1});M=Z0.pipeline([M,new X1({maxRate:J.toFiniteNumber(R0)})],J.noop),n&&M.on("progress",c5(M,b0(J4,V0(v0(n),!1,3))))}let c=void 0,p=X("auth");if(p){let q=p.username||"",S=p.password||"";c=q+":"+S}if(!c&&(k.username||k.password)){let q=d5(k.username),S=d5(k.password);c=q+":"+S}c&&d.delete("authorization");let N0;try{N0=S0(k.pathname+k.search,Y.params,Y.paramsSerializer).replace(/^\?/,"")}catch(q){let S=Error(q.message);return S.config=Y,S.url=Y.url,S.exists=!0,W(S)}d.set("Accept-Encoding",J.hasOwnProp(K,"advertiseZstdAcceptEncoding")&&K.advertiseZstdAcceptEncoding===!0?c$:t5,!1);let m=Object.assign(Object.create(null),{path:N0,method:U,headers:A0(d),agents:{http:Y.httpAgent,https:Y.httpsAgent},auth:c,protocol:K0,family:N,beforeRedirect:r$,beforeRedirects:Object.create(null),http2Options:B});!J.isUndefined(z)&&(m.lookup=z);let E=X("socketPath");if(E){if(typeof E!=="string")return W(new V("socketPath must be a string",V.ERR_BAD_OPTION_VALUE,Y));let q=X("allowedSocketPaths");if(q!=null){let S=Array.isArray(q)?q:[q],P=m5(E);if(!S.some((T)=>typeof T==="string"&&m5(T)===P))return W(new V(`socketPath "${E}" is not permitted by allowedSocketPaths`,V.ERR_BAD_OPTION_VALUE,Y))}m.socketPath=E}else m.hostname=k.hostname.startsWith("[")?k.hostname.slice(1,-1):k.hostname,m.port=k.port,o5(m,Y.proxy,K0+"//"+k.hostname+(k.port?":"+k.port:"")+m.path,!1,Y.httpsAgent);let l,K4=!1,O0=s5.test(m.protocol);if(m.agent==null)m.agent=O0?Y.httpsAgent:Y.httpAgent;if(O)l=Y7;else{let q=X("transport");if(q)l=q;else if(Y.maxRedirects===0)l=O0?m$:y$,K4=!0;else{if(Y.maxRedirects)m.maxRedirects=Y.maxRedirects;let S=X("beforeRedirect");if(S)m.beforeRedirects.config=S;if(c){let P=k.origin,A=c;m.beforeRedirects.auth=function(b){try{if(new URL(b.href).origin===P)b.auth=A}catch(i){}}}l=O0?l$:p$}}if(Y.maxBodyLength>-1)m.maxBodyLength=Y.maxBodyLength;else m.maxBodyLength=1/0;m.insecureHTTPParser=Boolean(X("insecureHTTPParser")),_=l.request(m,function(S){if(J0(),_.destroyed)return;let P=[S],A=J.toFiniteNumber(S.headers["content-length"]);if(L0||T0){let v=new X1({maxRate:J.toFiniteNumber(T0)});L0&&v.on("progress",c5(v,b0(A,V0(v0(L0),!0,3)))),P.push(v)}let T=S,b=S.req||_;if(Y.decompress!==!1&&S.headers["content-encoding"]){if(U==="HEAD"||S.statusCode===204)delete S.headers["content-encoding"];switch((S.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":P.push($0.createUnzip(f5)),delete S.headers["content-encoding"];break;case"deflate":P.push(new _5),P.push($0.createUnzip(f5)),delete S.headers["content-encoding"];break;case"br":if(n5)P.push($0.createBrotliDecompress(u$)),delete S.headers["content-encoding"];break;case"zstd":if(a5)P.push($0.createZstdDecompress(d$)),delete S.headers["content-encoding"];break}}T=P.length>1?Z0.pipeline(P,J.noop):P[0];let i={status:S.statusCode,statusText:S.statusMessage,headers:new x(S.headers),config:Y,request:b};if(F==="stream"){if(Y.maxContentLength>-1){let v=Y.maxContentLength,e=T;async function*m0(){let h=0;for await(let P1 of e){if(h+=P1.length,h>v)throw new V("maxContentLength size of "+v+" exceeded",V.ERR_BAD_RESPONSE,Y,b);yield P1}}T=Z0.Readable.from(m0(),{objectMode:!1})}i.data=T,z0(G,W,i)}else{let v=[],e=0;T.on("data",function(h){if(v.push(h),e+=h.length,Y.maxContentLength>-1&&e>Y.maxContentLength)w=!0,T.destroy(),g(new V("maxContentLength size of "+Y.maxContentLength+" exceeded",V.ERR_BAD_RESPONSE,Y,b))}),T.on("aborted",function(){if(w)return;let h=new V("stream has been aborted",V.ERR_BAD_RESPONSE,Y,b,i);T.destroy(h),W(h)}),T.on("error",function(h){if(w)return;W(V.from(h,null,Y,b,i))}),T.on("end",function(){try{let h=v.length===1?v[0]:Buffer.concat(v);if(F!=="arraybuffer"){if(h=h.toString(D),!D||D==="utf8")h=J.stripBOM(h)}i.data=h}catch(h){return W(V.from(h,null,Y,i.request,i))}z0(G,W,i)})}f.once("abort",(v)=>{if(!T.destroyed)T.emit("error",v),T.destroy()})}),f.once("abort",(q)=>{if(_.close)_.close();else _.destroy(q)}),_.on("error",function(S){W(V.from(S,null,Y,_))});let a=new Set;if(_.on("socket",function(S){if(S.setKeepAlive(!0,60000),!S[h5])S.on("error",function(A){let T=S[C4];if(T&&!T.destroyed)T.destroy(A)}),S[h5]=!0;S[C4]=_,a.add(S)}),_.once("close",function(){J0();for(let S of a)if(S[C4]===_)S[C4]=null;a.clear()}),Y.timeout){let q=parseInt(Y.timeout,10);if(Number.isNaN(q)){g(new V("error trying to parse `config.timeout` to int",V.ERR_BAD_OPTION_VALUE,Y,_));return}let S=function(){if(L)return;g(y0())};if(K4&&q>0)R=setTimeout(S,q);_.setTimeout(q,S)}else _.setTimeout(0);if(J.isStream(M)){let q=!1,S=!1;M.on("end",()=>{q=!0}),M.once("error",(A)=>{S=!0,_.destroy(A)}),M.on("close",()=>{if(!q&&!S)g(new o("Request stream has been aborted",Y,_))});let P=M;if(Y.maxBodyLength>-1&&Y.maxRedirects===0){let A=Y.maxBodyLength,T=0;P=Z0.pipeline([M,new Z0.Transform({transform(b,i,v){if(T+=b.length,T>A)return v(new V("Request body larger than maxBodyLength limit",V.ERR_BAD_REQUEST,Y,_));v(null,b)}})],J.noop),P.on("error",(b)=>{if(!_.destroyed)_.destroy(b)})}P.pipe(_)}else M&&_.write(M),_.end()})}});var Y6;var Q6=C(()=>{W0();Y6=H.hasStandardBrowserEnv?(($,Y)=>(Q)=>{return Q=new URL(Q,H.origin),$.protocol===Q.protocol&&$.host===Q.host&&(Y||$.port===Q.port)})(new URL(H.origin),H.navigator&&/(msie|trident)/i.test(H.navigator.userAgent)):()=>!0});var G6;var W6=C(()=>{j();W0();G6=H.hasStandardBrowserEnv?{write($,Y,Q,G,W,Z,X){if(typeof document>"u")return;let K=[`${$}=${encodeURIComponent(Y)}`];if(J.isNumber(Q))K.push(`expires=${new Date(Q).toUTCString()}`);if(J.isString(G))K.push(`path=${G}`);if(J.isString(W))K.push(`domain=${W}`);if(Z===!0)K.push("secure");if(J.isString(X))K.push(`SameSite=${X}`);document.cookie=K.join("; ")},read($){if(typeof document>"u")return null;let Y=document.cookie.split(";");for(let Q=0;Q<Y.length;Q++){let G=Y[Q].replace(/^\s+/,""),W=G.indexOf("=");if(W!==-1&&G.slice(0,W)===$)return decodeURIComponent(G.slice(W+1))}return null},remove($){this.write($,"",Date.now()-86400000,"/")}}:{write(){},read(){return null},remove(){}}});function X0($,Y){Y=Y||{};let Q=Object.create(null);Object.defineProperty(Q,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function G(z,N,I,B){if(J.isPlainObject(z)&&J.isPlainObject(N))return J.merge.call({caseless:B},z,N);else if(J.isPlainObject(N))return J.merge({},N);else if(J.isArray(N))return N.slice();return N}function W(z,N,I,B){if(!J.isUndefined(N))return G(z,N,I,B);else if(!J.isUndefined(z))return G(void 0,z,I,B)}function Z(z,N){if(!J.isUndefined(N))return G(void 0,N)}function X(z,N){if(!J.isUndefined(N))return G(void 0,N);else if(!J.isUndefined(z))return G(void 0,z)}function K(z,N,I){if(J.hasOwnProp(Y,I))return G(z,N);else if(J.hasOwnProp($,I))return G(void 0,z)}let M={url:Z,method:Z,data:Z,baseURL:X,transformRequest:X,transformResponse:X,paramsSerializer:X,timeout:X,timeoutMessage:X,withCredentials:X,withXSRFToken:X,adapter:X,responseType:X,xsrfCookieName:X,xsrfHeaderName:X,onUploadProgress:X,onDownloadProgress:X,decompress:X,maxContentLength:X,maxBodyLength:X,beforeRedirect:X,transport:X,httpAgent:X,httpsAgent:X,cancelToken:X,socketPath:X,allowedSocketPaths:X,responseEncoding:X,validateStatus:K,headers:(z,N,I)=>W(Z6(z),Z6(N),I,!0)};return J.forEach(Object.keys({...$,...Y}),function(N){if(N==="__proto__"||N==="constructor"||N==="prototype")return;let I=J.hasOwnProp(M,N)?M[N]:W,B=J.hasOwnProp($,N)?$[N]:void 0,F=J.hasOwnProp(Y,N)?Y[N]:void 0,D=I(B,F,N);J.isUndefined(D)&&I!==K||(Q[N]=D)}),Q}var Z6=($)=>$ instanceof x?{...$}:$;var R4=C(()=>{j();G0()});function G7($,Y,Q){if(Q!=="content-only"){$.set(Y);return}Object.entries(Y).forEach(([G,W])=>{if(Q7.includes(G.toLowerCase()))$.set(G,W)})}function Z7($){let Y=X0({},$),Q=(B)=>J.hasOwnProp(Y,B)?Y[B]:void 0,G=Q("data"),W=Q("withXSRFToken"),Z=Q("xsrfHeaderName"),X=Q("xsrfCookieName"),K=Q("headers"),M=Q("auth"),z=Q("baseURL"),N=Q("allowAbsoluteUrls"),I=Q("url");if(Y.headers=K=x.from(K),Y.url=S0(P0(z,I,N),Q("params"),Q("paramsSerializer")),M)K.set("Authorization","Basic "+btoa((M.username||"")+":"+(M.password?W7(M.password):"")));if(J.isFormData(G)){if(H.hasStandardBrowserEnv||H.hasStandardBrowserWebWorkerEnv||J.isReactNative(G))K.setContentType(void 0);else if(J.isFunction(G.getHeaders))G7(K,G.getHeaders(),Q("formDataHeaderPolicy"))}if(H.hasStandardBrowserEnv){if(J.isFunction(W))W=W(Y);if(W===!0||W==null&&Y6(Y.url)){let F=Z&&X&&G6.read(X);if(F)K.set(Z,F)}}return Y}var Q7,W7=($)=>encodeURIComponent($).replace(/%([0-9A-F]{2})/gi,(Y,Q)=>String.fromCharCode(parseInt(Q,16))),T4;var z1=C(()=>{W0();j();Q6();W6();D4();R4();G0();L4();Q7=["content-type","content-length"];T4=Z7});var X7,X6;var J6=C(()=>{j();S4();l0();r();D0();G1();W0();G0();q4();z1();u0();X7=typeof XMLHttpRequest<"u",X6=X7&&function($){return new Promise(function(Q,G){let W=T4($),Z=W.data,X=x.from(W.headers).normalize(),{responseType:K,onUploadProgress:M,onDownloadProgress:z}=W,N,I,B,F,D;function U(){F&&F(),D&&D(),W.cancelToken&&W.cancelToken.unsubscribe(N),W.signal&&W.signal.removeEventListener("abort",N)}let L=new XMLHttpRequest;L.open(W.method.toUpperCase(),W.url,!0),L.timeout=W.timeout;function w(){if(!L)return;let R=x.from("getAllResponseHeaders"in L&&L.getAllResponseHeaders()),f={data:!K||K==="text"||K==="json"?L.responseText:L.response,status:L.status,statusText:L.statusText,headers:R,config:$,request:L};z0(function(J0){Q(J0),U()},function(J0){G(J0),U()},f),L=null}if("onloadend"in L)L.onloadend=w;else L.onreadystatechange=function(){if(!L||L.readyState!==4)return;if(L.status===0&&!(L.responseURL&&L.responseURL.startsWith("file:")))return;setTimeout(w)};if(L.onabort=function(){if(!L)return;G(new V("Request aborted",V.ECONNABORTED,$,L)),U(),L=null},L.onerror=function(O){let f=O&&O.message?O.message:"Network Error",g=new V(f,V.ERR_NETWORK,$,L);g.event=O||null,G(g),U(),L=null},L.ontimeout=function(){let O=W.timeout?"timeout of "+W.timeout+"ms exceeded":"timeout exceeded",f=W.transitional||F0;if(W.timeoutErrorMessage)O=W.timeoutErrorMessage;G(new V(O,f.clarifyTimeoutError?V.ETIMEDOUT:V.ECONNABORTED,$,L)),U(),L=null},Z===void 0&&X.setContentType(null),"setRequestHeader"in L)J.forEach(A0(X),function(O,f){L.setRequestHeader(f,O)});if(!J.isUndefined(W.withCredentials))L.withCredentials=!!W.withCredentials;if(K&&K!=="json")L.responseType=W.responseType;if(z)[B,D]=V0(z,!0),L.addEventListener("progress",B);if(M&&L.upload)[I,F]=V0(M),L.upload.addEventListener("progress",I),L.upload.addEventListener("loadend",F);if(W.cancelToken||W.signal){if(N=(R)=>{if(!L)return;G(!R||R.type?new o(null,$,L):R),L.abort(),U(),L=null},W.cancelToken&&W.cancelToken.subscribe(N),W.signal)W.signal.aborted?N():W.signal.addEventListener("abort",N)}let _=Y4(W.url);if(_&&!H.protocols.includes(_)){G(new V("Unsupported protocol "+_+":",V.ERR_BAD_REQUEST,$));return}L.send(Z||null)})}});var J7=($,Y)=>{if($=$?$.filter(Boolean):[],!Y&&!$.length)return;let Q=new AbortController,G=!1,W=function(M){if(!G){G=!0,X();let z=M instanceof Error?M:this.reason;Q.abort(z instanceof V?z:new o(z instanceof Error?z.message:z))}},Z=Y&&setTimeout(()=>{Z=null,W(new V(`timeout of ${Y}ms exceeded`,V.ETIMEDOUT))},Y),X=()=>{if(!$)return;Z&&clearTimeout(Z),Z=null,$.forEach((M)=>{M.unsubscribe?M.unsubscribe(W):M.removeEventListener("abort",W)}),$=null};$.forEach((M)=>M.addEventListener("abort",W));let{signal:K}=Q;return K.unsubscribe=()=>J.asap(X),K},K6;var M6=C(()=>{D0();r();j();K6=J7});var K7=function*($,Y){let Q=$.byteLength;if(!Y||Q<Y){yield $;return}let G=0,W;while(G<Q)W=G+Y,yield $.slice(G,W),G=W},M7=async function*($,Y){for await(let Q of N7($))yield*K7(Q,Y)},N7=async function*($){if($[Symbol.asyncIterator]){yield*$;return}let Y=$.getReader();try{for(;;){let{done:Q,value:G}=await Y.read();if(Q)break;yield G}}finally{await Y.cancel()}},B1=($,Y,Q,G)=>{let W=M7($,Y),Z=0,X,K=(M)=>{if(!X)X=!0,G&&G(M)};return new ReadableStream({async pull(M){try{let{done:z,value:N}=await W.next();if(z){K(),M.close();return}let I=N.byteLength;if(Q){let B=Z+=I;Q(B)}M.enqueue(new Uint8Array(N))}catch(z){throw K(z),z}},cancel(M){return K(M),W.return()}},{highWaterMark:2})};var N6=()=>{};var z6=65536,O4,z7=($)=>encodeURIComponent($).replace(/%([0-9A-F]{2})/gi,(Y,Q)=>String.fromCharCode(parseInt(Q,16))),B6=($)=>{if(!J.isString($))return $;try{return decodeURIComponent($)}catch(Y){return $}},V6=($,...Y)=>{try{return!!$(...Y)}catch(Q){return!1}},B7=($)=>{let Y=$.indexOf("://"),Q=$;if(Y!==-1)Q=Q.slice(Y+3);return Q.includes("@")||Q.includes(":")},V7=($)=>{let Y=J.global!==void 0&&J.global!==null?J.global:globalThis,{ReadableStream:Q,TextEncoder:G}=Y;$=J.merge.call({skipUndefined:!0},{Request:Y.Request,Response:Y.Response},$);let{fetch:W,Request:Z,Response:X}=$,K=W?O4(W):typeof fetch==="function",M=O4(Z),z=O4(X);if(!K)return!1;let N=K&&O4(Q),I=K&&(typeof G==="function"?((w)=>(_)=>w.encode(_))(new G):async(w)=>new Uint8Array(await new Z(w).arrayBuffer())),B=M&&N&&V6(()=>{let w=!1,_=new Z(H.origin,{body:new Q,method:"POST",get duplex(){return w=!0,"half"}}),R=_.headers.has("Content-Type");if(_.body!=null)_.body.cancel();return w&&!R}),F=z&&N&&V6(()=>J.isReadableStream(new X("").body)),D={stream:F&&((w)=>w.body)};K&&(()=>{["text","arrayBuffer","blob","formData","stream"].forEach((w)=>{!D[w]&&(D[w]=(_,R)=>{let O=_&&_[w];if(O)return O.call(_);throw new V(`Response type '${w}' is not supported`,V.ERR_NOT_SUPPORT,R)})})})();let U=async(w)=>{if(w==null)return 0;if(J.isBlob(w))return w.size;if(J.isSpecCompliantForm(w))return(await new Z(H.origin,{method:"POST",body:w}).arrayBuffer()).byteLength;if(J.isArrayBufferView(w)||J.isArrayBuffer(w))return w.byteLength;if(J.isURLSearchParams(w))w=w+"";if(J.isString(w))return(await I(w)).byteLength},L=async(w,_)=>{let R=J.toFiniteNumber(w.getContentLength());return R==null?U(_):R};return async(w)=>{let{url:_,method:R,data:O,signal:f,cancelToken:g,timeout:J0,onDownloadProgress:y0,onUploadProgress:C0,responseType:Y0,headers:k,withCredentials:K0="same-origin",fetchOptions:d,maxContentLength:n,maxBodyLength:L0}=T4(w),M0=J.isNumber(n)&&n>-1,R0=J.isNumber(L0)&&L0>-1,T0=(E)=>J.hasOwnProp(w,E)?w[E]:void 0,J4=W||fetch;Y0=Y0?(Y0+"").toLowerCase():"text";let c=K6([f,g&&g.toAbortSignal()],J0),p=null,N0=c&&c.unsubscribe&&(()=>{c.unsubscribe()}),m;try{let E=void 0,l=T0("auth");if(l){let P=l.username||"",A=l.password||"";E={username:P,password:A}}if(B7(_)){let P=new URL(_,H.origin);if(!E&&(P.username||P.password)){let A=B6(P.username),T=B6(P.password);E={username:A,password:T}}if(P.username||P.password)P.username="",P.password="",_=P.href}if(E)k.delete("authorization"),k.set("Authorization","Basic "+btoa(z7((E.username||"")+":"+(E.password||""))));if(M0&&typeof _==="string"&&_.startsWith("data:")){if(G4(_)>n)throw new V("maxContentLength size of "+n+" exceeded",V.ERR_BAD_RESPONSE,w,p)}if(R0&&R!=="get"&&R!=="head"){let P=await L(k,O);if(typeof P==="number"&&isFinite(P)&&P>L0)throw new V("Request body larger than maxBodyLength limit",V.ERR_BAD_REQUEST,w,p)}if(C0&&B&&R!=="get"&&R!=="head"&&(m=await L(k,O))!==0){let P=new Z(_,{method:"POST",body:O,duplex:"half"}),A;if(J.isFormData(O)&&(A=P.headers.get("content-type")))k.setContentType(A);if(P.body){let[T,b]=b0(m,V0(v0(C0)));O=B1(P.body,z6,T,b)}}if(!J.isString(K0))K0=K0?"include":"omit";let K4=M&&"credentials"in Z.prototype;if(J.isFormData(O)){let P=k.getContentType();if(P&&/^multipart\/form-data/i.test(P)&&!/boundary=/i.test(P))k.delete("content-type")}k.set("User-Agent","axios/"+B0,!1);let O0={...d,signal:c,method:R.toUpperCase(),headers:A0(k.normalize()),body:O,duplex:"half",credentials:K4?K0:void 0};p=M&&new Z(_,O0);let a=await(M?J4(p,d):J4(_,O0));if(M0){let P=J.toFiniteNumber(a.headers.get("content-length"));if(P!=null&&P>n)throw new V("maxContentLength size of "+n+" exceeded",V.ERR_BAD_RESPONSE,w,p)}let q=F&&(Y0==="stream"||Y0==="response");if(F&&a.body&&(y0||M0||q&&N0)){let P={};["status","statusText","headers"].forEach((e)=>{P[e]=a[e]});let A=J.toFiniteNumber(a.headers.get("content-length")),[T,b]=y0&&b0(A,V0(v0(y0),!0))||[],i=0,v=(e)=>{if(M0){if(i=e,i>n)throw new V("maxContentLength size of "+n+" exceeded",V.ERR_BAD_RESPONSE,w,p)}T&&T(e)};a=new X(B1(a.body,z6,v,()=>{b&&b(),N0&&N0()}),P)}Y0=Y0||"text";let S=await D[J.findKey(D,Y0)||"text"](a,w);if(M0&&!F&&!q){let P;if(S!=null){if(typeof S.byteLength==="number")P=S.byteLength;else if(typeof S.size==="number")P=S.size;else if(typeof S==="string")P=typeof G==="function"?new G().encode(S).byteLength:S.length}if(typeof P==="number"&&P>n)throw new V("maxContentLength size of "+n+" exceeded",V.ERR_BAD_RESPONSE,w,p)}return!q&&N0&&N0(),await new Promise((P,A)=>{z0(P,A,{data:S,headers:x.from(a.headers),status:a.status,statusText:a.statusText,config:w,request:p})})}catch(E){if(N0&&N0(),c&&c.aborted&&c.reason instanceof V){let l=c.reason;throw l.config=w,p&&(l.request=p),E!==l&&(l.cause=E),l}if(E&&E.name==="TypeError"&&/Load failed|fetch/i.test(E.message))throw Object.assign(new V("Network Error",V.ERR_NETWORK,w,p,E&&E.response),{cause:E.cause||E});throw V.from(E,E&&E.code,w,p,E&&E.response)}}},I7,V1=($)=>{let Y=$&&$.env||{},{fetch:Q,Request:G,Response:W}=Y,Z=[G,W,Q],X=Z.length,K=X,M,z,N=I7;while(K--)M=Z[K],z=N.get(M),z===void 0&&N.set(M,z=K?new Map:V7(Y)),N=z;return z},kQ;var I6=C(()=>{W0();j();r();M6();N6();G0();q4();z1();S4();M1();$4();u0();({isFunction:O4}=J),I7=new Map,kQ=V1()});function U7($,Y){$=J.isArray($)?$:[$];let{length:Q}=$,G,W,Z={};for(let X=0;X<Q;X++){G=$[X];let K;if(W=G,!L7(G)){if(W=I1[(K=String(G)).toLowerCase()],W===void 0)throw new V(`Unknown adapter '${K}'`)}if(W&&(J.isFunction(W)||(W=W.get(Y))))break;Z[K||"#"+X]=W}if(!W){let X=Object.entries(Z).map(([M,z])=>`adapter ${M} `+(z===!1?"is not supported by the environment":"is not available in the build")),K=Q?X.length>1?`since :
|
|
12
|
-
`+X.map(F6).join(`
|
|
13
|
-
`):" "+F6(X[0]):"as no adapter specified";throw new V("There is no suitable adapter to dispatch the request "+K,"ERR_NOT_SUPPORT")}return W}var I1,F6=($)=>`- ${$}`,L7=($)=>J.isFunction($)||$===null||$===!1,H4;var F1=C(()=>{j();$6();J6();I6();r();I1={http:e5,xhr:X6,fetch:{get:V1}};J.forEach(I1,($,Y)=>{if($){try{Object.defineProperty($,"name",{__proto__:null,value:Y})}catch(Q){}Object.defineProperty($,"adapterName",{__proto__:null,value:Y})}});H4={getAdapter:U7,adapters:I1}});function L1($){if($.cancelToken)$.cancelToken.throwIfRequested();if($.signal&&$.signal.aborted)throw new o(null,$)}function E4($){if(L1($),$.headers=x.from($.headers),$.data=i0.call($,$.transformRequest),["post","put","patch"].indexOf($.method)!==-1)$.headers.setContentType("application/x-www-form-urlencoded",!1);return H4.getAdapter($.adapter||k0.adapter,$)($).then(function(G){L1($),$.response=G;try{G.data=i0.call($,$.transformResponse,G)}finally{delete $.response}return G.headers=x.from(G.headers),G},function(G){if(!n0(G)){if(L1($),G&&G.response){$.response=G.response;try{G.response.data=i0.call($,$.transformResponse,G.response)}finally{delete $.response}G.response.headers=x.from(G.response.headers)}}return Promise.reject(G)})}var L6=C(()=>{o1();a4();w4();D0();G0();F1()});function w7($,Y,Q){if(typeof $!=="object")throw new V("options must be an object",V.ERR_BAD_OPTION_VALUE);let G=Object.keys($),W=G.length;while(W-- >0){let Z=G[W],X=Object.prototype.hasOwnProperty.call(Y,Z)?Y[Z]:void 0;if(X){let K=$[Z],M=K===void 0||X(K,Z,$);if(M!==!0)throw new V("option "+Z+" must be "+M,V.ERR_BAD_OPTION_VALUE);continue}if(Q!==!0)throw new V("Unknown option "+Z,V.ERR_BAD_OPTION)}}var A4,U6,W4;var w6=C(()=>{$4();r();A4={};["object","boolean","number","function","string","symbol"].forEach(($,Y)=>{A4[$]=function(G){return typeof G===$||"a"+(Y<1?"n ":" ")+$}});U6={};A4.transitional=function(Y,Q,G){function W(Z,X){return"[Axios v"+B0+"] Transitional option '"+Z+"'"+X+(G?". "+G:"")}return(Z,X,K)=>{if(Y===!1)throw new V(W(X," has been removed"+(Q?" in "+Q:"")),V.ERR_DEPRECATED);if(Q&&!U6[X])U6[X]=!0,console.warn(W(X," has been deprecated since v"+Q+" and will be removed in the near future"));return Y?Y(Z,X,K):!0}};A4.spelling=function(Y){return(Q,G)=>{return console.warn(`${G} is likely a misspelling of ${Y}`),!0}};W4={assertOptions:w7,validators:A4}});class Z4{constructor($){this.defaults=$||{},this.interceptors={request:new g4,response:new g4}}async request($,Y){try{return await this._request($,Y)}catch(Q){if(Q instanceof Error){let G={};Error.captureStackTrace?Error.captureStackTrace(G):G=Error();let W=(()=>{if(!G.stack)return"";let Z=G.stack.indexOf(`
|
|
14
|
-
`);return Z===-1?"":G.stack.slice(Z+1)})();try{if(!Q.stack)Q.stack=W;else if(W){let Z=W.indexOf(`
|
|
15
|
-
`),X=Z===-1?-1:W.indexOf(`
|
|
16
|
-
`,Z+1),K=X===-1?"":W.slice(X+1);if(!String(Q.stack).endsWith(K))Q.stack+=`
|
|
17
|
-
`+W}}catch(Z){}}throw Q}}_request($,Y){if(typeof $==="string")Y=Y||{},Y.url=$;else Y=$||{};Y=X0(this.defaults,Y);let{transitional:Q,paramsSerializer:G,headers:W}=Y;if(Q!==void 0)W4.assertOptions(Q,{silentJSONParsing:s.transitional(s.boolean),forcedJSONParsing:s.transitional(s.boolean),clarifyTimeoutError:s.transitional(s.boolean),legacyInterceptorReqResOrdering:s.transitional(s.boolean),advertiseZstdAcceptEncoding:s.transitional(s.boolean)},!1);if(G!=null)if(J.isFunction(G))Y.paramsSerializer={serialize:G};else W4.assertOptions(G,{encode:s.function,serialize:s.function},!0);if(Y.allowAbsoluteUrls!==void 0);else if(this.defaults.allowAbsoluteUrls!==void 0)Y.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls;else Y.allowAbsoluteUrls=!0;W4.assertOptions(Y,{baseUrl:s.spelling("baseURL"),withXsrfToken:s.spelling("withXSRFToken")},!0),Y.method=(Y.method||this.defaults.method||"get").toLowerCase();let Z=W&&J.merge(W.common,W[Y.method]);W&&J.forEach(["delete","get","head","post","put","patch","query","common"],(F)=>{delete W[F]}),Y.headers=x.concat(Z,W);let X=[],K=!0;this.interceptors.request.forEach(function(D){if(typeof D.runWhen==="function"&&D.runWhen(Y)===!1)return;K=K&&D.synchronous;let U=Y.transitional||F0;if(U&&U.legacyInterceptorReqResOrdering)X.unshift(D.fulfilled,D.rejected);else X.push(D.fulfilled,D.rejected)});let M=[];this.interceptors.response.forEach(function(D){M.push(D.fulfilled,D.rejected)});let z,N=0,I;if(!K){let F=[E4.bind(this),void 0];F.unshift(...X),F.push(...M),I=F.length,z=Promise.resolve(Y);while(N<I)z=z.then(F[N++],F[N++]);return z}I=X.length;let B=Y;while(N<I){let F=X[N++],D=X[N++];try{B=F(B)}catch(U){D.call(this,U);break}}try{z=E4.call(this,B)}catch(F){return Promise.reject(F)}N=0,I=M.length;while(N<I)z=z.then(M[N++],M[N++]);return z}getUri($){$=X0(this.defaults,$);let Y=P0($.baseURL,$.url,$.allowAbsoluteUrls);return S0(Y,$.params,$.paramsSerializer)}}var s,X4;var S6=C(()=>{j();L4();c1();L6();R4();D4();w6();G0();l0();s=W4.validators;J.forEach(["delete","get","head","options"],function(Y){Z4.prototype[Y]=function(Q,G){return this.request(X0(G||{},{method:Y,url:Q,data:(G||{}).data}))}});J.forEach(["post","put","patch","query"],function(Y){function Q(G){return function(Z,X,K){return this.request(X0(K||{},{method:Y,headers:G?{"Content-Type":"multipart/form-data"}:{},url:Z,data:X}))}}if(Z4.prototype[Y]=Q(),Y!=="query")Z4.prototype[Y+"Form"]=Q(!0)});X4=Z4});class U1{constructor($){if(typeof $!=="function")throw TypeError("executor must be a function.");let Y;this.promise=new Promise(function(W){Y=W});let Q=this;this.promise.then((G)=>{if(!Q._listeners)return;let W=Q._listeners.length;while(W-- >0)Q._listeners[W](G);Q._listeners=null}),this.promise.then=(G)=>{let W,Z=new Promise((X)=>{Q.subscribe(X),W=X}).then(G);return Z.cancel=function(){Q.unsubscribe(W)},Z},$(function(W,Z,X){if(Q.reason)return;Q.reason=new o(W,Z,X),Y(Q.reason)})}throwIfRequested(){if(this.reason)throw this.reason}subscribe($){if(this.reason){$(this.reason);return}if(this._listeners)this._listeners.push($);else this._listeners=[$]}unsubscribe($){if(!this._listeners)return;let Y=this._listeners.indexOf($);if(Y!==-1)this._listeners.splice(Y,1)}toAbortSignal(){let $=new AbortController,Y=(Q)=>{$.abort(Q)};return this.subscribe(Y),$.signal.unsubscribe=()=>this.unsubscribe(Y),$.signal}static source(){let $;return{token:new U1(function(G){$=G}),cancel:$}}}var D6;var P6=C(()=>{D0();D6=U1});function w1($){return function(Q){return $.apply(null,Q)}}var _6=()=>{};function S1($){return J.isObject($)&&$.isAxiosError===!0}var q6=C(()=>{j()});var D1,C6;var R6=C(()=>{D1={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(D1).forEach(([$,Y])=>{D1[Y]=$});C6=D1});function T6($){let Y=new X4($),Q=f0(X4.prototype.request,Y);return J.extend(Q,X4.prototype,Y,{allOwnKeys:!0}),J.extend(Q,Y,null,{allOwnKeys:!0}),Q.create=function(W){return T6(X0($,W))},Q}var y,O6;var H6=C(()=>{j();j4();S6();R4();w4();i4();D0();P6();a4();$4();p0();r();_6();q6();G0();F1();R6();y=T6(k0);y.Axios=X4;y.CanceledError=o;y.CancelToken=D6;y.isCancel=n0;y.VERSION=B0;y.toFormData=I0;y.AxiosError=V;y.Cancel=y.CanceledError;y.all=function(Y){return Promise.all(Y)};y.spread=w1;y.isAxiosError=S1;y.mergeConfig=X0;y.AxiosHeaders=x;y.formToJSON=($)=>U4(J.isHTMLForm($)?new FormData($):$);y.getAdapter=H4.getAdapter;y.HttpStatusCode=C6;y.default=y;O6=y});var EG,AG,jG,kG,xG,bG,vG,yG,mG,fG,hG,gG,uG,dG,cG,pG,lG;var S7=C(()=>{H6();({Axios:EG,AxiosError:AG,CanceledError:jG,isCancel:kG,CancelToken:xG,VERSION:bG,all:vG,Cancel:yG,isAxiosError:mG,spread:fG,toFormData:hG,AxiosHeaders:gG,HttpStatusCode:uG,formToJSON:dG,getAdapter:cG,mergeConfig:pG,create:lG}=O6)});
|
|
18
|
-
export{O6 as soa,EG as toa,AG as uoa,jG as voa,kG as woa,xG as xoa,bG as yoa,vG as zoa,yG as Aoa,mG as Boa,fG as Coa,hG as Doa,gG as Eoa,uG as Foa,dG as Goa,cG as Hoa,pG as Ioa,lG as Joa,S7 as Koa};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{RW as u2,RY as e2,_W as Z,kY as Y,mY as u}from"./cli-0.6.1-j8nqjtw2.mjs";import{p0 as t,q0 as o,r0 as U}from"./cli-0.6.1-7mnw60rd.mjs";import{s_ as X,u_ as j}from"./cli-0.6.1-ybch0rz5.mjs";import{dpa as s}from"./cli-0.6.1-9pfc6b63.mjs";e2();j();U();var Q=s(u2(),1),K=58;function c2(){let l=Q.c(35),[e]=Z();if(X.terminal==="Apple_Terminal"){let c;if(l[0]!==e)c=t(t2,{theme:e,welcomeMessage:"Welcome to Claude Code"}),l[0]=e,l[1]=c;else c=l[1];return c}if(["light","light-daltonized","light-ansi"].includes(e)){let c,R,k,p,A,a,I,i,M;if(l[2]===Symbol.for("react.memo_cache_sentinel"))c=o(u,{children:[o(u,{color:"claude",children:["Welcome to Claudin"," "]}),o(u,{dimColor:!0,children:["v","0.6.1"," "]})]}),R=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),k=t(u,{children:" "}),p=t(u,{children:" "}),A=t(u,{children:" "}),a=t(u,{children:" ░░░░░░ "}),I=t(u,{children:" ░░░ ░░░░░░░░░░ "}),i=t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),M=t(u,{children:" "}),l[2]=c,l[3]=R,l[4]=k,l[5]=p,l[6]=A,l[7]=a,l[8]=I,l[9]=i,l[10]=M;else c=l[2],R=l[3],k=l[4],p=l[5],A=l[6],a=l[7],I=l[8],i=l[9],M=l[10];let V;if(l[11]===Symbol.for("react.memo_cache_sentinel"))V=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░"}),t(u,{children:" ██ "})]}),l[11]=V;else V=l[11];let E,N;if(l[12]===Symbol.for("react.memo_cache_sentinel"))E=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░░░░░░░"}),t(u,{children:" ██▒▒██ "})]}),N=t(u,{children:" ▒▒ ██ ▒"}),l[12]=E,l[13]=N;else E=l[12],N=l[13];let W;if(l[14]===Symbol.for("react.memo_cache_sentinel"))W=o(u,{children:[" ",t(u,{color:"clawd_body",children:" █████████ "})," ▒▒░░▒▒ ▒ ▒▒"]}),l[14]=W;else W=l[14];let L;if(l[15]===Symbol.for("react.memo_cache_sentinel"))L=o(u,{children:[" ",t(u,{color:"clawd_body",backgroundColor:"clawd_background",children:"██▄█████▄██"})," ▒▒ ▒▒ "]}),l[15]=L;else L=l[15];let v;if(l[16]===Symbol.for("react.memo_cache_sentinel"))v=o(u,{children:[" ",t(u,{color:"clawd_body",children:" █████████ "})," ░ ▒ "]}),l[16]=v;else v=l[16];let B;if(l[17]===Symbol.for("react.memo_cache_sentinel"))B=t(Y,{width:K,children:o(u,{children:[c,R,k,p,A,a,I,i,M,V,E,N,W,L,v,o(u,{children:["…………………",t(u,{color:"clawd_body",children:"█ █ █ █"}),"……………………………………………………………………░…………………………▒…………"]})]})}),l[17]=B;else B=l[17];return B}let D,r,P,T,d,m,n;if(l[18]===Symbol.for("react.memo_cache_sentinel"))D=o(u,{children:[o(u,{color:"claude",children:["Welcome to Claudin"," "]}),o(u,{dimColor:!0,children:["v","0.6.1"," "]})]}),r=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),P=t(u,{children:" "}),T=t(u,{children:" * █████▓▓░ "}),d=t(u,{children:" * ███▓░ ░░ "}),m=t(u,{children:" ░░░░░░ ███▓░ "}),n=t(u,{children:" ░░░ ░░░░░░░░░░ ███▓░ "}),l[18]=D,l[19]=r,l[20]=P,l[21]=T,l[22]=d,l[23]=m,l[24]=n;else D=l[18],r=l[19],P=l[20],T=l[21],d=l[22],m=l[23],n=l[24];let b,f,_,y,h;if(l[25]===Symbol.for("react.memo_cache_sentinel"))_=o(u,{children:[t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),t(u,{bold:!0,children:"*"}),t(u,{children:" ██▓░░ ▓ "})]}),y=t(u,{children:" ░▓▓███▓▓░ "}),h=t(u,{dimColor:!0,children:" * ░░░░ "}),b=t(u,{dimColor:!0,children:" ░░░░░░░░ "}),f=t(u,{dimColor:!0,children:" ░░░░░░░░░░░░░░░░ "}),l[25]=b,l[26]=f,l[27]=_,l[28]=y,l[29]=h;else b=l[25],f=l[26],_=l[27],y=l[28],h=l[29];let C;if(l[30]===Symbol.for("react.memo_cache_sentinel"))C=t(u,{color:"clawd_body",children:" █████████ "}),l[30]=C;else C=l[30];let S;if(l[31]===Symbol.for("react.memo_cache_sentinel"))S=o(u,{children:[" ",C," ",t(u,{dimColor:!0,children:"*"}),t(u,{children:" "})]}),l[31]=S;else S=l[31];let w;if(l[32]===Symbol.for("react.memo_cache_sentinel"))w=o(u,{children:[" ",t(u,{color:"clawd_body",children:"██▄█████▄██"}),t(u,{children:" "}),t(u,{bold:!0,children:"*"}),t(u,{children:" "})]}),l[32]=w;else w=l[32];let g;if(l[33]===Symbol.for("react.memo_cache_sentinel"))g=o(u,{children:[" ",t(u,{color:"clawd_body",children:" █████████ "})," * "]}),l[33]=g;else g=l[33];let O;if(l[34]===Symbol.for("react.memo_cache_sentinel"))O=t(Y,{width:K,children:o(u,{children:[D,r,P,T,d,m,n,_,y,h,b,f,S,w,g,o(u,{children:["…………………",t(u,{color:"clawd_body",children:"█ █ █ █"}),"………………………………………………………………………………………………………………"]})]})}),l[34]=O;else O=l[34];return O}function t2(l){let e=Q.c(44),{theme:D,welcomeMessage:r}=l;if(["light","light-daltonized","light-ansi"].includes(D)){let a;if(e[0]!==r)a=o(u,{color:"claude",children:[r," "]}),e[0]=r,e[1]=a;else a=e[1];let I;if(e[2]===Symbol.for("react.memo_cache_sentinel"))I=o(u,{dimColor:!0,children:["v","0.6.1"," "]}),e[2]=I;else I=e[2];let i;if(e[3]!==a)i=o(u,{children:[a,I]}),e[3]=a,e[4]=i;else i=e[4];let M,V,E,N,W,L,v,B;if(e[5]===Symbol.for("react.memo_cache_sentinel"))E=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),N=t(u,{children:" "}),W=t(u,{children:" "}),L=t(u,{children:" "}),v=t(u,{children:" ░░░░░░ "}),B=t(u,{children:" ░░░ ░░░░░░░░░░ "}),M=t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),V=t(u,{children:" "}),e[5]=M,e[6]=V,e[7]=E,e[8]=N,e[9]=W,e[10]=L,e[11]=v,e[12]=B;else M=e[5],V=e[6],E=e[7],N=e[8],W=e[9],L=e[10],v=e[11],B=e[12];let z;if(e[13]===Symbol.for("react.memo_cache_sentinel"))z=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░"}),t(u,{children:" ██ "})]}),e[13]=z;else z=e[13];let $,x,H;if(e[14]===Symbol.for("react.memo_cache_sentinel"))$=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░░░░░░░"}),t(u,{children:" ██▒▒██ "})]}),x=t(u,{children:" ▒▒ ██ ▒"}),H=t(u,{children:" ▒▒░░▒▒ ▒ ▒▒"}),e[14]=$,e[15]=x,e[16]=H;else $=e[14],x=e[15],H=e[16];let q;if(e[17]===Symbol.for("react.memo_cache_sentinel"))q=o(u,{children:[" ",t(u,{color:"clawd_body",children:"▗"}),o(u,{color:"clawd_background",backgroundColor:"clawd_body",children:[" ","▗"," ","▖"," "]}),t(u,{color:"clawd_body",children:"▖"})," ▒▒ ▒▒ "]}),e[17]=q;else q=e[17];let F;if(e[18]===Symbol.for("react.memo_cache_sentinel"))F=o(u,{children:[" ",t(u,{backgroundColor:"clawd_body",children:" ".repeat(9)})," ░ ▒ "]}),e[18]=F;else F=e[18];let G;if(e[19]===Symbol.for("react.memo_cache_sentinel"))G=o(u,{children:["…………………",t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),"……………………………………………………………………░…………………………▒…………"]}),e[19]=G;else G=e[19];let J;if(e[20]!==i)J=t(Y,{width:K,children:o(u,{children:[i,E,N,W,L,v,B,M,V,z,$,x,H,q,F,G]})}),e[20]=i,e[21]=J;else J=e[21];return J}let T;if(e[22]!==r)T=o(u,{color:"claude",children:[r," "]}),e[22]=r,e[23]=T;else T=e[23];let d;if(e[24]===Symbol.for("react.memo_cache_sentinel"))d=o(u,{dimColor:!0,children:["v","0.6.1"," "]}),e[24]=d;else d=e[24];let m;if(e[25]!==T)m=o(u,{children:[T,d]}),e[25]=T,e[26]=m;else m=e[26];let n,b,f,_,y,h;if(e[27]===Symbol.for("react.memo_cache_sentinel"))n=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),b=t(u,{children:" "}),f=t(u,{children:" * █████▓▓░ "}),_=t(u,{children:" * ███▓░ ░░ "}),y=t(u,{children:" ░░░░░░ ███▓░ "}),h=t(u,{children:" ░░░ ░░░░░░░░░░ ███▓░ "}),e[27]=n,e[28]=b,e[29]=f,e[30]=_,e[31]=y,e[32]=h;else n=e[27],b=e[28],f=e[29],_=e[30],y=e[31],h=e[32];let C,S,w,g,O;if(e[33]===Symbol.for("react.memo_cache_sentinel"))C=o(u,{children:[t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),t(u,{bold:!0,children:"*"}),t(u,{children:" ██▓░░ ▓ "})]}),S=t(u,{children:" ░▓▓███▓▓░ "}),w=t(u,{dimColor:!0,children:" * ░░░░ "}),g=t(u,{dimColor:!0,children:" ░░░░░░░░ "}),O=t(u,{dimColor:!0,children:" ░░░░░░░░░░░░░░░░ "}),e[33]=C,e[34]=S,e[35]=w,e[36]=g,e[37]=O;else C=e[33],S=e[34],w=e[35],g=e[36],O=e[37];let c;if(e[38]===Symbol.for("react.memo_cache_sentinel"))c=o(u,{children:[" ",t(u,{dimColor:!0,children:"*"}),t(u,{children:" "})]}),e[38]=c;else c=e[38];let R;if(e[39]===Symbol.for("react.memo_cache_sentinel"))R=o(u,{children:[" ",t(u,{color:"clawd_body",children:"▗"}),o(u,{color:"clawd_background",backgroundColor:"clawd_body",children:[" ","▗"," ","▖"," "]}),t(u,{color:"clawd_body",children:"▖"}),t(u,{children:" "}),t(u,{bold:!0,children:"*"}),t(u,{children:" "})]}),e[39]=R;else R=e[39];let k;if(e[40]===Symbol.for("react.memo_cache_sentinel"))k=o(u,{children:[" ",t(u,{backgroundColor:"clawd_body",children:" ".repeat(9)})," * "]}),e[40]=k;else k=e[40];let p;if(e[41]===Symbol.for("react.memo_cache_sentinel"))p=o(u,{children:["…………………",t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),"………………………………………………………………………………………………………………"]}),e[41]=p;else p=e[41];let A;if(e[42]!==m)A=t(Y,{width:K,children:o(u,{children:[m,n,b,f,_,y,h,C,S,w,g,O,c,R,k,p]})}),e[42]=m,e[43]=A;else A=e[43];return A}
|
|
2
|
-
export{c2 as ea};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import{RY as IT,iY as X,oY as JT,pY as ST}from"./cli-0.6.1-j8nqjtw2.mjs";import{s5 as K,t5 as VT}from"./cli-0.6.1-xpqybxb3.mjs";import{Ada as H,Gba as z,I9 as s,Ida as n,Jba as V,K8 as BT,L8 as _T,N7 as Y,O9 as XT,P7 as o,Pba as l,Qba as d,S9 as FT,V9 as qT,W9 as OT,cca as D,iba as f,kba as YT,s_ as Q,u_ as UT}from"./cli-0.6.1-ybch0rz5.mjs";import{ofa as E,pfa as QT}from"./cli-0.6.1-syhvjk64.mjs";import{Jga as GT,Kga as $T,Oga as zT,Sga as P,Wga as KT}from"./cli-0.6.1-2wfbdh6y.mjs";import{Dha as u,Fha as LT}from"./cli-0.6.1-qsq2xg3g.mjs";import{Xna as r,Yna as ZT}from"./cli-0.6.1-0bqe4byy.mjs";import{hpa as I}from"./cli-0.6.1-9pfc6b63.mjs";function m(){let T=f(E(),P().existsSync)!==null,w=s(E());return[{key:"workspace",text:"Ask Claude to create a new app or clone a repository",isComplete:!1,isCompletable:!0,isEnabled:w},{key:"claudemd",text:"Set up repo instructions (/init creates AGENTS.md or updates existing CLAUDE.md; either file counts)",isComplete:T,isCompletable:!0,isEnabled:!w}]}function M(){return m().filter(({isCompletable:T,isEnabled:w})=>T&&w).every(({isComplete:T})=>T)}var k=I(()=>{QT();XT();KT();YT()});function a(){if(l().hasCompletedProjectOnboarding)return;if(M())d((T)=>({...T,hasCompletedProjectOnboarding:!0}))}var fT;var h=I(()=>{ZT();D();k();k();fT=r(()=>{let T=l();if(T.hasCompletedProjectOnboarding||T.projectOnboardingSeenCount>=4||process.env.IS_DEMO)return!1;return!M()})});import{stat as i}from"fs/promises";import{homedir as xT}from"os";import{join as HT}from"path";function RT(T){z((w)=>({...w,appleTerminalSetupInProgress:!0,appleTerminalBackupPath:T}))}function L(){z((T)=>({...T,appleTerminalSetupInProgress:!1}))}function WT(){let T=V();return{inProgress:T.appleTerminalSetupInProgress??!1,backupPath:T.appleTerminalBackupPath||null}}function _(){return HT(xT(),"Library","Preferences","com.apple.Terminal.plist")}async function t(){let T=_(),w=`${T}.bak`;try{let{code:v}=await Y("defaults",["export","com.apple.Terminal",T]);if(v!==0)return null;try{await i(T)}catch{return null}return await Y("defaults",["export","com.apple.Terminal",w]),RT(w),w}catch(v){return H(v),null}}async function e(){let{inProgress:T,backupPath:w}=WT();if(!T)return{status:"no_backup"};if(!w)return L(),{status:"no_backup"};try{await i(w)}catch{return L(),{status:"no_backup"}}try{let{code:v}=await Y("defaults",["import","com.apple.Terminal",w]);if(v!==0)return{status:"failed",backupPath:w};return await Y("killall",["cfprefsd"]),L(),{status:"restored"}}catch(v){return H(Error(`Failed to restore Terminal.app settings with: ${v}`)),L(),{status:"failed",backupPath:w}}}var TT=I(()=>{D();o();n()});import{randomBytes as y}from"crypto";import{copyFile as N,mkdir as c,readFile as p,writeFile as C}from"fs/promises";import{homedir as g,platform as A}from"os";import{dirname as MT,join as R}from"path";import{pathToFileURL as AT}from"url";function jT(){let T=process.env.VSCODE_GIT_ASKPASS_MAIN??"",w=process.env.PATH??"";return T.includes(".vscode-server")||T.includes(".cursor-server")||T.includes(".windsurf-server")||w.includes(".vscode-server")||w.includes(".cursor-server")||w.includes(".windsurf-server")}function Ww(){if(!Q.terminal||!(Q.terminal in j))return null;return j[Q.terminal]??null}function Z(T){if(!JT())return T;return`\x1B]8;;${AT(T).href}\x07${T}\x1B]8;;\x07`}function uT(){return A()==="darwin"&&Q.terminal==="Apple_Terminal"||Q.terminal==="vscode"||Q.terminal==="cursor"||Q.terminal==="windsurf"||Q.terminal==="alacritty"||Q.terminal==="zed"}async function ET(T){let w="";switch(Q.terminal){case"Apple_Terminal":w=await kT(T);break;case"vscode":w=await b("VSCode",T);break;case"cursor":w=await b("Cursor",T);break;case"windsurf":w=await b("Windsurf",T);break;case"alacritty":w=await lT(T);break;case"zed":w=await DT(T);break;case null:break}return z((v)=>{if(["vscode","cursor","windsurf","alacritty","zed"].includes(Q.terminal??"")){if(v.shiftEnterKeyBindingInstalled===!0)return v;return{...v,shiftEnterKeyBindingInstalled:!0}}else if(Q.terminal==="Apple_Terminal"){if(v.optionAsMetaKeyInstalled===!0)return v;return{...v,optionAsMetaKeyInstalled:!0}}return v}),a(),w}function Lw(){return V().shiftEnterKeyBindingInstalled===!0}function zw(){return V().hasUsedBackslashReturn===!0}function Vw(){if(!V().hasUsedBackslashReturn)z((w)=>({...w,hasUsedBackslashReturn:!0}))}async function _w(T,w,v){if(Q.terminal&&Q.terminal in j){let $=`Shift+Enter is natively supported in ${j[Q.terminal]}.
|
|
2
|
-
|
|
3
|
-
No configuration needed. Just use Shift+Enter to add newlines.`;return T($),null}if(!uT()){let $=Q.terminal||"your current terminal",B=BT(),J="";if(B==="macos")J=` • macOS: Apple Terminal
|
|
4
|
-
`;else if(B==="windows")J=` • Windows: Windows Terminal
|
|
5
|
-
`;let F=`Terminal setup cannot be run from ${$}.
|
|
6
|
-
|
|
7
|
-
This command configures a convenient Shift+Enter shortcut for multi-line prompts.
|
|
8
|
-
${K.dim("Note: You can already use backslash (\\\\) + return to add newlines.")}
|
|
9
|
-
|
|
10
|
-
To set up the shortcut (optional):
|
|
11
|
-
1. Exit tmux/screen temporarily
|
|
12
|
-
2. Run /terminal-setup directly in one of these terminals:
|
|
13
|
-
${J} • IDE: VSCode, Cursor, Windsurf, Zed
|
|
14
|
-
• Other: Alacritty
|
|
15
|
-
3. Return to tmux/screen - settings will persist
|
|
16
|
-
|
|
17
|
-
${K.dim("Note: iTerm2, WezTerm, Ghostty, Kitty, and Warp support Shift+Enter natively.")}`;return T(F),null}let q=await ET(w.options.theme);return T(q),null}async function b(T="VSCode",w){if(jT())return`${X("warning",w)(`Cannot install keybindings from a remote ${T} session.`)}${G}${G}${T} keybindings must be installed on your local machine, not the remote server.${G}${G}To install the Shift+Enter keybinding:${G}1. Open ${T} on your local machine (not connected to remote)${G}2. Open the Command Palette (Cmd/Ctrl+Shift+P) → "Preferences: Open Keyboard Shortcuts (JSON)"${G}3. Add this keybinding (the file must be a JSON array):${G}${G}${K.dim(`[
|
|
18
|
-
{
|
|
19
|
-
"key": "shift+enter",
|
|
20
|
-
"command": "workbench.action.terminal.sendSequence",
|
|
21
|
-
"args": { "text": "\\u001b\\r" },
|
|
22
|
-
"when": "terminalFocus"
|
|
23
|
-
}
|
|
24
|
-
]`)}${G}`;let v=T==="VSCode"?"Code":T,q=R(g(),A()==="win32"?R("AppData","Roaming",v,"User"):A()==="darwin"?R("Library","Application Support",v,"User"):R(".config",v,"User")),$=R(q,"keybindings.json");try{await c(q,{recursive:!0});let B="[]",J=[],F=!1;try{B=await p($,{encoding:"utf-8"}),F=!0,J=FT(B)??[]}catch(x){if(!u(x))throw x}if(F){let x=y(4).toString("hex"),S=`${$}.${x}.bak`;try{await N($,S)}catch{return`${X("warning",w)(`Error backing up existing ${T} terminal keybindings. Bailing out.`)}${G}${K.dim(`See ${Z($)}`)}${G}${K.dim(`Backup path: ${Z(S)}`)}${G}`}}if(J.find((x)=>x.key==="shift+enter"&&x.command==="workbench.action.terminal.sendSequence"&&x.when==="terminalFocus"))return`${X("warning",w)(`Found existing ${T} terminal Shift+Enter key binding. Remove it to continue.`)}${G}${K.dim(`See ${Z($)}`)}${G}`;let U=qT(B,{key:"shift+enter",command:"workbench.action.terminal.sendSequence",args:{text:"\x1B\r"},when:"terminalFocus"});return await C($,U,{encoding:"utf-8"}),`${X("success",w)(`Installed ${T} terminal Shift+Enter key binding`)}${G}${K.dim(`See ${Z($)}`)}${G}`}catch(B){throw H(B),Error(`Failed to install ${T} terminal Shift+Enter key binding`)}}async function wT(T){let{code:w}=await Y("/usr/libexec/PlistBuddy",["-c",`Add :'Window Settings':'${T}':useOptionAsMetaKey bool true`,_()]);if(w!==0){let{code:v}=await Y("/usr/libexec/PlistBuddy",["-c",`Set :'Window Settings':'${T}':useOptionAsMetaKey true`,_()]);if(v!==0)return H(Error(`Failed to enable Option as Meta key for Terminal.app profile: ${T}`)),!1}return!0}async function vT(T){let{code:w}=await Y("/usr/libexec/PlistBuddy",["-c",`Add :'Window Settings':'${T}':Bell bool false`,_()]);if(w!==0){let{code:v}=await Y("/usr/libexec/PlistBuddy",["-c",`Set :'Window Settings':'${T}':Bell false`,_()]);if(v!==0)return H(Error(`Failed to disable audio bell for Terminal.app profile: ${T}`)),!1}return!0}async function kT(T){try{if(!await t())throw Error("Failed to create backup of Terminal.app preferences, bailing out");let{stdout:v,code:q}=await Y("defaults",["read","com.apple.Terminal","Default Window Settings"]);if(q!==0||!v.trim())throw Error("Failed to read default Terminal.app profile");let{stdout:$,code:B}=await Y("defaults",["read","com.apple.Terminal","Startup Window Settings"]);if(B!==0||!$.trim())throw Error("Failed to read startup Terminal.app profile");let J=!1,F=v.trim(),W=await wT(F),O=await vT(F);if(W||O)J=!0;let U=$.trim();if(U!==F){let x=await wT(U),S=await vT(U);if(x||S)J=!0}if(!J)throw Error("Failed to enable Option as Meta key or disable audio bell for any Terminal.app profile");return await Y("killall",["cfprefsd"]),L(),`${X("success",T)("Configured Terminal.app settings:")}${G}${X("success",T)('- Enabled "Use Option as Meta key"')}${G}${X("success",T)("- Switched to visual bell")}${G}${K.dim("Option+Enter will now enter a newline.")}${G}${K.dim("You must restart Terminal.app for changes to take effect.",T)}${G}`}catch(w){H(w);let v=await e(),q="Failed to enable Option as Meta key for Terminal.app.";if(v.status==="restored")throw Error(`${q} Your settings have been restored from backup.`);else if(v.status==="failed")throw Error(`${q} Restoring from backup failed, try manually with: defaults import com.apple.Terminal ${v.backupPath}`);else throw Error(`${q} No backup was available to restore from.`)}}async function lT(T){let v=[],q=process.env.XDG_CONFIG_HOME;if(q)v.push(R(q,"alacritty","alacritty.toml"));else v.push(R(g(),".config","alacritty","alacritty.toml"));if(A()==="win32"){let F=process.env.APPDATA;if(F)v.push(R(F,"alacritty","alacritty.toml"))}let $=null,B="",J=!1;for(let F of v)try{B=await p(F,{encoding:"utf-8"}),$=F,J=!0;break}catch(W){if(!u(W))throw W}if(!$)$=v[0]??null;if(!$)throw Error("No valid config path found for Alacritty");try{if(J){if(B.includes('mods = "Shift"')&&B.includes('key = "Return"'))return`${X("warning",T)("Found existing Alacritty Shift+Enter key binding. Remove it to continue.")}${G}${K.dim(`See ${Z($)}`)}${G}`;let W=y(4).toString("hex"),O=`${$}.${W}.bak`;try{await N($,O)}catch{return`${X("warning",T)("Error backing up existing Alacritty config. Bailing out.")}${G}${K.dim(`See ${Z($)}`)}${G}${K.dim(`Backup path: ${Z(O)}`)}${G}`}}else await c(MT($),{recursive:!0});let F=B;if(B&&!B.endsWith(`
|
|
25
|
-
`))F+=`
|
|
26
|
-
`;return F+=`
|
|
27
|
-
[[keyboard.bindings]]
|
|
28
|
-
key = "Return"
|
|
29
|
-
mods = "Shift"
|
|
30
|
-
chars = "\\u001B\\r"
|
|
31
|
-
`,await C($,F,{encoding:"utf-8"}),`${X("success",T)("Installed Alacritty Shift+Enter key binding")}${G}${X("success",T)("You may need to restart Alacritty for changes to take effect")}${G}${K.dim(`See ${Z($)}`)}${G}`}catch(F){throw H(F),Error("Failed to install Alacritty Shift+Enter key binding")}}async function DT(T){let w=R(g(),".config","zed"),v=R(w,"keymap.json");try{await c(w,{recursive:!0});let q="[]",$=!1;try{q=await p(v,{encoding:"utf-8"}),$=!0}catch(J){if(!u(J))throw J}if($){if(q.includes("shift-enter"))return`${X("warning",T)("Found existing Zed Shift+Enter key binding. Remove it to continue.")}${G}${K.dim(`See ${Z(v)}`)}${G}`;let J=y(4).toString("hex"),F=`${v}.${J}.bak`;try{await N(v,F)}catch{return`${X("warning",T)("Error backing up existing Zed keymap. Bailing out.")}${G}${K.dim(`See ${Z(v)}`)}${G}${K.dim(`Backup path: ${Z(F)}`)}${G}`}}let B;try{if(B=$T(q),!Array.isArray(B))B=[]}catch{B=[]}return B.push({context:"Terminal",bindings:{"shift-enter":["terminal::SendText","\x1B\r"]}}),await C(v,GT(B,null,2)+`
|
|
32
|
-
`,{encoding:"utf-8"}),`${X("success",T)("Installed Zed Shift+Enter key binding")}${G}${K.dim(`See ${Z(v)}`)}${G}`}catch(q){throw H(q),Error("Failed to install Zed Shift+Enter key binding")}}var G=`
|
|
33
|
-
`,j;var bT=I(()=>{VT();ST();IT();h();TT();D();UT();LT();o();OT();n();_T();zT();j={ghostty:"Ghostty",kitty:"Kitty","iTerm.app":"iTerm2",WezTerm:"WezTerm",WarpTerminal:"Warp"}});
|
|
34
|
-
export{a as gV,h as hV,e as iV,TT as jV,Ww as kV,uT as lV,ET as mV,Lw as nV,zw as oV,Vw as pV,_w as qV,bT as rV};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{qea as L,uea as O}from"./cli-0.6.1-1k359w9m.mjs";import{hpa as N}from"./cli-0.6.1-9pfc6b63.mjs";function S(){if(!process.stdin.isTTY||D||process.argv.includes("-p")||process.argv.includes("--print"))return;D=!0,z="";try{process.stdin.setEncoding("utf8"),process.stdin.setRawMode(!0),process.stdin.ref(),F=()=>{let q=process.stdin.read();while(q!==null){if(typeof q==="string")P(q);q=process.stdin.read()}},process.stdin.on("readable",F)}catch{D=!1}}function P(q){let w=0;while(w<q.length){let K=q[w],A=K.charCodeAt(0);if(A===3){J(),process.exit(130);return}if(A===4){J();return}if(A===127||A===8){if(z.length>0){let M=L(z);z=z.slice(0,-(M.length||1))}w++;continue}if(A===27){w++;while(w<q.length&&!(q.charCodeAt(w)>=64&&q.charCodeAt(w)<=126))w++;if(w<q.length)w++;continue}if(A<32&&A!==9&&A!==10&&A!==13){w++;continue}if(A===13){z+=`
|
|
2
|
-
`,w++;continue}z+=K,w++}}function J(){if(!D)return;if(D=!1,F)process.stdin.removeListener("readable",F),F=null}function T(){J();let q=z.trim();return z="",q}function U(){return z.trim().length>0}function V(q){z=q}function W(){return D}var z="",D=!1,F=null;var Q=N(()=>{O()});
|
|
3
|
-
export{S as SY,J as TY,T as UY,U as VY,V as WY,W as XY,Q as YY};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{K as D}from"./cli-0.6.1-jkwrn2xm.mjs";import{U as x}from"./cli-0.6.1-sq5qhzhn.mjs";import{lb as A}from"./cli-0.6.1-z11x4s9s.mjs";import{mb as L}from"./cli-0.6.1-vgj2ekm4.mjs";import{eR as b,fR as u,gn as k,hn as U,kn as F,ln as p}from"./cli-0.6.1-aw7t5zg2.mjs";import{hS as O,kS as c}from"./cli-0.6.1-1a523nkb.mjs";import{Y4 as m,h1 as Y,m1 as I,q3 as w,r3 as M,r4 as E,s4 as G}from"./cli-0.6.1-hgz08acq.mjs";import{dba as X,eba as B,lda as $,oda as z}from"./cli-0.6.1-ybch0rz5.mjs";import{ofa as _,pfa as y}from"./cli-0.6.1-syhvjk64.mjs";import{eha as K,hha as T}from"./cli-0.6.1-2wfbdh6y.mjs";import{Fha as S,yha as V}from"./cli-0.6.1-qsq2xg3g.mjs";import{Lha as J,Nha as N,Vha as v}from"./cli-0.6.1-qdytg688.mjs";import{Koa as j,soa as W}from"./cli-0.6.1-krcqab65.mjs";v();c();u();z();m();p();y();j();T();S();I();B();var C=void 0;function h(q){try{let H=new URL(q);return H.search="",H.toString().replace(/\/$/,"")}catch{return}}async function Z(){if(X())return;if(Y()!=="firstParty")return;try{let q=await W.get("https://api.anthropic.com/mcp-registry/v0/servers?version=latest&visibility=commercial",{timeout:5000}),H=new Set;for(let P of q.data.servers)for(let R of P.server.remotes??[]){let Q=h(R.url);if(Q)H.add(Q)}C=H,K(`[mcp-registry] Loaded ${H.size} official MCP URLs`)}catch(q){K(`Failed to fetch MCP registry: ${V(q)}`,{level:"error"})}}M();U();function Xq(){if(J(process.env.CLAUDE_CODE_EXIT_AFTER_FIRST_RENDER)||N())return;O(),b(),x(),A();let q=$()?.transport;if(q==="bedrock"&&!J(process.env.CLAUDE_CODE_SKIP_BEDROCK_AUTH))G();if(q==="vertex"&&!J(process.env.CLAUDE_CODE_SKIP_VERTEX_AUTH))E();if(F(_(),AbortSignal.timeout(3000),[]),D(),Z(),w(),k.initialize(),!N())L.initialize()}
|
|
2
|
-
export{Xq as I};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{La as Y}from"./cli-0.6.1-naw66kt5.mjs";import{TR as N,UR as C}from"./cli-0.6.1-7b4bmf31.mjs";import{uda as A,wda as w}from"./cli-0.6.1-ybch0rz5.mjs";import{cga as B,ega as k}from"./cli-0.6.1-vz6zhwrs.mjs";import{Kga as L,Oga as E,eha as W,hha as j}from"./cli-0.6.1-2wfbdh6y.mjs";import{Fha as K,yha as G}from"./cli-0.6.1-qsq2xg3g.mjs";k();C();import{randomUUID as O}from"crypto";j();w();K();E();function T(f){return f!==null&&typeof f==="object"&&"type"in f&&typeof f.type==="string"}function P(f){return f!==null&&typeof f==="object"&&"type"in f&&f.type==="control_response"&&"response"in f}function S(f){return f!==null&&typeof f==="object"&&"type"in f&&f.type==="control_request"&&"request_id"in f&&"request"in f}function v(f){if((f.type==="user"||f.type==="assistant")&&f.isVirtual)return!1;return f.type==="user"||f.type==="assistant"||f.type==="system"&&f.subtype==="local_command"}function q(f){if(f.type!=="user"||f.isMeta||f.toolUseResult||f.isCompactSummary)return;if(f.origin&&f.origin.kind!=="human")return;let X=f.message.content,Q;if(typeof X==="string")Q=X;else for(let Z of X)if(Z.type==="text"){Q=Z.text;break}if(!Q)return;return A(Q)||void 0}function p(f,X,Q,$,Z,z){try{let H=Y(L(f));if(P(H)){W("[bridge:repl] Ingress message type=control_response"),Z?.(H);return}if(S(H)){W(`[bridge:repl] Inbound control_request subtype=${H.request.subtype}`),z?.(H);return}if(!T(H))return;let J="uuid"in H&&typeof H.uuid==="string"?H.uuid:void 0;if(J&&X.has(J)){W(`[bridge:repl] Ignoring echo: type=${H.type} uuid=${J}`);return}if(J&&Q.has(J)){W(`[bridge:repl] Ignoring re-delivered inbound: type=${H.type} uuid=${J}`);return}if(W(`[bridge:repl] Ingress message type=${H.type}${J?` uuid=${J}`:""}`),H.type==="user"){if(J)Q.add(J);B("tengu_bridge_message_received",{is_repl:!0}),$?.(H)}else W(`[bridge:repl] Ignoring non-user inbound message: type=${H.type}`)}catch(H){W(`[bridge:repl] Failed to parse ingress message: ${G(H)}`)}}var y="This session is outbound-only. Enable Remote Control locally to allow inbound control.";function g(f,X){let{transport:Q,sessionId:$,outboundOnly:Z,onInterrupt:z,onSetModel:H,onSetMaxThinkingTokens:J,onSetPermissionMode:h}=X;if(!Q){W("[bridge:repl] Cannot respond to control_request: transport not configured");return}let V;if(Z&&f.request.subtype!=="initialize"){V={type:"control_response",response:{subtype:"error",request_id:f.request_id,error:y}};let x={...V,session_id:$};Q.write(x),W(`[bridge:repl] Rejected ${f.request.subtype} (outbound-only) request_id=${f.request_id}`);return}switch(f.request.subtype){case"initialize":V={type:"control_response",response:{subtype:"success",request_id:f.request_id,response:{commands:[],output_style:"normal",available_output_styles:["normal"],models:[],account:{},pid:process.pid}}};break;case"set_model":H?.(f.request.model),V={type:"control_response",response:{subtype:"success",request_id:f.request_id}};break;case"set_max_thinking_tokens":J?.(f.request.max_thinking_tokens),V={type:"control_response",response:{subtype:"success",request_id:f.request_id}};break;case"set_permission_mode":{let x=h?.(f.request.mode)??{ok:!1,error:"set_permission_mode is not supported in this context (onSetPermissionMode callback not registered)"};if(x.ok)V={type:"control_response",response:{subtype:"success",request_id:f.request_id}};else V={type:"control_response",response:{subtype:"error",request_id:f.request_id,error:x.error}};break}case"interrupt":z?.(),V={type:"control_response",response:{subtype:"success",request_id:f.request_id}};break;default:V={type:"control_response",response:{subtype:"error",request_id:f.request_id,error:`REPL bridge does not handle control_request subtype: ${f.request.subtype}`}}}let _={...V,session_id:$};Q.write(_),W(`[bridge:repl] Sent control_response for ${f.request.subtype} request_id=${f.request_id} result=${V.response.subtype}`)}function d(f){return{type:"result",subtype:"success",duration_ms:0,duration_api_ms:0,is_error:!1,num_turns:0,result:"",stop_reason:null,total_cost_usd:0,usage:{...N},modelUsage:{},permission_denials:[],session_id:f,uuid:O()}}class R{capacity;ring;set=new Set;writeIdx=0;constructor(f){this.capacity=f,this.ring=Array(f)}add(f){if(this.set.has(f))return;let X=this.ring[this.writeIdx];if(X!==void 0)this.set.delete(X);this.ring[this.writeIdx]=f,this.set.add(f),this.writeIdx=(this.writeIdx+1)%this.capacity}has(f){return this.set.has(f)}clear(){this.set.clear(),this.ring.fill(void 0),this.writeIdx=0}}
|
|
2
|
-
export{v as ja,q as ka,p as la,g as ma,d as na,R as oa};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{mK as Q,nK as $}from"./cli-0.6.1-aw7t5zg2.mjs";import{gia as V,hia as P,ija as W,jja as E}from"./cli-0.6.1-xk82vgbd.mjs";import{hpa as L}from"./cli-0.6.1-9pfc6b63.mjs";function Z(x,q,D,G){var H=-1,J=x==null?0:x.length;while(++H<J){var K=x[H];q(G,K,D(K),x)}return G}var M;var N=L(()=>{M=Z});function B(x,q,D,G){return Q(x,function(H,J,K){q(G,H,D(H),K)}),G}var S;var U=L(()=>{$();S=B});function I(x,q){return function(D,G){var H=V(D)?M:S,J=q?q():{};return H(D,x,W(G,2),J)}}var X;var Y=L(()=>{N();U();E();P();X=I});var R,v;var C=L(()=>{Y();R=X(function(x,q,D){x[D?0:1].push(q)},function(){return[[],[]]}),v=R});
|
|
2
|
-
export{v as Dc,C as Ec};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Gp as _,aR as z}from"./cli-0.6.1-aw7t5zg2.mjs";import{B0 as f}from"./cli-0.6.1-a7130ntd.mjs";import{T3 as k,Y4 as A,m1 as K}from"./cli-0.6.1-hgz08acq.mjs";import{I8 as T,L7 as L,Taa as v,cca as x,h_ as W}from"./cli-0.6.1-ybch0rz5.mjs";import{Nea as b,Pea as Q,Qea as q,Rea as V}from"./cli-0.6.1-je6nv7n6.mjs";import{lfa as H}from"./cli-0.6.1-v15rcvwv.mjs";import{bga as w}from"./cli-0.6.1-8fpj913g.mjs";import{ega as O}from"./cli-0.6.1-vz6zhwrs.mjs";import{Fha as U}from"./cli-0.6.1-qsq2xg3g.mjs";import{uja as X,yna as B}from"./cli-0.6.1-xk82vgbd.mjs";import{hpa as G}from"./cli-0.6.1-9pfc6b63.mjs";var Z,$;var J=G(()=>{Q();V();Z=q(()=>b.object({entries:b.record(b.string(),b.string())})),$=q(()=>b.object({userId:b.string(),version:b.number(),lastModified:b.string(),checksum:b.string(),content:Z()}))});var Y=G(()=>{B();w();A();z();x();L();U();T();K();W();v();X();k();f();H();O();_();J()});
|
|
2
|
-
export{Y as Zc};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Up as Eq,Vp as v,Wp as zJ,bq as XJ,dm as oq,dq as GJ,em as jJ,fx as kJ,gE as KJ,gx as _J,hq as cq,iE as vJ,iq as Vq,lq as YJ,lu as Cq,mq as pq,mu as wJ,ou as MJ,pm as qJ,qm as hJ,rm as JJ,sm as OJ,tm as QJ,um as FJ}from"./cli-0.6.1-aw7t5zg2.mjs";import{YU as tq,ZU as VJ}from"./cli-0.6.1-j4akqyey.mjs";import{mW as eq,nW as mJ,vW as ZJ,wW as gJ}from"./cli-0.6.1-x25mwydc.mjs";import{RW as CJ,RY as TJ,kY as H,mY as Y}from"./cli-0.6.1-j8nqjtw2.mjs";import{o0 as lq,p0 as X,q0 as K,r0 as rq}from"./cli-0.6.1-7mnw60rd.mjs";import{s0 as DJ}from"./cli-0.6.1-yjn2sk7y.mjs";import{$2 as S,B2 as NJ,D4 as HJ,E3 as rJ,Y4 as uJ,Z2 as mq,h2 as jq,i2 as fq,i3 as g,k2 as yq,l3 as Dq,p3 as yJ,w2 as sq,z3 as UJ}from"./cli-0.6.1-hgz08acq.mjs";import{B_ as _q,C_ as vq,D_ as Rq,E_ as Sq,Eaa as aq,F_ as xq,Gaa as iq,P_ as RJ,Taa as LJ}from"./cli-0.6.1-ybch0rz5.mjs";import{cga as $q,ega as bJ}from"./cli-0.6.1-vz6zhwrs.mjs";import{dpa as dq,hpa as bq}from"./cli-0.6.1-9pfc6b63.mjs";function iJ(J,q){if(!v(q))return;let Z=cq(q,J);return`${Lq(Z)} ${Z} · /effort`}function Lq(J){if(Eq(J))return xq;switch(J){case"low":return _q;case"medium":return vq;case"high":return Rq;case"max":return Sq;default:return Rq}}var nq=bq(()=>{RJ();pq()});function BQ(J){let q=hq.c(82),{initial:Z,sessionModel:z,onSelect:G,onCancel:w,isStandaloneCommand:W,showFastModeNotice:Yq,headerText:WJ,skipSettingsWrite:wq}=J,kq=wJ(),E=tq(),B=Z===null?x:Z,[A,BJ]=Gq.useState(B),AJ=Cq(cJ),[P,IJ]=Gq.useState(!1),R=Cq(EJ),c;if(q[0]!==R)c=R!==void 0?Vq(R):void 0,q[0]=R,q[1]=c;else c=q[1];let[b,Oq]=Gq.useState(c),Kq=AJ??!1,p;if(q[2]!==Kq)p=kJ(Kq),q[2]=Kq,q[3]=p;else p=q[3];let M=p,Uq;q:{if(Z!==null&&!M.some((Q)=>{if(Q.value===Z)return!0;if(Q.value===null)return!1;try{return S(g(String(Q.value)))===S(g(Z))}catch{return!1}})){let Q;if(q[4]!==Z)Q=Dq(Z),q[4]=Z,q[5]=Q;else Q=q[5];let k;if(q[6]!==Z||q[7]!==Q)k={value:Z,label:Q,description:"Current model"},q[6]=Z,q[7]=Q,q[8]=k;else k=q[8];let L;if(q[9]!==M||q[10]!==k)L=[...M,k],q[9]=M,q[10]=k,q[11]=L;else L=q[11];Uq=L;break q}Uq=M}let Hq=Uq,n;if(q[12]!==Hq)n=Hq.map(xJ),q[12]=Hq,q[13]=n;else n=q[13];let U=n,r;if(q[14]!==B||q[15]!==U)r=U.find((Q)=>{if(Q.value===B)return!0;if(B===x||Q.value===null)return!1;try{return S(g(String(Q.value)))===S(g(String(B)))}catch{return!1}})?.value??U[0]?.value??void 0,q[14]=B,q[15]=U,q[16]=r;else r=q[16];let Wq=r,u=Math.min(10,U.length),d=Math.max(0,U.length-u),$;if(q[17]!==A||q[18]!==U)$=U.find((Q)=>Q.value===A)?.label,q[17]=A,q[18]=U,q[19]=$;else $=q[19];let a=$,I,i;if(q[20]!==A){let Q=Tq(A);I=Q?v(Q):!1,i=Q?zJ(Q):!1,q[20]=A,q[21]=I,q[22]=i}else I=q[21],i=q[22];let f=i,s;if(q[23]!==A)s=Nq(A),q[23]=A,q[24]=s;else s=q[24];let N=s,_=b==="max"&&!f?"high":b,l;if(q[25]!==R||q[26]!==P)l=(Q)=>{if(BJ(Q),!P&&R===void 0)Oq(Nq(Q))},q[25]=R,q[26]=P,q[27]=l;else l=q[27];let Bq=l,o;if(q[28]!==N||q[29]!==I||q[30]!==f)o=(Q)=>{if(!I)return;Oq((k)=>pJ(k??N,Q,f)),IJ(!0)},q[28]=N,q[29]=I,q[30]=f,q[31]=o;else o=q[31];let e=o,t;if(q[32]!==e)t={"modelPicker:decreaseEffort":()=>e("left"),"modelPicker:increaseEffort":()=>e("right")},q[32]=e,q[33]=t;else t=q[33];let qq;if(q[34]===Symbol.for("react.memo_cache_sentinel"))qq={context:"ModelPicker"},q[34]=qq;else qq=q[34];eq(t,qq);let Jq;if(q[35]!==b||q[36]!==P||q[37]!==G||q[38]!==kq||q[39]!==wq)Jq=function(k){if($q("tengu_model_command_menu_effort",{effort:b}),!wq){let gq=GJ(b,Nq(k),aq("userSettings")?.effortLevel,P),Mq=XJ(gq);if(Mq!==void 0)iq("userSettings",{effortLevel:Mq});kq((PJ)=>({...PJ,effortValue:gq}))}let L=Tq(k),Fq=P&&L&&v(L)?b:void 0;if(k===x){G(null,Fq);return}G(k,Fq)},q[35]=b,q[36]=P,q[37]=G,q[38]=kq,q[39]=wq,q[40]=Jq;else Jq=q[40];let Aq=Jq,Qq;if(q[41]===Symbol.for("react.memo_cache_sentinel"))Qq=X(Y,{color:"remember",bold:!0,children:"Select model"}),q[41]=Qq;else Qq=q[41];let Iq=WJ??"Switch between Claude models. Applies to this session and future Claude Code sessions. For other/previous model names, specify with --model.",y;if(q[42]!==Iq)y=X(Y,{dimColor:!0,children:Iq}),q[42]=Iq,q[43]=y;else y=q[43];let D;if(q[44]!==z)D=z&&K(Y,{dimColor:!0,children:["Currently using ",Dq(z)," for this session (set by plan mode). Selecting a model will undo this."]}),q[44]=z,q[45]=D;else D=q[45];let C;if(q[46]!==y||q[47]!==D)C=K(H,{marginBottom:1,flexDirection:"column",children:[Qq,y,D]}),q[46]=y,q[47]=D,q[48]=C;else C=q[48];let Pq=w??SJ,T;if(q[49]!==Bq||q[50]!==Aq||q[51]!==Wq||q[52]!==B||q[53]!==U||q[54]!==Pq||q[55]!==u)T=X(H,{flexDirection:"column",children:X(KJ,{defaultValue:B,defaultFocusValue:Wq,options:U,onChange:Aq,onFocus:Bq,onCancel:Pq,visibleOptionCount:u})}),q[49]=Bq,q[50]=Aq,q[51]=Wq,q[52]=B,q[53]=U,q[54]=Pq,q[55]=u,q[56]=T;else T=q[56];let j;if(q[57]!==d)j=d>0&&X(H,{paddingLeft:3,children:K(Y,{dimColor:!0,children:["and ",d," more…"]})}),q[57]=d,q[58]=j;else j=q[58];let m;if(q[59]!==T||q[60]!==j)m=K(H,{flexDirection:"column",marginBottom:1,children:[T,j]}),q[59]=T,q[60]=j,q[61]=m;else m=q[61];let V;if(q[62]!==_||q[63]!==N||q[64]!==a||q[65]!==I)V=X(H,{marginBottom:1,flexDirection:"column",children:I?K(Y,{dimColor:!0,children:[X(uq,{effort:_})," ",oq(_)," effort",_===N?" (default)":""," ",X(Y,{color:"subtle",children:"← → to adjust"})]}):K(Y,{color:"subtle",children:[X(uq,{effort:void 0})," Effort not supported",a?` for ${a}`:""]})}),q[62]=_,q[63]=N,q[64]=a,q[65]=I,q[66]=V;else V=q[66];let h;if(q[67]!==Yq)h=jq()?Yq?X(H,{marginBottom:1,children:K(Y,{dimColor:!0,children:["Fast mode is ",X(Y,{bold:!0,children:"ON"})," and available with"," ",yq," only (/fast). Switching to other models turn off fast mode."]})}):fq()&&!sq()?X(H,{marginBottom:1,children:K(Y,{dimColor:!0,children:["Use ",X(Y,{bold:!0,children:"/fast"})," to turn on Fast mode (",yq," only)."]})}):null:null,q[67]=Yq,q[68]=h;else h=q[68];let O;if(q[69]!==C||q[70]!==m||q[71]!==V||q[72]!==h)O=K(H,{flexDirection:"column",children:[C,m,V,h]}),q[69]=C,q[70]=m,q[71]=V,q[72]=h,q[73]=O;else O=q[73];let F;if(q[74]!==E||q[75]!==W)F=W&&X(Y,{dimColor:!0,italic:!0,children:E.pending?K(lq,{children:["Press ",E.keyName," again to exit"]}):K(QJ,{children:[X(qJ,{shortcut:"Enter",action:"confirm"}),X(JJ,{action:"select:cancel",context:"Select",fallback:"Esc",description:"exit"})]})}),q[74]=E,q[75]=W,q[76]=F;else F=q[76];let Zq;if(q[77]!==O||q[78]!==F)Zq=K(H,{flexDirection:"column",children:[O,F]}),q[77]=O,q[78]=F,q[79]=Zq;else Zq=q[79];let zq=Zq;if(!W)return zq;let Xq;if(q[80]!==zq)Xq=X(ZJ,{color:"permission",children:zq}),q[80]=zq,q[81]=Xq;else Xq=q[81];return Xq}function SJ(){}function xJ(J){return{...J,value:J.value===null?x:J.value}}function EJ(J){return J.effortValue}function cJ(J){return jq()?J.fastMode:!1}function Tq(J){if(!J)return;return J===x?mq():g(J)}function uq(J){let q=hq.c(5),{effort:Z}=J,z=Z?"claude":"subtle",G=Z??"low",w;if(q[0]!==G)w=Lq(G),q[0]=G,q[1]=w;else w=q[1];let W;if(q[2]!==z||q[3]!==w)W=X(Y,{color:z,children:w}),q[2]=z,q[3]=w,q[4]=W;else W=q[4];return W}function pJ(J,q,Z){let z=Z?["low","medium","high","max"]:["low","medium","high"],G=z.indexOf(J),w=G!==-1?G:z.indexOf("high");if(q==="right")return z[(w+1)%z.length];else return z[(w-1+z.length)%z.length]}function Nq(J){let q=Tq(J)??mq(),Z=YJ(q);return Z!==void 0?Vq(Z):"high"}var hq,Gq,x="__NO_PREFERENCE__";var nJ=bq(()=>{jJ();VJ();bJ();NJ();TJ();mJ();MJ();pq();yJ();_J();LJ();OJ();vJ();FJ();hJ();gJ();nq();rq();hq=dq(CJ(),1),Gq=dq(DJ(),1)});function bQ(J,q,Z){if(!HJ())return!1;if(q)return!0;if(J===null||!UJ(J))return!1;let z=J.toLowerCase().replace(/\[1m\]$/,"").trim(),G=z==="opus"||z.includes("opus-4-6")||z.includes("opus-4-7"),w=z==="sonnet"||z.includes("sonnet-4-6");if(G&&Z)return!1;return G||w}var dJ=bq(()=>{uJ();rJ()});
|
|
2
|
-
export{iJ as lg,Lq as mg,nq as ng,BQ as og,nJ as pg,bQ as qg,dJ as rg};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{gc as m,hc as v,ic as wk}from"./cli-0.6.1-8djfzern.mjs";import{GL as o,IL as t,LL as Dk,PL as e,QL as Uk,RC as g,SC as a,Uy as s,Vy as Gk,XC as Lk,XO as r,YO as kk,aP as jk,jm as p,km as zk,rE as n,sE as V,tE as i,tt as l,ut as Vk,wE as Tk}from"./cli-0.6.1-aw7t5zg2.mjs";import{J1 as d,L1 as Ok,h1 as T,m1 as Jk}from"./cli-0.6.1-hgz08acq.mjs";import{c5 as f,d5 as Ik,n5 as c,q5 as Mk}from"./cli-0.6.1-a2tyzbp4.mjs";import{i7 as S,n7 as _k}from"./cli-0.6.1-bp0mdayc.mjs";import{Eaa as j,J7 as K,Jba as x,L7 as Zk,M8 as P,Nba as b,Q8 as $k,Taa as Kk,Wba as u,cca as $,lda as _,oda as Hk}from"./cli-0.6.1-ybch0rz5.mjs";import{iea as J,nea as Yk}from"./cli-0.6.1-zerz57mn.mjs";import{aga as L,bga as Bk}from"./cli-0.6.1-8fpj913g.mjs";import{eha as B,hga as O,hha as U,jga as Rk}from"./cli-0.6.1-2wfbdh6y.mjs";import{Fha as Xk,sha as h,yha as Y}from"./cli-0.6.1-qsq2xg3g.mjs";import{Lha as E,Vha as Wk}from"./cli-0.6.1-qdytg688.mjs";import{Wka as F,Yka as y,mla as w,yna as z}from"./cli-0.6.1-xk82vgbd.mjs";import{Xna as A,Yna as Qk}from"./cli-0.6.1-0bqe4byy.mjs";import{ipa as W}from"./cli-0.6.1-9pfc6b63.mjs";Yk();z();$();Qk();z();z();Vk();Ok();Lk();Tk();Bk();Hk();Jk();var G=!1;function D(){if(G)return;if(G=!0,T()!=="firstParty")return;let k=_()?.transport;if(k==="bedrock"||k==="vertex"||k==="foundry")return;if(process.env.HTTPS_PROXY||process.env.https_proxy||process.env.HTTP_PROXY||process.env.http_proxy||process.env.ANTHROPIC_UNIX_SOCKET||process.env.CLAUDE_CODE_CLIENT_CERT||process.env.CLAUDE_CODE_CLIENT_KEY)return;let q=_(),N=(q?.transport==="anthropic"?q.baseUrl:void 0)||L().BASE_API_URL;fetch(N,{method:"HEAD",signal:AbortSignal.timeout(1e4)}).catch(()=>{})}$();U();Kk();function C(){if(process.env.NODE_EXTRA_CA_CERTS)return;let k=Nk();if(k)process.env.NODE_EXTRA_CA_CERTS=k,B(`CA certs: Applied NODE_EXTRA_CA_CERTS from config to process.env: ${k}`)}function Nk(){try{let q=x()?.env,Q=j("userSettings")?.env;B(`CA certs: Config fallback - globalEnv keys: ${q?Object.keys(q).join(","):"none"}, settingsEnv keys: ${Q?Object.keys(Q).join(","):"none"}`);let R=Q?.NODE_EXTRA_CA_CERTS||q?.NODE_EXTRA_CA_CERTS;if(R)B(`CA certs: Found NODE_EXTRA_CA_CERTS in config/settings: ${R}`);return R}catch(k){B(`CA certs: Config fallback failed: ${k}`,{level:"error"});return}}Rk();$();U();_k();Zk();zk();Wk();Xk();jk();wk();Ik();Dk();Mk();Uk();Gk();$k();var I=!1,Yq=A(async()=>{let k=Date.now();K("info","init_started"),J("init_function_start");try{let q=Date.now();b(),K("info","init_configs_enabled",{duration_ms:Date.now()-q}),J("init_configs_enabled");let N=Date.now();if(m(),C(),K("info","init_safe_env_vars_applied",{duration_ms:Date.now()-N}),J("init_safe_env_vars_applied"),r(),J("init_after_graceful_shutdown"),Promise.all([import("./firstPartyEventLogger-0.6.1-fd6ha0k4.mjs"),import("./growthbook-0.6.1-md0gf7ks.mjs")]).then(([H,X])=>{H.initialize1PEventLogging(),X.onGrowthBookRefresh(()=>{H.reinitialize1PEventLoggingIfConfigChanged()})}),J("init_after_1p_event_logging"),d(),J("init_after_oauth_populate"),p(),J("init_after_jetbrains_detection"),S(),V())n();if(a())g();J("init_after_remote_settings_check"),u();let Q=Date.now();B("[init] configureGlobalMTLS starting"),f(),K("info","init_mtls_configured",{duration_ms:Date.now()-Q}),B("[init] configureGlobalMTLS complete");let R=Date.now();if(B("[init] configureGlobalAgents starting"),c(),K("info","init_proxy_configured",{duration_ms:Date.now()-R}),B("[init] configureGlobalAgents complete"),J("init_network_configured"),D(),E(process.env.CLAUDE_CODE_REMOTE))try{let{initUpstreamProxy:H,getUpstreamProxyEnv:X}=await import("./upstreamproxy-0.6.1-tv3yt8kf.mjs"),{registerUpstreamProxyEnvFn:Z}=await import("./subprocessEnv-0.6.1-p24f3mb2.mjs");Z(X),await H()}catch(H){B(`[init] upstreamproxy init failed: ${H instanceof Error?H.message:String(H)}; continuing without proxy`,{level:"warn"})}if(P(),O(l),O(async()=>{let{cleanupSessionTeams:H}=await import("./teamHelpers-0.6.1-5y5q1d5a.mjs");await H()}),o()){let H=Date.now();await t(),K("info","init_scratchpad_created",{duration_ms:Date.now()-H})}K("info","init_completed",{duration_ms:Date.now()-k}),J("init_function_end")}catch(q){if(q instanceof h){if(w()){process.stderr.write(`Configuration error in ${q.filePath}: ${q.message}
|
|
2
|
-
`),kk(1);return}return import("./InvalidConfigDialog-0.6.1-2r03697h.mjs").then((N)=>N.showInvalidConfigDialog({error:q}))}else throw q}});function Zq(){if(V()){if(w()&&e())M().catch((k)=>{B(`[3P telemetry] Eager telemetry init failed (beta tracing): ${Y(k)}`,{level:"error"})});B("[3P telemetry] Waiting for remote managed settings before telemetry init"),i().then(async()=>{B("[3P telemetry] Remote managed settings loaded, initializing telemetry"),v(),await M()}).catch((k)=>{B(`[3P telemetry] Telemetry init failed (remote settings path): ${Y(k)}`,{level:"error"})})}else M().catch((k)=>{B(`[3P telemetry] Telemetry init failed: ${Y(k)}`,{level:"error"})})}async function M(){if(I)return;I=!0;try{await xk()}catch(k){throw I=!1,k}}async function xk(){let{initializeTelemetry:k}=await import("./instrumentation-0.6.1-q16b8vzj.mjs"),q=await k();if(q)F(q,(Q,R)=>{let H=q?.createCounter(Q,R);return{add(X,Z={}){let qk={...s(),...Z};H?.add(X,qk)}}}),y()?.add(1)}
|
|
3
|
-
export{Yq as ba,Zq as ca};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{hpa as j}from"./cli-0.6.1-9pfc6b63.mjs";function C(){return`claude-swarm-${process.pid}`}var x="team-lead",y="claude-swarm",z="swarm-view",A="tmux",B="claude-hidden",D="CLAUDE_CODE_TEAMMATE_COMMAND";var k=()=>{};
|
|
2
|
-
export{x as f0,y as g0,z as h0,A as i0,B as j0,C as k0,D as l0,k as m0};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import{ED as o,Pm as D,Tm as r,uD as F,vD as y,yD as S}from"./cli-0.6.1-aw7t5zg2.mjs";import{FW as A,GW as l,HW as z,IW as O}from"./cli-0.6.1-j8nqjtw2.mjs";import{d8 as x,e8 as d,g8 as b,h8 as g}from"./cli-0.6.1-ybch0rz5.mjs";import{Mga as k,Oga as p,Sga as L,Wga as c,eha as V,hha as I}from"./cli-0.6.1-2wfbdh6y.mjs";import{Xna as T,Yna as C}from"./cli-0.6.1-0bqe4byy.mjs";import{hpa as w}from"./cli-0.6.1-9pfc6b63.mjs";import{spawn as G,spawnSync as _}from"child_process";import{basename as R}from"path";function u(q){return!!b(q)}function N(q){let H=R(q.split(" ")[0]??"");return h.find((B)=>H.includes(B))}function m(q,H,B){if(!B)return[H];if(f.has(q))return["-g",`${H}:${B}`];if(q==="subl")return[`${H}:${B}`];return[H]}function Qq(q,H){let B=v();if(!B)return!1;let J=B.split(" "),X=J[0]??B,K=J.slice(1),Q=N(B);if(Q){let W=m(Q,q,H),Z={detached:!0,stdio:"ignore"},M;if(process.platform==="win32"){let U=W.map((E)=>`"${E}"`).join(" ");M=G(`${B} ${U}`,{...Z,shell:!0})}else M=G(X,[...K,...W],Z);return M.on("error",(U)=>V(`editor spawn failed: ${U}`,{level:"error"})),M.unref(),!0}let $=z.get(process.stdout);if(!$)return!1;let Y=H&&P.test(R(X));$.enterAlternateScreen();try{let W={stdio:"inherit"},Z;if(process.platform==="win32"){let M=Y?`+${H} `:"";Z=_(`${B} ${M}"${q}"`,{...W,shell:!0})}else{let M=[...K,...Y?[`+${H}`,q]:[q]];Z=_(X,M,W)}if(Z.error)return V(`editor spawn failed: ${Z.error}`,{level:"error"}),!1;return!0}finally{$.exitAlternateScreen()}}var h,P,f,v;var j=w(()=>{C();O();I();g();h=["code","cursor","windsurf","codium","subl","atom","gedit","notepad++","notepad"],P=/\b(vi|vim|nvim|nano|emacs|pico|micro|helix|hx)\b/,f=new Set(["code","cursor","windsurf","codium"]);v=T(()=>{if(process.env.VISUAL?.trim())return process.env.VISUAL.trim();if(process.env.EDITOR?.trim())return process.env.EDITOR.trim();if(process.platform==="win32")return"start /wait notepad";return["code","vi","nano"].find((H)=>u(H))})});function a(q){return N(q)!==void 0}function i(q){let H=L(),B=z.get(process.stdout);if(!B)throw Error("Ink instance not found - cannot pause rendering");let J=v();if(!J)return{content:null};try{H.statSync(q)}catch{return{content:null}}let X=!a(J);if(X)B.enterAlternateScreen();else B.pause(),B.suspendStdin();try{let K=s[J]??J;return x(`${K} "${q}"`,{stdio:"inherit"}),{content:H.readFileSync(q,{encoding:"utf-8"})}}catch(K){if(typeof K==="object"&&K!==null&&"status"in K&&typeof K.status==="number"){let Q=K.status;if(Q!==0)return{content:null,error:`${D(J)} exited with code ${Q}`}}return{content:null}}finally{if(X)B.exitAlternateScreen();else B.resumeStdin(),B.resume()}}function n(q,H,B){let J=q;for(let[X,K]of Object.entries(B))if(K.type==="text"){let Q=parseInt(X),$=K.content,Y=J.indexOf($);if(Y!==-1){let W=F($),Z=y(Q,W);J=J.slice(0,Y)+Z+J.slice(Y+$.length)}}return J}function Nq(q,H){let B=L(),J=A();try{let X=H?S(q,H):q;k(J,X,{encoding:"utf-8",flush:!0});let K=i(J);if(K.content===null)return K;let Q=K.content;if(Q.endsWith(`
|
|
2
|
-
`)&&!Q.endsWith(`
|
|
3
|
-
|
|
4
|
-
`))Q=Q.slice(0,-1);if(H)Q=n(Q,q,H);return{content:Q}}finally{try{B.unlinkSync(J)}catch{}}}var s;var t=w(()=>{o();O();j();d();c();r();p();l();s={code:"code -w",subl:"subl --wait"}});
|
|
5
|
-
export{Qq as Pf,v as Qf,j as Rf,i as Sf,Nq as Tf,t as Uf};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Xna as M,Yna as Y}from"./cli-0.6.1-0bqe4byy.mjs";import{hpa as W}from"./cli-0.6.1-9pfc6b63.mjs";import{homedir as Z}from"os";import{join as Q}from"path";function $(q){if(q?.configDirEnv)return q.configDirEnv.normalize("NFC");let B=q?.homeDir??Z();return Q(B,".claudin").normalize("NFC")}function N(){return process.env.CLAUDIN_CONFIG_DIR}function _(){return Q(X(),"teams")}function j(q){let B=process.env.NODE_OPTIONS;if(!B)return!1;return B.split(/\s+/).includes(q)}function U(q){if(!q)return!1;if(typeof q==="boolean")return q;let B=q.toLowerCase().trim();return["1","true","yes","on"].includes(B)}function I(q){if(q===void 0)return!1;if(typeof q==="boolean")return!q;if(!q)return!1;let B=q.toLowerCase().trim();return["0","false","no","off"].includes(B)}function S(){return U(process.env.CLAUDE_CODE_SIMPLE)||process.argv.includes("--bare")}function T(q){let B={};if(q)for(let F of q){let[J,...K]=F.split("=");if(!J||K.length===0)throw Error(`Invalid environment variable format: ${F}, environment variables should be added as: -e KEY1=value1 -e KEY2=value2`);B[J]=K.join("=")}return B}function c(){return process.env.AWS_REGION||process.env.AWS_DEFAULT_REGION||"us-east-1"}function L(){return process.env.CLOUD_ML_REGION||"us-east5"}function w(){return U(process.env.CLAUDE_BASH_MAINTAIN_PROJECT_WORKING_DIR)}function z(){return!1}function O(){return!1}function x(q){if(q){let B=b.find(([F])=>q.startsWith(F));if(B)return process.env[B[1]]||L()}return L()}var X,b;var k=W(()=>{Y();X=M(()=>$({configDirEnv:N()}),()=>process.env.CLAUDIN_CONFIG_DIR??"");b=[["claude-haiku-4-5","VERTEX_REGION_CLAUDE_HAIKU_4_5"],["claude-3-5-haiku","VERTEX_REGION_CLAUDE_3_5_HAIKU"],["claude-3-5-sonnet","VERTEX_REGION_CLAUDE_3_5_SONNET"],["claude-3-7-sonnet","VERTEX_REGION_CLAUDE_3_7_SONNET"],["claude-opus-4-7","VERTEX_REGION_CLAUDE_4_7_OPUS"],["claude-opus-4-6","VERTEX_REGION_CLAUDE_4_6_OPUS"],["claude-opus-4-1","VERTEX_REGION_CLAUDE_4_1_OPUS"],["claude-opus-4","VERTEX_REGION_CLAUDE_4_0_OPUS"],["claude-sonnet-4-6","VERTEX_REGION_CLAUDE_4_6_SONNET"],["claude-sonnet-4-5","VERTEX_REGION_CLAUDE_4_5_SONNET"],["claude-sonnet-4","VERTEX_REGION_CLAUDE_4_0_SONNET"]]});
|
|
2
|
-
export{$ as Gha,N as Hha,X as Iha,_ as Jha,j as Kha,U as Lha,I as Mha,S as Nha,T as Oha,c as Pha,L as Qha,w as Rha,z as Sha,O as Tha,x as Uha,k as Vha};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{gE as h,iE as I,xm as g,ym as k}from"./cli-0.6.1-aw7t5zg2.mjs";import{RW as S,RY as _,mY as s}from"./cli-0.6.1-j8nqjtw2.mjs";import{p0 as c,q0 as m,r0 as T}from"./cli-0.6.1-7mnw60rd.mjs";import{Gba as b,cca as P}from"./cli-0.6.1-ybch0rz5.mjs";import{dpa as D}from"./cli-0.6.1-9pfc6b63.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};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{xf as LJ,yf as WQ}from"./cli-0.6.1-tx5cxejc.mjs";import{Af as RQ,zf as hJ}from"./cli-0.6.1-fgnbf5bf.mjs";import{Bf as PJ,Cf as hQ}from"./cli-0.6.1-4argxq2y.mjs";import{Df as aq,Ef as lJ}from"./cli-0.6.1-39s97gy4.mjs";import{Ff as Fq,Gf as iq,Hf as $J}from"./cli-0.6.1-2zh54t3f.mjs";import{If as WJ,Jf as HQ}from"./cli-0.6.1-sgm15vmv.mjs";import{Gr as KJ,Hr as VQ,Ir as VJ,JQ as wq,Jr as XJ,KE as vq,Kr as XQ,LE as BQ,ME as UJ,Mt as uq,NE as FJ,NQ as sq,Nt as mq,OE as wJ,PE as FQ,Pt as pq,QQ as tq,Qt as fJ,Wm as GJ,Xm as KQ,aR as nJ,cN as eq,dH as HJ,eH as RJ,eN as iJ,fH as wQ,lu as g,ou as yQ,rn as P,sN as Aq,sn as Tq,vN as oJ}from"./cli-0.6.1-aw7t5zg2.mjs";import{CR as yJ,ER as NJ,HR as NQ}from"./cli-0.6.1-zznedec0.mjs";import{IT as BJ,MT as UQ}from"./cli-0.6.1-zp8yt3me.mjs";import{YU as YJ,ZU as YQ}from"./cli-0.6.1-j4akqyey.mjs";import{mW as zJ,nW as zQ,vW as Mq,wW as GQ}from"./cli-0.6.1-x25mwydc.mjs";import{RW as Pq,RY as Oq,kY as y,mY as Q}from"./cli-0.6.1-j8nqjtw2.mjs";import{o0 as h,p0 as Y,q0 as Z,r0 as c}from"./cli-0.6.1-7mnw60rd.mjs";import{s0 as ZQ}from"./cli-0.6.1-yjn2sk7y.mjs";import{D3 as ZJ,E3 as QQ,S2 as rq,p3 as cJ}from"./cli-0.6.1-hgz08acq.mjs";import{$$ as xq,Jaa as QJ,O9 as qQ,Taa as JQ,X$ as gq,Y$ as dJ,haa as TJ,s9 as Iq,w7 as $,x7 as tJ}from"./cli-0.6.1-ybch0rz5.mjs";import{Iha as JJ,Vha as sJ}from"./cli-0.6.1-qdytg688.mjs";import{Fja as qJ,yna as eJ}from"./cli-0.6.1-xk82vgbd.mjs";import{dpa as Bq,hpa as Uq}from"./cli-0.6.1-9pfc6b63.mjs";function _q(){let J=jq.c(2);if(!uq())return null;let q,V;if(J[0]===Symbol.for("react.memo_cache_sentinel")){V=Symbol.for("react.early_return_sentinel");q:{let G=pq();if(G.length===0){V=null;break q}let K=G.filter(pJ),X=G.filter(mJ);q=Z(y,{flexDirection:"column",marginTop:1,marginBottom:1,children:[Y(Q,{bold:!0,color:K.length>0?"error":"warning",children:"Keybinding Configuration Issues"}),Z(y,{children:[Y(Q,{dimColor:!0,children:"Location: "}),Y(Q,{dimColor:!0,children:mq()})]}),Z(y,{marginLeft:1,flexDirection:"column",marginTop:1,children:[K.map(uJ),X.map(EJ)]})]})}J[0]=q,J[1]=V}else q=J[0],V=J[1];if(V!==Symbol.for("react.early_return_sentinel"))return V;return q}function EJ(J,q){return Z(y,{flexDirection:"column",children:[Z(y,{children:[Y(Q,{dimColor:!0,children:"└ "}),Y(Q,{color:"warning",children:"[Warning]"}),Z(Q,{dimColor:!0,children:[" ",J.message]})]}),J.suggestion&&Y(y,{marginLeft:3,children:Z(Q,{dimColor:!0,children:["→ ",J.suggestion]})})]},`warning-${q}`)}function uJ(J,q){return Z(y,{flexDirection:"column",children:[Z(y,{children:[Y(Q,{dimColor:!0,children:"└ "}),Y(Q,{color:"error",children:"[Error]"}),Z(Q,{dimColor:!0,children:[" ",J.message]})]}),J.suggestion&&Y(y,{marginLeft:3,children:Z(Q,{dimColor:!0,children:["→ ",J.suggestion]})})]},`error-${q}`)}function mJ(J){return J.severity==="warning"}function pJ(J){return J.severity==="error"}var jq;var dq=Uq(()=>{Oq();fJ();c();jq=Bq(Pq(),1)});function lq(){let J=cq.c(2);if(!P.isSupportedPlatform())return null;if(!P.isSandboxEnabledInSettings())return null;let q,V;if(J[0]===Symbol.for("react.memo_cache_sentinel")){V=Symbol.for("react.early_return_sentinel");q:{let G=P.checkDependencies(),K=G.errors.length>0,X=G.warnings.length>0;if(!K&&!X){V=null;break q}q=Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,children:"Sandbox"}),Z(Q,{children:["└ Status: ",Y(Q,{color:K?"error":"warning",children:K?"Missing dependencies":"Available (with warnings)"})]}),G.errors.map(_J),G.warnings.map(jJ),K&&Y(Q,{dimColor:!0,children:"└ Run /sandbox for install instructions"})]})}J[0]=q,J[1]=V}else q=J[0],V=J[1];if(V!==Symbol.for("react.early_return_sentinel"))return V;return q}function jJ(J,q){return Z(Q,{color:"warning",children:["└ ",J]},q)}function _J(J,q){return Z(Q,{color:"error",children:["└ ",J]},q)}var cq;var $q=Uq(()=>{Oq();Tq();c();cq=Bq(Pq(),1)});async function gJ(){let J=tq(await sq());if(J.length===0)return null;let q=J.sort((G,K)=>K.content.length-G.content.length).map((G)=>`${G.path}: ${G.content.length.toLocaleString()} chars`);return{type:"claudemd_files",severity:"warning",message:J.length===1?`Large CLAUDE.md file detected (${J[0].content.length.toLocaleString()} chars > ${wq.toLocaleString()})`:`${J.length} large CLAUDE.md files detected (each > ${wq.toLocaleString()} chars)`,details:q,currentValue:J.length,threshold:wq}}async function xJ(J){if(!J)return null;let q=iq(J);if(q<=Fq)return null;let V=J.activeAgents.filter((K)=>K.source!=="built-in").map((K)=>{let X=`${K.agentType}: ${K.whenToUse}`;return{name:K.agentType,tokens:Aq(X)}}).sort((K,X)=>X.tokens-K.tokens),G=V.slice(0,5).map((K)=>`${K.name}: ~${K.tokens.toLocaleString()} tokens`);if(V.length>5)G.push(`(${V.length-5} more custom agents)`);return{type:"agent_descriptions",severity:"warning",message:`Large agent descriptions (~${q.toLocaleString()} tokens > ${Fq.toLocaleString()})`,details:G,currentValue:q,threshold:Fq}}async function rJ(J,q,V){let G=J.filter((K)=>K.isMcp);if(G.length===0)return null;try{let K=rq(),{mcpToolTokens:X,mcpToolDetails:B}=await eq(J,q,V,K);if(X<=l)return null;let U=new Map;for(let R of B){let x=R.name.split("__")[1]||"unknown",N=U.get(x)||{count:0,tokens:0};U.set(x,{count:N.count+1,tokens:N.tokens+R.tokens})}let H=Array.from(U.entries()).sort((R,F)=>F[1].tokens-R[1].tokens),z=H.slice(0,5).map(([R,F])=>`${R}: ${F.count} tools (~${F.tokens.toLocaleString()} tokens)`);if(H.length>5)z.push(`(${H.length-5} more servers)`);return{type:"mcp_tools",severity:"warning",message:`Large MCP tools context (~${X.toLocaleString()} tokens > ${l.toLocaleString()})`,details:z,currentValue:X,threshold:l}}catch(K){let X=G.reduce((B,U)=>{let H=(U.name?.length||0)+U.description.length;return B+Aq(H.toString())},0);if(X<=l)return null;return{type:"mcp_tools",severity:"warning",message:`Large MCP tools context (~${X.toLocaleString()} tokens estimated > ${l.toLocaleString()})`,details:[`${G.length} MCP tools detected (token count estimated)`],currentValue:X,threshold:l}}}async function aJ(J){let q=await J(),V=P.isSandboxingEnabled()&&P.isAutoAllowBashIfSandboxedEnabled(),G=aq(q,{sandboxAutoAllowEnabled:V});if(G.length===0)return null;let K=G.flatMap((X)=>[`${gq(X.rule.ruleValue)}: ${X.reason}`,` Fix: ${X.fix}`]);return{type:"unreachable_rules",severity:"warning",message:`${G.length} ${xq(G.length,"unreachable permission rule")} detected`,details:K,currentValue:G.length,threshold:0}}async function oq(J,q,V){let[G,K,X,B]=await Promise.all([gJ(),xJ(q),rJ(J,V,q),aJ(V)]);return{claudeMdWarning:G,agentWarning:K,mcpWarning:X,unreachableRulesWarning:B}}var l=25000;var nq=Uq(()=>{oJ();iJ();nJ();cJ();dJ();lJ();Tq();$J();TJ()});import{join as bq}from"path";function LQ(J){let q=Cq.c(8),{promise:V}=J,G=w.use(V);if(!G.latest){let U;if(q[0]===Symbol.for("react.memo_cache_sentinel"))U=Y(Q,{dimColor:!0,children:"└ Failed to fetch versions"}),q[0]=U;else U=q[0];return U}let K;if(q[1]!==G.stable)K=G.stable&&Z(Q,{children:["└ Stable version: ",G.stable]}),q[1]=G.stable,q[2]=K;else K=q[2];let X;if(q[3]!==G.latest)X=Z(Q,{children:["└ Latest version: ",G.latest]}),q[3]=G.latest,q[4]=X;else X=q[4];let B;if(q[5]!==K||q[6]!==X)B=Z(h,{children:[K,X]}),q[5]=K,q[6]=X,q[7]=B;else B=q[7];return B}function pZ(J){let q=Cq.c(84),{onDone:V}=J,G=g(TQ),K=g(dQ),X=g(_Q),B=g(jQ);YJ();let U;if(q[0]!==K)U=K||[],q[0]=K,q[1]=U;else U=q[1];let H=U,[z,R]=w.useState(null),[F,x]=w.useState(null),[N,OJ]=w.useState(null),[L,kq]=w.useState(null),Hq=PJ(),r;if(q[2]===Symbol.for("react.memo_cache_sentinel"))r=vq().then(mQ),q[2]=r;else r=q[2];let AJ=r,bJ=QJ()?.autoUpdatesChannel??"latest",a;if(q[3]!==Hq)a=Hq.filter(uQ),q[3]=Hq,q[4]=a;else a=q[4];let i=a,o;if(q[5]===Symbol.for("react.memo_cache_sentinel"))o=[{name:"BASH_MAX_OUTPUT_LENGTH",default:XJ,upperLimit:VJ},{name:"TASK_MAX_OUTPUT_LENGTH",default:RJ,upperLimit:HJ},{name:"CLAUDE_CODE_MAX_OUTPUT_TOKENS",...ZJ("claude-opus-4-8")}].map(EQ).filter(fQ),q[5]=o;else o=q[5];let Dq=o,n,e;if(q[6]!==G||q[7]!==X||q[8]!==H)n=()=>{vq().then(R),(async()=>{let W=bq(JJ(),"agents"),Sq=bq(qJ(),".claudin","agents"),{activeAgents:fq,allAgents:IJ,failedFiles:Eq}=G,[MJ,vJ]=await Promise.all([Iq(W),Iq(Sq)]),CJ={activeAgents:fq.map(SQ),userAgentsDir:W,projectAgentsDir:Sq,userDirExists:MJ,projectDirExists:vJ,failedFiles:Eq};x(CJ);let kJ=await oq(H,{activeAgents:fq,allAgents:IJ,failedFiles:Eq},async()=>X);if(OJ(kJ),UJ()){let Lq=bq(BJ(),"claude","locks"),DJ=wJ(Lq),SJ=FJ(Lq);kq({enabled:!0,locks:SJ,locksDir:Lq,staleLocksCleaned:DJ})}else kq({enabled:!1,locks:[],locksDir:"",staleLocksCleaned:0})})()},e=[X,H,G],q[6]=G,q[7]=X,q[8]=H,q[9]=n,q[10]=e;else n=q[9],e=q[10];w.useEffect(n,e);let s;if(q[11]!==V)s=()=>{V("Claude Code diagnostics dismissed",{display:"system"})},q[11]=V,q[12]=s;else s=q[12];let t=s,qq;if(q[13]!==t)qq={"confirm:yes":t,"confirm:no":t},q[13]=t,q[14]=qq;else qq=q[14];let Jq;if(q[15]===Symbol.for("react.memo_cache_sentinel"))Jq={context:"Confirmation"},q[15]=Jq;else Jq=q[15];if(zJ(qq,Jq),!z){let W;if(q[16]===Symbol.for("react.memo_cache_sentinel"))W=Y(Mq,{children:Y(Q,{dimColor:!0,children:"Checking installation status…"})}),q[16]=W;else W=q[16];return W}let Qq;if(q[17]===Symbol.for("react.memo_cache_sentinel"))Qq=Y(Q,{bold:!0,children:"Diagnostics"}),q[17]=Qq;else Qq=q[17];let O;if(q[18]!==z.installationType||q[19]!==z.version)O=Z(Q,{children:["└ Currently running: ",z.installationType," (",z.version,")"]}),q[18]=z.installationType,q[19]=z.version,q[20]=O;else O=q[20];let A;if(q[21]!==z.packageManager)A=z.packageManager&&Z(Q,{children:["└ Package manager: ",z.packageManager]}),q[21]=z.packageManager,q[22]=A;else A=q[22];let b;if(q[23]!==z.installationPath)b=Z(Q,{children:["└ Path: ",z.installationPath]}),q[23]=z.installationPath,q[24]=b;else b=q[24];let I;if(q[25]!==z.invokedBinary)I=Z(Q,{children:["└ Invoked: ",z.invokedBinary]}),q[25]=z.invokedBinary,q[26]=I;else I=q[26];let M;if(q[27]!==z.configInstallMethod)M=Z(Q,{children:["└ Config install method: ",z.configInstallMethod]}),q[27]=z.configInstallMethod,q[28]=M;else M=q[28];let Rq=z.ripgrepStatus.working?"OK":"Not working",Wq=z.ripgrepStatus.mode==="embedded"?"bundled":z.ripgrepStatus.mode==="builtin"?"vendor":z.ripgrepStatus.systemPath||"system",v;if(q[29]!==Rq||q[30]!==Wq)v=Z(Q,{children:["└ Search: ",Rq," (",Wq,")"]}),q[29]=Rq,q[30]=Wq,q[31]=v;else v=q[31];let C;if(q[32]!==z.recommendation)C=z.recommendation&&Z(h,{children:[Y(Q,{}),Z(Q,{color:"warning",children:["Recommendation: ",z.recommendation.split(`
|
|
2
|
-
`)[0]]}),Y(Q,{dimColor:!0,children:z.recommendation.split(`
|
|
3
|
-
`)[1]})]}),q[32]=z.recommendation,q[33]=C;else C=q[33];let k;if(q[34]!==z.multipleInstallations)k=z.multipleInstallations.length>1&&Z(h,{children:[Y(Q,{}),Y(Q,{color:"warning",children:"Warning: Multiple installations found"}),z.multipleInstallations.map(DQ)]}),q[34]=z.multipleInstallations,q[35]=k;else k=q[35];let D;if(q[36]!==z.warnings)D=z.warnings.length>0&&Z(h,{children:[Y(Q,{}),z.warnings.map(kQ)]}),q[36]=z.warnings,q[37]=D;else D=q[37];let S;if(q[38]!==i)S=i.length>0&&Z(y,{flexDirection:"column",marginTop:1,marginBottom:1,children:[Y(Q,{bold:!0,children:"Invalid Settings"}),Y(LJ,{errors:i})]}),q[38]=i,q[39]=S;else S=q[39];let f;if(q[40]!==O||q[41]!==A||q[42]!==b||q[43]!==I||q[44]!==M||q[45]!==v||q[46]!==C||q[47]!==k||q[48]!==D||q[49]!==S)f=Z(y,{flexDirection:"column",children:[Qq,O,A,b,I,M,v,C,k,D,S]}),q[40]=O,q[41]=A,q[42]=b,q[43]=I,q[44]=M,q[45]=v,q[46]=C,q[47]=k,q[48]=D,q[49]=S,q[50]=f;else f=q[50];let Zq;if(q[51]===Symbol.for("react.memo_cache_sentinel"))Zq=Y(Q,{bold:!0,children:"Updates"}),q[51]=Zq;else Zq=q[51];let hq=z.packageManager?"Managed by package manager":z.autoUpdates,E;if(q[52]!==hq)E=Z(Q,{children:["└ Auto-updates:"," ",hq]}),q[52]=hq,q[53]=E;else E=q[53];let u;if(q[54]!==z.hasUpdatePermissions)u=z.hasUpdatePermissions!==null&&Z(Q,{children:["└ Update permissions:"," ",z.hasUpdatePermissions?"Yes":"No (requires sudo)"]}),q[54]=z.hasUpdatePermissions,q[55]=u;else u=q[55];let zq;if(q[56]===Symbol.for("react.memo_cache_sentinel"))zq=Z(Q,{children:["└ Auto-update channel: ",bJ]}),q[56]=zq;else zq=q[56];let Yq;if(q[57]===Symbol.for("react.memo_cache_sentinel"))Yq=Y(w.Suspense,{fallback:null,children:Y(LQ,{promise:AJ})}),q[57]=Yq;else Yq=q[57];let m;if(q[58]!==E||q[59]!==u)m=Z(y,{flexDirection:"column",children:[Zq,E,u,zq,Yq]}),q[58]=E,q[59]=u,q[60]=m;else m=q[60];let Gq,Kq,Vq,Xq;if(q[61]===Symbol.for("react.memo_cache_sentinel"))Gq=Y(lq,{}),Kq=Y(WJ,{}),Vq=Y(_q,{}),Xq=Dq.length>0&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,children:"Environment Variables"}),Dq.map(CQ)]}),q[61]=Gq,q[62]=Kq,q[63]=Vq,q[64]=Xq;else Gq=q[61],Kq=q[62],Vq=q[63],Xq=q[64];let p;if(q[65]!==L)p=L?.enabled&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,children:"Version Locks"}),L.staleLocksCleaned>0&&Z(Q,{dimColor:!0,children:["└ Cleaned ",L.staleLocksCleaned," stale lock(s)"]}),L.locks.length===0?Y(Q,{dimColor:!0,children:"└ No active version locks"}):L.locks.map(vQ)]}),q[65]=L,q[66]=p;else p=q[66];let j;if(q[67]!==F)j=F?.failedFiles&&F.failedFiles.length>0&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,color:"error",children:"Agent Parse Errors"}),Z(Q,{color:"error",children:["└ Failed to parse ",F.failedFiles.length," agent file(s):"]}),F.failedFiles.map(MQ)]}),q[67]=F,q[68]=j;else j=q[68];let _;if(q[69]!==B)_=B.length>0&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,color:"error",children:"Plugin Errors"}),Z(Q,{color:"error",children:["└ ",B.length," plugin error(s) detected:"]}),B.map(IQ)]}),q[69]=B,q[70]=_;else _=q[70];let d;if(q[71]!==N)d=N?.unreachableRulesWarning&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,color:"warning",children:"Unreachable Permission Rules"}),Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",N.unreachableRulesWarning.message]})]}),N.unreachableRulesWarning.details.map(bQ)]}),q[71]=N,q[72]=d;else d=q[72];let T;if(q[73]!==N)T=N&&(N.claudeMdWarning||N.agentWarning||N.mcpWarning)&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,children:"Context Usage Warnings"}),N.claudeMdWarning&&Z(h,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",N.claudeMdWarning.message]})]}),Z(Q,{children:[" ","└ Files:"]}),N.claudeMdWarning.details.map(AQ)]}),N.agentWarning&&Z(h,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",N.agentWarning.message]})]}),Z(Q,{children:[" ","└ Top contributors:"]}),N.agentWarning.details.map(OQ)]}),N.mcpWarning&&Z(h,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",N.mcpWarning.message]})]}),Z(Q,{children:[" ","└ MCP servers:"]}),N.mcpWarning.details.map(PQ)]})]}),q[73]=N,q[74]=T;else T=q[74];let yq;if(q[75]===Symbol.for("react.memo_cache_sentinel"))yq=Y(y,{children:Y(hJ,{})}),q[75]=yq;else yq=q[75];let Nq;if(q[76]!==f||q[77]!==m||q[78]!==p||q[79]!==j||q[80]!==_||q[81]!==d||q[82]!==T)Nq=Z(Mq,{children:[f,m,Gq,Kq,Vq,Xq,p,j,_,d,T,yq]}),q[76]=f,q[77]=m,q[78]=p,q[79]=j,q[80]=_,q[81]=d,q[82]=T,q[83]=Nq;else Nq=q[83];return Nq}function PQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function OQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function AQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function bQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function IQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J.source||"unknown","plugin"in J&&J.plugin?` [${J.plugin}]`:"",":"," ",GJ(J)]},q)}function MQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J.path,": ",J.error]},q)}function vQ(J,q){return Z(Q,{children:["└ ",J.version,": PID ",J.pid," ",J.isProcessRunning?Y(Q,{children:"(running)"}):Y(Q,{color:"warning",children:"(stale)"})]},q)}function CQ(J,q){return Z(Q,{children:["└ ",J.name,":"," ",Y(Q,{color:J.status==="capped"?"warning":"error",children:J.message})]},q)}function kQ(J,q){return Z(y,{flexDirection:"column",children:[Z(Q,{color:"warning",children:["Warning: ",J.issue]}),Z(Q,{children:["Fix: ",J.fix]})]},q)}function DQ(J,q){return Z(Q,{children:["└ ",J.type," at ",J.path]},q)}function SQ(J){return{agentType:J.agentType,source:J.source}}function fQ(J){return J.status!=="valid"}function EQ(J){let q=process.env[J.name],V=KJ(J.name,q,J.default,J.upperLimit);return{name:J.name,...V}}function uQ(J){return J.mcpErrorMetadata===void 0}function mQ(J){return(J.installationType==="native"?NJ:yJ)().catch(pQ)}function pQ(){return{latest:null,stable:null}}function jQ(J){return J.plugins.errors}function _Q(J){return J.toolPermissionContext}function dQ(J){return J.mcp.tools}function TQ(J){return J.agentDefinitions}var Cq,w;var cQ=Uq(()=>{tJ();dq();HQ();QQ();sJ();eJ();GQ();RQ();$q();WQ();hQ();YQ();Oq();zQ();yQ();KQ();NQ();nq();BQ();VQ();qQ();FQ();JQ();XQ();wQ();UQ();c();Cq=Bq(Pq(),1),w=Bq(ZQ(),1)});
|
|
4
|
-
export{pZ as vf,cQ as wf};
|