@claudiolabs/claudio 0.1.11 → 0.1.12
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.1.12-kgypyeny.mjs +1 -0
- package/dist/chunks/App-0.1.12-t1g68ag4.mjs +1 -0
- package/dist/chunks/ApproveApiKey-0.1.12-zpw36mzg.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-0.1.12-x3zt5579.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-0.1.12-fgvj28kh.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-0.1.12-y1vnt631.mjs +1 -0
- package/dist/chunks/ClaudeInChromeOnboarding-0.1.12-n4az8bcp.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.1.12-j7w4pe1r.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-0.1.12-57crf0yg.mjs +1 -0
- package/dist/chunks/DiffDialog-0.1.12-tzjdg5ys.mjs +3 -0
- package/dist/chunks/Doctor-0.1.12-52dk0t0z.mjs +1 -0
- package/dist/chunks/Grove-0.1.12-m9r696vw.mjs +1 -0
- package/dist/chunks/ITermBackend-0.1.12-85zqw000.mjs +1 -0
- package/dist/chunks/InProcessTransport-0.1.12-xnrc78z1.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-0.1.12-9w4z4d73.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-0.1.12-j1jmd6jg.mjs +1 -0
- package/dist/chunks/MigrationDialog-0.1.12-n5zwn0kh.mjs +1 -0
- package/dist/chunks/Onboarding-0.1.12-tc4trc3y.mjs +1 -0
- package/dist/chunks/ProviderManager-0.1.12-01epdnc3.mjs +1 -0
- package/dist/chunks/REPL-0.1.12-4750qvss.mjs +1 -0
- package/dist/chunks/ResumeConversation-0.1.12-sn3hxnfq.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-0.1.12-f1byjres.mjs +1 -0
- package/dist/chunks/TeleportProgress-0.1.12-p5spc4b6.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-0.1.12-562cbm4h.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-0.1.12-w2rds1kj.mjs +1 -0
- package/dist/chunks/TmuxBackend-0.1.12-02kj3wef.mjs +9 -0
- package/dist/chunks/ToolSearchTool-0.1.12-qesye0kj.mjs +1 -0
- package/dist/chunks/TrustDialog-0.1.12-gr62n6f8.mjs +1 -0
- package/dist/chunks/activeProvider-0.1.12-dnn18th9.mjs +1 -0
- package/dist/chunks/add-dir-0.1.12-he4qjfr7.mjs +1 -0
- package/dist/chunks/agents-0.1.12-1dz073e3.mjs +3 -0
- package/dist/chunks/agents-0.1.12-vfwpnn0d.mjs +111 -0
- package/dist/chunks/api-0.1.12-e314x4g9.mjs +1 -0
- package/dist/chunks/asciicast-0.1.12-nwzfr5gz.mjs +1 -0
- package/dist/chunks/assistant-0.1.12-x4e2qcyw.mjs +1 -0
- package/dist/chunks/auth-0.1.12-9xrz11cs.mjs +1 -0
- package/dist/chunks/auth-0.1.12-vhdwtwhb.mjs +1 -0
- package/dist/chunks/autoMode-0.1.12-xjr5qd6q.mjs +48 -0
- package/dist/chunks/backgroundHousekeeping-0.1.12-z7jhyx9z.mjs +1 -0
- package/dist/chunks/branch-0.1.12-e2jz4k8j.mjs +4 -0
- package/dist/chunks/bridgePointer-0.1.12-vdj4j4ke.mjs +1 -0
- package/dist/chunks/btw-0.1.12-k5gxnrq8.mjs +1 -0
- package/dist/chunks/buddy-0.1.12-4q50s2x4.mjs +3 -0
- package/dist/chunks/cacache-0.1.12-mtaw8981.mjs +1 -0
- package/dist/chunks/cache-probe-0.1.12-4s8cc2km.mjs +21 -0
- package/dist/chunks/cacheStats-0.1.12-qqcw6b5n.mjs +4 -0
- package/dist/chunks/caches-0.1.12-jvzzcs09.mjs +1 -0
- package/dist/chunks/chrome-0.1.12-6qypq8nj.mjs +1 -0
- package/dist/chunks/chromeNativeHost-0.1.12-7e2jv2nr.mjs +2 -0
- package/dist/chunks/claude-for-chrome-mcp-0.1.12-2q97mema.mjs +1 -0
- package/dist/chunks/claudeDesktop-0.1.12-1yrkynq4.mjs +1 -0
- package/dist/chunks/claudemd-0.1.12-dnz21tgs.mjs +1 -0
- package/dist/chunks/clear-0.1.12-cq6vnm92.mjs +1 -0
- package/dist/chunks/clearTerminal-0.1.12-pzt74jz3.mjs +1 -0
- package/dist/chunks/cli-0.1.12-024a8zz7.mjs +2 -0
- package/dist/chunks/cli-0.1.12-04jw23rj.mjs +2 -0
- package/dist/chunks/cli-0.1.12-04v3yab2.mjs +3 -0
- package/dist/chunks/cli-0.1.12-0eznapyf.mjs +2 -0
- package/dist/chunks/cli-0.1.12-0kqx19vz.mjs +2 -0
- package/dist/chunks/cli-0.1.12-0vf5f6qn.mjs +2 -0
- package/dist/chunks/cli-0.1.12-0x3cd401.mjs +2 -0
- package/dist/chunks/cli-0.1.12-0xzdygm2.mjs +50 -0
- package/dist/chunks/cli-0.1.12-19as1myk.mjs +2 -0
- package/dist/chunks/cli-0.1.12-1cn8b1tj.mjs +2 -0
- package/dist/chunks/cli-0.1.12-1hv04bp7.mjs +2 -0
- package/dist/chunks/cli-0.1.12-1x06khjr.mjs +2 -0
- package/dist/chunks/cli-0.1.12-238c85zt.mjs +2 -0
- package/dist/chunks/cli-0.1.12-242der7s.mjs +5036 -0
- package/dist/chunks/cli-0.1.12-2f2v27e3.mjs +2 -0
- package/dist/chunks/cli-0.1.12-2fajd44n.mjs +2 -0
- package/dist/chunks/cli-0.1.12-2sqxe53a.mjs +2 -0
- package/dist/chunks/cli-0.1.12-2v18rdhk.mjs +2 -0
- package/dist/chunks/cli-0.1.12-2yy1nw3s.mjs +2 -0
- package/dist/chunks/cli-0.1.12-2zqgfhrb.mjs +2 -0
- package/dist/chunks/cli-0.1.12-34gqc6yf.mjs +2 -0
- package/dist/chunks/cli-0.1.12-352pjhkh.mjs +2 -0
- package/dist/chunks/cli-0.1.12-37ezy1qg.mjs +2 -0
- package/dist/chunks/cli-0.1.12-37ga9zc2.mjs +2 -0
- package/dist/chunks/cli-0.1.12-3d2xpvk2.mjs +2 -0
- package/dist/chunks/cli-0.1.12-3ywnr2v1.mjs +2 -0
- package/dist/chunks/cli-0.1.12-4gj8p030.mjs +22 -0
- package/dist/chunks/cli-0.1.12-4qedbzt3.mjs +24 -0
- package/dist/chunks/cli-0.1.12-4sh0f4y1.mjs +3 -0
- package/dist/chunks/cli-0.1.12-4syxz3pe.mjs +12 -0
- package/dist/chunks/cli-0.1.12-4tanq0qc.mjs +2 -0
- package/dist/chunks/cli-0.1.12-4wwhk7dc.mjs +2 -0
- package/dist/chunks/cli-0.1.12-4ys47rex.mjs +2 -0
- package/dist/chunks/cli-0.1.12-52dbx2x6.mjs +4 -0
- package/dist/chunks/cli-0.1.12-5b3j1c9c.mjs +2 -0
- package/dist/chunks/cli-0.1.12-5exp787z.mjs +18 -0
- package/dist/chunks/cli-0.1.12-5k9mfnz0.mjs +2 -0
- package/dist/chunks/cli-0.1.12-5p9g1vcm.mjs +2 -0
- package/dist/chunks/cli-0.1.12-5pw10pf8.mjs +2 -0
- package/dist/chunks/cli-0.1.12-5qhkbp8w.mjs +2 -0
- package/dist/chunks/cli-0.1.12-5ye0t0xd.mjs +2 -0
- package/dist/chunks/cli-0.1.12-6238zg7k.mjs +2 -0
- package/dist/chunks/cli-0.1.12-6ddq5n4e.mjs +2 -0
- package/dist/chunks/cli-0.1.12-6e4e36bv.mjs +16 -0
- package/dist/chunks/cli-0.1.12-6rjh20wh.mjs +2 -0
- package/dist/chunks/cli-0.1.12-6x2mnahn.mjs +2 -0
- package/dist/chunks/cli-0.1.12-6zryzryc.mjs +2 -0
- package/dist/chunks/cli-0.1.12-73k5qd97.mjs +13 -0
- package/dist/chunks/cli-0.1.12-74tt2500.mjs +2 -0
- package/dist/chunks/cli-0.1.12-756ngehz.mjs +4 -0
- package/dist/chunks/cli-0.1.12-7da43cy1.mjs +2 -0
- package/dist/chunks/cli-0.1.12-7ehqw1dk.mjs +2 -0
- package/dist/chunks/cli-0.1.12-7mjpbm22.mjs +2 -0
- package/dist/chunks/cli-0.1.12-7v8dtyx8.mjs +2 -0
- package/dist/chunks/cli-0.1.12-7xsa2bcp.mjs +2 -0
- package/dist/chunks/cli-0.1.12-817sd5bc.mjs +6 -0
- package/dist/chunks/cli-0.1.12-830kqdpq.mjs +3 -0
- package/dist/chunks/cli-0.1.12-86nmrm6g.mjs +2 -0
- package/dist/chunks/cli-0.1.12-8qm558mj.mjs +2 -0
- package/dist/chunks/cli-0.1.12-8qvgy8xr.mjs +2 -0
- package/dist/chunks/cli-0.1.12-8tdckdxp.mjs +2 -0
- package/dist/chunks/cli-0.1.12-8znn9f50.mjs +2 -0
- package/dist/chunks/cli-0.1.12-9dvxchv3.mjs +2 -0
- package/dist/chunks/cli-0.1.12-9gs0g8yb.mjs +2 -0
- package/dist/chunks/cli-0.1.12-9pq0gse0.mjs +3 -0
- package/dist/chunks/cli-0.1.12-9v01t95v.mjs +2 -0
- package/dist/chunks/cli-0.1.12-a2frnpdd.mjs +2 -0
- package/dist/chunks/cli-0.1.12-a2qh6gjr.mjs +5 -0
- package/dist/chunks/cli-0.1.12-a5h71tt8.mjs +34 -0
- package/dist/chunks/cli-0.1.12-actnmgw5.mjs +2 -0
- package/dist/chunks/cli-0.1.12-ae3e3ffp.mjs +2 -0
- package/dist/chunks/cli-0.1.12-af1r644n.mjs +2 -0
- package/dist/chunks/cli-0.1.12-awb2yac7.mjs +3 -0
- package/dist/chunks/cli-0.1.12-b01yrner.mjs +2 -0
- package/dist/chunks/cli-0.1.12-baxk5jyy.mjs +4 -0
- package/dist/chunks/cli-0.1.12-bddm1g1s.mjs +59 -0
- package/dist/chunks/cli-0.1.12-bh7jp3zk.mjs +2 -0
- package/dist/chunks/cli-0.1.12-bhxgr018.mjs +4 -0
- package/dist/chunks/cli-0.1.12-bjzb0sjt.mjs +132 -0
- package/dist/chunks/cli-0.1.12-bmtahtv7.mjs +2 -0
- package/dist/chunks/cli-0.1.12-bnn1nrwd.mjs +2 -0
- package/dist/chunks/cli-0.1.12-bnss4rxn.mjs +833 -0
- package/dist/chunks/cli-0.1.12-c23pyffx.mjs +2 -0
- package/dist/chunks/cli-0.1.12-c28bme4j.mjs +2 -0
- package/dist/chunks/cli-0.1.12-c47ape20.mjs +7 -0
- package/dist/chunks/cli-0.1.12-c8d9vr4b.mjs +2 -0
- package/dist/chunks/cli-0.1.12-cxn1ke77.mjs +2 -0
- package/dist/chunks/cli-0.1.12-d0es0fxd.mjs +2 -0
- package/dist/chunks/cli-0.1.12-d8m01qtm.mjs +2 -0
- package/dist/chunks/cli-0.1.12-dc4e6688.mjs +2 -0
- package/dist/chunks/cli-0.1.12-dqynn0at.mjs +2 -0
- package/dist/chunks/cli-0.1.12-ds2mn8zn.mjs +2 -0
- package/dist/chunks/cli-0.1.12-dtba3gm9.mjs +8 -0
- package/dist/chunks/cli-0.1.12-e262snmb.mjs +3 -0
- package/dist/chunks/cli-0.1.12-e4zeaahk.mjs +2 -0
- package/dist/chunks/cli-0.1.12-erggrdth.mjs +9 -0
- package/dist/chunks/cli-0.1.12-f0x1y6nn.mjs +2 -0
- package/dist/chunks/cli-0.1.12-faa9mx3m.mjs +15 -0
- package/dist/chunks/cli-0.1.12-fqpxr3qb.mjs +2 -0
- package/dist/chunks/cli-0.1.12-fx0zg3d9.mjs +2 -0
- package/dist/chunks/cli-0.1.12-g1yp7kdf.mjs +2 -0
- package/dist/chunks/cli-0.1.12-g2s9mjr6.mjs +2 -0
- package/dist/chunks/cli-0.1.12-g3ycbjxk.mjs +2 -0
- package/dist/chunks/cli-0.1.12-g4sdgt8h.mjs +2 -0
- package/dist/chunks/cli-0.1.12-g604mknq.mjs +2 -0
- package/dist/chunks/cli-0.1.12-g728hcdr.mjs +2 -0
- package/dist/chunks/cli-0.1.12-g8mny195.mjs +2 -0
- package/dist/chunks/cli-0.1.12-h0d833vg.mjs +24 -0
- package/dist/chunks/cli-0.1.12-h248m986.mjs +2 -0
- package/dist/chunks/cli-0.1.12-hfmv72b6.mjs +2 -0
- package/dist/chunks/cli-0.1.12-hsw67esw.mjs +2 -0
- package/dist/chunks/cli-0.1.12-j6gjfwh5.mjs +31 -0
- package/dist/chunks/cli-0.1.12-j6hwb68p.mjs +45 -0
- package/dist/chunks/cli-0.1.12-jjza3gz9.mjs +2 -0
- package/dist/chunks/cli-0.1.12-jqrk975g.mjs +15 -0
- package/dist/chunks/cli-0.1.12-k2164g7e.mjs +2 -0
- package/dist/chunks/cli-0.1.12-kea0zcje.mjs +2 -0
- package/dist/chunks/cli-0.1.12-kg8gb6e3.mjs +2 -0
- package/dist/chunks/cli-0.1.12-ktpqrbjc.mjs +2 -0
- package/dist/chunks/cli-0.1.12-kwc7ew38.mjs +2 -0
- package/dist/chunks/cli-0.1.12-kys514qx.mjs +2 -0
- package/dist/chunks/cli-0.1.12-kzd4y6yq.mjs +3 -0
- package/dist/chunks/cli-0.1.12-m3q5r7wd.mjs +2 -0
- package/dist/chunks/cli-0.1.12-m6jeef2z.mjs +6 -0
- package/dist/chunks/cli-0.1.12-mevh0dza.mjs +2 -0
- package/dist/chunks/cli-0.1.12-mr41yjpw.mjs +2 -0
- package/dist/chunks/cli-0.1.12-mwp84gtr.mjs +2 -0
- package/dist/chunks/cli-0.1.12-nfvtmt75.mjs +2 -0
- package/dist/chunks/cli-0.1.12-nnyca8nb.mjs +2 -0
- package/dist/chunks/cli-0.1.12-nv2m8kgk.mjs +2 -0
- package/dist/chunks/cli-0.1.12-p5w2kms9.mjs +4 -0
- package/dist/chunks/cli-0.1.12-pm5cwtxh.mjs +2 -0
- package/dist/chunks/cli-0.1.12-pnh4t8c3.mjs +2 -0
- package/dist/chunks/cli-0.1.12-ps94e9y5.mjs +2 -0
- package/dist/chunks/cli-0.1.12-q1nn9teh.mjs +3 -0
- package/dist/chunks/cli-0.1.12-q63qrz06.mjs +2 -0
- package/dist/chunks/cli-0.1.12-q8k1zvhb.mjs +2 -0
- package/dist/chunks/cli-0.1.12-qf1kw5cr.mjs +2 -0
- package/dist/chunks/cli-0.1.12-qn20n18h.mjs +12 -0
- package/dist/chunks/cli-0.1.12-qrx9nssg.mjs +21 -0
- package/dist/chunks/cli-0.1.12-qsh4sj4y.mjs +2 -0
- package/dist/chunks/cli-0.1.12-r6f9sy54.mjs +2 -0
- package/dist/chunks/cli-0.1.12-ra3sby5b.mjs +2 -0
- package/dist/chunks/cli-0.1.12-rqedb88a.mjs +10 -0
- package/dist/chunks/cli-0.1.12-rtft4mrx.mjs +4 -0
- package/dist/chunks/cli-0.1.12-rwhrpb6w.mjs +2 -0
- package/dist/chunks/cli-0.1.12-rwzav5h1.mjs +11 -0
- package/dist/chunks/cli-0.1.12-ryycx3v6.mjs +2 -0
- package/dist/chunks/cli-0.1.12-rzpc0tr9.mjs +44 -0
- package/dist/chunks/cli-0.1.12-s0cwq66w.mjs +2 -0
- package/dist/chunks/cli-0.1.12-sd72y750.mjs +12 -0
- package/dist/chunks/cli-0.1.12-sgtpyf6y.mjs +11 -0
- package/dist/chunks/cli-0.1.12-strz382t.mjs +2 -0
- package/dist/chunks/cli-0.1.12-sxxpysy8.mjs +2 -0
- package/dist/chunks/cli-0.1.12-t8712dbc.mjs +2 -0
- package/dist/chunks/cli-0.1.12-tadj1p4y.mjs +2 -0
- package/dist/chunks/cli-0.1.12-tae7cd7e.mjs +2 -0
- package/dist/chunks/cli-0.1.12-taqfqnag.mjs +4 -0
- package/dist/chunks/cli-0.1.12-trdq9d6x.mjs +2 -0
- package/dist/chunks/cli-0.1.12-tyt09z73.mjs +2 -0
- package/dist/chunks/cli-0.1.12-v000x470.mjs +2 -0
- package/dist/chunks/cli-0.1.12-v0510w04.mjs +2 -0
- package/dist/chunks/cli-0.1.12-v79j5ced.mjs +2 -0
- package/dist/chunks/cli-0.1.12-v8j9zstg.mjs +2 -0
- package/dist/chunks/cli-0.1.12-vgbc3g9x.mjs +2 -0
- package/dist/chunks/cli-0.1.12-vpnp7x5c.mjs +100 -0
- package/dist/chunks/cli-0.1.12-vwcas8f6.mjs +2 -0
- package/dist/chunks/cli-0.1.12-vxej5jdm.mjs +2 -0
- package/dist/chunks/cli-0.1.12-vzga2are.mjs +192 -0
- package/dist/chunks/cli-0.1.12-w0qbr98a.mjs +2 -0
- package/dist/chunks/cli-0.1.12-wcdh3m4s.mjs +5 -0
- package/dist/chunks/cli-0.1.12-wdmxm11z.mjs +2 -0
- package/dist/chunks/cli-0.1.12-wfbfq2mm.mjs +3 -0
- package/dist/chunks/cli-0.1.12-wwnkrzck.mjs +134 -0
- package/dist/chunks/cli-0.1.12-xanhpra7.mjs +2 -0
- package/dist/chunks/cli-0.1.12-xcxjv6qd.mjs +2 -0
- package/dist/chunks/cli-0.1.12-xekep4qg.mjs +58 -0
- package/dist/chunks/cli-0.1.12-xfqkrd5x.mjs +2 -0
- package/dist/chunks/cli-0.1.12-xj3mv67x.mjs +39 -0
- package/dist/chunks/cli-0.1.12-y04asmqh.mjs +2 -0
- package/dist/chunks/cli-0.1.12-y0fb5j7x.mjs +2 -0
- package/dist/chunks/cli-0.1.12-y9598sy3.mjs +16 -0
- package/dist/chunks/cli-0.1.12-ybm1kvwy.mjs +4 -0
- package/dist/chunks/cli-0.1.12-yk12dgnx.mjs +2 -0
- package/dist/chunks/cli-0.1.12-ytxphavm.mjs +2 -0
- package/dist/chunks/cli-0.1.12-z8eybrhz.mjs +2 -0
- package/dist/chunks/cli-0.1.12-zk49aaxv.mjs +2 -0
- package/dist/chunks/cli-0.1.12-zs5rpqmb.mjs +5 -0
- package/dist/chunks/cli-0.1.12-zwyec6tj.mjs +2 -0
- package/dist/chunks/client-0.1.12-f54egbjx.mjs +1 -0
- package/dist/chunks/color-0.1.12-jss6svg8.mjs +1 -0
- package/dist/chunks/compact-0.1.12-9b9fsqs5.mjs +3 -0
- package/dist/chunks/config-0.1.12-1pyte6wv.mjs +1 -0
- package/dist/chunks/config-0.1.12-ryxz4stj.mjs +1 -0
- package/dist/chunks/context-0.1.12-mnwn2xss.mjs +1 -0
- package/dist/chunks/context-noninteractive-0.1.12-qhe1aprp.mjs +1 -0
- package/dist/chunks/conversation-0.1.12-7pvwtwdn.mjs +1 -0
- package/dist/chunks/copy-0.1.12-w6tabpy0.mjs +9 -0
- package/dist/chunks/cost-0.1.12-3ca0tbv9.mjs +1 -0
- package/dist/chunks/createSession-0.1.12-117q0efg.mjs +1 -0
- package/dist/chunks/desktop-0.1.12-3t2jc3mt.mjs +1 -0
- package/dist/chunks/detectRepository-0.1.12-sd9276rx.mjs +1 -0
- package/dist/chunks/detection-0.1.12-c0tecfvg.mjs +1 -0
- package/dist/chunks/diff-0.1.12-2ck0qzp6.mjs +1 -0
- package/dist/chunks/doctor-0.1.12-rb6t847g.mjs +1 -0
- package/dist/chunks/earlyInput-0.1.12-b94g75cb.mjs +1 -0
- package/dist/chunks/effort-0.1.12-jxkp3wwf.mjs +8 -0
- package/dist/chunks/environmentSelection-0.1.12-z9knjbv1.mjs +1 -0
- package/dist/chunks/environments-0.1.12-m9v7hag6.mjs +1 -0
- package/dist/chunks/exit-0.1.12-0fzdjpbr.mjs +1 -0
- package/dist/chunks/export-0.1.12-s6ag6jke.mjs +2 -0
- package/dist/chunks/extra-usage-0.1.12-x8gd0q32.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-0.1.12-pfgq5r6b.mjs +1 -0
- package/dist/chunks/fast-0.1.12-9x69m50c.mjs +1 -0
- package/dist/chunks/feedback-0.1.12-d1j49tb4.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-0.1.12-95kzm3md.mjs +1 -0
- package/dist/chunks/git-0.1.12-7fyh5fhk.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-0.1.12-6em81h7g.mjs +1 -0
- package/dist/chunks/growthbook-0.1.12-4phnr6b3.mjs +1 -0
- package/dist/chunks/heapdump-0.1.12-m49qs4r7.mjs +6 -0
- package/dist/chunks/help-0.1.12-f02ce11x.mjs +1 -0
- package/dist/chunks/hookChains-0.1.12-brq8x7f7.mjs +3 -0
- package/dist/chunks/hooks-0.1.12-n1f9dp3r.mjs +1 -0
- package/dist/chunks/hooks-0.1.12-swtq74gm.mjs +79 -0
- package/dist/chunks/ide-0.1.12-553mazfs.mjs +3 -0
- package/dist/chunks/image-processor-napi-0.1.12-3mrm0vts.mjs +1 -0
- package/dist/chunks/index-0.1.12-218arkqe.mjs +9 -0
- package/dist/chunks/index-0.1.12-2ykt90tn.mjs +1 -0
- package/dist/chunks/index-0.1.12-34ew4zjx.mjs +1 -0
- package/dist/chunks/index-0.1.12-3nbh75ta.mjs +1 -0
- package/dist/chunks/index-0.1.12-41g5mvtk.mjs +7 -0
- package/dist/chunks/index-0.1.12-77szwkm6.mjs +1 -0
- package/dist/chunks/index-0.1.12-aeeh5zvp.mjs +1 -0
- package/dist/chunks/index-0.1.12-cpv0hf3f.mjs +1 -0
- package/dist/chunks/index-0.1.12-d5w1w05d.mjs +1 -0
- package/dist/chunks/index-0.1.12-d7j83tkh.mjs +1 -0
- package/dist/chunks/index-0.1.12-hvf65cbr.mjs +1 -0
- package/dist/chunks/index-0.1.12-m0e193t8.mjs +1 -0
- package/dist/chunks/index-0.1.12-nc3z95ph.mjs +5 -0
- package/dist/chunks/index-0.1.12-r92p75vh.mjs +1 -0
- package/dist/chunks/index-0.1.12-rhj8dsvk.mjs +30 -0
- package/dist/chunks/index-0.1.12-sxh3dwcy.mjs +1 -0
- package/dist/chunks/index-0.1.12-sy5zw7vk.mjs +1 -0
- package/dist/chunks/index-0.1.12-v53nbtdb.mjs +2 -0
- package/dist/chunks/index-0.1.12-vbv1ac2q.mjs +1 -0
- package/dist/chunks/index-0.1.12-z0brwe1k.mjs +2 -0
- package/dist/chunks/index-0.1.12-zc2ayczg.mjs +1 -0
- package/dist/chunks/index-0.1.12-zqrp5tve.mjs +9 -0
- package/dist/chunks/initReplBridge-0.1.12-yyn8mbyh.mjs +1 -0
- package/dist/chunks/ink-0.1.12-qdefs6hn.mjs +1 -0
- package/dist/chunks/insights-0.1.12-93mz1f1d.mjs +870 -0
- package/dist/chunks/install-0.1.12-11xkk6vf.mjs +1 -0
- package/dist/chunks/install-github-app-0.1.12-qd8g81v4.mjs +149 -0
- package/dist/chunks/install-slack-app-0.1.12-a44xy1pr.mjs +1 -0
- package/dist/chunks/instrumentation-0.1.12-nqv5x6q8.mjs +12 -0
- package/dist/chunks/interactiveHelpers-0.1.12-c4xec7dn.mjs +1 -0
- package/dist/chunks/keybindings-0.1.12-21jbfvfp.mjs +2 -0
- package/dist/chunks/knowledge-0.1.12-1zq0qj6h.mjs +2 -0
- package/dist/chunks/loadAgentsDir-0.1.12-1ckjzc8p.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.1.12-85daax4j.mjs +1 -0
- package/dist/chunks/logout-0.1.12-n2tbfcz8.mjs +1 -0
- package/dist/chunks/lsp-0.1.12-ks84es3y.mjs +1 -0
- package/dist/chunks/main-0.1.12-47ck3kj2.mjs +1 -0
- package/dist/chunks/managedEnv-0.1.12-vt155n3n.mjs +1 -0
- package/dist/chunks/mcp-0.1.12-93a71b1q.mjs +1 -0
- package/dist/chunks/mcp-0.1.12-rwfrrttw.mjs +4 -0
- package/dist/chunks/mcp-0.1.12-vm3tpth6.mjs +17 -0
- package/dist/chunks/mcpServer-0.1.12-zwsas6ss.mjs +1 -0
- package/dist/chunks/mcpb-0.1.12-mcbd7ywh.mjs +1 -0
- package/dist/chunks/memory-0.1.12-7x2msczw.mjs +3 -0
- package/dist/chunks/mobile-0.1.12-qdtxwz76.mjs +2 -0
- package/dist/chunks/model-0.1.12-15e9c8j0.mjs +2 -0
- package/dist/chunks/model-0.1.12-z2qjscwh.mjs +1 -0
- package/dist/chunks/oauth-0.1.12-3aky0v8n.mjs +1 -0
- package/dist/chunks/openaiShim-0.1.12-p458t1q6.mjs +14 -0
- package/dist/chunks/output-style-0.1.12-cahkbh9x.mjs +1 -0
- package/dist/chunks/package-HMBVQOZ4-0.1.12-3njzvqd2.mjs +1 -0
- package/dist/chunks/parser-0.1.12-jz2xz2kd.mjs +1 -0
- package/dist/chunks/passes-0.1.12-7vmawmvq.mjs +1 -0
- package/dist/chunks/permissions-0.1.12-dmp58kwy.mjs +3 -0
- package/dist/chunks/plan-0.1.12-waed49m8.mjs +1 -0
- package/dist/chunks/plist-0.1.12-65r770yt.mjs +1 -0
- package/dist/chunks/plugin-0.1.12-j30rqvv5.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-0.1.12-5bp08b06.mjs +1 -0
- package/dist/chunks/plugins-0.1.12-sm87b8fm.mjs +9 -0
- package/dist/chunks/print-0.1.12-8mgqmx4k.mjs +57 -0
- package/dist/chunks/privacy-settings-0.1.12-9drzsgkz.mjs +1 -0
- package/dist/chunks/process-0.1.12-t401v84c.mjs +1 -0
- package/dist/chunks/processBashCommand-0.1.12-3s8a2x65.mjs +1 -0
- package/dist/chunks/processSlashCommand-0.1.12-m9sh3sjt.mjs +9 -0
- package/dist/chunks/prompt-0.1.12-786vk11a.mjs +1 -0
- package/dist/chunks/prompt-0.1.12-fg4npvax.mjs +1 -0
- package/dist/chunks/prompts-0.1.12-h3xd9wvy.mjs +1 -0
- package/dist/chunks/provider-0.1.12-wrfpbx8a.mjs +2 -0
- package/dist/chunks/providerProfiles-0.1.12-3fp9n85w.mjs +1 -0
- package/dist/chunks/rate-limit-options-0.1.12-dx2886b6.mjs +1 -0
- package/dist/chunks/registry-0.1.12-btwd6z61.mjs +1 -0
- package/dist/chunks/release-notes-0.1.12-dwzs8z2c.mjs +5 -0
- package/dist/chunks/reload-plugins-0.1.12-ec88j31s.mjs +2 -0
- package/dist/chunks/remote-env-0.1.12-w15618dm.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-0.1.12-c0y46zw8.mjs +1 -0
- package/dist/chunks/remoteSession-0.1.12-npxn0mje.mjs +1 -0
- package/dist/chunks/rename-0.1.12-sbes9wm3.mjs +1 -0
- package/dist/chunks/replBridgeHandle-0.1.12-2jqj7bby.mjs +1 -0
- package/dist/chunks/resume-0.1.12-9vpmw2hg.mjs +2 -0
- package/dist/chunks/rewind-0.1.12-707se5pz.mjs +1 -0
- package/dist/chunks/sandbox-adapter-0.1.12-htfmfp9m.mjs +1 -0
- package/dist/chunks/sandbox-toggle-0.1.12-qq2yf1ta.mjs +1 -0
- package/dist/chunks/session-0.1.12-2xgt0x74.mjs +2 -0
- package/dist/chunks/sessionFileAccessHooks-0.1.12-xpxt6bqs.mjs +1 -0
- package/dist/chunks/sessionStorage-0.1.12-7s6eezdt.mjs +1 -0
- package/dist/chunks/setup-0.1.12-2kjx6mnf.mjs +5 -0
- package/dist/chunks/sinks-0.1.12-qvx26vtt.mjs +1 -0
- package/dist/chunks/skills-0.1.12-sh637gsv.mjs +1 -0
- package/dist/chunks/startupProfiler-0.1.12-n3fce9wg.mjs +1 -0
- package/dist/chunks/state-0.1.12-e374v6h8.mjs +1 -0
- package/dist/chunks/stats-0.1.12-5pj1c6sr.mjs +6 -0
- package/dist/chunks/status-0.1.12-qphx08h4.mjs +1 -0
- package/dist/chunks/stickers-0.1.12-dksexsqf.mjs +1 -0
- package/dist/chunks/subprocessEnv-0.1.12-sbpfvs29.mjs +1 -0
- package/dist/chunks/tasks-0.1.12-268nn2c6.mjs +1 -0
- package/dist/chunks/teamHelpers-0.1.12-3trvxmmz.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-0.1.12-28s4rsx4.mjs +1 -0
- package/dist/chunks/teleport-0.1.12-zz9z0w99.mjs +1 -0
- package/dist/chunks/terminalSetup-0.1.12-xf61sxh6.mjs +1 -0
- package/dist/chunks/theme-0.1.12-3rgm5yr1.mjs +1 -0
- package/dist/chunks/thinkback-0.1.12-sf0y9d2d.mjs +1 -0
- package/dist/chunks/thinkback-play-0.1.12-vyyv42tm.mjs +1 -0
- package/dist/chunks/toolPool-0.1.12-tyqns5jv.mjs +1 -0
- package/dist/chunks/toolSearch-0.1.12-k91edc7b.mjs +1 -0
- package/dist/chunks/trustedDevice-0.1.12-w1scr51x.mjs +1 -0
- package/dist/chunks/turndown.cjs-0.1.12-9525v010.mjs +69 -0
- package/dist/chunks/ultrareviewCommand-0.1.12-d5c4096k.mjs +4 -0
- package/dist/chunks/update-0.1.12-hwx0e6fq.mjs +94 -0
- package/dist/chunks/upgrade-0.1.12-zhqgygsd.mjs +1 -0
- package/dist/chunks/upstreamproxy-0.1.12-yhnqfcyb.mjs +14 -0
- package/dist/chunks/usage-0.1.12-g40wd0mq.mjs +1 -0
- package/dist/chunks/util-0.1.12-qdejkkj5.mjs +1 -0
- package/dist/chunks/utils-0.1.12-3f08ztd2.mjs +1 -0
- package/dist/chunks/vim-0.1.12-z78k9k65.mjs +1 -0
- package/dist/chunks/watcher-0.1.12-pkwq5a2d.mjs +1 -0
- package/dist/chunks/wiki-0.1.12-vecp82xq.mjs +132 -0
- package/dist/chunks/worktree-0.1.12-a1mh6hjt.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-0.1.12-amrewbka.mjs +1 -0
- package/dist/chunks/wrapper-0.1.12-bpewypaz.mjs +7 -0
- package/dist/claudio-vscode.vsix +0 -0
- package/dist/cli.mjs +3 -3
- package/package.json +4 -1
- package/dist/chunks/AgentTool-0.1.11-m06x003m.mjs +0 -1
- package/dist/chunks/App-0.1.11-z60c27dk.mjs +0 -1
- package/dist/chunks/ApproveApiKey-0.1.11-dpm879x7.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-0.1.11-kb5jvw8n.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-0.1.11-dnqj2p8g.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-0.1.11-h71pmj5p.mjs +0 -1
- package/dist/chunks/ClaudeInChromeOnboarding-0.1.11-vjwzqejw.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.1.11-0wpjjdn9.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-0.1.11-xzbcx3cw.mjs +0 -1
- package/dist/chunks/DiffDialog-0.1.11-k3zsm9tz.mjs +0 -3
- package/dist/chunks/Doctor-0.1.11-958cxvhj.mjs +0 -1
- package/dist/chunks/Grove-0.1.11-93bnbcec.mjs +0 -1
- package/dist/chunks/ITermBackend-0.1.11-xbxm144g.mjs +0 -1
- package/dist/chunks/InProcessTransport-0.1.11-xecmx0sw.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-0.1.11-vbeef1wb.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-0.1.11-5bct7bny.mjs +0 -1
- package/dist/chunks/MigrationDialog-0.1.11-13kfzmtt.mjs +0 -1
- package/dist/chunks/Onboarding-0.1.11-kz5hnpx3.mjs +0 -1
- package/dist/chunks/ProviderManager-0.1.11-nggswmdv.mjs +0 -1
- package/dist/chunks/REPL-0.1.11-ctxx4039.mjs +0 -1
- package/dist/chunks/ResumeConversation-0.1.11-gwxzn4yg.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-0.1.11-h881m192.mjs +0 -1
- package/dist/chunks/TeleportProgress-0.1.11-z1ez7pce.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-0.1.11-pjt2g9ss.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-0.1.11-9y29zset.mjs +0 -1
- package/dist/chunks/TmuxBackend-0.1.11-5a4ddj92.mjs +0 -9
- package/dist/chunks/ToolSearchTool-0.1.11-w3cgae0s.mjs +0 -1
- package/dist/chunks/TrustDialog-0.1.11-3dsrj239.mjs +0 -1
- package/dist/chunks/activeProvider-0.1.11-qrn947by.mjs +0 -1
- package/dist/chunks/add-dir-0.1.11-9j7tq9gk.mjs +0 -1
- package/dist/chunks/agents-0.1.11-26pbss9x.mjs +0 -3
- package/dist/chunks/agents-0.1.11-m56gfjmy.mjs +0 -111
- package/dist/chunks/api-0.1.11-5ygenb1h.mjs +0 -1
- package/dist/chunks/asciicast-0.1.11-7mkaazy8.mjs +0 -1
- package/dist/chunks/assistant-0.1.11-5xbar4vv.mjs +0 -1
- package/dist/chunks/auth-0.1.11-2363mst5.mjs +0 -1
- package/dist/chunks/auth-0.1.11-p47wajra.mjs +0 -1
- package/dist/chunks/autoMode-0.1.11-nv8vsag0.mjs +0 -48
- package/dist/chunks/backgroundHousekeeping-0.1.11-fy6tykxe.mjs +0 -1
- package/dist/chunks/branch-0.1.11-aqhrj1x2.mjs +0 -4
- package/dist/chunks/bridgePointer-0.1.11-wr8dfs91.mjs +0 -1
- package/dist/chunks/btw-0.1.11-2kks7dfd.mjs +0 -1
- package/dist/chunks/buddy-0.1.11-gsj76spy.mjs +0 -3
- package/dist/chunks/cacache-0.1.11-wtz0ca19.mjs +0 -1
- package/dist/chunks/cache-probe-0.1.11-pgsemwpr.mjs +0 -21
- package/dist/chunks/cacheStats-0.1.11-1zqq6pm7.mjs +0 -4
- package/dist/chunks/caches-0.1.11-vewfnrya.mjs +0 -1
- package/dist/chunks/chrome-0.1.11-0g5459b5.mjs +0 -1
- package/dist/chunks/chromeNativeHost-0.1.11-m5kskzjw.mjs +0 -2
- package/dist/chunks/claude-for-chrome-mcp-0.1.11-h99xhv8j.mjs +0 -1
- package/dist/chunks/claudeDesktop-0.1.11-zpdtj6k8.mjs +0 -1
- package/dist/chunks/claudemd-0.1.11-qrr22x5b.mjs +0 -1
- package/dist/chunks/clear-0.1.11-c93nbam7.mjs +0 -1
- package/dist/chunks/clearTerminal-0.1.11-pdrc3735.mjs +0 -1
- package/dist/chunks/cli-0.1.11-036me3yr.mjs +0 -2
- package/dist/chunks/cli-0.1.11-05g86mrk.mjs +0 -2
- package/dist/chunks/cli-0.1.11-05ngjm8p.mjs +0 -2
- package/dist/chunks/cli-0.1.11-0fshz0ak.mjs +0 -2
- package/dist/chunks/cli-0.1.11-0n77qn68.mjs +0 -2
- package/dist/chunks/cli-0.1.11-0qwee9gy.mjs +0 -2
- package/dist/chunks/cli-0.1.11-0tge574q.mjs +0 -2
- package/dist/chunks/cli-0.1.11-10nmrfsz.mjs +0 -8
- package/dist/chunks/cli-0.1.11-16086k9e.mjs +0 -2
- package/dist/chunks/cli-0.1.11-1b48xqbe.mjs +0 -2
- package/dist/chunks/cli-0.1.11-1bmswdg3.mjs +0 -2
- package/dist/chunks/cli-0.1.11-1bryv90w.mjs +0 -2
- package/dist/chunks/cli-0.1.11-1bxwxewq.mjs +0 -833
- package/dist/chunks/cli-0.1.11-1e6fgnts.mjs +0 -3
- package/dist/chunks/cli-0.1.11-1xr9et85.mjs +0 -2
- package/dist/chunks/cli-0.1.11-21epc92q.mjs +0 -2
- package/dist/chunks/cli-0.1.11-23qqxmk4.mjs +0 -2
- package/dist/chunks/cli-0.1.11-2w8d5vqb.mjs +0 -2
- package/dist/chunks/cli-0.1.11-2xf0g9qc.mjs +0 -45
- package/dist/chunks/cli-0.1.11-3f5dv6mt.mjs +0 -2
- package/dist/chunks/cli-0.1.11-3p2f194m.mjs +0 -2
- package/dist/chunks/cli-0.1.11-3tqzgd9f.mjs +0 -2
- package/dist/chunks/cli-0.1.11-424zgj5k.mjs +0 -4
- package/dist/chunks/cli-0.1.11-4bn5ap1n.mjs +0 -2
- package/dist/chunks/cli-0.1.11-4cdyzvxv.mjs +0 -3
- package/dist/chunks/cli-0.1.11-4ggr81tw.mjs +0 -2
- package/dist/chunks/cli-0.1.11-4xsg15d1.mjs +0 -2
- package/dist/chunks/cli-0.1.11-50naxqgt.mjs +0 -2
- package/dist/chunks/cli-0.1.11-56bdg2vw.mjs +0 -3
- package/dist/chunks/cli-0.1.11-56p41bk3.mjs +0 -2
- package/dist/chunks/cli-0.1.11-5e45zda5.mjs +0 -2
- package/dist/chunks/cli-0.1.11-5hrysrcd.mjs +0 -2
- package/dist/chunks/cli-0.1.11-5hs4xyjq.mjs +0 -2
- package/dist/chunks/cli-0.1.11-5vqj6k7m.mjs +0 -2
- package/dist/chunks/cli-0.1.11-5zqfr92n.mjs +0 -2
- package/dist/chunks/cli-0.1.11-6r97rwda.mjs +0 -2
- package/dist/chunks/cli-0.1.11-6vqzqsdj.mjs +0 -3
- package/dist/chunks/cli-0.1.11-6zkfmcxp.mjs +0 -2
- package/dist/chunks/cli-0.1.11-70f778wy.mjs +0 -2
- package/dist/chunks/cli-0.1.11-71ewwy7m.mjs +0 -50
- package/dist/chunks/cli-0.1.11-7238rfy8.mjs +0 -2
- package/dist/chunks/cli-0.1.11-7mmhsc3x.mjs +0 -2
- package/dist/chunks/cli-0.1.11-7qpnfx56.mjs +0 -2
- package/dist/chunks/cli-0.1.11-7t04gqx2.mjs +0 -3
- package/dist/chunks/cli-0.1.11-7tybqg56.mjs +0 -2
- package/dist/chunks/cli-0.1.11-7vz357wm.mjs +0 -58
- package/dist/chunks/cli-0.1.11-7xr2ermy.mjs +0 -2
- package/dist/chunks/cli-0.1.11-84j34n0s.mjs +0 -2
- package/dist/chunks/cli-0.1.11-852v06g0.mjs +0 -2
- package/dist/chunks/cli-0.1.11-8qrhqvh5.mjs +0 -2
- package/dist/chunks/cli-0.1.11-91mf8dfr.mjs +0 -2
- package/dist/chunks/cli-0.1.11-96y2d09c.mjs +0 -2
- package/dist/chunks/cli-0.1.11-98zcwng9.mjs +0 -2
- package/dist/chunks/cli-0.1.11-anegs86e.mjs +0 -7
- package/dist/chunks/cli-0.1.11-anvzywg4.mjs +0 -5
- package/dist/chunks/cli-0.1.11-at3c85af.mjs +0 -2
- package/dist/chunks/cli-0.1.11-b0jasw23.mjs +0 -9
- package/dist/chunks/cli-0.1.11-bbx2h4x9.mjs +0 -2
- package/dist/chunks/cli-0.1.11-be28ty4m.mjs +0 -2
- package/dist/chunks/cli-0.1.11-bhqwqe2w.mjs +0 -2
- package/dist/chunks/cli-0.1.11-bqpcwywz.mjs +0 -4
- package/dist/chunks/cli-0.1.11-btayz9zj.mjs +0 -2
- package/dist/chunks/cli-0.1.11-bvd2r7an.mjs +0 -252
- package/dist/chunks/cli-0.1.11-bwn9ehxv.mjs +0 -2
- package/dist/chunks/cli-0.1.11-bwpemkht.mjs +0 -2
- package/dist/chunks/cli-0.1.11-cdpswj0n.mjs +0 -2
- package/dist/chunks/cli-0.1.11-cezypfbt.mjs +0 -2
- package/dist/chunks/cli-0.1.11-cf049e4w.mjs +0 -134
- package/dist/chunks/cli-0.1.11-chnrb9xx.mjs +0 -10
- package/dist/chunks/cli-0.1.11-ctjvkg5k.mjs +0 -2
- package/dist/chunks/cli-0.1.11-cw0ss3jw.mjs +0 -4
- package/dist/chunks/cli-0.1.11-cwptjaf7.mjs +0 -12
- package/dist/chunks/cli-0.1.11-d10nfa6g.mjs +0 -11
- package/dist/chunks/cli-0.1.11-d3exw047.mjs +0 -2
- package/dist/chunks/cli-0.1.11-d4ahh3jz.mjs +0 -2
- package/dist/chunks/cli-0.1.11-da6szcvw.mjs +0 -2
- package/dist/chunks/cli-0.1.11-dcswnc8x.mjs +0 -24
- package/dist/chunks/cli-0.1.11-dpfxvfty.mjs +0 -2
- package/dist/chunks/cli-0.1.11-e5ecf583.mjs +0 -2
- package/dist/chunks/cli-0.1.11-e66dak4h.mjs +0 -4
- package/dist/chunks/cli-0.1.11-e7gjxknm.mjs +0 -16
- package/dist/chunks/cli-0.1.11-egck69w4.mjs +0 -2
- package/dist/chunks/cli-0.1.11-eh7tjdab.mjs +0 -18
- package/dist/chunks/cli-0.1.11-ek6mck0j.mjs +0 -2
- package/dist/chunks/cli-0.1.11-emw2wfff.mjs +0 -3
- package/dist/chunks/cli-0.1.11-fag2wtke.mjs +0 -2
- package/dist/chunks/cli-0.1.11-fptq9w4t.mjs +0 -2
- package/dist/chunks/cli-0.1.11-fs3d0ajf.mjs +0 -2
- package/dist/chunks/cli-0.1.11-fstfs72j.mjs +0 -2
- package/dist/chunks/cli-0.1.11-ft47r1wq.mjs +0 -2
- package/dist/chunks/cli-0.1.11-fveg0t77.mjs +0 -22
- package/dist/chunks/cli-0.1.11-fx6ztxrs.mjs +0 -5
- package/dist/chunks/cli-0.1.11-g2202evh.mjs +0 -2
- package/dist/chunks/cli-0.1.11-g33qp0jz.mjs +0 -2
- package/dist/chunks/cli-0.1.11-gc069ne7.mjs +0 -2
- package/dist/chunks/cli-0.1.11-gdcvfp9f.mjs +0 -2
- package/dist/chunks/cli-0.1.11-ggrme14p.mjs +0 -2
- package/dist/chunks/cli-0.1.11-h02tyg8p.mjs +0 -2
- package/dist/chunks/cli-0.1.11-h2hxx8ma.mjs +0 -12
- package/dist/chunks/cli-0.1.11-h3jatwe1.mjs +0 -2
- package/dist/chunks/cli-0.1.11-h762f6hr.mjs +0 -2
- package/dist/chunks/cli-0.1.11-h7e4rkwk.mjs +0 -31
- package/dist/chunks/cli-0.1.11-h7phna9g.mjs +0 -2
- package/dist/chunks/cli-0.1.11-hgsa4nnp.mjs +0 -2
- package/dist/chunks/cli-0.1.11-hhs8ke9g.mjs +0 -2
- package/dist/chunks/cli-0.1.11-hmfevmz1.mjs +0 -4
- package/dist/chunks/cli-0.1.11-hrn726gf.mjs +0 -2
- package/dist/chunks/cli-0.1.11-hzezqkew.mjs +0 -2
- package/dist/chunks/cli-0.1.11-jj3s3dxd.mjs +0 -15
- package/dist/chunks/cli-0.1.11-jjgjkqqv.mjs +0 -2
- package/dist/chunks/cli-0.1.11-jkrt4znb.mjs +0 -11
- package/dist/chunks/cli-0.1.11-jne21ka1.mjs +0 -2
- package/dist/chunks/cli-0.1.11-jr50ahcv.mjs +0 -3
- package/dist/chunks/cli-0.1.11-jye250b3.mjs +0 -2
- package/dist/chunks/cli-0.1.11-kghg51gb.mjs +0 -6
- package/dist/chunks/cli-0.1.11-kk0qqs5v.mjs +0 -7
- package/dist/chunks/cli-0.1.11-kndj4a86.mjs +0 -2
- package/dist/chunks/cli-0.1.11-kthpxpj3.mjs +0 -24
- package/dist/chunks/cli-0.1.11-ktwtyqmp.mjs +0 -2
- package/dist/chunks/cli-0.1.11-m0aaey0g.mjs +0 -4
- package/dist/chunks/cli-0.1.11-m1dpnkp0.mjs +0 -2
- package/dist/chunks/cli-0.1.11-mj78w4sp.mjs +0 -2
- package/dist/chunks/cli-0.1.11-mr356stf.mjs +0 -2
- package/dist/chunks/cli-0.1.11-mstxxz33.mjs +0 -2
- package/dist/chunks/cli-0.1.11-n23d2wej.mjs +0 -2
- package/dist/chunks/cli-0.1.11-n24p2y0p.mjs +0 -2
- package/dist/chunks/cli-0.1.11-na9tsy21.mjs +0 -2
- package/dist/chunks/cli-0.1.11-nesh7dep.mjs +0 -2
- package/dist/chunks/cli-0.1.11-nhjbgc7t.mjs +0 -2
- package/dist/chunks/cli-0.1.11-nhwmv5g6.mjs +0 -4
- package/dist/chunks/cli-0.1.11-nx8a99hz.mjs +0 -4
- package/dist/chunks/cli-0.1.11-p22bdjhv.mjs +0 -2
- package/dist/chunks/cli-0.1.11-p4eeg584.mjs +0 -5
- package/dist/chunks/cli-0.1.11-pfgwwtw9.mjs +0 -2
- package/dist/chunks/cli-0.1.11-pr9jdfxt.mjs +0 -3
- package/dist/chunks/cli-0.1.11-q58q9jqr.mjs +0 -2
- package/dist/chunks/cli-0.1.11-q89t0xzx.mjs +0 -2
- package/dist/chunks/cli-0.1.11-qbcfg80y.mjs +0 -16
- package/dist/chunks/cli-0.1.11-qheffjft.mjs +0 -2
- package/dist/chunks/cli-0.1.11-qpzn4q17.mjs +0 -15
- package/dist/chunks/cli-0.1.11-qrq0sw0h.mjs +0 -2
- package/dist/chunks/cli-0.1.11-r990p54m.mjs +0 -100
- package/dist/chunks/cli-0.1.11-rj68n2kw.mjs +0 -2
- package/dist/chunks/cli-0.1.11-rj9ea3zn.mjs +0 -2
- package/dist/chunks/cli-0.1.11-rmyvg4yw.mjs +0 -2
- package/dist/chunks/cli-0.1.11-rrnr3ab1.mjs +0 -2
- package/dist/chunks/cli-0.1.11-rvk3t45h.mjs +0 -2
- package/dist/chunks/cli-0.1.11-s6yfjcm5.mjs +0 -6
- package/dist/chunks/cli-0.1.11-s8ygndzf.mjs +0 -5036
- package/dist/chunks/cli-0.1.11-sma2xhvv.mjs +0 -2
- package/dist/chunks/cli-0.1.11-sqqzwx4h.mjs +0 -132
- package/dist/chunks/cli-0.1.11-t07hba0z.mjs +0 -2
- package/dist/chunks/cli-0.1.11-t7dc7fbj.mjs +0 -2
- package/dist/chunks/cli-0.1.11-ta77hm2b.mjs +0 -2
- package/dist/chunks/cli-0.1.11-trcf78n1.mjs +0 -2
- package/dist/chunks/cli-0.1.11-tvfkn5mh.mjs +0 -2
- package/dist/chunks/cli-0.1.11-v2s8ey1n.mjs +0 -12
- package/dist/chunks/cli-0.1.11-v6kwgrqc.mjs +0 -2
- package/dist/chunks/cli-0.1.11-v7bwjqf0.mjs +0 -192
- package/dist/chunks/cli-0.1.11-v8j5bkfs.mjs +0 -2
- package/dist/chunks/cli-0.1.11-vb5f7c3a.mjs +0 -2
- package/dist/chunks/cli-0.1.11-vch8cn95.mjs +0 -2
- package/dist/chunks/cli-0.1.11-vq5fvf9m.mjs +0 -44
- package/dist/chunks/cli-0.1.11-vzet5m4y.mjs +0 -2
- package/dist/chunks/cli-0.1.11-w3fp9par.mjs +0 -39
- package/dist/chunks/cli-0.1.11-w3trj52p.mjs +0 -21
- package/dist/chunks/cli-0.1.11-w3ydpv9v.mjs +0 -2
- package/dist/chunks/cli-0.1.11-wc9bay3d.mjs +0 -34
- package/dist/chunks/cli-0.1.11-weav8142.mjs +0 -2
- package/dist/chunks/cli-0.1.11-wjxhn7j5.mjs +0 -2
- package/dist/chunks/cli-0.1.11-x37jysc0.mjs +0 -14
- package/dist/chunks/cli-0.1.11-x5nvafch.mjs +0 -2
- package/dist/chunks/cli-0.1.11-xhrk5hr0.mjs +0 -2
- package/dist/chunks/cli-0.1.11-xp93fxnp.mjs +0 -2
- package/dist/chunks/cli-0.1.11-xwj7cmkj.mjs +0 -2
- package/dist/chunks/cli-0.1.11-y4c6y87y.mjs +0 -2
- package/dist/chunks/cli-0.1.11-y909w8bb.mjs +0 -2
- package/dist/chunks/cli-0.1.11-yd6f29v2.mjs +0 -2
- package/dist/chunks/cli-0.1.11-yhk2y3c0.mjs +0 -2
- package/dist/chunks/cli-0.1.11-yrfxpjhr.mjs +0 -2
- package/dist/chunks/cli-0.1.11-yv5pfq6n.mjs +0 -2
- package/dist/chunks/cli-0.1.11-yvnhbsfn.mjs +0 -3
- package/dist/chunks/cli-0.1.11-z0thk4h0.mjs +0 -2
- package/dist/chunks/cli-0.1.11-z4hb2mcd.mjs +0 -2
- package/dist/chunks/cli-0.1.11-z62s8qx1.mjs +0 -2
- package/dist/chunks/cli-0.1.11-zb2sa3e2.mjs +0 -13
- package/dist/chunks/cli-0.1.11-zdyddegg.mjs +0 -2
- package/dist/chunks/cli-0.1.11-zfnmx1ny.mjs +0 -2
- package/dist/chunks/cli-0.1.11-zwkjaj0d.mjs +0 -2
- package/dist/chunks/client-0.1.11-h38k7vkj.mjs +0 -1
- package/dist/chunks/color-0.1.11-b7favzc8.mjs +0 -1
- package/dist/chunks/compact-0.1.11-damm234b.mjs +0 -3
- package/dist/chunks/config-0.1.11-bb6v0pwv.mjs +0 -1
- package/dist/chunks/config-0.1.11-cqy7fnab.mjs +0 -1
- package/dist/chunks/context-0.1.11-e2s56h3b.mjs +0 -1
- package/dist/chunks/context-noninteractive-0.1.11-s6b9q91h.mjs +0 -1
- package/dist/chunks/conversation-0.1.11-d8ejy4b9.mjs +0 -1
- package/dist/chunks/copy-0.1.11-aq32vn1b.mjs +0 -9
- package/dist/chunks/cost-0.1.11-3z9y6a5a.mjs +0 -1
- package/dist/chunks/createSession-0.1.11-rgaw7n2v.mjs +0 -1
- package/dist/chunks/desktop-0.1.11-k8ac4bfx.mjs +0 -1
- package/dist/chunks/detectRepository-0.1.11-m3chgqa1.mjs +0 -1
- package/dist/chunks/detection-0.1.11-aa9k5rxv.mjs +0 -1
- package/dist/chunks/devtools-0.1.11-fkz4akhx.mjs +0 -1
- package/dist/chunks/diff-0.1.11-tcqh42f6.mjs +0 -1
- package/dist/chunks/doctor-0.1.11-6fwwz8hp.mjs +0 -1
- package/dist/chunks/earlyInput-0.1.11-94asnfvh.mjs +0 -1
- package/dist/chunks/effort-0.1.11-zcxskzrb.mjs +0 -8
- package/dist/chunks/environmentSelection-0.1.11-6ngvrt1m.mjs +0 -1
- package/dist/chunks/environments-0.1.11-pdsv6dgq.mjs +0 -1
- package/dist/chunks/exit-0.1.11-2jab9tfm.mjs +0 -1
- package/dist/chunks/export-0.1.11-wv5bd05w.mjs +0 -2
- package/dist/chunks/extra-usage-0.1.11-f5rm0265.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-0.1.11-dt7znwbn.mjs +0 -1
- package/dist/chunks/fast-0.1.11-a665n9kz.mjs +0 -1
- package/dist/chunks/feedback-0.1.11-q77qty87.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-0.1.11-y7qkhdj6.mjs +0 -1
- package/dist/chunks/git-0.1.11-g77ppr52.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-0.1.11-9vhs3xqj.mjs +0 -1
- package/dist/chunks/growthbook-0.1.11-2w2b1mzd.mjs +0 -1
- package/dist/chunks/heapdump-0.1.11-b216wzt7.mjs +0 -6
- package/dist/chunks/help-0.1.11-byp88gen.mjs +0 -1
- package/dist/chunks/hookChains-0.1.11-jp8f82q7.mjs +0 -3
- package/dist/chunks/hooks-0.1.11-v9jan2ss.mjs +0 -1
- package/dist/chunks/hooks-0.1.11-vf6vcsgg.mjs +0 -79
- package/dist/chunks/ide-0.1.11-7nxbd03r.mjs +0 -3
- package/dist/chunks/image-processor-napi-0.1.11-dpg3ygnw.mjs +0 -1
- package/dist/chunks/index-0.1.11-3dfjfmc6.mjs +0 -1
- package/dist/chunks/index-0.1.11-82wnmfq3.mjs +0 -9
- package/dist/chunks/index-0.1.11-8gtaa17w.mjs +0 -1
- package/dist/chunks/index-0.1.11-ajdpkanw.mjs +0 -1
- package/dist/chunks/index-0.1.11-b2q967nq.mjs +0 -30
- package/dist/chunks/index-0.1.11-bhrstsgc.mjs +0 -1
- package/dist/chunks/index-0.1.11-d6qbzwah.mjs +0 -1
- package/dist/chunks/index-0.1.11-d9ft1b0s.mjs +0 -1
- package/dist/chunks/index-0.1.11-e52dzxjz.mjs +0 -5
- package/dist/chunks/index-0.1.11-gb3saayk.mjs +0 -2
- package/dist/chunks/index-0.1.11-kksxmkwe.mjs +0 -1
- package/dist/chunks/index-0.1.11-n564rmwy.mjs +0 -1
- package/dist/chunks/index-0.1.11-n90nxjqp.mjs +0 -1
- package/dist/chunks/index-0.1.11-p0j3w83p.mjs +0 -1
- package/dist/chunks/index-0.1.11-pmkgntay.mjs +0 -7
- package/dist/chunks/index-0.1.11-qspcw49p.mjs +0 -1
- package/dist/chunks/index-0.1.11-r6p77pf7.mjs +0 -1
- package/dist/chunks/index-0.1.11-s0w8xy7q.mjs +0 -9
- package/dist/chunks/index-0.1.11-wbhj1ny7.mjs +0 -1
- package/dist/chunks/index-0.1.11-wze82293.mjs +0 -1
- package/dist/chunks/index-0.1.11-xs4mng75.mjs +0 -1
- package/dist/chunks/index-0.1.11-yej3awws.mjs +0 -2
- package/dist/chunks/initReplBridge-0.1.11-71963wyw.mjs +0 -1
- package/dist/chunks/ink-0.1.11-tzp2q9bd.mjs +0 -1
- package/dist/chunks/insights-0.1.11-4yjg2bxs.mjs +0 -870
- package/dist/chunks/install-0.1.11-4zfvr6pk.mjs +0 -1
- package/dist/chunks/install-github-app-0.1.11-frqzdwsz.mjs +0 -149
- package/dist/chunks/install-slack-app-0.1.11-0yyjjvrw.mjs +0 -1
- package/dist/chunks/instrumentation-0.1.11-zyp2r390.mjs +0 -12
- package/dist/chunks/interactiveHelpers-0.1.11-chnsxp26.mjs +0 -1
- package/dist/chunks/keybindings-0.1.11-r2jke9h5.mjs +0 -2
- package/dist/chunks/knowledge-0.1.11-wpjw8ybd.mjs +0 -2
- package/dist/chunks/loadAgentsDir-0.1.11-bwymseqa.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.1.11-npf49gc4.mjs +0 -1
- package/dist/chunks/logout-0.1.11-48ynp610.mjs +0 -1
- package/dist/chunks/lsp-0.1.11-e4z6m5t5.mjs +0 -1
- package/dist/chunks/main-0.1.11-6sh6xycv.mjs +0 -1
- package/dist/chunks/managedEnv-0.1.11-6bnnpsm0.mjs +0 -1
- package/dist/chunks/mcp-0.1.11-vjjx8eer.mjs +0 -17
- package/dist/chunks/mcp-0.1.11-zf74a6am.mjs +0 -4
- package/dist/chunks/mcp-0.1.11-zw22jjqc.mjs +0 -1
- package/dist/chunks/mcpServer-0.1.11-czg51mvy.mjs +0 -1
- package/dist/chunks/mcpb-0.1.11-czkze48a.mjs +0 -1
- package/dist/chunks/memory-0.1.11-k7y98zqn.mjs +0 -3
- package/dist/chunks/mobile-0.1.11-2w5py2cb.mjs +0 -2
- package/dist/chunks/model-0.1.11-4v166f98.mjs +0 -2
- package/dist/chunks/model-0.1.11-qekc9c4w.mjs +0 -1
- package/dist/chunks/oauth-0.1.11-jkkd9wzq.mjs +0 -1
- package/dist/chunks/openaiShim-0.1.11-b9yqnc9c.mjs +0 -14
- package/dist/chunks/output-style-0.1.11-zwxn1knb.mjs +0 -1
- package/dist/chunks/package-HMBVQOZ4-0.1.11-n77wqhxr.mjs +0 -1
- package/dist/chunks/parser-0.1.11-vvhz2p5h.mjs +0 -1
- package/dist/chunks/passes-0.1.11-dgshr9c4.mjs +0 -1
- package/dist/chunks/permissions-0.1.11-71fn7rsk.mjs +0 -3
- package/dist/chunks/plan-0.1.11-1xyzxjgr.mjs +0 -1
- package/dist/chunks/plist-0.1.11-0sn6nqv3.mjs +0 -1
- package/dist/chunks/plugin-0.1.11-menj210d.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-0.1.11-ytjn1kxg.mjs +0 -1
- package/dist/chunks/plugins-0.1.11-t3pgcpcj.mjs +0 -9
- package/dist/chunks/print-0.1.11-y9vz77h9.mjs +0 -57
- package/dist/chunks/privacy-settings-0.1.11-3ah0v02p.mjs +0 -1
- package/dist/chunks/process-0.1.11-s6jnx5xw.mjs +0 -1
- package/dist/chunks/processBashCommand-0.1.11-txp79ekj.mjs +0 -1
- package/dist/chunks/processSlashCommand-0.1.11-fdvs7etd.mjs +0 -9
- package/dist/chunks/prompt-0.1.11-4f7rsvd2.mjs +0 -1
- package/dist/chunks/prompt-0.1.11-bzkv3rsd.mjs +0 -1
- package/dist/chunks/prompts-0.1.11-xczb1nwa.mjs +0 -1
- package/dist/chunks/provider-0.1.11-cqeqqqbt.mjs +0 -2
- package/dist/chunks/providerProfiles-0.1.11-ewn8w0f1.mjs +0 -1
- package/dist/chunks/rate-limit-options-0.1.11-6bca3g5n.mjs +0 -1
- package/dist/chunks/registry-0.1.11-wjnpx9yf.mjs +0 -1
- package/dist/chunks/release-notes-0.1.11-dhe37z3c.mjs +0 -5
- package/dist/chunks/reload-plugins-0.1.11-gzep3pg3.mjs +0 -2
- package/dist/chunks/remote-env-0.1.11-yday97nq.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-0.1.11-hn821p07.mjs +0 -1
- package/dist/chunks/remoteSession-0.1.11-g3h440pv.mjs +0 -1
- package/dist/chunks/rename-0.1.11-ke9btph2.mjs +0 -1
- package/dist/chunks/replBridgeHandle-0.1.11-t5njc196.mjs +0 -1
- package/dist/chunks/resume-0.1.11-d4bbgty9.mjs +0 -2
- package/dist/chunks/rewind-0.1.11-t4mfk815.mjs +0 -1
- package/dist/chunks/sandbox-adapter-0.1.11-3czn1nws.mjs +0 -1
- package/dist/chunks/sandbox-toggle-0.1.11-qxv2w9n1.mjs +0 -1
- package/dist/chunks/session-0.1.11-2z972raf.mjs +0 -2
- package/dist/chunks/sessionFileAccessHooks-0.1.11-f3exnspr.mjs +0 -1
- package/dist/chunks/sessionStorage-0.1.11-aa2ftdjn.mjs +0 -1
- package/dist/chunks/setup-0.1.11-epmpszzf.mjs +0 -5
- package/dist/chunks/sinks-0.1.11-q3zcj5me.mjs +0 -1
- package/dist/chunks/skills-0.1.11-9xbyp1p5.mjs +0 -1
- package/dist/chunks/startupProfiler-0.1.11-5s07826j.mjs +0 -1
- package/dist/chunks/state-0.1.11-3fjxywyv.mjs +0 -1
- package/dist/chunks/stats-0.1.11-hxzms6gg.mjs +0 -6
- package/dist/chunks/status-0.1.11-drvp15n8.mjs +0 -1
- package/dist/chunks/stickers-0.1.11-44f4tawn.mjs +0 -1
- package/dist/chunks/subprocessEnv-0.1.11-5w00fpez.mjs +0 -1
- package/dist/chunks/tasks-0.1.11-dn8h18fk.mjs +0 -1
- package/dist/chunks/teamHelpers-0.1.11-ca7kref8.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-0.1.11-an88rdgv.mjs +0 -1
- package/dist/chunks/teleport-0.1.11-8e3k0ex6.mjs +0 -1
- package/dist/chunks/terminalSetup-0.1.11-gtdwp0an.mjs +0 -1
- package/dist/chunks/theme-0.1.11-p447kczd.mjs +0 -1
- package/dist/chunks/thinkback-0.1.11-3f1xvkt5.mjs +0 -1
- package/dist/chunks/thinkback-play-0.1.11-0ax4h089.mjs +0 -1
- package/dist/chunks/toolPool-0.1.11-xrywy61j.mjs +0 -1
- package/dist/chunks/toolSearch-0.1.11-7yjvjxhp.mjs +0 -1
- package/dist/chunks/trustedDevice-0.1.11-070f1wch.mjs +0 -1
- package/dist/chunks/turndown.cjs-0.1.11-brwqmyse.mjs +0 -69
- package/dist/chunks/ultrareviewCommand-0.1.11-0m9b3kr5.mjs +0 -4
- package/dist/chunks/update-0.1.11-p33kxpg4.mjs +0 -94
- package/dist/chunks/upgrade-0.1.11-1aj14cqt.mjs +0 -1
- package/dist/chunks/upstreamproxy-0.1.11-vk16qw88.mjs +0 -14
- package/dist/chunks/usage-0.1.11-hch4v5jb.mjs +0 -1
- package/dist/chunks/util-0.1.11-sjkxad5k.mjs +0 -1
- package/dist/chunks/utils-0.1.11-2bk8zn4g.mjs +0 -1
- package/dist/chunks/vim-0.1.11-v1rz1d56.mjs +0 -1
- package/dist/chunks/watcher-0.1.11-v8mkv1xy.mjs +0 -1
- package/dist/chunks/wiki-0.1.11-v0twhcnn.mjs +0 -132
- package/dist/chunks/worktree-0.1.11-d7chpamf.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-0.1.11-tsxv6h6g.mjs +0 -1
- package/dist/chunks/wrapper-0.1.11-rt9xsnjh.mjs +0 -7
- /package/dist/chunks/{cli-0.1.11-4px8nt5r.mjs → cli-0.1.12-41zq3gv6.mjs} +0 -0
- /package/dist/chunks/{cli-0.1.11-tyh8gms9.mjs → cli-0.1.12-ng34ay3g.mjs} +0 -0
- /package/dist/chunks/{cli-0.1.11-x3q39kf7.mjs → cli-0.1.12-tvawkeks.mjs} +0 -0
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{Gh as g,Hh as OJ}from"./cli-0.1.11-nhjbgc7t.mjs";import{Az as l,Dz as r,Ez as wJ,ov as KJ,pv as SJ,vz as N,xz as UJ,yz as c,zz as i}from"./cli-0.1.11-s8ygndzf.mjs";import"./cli-0.1.11-1bryv90w.mjs";import"./cli-0.1.11-5e45zda5.mjs";import"./cli-0.1.11-jjgjkqqv.mjs";import{LP as JJ,MP as BJ}from"./cli-0.1.11-r990p54m.mjs";import"./cli-0.1.11-70f778wy.mjs";import"./cli-0.1.11-weav8142.mjs";import"./cli-0.1.11-t7dc7fbj.mjs";import"./cli-0.1.11-vb5f7c3a.mjs";import"./cli-0.1.11-sma2xhvv.mjs";import"./cli-0.1.11-852v06g0.mjs";import"./cli-0.1.11-z4hb2mcd.mjs";import"./cli-0.1.11-mj78w4sp.mjs";import"./cli-0.1.11-qrq0sw0h.mjs";import"./cli-0.1.11-d4ahh3jz.mjs";import"./cli-0.1.11-wc9bay3d.mjs";import"./cli-0.1.11-rvk3t45h.mjs";import"./cli-0.1.11-0n77qn68.mjs";import"./cli-0.1.11-h02tyg8p.mjs";import{QU as e,SU as f,eT as _J,vV as IJ}from"./cli-0.1.11-bvd2r7an.mjs";import"./cli-0.1.11-jr50ahcv.mjs";import"./cli-0.1.11-6zkfmcxp.mjs";import"./cli-0.1.11-jkrt4znb.mjs";import"./cli-0.1.11-424zgj5k.mjs";import"./cli-0.1.11-rj9ea3zn.mjs";import"./cli-0.1.11-mstxxz33.mjs";import"./cli-0.1.11-kghg51gb.mjs";import"./cli-0.1.11-fstfs72j.mjs";import{qX as I}from"./cli-0.1.11-kk0qqs5v.mjs";import{rX as RJ}from"./cli-0.1.11-x37jysc0.mjs";import"./cli-0.1.11-h762f6hr.mjs";import"./cli-0.1.11-50naxqgt.mjs";import{FX as p,HX as x,MX as PJ}from"./cli-0.1.11-v6kwgrqc.mjs";import"./cli-0.1.11-16086k9e.mjs";import"./cli-0.1.11-bwpemkht.mjs";import"./cli-0.1.11-dcswnc8x.mjs";import"./cli-0.1.11-p22bdjhv.mjs";import"./cli-0.1.11-y4c6y87y.mjs";import"./cli-0.1.11-q58q9jqr.mjs";import"./cli-0.1.11-zb2sa3e2.mjs";import"./cli-0.1.11-3p2f194m.mjs";import"./cli-0.1.11-05ngjm8p.mjs";import"./cli-0.1.11-yv5pfq6n.mjs";import{P4 as C,X4 as b,Z4 as u,i5 as v}from"./cli-0.1.11-qbcfg80y.mjs";import"./cli-0.1.11-b0jasw23.mjs";import"./cli-0.1.11-s6yfjcm5.mjs";import"./cli-0.1.11-sqqzwx4h.mjs";import{k6 as h,o6 as yJ}from"./cli-0.1.11-2w8d5vqb.mjs";import{G6 as WJ,p6 as E}from"./cli-0.1.11-d10nfa6g.mjs";import"./cli-0.1.11-h2hxx8ma.mjs";import"./cli-0.1.11-1xr9et85.mjs";import{N8 as AJ,S7 as S,U7 as TJ,p8 as V,w8 as m}from"./cli-0.1.11-v7bwjqf0.mjs";import"./cli-0.1.11-h7e4rkwk.mjs";import"./cli-0.1.11-7xr2ermy.mjs";import{Oea as k,Pea as HJ}from"./cli-0.1.11-7qpnfx56.mjs";import"./cli-0.1.11-vch8cn95.mjs";import{bfa as d,nfa as qJ}from"./cli-0.1.11-fag2wtke.mjs";import"./cli-0.1.11-nx8a99hz.mjs";import"./cli-0.1.11-ktwtyqmp.mjs";import{dga as F,ega as LJ}from"./cli-0.1.11-xwj7cmkj.mjs";import{bha as j,eha as FJ}from"./cli-0.1.11-vq5fvf9m.mjs";import"./cli-0.1.11-d3exw047.mjs";import"./cli-0.1.11-e5ecf583.mjs";import"./cli-0.1.11-rrnr3ab1.mjs";import"./cli-0.1.11-98zcwng9.mjs";import{Nna as U,Rna as _}from"./cli-0.1.11-yrfxpjhr.mjs";async function D(){if(!C())return null;try{let{accessToken:Q,orgUUID:J}=await p();return(await E.get(`${k().BASE_API_URL}/v1/ultrareview/quota`,{headers:{...x(Q),"x-organization-uuid":J},timeout:5000})).data}catch(Q){return j(`fetchUltrareviewQuota failed: ${Q}`),null}}var $=_(()=>{WJ();HJ();v();FJ();PJ()});function o(){s=!0}async function a(){if(b()||u())return{kind:"proceed",billingNote:""};let[Q,J]=await Promise.all([D(),g().catch(()=>null)]);if(!Q)return{kind:"proceed",billingNote:""};if(Q.reviews_remaining>0)return{kind:"proceed",billingNote:` This is free ultrareview ${Q.reviews_used+1} of ${Q.reviews_limit}.`};if(!J)return{kind:"proceed",billingNote:""};let Z=J.extra_usage;if(!Z?.is_enabled)return F("tengu_review_overage_not_enabled",{}),{kind:"not-enabled"};let X=Z.monthly_limit,z=Z.used_credits??0,G=X===null||X===void 0?1/0:X-z;if(G<10)return F("tengu_review_overage_low_balance",{available:G}),{kind:"low-balance",available:G};if(!s)return F("tengu_review_overage_dialog_shown",{}),{kind:"needs-confirm"};return{kind:"proceed",billingNote:" This review bills as Extra Usage."}}async function n(Q,J,Z){let X=await c();if(!X.eligible){let K=X.errors.filter((Y)=>Y.type!=="no_remote_environment");if(K.length>0)return F("tengu_review_remote_precondition_failed",{precondition_errors:K.map((q)=>q.type).join(",")}),[{type:"text",text:`Ultrareview cannot launch:
|
|
2
|
-
${K.map(i).join(`
|
|
3
|
-
`)}`}]}let z=Z??"",G=Q.trim(),A=/^\d+$/.test(G),w="env_011111111111111111111113",H=d("tengu_review_bughunter_config",null),W=(K,Y,q)=>{if(typeof K!=="number"||!Number.isFinite(K))return Y;let y=Math.floor(K);if(y<=0)return Y;return q!==void 0&&y>q?Y:y},T={BUGHUNTER_DRY_RUN:"1",BUGHUNTER_FLEET_SIZE:String(W(H?.fleet_size,5,20)),BUGHUNTER_MAX_DURATION:String(W(H?.max_duration_minutes,10,25)),BUGHUNTER_AGENT_TIMEOUT:String(W(H?.agent_timeout_seconds,600,1800)),BUGHUNTER_TOTAL_WALLCLOCK:String(W(H?.total_wallclock_minutes,22,27)),...process.env.BUGHUNTER_DEV_BUNDLE_B64&&{BUGHUNTER_DEV_BUNDLE_B64:process.env.BUGHUNTER_DEV_BUNDLE_B64}},M,P,R;if(A){let K=await h();if(!K||K.host!=="github.com")return F("tengu_review_remote_precondition_failed",{}),null;M=await N({initialMessage:null,description:`ultrareview: ${K.owner}/${K.name}#${G}`,signal:J.abortController.signal,branchName:`refs/pull/${G}/head`,environmentId:w,environmentVariables:{BUGHUNTER_PR_NUMBER:G,BUGHUNTER_REPOSITORY:`${K.owner}/${K.name}`,...T}}),P=`/ultrareview ${G}`,R=`${K.owner}/${K.name}#${G}`}else{let K=await m()||"main",{stdout:Y,code:q}=await S(V(),["merge-base",K,"HEAD"],{preserveOutputOnError:!1}),y=Y.trim();if(q!==0||!y)return F("tengu_review_remote_precondition_failed",{}),[{type:"text",text:`Could not find merge-base with ${K}. Make sure you're in a git repo with a ${K} branch.`}];let{stdout:YJ,code:zJ}=await S(V(),["diff","--shortstat",y],{preserveOutputOnError:!1});if(zJ===0&&!YJ.trim())return F("tengu_review_remote_precondition_failed",{}),[{type:"text",text:`No changes against the ${K} fork point. Make some commits or stage files first.`}];if(M=await N({initialMessage:null,description:`ultrareview: ${K}`,signal:J.abortController.signal,useBundle:!0,environmentId:w,environmentVariables:{BUGHUNTER_BASE_BRANCH:y,...T}}),!M)return F("tengu_review_remote_teleport_failed",{}),[{type:"text",text:"Repo is too large. Push a PR and use `/ultrareview <PR#>` instead."}];P="/ultrareview",R=K}if(!M)return F("tengu_review_remote_teleport_failed",{}),null;l({remoteTaskType:"ultrareview",session:M,command:P,context:J,isRemoteReview:!0}),F("tengu_review_remote_launched",{});let L=r(M.id);return[{type:"text",text:`Ultrareview launched for ${R} (~10–20 min, runs in the cloud). Track: ${L}${z} Findings arrive via task-notification. Briefly acknowledge the launch to the user without repeating the target or URL — both are already visible in the tool output above.`}]}var s=!1;var t=_(()=>{qJ();LJ();$();OJ();wJ();v();yJ();TJ();AJ();UJ()});function XJ(Q){let J=QJ.c(15),{onProceed:Z,onCancel:X}=Q,[z,G]=B.useState(!1),A;if(J[0]===Symbol.for("react.memo_cache_sentinel"))A=new AbortController,J[0]=A;else A=J[0];let w=B.useRef(A),H;if(J[1]!==X||J[2]!==Z)H=(q)=>{if(q==="proceed")G(!0),Z(w.current.signal).catch(()=>G(!1));else X()},J[1]=X,J[2]=Z,J[3]=H;else H=J[3];let W=H,T;if(J[4]!==X)T=()=>{w.current.abort(),X()},J[4]=X,J[5]=T;else T=J[5];let M=T,P;if(J[6]===Symbol.for("react.memo_cache_sentinel"))P=[{label:"Proceed with Extra Usage billing",value:"proceed"},{label:"Cancel",value:"cancel"}],J[6]=P;else P=J[6];let R=P,L;if(J[7]===Symbol.for("react.memo_cache_sentinel"))L=O.jsxDEV(f,{children:"Your free ultrareviews for this organization are used. Further reviews bill as Extra Usage (pay-per-use)."},void 0,!1,void 0,this),J[7]=L;else L=J[7];let K;if(J[8]!==M||J[9]!==W||J[10]!==z)K=O.jsxDEV(e,{flexDirection:"column",gap:1,children:[L,z?O.jsxDEV(f,{color:"background",children:"Launching…"},void 0,!1,void 0,this):O.jsxDEV(KJ,{options:R,onChange:W,onCancel:M},void 0,!1,void 0,this)]},void 0,!0,void 0,this),J[8]=M,J[9]=W,J[10]=z,J[11]=K;else K=J[11];let Y;if(J[12]!==M||J[13]!==K)Y=O.jsxDEV(JJ,{title:"Ultrareview billing",onCancel:M,color:"background",children:K},void 0,!1,void 0,this),J[12]=M,J[13]=K,J[14]=Y;else Y=J[14];return Y}var QJ,B,O;var ZJ=_(()=>{SJ();BJ();IJ();QJ=U(_J(),1),B=U(RJ(),1),O=U(I(),1)});function VJ(Q){return Q.map((J)=>J.type==="text"?J.text:"").filter(Boolean).join(`
|
|
4
|
-
`)}async function GJ(Q,J,Z,X,z){let G=await n(Q,J,X);if(z?.aborted)return;if(G)Z(VJ(G),{shouldQuery:!0});else Z("Ultrareview failed to launch the remote session. Check that this is a GitHub repo and try again.",{display:"system"})}var MJ,eJ=async(Q,J,Z)=>{let X=await a();if(X.kind==="not-enabled")return Q("Free ultrareviews used. Enable Extra Usage at https://claude.ai/settings/billing to continue.",{display:"system"}),null;if(X.kind==="low-balance")return Q(`Balance too low to launch ultrareview ($${X.available.toFixed(2)} available, $10 minimum). Top up at https://claude.ai/settings/billing`,{display:"system"}),null;if(X.kind==="needs-confirm")return MJ.jsxDEV(XJ,{onProceed:async(z)=>{if(await GJ(Z,J,Q," This review bills as Extra Usage.",z),!z.aborted)o()},onCancel:()=>Q("Ultrareview cancelled.",{display:"system"})},void 0,!1,void 0,this);return await GJ(Z,J,Q,X.billingNote),null};var NJ=_(()=>{t();ZJ();MJ=U(I(),1)});NJ();export{eJ as call};
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import{Vu as Z,Wu as o,Zv as G,bw as b,cw as t,dw as D,ew as E,gw as e,hw as F,iw as qq,kw as f,lw as Jq,tw as L,ww as m,zw as Kq}from"./cli-0.1.11-s8ygndzf.mjs";import"./cli-0.1.11-1bryv90w.mjs";import"./cli-0.1.11-5e45zda5.mjs";import"./cli-0.1.11-jjgjkqqv.mjs";import"./cli-0.1.11-r990p54m.mjs";import"./cli-0.1.11-70f778wy.mjs";import"./cli-0.1.11-weav8142.mjs";import"./cli-0.1.11-t7dc7fbj.mjs";import"./cli-0.1.11-vb5f7c3a.mjs";import"./cli-0.1.11-sma2xhvv.mjs";import"./cli-0.1.11-852v06g0.mjs";import"./cli-0.1.11-z4hb2mcd.mjs";import"./cli-0.1.11-mj78w4sp.mjs";import"./cli-0.1.11-qrq0sw0h.mjs";import"./cli-0.1.11-d4ahh3jz.mjs";import"./cli-0.1.11-wc9bay3d.mjs";import"./cli-0.1.11-rvk3t45h.mjs";import"./cli-0.1.11-0n77qn68.mjs";import"./cli-0.1.11-h02tyg8p.mjs";import{PU as h,VU as d}from"./cli-0.1.11-bvd2r7an.mjs";import"./cli-0.1.11-jr50ahcv.mjs";import{FV as v,IV as l}from"./cli-0.1.11-6zkfmcxp.mjs";import"./cli-0.1.11-jkrt4znb.mjs";import"./cli-0.1.11-424zgj5k.mjs";import"./cli-0.1.11-rj9ea3zn.mjs";import"./cli-0.1.11-mstxxz33.mjs";import"./cli-0.1.11-kghg51gb.mjs";import"./cli-0.1.11-fstfs72j.mjs";import"./cli-0.1.11-kk0qqs5v.mjs";import"./cli-0.1.11-x37jysc0.mjs";import"./cli-0.1.11-h762f6hr.mjs";import"./cli-0.1.11-50naxqgt.mjs";import"./cli-0.1.11-v6kwgrqc.mjs";import"./cli-0.1.11-16086k9e.mjs";import"./cli-0.1.11-bwpemkht.mjs";import"./cli-0.1.11-dcswnc8x.mjs";import"./cli-0.1.11-p22bdjhv.mjs";import"./cli-0.1.11-y4c6y87y.mjs";import"./cli-0.1.11-q58q9jqr.mjs";import"./cli-0.1.11-zb2sa3e2.mjs";import"./cli-0.1.11-3p2f194m.mjs";import"./cli-0.1.11-05ngjm8p.mjs";import"./cli-0.1.11-yv5pfq6n.mjs";import{q1 as O,v1 as i}from"./cli-0.1.11-qbcfg80y.mjs";import"./cli-0.1.11-b0jasw23.mjs";import{E5 as X,F5 as a}from"./cli-0.1.11-s6yfjcm5.mjs";import"./cli-0.1.11-sqqzwx4h.mjs";import"./cli-0.1.11-2w8d5vqb.mjs";import"./cli-0.1.11-d10nfa6g.mjs";import"./cli-0.1.11-h2hxx8ma.mjs";import"./cli-0.1.11-1xr9et85.mjs";import{Cba as j,Gaa as M,K7 as S,Qaa as n,S7 as x,U7 as w,Vba as r,zba as U}from"./cli-0.1.11-v7bwjqf0.mjs";import"./cli-0.1.11-h7e4rkwk.mjs";import"./cli-0.1.11-7xr2ermy.mjs";import"./cli-0.1.11-7qpnfx56.mjs";import"./cli-0.1.11-vch8cn95.mjs";import"./cli-0.1.11-fag2wtke.mjs";import"./cli-0.1.11-nx8a99hz.mjs";import"./cli-0.1.11-ktwtyqmp.mjs";import{dga as P,ega as g}from"./cli-0.1.11-xwj7cmkj.mjs";import{Jga as T,bha as W,eha as N}from"./cli-0.1.11-vq5fvf9m.mjs";import{fha as y,sha as k}from"./cli-0.1.11-d3exw047.mjs";import{uha as q,yha as s}from"./cli-0.1.11-e5ecf583.mjs";import"./cli-0.1.11-rrnr3ab1.mjs";import"./cli-0.1.11-98zcwng9.mjs";import"./cli-0.1.11-yrfxpjhr.mjs";a();i();g();t();import{homedir as u}from"os";import{dirname as Aq,join as B}from"path";h();d();N();k();T();w();S();function c(){let Q=process.env.SHELL||"",K=u(),$=y();if(Q.endsWith("/zsh")||Q.endsWith("/zsh.exe")){let _=B($,"completion.zsh");return{name:"zsh",rcFile:B(K,".zshrc"),cacheFile:_,completionLine:`[[ -f "${_}" ]] && source "${_}"`,shellFlag:"zsh"}}if(Q.endsWith("/bash")||Q.endsWith("/bash.exe")){let _=B($,"completion.bash");return{name:"bash",rcFile:B(K,".bashrc"),cacheFile:_,completionLine:`[ -f "${_}" ] && source "${_}"`,shellFlag:"bash"}}if(Q.endsWith("/fish")||Q.endsWith("/fish.exe")){let _=process.env.XDG_CONFIG_HOME||B(K,".config"),R=B($,"completion.fish");return{name:"fish",rcFile:B(_,"fish","config.fish"),cacheFile:R,completionLine:`[ -f "${R}" ] && source "${R}"`,shellFlag:"fish"}}return null}async function C(){let Q=c();if(!Q)return;W(`update: Regenerating ${Q.name} completion cache`);let K=process.argv[1]||"claude";if((await x(K,["completion",Q.shellFlag,"--output",Q.cacheFile])).code!==0){W(`update: Failed to regenerate ${Q.name} completion cache`);return}W(`update: Regenerated ${Q.name} completion cache at ${Q.cacheFile}`)}r();N();Jq();o();e();Kq();qq();s();l();n();async function mq(){if(O()!=="firstParty")q(X.yellow(`Auto-update is not available for third-party provider builds.
|
|
2
|
-
`)+`Current version: 0.1.11
|
|
3
|
-
|
|
4
|
-
To update, reinstall from npm:
|
|
5
|
-
`+X.bold(" npm install -g @claudiolabs/claudio@latest")+`
|
|
6
|
-
|
|
7
|
-
Or, if you built from source, pull and rebuild:
|
|
8
|
-
`+X.bold(" git pull && bun install && bun run build")+`
|
|
9
|
-
`),await Z(0);P("tengu_update_check",{}),q(`Current version: 0.1.11
|
|
10
|
-
`);let Q=M()?.autoUpdatesChannel??"latest";q(`Checking for updates to ${Q} version...
|
|
11
|
-
`),W("update: Starting update check"),W("update: Running diagnostic");let K=await f();if(W(`update: Installation type: ${K.installationType}`),W(`update: Config install method: ${K.configInstallMethod}`),K.multipleInstallations.length>1){q(`
|
|
12
|
-
`),q(X.yellow("Warning: Multiple installations found")+`
|
|
13
|
-
`);for(let J of K.multipleInstallations){let Y=K.installationType===J.type?" (currently running)":"";q(`- ${J.type} at ${J.path}${Y}
|
|
14
|
-
`)}}if(K.warnings.length>0){q(`
|
|
15
|
-
`);for(let J of K.warnings)W(`update: Warning detected: ${J.issue}`),W(`update: Showing warning: ${J.issue}`),q(X.yellow(`Warning: ${J.issue}
|
|
16
|
-
`)),q(X.bold(`Fix: ${J.fix}
|
|
17
|
-
`))}let $=j();if(!$.installMethod&&K.installationType!=="package-manager"){q(`
|
|
18
|
-
`),q(`Updating configuration to track installation method...
|
|
19
|
-
`);let J="unknown";switch(K.installationType){case"npm-local":J="local";break;case"native":J="native";break;case"npm-global":J="global";break;default:J="unknown"}U((Y)=>({...Y,installMethod:J})),q(`Installation method set to: ${J}
|
|
20
|
-
`)}if(K.installationType==="development")q(`
|
|
21
|
-
`),q(X.yellow("You are running a development build — auto-update is unavailable.")+`
|
|
22
|
-
`),q(`To update, pull the latest source and rebuild:
|
|
23
|
-
`),q(X.bold(" git pull && bun install && bun run build")+`
|
|
24
|
-
`),q(`
|
|
25
|
-
`),q(`Or reinstall from npm:
|
|
26
|
-
`),q(X.bold(" npm install -g @claudiolabs/claudio@latest")+`
|
|
27
|
-
`),await Z(0);if(K.installationType==="package-manager"){let J=await F();if(q(`
|
|
28
|
-
`),J==="homebrew"){q(`Claude is managed by Homebrew.
|
|
29
|
-
`);let Y=await G(Q);if(Y&&!v("0.1.11",Y))q(`Update available: ${"0.1.11"} → ${Y}
|
|
30
|
-
`),q(`
|
|
31
|
-
`),q(`To update, run:
|
|
32
|
-
`),q(X.bold(" brew upgrade claude-code")+`
|
|
33
|
-
`);else q(`Claude is up to date!
|
|
34
|
-
`)}else if(J==="winget"){q(`Claude is managed by winget.
|
|
35
|
-
`);let Y=await G(Q);if(Y&&!v("0.1.11",Y))q(`Update available: ${"0.1.11"} → ${Y}
|
|
36
|
-
`),q(`
|
|
37
|
-
`),q(`To update, run:
|
|
38
|
-
`),q(X.bold(" winget upgrade Anthropic.ClaudeCode")+`
|
|
39
|
-
`);else q(`Claude is up to date!
|
|
40
|
-
`)}else if(J==="apk"){q(`Claude is managed by apk.
|
|
41
|
-
`);let Y=await G(Q);if(Y&&!v("0.1.11",Y))q(`Update available: ${"0.1.11"} → ${Y}
|
|
42
|
-
`),q(`
|
|
43
|
-
`),q(`To update, run:
|
|
44
|
-
`),q(X.bold(" apk upgrade claude-code")+`
|
|
45
|
-
`);else q(`Claude is up to date!
|
|
46
|
-
`)}else q(`Claude is managed by a package manager.
|
|
47
|
-
`),q(`Please use your package manager to update.
|
|
48
|
-
`);await Z(0)}if($.installMethod&&K.configInstallMethod!=="not set"&&K.installationType!=="package-manager"){let{installationType:J,configInstallMethod:Y}=K,V={"npm-local":"local","npm-global":"global",native:"native",development:"development",unknown:"unknown"}[J]||J;if(V!==Y&&Y!=="unknown")q(`
|
|
49
|
-
`),q(X.yellow("Warning: Configuration mismatch")+`
|
|
50
|
-
`),q(`Config expects: ${Y} installation
|
|
51
|
-
`),q(`Currently running: ${J}
|
|
52
|
-
`),q(X.yellow(`Updating the ${J} installation you are currently using`)+`
|
|
53
|
-
`),U((p)=>({...p,installMethod:V})),q(`Config updated to reflect current installation method: ${V}
|
|
54
|
-
`)}if(K.installationType==="native"){W("update: Detected native installation, using native updater");try{let J=await L(Q,!0);if(J.lockFailed){let Y=J.lockHolderPid?` (PID ${J.lockHolderPid})`:"";q(X.yellow(`Another Claude process${Y} is currently running. Please try again in a moment.`)+`
|
|
55
|
-
`),await Z(0)}if(!J.latestVersion)process.stderr.write(`Failed to check for updates
|
|
56
|
-
`),await Z(1);if(J.latestVersion==="0.1.11")q(X.green("Claudio is up to date (0.1.11)")+`
|
|
57
|
-
`);else q(X.green(`Successfully updated from 0.1.11 to version ${J.latestVersion}`)+`
|
|
58
|
-
`),await C();await Z(0)}catch(J){process.stderr.write(`Error: Failed to install native update
|
|
59
|
-
`),process.stderr.write(String(J)+`
|
|
60
|
-
`),process.stderr.write(`Try running "claude doctor" for diagnostics
|
|
61
|
-
`),await Z(1)}}if($.installMethod!=="native")await m();W("update: Checking npm registry for latest version"),W("update: Package URL: @claudiolabs/claudio"),W(`update: Running: ${`npm view @claudiolabs/claudio@${Q==="stable"?"stable":"latest"} version`}`);let z=await G(Q);if(W(`update: Latest version from npm: ${z||"FAILED"}`),!z){if(W("update: Failed to get latest version from npm registry"),process.stderr.write(X.red("Failed to check for updates")+`
|
|
62
|
-
`),process.stderr.write(`Unable to fetch latest version from npm registry
|
|
63
|
-
`),process.stderr.write(`
|
|
64
|
-
`),process.stderr.write(`Possible causes:
|
|
65
|
-
`),process.stderr.write(` • Network connectivity issues
|
|
66
|
-
`),process.stderr.write(` • npm registry is unreachable
|
|
67
|
-
`),process.stderr.write(` • Corporate proxy/firewall blocking npm
|
|
68
|
-
`),!"@claudiolabs/claudio".startsWith("@anthropic"))process.stderr.write(` • Internal/development build not published to npm
|
|
69
|
-
`);process.stderr.write(`
|
|
70
|
-
`),process.stderr.write(`Try:
|
|
71
|
-
`),process.stderr.write(` • Check your internet connection
|
|
72
|
-
`),process.stderr.write(` • Run with --debug flag for more details
|
|
73
|
-
`);let J="@claudiolabs/claudio";process.stderr.write(` • Manually check: npm view ${J} version
|
|
74
|
-
`),process.stderr.write(` • Check if you need to login: npm whoami
|
|
75
|
-
`),await Z(1)}if(z==="0.1.11")q(X.green("Claudio is up to date (0.1.11)")+`
|
|
76
|
-
`),await Z(0);q(`New version available: ${z} (current: 0.1.11)
|
|
77
|
-
`),q(`Installing update...
|
|
78
|
-
`);let A=!1,H="";switch(K.installationType){case"npm-local":A=!0,H="local";break;case"npm-global":A=!1,H="global";break;case"unknown":{let J=await E();A=J,H=J?"local":"global",q(X.yellow("Warning: Could not determine installation type")+`
|
|
79
|
-
`),q(`Attempting ${H} update based on file detection...
|
|
80
|
-
`);break}default:process.stderr.write(`Error: Cannot update ${K.installationType} installation
|
|
81
|
-
`),await Z(1)}q(`Using ${H} installation update method...
|
|
82
|
-
`),W(`update: Update method determined: ${H}`),W(`update: useLocalUpdate: ${A}`);let I;if(A)W("update: Calling installOrUpdateClaudePackage() for local update"),I=await D(Q);else W("update: Calling installGlobalPackage() for global update"),I=await b();switch(W(`update: Installation status: ${I}`),I){case"success":q(X.green(`Successfully updated from 0.1.11 to version ${z}`)+`
|
|
83
|
-
`),await C();break;case"no_permissions":if(process.stderr.write(`Error: Insufficient permissions to install update
|
|
84
|
-
`),A)process.stderr.write(`Try manually updating with:
|
|
85
|
-
`),process.stderr.write(` cd ~/.claudio/local && npm update @claudiolabs/claudio
|
|
86
|
-
`);else process.stderr.write(`Try running with sudo or fix npm permissions
|
|
87
|
-
`),process.stderr.write(`Or consider using native installation with: claudio install
|
|
88
|
-
`);await Z(1);break;case"install_failed":if(process.stderr.write(`Error: Failed to install update
|
|
89
|
-
`),A)process.stderr.write(`Try manually updating with:
|
|
90
|
-
`),process.stderr.write(` cd ~/.claudio/local && npm update @claudiolabs/claudio
|
|
91
|
-
`);else process.stderr.write(`Or consider using native installation with: claudio install
|
|
92
|
-
`);await Z(1);break;case"in_progress":process.stderr.write(`Error: Another instance is currently performing an update
|
|
93
|
-
`),process.stderr.write(`Please wait and try again later
|
|
94
|
-
`),await Z(1);break}await Z(0)}export{mq as update};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{mb as a,nb as b}from"./cli-0.1.11-x5nvafch.mjs";import"./cli-0.1.11-trcf78n1.mjs";import"./cli-0.1.11-kk0qqs5v.mjs";import"./cli-0.1.11-x37jysc0.mjs";import"./cli-0.1.11-16086k9e.mjs";import"./cli-0.1.11-qbcfg80y.mjs";import"./cli-0.1.11-b0jasw23.mjs";import"./cli-0.1.11-s6yfjcm5.mjs";import"./cli-0.1.11-sqqzwx4h.mjs";import"./cli-0.1.11-d10nfa6g.mjs";import"./cli-0.1.11-h2hxx8ma.mjs";import"./cli-0.1.11-1xr9et85.mjs";import"./cli-0.1.11-v7bwjqf0.mjs";import"./cli-0.1.11-h7e4rkwk.mjs";import"./cli-0.1.11-7xr2ermy.mjs";import"./cli-0.1.11-7qpnfx56.mjs";import"./cli-0.1.11-vch8cn95.mjs";import"./cli-0.1.11-fag2wtke.mjs";import"./cli-0.1.11-nx8a99hz.mjs";import"./cli-0.1.11-ktwtyqmp.mjs";import"./cli-0.1.11-xwj7cmkj.mjs";import"./cli-0.1.11-vq5fvf9m.mjs";import"./cli-0.1.11-d3exw047.mjs";import"./cli-0.1.11-e5ecf583.mjs";import"./cli-0.1.11-rrnr3ab1.mjs";import"./cli-0.1.11-98zcwng9.mjs";import"./cli-0.1.11-yrfxpjhr.mjs";b();export{a as call};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import{C5 as v,o5 as I,r5 as f,w5 as E,x5 as _}from"./cli-0.1.11-b0jasw23.mjs";import"./cli-0.1.11-sqqzwx4h.mjs";import"./cli-0.1.11-d10nfa6g.mjs";import"./cli-0.1.11-h2hxx8ma.mjs";import"./cli-0.1.11-1xr9et85.mjs";import{ada as H,dda as d}from"./cli-0.1.11-v7bwjqf0.mjs";import"./cli-0.1.11-h7e4rkwk.mjs";import"./cli-0.1.11-7xr2ermy.mjs";import"./cli-0.1.11-7qpnfx56.mjs";import"./cli-0.1.11-vch8cn95.mjs";import"./cli-0.1.11-fag2wtke.mjs";import"./cli-0.1.11-nx8a99hz.mjs";import"./cli-0.1.11-ktwtyqmp.mjs";import"./cli-0.1.11-xwj7cmkj.mjs";import{Fga as S,Jga as c,bha as M,eha as N,hga as P,jga as u}from"./cli-0.1.11-vq5fvf9m.mjs";import{iha as W,sha as i}from"./cli-0.1.11-d3exw047.mjs";import"./cli-0.1.11-e5ecf583.mjs";import"./cli-0.1.11-rrnr3ab1.mjs";import"./cli-0.1.11-98zcwng9.mjs";import{Sna as L}from"./cli-0.1.11-yrfxpjhr.mjs";d();u();N();i();c();import{mkdir as l,readFile as C,unlink as n,writeFile as r}from"fs/promises";import{homedir as o}from"os";import{join as U}from"path";N();f();v();import{createServer as y}from"node:net";var R,m=524288,b=30000;function O(q){let z=q.length,Q=[],J=z;while(J>127)Q.push(J&127|128),J>>>=7;Q.push(J);let Z=new Uint8Array(1+Q.length+z);return Z[0]=10,Z.set(Q,1),Z.set(q,1+Q.length),Z}function w(q){if(q.length===0)return new Uint8Array(0);if(q[0]!==10)return null;let z=0,Q=0,J=1;while(J<q.length){let Z=q[J];if(z|=(Z&127)<<Q,J++,(Z&128)===0)break;if(Q+=7,Q>28)return null}if(J+z>q.length)return null;return q.subarray(J,J+z)}function j(){return{connectBuf:Buffer.alloc(0),pending:[],wsOpen:!1,established:!1,closed:!1}}async function A(q){let z="Basic "+Buffer.from(`${q.sessionId}:${q.token}`).toString("base64"),Q=`Bearer ${q.token}`,J=typeof Bun<"u"?h(q.wsUrl,z,Q):await p(q.wsUrl,z,Q);return M(`[upstreamproxy] relay listening on 127.0.0.1:${J.port}`),J}function h(q,z,Q){let J=Bun.listen({hostname:"127.0.0.1",port:0,socket:{open(Z){Z.data={...j(),writeBuf:[]}},data(Z,G){let V=Z.data;T({write:($)=>{let Y=typeof $==="string"?Buffer.from($,"utf8"):$;if(V.writeBuf.length>0){V.writeBuf.push(Y);return}let x=Z.write(Y);if(x<Y.length)V.writeBuf.push(Y.subarray(x))},end:()=>Z.end()},V,G,q,z,Q)},drain(Z){let G=Z.data;while(G.writeBuf.length>0){let V=G.writeBuf[0],K=Z.write(V);if(K<V.length){G.writeBuf[0]=V.subarray(K);return}G.writeBuf.shift()}},close(Z){B(Z.data)},error(Z,G){M(`[upstreamproxy] client socket error: ${G.message}`),B(Z.data)}}});return{port:J.port,stop:()=>J.stop(!0)}}async function p(q,z,Q){R=(await import("./wrapper-0.1.11-rt9xsnjh.mjs")).default;let J=new WeakMap,Z=y((G)=>{let V=j();J.set(G,V);let K={write:($)=>{G.write(typeof $==="string"?$:Buffer.from($))},end:()=>G.end()};G.on("data",($)=>T(K,V,$,q,z,Q)),G.on("close",()=>B(J.get(G))),G.on("error",($)=>{M(`[upstreamproxy] client socket error: ${$.message}`),B(J.get(G))})});return new Promise((G,V)=>{Z.once("error",V),Z.listen(0,"127.0.0.1",()=>{let K=Z.address();if(K===null||typeof K==="string"){V(Error("upstreamproxy: server has no TCP address"));return}G({port:K.port,stop:()=>Z.close()})})})}function T(q,z,Q,J,Z,G){if(!z.ws){z.connectBuf=Buffer.concat([z.connectBuf,Q]);let V=z.connectBuf.indexOf(`\r
|
|
2
|
-
\r
|
|
3
|
-
`);if(V===-1){if(z.connectBuf.length>8192)q.write(`HTTP/1.1 400 Bad Request\r
|
|
4
|
-
\r
|
|
5
|
-
`),q.end();return}let $=z.connectBuf.subarray(0,V).toString("utf8").split(`\r
|
|
6
|
-
`)[0]??"";if(!$.match(/^CONNECT\s+(\S+)\s+HTTP\/1\.[01]$/i)){q.write(`HTTP/1.1 405 Method Not Allowed\r
|
|
7
|
-
\r
|
|
8
|
-
`),q.end();return}let x=z.connectBuf.subarray(V+4);if(x.length>0)z.pending.push(Buffer.from(x));z.connectBuf=Buffer.alloc(0),k(q,z,$,J,Z,G);return}if(!z.wsOpen){z.pending.push(Buffer.from(Q));return}F(z.ws,Q)}function k(q,z,Q,J,Z,G){let V={"Content-Type":"application/proto",Authorization:G},K;if(R)K=new R(J,{headers:V,agent:E(J),...I()});else K=new globalThis.WebSocket(J,{headers:V,proxy:_(J),tls:I()||void 0});K.binaryType="arraybuffer",z.ws=K,K.onopen=()=>{let $=`${Q}\r
|
|
9
|
-
Proxy-Authorization: ${Z}\r
|
|
10
|
-
\r
|
|
11
|
-
`;K.send(O(Buffer.from($,"utf8"))),z.wsOpen=!0;for(let Y of z.pending)F(K,Y);z.pending=[],z.pinger=setInterval(g,b,K)},K.onmessage=($)=>{let Y=$.data instanceof ArrayBuffer?new Uint8Array($.data):new Uint8Array(Buffer.from($.data)),x=w(Y);if(x&&x.length>0)z.established=!0,q.write(x)},K.onerror=($)=>{let Y="message"in $?String($.message):"websocket error";if(M(`[upstreamproxy] ws error: ${Y}`),z.closed)return;if(z.closed=!0,!z.established)q.write(`HTTP/1.1 502 Bad Gateway\r
|
|
12
|
-
\r
|
|
13
|
-
`);q.end(),B(z)},K.onclose=()=>{if(z.closed)return;z.closed=!0,q.end(),B(z)}}function g(q){if(q.readyState===WebSocket.OPEN)q.send(O(new Uint8Array(0)))}function F(q,z){if(q.readyState!==WebSocket.OPEN)return;for(let Q=0;Q<z.length;Q+=m){let J=z.subarray(Q,Q+m);q.send(O(J))}}function B(q){if(!q)return;if(q.pinger)clearInterval(q.pinger);if(q.ws&&q.ws.readyState<=WebSocket.OPEN)try{q.ws.close()}catch{}q.ws=void 0}var a="/run/ccr/session_token",e="/etc/ssl/certs/ca-certificates.crt",D=["localhost","127.0.0.1","::1","169.254.0.0/16","10.0.0.0/8","172.16.0.0/12","192.168.0.0/16","anthropic.com",".anthropic.com","*.anthropic.com","github.com","api.github.com","*.github.com","*.githubusercontent.com","registry.npmjs.org","pypi.org","files.pythonhosted.org","index.crates.io","proxy.golang.org"].join(","),X={enabled:!1};async function Oq(q){if(!W(process.env.CLAUDE_CODE_REMOTE))return X;if(!W(process.env.CCR_UPSTREAM_PROXY_ENABLED))return X;let z=process.env.CLAUDE_CODE_REMOTE_SESSION_ID;if(!z)return M("[upstreamproxy] CLAUDE_CODE_REMOTE_SESSION_ID unset; proxy disabled",{level:"warn"}),X;let Q=q?.tokenPath??a,J=await s(Q);if(!J)return M("[upstreamproxy] no session token file; proxy disabled"),X;qq();let Z=H(),G=q?.ccrBaseUrl??(Z?.transport==="anthropic"?Z.baseUrl:void 0)??"https://api.anthropic.com",V=q?.caBundlePath??U(o(),".ccr","ca-bundle.crt");if(!await zq(G,q?.systemCaPath??e,V))return X;try{let $=G.replace(/^http/,"ws")+"/v1/code/upstreamproxy/ws",Y=await A({wsUrl:$,sessionId:z,token:J});P(async()=>Y.stop()),X={enabled:!0,port:Y.port,caBundlePath:V},M(`[upstreamproxy] enabled on 127.0.0.1:${Y.port}`),await n(Q).catch(()=>{M("[upstreamproxy] token file unlink failed",{level:"warn"})})}catch($){M(`[upstreamproxy] relay start failed: ${$ instanceof Error?$.message:String($)}; proxy disabled`,{level:"warn"})}return X}function Wq(){if(!X.enabled||!X.port||!X.caBundlePath){if(process.env.HTTPS_PROXY&&process.env.SSL_CERT_FILE){let z={};for(let Q of["HTTPS_PROXY","https_proxy","NO_PROXY","no_proxy","SSL_CERT_FILE","NODE_EXTRA_CA_CERTS","REQUESTS_CA_BUNDLE","CURL_CA_BUNDLE"])if(process.env[Q])z[Q]=process.env[Q];return z}return{}}let q=`http://127.0.0.1:${X.port}`;return{HTTPS_PROXY:q,https_proxy:q,NO_PROXY:D,no_proxy:D,SSL_CERT_FILE:X.caBundlePath,NODE_EXTRA_CA_CERTS:X.caBundlePath,REQUESTS_CA_BUNDLE:X.caBundlePath,CURL_CA_BUNDLE:X.caBundlePath}}function mq(){X={enabled:!1}}function t(q){if(!q||!q.trim())return!1;return/-----BEGIN CERTIFICATE-----[\s\S]+?-----END CERTIFICATE-----/g.test(q)}async function s(q){try{return(await C(q,"utf8")).trim()||null}catch(z){if(S(z))return null;return M(`[upstreamproxy] token read failed: ${z instanceof Error?z.message:String(z)}`,{level:"warn"}),null}}function qq(){if(process.platform!=="linux"||typeof Bun>"u")return;try{let z=L("bun:ffi").dlopen("libc.so.6",{prctl:{args:["int","u64","u64","u64","u64"],returns:"int"}}),Q=4;if(z.symbols.prctl(4,0n,0n,0n,0n)!==0)M("[upstreamproxy] prctl(PR_SET_DUMPABLE,0) returned nonzero",{level:"warn"})}catch(q){M(`[upstreamproxy] prctl unavailable: ${q instanceof Error?q.message:String(q)}`,{level:"warn"})}}async function zq(q,z,Q){try{let J=await fetch(`${q}/v1/code/upstreamproxy/ca-cert`,{signal:AbortSignal.timeout(5000)});if(!J.ok)return M(`[upstreamproxy] ca-cert fetch ${J.status}; proxy disabled`,{level:"warn"}),!1;let Z=await J.text();if(!t(Z))return M("[upstreamproxy] ca-cert response is not valid PEM; proxy disabled",{level:"warn"}),!1;let G=await C(z,"utf8").catch(()=>"");return await l(U(Q,".."),{recursive:!0}),await r(Q,G+`
|
|
14
|
-
`+Z,"utf8"),!0}catch(J){return M(`[upstreamproxy] ca-cert download failed: ${J instanceof Error?J.message:String(J)}; proxy disabled`,{level:"warn"}),!1}}export{mq as resetUpstreamProxyForTests,t as isValidPemContent,Oq as initUpstreamProxy,Wq as getUpstreamProxyEnv,a as SESSION_TOKEN_PATH};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{lf as h,mf as y}from"./cli-0.1.11-emw2wfff.mjs";import"./cli-0.1.11-w3ydpv9v.mjs";import"./cli-0.1.11-vzet5m4y.mjs";import"./cli-0.1.11-kndj4a86.mjs";import"./cli-0.1.11-wjxhn7j5.mjs";import"./cli-0.1.11-5hrysrcd.mjs";import"./cli-0.1.11-h3jatwe1.mjs";import"./cli-0.1.11-xp93fxnp.mjs";import"./cli-0.1.11-q89t0xzx.mjs";import"./cli-0.1.11-cdpswj0n.mjs";import"./cli-0.1.11-hzezqkew.mjs";import"./cli-0.1.11-n24p2y0p.mjs";import"./cli-0.1.11-nhjbgc7t.mjs";import"./cli-0.1.11-s8ygndzf.mjs";import"./cli-0.1.11-1bryv90w.mjs";import"./cli-0.1.11-5e45zda5.mjs";import"./cli-0.1.11-jjgjkqqv.mjs";import"./cli-0.1.11-r990p54m.mjs";import"./cli-0.1.11-70f778wy.mjs";import"./cli-0.1.11-weav8142.mjs";import"./cli-0.1.11-t7dc7fbj.mjs";import"./cli-0.1.11-vb5f7c3a.mjs";import"./cli-0.1.11-sma2xhvv.mjs";import"./cli-0.1.11-852v06g0.mjs";import"./cli-0.1.11-z4hb2mcd.mjs";import"./cli-0.1.11-mj78w4sp.mjs";import"./cli-0.1.11-qrq0sw0h.mjs";import"./cli-0.1.11-d4ahh3jz.mjs";import"./cli-0.1.11-wc9bay3d.mjs";import"./cli-0.1.11-rvk3t45h.mjs";import"./cli-0.1.11-0n77qn68.mjs";import"./cli-0.1.11-h02tyg8p.mjs";import"./cli-0.1.11-bvd2r7an.mjs";import"./cli-0.1.11-jr50ahcv.mjs";import"./cli-0.1.11-6zkfmcxp.mjs";import"./cli-0.1.11-jkrt4znb.mjs";import"./cli-0.1.11-424zgj5k.mjs";import"./cli-0.1.11-rj9ea3zn.mjs";import"./cli-0.1.11-mstxxz33.mjs";import"./cli-0.1.11-kghg51gb.mjs";import"./cli-0.1.11-fstfs72j.mjs";import{qX as f}from"./cli-0.1.11-kk0qqs5v.mjs";import"./cli-0.1.11-x37jysc0.mjs";import"./cli-0.1.11-h762f6hr.mjs";import"./cli-0.1.11-50naxqgt.mjs";import"./cli-0.1.11-v6kwgrqc.mjs";import"./cli-0.1.11-16086k9e.mjs";import"./cli-0.1.11-bwpemkht.mjs";import"./cli-0.1.11-dcswnc8x.mjs";import"./cli-0.1.11-p22bdjhv.mjs";import"./cli-0.1.11-y4c6y87y.mjs";import"./cli-0.1.11-q58q9jqr.mjs";import"./cli-0.1.11-zb2sa3e2.mjs";import"./cli-0.1.11-3p2f194m.mjs";import"./cli-0.1.11-05ngjm8p.mjs";import"./cli-0.1.11-yv5pfq6n.mjs";import"./cli-0.1.11-qbcfg80y.mjs";import"./cli-0.1.11-b0jasw23.mjs";import"./cli-0.1.11-s6yfjcm5.mjs";import"./cli-0.1.11-sqqzwx4h.mjs";import"./cli-0.1.11-2w8d5vqb.mjs";import"./cli-0.1.11-d10nfa6g.mjs";import"./cli-0.1.11-h2hxx8ma.mjs";import"./cli-0.1.11-1xr9et85.mjs";import"./cli-0.1.11-v7bwjqf0.mjs";import"./cli-0.1.11-h7e4rkwk.mjs";import"./cli-0.1.11-7xr2ermy.mjs";import"./cli-0.1.11-7qpnfx56.mjs";import"./cli-0.1.11-vch8cn95.mjs";import"./cli-0.1.11-fag2wtke.mjs";import"./cli-0.1.11-nx8a99hz.mjs";import"./cli-0.1.11-ktwtyqmp.mjs";import"./cli-0.1.11-xwj7cmkj.mjs";import"./cli-0.1.11-vq5fvf9m.mjs";import"./cli-0.1.11-d3exw047.mjs";import"./cli-0.1.11-e5ecf583.mjs";import"./cli-0.1.11-rrnr3ab1.mjs";import"./cli-0.1.11-98zcwng9.mjs";import{Nna as b,Rna as w}from"./cli-0.1.11-yrfxpjhr.mjs";var k,B=async(l,q)=>{return k.jsxDEV(h,{onClose:l,context:q,defaultTab:"Usage"},void 0,!1,void 0,this)};var z=w(()=>{y();k=b(f(),1)});z();export{B as call};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{R as K}from"./cli-0.1.11-hgsa4nnp.mjs";import"./cli-0.1.11-jye250b3.mjs";import{Sa as O}from"./cli-0.1.11-56p41bk3.mjs";import{Wa as F}from"./cli-0.1.11-fptq9w4t.mjs";import"./cli-0.1.11-7tybqg56.mjs";import"./cli-0.1.11-0tge574q.mjs";import"./cli-0.1.11-at3c85af.mjs";import"./cli-0.1.11-cw0ss3jw.mjs";import"./cli-0.1.11-21epc92q.mjs";import{xe as B,ye as S}from"./cli-0.1.11-jne21ka1.mjs";import"./cli-0.1.11-hmfevmz1.mjs";import{aK as Z,eK as P,vv as Y,wv as C}from"./cli-0.1.11-s8ygndzf.mjs";import"./cli-0.1.11-1bryv90w.mjs";import"./cli-0.1.11-5e45zda5.mjs";import"./cli-0.1.11-jjgjkqqv.mjs";import"./cli-0.1.11-r990p54m.mjs";import"./cli-0.1.11-70f778wy.mjs";import"./cli-0.1.11-weav8142.mjs";import"./cli-0.1.11-t7dc7fbj.mjs";import"./cli-0.1.11-vb5f7c3a.mjs";import"./cli-0.1.11-sma2xhvv.mjs";import"./cli-0.1.11-852v06g0.mjs";import"./cli-0.1.11-z4hb2mcd.mjs";import"./cli-0.1.11-mj78w4sp.mjs";import"./cli-0.1.11-qrq0sw0h.mjs";import"./cli-0.1.11-d4ahh3jz.mjs";import"./cli-0.1.11-wc9bay3d.mjs";import"./cli-0.1.11-rvk3t45h.mjs";import"./cli-0.1.11-0n77qn68.mjs";import"./cli-0.1.11-h02tyg8p.mjs";import{QU as Q,SU as U,eT as w,vV as $}from"./cli-0.1.11-bvd2r7an.mjs";import"./cli-0.1.11-jr50ahcv.mjs";import"./cli-0.1.11-6zkfmcxp.mjs";import"./cli-0.1.11-jkrt4znb.mjs";import"./cli-0.1.11-424zgj5k.mjs";import"./cli-0.1.11-rj9ea3zn.mjs";import"./cli-0.1.11-mstxxz33.mjs";import"./cli-0.1.11-kghg51gb.mjs";import"./cli-0.1.11-fstfs72j.mjs";import{qX as L}from"./cli-0.1.11-kk0qqs5v.mjs";import{rX as W}from"./cli-0.1.11-x37jysc0.mjs";import"./cli-0.1.11-h762f6hr.mjs";import"./cli-0.1.11-50naxqgt.mjs";import"./cli-0.1.11-v6kwgrqc.mjs";import"./cli-0.1.11-16086k9e.mjs";import"./cli-0.1.11-bwpemkht.mjs";import"./cli-0.1.11-dcswnc8x.mjs";import"./cli-0.1.11-p22bdjhv.mjs";import"./cli-0.1.11-y4c6y87y.mjs";import"./cli-0.1.11-q58q9jqr.mjs";import"./cli-0.1.11-zb2sa3e2.mjs";import"./cli-0.1.11-3p2f194m.mjs";import"./cli-0.1.11-zfnmx1ny.mjs";import"./cli-0.1.11-05ngjm8p.mjs";import"./cli-0.1.11-yv5pfq6n.mjs";import{h4 as _,i5 as M}from"./cli-0.1.11-qbcfg80y.mjs";import"./cli-0.1.11-b0jasw23.mjs";import"./cli-0.1.11-s6yfjcm5.mjs";import"./cli-0.1.11-sqqzwx4h.mjs";import"./cli-0.1.11-2w8d5vqb.mjs";import"./cli-0.1.11-d10nfa6g.mjs";import"./cli-0.1.11-h2hxx8ma.mjs";import"./cli-0.1.11-1xr9et85.mjs";import"./cli-0.1.11-v7bwjqf0.mjs";import"./cli-0.1.11-h7e4rkwk.mjs";import"./cli-0.1.11-7xr2ermy.mjs";import"./cli-0.1.11-7qpnfx56.mjs";import"./cli-0.1.11-vch8cn95.mjs";import"./cli-0.1.11-fag2wtke.mjs";import"./cli-0.1.11-nx8a99hz.mjs";import"./cli-0.1.11-ktwtyqmp.mjs";import{dga as X,ega as y}from"./cli-0.1.11-xwj7cmkj.mjs";import"./cli-0.1.11-vq5fvf9m.mjs";import"./cli-0.1.11-d3exw047.mjs";import"./cli-0.1.11-e5ecf583.mjs";import"./cli-0.1.11-rrnr3ab1.mjs";import"./cli-0.1.11-98zcwng9.mjs";import{Nna as I,Sna as J}from"./cli-0.1.11-yrfxpjhr.mjs";var R=I(w(),1),z=I(W(),1);import{cwd as m}from"process";$();C();y();S();P();M();var f=I(L(),1);async function x(k){X("tengu_setup_token_command",{});let q=!_(),{ConsoleOAuthFlow:H}=await import("./ConsoleOAuthFlow-0.1.11-xzbcx3cw.mjs");await new Promise((G)=>{k.render(f.jsxDEV(Z,{onChangeAppState:F,children:f.jsxDEV(Y,{children:f.jsxDEV(Q,{flexDirection:"column",gap:1,children:[f.jsxDEV(O,{},void 0,!1,void 0,this),q&&f.jsxDEV(Q,{flexDirection:"column",children:[f.jsxDEV(U,{color:"warning",children:"Warning: You already have authentication configured via environment variable or API key helper."},void 0,!1,void 0,this),f.jsxDEV(U,{color:"warning",children:"The setup-token command will create a new OAuth token which you can use instead."},void 0,!1,void 0,this)]},void 0,!0,void 0,this),f.jsxDEV(H,{onDone:()=>{G()},mode:"setup-token",startingMessage:"This will guide you through long-lived (1-year) auth token setup for your Claude account. Claude subscription required."},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this))}),k.unmount(),process.exit(0)}var d=z.default.lazy(()=>import("./Doctor-0.1.11-958cxvhj.mjs").then((k)=>({default:k.Doctor})));function h(k){let q=R.c(2),{onDone:H}=k;K();let G;if(q[0]!==H)G=f.jsxDEV(z.default.Suspense,{fallback:null,children:f.jsxDEV(d,{onDone:H},void 0,!1,void 0,this)},void 0,!1,void 0,this),q[0]=H,q[1]=G;else G=q[1];return G}async function D(k){X("tengu_doctor_command",{}),await new Promise((q)=>{k.render(f.jsxDEV(Z,{children:f.jsxDEV(Y,{children:f.jsxDEV(B,{dynamicMcpConfig:void 0,isStrictMcpConfig:!1,children:f.jsxDEV(h,{onDone:()=>{q()}},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this))}),k.unmount(),process.exit(0)}async function l(k,q){let{setup:H}=await import("./setup-0.1.11-epmpszzf.mjs");await H(m(),"default",!1,!1,void 0,!1);let{install:G}=await import("./install-0.1.11-4zfvr6pk.mjs");await new Promise((T)=>{let N=[];if(k)N.push(k);if(q.force)N.push("--force");G.call((b)=>{T(),process.exit(b.includes("failed")?1:0)},{},N)})}export{x as setupTokenHandler,l as installHandler,D as doctorHandler};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{LB as a,MB as b,NB as c,OB as d,PB as e,QB as f,RB as g,SB as h,TB as i,UB as j}from"./cli-0.1.11-s8ygndzf.mjs";import"./cli-0.1.11-1bryv90w.mjs";import"./cli-0.1.11-5e45zda5.mjs";import"./cli-0.1.11-jjgjkqqv.mjs";import"./cli-0.1.11-r990p54m.mjs";import"./cli-0.1.11-70f778wy.mjs";import"./cli-0.1.11-weav8142.mjs";import"./cli-0.1.11-t7dc7fbj.mjs";import"./cli-0.1.11-vb5f7c3a.mjs";import"./cli-0.1.11-sma2xhvv.mjs";import"./cli-0.1.11-852v06g0.mjs";import"./cli-0.1.11-z4hb2mcd.mjs";import"./cli-0.1.11-mj78w4sp.mjs";import"./cli-0.1.11-qrq0sw0h.mjs";import"./cli-0.1.11-d4ahh3jz.mjs";import"./cli-0.1.11-wc9bay3d.mjs";import"./cli-0.1.11-rvk3t45h.mjs";import"./cli-0.1.11-0n77qn68.mjs";import"./cli-0.1.11-h02tyg8p.mjs";import"./cli-0.1.11-bvd2r7an.mjs";import"./cli-0.1.11-jr50ahcv.mjs";import"./cli-0.1.11-6zkfmcxp.mjs";import"./cli-0.1.11-jkrt4znb.mjs";import"./cli-0.1.11-424zgj5k.mjs";import"./cli-0.1.11-rj9ea3zn.mjs";import"./cli-0.1.11-mstxxz33.mjs";import"./cli-0.1.11-kghg51gb.mjs";import"./cli-0.1.11-fstfs72j.mjs";import"./cli-0.1.11-kk0qqs5v.mjs";import"./cli-0.1.11-x37jysc0.mjs";import"./cli-0.1.11-h762f6hr.mjs";import"./cli-0.1.11-50naxqgt.mjs";import"./cli-0.1.11-v6kwgrqc.mjs";import"./cli-0.1.11-16086k9e.mjs";import"./cli-0.1.11-bwpemkht.mjs";import"./cli-0.1.11-dcswnc8x.mjs";import"./cli-0.1.11-p22bdjhv.mjs";import"./cli-0.1.11-y4c6y87y.mjs";import"./cli-0.1.11-q58q9jqr.mjs";import"./cli-0.1.11-zb2sa3e2.mjs";import"./cli-0.1.11-3p2f194m.mjs";import"./cli-0.1.11-05ngjm8p.mjs";import"./cli-0.1.11-yv5pfq6n.mjs";import"./cli-0.1.11-qbcfg80y.mjs";import"./cli-0.1.11-b0jasw23.mjs";import"./cli-0.1.11-s6yfjcm5.mjs";import"./cli-0.1.11-sqqzwx4h.mjs";import"./cli-0.1.11-2w8d5vqb.mjs";import"./cli-0.1.11-d10nfa6g.mjs";import"./cli-0.1.11-h2hxx8ma.mjs";import"./cli-0.1.11-1xr9et85.mjs";import"./cli-0.1.11-v7bwjqf0.mjs";import"./cli-0.1.11-h7e4rkwk.mjs";import"./cli-0.1.11-7xr2ermy.mjs";import"./cli-0.1.11-7qpnfx56.mjs";import"./cli-0.1.11-vch8cn95.mjs";import"./cli-0.1.11-fag2wtke.mjs";import"./cli-0.1.11-nx8a99hz.mjs";import"./cli-0.1.11-ktwtyqmp.mjs";import"./cli-0.1.11-xwj7cmkj.mjs";import"./cli-0.1.11-vq5fvf9m.mjs";import"./cli-0.1.11-d3exw047.mjs";import"./cli-0.1.11-e5ecf583.mjs";import"./cli-0.1.11-rrnr3ab1.mjs";import"./cli-0.1.11-98zcwng9.mjs";import"./cli-0.1.11-yrfxpjhr.mjs";j();export{d as validateURL,c as isPreapprovedUrl,f as isPermittedRedirect,g as getWithPermittedRedirects,h as getURLMarkdownContent,a as clearWebFetchCache,e as checkDomainBlocklist,i as applyPromptToMarkdown,b as MAX_MARKDOWN_LENGTH};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Cba as q,Vba as D,zba as p}from"./cli-0.1.11-v7bwjqf0.mjs";import"./cli-0.1.11-h7e4rkwk.mjs";import"./cli-0.1.11-7xr2ermy.mjs";import"./cli-0.1.11-7qpnfx56.mjs";import"./cli-0.1.11-vch8cn95.mjs";import"./cli-0.1.11-fag2wtke.mjs";import"./cli-0.1.11-nx8a99hz.mjs";import"./cli-0.1.11-ktwtyqmp.mjs";import{dga as m,ega as B}from"./cli-0.1.11-xwj7cmkj.mjs";import"./cli-0.1.11-vq5fvf9m.mjs";import"./cli-0.1.11-d3exw047.mjs";import"./cli-0.1.11-e5ecf583.mjs";import"./cli-0.1.11-rrnr3ab1.mjs";import"./cli-0.1.11-98zcwng9.mjs";import{Rna as A}from"./cli-0.1.11-yrfxpjhr.mjs";var K=async()=>{let k=q().editorMode||"normal";if(k==="emacs")k="normal";let h=k==="normal"?"vim":"normal";return p((z)=>({...z,editorMode:h})),m("tengu_editor_mode_changed",{mode:h,source:"command"}),{type:"text",value:`Editor mode set to ${h}. ${h==="vim"?"Use Escape key to toggle between INSERT and NORMAL modes.":"Using standard (readline) keyboard bindings."}`}};var F=A(()=>{B();D()});F();export{K as call};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{sD as a,tD as b,uD as c,vD as d,wD as e,xD as f,yD as g}from"./cli-0.1.11-s8ygndzf.mjs";import"./cli-0.1.11-1bryv90w.mjs";import"./cli-0.1.11-5e45zda5.mjs";import"./cli-0.1.11-jjgjkqqv.mjs";import"./cli-0.1.11-r990p54m.mjs";import"./cli-0.1.11-70f778wy.mjs";import"./cli-0.1.11-weav8142.mjs";import"./cli-0.1.11-t7dc7fbj.mjs";import"./cli-0.1.11-vb5f7c3a.mjs";import"./cli-0.1.11-sma2xhvv.mjs";import"./cli-0.1.11-852v06g0.mjs";import"./cli-0.1.11-z4hb2mcd.mjs";import"./cli-0.1.11-mj78w4sp.mjs";import"./cli-0.1.11-qrq0sw0h.mjs";import"./cli-0.1.11-d4ahh3jz.mjs";import"./cli-0.1.11-wc9bay3d.mjs";import"./cli-0.1.11-rvk3t45h.mjs";import"./cli-0.1.11-0n77qn68.mjs";import"./cli-0.1.11-h02tyg8p.mjs";import"./cli-0.1.11-bvd2r7an.mjs";import"./cli-0.1.11-jr50ahcv.mjs";import"./cli-0.1.11-6zkfmcxp.mjs";import"./cli-0.1.11-jkrt4znb.mjs";import"./cli-0.1.11-424zgj5k.mjs";import"./cli-0.1.11-rj9ea3zn.mjs";import"./cli-0.1.11-mstxxz33.mjs";import"./cli-0.1.11-kghg51gb.mjs";import"./cli-0.1.11-fstfs72j.mjs";import"./cli-0.1.11-kk0qqs5v.mjs";import"./cli-0.1.11-x37jysc0.mjs";import"./cli-0.1.11-h762f6hr.mjs";import"./cli-0.1.11-50naxqgt.mjs";import"./cli-0.1.11-v6kwgrqc.mjs";import"./cli-0.1.11-16086k9e.mjs";import"./cli-0.1.11-bwpemkht.mjs";import"./cli-0.1.11-dcswnc8x.mjs";import"./cli-0.1.11-p22bdjhv.mjs";import"./cli-0.1.11-y4c6y87y.mjs";import"./cli-0.1.11-q58q9jqr.mjs";import"./cli-0.1.11-zb2sa3e2.mjs";import"./cli-0.1.11-3p2f194m.mjs";import"./cli-0.1.11-05ngjm8p.mjs";import"./cli-0.1.11-yv5pfq6n.mjs";import"./cli-0.1.11-qbcfg80y.mjs";import"./cli-0.1.11-b0jasw23.mjs";import"./cli-0.1.11-s6yfjcm5.mjs";import"./cli-0.1.11-sqqzwx4h.mjs";import"./cli-0.1.11-2w8d5vqb.mjs";import"./cli-0.1.11-d10nfa6g.mjs";import"./cli-0.1.11-h2hxx8ma.mjs";import"./cli-0.1.11-1xr9et85.mjs";import"./cli-0.1.11-v7bwjqf0.mjs";import"./cli-0.1.11-h7e4rkwk.mjs";import"./cli-0.1.11-7xr2ermy.mjs";import"./cli-0.1.11-7qpnfx56.mjs";import"./cli-0.1.11-vch8cn95.mjs";import"./cli-0.1.11-fag2wtke.mjs";import"./cli-0.1.11-nx8a99hz.mjs";import"./cli-0.1.11-ktwtyqmp.mjs";import"./cli-0.1.11-xwj7cmkj.mjs";import"./cli-0.1.11-vq5fvf9m.mjs";import"./cli-0.1.11-d3exw047.mjs";import"./cli-0.1.11-e5ecf583.mjs";import"./cli-0.1.11-rrnr3ab1.mjs";import"./cli-0.1.11-98zcwng9.mjs";import"./cli-0.1.11-yrfxpjhr.mjs";g();export{d as stopTeamMemoryWatcher,b as startTeamMemoryWatcher,c as notifyTeamMemoryWrite,a as isPermanentFailure,f as _startFileWatcherForTesting,e as _resetWatcherStateForTesting};
|
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
import"./cli-0.1.11-x37jysc0.mjs";import{Dea as M,Eea as O,Fea as ft,aea as E,bea as dt}from"./cli-0.1.11-7xr2ermy.mjs";import"./cli-0.1.11-rrnr3ab1.mjs";import"./cli-0.1.11-98zcwng9.mjs";import{Rna as l}from"./cli-0.1.11-yrfxpjhr.mjs";import{join as m}from"path";function c(t){let e=m(t,K,X);return{root:e,pagesDir:m(e,"pages"),sourcesDir:m(e,"sources"),schemaFile:m(e,"schema.md"),indexFile:m(e,"index.md"),logFile:m(e,"log.md")}}var K=".claudio",X="wiki";var p=()=>{};import{mkdir as J,writeFile as G}from"fs/promises";import{basename as H,relative as W}from"path";function Q(t){return`# Claudio Wiki Schema
|
|
2
|
-
|
|
3
|
-
This wiki stores durable, human-readable project knowledge for ${t}.
|
|
4
|
-
|
|
5
|
-
## Goals
|
|
6
|
-
|
|
7
|
-
- Keep useful project knowledge in markdown, not only in chat history
|
|
8
|
-
- Prefer synthesized facts over raw copy-paste
|
|
9
|
-
- Keep source attribution explicit
|
|
10
|
-
- Make pages easy for both humans and agents to update
|
|
11
|
-
|
|
12
|
-
## Structure
|
|
13
|
-
|
|
14
|
-
- \`index.md\`: top-level navigation and major topics
|
|
15
|
-
- \`log.md\`: append-only update log
|
|
16
|
-
- \`pages/\`: durable topic and architecture pages
|
|
17
|
-
- \`sources/\`: source ingestion notes and summaries
|
|
18
|
-
|
|
19
|
-
## Page Rules
|
|
20
|
-
|
|
21
|
-
- Keep pages focused on one topic
|
|
22
|
-
- Use stable headings such as:
|
|
23
|
-
- \`## Summary\`
|
|
24
|
-
- \`## Key Facts\`
|
|
25
|
-
- \`## Relationships\`
|
|
26
|
-
- \`## Open Questions\`
|
|
27
|
-
- \`## Sources\`
|
|
28
|
-
- Add or update facts only when they are grounded in project files or explicit source notes
|
|
29
|
-
- Prefer editing an existing page over creating duplicates
|
|
30
|
-
`}function B(t){return`# ${t} Wiki
|
|
31
|
-
|
|
32
|
-
This wiki is maintained by Claudio as a durable project knowledge layer.
|
|
33
|
-
|
|
34
|
-
## Core Pages
|
|
35
|
-
|
|
36
|
-
- [Architecture](./pages/architecture.md)
|
|
37
|
-
|
|
38
|
-
## Sources
|
|
39
|
-
|
|
40
|
-
- Source notes live in [sources/](./sources/)
|
|
41
|
-
|
|
42
|
-
## Recent Updates
|
|
43
|
-
|
|
44
|
-
- See [log.md](./log.md)
|
|
45
|
-
`}function q(t){return`# Wiki Update Log
|
|
46
|
-
|
|
47
|
-
- ${t}: Wiki initialized by Claudio
|
|
48
|
-
`}function V(t){return`# Architecture
|
|
49
|
-
|
|
50
|
-
## Summary
|
|
51
|
-
|
|
52
|
-
High-level architecture notes for ${t}.
|
|
53
|
-
|
|
54
|
-
## Key Facts
|
|
55
|
-
|
|
56
|
-
- This page is the starting point for durable architecture knowledge.
|
|
57
|
-
|
|
58
|
-
## Relationships
|
|
59
|
-
|
|
60
|
-
- Link this page to major subsystems as the wiki grows.
|
|
61
|
-
|
|
62
|
-
## Open Questions
|
|
63
|
-
|
|
64
|
-
- What are the most important runtime subsystems?
|
|
65
|
-
- Which files best represent the system architecture?
|
|
66
|
-
|
|
67
|
-
## Sources
|
|
68
|
-
|
|
69
|
-
- Wiki bootstrap
|
|
70
|
-
`}async function f(t,e,i){try{await G(t,e,{encoding:"utf8",flag:"wx"}),i.push(t)}catch(r){if(typeof r==="object"&&r!==null&&"code"in r&&r.code==="EEXIST")return;throw r}}async function h(t){let e=c(t),i=[],r=[];for(let s of[e.root,e.pagesDir,e.sourcesDir])await J(s,{recursive:!0}),i.push(s);let n=H(t),o=new Date().toISOString();return await f(e.schemaFile,Q(n),r),await f(e.indexFile,B(n),r),await f(e.logFile,q(o),r),await f(`${e.pagesDir}/architecture.md`,V(n),r),{root:e.root,createdFiles:r.map((s)=>W(t,s)),createdDirectories:i.map((s)=>W(t,s)),alreadyExisted:r.length===0}}var y=l(()=>{p()});import{readdir as Y,readFile as Z,writeFile as tt}from"fs/promises";import{basename as w,relative as F}from"path";async function k(t){let e=await Y(t,{withFileTypes:!0}),i=[];for(let r of e){let n=`${t}/${r.name}`;if(r.isDirectory())i.push(...await k(n));else if(r.isFile()&&r.name.endsWith(".md"))i.push(n)}return i.sort()}async function et(t){let i=(await Z(t,"utf8")).split(`
|
|
71
|
-
`).map((r)=>r.trim()).find((r)=>r.startsWith("# "));return i?i.replace(/^#\s+/,""):w(t,".md")}async function P(t){let e=c(t),i=await k(e.pagesDir),r=await k(e.sourcesDir),n=await Promise.all(i.map(async(a)=>{let u=F(e.root,a);return`- [${await et(a)}](./${u.replace(/\\/g,"/")})`})),o=r.map((a)=>{let u=F(e.root,a).replace(/\\/g,"/");return`- [${w(a,".md")}](./${u})`}),s=`# ${w(t)} Wiki
|
|
72
|
-
|
|
73
|
-
This wiki is maintained by Claudio as a durable project knowledge layer.
|
|
74
|
-
|
|
75
|
-
## Core Pages
|
|
76
|
-
|
|
77
|
-
${n.length>0?n.join(`
|
|
78
|
-
`):"- No pages yet"}
|
|
79
|
-
|
|
80
|
-
## Sources
|
|
81
|
-
|
|
82
|
-
${o.length>0?o.join(`
|
|
83
|
-
`):"- No sources yet"}
|
|
84
|
-
|
|
85
|
-
## Recent Updates
|
|
86
|
-
|
|
87
|
-
- See [log.md](./log.md)
|
|
88
|
-
`;await tt(e.indexFile,s,"utf8")}var b=l(()=>{p()});function C(t){return t.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"").replace(/-{2,}/g,"-")}function I(t,e=280){let i=t.replace(/\s+/g," ").trim();if(!i)return"No summary available.";if(i.length<=e)return i;return`${i.slice(0,e-1).trimEnd()}…`}function j(t,e){let i=e.split(`
|
|
89
|
-
`).map((r)=>r.trim()).find(Boolean);if(!i)return t;return i.replace(/^#+\s*/,"")||t}var R=()=>{};import{appendFile as it,readFile as rt,stat as nt,writeFile as st}from"fs/promises";import{basename as ot,extname as at,isAbsolute as ct,relative as L,resolve as ut}from"path";function lt(t){let{title:e,sourcePath:i,ingestedAt:r,summary:n,excerpt:o}=t;return`# ${e}
|
|
90
|
-
|
|
91
|
-
## Source
|
|
92
|
-
|
|
93
|
-
- Path: \`${i}\`
|
|
94
|
-
- Ingested at: ${r}
|
|
95
|
-
|
|
96
|
-
## Summary
|
|
97
|
-
|
|
98
|
-
${n}
|
|
99
|
-
|
|
100
|
-
## Excerpt
|
|
101
|
-
|
|
102
|
-
\`\`\`
|
|
103
|
-
${o}
|
|
104
|
-
\`\`\`
|
|
105
|
-
|
|
106
|
-
## Linked Pages
|
|
107
|
-
|
|
108
|
-
- [Architecture](../pages/architecture.md)
|
|
109
|
-
`}function mt(t,e,i){return`- ${i}: Ingested \`${t}\` into source note "${e}"`}async function A(t,e){await h(t);let i=ct(e)?e:ut(t,e);if(!(await nt(i)).isFile())throw Error(`Not a file: ${i}`);let n=await rt(i,"utf8"),o=L(t,i).replace(/\\/g,"/"),s=new Date().toISOString(),a=ot(i,at(i)),u=j(a,n),d=I(n),U=n.split(`
|
|
110
|
-
`).slice(0,20).join(`
|
|
111
|
-
`).trim(),_=C(`${a}-${Date.now()}`)||`source-${Date.now()}`,S=c(t),x=`${S.sourcesDir}/${_}.md`;return await st(x,lt({title:u,sourcePath:o,ingestedAt:s,summary:d,excerpt:U}),"utf8"),await it(S.logFile,`${mt(o,u,s)}
|
|
112
|
-
`,"utf8"),await P(t),{sourceFile:o,sourceNote:L(t,x).replace(/\\/g,"/"),summary:d,title:u}}var T=l(()=>{y();b();p();R()});import{readdir as pt,stat as D}from"fs/promises";async function g(t){try{return await D(t),!0}catch{return!1}}async function $(t){if(!await g(t))return[];let e=await pt(t,{withFileTypes:!0}),i=[];for(let r of e){let n=`${t}/${r.name}`;if(r.isDirectory())i.push(...await $(n));else if(r.isFile()&&r.name.endsWith(".md"))i.push(n)}return i}async function gt(t){let e=[];for(let i of t)try{let r=await D(i);e.push(r.mtimeMs)}catch{continue}if(e.length===0)return null;return new Date(Math.max(...e)).toISOString()}async function z(t){let e=c(t),[i,r,n,o,s,a]=await Promise.all([g(e.root),g(e.schemaFile),g(e.indexFile),g(e.logFile),$(e.pagesDir),$(e.sourcesDir)]);return{initialized:i&&r&&n&&o,root:e.root,pageCount:s.length,sourceCount:a.length,hasSchema:r,hasIndex:n,hasLog:o,lastUpdatedAt:await gt([e.schemaFile,e.indexFile,e.logFile,...s,...a])}}var N=l(()=>{p()});function v(){return`Usage: /wiki [init|status|ingest <path>]
|
|
113
|
-
|
|
114
|
-
Manage the Claudio project wiki stored in .claudio/wiki.
|
|
115
|
-
|
|
116
|
-
Commands:
|
|
117
|
-
/wiki init Initialize the wiki structure in the current project
|
|
118
|
-
/wiki status Show wiki status and page/source counts
|
|
119
|
-
/wiki ingest Ingest a local file into wiki sources
|
|
120
|
-
|
|
121
|
-
Examples:
|
|
122
|
-
/wiki init
|
|
123
|
-
/wiki status
|
|
124
|
-
/wiki ingest README.md`}function ht(t){let e=[`Initialized Claudio wiki at ${t.root}`];if(t.alreadyExisted)return e.push("","Wiki already existed. No new files were created."),e.join(`
|
|
125
|
-
`);if(t.createdFiles.length>0){e.push("","Created files:");for(let i of t.createdFiles)e.push(`- ${i}`)}return e.join(`
|
|
126
|
-
`)}function yt(t){if(!t.initialized)return`Claudio wiki is not initialized in this project.
|
|
127
|
-
|
|
128
|
-
Run /wiki init to create ${t.root}.`;return["Claudio wiki status","",`Root: ${t.root}`,`Pages: ${t.pageCount}`,`Sources: ${t.sourceCount}`,`Schema: ${t.hasSchema?"present":"missing"}`,`Index: ${t.hasIndex?"present":"missing"}`,`Log: ${t.hasLog?"present":"missing"}`,`Last updated: ${t.lastUpdatedAt??"unknown"}`].join(`
|
|
129
|
-
`)}function wt(t){return[`Ingested ${t.sourceFile} into the Claudio wiki.`,"",`Title: ${t.title}`,`Source note: ${t.sourceNote}`,`Summary: ${t.summary}`].join(`
|
|
130
|
-
`)}async function kt(t,e){let i=E(),r=e.trim().toLowerCase();if(M.includes(r)||O.includes(r)){t(v(),{display:"system"});return}if(!r||r==="status"){t(yt(await z(i)),{display:"system"});return}if(r==="init"){t(ht(await h(i)),{display:"system"});return}if(r.startsWith("ingest")){let n=e.trim().slice(6).trim();if(!n){t("Usage: /wiki ingest <local-file-path>",{display:"system"});return}t(wt(await A(i,n)),{display:"system"});return}t(`Unknown wiki subcommand: ${e.trim()}
|
|
131
|
-
|
|
132
|
-
${v()}`,{display:"system"})}var Ht=async(t,e,i)=>{return await kt(t,i??""),null};var $t=l(()=>{ft();T();y();N();dt()});$t();export{Ht as call};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{AO as d,BO as e,CO as f,DO as g,EO as h,FO as i,GO as j,HO as k,IO as l,JO as m,KO as n,LO as o,MO as p,NO as q,OO as r,PO as s,QO as t,RO as u,SO as v,xO as a,yO as b,zO as c}from"./cli-0.1.11-s8ygndzf.mjs";import"./cli-0.1.11-1bryv90w.mjs";import"./cli-0.1.11-5e45zda5.mjs";import"./cli-0.1.11-jjgjkqqv.mjs";import"./cli-0.1.11-r990p54m.mjs";import"./cli-0.1.11-70f778wy.mjs";import"./cli-0.1.11-weav8142.mjs";import"./cli-0.1.11-t7dc7fbj.mjs";import"./cli-0.1.11-vb5f7c3a.mjs";import"./cli-0.1.11-sma2xhvv.mjs";import"./cli-0.1.11-852v06g0.mjs";import"./cli-0.1.11-z4hb2mcd.mjs";import"./cli-0.1.11-mj78w4sp.mjs";import"./cli-0.1.11-qrq0sw0h.mjs";import"./cli-0.1.11-d4ahh3jz.mjs";import"./cli-0.1.11-wc9bay3d.mjs";import"./cli-0.1.11-rvk3t45h.mjs";import"./cli-0.1.11-0n77qn68.mjs";import"./cli-0.1.11-h02tyg8p.mjs";import"./cli-0.1.11-bvd2r7an.mjs";import"./cli-0.1.11-jr50ahcv.mjs";import"./cli-0.1.11-6zkfmcxp.mjs";import"./cli-0.1.11-jkrt4znb.mjs";import"./cli-0.1.11-424zgj5k.mjs";import"./cli-0.1.11-rj9ea3zn.mjs";import"./cli-0.1.11-mstxxz33.mjs";import"./cli-0.1.11-kghg51gb.mjs";import"./cli-0.1.11-fstfs72j.mjs";import"./cli-0.1.11-kk0qqs5v.mjs";import"./cli-0.1.11-x37jysc0.mjs";import"./cli-0.1.11-h762f6hr.mjs";import"./cli-0.1.11-50naxqgt.mjs";import"./cli-0.1.11-v6kwgrqc.mjs";import"./cli-0.1.11-16086k9e.mjs";import"./cli-0.1.11-bwpemkht.mjs";import"./cli-0.1.11-dcswnc8x.mjs";import"./cli-0.1.11-p22bdjhv.mjs";import"./cli-0.1.11-y4c6y87y.mjs";import"./cli-0.1.11-q58q9jqr.mjs";import"./cli-0.1.11-zb2sa3e2.mjs";import"./cli-0.1.11-3p2f194m.mjs";import"./cli-0.1.11-05ngjm8p.mjs";import"./cli-0.1.11-yv5pfq6n.mjs";import"./cli-0.1.11-qbcfg80y.mjs";import"./cli-0.1.11-b0jasw23.mjs";import"./cli-0.1.11-s6yfjcm5.mjs";import"./cli-0.1.11-sqqzwx4h.mjs";import"./cli-0.1.11-2w8d5vqb.mjs";import"./cli-0.1.11-d10nfa6g.mjs";import"./cli-0.1.11-h2hxx8ma.mjs";import"./cli-0.1.11-1xr9et85.mjs";import"./cli-0.1.11-v7bwjqf0.mjs";import"./cli-0.1.11-h7e4rkwk.mjs";import"./cli-0.1.11-7xr2ermy.mjs";import"./cli-0.1.11-7qpnfx56.mjs";import"./cli-0.1.11-vch8cn95.mjs";import"./cli-0.1.11-fag2wtke.mjs";import"./cli-0.1.11-nx8a99hz.mjs";import"./cli-0.1.11-ktwtyqmp.mjs";import"./cli-0.1.11-xwj7cmkj.mjs";import"./cli-0.1.11-vq5fvf9m.mjs";import"./cli-0.1.11-d3exw047.mjs";import"./cli-0.1.11-e5ecf583.mjs";import"./cli-0.1.11-rrnr3ab1.mjs";import"./cli-0.1.11-98zcwng9.mjs";import"./cli-0.1.11-yrfxpjhr.mjs";v();export{g as worktreeBranchName,e as withGitWorktreeMutationLock,a as validateWorktreeSlug,c as restoreWorktreeSession,r as removeAgentWorktree,i as parsePRReference,m as killTmuxSession,o as keepWorktree,j as isTmuxAvailable,t as hasWorktreeChanges,k as getTmuxInstallInstructions,b as getCurrentWorktreeSession,d as generateTmuxSessionName,u as execIntoTmuxWorktree,n as createWorktreeForSession,l as createTmuxSessionForWorktree,q as createAgentWorktree,h as copyWorktreeIncludeFiles,p as cleanupWorktree,s as cleanupStaleAgentWorktrees,f as _resetGitWorktreeMutationLocksForTesting};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{PQ as a,QQ as b}from"./cli-0.1.11-vb5f7c3a.mjs";import"./cli-0.1.11-yrfxpjhr.mjs";b();export{a as isWorktreeModeEnabled};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import{Nna as S,Pna as M,Rna as X4,Sna as R}from"./cli-0.1.11-yrfxpjhr.mjs";var C=M((V4,h0)=>{var g0=["nodebuffer","arraybuffer","fragments"],w0=typeof Blob<"u";if(w0)g0.push("blob");h0.exports={BINARY_TYPES:g0,CLOSE_TIMEOUT:30000,EMPTY_BUFFER:Buffer.alloc(0),GUID:"258EAFA5-E914-47DA-95CA-C5AB0DC85B11",hasBlob:w0,kForOnEventAttribute:Symbol("kIsForOnEventAttribute"),kListener:Symbol("kListener"),kStatusCode:Symbol("status-code"),kWebSocket:Symbol("websocket"),NOOP:()=>{}}});var a=M((_4,X0)=>{var{EMPTY_BUFFER:m5}=C(),F0=Buffer[Symbol.species];function f5(J,K){if(J.length===0)return m5;if(J.length===1)return J[0];let X=Buffer.allocUnsafe(K),Z=0;for(let $=0;$<J.length;$++){let G=J[$];X.set(G,Z),Z+=G.length}if(Z<K)return new F0(X.buffer,X.byteOffset,Z);return X}function m0(J,K,X,Z,$){for(let G=0;G<$;G++)X[Z+G]=J[G]^K[G&3]}function f0(J,K){for(let X=0;X<J.length;X++)J[X]^=K[X&3]}function u5(J){if(J.length===J.buffer.byteLength)return J.buffer;return J.buffer.slice(J.byteOffset,J.byteOffset+J.length)}function D0(J){if(D0.readOnly=!0,Buffer.isBuffer(J))return J;let K;if(J instanceof ArrayBuffer)K=new F0(J);else if(ArrayBuffer.isView(J))K=new F0(J.buffer,J.byteOffset,J.byteLength);else K=Buffer.from(J),D0.readOnly=!1;return K}X0.exports={concat:f5,mask:m0,toArrayBuffer:u5,toBuffer:D0,unmask:f0};if(!process.env.WS_NO_BUFFER_UTIL)try{let J=(()=>{throw new Error("Cannot require module "+"bufferutil");})();X0.exports.mask=function(K,X,Z,$,G){if(G<48)m0(K,X,Z,$,G);else J.mask(K,X,Z,$,G)},X0.exports.unmask=function(K,X){if(K.length<32)f0(K,X);else J.unmask(K,X)}}catch(J){}});var i0=M((N4,p0)=>{var u0=Symbol("kDone"),P0=Symbol("kRun");class l0{constructor(J){this[u0]=()=>{this.pending--,this[P0]()},this.concurrency=J||1/0,this.jobs=[],this.pending=0}add(J){this.jobs.push(J),this[P0]()}[P0](){if(this.pending===this.concurrency)return;if(this.jobs.length){let J=this.jobs.shift();this.pending++,J(this[u0])}}}p0.exports=l0});var p=M((H4,n0)=>{var s=R("zlib"),b0=a(),l5=i0(),{kStatusCode:k0}=C(),p5=Buffer[Symbol.species],i5=Buffer.from([0,0,255,255]),$0=Symbol("permessage-deflate"),U=Symbol("total-length"),u=Symbol("callback"),L=Symbol("buffers"),l=Symbol("error"),Z0;class d0{constructor(J){if(this._options=J||{},this._threshold=this._options.threshold!==void 0?this._options.threshold:1024,this._maxPayload=this._options.maxPayload|0,this._isServer=!!this._options.isServer,this._deflate=null,this._inflate=null,this.params=null,!Z0){let K=this._options.concurrencyLimit!==void 0?this._options.concurrencyLimit:10;Z0=new l5(K)}}static get extensionName(){return"permessage-deflate"}offer(){let J={};if(this._options.serverNoContextTakeover)J.server_no_context_takeover=!0;if(this._options.clientNoContextTakeover)J.client_no_context_takeover=!0;if(this._options.serverMaxWindowBits)J.server_max_window_bits=this._options.serverMaxWindowBits;if(this._options.clientMaxWindowBits)J.client_max_window_bits=this._options.clientMaxWindowBits;else if(this._options.clientMaxWindowBits==null)J.client_max_window_bits=!0;return J}accept(J){return J=this.normalizeParams(J),this.params=this._isServer?this.acceptAsServer(J):this.acceptAsClient(J),this.params}cleanup(){if(this._inflate)this._inflate.close(),this._inflate=null;if(this._deflate){let J=this._deflate[u];if(this._deflate.close(),this._deflate=null,J)J(Error("The deflate stream was closed while data was being processed"))}}acceptAsServer(J){let K=this._options,X=J.find((Z)=>{if(K.serverNoContextTakeover===!1&&Z.server_no_context_takeover||Z.server_max_window_bits&&(K.serverMaxWindowBits===!1||typeof K.serverMaxWindowBits==="number"&&K.serverMaxWindowBits>Z.server_max_window_bits)||typeof K.clientMaxWindowBits==="number"&&!Z.client_max_window_bits)return!1;return!0});if(!X)throw Error("None of the extension offers can be accepted");if(K.serverNoContextTakeover)X.server_no_context_takeover=!0;if(K.clientNoContextTakeover)X.client_no_context_takeover=!0;if(typeof K.serverMaxWindowBits==="number")X.server_max_window_bits=K.serverMaxWindowBits;if(typeof K.clientMaxWindowBits==="number")X.client_max_window_bits=K.clientMaxWindowBits;else if(X.client_max_window_bits===!0||K.clientMaxWindowBits===!1)delete X.client_max_window_bits;return X}acceptAsClient(J){let K=J[0];if(this._options.clientNoContextTakeover===!1&&K.client_no_context_takeover)throw Error('Unexpected parameter "client_no_context_takeover"');if(!K.client_max_window_bits){if(typeof this._options.clientMaxWindowBits==="number")K.client_max_window_bits=this._options.clientMaxWindowBits}else if(this._options.clientMaxWindowBits===!1||typeof this._options.clientMaxWindowBits==="number"&&K.client_max_window_bits>this._options.clientMaxWindowBits)throw Error('Unexpected or invalid parameter "client_max_window_bits"');return K}normalizeParams(J){return J.forEach((K)=>{Object.keys(K).forEach((X)=>{let Z=K[X];if(Z.length>1)throw Error(`Parameter "${X}" must have only a single value`);if(Z=Z[0],X==="client_max_window_bits"){if(Z!==!0){let $=+Z;if(!Number.isInteger($)||$<8||$>15)throw TypeError(`Invalid value for parameter "${X}": ${Z}`);Z=$}else if(!this._isServer)throw TypeError(`Invalid value for parameter "${X}": ${Z}`)}else if(X==="server_max_window_bits"){let $=+Z;if(!Number.isInteger($)||$<8||$>15)throw TypeError(`Invalid value for parameter "${X}": ${Z}`);Z=$}else if(X==="client_no_context_takeover"||X==="server_no_context_takeover"){if(Z!==!0)throw TypeError(`Invalid value for parameter "${X}": ${Z}`)}else throw Error(`Unknown parameter "${X}"`);K[X]=Z})}),J}decompress(J,K,X){Z0.add((Z)=>{this._decompress(J,K,($,G)=>{Z(),X($,G)})})}compress(J,K,X){Z0.add((Z)=>{this._compress(J,K,($,G)=>{Z(),X($,G)})})}_decompress(J,K,X){let Z=this._isServer?"client":"server";if(!this._inflate){let $=`${Z}_max_window_bits`,G=typeof this.params[$]!=="number"?s.Z_DEFAULT_WINDOWBITS:this.params[$];this._inflate=s.createInflateRaw({...this._options.zlibInflateOptions,windowBits:G}),this._inflate[$0]=this,this._inflate[U]=0,this._inflate[L]=[],this._inflate.on("error",k5),this._inflate.on("data",c0)}if(this._inflate[u]=X,this._inflate.write(J),K)this._inflate.write(i5);this._inflate.flush(()=>{let $=this._inflate[l];if($){this._inflate.close(),this._inflate=null,X($);return}let G=b0.concat(this._inflate[L],this._inflate[U]);if(this._inflate._readableState.endEmitted)this._inflate.close(),this._inflate=null;else if(this._inflate[U]=0,this._inflate[L]=[],K&&this.params[`${Z}_no_context_takeover`])this._inflate.reset();X(null,G)})}_compress(J,K,X){let Z=this._isServer?"server":"client";if(!this._deflate){let $=`${Z}_max_window_bits`,G=typeof this.params[$]!=="number"?s.Z_DEFAULT_WINDOWBITS:this.params[$];this._deflate=s.createDeflateRaw({...this._options.zlibDeflateOptions,windowBits:G}),this._deflate[U]=0,this._deflate[L]=[],this._deflate.on("data",b5)}this._deflate[u]=X,this._deflate.write(J),this._deflate.flush(s.Z_SYNC_FLUSH,()=>{if(!this._deflate)return;let $=b0.concat(this._deflate[L],this._deflate[U]);if(K)$=new p5($.buffer,$.byteOffset,$.length-4);if(this._deflate[u]=null,this._deflate[U]=0,this._deflate[L]=[],K&&this.params[`${Z}_no_context_takeover`])this._deflate.reset();X(null,$)})}}n0.exports=d0;function b5(J){this[L].push(J),this[U]+=J.length}function c0(J){if(this[U]+=J.length,this[$0]._maxPayload<1||this[U]<=this[$0]._maxPayload){this[L].push(J);return}this[l]=RangeError("Max payload size exceeded"),this[l].code="WS_ERR_UNSUPPORTED_MESSAGE_LENGTH",this[l][k0]=1009,this.removeListener("data",c0),this.reset()}function k5(J){if(this[$0]._inflate=null,this[l]){this[u](this[l]);return}J[k0]=1007,this[u](J)}});var i=M((R4,G0)=>{var{isUtf8:r0}=R("buffer"),{hasBlob:d5}=C(),c5=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0];function n5(J){return J>=1000&&J<=1014&&J!==1004&&J!==1005&&J!==1006||J>=3000&&J<=4999}function M0(J){let K=J.length,X=0;while(X<K)if((J[X]&128)===0)X++;else if((J[X]&224)===192){if(X+1===K||(J[X+1]&192)!==128||(J[X]&254)===192)return!1;X+=2}else if((J[X]&240)===224){if(X+2>=K||(J[X+1]&192)!==128||(J[X+2]&192)!==128||J[X]===224&&(J[X+1]&224)===128||J[X]===237&&(J[X+1]&224)===160)return!1;X+=3}else if((J[X]&248)===240){if(X+3>=K||(J[X+1]&192)!==128||(J[X+2]&192)!==128||(J[X+3]&192)!==128||J[X]===240&&(J[X+1]&240)===128||J[X]===244&&J[X+1]>143||J[X]>244)return!1;X+=4}else return!1;return!0}function r5(J){return d5&&typeof J==="object"&&typeof J.arrayBuffer==="function"&&typeof J.type==="string"&&typeof J.stream==="function"&&(J[Symbol.toStringTag]==="Blob"||J[Symbol.toStringTag]==="File")}G0.exports={isBlob:r5,isValidStatusCode:n5,isValidUTF8:M0,tokenChars:c5};if(r0)G0.exports.isValidUTF8=function(J){return J.length<24?M0(J):r0(J)};else if(!process.env.WS_NO_UTF_8_VALIDATE)try{let J=(()=>{throw new Error("Cannot require module "+"utf-8-validate");})();G0.exports.isValidUTF8=function(K){return K.length<32?M0(K):J(K)}}catch(J){}});var T0=M((A4,e0)=>{var{Writable:a5}=R("stream"),a0=p(),{BINARY_TYPES:s5,EMPTY_BUFFER:s0,kStatusCode:o5,kWebSocket:t5}=C(),{concat:O0,toArrayBuffer:e5,unmask:J1}=a(),{isValidStatusCode:K1,isValidUTF8:o0}=i(),Q0=Buffer[Symbol.species];class t0 extends a5{constructor(J={}){super();this._allowSynchronousEvents=J.allowSynchronousEvents!==void 0?J.allowSynchronousEvents:!0,this._binaryType=J.binaryType||s5[0],this._extensions=J.extensions||{},this._isServer=!!J.isServer,this._maxPayload=J.maxPayload|0,this._skipUTF8Validation=!!J.skipUTF8Validation,this[t5]=void 0,this._bufferedBytes=0,this._buffers=[],this._compressed=!1,this._payloadLength=0,this._mask=void 0,this._fragmented=0,this._masked=!1,this._fin=!1,this._opcode=0,this._totalPayloadLength=0,this._messageLength=0,this._fragments=[],this._errored=!1,this._loop=!1,this._state=0}_write(J,K,X){if(this._opcode===8&&this._state==0)return X();this._bufferedBytes+=J.length,this._buffers.push(J),this.startLoop(X)}consume(J){if(this._bufferedBytes-=J,J===this._buffers[0].length)return this._buffers.shift();if(J<this._buffers[0].length){let X=this._buffers[0];return this._buffers[0]=new Q0(X.buffer,X.byteOffset+J,X.length-J),new Q0(X.buffer,X.byteOffset,J)}let K=Buffer.allocUnsafe(J);do{let X=this._buffers[0],Z=K.length-J;if(J>=X.length)K.set(this._buffers.shift(),Z);else K.set(new Uint8Array(X.buffer,X.byteOffset,J),Z),this._buffers[0]=new Q0(X.buffer,X.byteOffset+J,X.length-J);J-=X.length}while(J>0);return K}startLoop(J){this._loop=!0;do switch(this._state){case 0:this.getInfo(J);break;case 1:this.getPayloadLength16(J);break;case 2:this.getPayloadLength64(J);break;case 3:this.getMask();break;case 4:this.getData(J);break;case 5:case 6:this._loop=!1;return}while(this._loop);if(!this._errored)J()}getInfo(J){if(this._bufferedBytes<2){this._loop=!1;return}let K=this.consume(2);if((K[0]&48)!==0){let Z=this.createError(RangeError,"RSV2 and RSV3 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_2_3");J(Z);return}let X=(K[0]&64)===64;if(X&&!this._extensions[a0.extensionName]){let Z=this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");J(Z);return}if(this._fin=(K[0]&128)===128,this._opcode=K[0]&15,this._payloadLength=K[1]&127,this._opcode===0){if(X){let Z=this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");J(Z);return}if(!this._fragmented){let Z=this.createError(RangeError,"invalid opcode 0",!0,1002,"WS_ERR_INVALID_OPCODE");J(Z);return}this._opcode=this._fragmented}else if(this._opcode===1||this._opcode===2){if(this._fragmented){let Z=this.createError(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE");J(Z);return}this._compressed=X}else if(this._opcode>7&&this._opcode<11){if(!this._fin){let Z=this.createError(RangeError,"FIN must be set",!0,1002,"WS_ERR_EXPECTED_FIN");J(Z);return}if(X){let Z=this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");J(Z);return}if(this._payloadLength>125||this._opcode===8&&this._payloadLength===1){let Z=this.createError(RangeError,`invalid payload length ${this._payloadLength}`,!0,1002,"WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH");J(Z);return}}else{let Z=this.createError(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE");J(Z);return}if(!this._fin&&!this._fragmented)this._fragmented=this._opcode;if(this._masked=(K[1]&128)===128,this._isServer){if(!this._masked){let Z=this.createError(RangeError,"MASK must be set",!0,1002,"WS_ERR_EXPECTED_MASK");J(Z);return}}else if(this._masked){let Z=this.createError(RangeError,"MASK must be clear",!0,1002,"WS_ERR_UNEXPECTED_MASK");J(Z);return}if(this._payloadLength===126)this._state=1;else if(this._payloadLength===127)this._state=2;else this.haveLength(J)}getPayloadLength16(J){if(this._bufferedBytes<2){this._loop=!1;return}this._payloadLength=this.consume(2).readUInt16BE(0),this.haveLength(J)}getPayloadLength64(J){if(this._bufferedBytes<8){this._loop=!1;return}let K=this.consume(8),X=K.readUInt32BE(0);if(X>Math.pow(2,21)-1){let Z=this.createError(RangeError,"Unsupported WebSocket frame: payload length > 2^53 - 1",!1,1009,"WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH");J(Z);return}this._payloadLength=X*Math.pow(2,32)+K.readUInt32BE(4),this.haveLength(J)}haveLength(J){if(this._payloadLength&&this._opcode<8){if(this._totalPayloadLength+=this._payloadLength,this._totalPayloadLength>this._maxPayload&&this._maxPayload>0){let K=this.createError(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH");J(K);return}}if(this._masked)this._state=3;else this._state=4}getMask(){if(this._bufferedBytes<4){this._loop=!1;return}this._mask=this.consume(4),this._state=4}getData(J){let K=s0;if(this._payloadLength){if(this._bufferedBytes<this._payloadLength){this._loop=!1;return}if(K=this.consume(this._payloadLength),this._masked&&(this._mask[0]|this._mask[1]|this._mask[2]|this._mask[3])!==0)J1(K,this._mask)}if(this._opcode>7){this.controlMessage(K,J);return}if(this._compressed){this._state=5,this.decompress(K,J);return}if(K.length)this._messageLength=this._totalPayloadLength,this._fragments.push(K);this.dataMessage(J)}decompress(J,K){this._extensions[a0.extensionName].decompress(J,this._fin,(Z,$)=>{if(Z)return K(Z);if($.length){if(this._messageLength+=$.length,this._messageLength>this._maxPayload&&this._maxPayload>0){let G=this.createError(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH");K(G);return}this._fragments.push($)}if(this.dataMessage(K),this._state===0)this.startLoop(K)})}dataMessage(J){if(!this._fin){this._state=0;return}let K=this._messageLength,X=this._fragments;if(this._totalPayloadLength=0,this._messageLength=0,this._fragmented=0,this._fragments=[],this._opcode===2){let Z;if(this._binaryType==="nodebuffer")Z=O0(X,K);else if(this._binaryType==="arraybuffer")Z=e5(O0(X,K));else if(this._binaryType==="blob")Z=new Blob(X);else Z=X;if(this._allowSynchronousEvents)this.emit("message",Z,!0),this._state=0;else this._state=6,setImmediate(()=>{this.emit("message",Z,!0),this._state=0,this.startLoop(J)})}else{let Z=O0(X,K);if(!this._skipUTF8Validation&&!o0(Z)){let $=this.createError(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8");J($);return}if(this._state===5||this._allowSynchronousEvents)this.emit("message",Z,!1),this._state=0;else this._state=6,setImmediate(()=>{this.emit("message",Z,!1),this._state=0,this.startLoop(J)})}}controlMessage(J,K){if(this._opcode===8){if(J.length===0)this._loop=!1,this.emit("conclude",1005,s0),this.end();else{let X=J.readUInt16BE(0);if(!K1(X)){let $=this.createError(RangeError,`invalid status code ${X}`,!0,1002,"WS_ERR_INVALID_CLOSE_CODE");K($);return}let Z=new Q0(J.buffer,J.byteOffset+2,J.length-2);if(!this._skipUTF8Validation&&!o0(Z)){let $=this.createError(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8");K($);return}this._loop=!1,this.emit("conclude",X,Z),this.end()}this._state=0;return}if(this._allowSynchronousEvents)this.emit(this._opcode===9?"ping":"pong",J),this._state=0;else this._state=6,setImmediate(()=>{this.emit(this._opcode===9?"ping":"pong",J),this._state=0,this.startLoop(K)})}createError(J,K,X,Z,$){this._loop=!1,this._errored=!0;let G=new J(X?`Invalid WebSocket frame: ${K}`:K);return Error.captureStackTrace(G,this.createError),G.code=$,G[o5]=Z,G}}e0.exports=t0});var B0=M((D4,X5)=>{var{Duplex:F4}=R("stream"),{randomFillSync:X1}=R("crypto"),J5=p(),{EMPTY_BUFFER:Z1,kWebSocket:$1,NOOP:G1}=C(),{isBlob:b,isValidStatusCode:Q1}=i(),{mask:K5,toBuffer:v}=a(),T=Symbol("kByteLength"),j1=Buffer.alloc(4),g,k=8192,x=0,I1=1,z1=2;class W{constructor(J,K,X){if(this._extensions=K||{},X)this._generateMask=X,this._maskBuffer=Buffer.alloc(4);this._socket=J,this._firstFragment=!0,this._compress=!1,this._bufferedBytes=0,this._queue=[],this._state=x,this.onerror=G1,this[$1]=void 0}static frame(J,K){let X,Z=!1,$=2,G=!1;if(K.mask){if(X=K.maskBuffer||j1,K.generateMask)K.generateMask(X);else{if(k===8192){if(g===void 0)g=Buffer.alloc(8192);X1(g,0,8192),k=0}X[0]=g[k++],X[1]=g[k++],X[2]=g[k++],X[3]=g[k++]}G=(X[0]|X[1]|X[2]|X[3])===0,$=6}let Q;if(typeof J==="string")if((!K.mask||G)&&K[T]!==void 0)Q=K[T];else J=Buffer.from(J),Q=J.length;else Q=J.length,Z=K.mask&&K.readOnly&&!G;let I=Q;if(Q>=65536)$+=8,I=127;else if(Q>125)$+=2,I=126;let j=Buffer.allocUnsafe(Z?Q+$:$);if(j[0]=K.fin?K.opcode|128:K.opcode,K.rsv1)j[0]|=64;if(j[1]=I,I===126)j.writeUInt16BE(Q,2);else if(I===127)j[2]=j[3]=0,j.writeUIntBE(Q,4,6);if(!K.mask)return[j,J];if(j[1]|=128,j[$-4]=X[0],j[$-3]=X[1],j[$-2]=X[2],j[$-1]=X[3],G)return[j,J];if(Z)return K5(J,X,j,$,Q),[j];return K5(J,X,J,0,Q),[j,J]}close(J,K,X,Z){let $;if(J===void 0)$=Z1;else if(typeof J!=="number"||!Q1(J))throw TypeError("First argument must be a valid error code number");else if(K===void 0||!K.length)$=Buffer.allocUnsafe(2),$.writeUInt16BE(J,0);else{let Q=Buffer.byteLength(K);if(Q>123)throw RangeError("The message must not be greater than 123 bytes");if($=Buffer.allocUnsafe(2+Q),$.writeUInt16BE(J,0),typeof K==="string")$.write(K,2);else $.set(K,2)}let G={[T]:$.length,fin:!0,generateMask:this._generateMask,mask:X,maskBuffer:this._maskBuffer,opcode:8,readOnly:!1,rsv1:!1};if(this._state!==x)this.enqueue([this.dispatch,$,!1,G,Z]);else this.sendFrame(W.frame($,G),Z)}ping(J,K,X){let Z,$;if(typeof J==="string")Z=Buffer.byteLength(J),$=!1;else if(b(J))Z=J.size,$=!1;else J=v(J),Z=J.length,$=v.readOnly;if(Z>125)throw RangeError("The data size must not be greater than 125 bytes");let G={[T]:Z,fin:!0,generateMask:this._generateMask,mask:K,maskBuffer:this._maskBuffer,opcode:9,readOnly:$,rsv1:!1};if(b(J))if(this._state!==x)this.enqueue([this.getBlobData,J,!1,G,X]);else this.getBlobData(J,!1,G,X);else if(this._state!==x)this.enqueue([this.dispatch,J,!1,G,X]);else this.sendFrame(W.frame(J,G),X)}pong(J,K,X){let Z,$;if(typeof J==="string")Z=Buffer.byteLength(J),$=!1;else if(b(J))Z=J.size,$=!1;else J=v(J),Z=J.length,$=v.readOnly;if(Z>125)throw RangeError("The data size must not be greater than 125 bytes");let G={[T]:Z,fin:!0,generateMask:this._generateMask,mask:K,maskBuffer:this._maskBuffer,opcode:10,readOnly:$,rsv1:!1};if(b(J))if(this._state!==x)this.enqueue([this.getBlobData,J,!1,G,X]);else this.getBlobData(J,!1,G,X);else if(this._state!==x)this.enqueue([this.dispatch,J,!1,G,X]);else this.sendFrame(W.frame(J,G),X)}send(J,K,X){let Z=this._extensions[J5.extensionName],$=K.binary?2:1,G=K.compress,Q,I;if(typeof J==="string")Q=Buffer.byteLength(J),I=!1;else if(b(J))Q=J.size,I=!1;else J=v(J),Q=J.length,I=v.readOnly;if(this._firstFragment){if(this._firstFragment=!1,G&&Z&&Z.params[Z._isServer?"server_no_context_takeover":"client_no_context_takeover"])G=Q>=Z._threshold;this._compress=G}else G=!1,$=0;if(K.fin)this._firstFragment=!0;let j={[T]:Q,fin:K.fin,generateMask:this._generateMask,mask:K.mask,maskBuffer:this._maskBuffer,opcode:$,readOnly:I,rsv1:G};if(b(J))if(this._state!==x)this.enqueue([this.getBlobData,J,this._compress,j,X]);else this.getBlobData(J,this._compress,j,X);else if(this._state!==x)this.enqueue([this.dispatch,J,this._compress,j,X]);else this.dispatch(J,this._compress,j,X)}getBlobData(J,K,X,Z){this._bufferedBytes+=X[T],this._state=z1,J.arrayBuffer().then(($)=>{if(this._socket.destroyed){let Q=Error("The socket was closed while the blob was being read");process.nextTick(x0,this,Q,Z);return}this._bufferedBytes-=X[T];let G=v($);if(!K)this._state=x,this.sendFrame(W.frame(G,X),Z),this.dequeue();else this.dispatch(G,K,X,Z)}).catch(($)=>{process.nextTick(Y1,this,$,Z)})}dispatch(J,K,X,Z){if(!K){this.sendFrame(W.frame(J,X),Z);return}let $=this._extensions[J5.extensionName];this._bufferedBytes+=X[T],this._state=I1,$.compress(J,X.fin,(G,Q)=>{if(this._socket.destroyed){let I=Error("The socket was closed while data was being compressed");x0(this,I,Z);return}this._bufferedBytes-=X[T],this._state=x,X.readOnly=!1,this.sendFrame(W.frame(Q,X),Z),this.dequeue()})}dequeue(){while(this._state===x&&this._queue.length){let J=this._queue.shift();this._bufferedBytes-=J[3][T],Reflect.apply(J[0],this,J.slice(1))}}enqueue(J){this._bufferedBytes+=J[3][T],this._queue.push(J)}sendFrame(J,K){if(J.length===2)this._socket.cork(),this._socket.write(J[0]),this._socket.write(J[1],K),this._socket.uncork();else this._socket.write(J[0],K)}}X5.exports=W;function x0(J,K,X){if(typeof X==="function")X(K);for(let Z=0;Z<J._queue.length;Z++){let $=J._queue[Z],G=$[$.length-1];if(typeof G==="function")G(K)}}function Y1(J,K,X){x0(J,K,X),J.onerror(K)}});var V5=M((P4,Y5)=>{var{kForOnEventAttribute:o,kListener:C0}=C(),Z5=Symbol("kCode"),$5=Symbol("kData"),G5=Symbol("kError"),Q5=Symbol("kMessage"),j5=Symbol("kReason"),d=Symbol("kTarget"),I5=Symbol("kType"),z5=Symbol("kWasClean");class y{constructor(J){this[d]=null,this[I5]=J}get target(){return this[d]}get type(){return this[I5]}}Object.defineProperty(y.prototype,"target",{enumerable:!0});Object.defineProperty(y.prototype,"type",{enumerable:!0});class c extends y{constructor(J,K={}){super(J);this[Z5]=K.code===void 0?0:K.code,this[j5]=K.reason===void 0?"":K.reason,this[z5]=K.wasClean===void 0?!1:K.wasClean}get code(){return this[Z5]}get reason(){return this[j5]}get wasClean(){return this[z5]}}Object.defineProperty(c.prototype,"code",{enumerable:!0});Object.defineProperty(c.prototype,"reason",{enumerable:!0});Object.defineProperty(c.prototype,"wasClean",{enumerable:!0});class t extends y{constructor(J,K={}){super(J);this[G5]=K.error===void 0?null:K.error,this[Q5]=K.message===void 0?"":K.message}get error(){return this[G5]}get message(){return this[Q5]}}Object.defineProperty(t.prototype,"error",{enumerable:!0});Object.defineProperty(t.prototype,"message",{enumerable:!0});class I0 extends y{constructor(J,K={}){super(J);this[$5]=K.data===void 0?null:K.data}get data(){return this[$5]}}Object.defineProperty(I0.prototype,"data",{enumerable:!0});var V1={addEventListener(J,K,X={}){for(let $ of this.listeners(J))if(!X[o]&&$[C0]===K&&!$[o])return;let Z;if(J==="message")Z=function(G,Q){let I=new I0("message",{data:Q?G:G.toString()});I[d]=this,j0(K,this,I)};else if(J==="close")Z=function(G,Q){let I=new c("close",{code:G,reason:Q.toString(),wasClean:this._closeFrameReceived&&this._closeFrameSent});I[d]=this,j0(K,this,I)};else if(J==="error")Z=function(G){let Q=new t("error",{error:G,message:G.message});Q[d]=this,j0(K,this,Q)};else if(J==="open")Z=function(){let G=new y("open");G[d]=this,j0(K,this,G)};else return;if(Z[o]=!!X[o],Z[C0]=K,X.once)this.once(J,Z);else this.on(J,Z)},removeEventListener(J,K){for(let X of this.listeners(J))if(X[C0]===K&&!X[o]){this.removeListener(J,X);break}}};Y5.exports={CloseEvent:c,ErrorEvent:t,Event:y,EventTarget:V1,MessageEvent:I0};function j0(J,K,X){if(typeof J==="object"&&J.handleEvent)J.handleEvent.call(J,X);else J.call(K,X)}});var z0=M((M4,_5)=>{var{tokenChars:e}=i();function B(J,K,X){if(J[K]===void 0)J[K]=[X];else J[K].push(X)}function _1(J){let K=Object.create(null),X=Object.create(null),Z=!1,$=!1,G=!1,Q,I,j=-1,V=-1,_=-1,Y=0;for(;Y<J.length;Y++)if(V=J.charCodeAt(Y),Q===void 0)if(_===-1&&e[V]===1){if(j===-1)j=Y}else if(Y!==0&&(V===32||V===9)){if(_===-1&&j!==-1)_=Y}else if(V===59||V===44){if(j===-1)throw SyntaxError(`Unexpected character at index ${Y}`);if(_===-1)_=Y;let D=J.slice(j,_);if(V===44)B(K,D,X),X=Object.create(null);else Q=D;j=_=-1}else throw SyntaxError(`Unexpected character at index ${Y}`);else if(I===void 0)if(_===-1&&e[V]===1){if(j===-1)j=Y}else if(V===32||V===9){if(_===-1&&j!==-1)_=Y}else if(V===59||V===44){if(j===-1)throw SyntaxError(`Unexpected character at index ${Y}`);if(_===-1)_=Y;if(B(X,J.slice(j,_),!0),V===44)B(K,Q,X),X=Object.create(null),Q=void 0;j=_=-1}else if(V===61&&j!==-1&&_===-1)I=J.slice(j,Y),j=_=-1;else throw SyntaxError(`Unexpected character at index ${Y}`);else if($){if(e[V]!==1)throw SyntaxError(`Unexpected character at index ${Y}`);if(j===-1)j=Y;else if(!Z)Z=!0;$=!1}else if(G)if(e[V]===1){if(j===-1)j=Y}else if(V===34&&j!==-1)G=!1,_=Y;else if(V===92)$=!0;else throw SyntaxError(`Unexpected character at index ${Y}`);else if(V===34&&J.charCodeAt(Y-1)===61)G=!0;else if(_===-1&&e[V]===1){if(j===-1)j=Y}else if(j!==-1&&(V===32||V===9)){if(_===-1)_=Y}else if(V===59||V===44){if(j===-1)throw SyntaxError(`Unexpected character at index ${Y}`);if(_===-1)_=Y;let D=J.slice(j,_);if(Z)D=D.replace(/\\/g,""),Z=!1;if(B(X,I,D),V===44)B(K,Q,X),X=Object.create(null),Q=void 0;I=void 0,j=_=-1}else throw SyntaxError(`Unexpected character at index ${Y}`);if(j===-1||G||V===32||V===9)throw SyntaxError("Unexpected end of input");if(_===-1)_=Y;let F=J.slice(j,_);if(Q===void 0)B(K,F,X);else{if(I===void 0)B(X,F,!0);else if(Z)B(X,I,F.replace(/\\/g,""));else B(X,I,F);B(K,Q,X)}return K}function N1(J){return Object.keys(J).map((K)=>{let X=J[K];if(!Array.isArray(X))X=[X];return X.map((Z)=>{return[K].concat(Object.keys(Z).map(($)=>{let G=Z[$];if(!Array.isArray(G))G=[G];return G.map((Q)=>Q===!0?$:`${$}=${Q}`).join("; ")})).join("; ")}).join(", ")}).join(", ")}_5.exports={format:N1,parse:_1}});var N0=M((x4,B5)=>{var H1=R("events"),R1=R("https"),A1=R("http"),R5=R("net"),F1=R("tls"),{randomBytes:D1,createHash:P1}=R("crypto"),{Duplex:O4,Readable:T4}=R("stream"),{URL:U0}=R("url"),E=p(),M1=T0(),O1=B0(),{isBlob:T1}=i(),{BINARY_TYPES:N5,CLOSE_TIMEOUT:x1,EMPTY_BUFFER:Y0,GUID:B1,kForOnEventAttribute:q0,kListener:C1,kStatusCode:U1,kWebSocket:A,NOOP:A5}=C(),{EventTarget:{addEventListener:q1,removeEventListener:L1}}=V5(),{format:W1,parse:y1}=z0(),{toBuffer:E1}=a(),F5=Symbol("kAborted"),L0=[8,13],q=["CONNECTING","OPEN","CLOSING","CLOSED"],S1=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class z extends H1{constructor(J,K,X){super();if(this._binaryType=N5[0],this._closeCode=1006,this._closeFrameReceived=!1,this._closeFrameSent=!1,this._closeMessage=Y0,this._closeTimer=null,this._errorEmitted=!1,this._extensions={},this._paused=!1,this._protocol="",this._readyState=z.CONNECTING,this._receiver=null,this._sender=null,this._socket=null,J!==null){if(this._bufferedAmount=0,this._isServer=!1,this._redirects=0,K===void 0)K=[];else if(!Array.isArray(K))if(typeof K==="object"&&K!==null)X=K,K=[];else K=[K];D5(this,J,K,X)}else this._autoPong=X.autoPong,this._closeTimeout=X.closeTimeout,this._isServer=!0}get binaryType(){return this._binaryType}set binaryType(J){if(!N5.includes(J))return;if(this._binaryType=J,this._receiver)this._receiver._binaryType=J}get bufferedAmount(){if(!this._socket)return this._bufferedAmount;return this._socket._writableState.length+this._sender._bufferedBytes}get extensions(){return Object.keys(this._extensions).join()}get isPaused(){return this._paused}get onclose(){return null}get onerror(){return null}get onopen(){return null}get onmessage(){return null}get protocol(){return this._protocol}get readyState(){return this._readyState}get url(){return this._url}setSocket(J,K,X){let Z=new M1({allowSynchronousEvents:X.allowSynchronousEvents,binaryType:this.binaryType,extensions:this._extensions,isServer:this._isServer,maxPayload:X.maxPayload,skipUTF8Validation:X.skipUTF8Validation}),$=new O1(J,this._extensions,X.generateMask);if(this._receiver=Z,this._sender=$,this._socket=J,Z[A]=this,$[A]=this,J[A]=this,Z.on("conclude",w1),Z.on("drain",h1),Z.on("error",m1),Z.on("message",f1),Z.on("ping",u1),Z.on("pong",l1),$.onerror=p1,J.setTimeout)J.setTimeout(0);if(J.setNoDelay)J.setNoDelay();if(K.length>0)J.unshift(K);J.on("close",O5),J.on("data",_0),J.on("end",T5),J.on("error",x5),this._readyState=z.OPEN,this.emit("open")}emitClose(){if(!this._socket){this._readyState=z.CLOSED,this.emit("close",this._closeCode,this._closeMessage);return}if(this._extensions[E.extensionName])this._extensions[E.extensionName].cleanup();this._receiver.removeAllListeners(),this._readyState=z.CLOSED,this.emit("close",this._closeCode,this._closeMessage)}close(J,K){if(this.readyState===z.CLOSED)return;if(this.readyState===z.CONNECTING){O(this,this._req,"WebSocket was closed before the connection was established");return}if(this.readyState===z.CLOSING){if(this._closeFrameSent&&(this._closeFrameReceived||this._receiver._writableState.errorEmitted))this._socket.end();return}this._readyState=z.CLOSING,this._sender.close(J,K,!this._isServer,(X)=>{if(X)return;if(this._closeFrameSent=!0,this._closeFrameReceived||this._receiver._writableState.errorEmitted)this._socket.end()}),M5(this)}pause(){if(this.readyState===z.CONNECTING||this.readyState===z.CLOSED)return;this._paused=!0,this._socket.pause()}ping(J,K,X){if(this.readyState===z.CONNECTING)throw Error("WebSocket is not open: readyState 0 (CONNECTING)");if(typeof J==="function")X=J,J=K=void 0;else if(typeof K==="function")X=K,K=void 0;if(typeof J==="number")J=J.toString();if(this.readyState!==z.OPEN){W0(this,J,X);return}if(K===void 0)K=!this._isServer;this._sender.ping(J||Y0,K,X)}pong(J,K,X){if(this.readyState===z.CONNECTING)throw Error("WebSocket is not open: readyState 0 (CONNECTING)");if(typeof J==="function")X=J,J=K=void 0;else if(typeof K==="function")X=K,K=void 0;if(typeof J==="number")J=J.toString();if(this.readyState!==z.OPEN){W0(this,J,X);return}if(K===void 0)K=!this._isServer;this._sender.pong(J||Y0,K,X)}resume(){if(this.readyState===z.CONNECTING||this.readyState===z.CLOSED)return;if(this._paused=!1,!this._receiver._writableState.needDrain)this._socket.resume()}send(J,K,X){if(this.readyState===z.CONNECTING)throw Error("WebSocket is not open: readyState 0 (CONNECTING)");if(typeof K==="function")X=K,K={};if(typeof J==="number")J=J.toString();if(this.readyState!==z.OPEN){W0(this,J,X);return}let Z={binary:typeof J!=="string",mask:!this._isServer,compress:!0,fin:!0,...K};if(!this._extensions[E.extensionName])Z.compress=!1;this._sender.send(J||Y0,Z,X)}terminate(){if(this.readyState===z.CLOSED)return;if(this.readyState===z.CONNECTING){O(this,this._req,"WebSocket was closed before the connection was established");return}if(this._socket)this._readyState=z.CLOSING,this._socket.destroy()}}Object.defineProperty(z,"CONNECTING",{enumerable:!0,value:q.indexOf("CONNECTING")});Object.defineProperty(z.prototype,"CONNECTING",{enumerable:!0,value:q.indexOf("CONNECTING")});Object.defineProperty(z,"OPEN",{enumerable:!0,value:q.indexOf("OPEN")});Object.defineProperty(z.prototype,"OPEN",{enumerable:!0,value:q.indexOf("OPEN")});Object.defineProperty(z,"CLOSING",{enumerable:!0,value:q.indexOf("CLOSING")});Object.defineProperty(z.prototype,"CLOSING",{enumerable:!0,value:q.indexOf("CLOSING")});Object.defineProperty(z,"CLOSED",{enumerable:!0,value:q.indexOf("CLOSED")});Object.defineProperty(z.prototype,"CLOSED",{enumerable:!0,value:q.indexOf("CLOSED")});["binaryType","bufferedAmount","extensions","isPaused","protocol","readyState","url"].forEach((J)=>{Object.defineProperty(z.prototype,J,{enumerable:!0})});["open","error","close","message"].forEach((J)=>{Object.defineProperty(z.prototype,`on${J}`,{enumerable:!0,get(){for(let K of this.listeners(J))if(K[q0])return K[C1];return null},set(K){for(let X of this.listeners(J))if(X[q0]){this.removeListener(J,X);break}if(typeof K!=="function")return;this.addEventListener(J,K,{[q0]:!0})}})});z.prototype.addEventListener=q1;z.prototype.removeEventListener=L1;B5.exports=z;function D5(J,K,X,Z){let $={allowSynchronousEvents:!0,autoPong:!0,closeTimeout:x1,protocolVersion:L0[1],maxPayload:104857600,skipUTF8Validation:!1,perMessageDeflate:!0,followRedirects:!1,maxRedirects:10,...Z,socketPath:void 0,hostname:void 0,protocol:void 0,timeout:void 0,method:"GET",host:void 0,path:void 0,port:void 0};if(J._autoPong=$.autoPong,J._closeTimeout=$.closeTimeout,!L0.includes($.protocolVersion))throw RangeError(`Unsupported protocol version: ${$.protocolVersion} (supported versions: ${L0.join(", ")})`);let G;if(K instanceof U0)G=K;else try{G=new U0(K)}catch{throw SyntaxError(`Invalid URL: ${K}`)}if(G.protocol==="http:")G.protocol="ws:";else if(G.protocol==="https:")G.protocol="wss:";J._url=G.href;let Q=G.protocol==="wss:",I=G.protocol==="ws+unix:",j;if(G.protocol!=="ws:"&&!Q&&!I)j=`The URL's protocol must be one of "ws:", "wss:", "http:", "https:", or "ws+unix:"`;else if(I&&!G.pathname)j="The URL's pathname is empty";else if(G.hash)j="The URL contains a fragment identifier";if(j){let N=SyntaxError(j);if(J._redirects===0)throw N;else{V0(J,N);return}}let V=Q?443:80,_=D1(16).toString("base64"),Y=Q?R1.request:A1.request,F=new Set,D;if($.createConnection=$.createConnection||(Q?g1:v1),$.defaultPort=$.defaultPort||V,$.port=G.port||V,$.host=G.hostname.startsWith("[")?G.hostname.slice(1,-1):G.hostname,$.headers={...$.headers,"Sec-WebSocket-Version":$.protocolVersion,"Sec-WebSocket-Key":_,Connection:"Upgrade",Upgrade:"websocket"},$.path=G.pathname+G.search,$.timeout=$.handshakeTimeout,$.perMessageDeflate)D=new E({...$.perMessageDeflate,isServer:!1,maxPayload:$.maxPayload}),$.headers["Sec-WebSocket-Extensions"]=W1({[E.extensionName]:D.offer()});if(X.length){for(let N of X){if(typeof N!=="string"||!S1.test(N)||F.has(N))throw SyntaxError("An invalid or duplicated subprotocol was specified");F.add(N)}$.headers["Sec-WebSocket-Protocol"]=X.join(",")}if($.origin)if($.protocolVersion<13)$.headers["Sec-WebSocket-Origin"]=$.origin;else $.headers.Origin=$.origin;if(G.username||G.password)$.auth=`${G.username}:${G.password}`;if(I){let N=$.path.split(":");$.socketPath=N[0],$.path=N[1]}let H;if($.followRedirects){if(J._redirects===0){J._originalIpc=I,J._originalSecure=Q,J._originalHostOrSocketPath=I?$.socketPath:G.host;let N=Z&&Z.headers;if(Z={...Z,headers:{}},N)for(let[P,m]of Object.entries(N))Z.headers[P.toLowerCase()]=m}else if(J.listenerCount("redirect")===0){let N=I?J._originalIpc?$.socketPath===J._originalHostOrSocketPath:!1:J._originalIpc?!1:G.host===J._originalHostOrSocketPath;if(!N||J._originalSecure&&!Q){if(delete $.headers.authorization,delete $.headers.cookie,!N)delete $.headers.host;$.auth=void 0}}if($.auth&&!Z.headers.authorization)Z.headers.authorization="Basic "+Buffer.from($.auth).toString("base64");if(H=J._req=Y($),J._redirects)J.emit("redirect",J.url,H)}else H=J._req=Y($);if($.timeout)H.on("timeout",()=>{O(J,H,"Opening handshake has timed out")});if(H.on("error",(N)=>{if(H===null||H[F5])return;H=J._req=null,V0(J,N)}),H.on("response",(N)=>{let P=N.headers.location,m=N.statusCode;if(P&&$.followRedirects&&m>=300&&m<400){if(++J._redirects>$.maxRedirects){O(J,H,"Maximum redirects exceeded");return}H.abort();let n;try{n=new U0(P,K)}catch(E0){let f=SyntaxError(`Invalid URL: ${P}`);V0(J,f);return}D5(J,n,X,Z)}else if(!J.emit("unexpected-response",H,N))O(J,H,`Unexpected server response: ${N.statusCode}`)}),H.on("upgrade",(N,P,m)=>{if(J.emit("upgrade",N),J.readyState!==z.CONNECTING)return;H=J._req=null;let n=N.headers.upgrade;if(n===void 0||n.toLowerCase()!=="websocket"){O(J,P,"Invalid Upgrade header");return}let E0=P1("sha1").update(_+B1).digest("base64");if(N.headers["sec-websocket-accept"]!==E0){O(J,P,"Invalid Sec-WebSocket-Accept header");return}let f=N.headers["sec-websocket-protocol"],r;if(f!==void 0){if(!F.size)r="Server sent a subprotocol but none was requested";else if(!F.has(f))r="Server sent an invalid subprotocol"}else if(F.size)r="Server sent no subprotocol";if(r){O(J,P,r);return}if(f)J._protocol=f;let S0=N.headers["sec-websocket-extensions"];if(S0!==void 0){if(!D){O(J,P,"Server sent a Sec-WebSocket-Extensions header but no extension was requested");return}let R0;try{R0=y1(S0)}catch(A0){O(J,P,"Invalid Sec-WebSocket-Extensions header");return}let v0=Object.keys(R0);if(v0.length!==1||v0[0]!==E.extensionName){O(J,P,"Server indicated an extension that was not requested");return}try{D.accept(R0[E.extensionName])}catch(A0){O(J,P,"Invalid Sec-WebSocket-Extensions header");return}J._extensions[E.extensionName]=D}J.setSocket(P,m,{allowSynchronousEvents:$.allowSynchronousEvents,generateMask:$.generateMask,maxPayload:$.maxPayload,skipUTF8Validation:$.skipUTF8Validation})}),$.finishRequest)$.finishRequest(H,J);else H.end()}function V0(J,K){J._readyState=z.CLOSING,J._errorEmitted=!0,J.emit("error",K),J.emitClose()}function v1(J){return J.path=J.socketPath,R5.connect(J)}function g1(J){if(J.path=void 0,!J.servername&&J.servername!=="")J.servername=R5.isIP(J.host)?"":J.host;return F1.connect(J)}function O(J,K,X){J._readyState=z.CLOSING;let Z=Error(X);if(Error.captureStackTrace(Z,O),K.setHeader){if(K[F5]=!0,K.abort(),K.socket&&!K.socket.destroyed)K.socket.destroy();process.nextTick(V0,J,Z)}else K.destroy(Z),K.once("error",J.emit.bind(J,"error")),K.once("close",J.emitClose.bind(J))}function W0(J,K,X){if(K){let Z=T1(K)?K.size:E1(K).length;if(J._socket)J._sender._bufferedBytes+=Z;else J._bufferedAmount+=Z}if(X){let Z=Error(`WebSocket is not open: readyState ${J.readyState} (${q[J.readyState]})`);process.nextTick(X,Z)}}function w1(J,K){let X=this[A];if(X._closeFrameReceived=!0,X._closeMessage=K,X._closeCode=J,X._socket[A]===void 0)return;if(X._socket.removeListener("data",_0),process.nextTick(P5,X._socket),J===1005)X.close();else X.close(J,K)}function h1(){let J=this[A];if(!J.isPaused)J._socket.resume()}function m1(J){let K=this[A];if(K._socket[A]!==void 0)K._socket.removeListener("data",_0),process.nextTick(P5,K._socket),K.close(J[U1]);if(!K._errorEmitted)K._errorEmitted=!0,K.emit("error",J)}function H5(){this[A].emitClose()}function f1(J,K){this[A].emit("message",J,K)}function u1(J){let K=this[A];if(K._autoPong)K.pong(J,!this._isServer,A5);K.emit("ping",J)}function l1(J){this[A].emit("pong",J)}function P5(J){J.resume()}function p1(J){let K=this[A];if(K.readyState===z.CLOSED)return;if(K.readyState===z.OPEN)K._readyState=z.CLOSING,M5(K);if(this._socket.end(),!K._errorEmitted)K._errorEmitted=!0,K.emit("error",J)}function M5(J){J._closeTimer=setTimeout(J._socket.destroy.bind(J._socket),J._closeTimeout)}function O5(){let J=this[A];if(this.removeListener("close",O5),this.removeListener("data",_0),this.removeListener("end",T5),J._readyState=z.CLOSING,!this._readableState.endEmitted&&!J._closeFrameReceived&&!J._receiver._writableState.errorEmitted&&this._readableState.length!==0){let K=this.read(this._readableState.length);J._receiver.write(K)}if(J._receiver.end(),this[A]=void 0,clearTimeout(J._closeTimer),J._receiver._writableState.finished||J._receiver._writableState.errorEmitted)J.emitClose();else J._receiver.on("error",H5),J._receiver.on("finish",H5)}function _0(J){if(!this[A]._receiver.write(J))this.pause()}function T5(){let J=this[A];J._readyState=z.CLOSING,J._receiver.end(),this.end()}function x5(){let J=this[A];if(this.removeListener("error",x5),this.on("error",A5),J)J._readyState=z.CLOSING,this.destroy()}});var L5=M((C4,q5)=>{var B4=N0(),{Duplex:i1}=R("stream");function C5(J){J.emit("close")}function b1(){if(!this.destroyed&&this._writableState.finished)this.destroy()}function U5(J){if(this.removeListener("error",U5),this.destroy(),this.listenerCount("error")===0)this.emit("error",J)}function k1(J,K){let X=!0,Z=new i1({...K,autoDestroy:!1,emitClose:!1,objectMode:!1,writableObjectMode:!1});return J.on("message",function(G,Q){let I=!Q&&Z._readableState.objectMode?G.toString():G;if(!Z.push(I))J.pause()}),J.once("error",function(G){if(Z.destroyed)return;X=!1,Z.destroy(G)}),J.once("close",function(){if(Z.destroyed)return;Z.push(null)}),Z._destroy=function($,G){if(J.readyState===J.CLOSED){G($),process.nextTick(C5,Z);return}let Q=!1;if(J.once("error",function(j){Q=!0,G(j)}),J.once("close",function(){if(!Q)G($);process.nextTick(C5,Z)}),X)J.terminate()},Z._final=function($){if(J.readyState===J.CONNECTING){J.once("open",function(){Z._final($)});return}if(J._socket===null)return;if(J._socket._writableState.finished){if($(),Z._readableState.endEmitted)Z.destroy()}else J._socket.once("finish",function(){$()}),J.close()},Z._read=function(){if(J.isPaused)J.resume()},Z._write=function($,G,Q){if(J.readyState===J.CONNECTING){J.once("open",function(){Z._write($,G,Q)});return}J.send($,Q)},Z.on("end",b1),Z.on("error",U5),Z}q5.exports=k1});var y0=M((U4,W5)=>{var{tokenChars:d1}=i();function c1(J){let K=new Set,X=-1,Z=-1,$=0;for($;$<J.length;$++){let Q=J.charCodeAt($);if(Z===-1&&d1[Q]===1){if(X===-1)X=$}else if($!==0&&(Q===32||Q===9)){if(Z===-1&&X!==-1)Z=$}else if(Q===44){if(X===-1)throw SyntaxError(`Unexpected character at index ${$}`);if(Z===-1)Z=$;let I=J.slice(X,Z);if(K.has(I))throw SyntaxError(`The "${I}" subprotocol is duplicated`);K.add(I),X=Z=-1}else throw SyntaxError(`Unexpected character at index ${$}`)}if(X===-1||Z!==-1)throw SyntaxError("Unexpected end of input");let G=J.slice(X,$);if(K.has(G))throw SyntaxError(`The "${G}" subprotocol is duplicated`);return K.add(G),K}W5.exports={parse:c1}});var g5=M((L4,v5)=>{var n1=R("events"),H0=R("http"),{Duplex:q4}=R("stream"),{createHash:r1}=R("crypto"),y5=z0(),w=p(),a1=y0(),s1=N0(),{CLOSE_TIMEOUT:o1,GUID:t1,kWebSocket:e1}=C(),J4=/^[+/0-9A-Za-z]{22}==$/;class S5 extends n1{constructor(J,K){super();if(J={allowSynchronousEvents:!0,autoPong:!0,maxPayload:104857600,skipUTF8Validation:!1,perMessageDeflate:!1,handleProtocols:null,clientTracking:!0,closeTimeout:o1,verifyClient:null,noServer:!1,backlog:null,server:null,host:null,path:null,port:null,WebSocket:s1,...J},J.port==null&&!J.server&&!J.noServer||J.port!=null&&(J.server||J.noServer)||J.server&&J.noServer)throw TypeError('One and only one of the "port", "server", or "noServer" options must be specified');if(J.port!=null)this._server=H0.createServer((X,Z)=>{let $=H0.STATUS_CODES[426];Z.writeHead(426,{"Content-Length":$.length,"Content-Type":"text/plain"}),Z.end($)}),this._server.listen(J.port,J.host,J.backlog,K);else if(J.server)this._server=J.server;if(this._server){let X=this.emit.bind(this,"connection");this._removeListeners=K4(this._server,{listening:this.emit.bind(this,"listening"),error:this.emit.bind(this,"error"),upgrade:(Z,$,G)=>{this.handleUpgrade(Z,$,G,X)}})}if(J.perMessageDeflate===!0)J.perMessageDeflate={};if(J.clientTracking)this.clients=new Set,this._shouldEmitClose=!1;this.options=J,this._state=0}address(){if(this.options.noServer)throw Error('The server is operating in "noServer" mode');if(!this._server)return null;return this._server.address()}close(J){if(this._state===2){if(J)this.once("close",()=>{J(Error("The server is not running"))});process.nextTick(J0,this);return}if(J)this.once("close",J);if(this._state===1)return;if(this._state=1,this.options.noServer||this.options.server){if(this._server)this._removeListeners(),this._removeListeners=this._server=null;if(this.clients)if(!this.clients.size)process.nextTick(J0,this);else this._shouldEmitClose=!0;else process.nextTick(J0,this)}else{let K=this._server;this._removeListeners(),this._removeListeners=this._server=null,K.close(()=>{J0(this)})}}shouldHandle(J){if(this.options.path){let K=J.url.indexOf("?");if((K!==-1?J.url.slice(0,K):J.url)!==this.options.path)return!1}return!0}handleUpgrade(J,K,X,Z){K.on("error",E5);let $=J.headers["sec-websocket-key"],G=J.headers.upgrade,Q=+J.headers["sec-websocket-version"];if(J.method!=="GET"){h(this,J,K,405,"Invalid HTTP method");return}if(G===void 0||G.toLowerCase()!=="websocket"){h(this,J,K,400,"Invalid Upgrade header");return}if($===void 0||!J4.test($)){h(this,J,K,400,"Missing or invalid Sec-WebSocket-Key header");return}if(Q!==13&&Q!==8){h(this,J,K,400,"Missing or invalid Sec-WebSocket-Version header",{"Sec-WebSocket-Version":"13, 8"});return}if(!this.shouldHandle(J)){K0(K,400);return}let I=J.headers["sec-websocket-protocol"],j=new Set;if(I!==void 0)try{j=a1.parse(I)}catch(Y){h(this,J,K,400,"Invalid Sec-WebSocket-Protocol header");return}let V=J.headers["sec-websocket-extensions"],_={};if(this.options.perMessageDeflate&&V!==void 0){let Y=new w({...this.options.perMessageDeflate,isServer:!0,maxPayload:this.options.maxPayload});try{let F=y5.parse(V);if(F[w.extensionName])Y.accept(F[w.extensionName]),_[w.extensionName]=Y}catch(F){h(this,J,K,400,"Invalid or unacceptable Sec-WebSocket-Extensions header");return}}if(this.options.verifyClient){let Y={origin:J.headers[`${Q===8?"sec-websocket-origin":"origin"}`],secure:!!(J.socket.authorized||J.socket.encrypted),req:J};if(this.options.verifyClient.length===2){this.options.verifyClient(Y,(F,D,H,N)=>{if(!F)return K0(K,D||401,H,N);this.completeUpgrade(_,$,j,J,K,X,Z)});return}if(!this.options.verifyClient(Y))return K0(K,401)}this.completeUpgrade(_,$,j,J,K,X,Z)}completeUpgrade(J,K,X,Z,$,G,Q){if(!$.readable||!$.writable)return $.destroy();if($[e1])throw Error("server.handleUpgrade() was called more than once with the same socket, possibly due to a misconfiguration");if(this._state>0)return K0($,503);let j=["HTTP/1.1 101 Switching Protocols","Upgrade: websocket","Connection: Upgrade",`Sec-WebSocket-Accept: ${r1("sha1").update(K+t1).digest("base64")}`],V=new this.options.WebSocket(null,void 0,this.options);if(X.size){let _=this.options.handleProtocols?this.options.handleProtocols(X,Z):X.values().next().value;if(_)j.push(`Sec-WebSocket-Protocol: ${_}`),V._protocol=_}if(J[w.extensionName]){let _=J[w.extensionName].params,Y=y5.format({[w.extensionName]:[_]});j.push(`Sec-WebSocket-Extensions: ${Y}`),V._extensions=J}if(this.emit("headers",j,Z),$.write(j.concat(`\r
|
|
2
|
-
`).join(`\r
|
|
3
|
-
`)),$.removeListener("error",E5),V.setSocket($,G,{allowSynchronousEvents:this.options.allowSynchronousEvents,maxPayload:this.options.maxPayload,skipUTF8Validation:this.options.skipUTF8Validation}),this.clients)this.clients.add(V),V.on("close",()=>{if(this.clients.delete(V),this._shouldEmitClose&&!this.clients.size)process.nextTick(J0,this)});Q(V,Z)}}v5.exports=S5;function K4(J,K){for(let X of Object.keys(K))J.on(X,K[X]);return function(){for(let Z of Object.keys(K))J.removeListener(Z,K[Z])}}function J0(J){J._state=2,J.emit("close")}function E5(){this.destroy()}function K0(J,K,X,Z){X=X||H0.STATUS_CODES[K],Z={Connection:"close","Content-Type":"text/html","Content-Length":Buffer.byteLength(X),...Z},J.once("finish",J.destroy),J.end(`HTTP/1.1 ${K} ${H0.STATUS_CODES[K]}\r
|
|
4
|
-
`+Object.keys(Z).map(($)=>`${$}: ${Z[$]}`).join(`\r
|
|
5
|
-
`)+`\r
|
|
6
|
-
\r
|
|
7
|
-
`+X)}function h(J,K,X,Z,$,G){if(J.listenerCount("wsClientError")){let Q=Error($);Error.captureStackTrace(Q,h),J.emit("wsClientError",Q,X,K)}else K0(X,Z,$,G)}});var Z4,$4,G4,Q4,j4,I4,w5,z4,y4;var Y4=X4(()=>{Z4=S(L5(),1),$4=S(z0(),1),G4=S(p(),1),Q4=S(T0(),1),j4=S(B0(),1),I4=S(y0(),1),w5=S(N0(),1),z4=S(g5(),1),y4=w5.default});Y4();var export_subprotocol=I4.default;var export_extension=$4.default;var export_createWebSocketStream=Z4.default;var export_WebSocketServer=z4.default;var export_WebSocket=w5.default;var export_Sender=j4.default;var export_Receiver=Q4.default;var export_PerMessageDeflate=G4.default;export{export_subprotocol as subprotocol,export_extension as extension,y4 as default,export_createWebSocketStream as createWebSocketStream,export_WebSocketServer as WebSocketServer,export_WebSocket as WebSocket,export_Sender as Sender,export_Receiver as Receiver,export_PerMessageDeflate as PerMessageDeflate};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|