@claudiolabs/claudio 0.1.12 → 0.1.14

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.
Files changed (642) hide show
  1. package/bin/claudio +7 -0
  2. package/dist/chunks/AgentTool-0.1.14-cdr5h1g4.mjs +1 -0
  3. package/dist/chunks/App-0.1.14-pg2tqqjz.mjs +1 -0
  4. package/dist/chunks/ApproveApiKey-0.1.14-e86h3nff.mjs +1 -0
  5. package/dist/chunks/{AssistantSessionChooser-0.1.12-x3zt5579.mjs → AssistantSessionChooser-0.1.14-tf848k8v.mjs} +1 -1
  6. package/dist/chunks/AutoModeOptInDialog-0.1.14-ftdkaf8h.mjs +1 -0
  7. package/dist/chunks/BypassPermissionsModeDialog-0.1.14-d45z21x5.mjs +1 -0
  8. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.1.14-dzhpgrhm.mjs +1 -0
  9. package/dist/chunks/ConsoleOAuthFlow-0.1.14-y2v8vg76.mjs +1 -0
  10. package/dist/chunks/{DiffDialog-0.1.12-tzjdg5ys.mjs → DiffDialog-0.1.14-wtx2wmbs.mjs} +1 -1
  11. package/dist/chunks/Doctor-0.1.14-rhryp3qj.mjs +1 -0
  12. package/dist/chunks/Grove-0.1.14-4pt83x25.mjs +1 -0
  13. package/dist/chunks/ITermBackend-0.1.14-xtdr5bmp.mjs +1 -0
  14. package/dist/chunks/{InProcessTransport-0.1.12-xnrc78z1.mjs → InProcessTransport-0.1.14-wdqgcpb4.mjs} +1 -1
  15. package/dist/chunks/InvalidConfigDialog-0.1.14-rx2djmka.mjs +1 -0
  16. package/dist/chunks/InvalidSettingsDialog-0.1.14-nhkj2max.mjs +1 -0
  17. package/dist/chunks/MigrationDialog-0.1.14-f6hf3ymp.mjs +1 -0
  18. package/dist/chunks/Onboarding-0.1.14-1rddgg2b.mjs +1 -0
  19. package/dist/chunks/ProviderManager-0.1.14-2d77t0cr.mjs +1 -0
  20. package/dist/chunks/REPL-0.1.14-rz1jsayd.mjs +1 -0
  21. package/dist/chunks/ResumeConversation-0.1.14-79hg5s2w.mjs +1 -0
  22. package/dist/chunks/{SnapshotUpdateDialog-0.1.12-f1byjres.mjs → SnapshotUpdateDialog-0.1.14-sbjnsz3c.mjs} +1 -1
  23. package/dist/chunks/TeleportProgress-0.1.14-411m3y24.mjs +1 -0
  24. package/dist/chunks/TeleportRepoMismatchDialog-0.1.14-v6ytg24w.mjs +1 -0
  25. package/dist/chunks/TeleportResumeWrapper-0.1.14-8wfa8twy.mjs +1 -0
  26. package/dist/chunks/TmuxBackend-0.1.14-175xkeyy.mjs +9 -0
  27. package/dist/chunks/ToolSearchTool-0.1.14-rpbvvb5j.mjs +1 -0
  28. package/dist/chunks/TrustDialog-0.1.14-zvmfmtg5.mjs +1 -0
  29. package/dist/chunks/activeProvider-0.1.14-5cpywex1.mjs +1 -0
  30. package/dist/chunks/add-dir-0.1.14-q700x1tp.mjs +1 -0
  31. package/dist/chunks/agents-0.1.14-nm4k11re.mjs +3 -0
  32. package/dist/chunks/{agents-0.1.12-vfwpnn0d.mjs → agents-0.1.14-pjr42t23.mjs} +2 -2
  33. package/dist/chunks/api-0.1.14-v09922m9.mjs +1 -0
  34. package/dist/chunks/{asciicast-0.1.12-nwzfr5gz.mjs → asciicast-0.1.14-kgp9j4z6.mjs} +1 -1
  35. package/dist/chunks/assistant-0.1.14-yt6v1sjy.mjs +1 -0
  36. package/dist/chunks/auth-0.1.14-vg6ez70v.mjs +1 -0
  37. package/dist/chunks/{auth-0.1.12-vhdwtwhb.mjs → auth-0.1.14-vj6095mm.mjs} +1 -1
  38. package/dist/chunks/{autoMode-0.1.12-xjr5qd6q.mjs → autoMode-0.1.14-jxse6h16.mjs} +1 -1
  39. package/dist/chunks/backgroundHousekeeping-0.1.14-bh13ez8a.mjs +1 -0
  40. package/dist/chunks/branch-0.1.14-r5tt7cec.mjs +4 -0
  41. package/dist/chunks/{bridgePointer-0.1.12-vdj4j4ke.mjs → bridgePointer-0.1.14-2w1wvxgt.mjs} +1 -1
  42. package/dist/chunks/btw-0.1.14-j1cexrtn.mjs +1 -0
  43. package/dist/chunks/{buddy-0.1.12-4q50s2x4.mjs → buddy-0.1.14-r4nmfbke.mjs} +1 -1
  44. package/dist/chunks/cacache-0.1.14-3vw5qkqs.mjs +1 -0
  45. package/dist/chunks/{cache-probe-0.1.12-4s8cc2km.mjs → cache-probe-0.1.14-zfb6aw4f.mjs} +1 -1
  46. package/dist/chunks/{cacheStats-0.1.12-qqcw6b5n.mjs → cacheStats-0.1.14-15eahew3.mjs} +1 -1
  47. package/dist/chunks/caches-0.1.14-et2zg3m5.mjs +1 -0
  48. package/dist/chunks/{claudeDesktop-0.1.12-1yrkynq4.mjs → claudeDesktop-0.1.14-0df0z4v6.mjs} +1 -1
  49. package/dist/chunks/claudemd-0.1.14-exzt8psa.mjs +1 -0
  50. package/dist/chunks/clear-0.1.14-62gnxkg3.mjs +1 -0
  51. package/dist/chunks/clearTerminal-0.1.14-5p1j5sbv.mjs +1 -0
  52. package/dist/chunks/cli-0.1.14-08ambmnj.mjs +2 -0
  53. package/dist/chunks/cli-0.1.14-0a8ckx07.mjs +2 -0
  54. package/dist/chunks/cli-0.1.14-0ctjta81.mjs +5 -0
  55. package/dist/chunks/{cli-0.1.12-faa9mx3m.mjs → cli-0.1.14-0kzzfe41.mjs} +2 -2
  56. package/dist/chunks/cli-0.1.14-0nhaxy76.mjs +4 -0
  57. package/dist/chunks/{cli-0.1.12-q63qrz06.mjs → cli-0.1.14-0x3m90bk.mjs} +2 -2
  58. package/dist/chunks/{cli-0.1.12-v000x470.mjs → cli-0.1.14-16jrehc2.mjs} +2 -2
  59. package/dist/chunks/{cli-0.1.12-352pjhkh.mjs → cli-0.1.14-1g5jq0j8.mjs} +2 -2
  60. package/dist/chunks/cli-0.1.14-1shkmy81.mjs +2 -0
  61. package/dist/chunks/{cli-0.1.12-trdq9d6x.mjs → cli-0.1.14-1xkst5wv.mjs} +2 -2
  62. package/dist/chunks/{cli-0.1.12-rwhrpb6w.mjs → cli-0.1.14-244fknyr.mjs} +2 -2
  63. package/dist/chunks/{cli-0.1.12-1x06khjr.mjs → cli-0.1.14-25ta9abj.mjs} +2 -2
  64. package/dist/chunks/{cli-0.1.12-0vf5f6qn.mjs → cli-0.1.14-28exj8zm.mjs} +2 -2
  65. package/dist/chunks/cli-0.1.14-2e2jfccr.mjs +2 -0
  66. package/dist/chunks/{cli-0.1.12-vzga2are.mjs → cli-0.1.14-2f7s5xbd.mjs} +6 -6
  67. package/dist/chunks/{cli-0.1.12-rzpc0tr9.mjs → cli-0.1.14-2mzb5ath.mjs} +2 -2
  68. package/dist/chunks/cli-0.1.14-373staaj.mjs +2 -0
  69. package/dist/chunks/cli-0.1.14-39y8qfj7.mjs +2 -0
  70. package/dist/chunks/cli-0.1.14-3m63hy2a.mjs +3 -0
  71. package/dist/chunks/cli-0.1.14-3scecgzx.mjs +6 -0
  72. package/dist/chunks/{cli-0.1.12-g2s9mjr6.mjs → cli-0.1.14-3w7fbjhy.mjs} +2 -2
  73. package/dist/chunks/{cli-0.1.12-9pq0gse0.mjs → cli-0.1.14-3xj419mp.mjs} +2 -2
  74. package/dist/chunks/{cli-0.1.12-yk12dgnx.mjs → cli-0.1.14-3yj4dkmn.mjs} +2 -2
  75. package/dist/chunks/cli-0.1.14-3zj4s594.mjs +2 -0
  76. package/dist/chunks/{cli-0.1.12-ae3e3ffp.mjs → cli-0.1.14-42sm5vzr.mjs} +2 -2
  77. package/dist/chunks/cli-0.1.14-442a367x.mjs +2 -0
  78. package/dist/chunks/{cli-0.1.12-jqrk975g.mjs → cli-0.1.14-473sgexj.mjs} +2 -2
  79. package/dist/chunks/{cli-0.1.12-6238zg7k.mjs → cli-0.1.14-4mde8z7h.mjs} +2 -2
  80. package/dist/chunks/{cli-0.1.12-9v01t95v.mjs → cli-0.1.14-4tmbgg29.mjs} +2 -2
  81. package/dist/chunks/cli-0.1.14-4wdh3k7y.mjs +2 -0
  82. package/dist/chunks/{cli-0.1.12-vxej5jdm.mjs → cli-0.1.14-59axynr8.mjs} +2 -2
  83. package/dist/chunks/{cli-0.1.12-qsh4sj4y.mjs → cli-0.1.14-5brvxst8.mjs} +2 -2
  84. package/dist/chunks/cli-0.1.14-5e5kkjam.mjs +2 -0
  85. package/dist/chunks/cli-0.1.14-5rp4y3q2.mjs +2 -0
  86. package/dist/chunks/{cli-0.1.12-0eznapyf.mjs → cli-0.1.14-5te1nbdc.mjs} +2 -2
  87. package/dist/chunks/cli-0.1.14-68wbwy40.mjs +4 -0
  88. package/dist/chunks/cli-0.1.14-6cjjzttb.mjs +3 -0
  89. package/dist/chunks/{cli-0.1.12-v8j9zstg.mjs → cli-0.1.14-71m91842.mjs} +2 -2
  90. package/dist/chunks/{cli-0.1.12-0kqx19vz.mjs → cli-0.1.14-71sp86jb.mjs} +2 -2
  91. package/dist/chunks/{cli-0.1.12-d0es0fxd.mjs → cli-0.1.14-77ha4n58.mjs} +2 -2
  92. package/dist/chunks/{cli-0.1.12-a2qh6gjr.mjs → cli-0.1.14-7zjhrz42.mjs} +3 -3
  93. package/dist/chunks/{cli-0.1.12-r6f9sy54.mjs → cli-0.1.14-7zz7abpc.mjs} +2 -2
  94. package/dist/chunks/cli-0.1.14-86gckvrm.mjs +2 -0
  95. package/dist/chunks/cli-0.1.14-893g12wf.mjs +2 -0
  96. package/dist/chunks/cli-0.1.14-8fr10t94.mjs +17 -0
  97. package/dist/chunks/{cli-0.1.12-3ywnr2v1.mjs → cli-0.1.14-90zkq8jm.mjs} +2 -2
  98. package/dist/chunks/cli-0.1.14-9b8kspnd.mjs +2 -0
  99. package/dist/chunks/cli-0.1.14-9evp0ewn.mjs +2 -0
  100. package/dist/chunks/cli-0.1.14-9gem156t.mjs +2 -0
  101. package/dist/chunks/{cli-0.1.12-hsw67esw.mjs → cli-0.1.14-9kxzs20h.mjs} +2 -2
  102. package/dist/chunks/{cli-0.1.12-4wwhk7dc.mjs → cli-0.1.14-9vc52dnj.mjs} +2 -2
  103. package/dist/chunks/cli-0.1.14-a15xdexp.mjs +12 -0
  104. package/dist/chunks/cli-0.1.14-a6kwmqhz.mjs +16 -0
  105. package/dist/chunks/{cli-0.1.12-37ga9zc2.mjs → cli-0.1.14-a9ytrehs.mjs} +2 -2
  106. package/dist/chunks/{cli-0.1.12-7ehqw1dk.mjs → cli-0.1.14-ab0rxxvk.mjs} +2 -2
  107. package/dist/chunks/{cli-0.1.12-mr41yjpw.mjs → cli-0.1.14-adz0gnzy.mjs} +2 -2
  108. package/dist/chunks/{cli-0.1.12-ktpqrbjc.mjs → cli-0.1.14-aky5tegx.mjs} +2 -2
  109. package/dist/chunks/{cli-0.1.12-vgbc3g9x.mjs → cli-0.1.14-akz49g5v.mjs} +2 -2
  110. package/dist/chunks/{cli-0.1.12-sgtpyf6y.mjs → cli-0.1.14-as1s0b0t.mjs} +2 -2
  111. package/dist/chunks/cli-0.1.14-as9nq99n.mjs +2 -0
  112. package/dist/chunks/{cli-0.1.12-5exp787z.mjs → cli-0.1.14-ba919tmj.mjs} +2 -2
  113. package/dist/chunks/cli-0.1.14-bat0c779.mjs +2 -0
  114. package/dist/chunks/{cli-0.1.12-v0510w04.mjs → cli-0.1.14-bgqm4vsk.mjs} +2 -2
  115. package/dist/chunks/{cli-0.1.12-756ngehz.mjs → cli-0.1.14-c0bv9eha.mjs} +2 -2
  116. package/dist/chunks/{cli-0.1.12-f0x1y6nn.mjs → cli-0.1.14-c4v2kfdn.mjs} +2 -2
  117. package/dist/chunks/{cli-0.1.12-xekep4qg.mjs → cli-0.1.14-canpypsb.mjs} +2 -2
  118. package/dist/chunks/{cli-0.1.12-g3ycbjxk.mjs → cli-0.1.14-cdby401e.mjs} +2 -2
  119. package/dist/chunks/cli-0.1.14-ch9c9c38.mjs +2 -0
  120. package/dist/chunks/{cli-0.1.12-nv2m8kgk.mjs → cli-0.1.14-ckjcet41.mjs} +2 -2
  121. package/dist/chunks/{cli-0.1.12-c23pyffx.mjs → cli-0.1.14-cp2pada5.mjs} +2 -2
  122. package/dist/chunks/cli-0.1.14-d1edbjh4.mjs +25 -0
  123. package/dist/chunks/{cli-0.1.12-z8eybrhz.mjs → cli-0.1.14-d483gd53.mjs} +2 -2
  124. package/dist/chunks/{cli-0.1.12-d8m01qtm.mjs → cli-0.1.14-d4zkffre.mjs} +2 -2
  125. package/dist/chunks/{cli-0.1.12-ps94e9y5.mjs → cli-0.1.14-dcgxqsyp.mjs} +2 -2
  126. package/dist/chunks/cli-0.1.14-dntkrp1j.mjs +134 -0
  127. package/dist/chunks/cli-0.1.14-dq7jkw1n.mjs +2 -0
  128. package/dist/chunks/cli-0.1.14-dqads3y3.mjs +2 -0
  129. package/dist/chunks/{cli-0.1.12-8znn9f50.mjs → cli-0.1.14-dt11hwkv.mjs} +2 -2
  130. package/dist/chunks/{cli-0.1.12-kys514qx.mjs → cli-0.1.14-dw74ppax.mjs} +2 -2
  131. package/dist/chunks/cli-0.1.14-dz2jvye2.mjs +2 -0
  132. package/dist/chunks/cli-0.1.14-e40hm9sd.mjs +2 -0
  133. package/dist/chunks/{cli-0.1.12-2zqgfhrb.mjs → cli-0.1.14-edjtfw4q.mjs} +2 -2
  134. package/dist/chunks/cli-0.1.14-efhhkgkx.mjs +2 -0
  135. package/dist/chunks/cli-0.1.14-eq0gbnpg.mjs +2 -0
  136. package/dist/chunks/cli-0.1.14-et8yewbf.mjs +2 -0
  137. package/dist/chunks/cli-0.1.14-fdpfr31f.mjs +2 -0
  138. package/dist/chunks/{cli-0.1.12-mwp84gtr.mjs → cli-0.1.14-fhfj87ej.mjs} +2 -2
  139. package/dist/chunks/{cli-0.1.12-zs5rpqmb.mjs → cli-0.1.14-fmgz6tx2.mjs} +3 -3
  140. package/dist/chunks/{cli-0.1.12-ds2mn8zn.mjs → cli-0.1.14-fmmxw3gj.mjs} +2 -2
  141. package/dist/chunks/{cli-0.1.12-5ye0t0xd.mjs → cli-0.1.14-fspxpmh7.mjs} +2 -2
  142. package/dist/chunks/{cli-0.1.12-h0d833vg.mjs → cli-0.1.14-ftjxb57b.mjs} +4 -4
  143. package/dist/chunks/{cli-0.1.12-wdmxm11z.mjs → cli-0.1.14-g5q2xqp3.mjs} +2 -2
  144. package/dist/chunks/cli-0.1.14-gdm27acz.mjs +2 -0
  145. package/dist/chunks/{cli-0.1.12-ytxphavm.mjs → cli-0.1.14-harz1d9d.mjs} +2 -2
  146. package/dist/chunks/{cli-0.1.12-qn20n18h.mjs → cli-0.1.14-heevc19y.mjs} +5 -5
  147. package/dist/chunks/{cli-0.1.12-04jw23rj.mjs → cli-0.1.14-hjktwgtk.mjs} +2 -2
  148. package/dist/chunks/cli-0.1.14-hkaqyhx1.mjs +2 -0
  149. package/dist/chunks/{cli-0.1.12-4syxz3pe.mjs → cli-0.1.14-hvfg45y0.mjs} +2 -2
  150. package/dist/chunks/{cli-0.1.12-04v3yab2.mjs → cli-0.1.14-hxvzvfr2.mjs} +3 -3
  151. package/dist/chunks/cli-0.1.14-j5sbzwhy.mjs +5045 -0
  152. package/dist/chunks/cli-0.1.14-ja2ctrem.mjs +2 -0
  153. package/dist/chunks/{cli-0.1.12-m6jeef2z.mjs → cli-0.1.14-jbn4ywda.mjs} +2 -2
  154. package/dist/chunks/{cli-0.1.12-7xsa2bcp.mjs → cli-0.1.14-jf8019sb.mjs} +2 -2
  155. package/dist/chunks/cli-0.1.14-jnfs73kb.mjs +2 -0
  156. package/dist/chunks/{cli-0.1.12-4qedbzt3.mjs → cli-0.1.14-jpe9sxch.mjs} +2 -2
  157. package/dist/chunks/{cli-0.1.12-7mjpbm22.mjs → cli-0.1.14-k8nwm06m.mjs} +2 -2
  158. package/dist/chunks/{cli-0.1.12-j6hwb68p.mjs → cli-0.1.14-k9jcmxtd.mjs} +2 -2
  159. package/dist/chunks/cli-0.1.14-ka0xhrv6.mjs +2 -0
  160. package/dist/chunks/cli-0.1.14-kcrsww4s.mjs +2 -0
  161. package/dist/chunks/{cli-0.1.12-bh7jp3zk.mjs → cli-0.1.14-khtq9cgy.mjs} +2 -2
  162. package/dist/chunks/{cli-0.1.12-j6gjfwh5.mjs → cli-0.1.14-kmsvd61a.mjs} +2 -2
  163. package/dist/chunks/{cli-0.1.12-zk49aaxv.mjs → cli-0.1.14-kn1f2x94.mjs} +2 -2
  164. package/dist/chunks/cli-0.1.14-kpsh76mj.mjs +2 -0
  165. package/dist/chunks/{cli-0.1.12-34gqc6yf.mjs → cli-0.1.14-kt6sq4nr.mjs} +2 -2
  166. package/dist/chunks/{cli-0.1.12-w0qbr98a.mjs → cli-0.1.14-ktz3cgwa.mjs} +2 -2
  167. package/dist/chunks/{cli-0.1.12-y04asmqh.mjs → cli-0.1.14-kv650aha.mjs} +2 -2
  168. package/dist/chunks/{cli-0.1.12-024a8zz7.mjs → cli-0.1.14-m75ce5ve.mjs} +2 -2
  169. package/dist/chunks/cli-0.1.14-m7khgn2k.mjs +2 -0
  170. package/dist/chunks/{cli-0.1.12-fqpxr3qb.mjs → cli-0.1.14-m7xchegb.mjs} +2 -2
  171. package/dist/chunks/{cli-0.1.12-bhxgr018.mjs → cli-0.1.14-mgcmwvcn.mjs} +2 -2
  172. package/dist/chunks/{cli-0.1.12-238c85zt.mjs → cli-0.1.14-mngn74ga.mjs} +2 -2
  173. package/dist/chunks/cli-0.1.14-mx9yse7m.mjs +2 -0
  174. package/dist/chunks/{cli-0.1.12-ng34ay3g.mjs → cli-0.1.14-nbvvdkk2.mjs} +1 -1
  175. package/dist/chunks/{cli-0.1.12-830kqdpq.mjs → cli-0.1.14-nkza93de.mjs} +2 -2
  176. package/dist/chunks/cli-0.1.14-nmmtd1d6.mjs +2 -0
  177. package/dist/chunks/cli-0.1.14-nnr43nyg.mjs +2 -0
  178. package/dist/chunks/{cli-0.1.12-xj3mv67x.mjs → cli-0.1.14-nprcbhwn.mjs} +2 -2
  179. package/dist/chunks/{cli-0.1.12-86nmrm6g.mjs → cli-0.1.14-ntq8w1ss.mjs} +2 -2
  180. package/dist/chunks/{cli-0.1.12-73k5qd97.mjs → cli-0.1.14-nxphqjb4.mjs} +7 -10
  181. package/dist/chunks/{cli-0.1.12-8qvgy8xr.mjs → cli-0.1.14-nzsj259d.mjs} +2 -2
  182. package/dist/chunks/cli-0.1.14-qe5zyvfh.mjs +2 -0
  183. package/dist/chunks/{cli-0.1.12-1hv04bp7.mjs → cli-0.1.14-qn4ftczz.mjs} +1 -1
  184. package/dist/chunks/{cli-0.1.12-4sh0f4y1.mjs → cli-0.1.14-qyx55m6c.mjs} +2 -2
  185. package/dist/chunks/cli-0.1.14-qzcceap6.mjs +20 -0
  186. package/dist/chunks/{cli-0.1.12-s0cwq66w.mjs → cli-0.1.14-r00mjm41.mjs} +2 -2
  187. package/dist/chunks/cli-0.1.14-r46jh9af.mjs +2 -0
  188. package/dist/chunks/{cli-0.1.12-c28bme4j.mjs → cli-0.1.14-r5qyt63x.mjs} +2 -2
  189. package/dist/chunks/{cli-0.1.12-erggrdth.mjs → cli-0.1.14-rc5yd94n.mjs} +3 -3
  190. package/dist/chunks/{cli-0.1.12-cxn1ke77.mjs → cli-0.1.14-rtstk94r.mjs} +2 -2
  191. package/dist/chunks/{cli-0.1.12-ra3sby5b.mjs → cli-0.1.14-s9m1y93w.mjs} +2 -2
  192. package/dist/chunks/cli-0.1.14-sb7dm65b.mjs +2 -0
  193. package/dist/chunks/{cli-0.1.12-bddm1g1s.mjs → cli-0.1.14-seq2fm2d.mjs} +2 -2
  194. package/dist/chunks/cli-0.1.14-sn1rf71y.mjs +2 -0
  195. package/dist/chunks/{cli-0.1.12-rwzav5h1.mjs → cli-0.1.14-stv1d0q3.mjs} +2 -2
  196. package/dist/chunks/cli-0.1.14-svqkx41a.mjs +2 -0
  197. package/dist/chunks/cli-0.1.14-t3fga5je.mjs +2 -0
  198. package/dist/chunks/{cli-0.1.12-a5h71tt8.mjs → cli-0.1.14-ta3w93yb.mjs} +2 -2
  199. package/dist/chunks/{cli-0.1.12-t8712dbc.mjs → cli-0.1.14-tkb5t0xv.mjs} +2 -2
  200. package/dist/chunks/{cli-0.1.12-7da43cy1.mjs → cli-0.1.14-tqexnkmz.mjs} +2 -2
  201. package/dist/chunks/{cli-0.1.12-41zq3gv6.mjs → cli-0.1.14-tsth8deg.mjs} +1 -1
  202. package/dist/chunks/cli-0.1.14-tyv29sz9.mjs +2 -0
  203. package/dist/chunks/cli-0.1.14-v2acyy7r.mjs +4 -0
  204. package/dist/chunks/{cli-0.1.12-9gs0g8yb.mjs → cli-0.1.14-v9q1cxjy.mjs} +2 -2
  205. package/dist/chunks/{cli-0.1.12-c47ape20.mjs → cli-0.1.14-vp1kn532.mjs} +2 -2
  206. package/dist/chunks/cli-0.1.14-w3rwfr1d.mjs +2 -0
  207. package/dist/chunks/{cli-0.1.12-tyt09z73.mjs → cli-0.1.14-w6nzk5dc.mjs} +2 -2
  208. package/dist/chunks/cli-0.1.14-w8efvbh6.mjs +2 -0
  209. package/dist/chunks/{cli-0.1.12-awb2yac7.mjs → cli-0.1.14-we6s7jfg.mjs} +2 -2
  210. package/dist/chunks/{cli-0.1.12-bjzb0sjt.mjs → cli-0.1.14-wgatq2fj.mjs} +2 -2
  211. package/dist/chunks/{cli-0.1.12-k2164g7e.mjs → cli-0.1.14-whe4bxfr.mjs} +2 -2
  212. package/dist/chunks/cli-0.1.14-wwehdfwx.mjs +9 -0
  213. package/dist/chunks/{cli-0.1.12-0xzdygm2.mjs → cli-0.1.14-wymtdw5f.mjs} +2 -2
  214. package/dist/chunks/{cli-0.1.12-actnmgw5.mjs → cli-0.1.14-wz5yr49j.mjs} +2 -2
  215. package/dist/chunks/{cli-0.1.12-a2frnpdd.mjs → cli-0.1.14-x88ypr2r.mjs} +2 -2
  216. package/dist/chunks/cli-0.1.14-xp6rc33g.mjs +2 -0
  217. package/dist/chunks/{cli-0.1.12-6ddq5n4e.mjs → cli-0.1.14-y2wxptpk.mjs} +2 -2
  218. package/dist/chunks/cli-0.1.14-y55hrwdp.mjs +3 -0
  219. package/dist/chunks/{cli-0.1.12-wcdh3m4s.mjs → cli-0.1.14-y56629hj.mjs} +2 -2
  220. package/dist/chunks/{cli-0.1.12-g728hcdr.mjs → cli-0.1.14-yagh75p5.mjs} +2 -2
  221. package/dist/chunks/cli-0.1.14-ydm3fwx1.mjs +2 -0
  222. package/dist/chunks/cli-0.1.14-yfc7weqn.mjs +821 -0
  223. package/dist/chunks/{cli-0.1.12-qrx9nssg.mjs → cli-0.1.14-yphht6rx.mjs} +2 -2
  224. package/dist/chunks/{cli-0.1.12-kzd4y6yq.mjs → cli-0.1.14-yxce1bdc.mjs} +2 -2
  225. package/dist/chunks/cli-0.1.14-yxq1tr3a.mjs +2 -0
  226. package/dist/chunks/{cli-0.1.12-5pw10pf8.mjs → cli-0.1.14-z0ckw2hb.mjs} +2 -2
  227. package/dist/chunks/cli-0.1.14-z8j2n955.mjs +2 -0
  228. package/dist/chunks/{cli-0.1.12-2fajd44n.mjs → cli-0.1.14-zjqt3r89.mjs} +2 -2
  229. package/dist/chunks/{cli-0.1.12-af1r644n.mjs → cli-0.1.14-zq66y0mv.mjs} +2 -2
  230. package/dist/chunks/cli-0.1.14-zrmretjp.mjs +4 -0
  231. package/dist/chunks/cli-0.1.14-zs4vmj7z.mjs +4 -0
  232. package/dist/chunks/client-0.1.14-3t6sfwha.mjs +1 -0
  233. package/dist/chunks/color-0.1.14-65rf0ap9.mjs +1 -0
  234. package/dist/chunks/compact-0.1.14-mx9ng433.mjs +3 -0
  235. package/dist/chunks/config-0.1.14-1v5v86ax.mjs +1 -0
  236. package/dist/chunks/config-0.1.14-76vavy7t.mjs +1 -0
  237. package/dist/chunks/context-0.1.14-hyykwj83.mjs +1 -0
  238. package/dist/chunks/context-noninteractive-0.1.14-24qfm7b9.mjs +1 -0
  239. package/dist/chunks/conversation-0.1.14-mkc1cd5a.mjs +1 -0
  240. package/dist/chunks/{copy-0.1.12-w6tabpy0.mjs → copy-0.1.14-kp76nh7r.mjs} +1 -1
  241. package/dist/chunks/cost-0.1.14-3d4g5gqm.mjs +1 -0
  242. package/dist/chunks/createSession-0.1.14-8599rbgg.mjs +1 -0
  243. package/dist/chunks/desktop-0.1.14-bx4eky6b.mjs +1 -0
  244. package/dist/chunks/detectRepository-0.1.14-8yam7kv4.mjs +1 -0
  245. package/dist/chunks/detection-0.1.14-vz5bqsc0.mjs +1 -0
  246. package/dist/chunks/diff-0.1.14-e4pm39ee.mjs +1 -0
  247. package/dist/chunks/doctor-0.1.14-22fc2q8y.mjs +1 -0
  248. package/dist/chunks/earlyInput-0.1.14-997vtdw4.mjs +1 -0
  249. package/dist/chunks/effort-0.1.14-d9xmff2t.mjs +8 -0
  250. package/dist/chunks/environmentSelection-0.1.14-fn5p85z5.mjs +1 -0
  251. package/dist/chunks/environments-0.1.14-7napbg6g.mjs +1 -0
  252. package/dist/chunks/exit-0.1.14-v8j7rsfw.mjs +1 -0
  253. package/dist/chunks/export-0.1.14-qpt72paa.mjs +2 -0
  254. package/dist/chunks/extra-usage-0.1.14-tmwgn4dh.mjs +1 -0
  255. package/dist/chunks/extra-usage-noninteractive-0.1.14-b2pdph8q.mjs +1 -0
  256. package/dist/chunks/fast-0.1.14-q1tyk3k8.mjs +1 -0
  257. package/dist/chunks/feedback-0.1.14-qhk5ek0b.mjs +14 -0
  258. package/dist/chunks/{firstPartyEventLogger-0.1.12-95kzm3md.mjs → firstPartyEventLogger-0.1.14-78y09nr6.mjs} +1 -1
  259. package/dist/chunks/git-0.1.14-zvsa13gk.mjs +1 -0
  260. package/dist/chunks/githubModelsCredentials-0.1.14-r30t00rx.mjs +1 -0
  261. package/dist/chunks/{growthbook-0.1.12-4phnr6b3.mjs → growthbook-0.1.14-dcdeqgyq.mjs} +1 -1
  262. package/dist/chunks/{heapdump-0.1.12-m49qs4r7.mjs → heapdump-0.1.14-tj7w79dt.mjs} +1 -1
  263. package/dist/chunks/help-0.1.14-gk9s0stg.mjs +1 -0
  264. package/dist/chunks/{hookChains-0.1.12-brq8x7f7.mjs → hookChains-0.1.14-wng6tzfd.mjs} +2 -2
  265. package/dist/chunks/hooks-0.1.14-jy9bt7s6.mjs +79 -0
  266. package/dist/chunks/hooks-0.1.14-ybdbkdfh.mjs +1 -0
  267. package/dist/chunks/{ide-0.1.12-553mazfs.mjs → ide-0.1.14-0ar60k4r.mjs} +1 -1
  268. package/dist/chunks/image-processor-napi-0.1.14-p1r3vkb0.mjs +1 -0
  269. package/dist/chunks/index-0.1.14-071xy8v4.mjs +1 -0
  270. package/dist/chunks/index-0.1.14-1mttyja2.mjs +2 -0
  271. package/dist/chunks/index-0.1.14-272zxs9n.mjs +1 -0
  272. package/dist/chunks/index-0.1.14-2v6wa4p4.mjs +1 -0
  273. package/dist/chunks/{index-0.1.12-3nbh75ta.mjs → index-0.1.14-2x59va64.mjs} +1 -1
  274. package/dist/chunks/index-0.1.14-3m7vrt91.mjs +1 -0
  275. package/dist/chunks/index-0.1.14-4hv4f8g9.mjs +1 -0
  276. package/dist/chunks/index-0.1.14-8v5xwttx.mjs +10 -0
  277. package/dist/chunks/index-0.1.14-ac13h1t1.mjs +1 -0
  278. package/dist/chunks/index-0.1.14-dmbjzapt.mjs +2 -0
  279. package/dist/chunks/index-0.1.14-g5kkm9ng.mjs +1 -0
  280. package/dist/chunks/index-0.1.14-h8gc6ph5.mjs +1 -0
  281. package/dist/chunks/index-0.1.14-hqphn8m5.mjs +5 -0
  282. package/dist/chunks/index-0.1.14-ksa4vdak.mjs +9 -0
  283. package/dist/chunks/index-0.1.14-mzhk0gvs.mjs +1 -0
  284. package/dist/chunks/index-0.1.14-qrykb444.mjs +9 -0
  285. package/dist/chunks/index-0.1.14-qvap58wt.mjs +1 -0
  286. package/dist/chunks/index-0.1.14-vygpnv88.mjs +1 -0
  287. package/dist/chunks/index-0.1.14-wjc5jkvz.mjs +1 -0
  288. package/dist/chunks/{index-0.1.12-rhj8dsvk.mjs → index-0.1.14-y3aj57xa.mjs} +1 -1
  289. package/dist/chunks/index-0.1.14-yjw9017n.mjs +1 -0
  290. package/dist/chunks/index-0.1.14-zgwbnfqh.mjs +1 -0
  291. package/dist/chunks/initReplBridge-0.1.14-qe820gff.mjs +1 -0
  292. package/dist/chunks/ink-0.1.14-kxs7ygns.mjs +1 -0
  293. package/dist/chunks/{insights-0.1.12-93mz1f1d.mjs → insights-0.1.14-9n58d9t8.mjs} +3 -3
  294. package/dist/chunks/install-0.1.14-1zyjez10.mjs +1 -0
  295. package/dist/chunks/{install-github-app-0.1.12-qd8g81v4.mjs → install-github-app-0.1.14-kmetkgdq.mjs} +1 -1
  296. package/dist/chunks/install-slack-app-0.1.14-64534gsm.mjs +1 -0
  297. package/dist/chunks/instrumentation-0.1.14-fsgk97cp.mjs +12 -0
  298. package/dist/chunks/interactiveHelpers-0.1.14-ca4bp7gy.mjs +1 -0
  299. package/dist/chunks/keybindings-0.1.14-zk3nyh0h.mjs +2 -0
  300. package/dist/chunks/knowledge-0.1.14-f7w4damb.mjs +2 -0
  301. package/dist/chunks/loadAgentsDir-0.1.14-md40mt17.mjs +1 -0
  302. package/dist/chunks/loadPluginHooks-0.1.14-d998c7wf.mjs +1 -0
  303. package/dist/chunks/lsp-0.1.14-cks4jevz.mjs +1 -0
  304. package/dist/chunks/main-0.1.14-94wst05h.mjs +1 -0
  305. package/dist/chunks/managedEnv-0.1.14-tvr9zhbp.mjs +1 -0
  306. package/dist/chunks/mcp-0.1.14-3tzc0agq.mjs +1 -0
  307. package/dist/chunks/{mcp-0.1.12-vm3tpth6.mjs → mcp-0.1.14-dmtc9tjr.mjs} +3 -3
  308. package/dist/chunks/mcp-0.1.14-tepbr987.mjs +4 -0
  309. package/dist/chunks/mcpServer-0.1.14-0mvs3bcw.mjs +1 -0
  310. package/dist/chunks/mcpb-0.1.14-ffa57420.mjs +1 -0
  311. package/dist/chunks/memory-0.1.14-cgx518q9.mjs +3 -0
  312. package/dist/chunks/{mobile-0.1.12-qdtxwz76.mjs → mobile-0.1.14-bwjnmpy0.mjs} +1 -1
  313. package/dist/chunks/model-0.1.14-rq2dkze7.mjs +2 -0
  314. package/dist/chunks/model-0.1.14-zg566cz0.mjs +1 -0
  315. package/dist/chunks/{oauth-0.1.12-3aky0v8n.mjs → oauth-0.1.14-gftadks2.mjs} +1 -1
  316. package/dist/chunks/{openaiShim-0.1.12-p458t1q6.mjs → openaiShim-0.1.14-jv6416m8.mjs} +2 -2
  317. package/dist/chunks/{output-style-0.1.12-cahkbh9x.mjs → output-style-0.1.14-v41ce6t5.mjs} +1 -1
  318. package/dist/chunks/package-WSP46L7M-0.1.14-xy3ej2c4.mjs +1 -0
  319. package/dist/chunks/parser-0.1.14-jr4b3as9.mjs +1 -0
  320. package/dist/chunks/passes-0.1.14-0jjh5wg5.mjs +1 -0
  321. package/dist/chunks/permissions-0.1.14-hh0d709r.mjs +3 -0
  322. package/dist/chunks/plan-0.1.14-kxb7xax2.mjs +1 -0
  323. package/dist/chunks/plist-0.1.14-ssqtjjq9.mjs +1 -0
  324. package/dist/chunks/plugin-0.1.14-01jhhdd3.mjs +29 -0
  325. package/dist/chunks/pluginStartupCheck-0.1.14-zjwy126p.mjs +1 -0
  326. package/dist/chunks/{plugins-0.1.12-sm87b8fm.mjs → plugins-0.1.14-4tggkexv.mjs} +2 -2
  327. package/dist/chunks/{print-0.1.12-8mgqmx4k.mjs → print-0.1.14-m719w2yp.mjs} +10 -10
  328. package/dist/chunks/privacy-settings-0.1.14-2gv7gdy1.mjs +1 -0
  329. package/dist/chunks/{process-0.1.12-t401v84c.mjs → process-0.1.14-vgdgd7sq.mjs} +1 -1
  330. package/dist/chunks/processBashCommand-0.1.14-d3xsyk5f.mjs +1 -0
  331. package/dist/chunks/processSlashCommand-0.1.14-7w1v93bg.mjs +9 -0
  332. package/dist/chunks/prompt-0.1.14-30e7kfkx.mjs +1 -0
  333. package/dist/chunks/prompt-0.1.14-brtd9j19.mjs +1 -0
  334. package/dist/chunks/prompts-0.1.14-bv9qxc0a.mjs +1 -0
  335. package/dist/chunks/provider-0.1.14-xs34vy3w.mjs +2 -0
  336. package/dist/chunks/providerProfiles-0.1.14-068kvwwx.mjs +1 -0
  337. package/dist/chunks/rate-limit-options-0.1.14-2ftxh15k.mjs +1 -0
  338. package/dist/chunks/registry-0.1.14-ad3na7g6.mjs +1 -0
  339. package/dist/chunks/release-notes-0.1.14-b7e554an.mjs +5 -0
  340. package/dist/chunks/reload-plugins-0.1.14-3w9v6nw6.mjs +2 -0
  341. package/dist/chunks/remote-env-0.1.14-jyc0gkhb.mjs +1 -0
  342. package/dist/chunks/remoteBridgeCore-0.1.14-8kt4ffzy.mjs +1 -0
  343. package/dist/chunks/remoteSession-0.1.14-ppejxt7n.mjs +1 -0
  344. package/dist/chunks/rename-0.1.14-tx9dpgk1.mjs +1 -0
  345. package/dist/chunks/replBridgeHandle-0.1.14-gsqgzdev.mjs +1 -0
  346. package/dist/chunks/resume-0.1.14-7sda36n0.mjs +2 -0
  347. package/dist/chunks/{rewind-0.1.12-707se5pz.mjs → rewind-0.1.14-zba66at0.mjs} +1 -1
  348. package/dist/chunks/sandbox-adapter-0.1.14-k97fyzcg.mjs +1 -0
  349. package/dist/chunks/sandbox-toggle-0.1.14-jz6x02qp.mjs +1 -0
  350. package/dist/chunks/session-0.1.14-5qsfxmey.mjs +2 -0
  351. package/dist/chunks/sessionFileAccessHooks-0.1.14-mgx78eqm.mjs +1 -0
  352. package/dist/chunks/sessionStorage-0.1.14-sz2medpp.mjs +1 -0
  353. package/dist/chunks/setup-0.1.14-f13rnmdg.mjs +5 -0
  354. package/dist/chunks/sinks-0.1.14-bkyqa9eq.mjs +1 -0
  355. package/dist/chunks/skills-0.1.14-1vvr60ph.mjs +1 -0
  356. package/dist/chunks/startupProfiler-0.1.14-sabjns03.mjs +1 -0
  357. package/dist/chunks/state-0.1.14-rj00ry6n.mjs +1 -0
  358. package/dist/chunks/{stats-0.1.12-5pj1c6sr.mjs → stats-0.1.14-rr3tpwqw.mjs} +1 -1
  359. package/dist/chunks/status-0.1.14-d4fcn5sn.mjs +1 -0
  360. package/dist/chunks/stickers-0.1.14-s9x2bdhp.mjs +1 -0
  361. package/dist/chunks/subprocessEnv-0.1.14-spqyrvd7.mjs +1 -0
  362. package/dist/chunks/tasks-0.1.14-yje1cmy8.mjs +1 -0
  363. package/dist/chunks/teamHelpers-0.1.14-zv908fgk.mjs +1 -0
  364. package/dist/chunks/teammateModeSnapshot-0.1.14-natmxyx5.mjs +1 -0
  365. package/dist/chunks/teleport-0.1.14-np0wrxrm.mjs +1 -0
  366. package/dist/chunks/terminalSetup-0.1.14-dzsstmk7.mjs +1 -0
  367. package/dist/chunks/theme-0.1.14-202es8wd.mjs +1 -0
  368. package/dist/chunks/thinkback-0.1.14-k4krnzrn.mjs +1 -0
  369. package/dist/chunks/thinkback-play-0.1.14-nn1v84ja.mjs +1 -0
  370. package/dist/chunks/toolPool-0.1.14-4etecef4.mjs +1 -0
  371. package/dist/chunks/toolSearch-0.1.14-q506jg4k.mjs +1 -0
  372. package/dist/chunks/trustedDevice-0.1.14-qq8dmccd.mjs +1 -0
  373. package/dist/chunks/{turndown.cjs-0.1.12-9525v010.mjs → turndown.cjs-0.1.14-nw2rtcyd.mjs} +1 -1
  374. package/dist/chunks/{ultrareviewCommand-0.1.12-d5c4096k.mjs → ultrareviewCommand-0.1.14-9twnt5bp.mjs} +1 -1
  375. package/dist/chunks/{update-0.1.12-hwx0e6fq.mjs → update-0.1.14-9dhep94r.mjs} +11 -11
  376. package/dist/chunks/upgrade-0.1.14-4nr1rdba.mjs +1 -0
  377. package/dist/chunks/{upstreamproxy-0.1.12-yhnqfcyb.mjs → upstreamproxy-0.1.14-sc0x4n7b.mjs} +1 -1
  378. package/dist/chunks/usage-0.1.14-sbaqxx8h.mjs +1 -0
  379. package/dist/chunks/util-0.1.14-vfg50acy.mjs +1 -0
  380. package/dist/chunks/utils-0.1.14-heqqycdx.mjs +1 -0
  381. package/dist/chunks/vim-0.1.14-z71303w7.mjs +1 -0
  382. package/dist/chunks/watcher-0.1.14-h1wk07kt.mjs +1 -0
  383. package/dist/chunks/{wiki-0.1.12-vecp82xq.mjs → wiki-0.1.14-s3exyf45.mjs} +1 -1
  384. package/dist/chunks/worktree-0.1.14-5486fw5t.mjs +1 -0
  385. package/dist/chunks/worktreeModeEnabled-0.1.14-xn1mf8hc.mjs +1 -0
  386. package/dist/chunks/{wrapper-0.1.12-bpewypaz.mjs → wrapper-0.1.14-a4mesaeh.mjs} +1 -1
  387. package/dist/claudio-vscode.vsix +0 -0
  388. package/dist/cli.mjs +5 -5
  389. package/package.json +2 -19
  390. package/dist/chunks/AgentTool-0.1.12-kgypyeny.mjs +0 -1
  391. package/dist/chunks/App-0.1.12-t1g68ag4.mjs +0 -1
  392. package/dist/chunks/ApproveApiKey-0.1.12-zpw36mzg.mjs +0 -1
  393. package/dist/chunks/AutoModeOptInDialog-0.1.12-fgvj28kh.mjs +0 -1
  394. package/dist/chunks/BypassPermissionsModeDialog-0.1.12-y1vnt631.mjs +0 -1
  395. package/dist/chunks/ClaudeInChromeOnboarding-0.1.12-n4az8bcp.mjs +0 -1
  396. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.1.12-j7w4pe1r.mjs +0 -1
  397. package/dist/chunks/ConsoleOAuthFlow-0.1.12-57crf0yg.mjs +0 -1
  398. package/dist/chunks/Doctor-0.1.12-52dk0t0z.mjs +0 -1
  399. package/dist/chunks/Grove-0.1.12-m9r696vw.mjs +0 -1
  400. package/dist/chunks/ITermBackend-0.1.12-85zqw000.mjs +0 -1
  401. package/dist/chunks/InvalidConfigDialog-0.1.12-9w4z4d73.mjs +0 -1
  402. package/dist/chunks/InvalidSettingsDialog-0.1.12-j1jmd6jg.mjs +0 -1
  403. package/dist/chunks/MigrationDialog-0.1.12-n5zwn0kh.mjs +0 -1
  404. package/dist/chunks/Onboarding-0.1.12-tc4trc3y.mjs +0 -1
  405. package/dist/chunks/ProviderManager-0.1.12-01epdnc3.mjs +0 -1
  406. package/dist/chunks/REPL-0.1.12-4750qvss.mjs +0 -1
  407. package/dist/chunks/ResumeConversation-0.1.12-sn3hxnfq.mjs +0 -1
  408. package/dist/chunks/TeleportProgress-0.1.12-p5spc4b6.mjs +0 -1
  409. package/dist/chunks/TeleportRepoMismatchDialog-0.1.12-562cbm4h.mjs +0 -1
  410. package/dist/chunks/TeleportResumeWrapper-0.1.12-w2rds1kj.mjs +0 -1
  411. package/dist/chunks/TmuxBackend-0.1.12-02kj3wef.mjs +0 -9
  412. package/dist/chunks/ToolSearchTool-0.1.12-qesye0kj.mjs +0 -1
  413. package/dist/chunks/TrustDialog-0.1.12-gr62n6f8.mjs +0 -1
  414. package/dist/chunks/activeProvider-0.1.12-dnn18th9.mjs +0 -1
  415. package/dist/chunks/add-dir-0.1.12-he4qjfr7.mjs +0 -1
  416. package/dist/chunks/agents-0.1.12-1dz073e3.mjs +0 -3
  417. package/dist/chunks/api-0.1.12-e314x4g9.mjs +0 -1
  418. package/dist/chunks/assistant-0.1.12-x4e2qcyw.mjs +0 -1
  419. package/dist/chunks/auth-0.1.12-9xrz11cs.mjs +0 -1
  420. package/dist/chunks/backgroundHousekeeping-0.1.12-z7jhyx9z.mjs +0 -1
  421. package/dist/chunks/branch-0.1.12-e2jz4k8j.mjs +0 -4
  422. package/dist/chunks/btw-0.1.12-k5gxnrq8.mjs +0 -1
  423. package/dist/chunks/cacache-0.1.12-mtaw8981.mjs +0 -1
  424. package/dist/chunks/caches-0.1.12-jvzzcs09.mjs +0 -1
  425. package/dist/chunks/chrome-0.1.12-6qypq8nj.mjs +0 -1
  426. package/dist/chunks/chromeNativeHost-0.1.12-7e2jv2nr.mjs +0 -2
  427. package/dist/chunks/claude-for-chrome-mcp-0.1.12-2q97mema.mjs +0 -1
  428. package/dist/chunks/claudemd-0.1.12-dnz21tgs.mjs +0 -1
  429. package/dist/chunks/clear-0.1.12-cq6vnm92.mjs +0 -1
  430. package/dist/chunks/clearTerminal-0.1.12-pzt74jz3.mjs +0 -1
  431. package/dist/chunks/cli-0.1.12-0x3cd401.mjs +0 -2
  432. package/dist/chunks/cli-0.1.12-19as1myk.mjs +0 -2
  433. package/dist/chunks/cli-0.1.12-1cn8b1tj.mjs +0 -2
  434. package/dist/chunks/cli-0.1.12-242der7s.mjs +0 -5036
  435. package/dist/chunks/cli-0.1.12-2f2v27e3.mjs +0 -2
  436. package/dist/chunks/cli-0.1.12-2sqxe53a.mjs +0 -2
  437. package/dist/chunks/cli-0.1.12-2v18rdhk.mjs +0 -2
  438. package/dist/chunks/cli-0.1.12-2yy1nw3s.mjs +0 -2
  439. package/dist/chunks/cli-0.1.12-37ezy1qg.mjs +0 -2
  440. package/dist/chunks/cli-0.1.12-3d2xpvk2.mjs +0 -2
  441. package/dist/chunks/cli-0.1.12-4gj8p030.mjs +0 -22
  442. package/dist/chunks/cli-0.1.12-4tanq0qc.mjs +0 -2
  443. package/dist/chunks/cli-0.1.12-4ys47rex.mjs +0 -2
  444. package/dist/chunks/cli-0.1.12-52dbx2x6.mjs +0 -4
  445. package/dist/chunks/cli-0.1.12-5b3j1c9c.mjs +0 -2
  446. package/dist/chunks/cli-0.1.12-5k9mfnz0.mjs +0 -2
  447. package/dist/chunks/cli-0.1.12-5p9g1vcm.mjs +0 -2
  448. package/dist/chunks/cli-0.1.12-5qhkbp8w.mjs +0 -2
  449. package/dist/chunks/cli-0.1.12-6e4e36bv.mjs +0 -16
  450. package/dist/chunks/cli-0.1.12-6rjh20wh.mjs +0 -2
  451. package/dist/chunks/cli-0.1.12-6x2mnahn.mjs +0 -2
  452. package/dist/chunks/cli-0.1.12-6zryzryc.mjs +0 -2
  453. package/dist/chunks/cli-0.1.12-74tt2500.mjs +0 -2
  454. package/dist/chunks/cli-0.1.12-7v8dtyx8.mjs +0 -2
  455. package/dist/chunks/cli-0.1.12-817sd5bc.mjs +0 -6
  456. package/dist/chunks/cli-0.1.12-8qm558mj.mjs +0 -2
  457. package/dist/chunks/cli-0.1.12-8tdckdxp.mjs +0 -2
  458. package/dist/chunks/cli-0.1.12-9dvxchv3.mjs +0 -2
  459. package/dist/chunks/cli-0.1.12-b01yrner.mjs +0 -2
  460. package/dist/chunks/cli-0.1.12-baxk5jyy.mjs +0 -4
  461. package/dist/chunks/cli-0.1.12-bmtahtv7.mjs +0 -2
  462. package/dist/chunks/cli-0.1.12-bnn1nrwd.mjs +0 -2
  463. package/dist/chunks/cli-0.1.12-bnss4rxn.mjs +0 -833
  464. package/dist/chunks/cli-0.1.12-c8d9vr4b.mjs +0 -2
  465. package/dist/chunks/cli-0.1.12-dc4e6688.mjs +0 -2
  466. package/dist/chunks/cli-0.1.12-dqynn0at.mjs +0 -2
  467. package/dist/chunks/cli-0.1.12-dtba3gm9.mjs +0 -8
  468. package/dist/chunks/cli-0.1.12-e262snmb.mjs +0 -3
  469. package/dist/chunks/cli-0.1.12-e4zeaahk.mjs +0 -2
  470. package/dist/chunks/cli-0.1.12-fx0zg3d9.mjs +0 -2
  471. package/dist/chunks/cli-0.1.12-g1yp7kdf.mjs +0 -2
  472. package/dist/chunks/cli-0.1.12-g4sdgt8h.mjs +0 -2
  473. package/dist/chunks/cli-0.1.12-g604mknq.mjs +0 -2
  474. package/dist/chunks/cli-0.1.12-g8mny195.mjs +0 -2
  475. package/dist/chunks/cli-0.1.12-h248m986.mjs +0 -2
  476. package/dist/chunks/cli-0.1.12-hfmv72b6.mjs +0 -2
  477. package/dist/chunks/cli-0.1.12-jjza3gz9.mjs +0 -2
  478. package/dist/chunks/cli-0.1.12-kea0zcje.mjs +0 -2
  479. package/dist/chunks/cli-0.1.12-kg8gb6e3.mjs +0 -2
  480. package/dist/chunks/cli-0.1.12-kwc7ew38.mjs +0 -2
  481. package/dist/chunks/cli-0.1.12-m3q5r7wd.mjs +0 -2
  482. package/dist/chunks/cli-0.1.12-mevh0dza.mjs +0 -2
  483. package/dist/chunks/cli-0.1.12-nfvtmt75.mjs +0 -2
  484. package/dist/chunks/cli-0.1.12-nnyca8nb.mjs +0 -2
  485. package/dist/chunks/cli-0.1.12-p5w2kms9.mjs +0 -4
  486. package/dist/chunks/cli-0.1.12-pm5cwtxh.mjs +0 -2
  487. package/dist/chunks/cli-0.1.12-pnh4t8c3.mjs +0 -2
  488. package/dist/chunks/cli-0.1.12-q1nn9teh.mjs +0 -3
  489. package/dist/chunks/cli-0.1.12-q8k1zvhb.mjs +0 -2
  490. package/dist/chunks/cli-0.1.12-qf1kw5cr.mjs +0 -2
  491. package/dist/chunks/cli-0.1.12-rqedb88a.mjs +0 -10
  492. package/dist/chunks/cli-0.1.12-rtft4mrx.mjs +0 -4
  493. package/dist/chunks/cli-0.1.12-ryycx3v6.mjs +0 -2
  494. package/dist/chunks/cli-0.1.12-sd72y750.mjs +0 -12
  495. package/dist/chunks/cli-0.1.12-strz382t.mjs +0 -2
  496. package/dist/chunks/cli-0.1.12-sxxpysy8.mjs +0 -2
  497. package/dist/chunks/cli-0.1.12-tadj1p4y.mjs +0 -2
  498. package/dist/chunks/cli-0.1.12-tae7cd7e.mjs +0 -2
  499. package/dist/chunks/cli-0.1.12-taqfqnag.mjs +0 -4
  500. package/dist/chunks/cli-0.1.12-v79j5ced.mjs +0 -2
  501. package/dist/chunks/cli-0.1.12-vpnp7x5c.mjs +0 -100
  502. package/dist/chunks/cli-0.1.12-vwcas8f6.mjs +0 -2
  503. package/dist/chunks/cli-0.1.12-wfbfq2mm.mjs +0 -3
  504. package/dist/chunks/cli-0.1.12-wwnkrzck.mjs +0 -134
  505. package/dist/chunks/cli-0.1.12-xanhpra7.mjs +0 -2
  506. package/dist/chunks/cli-0.1.12-xcxjv6qd.mjs +0 -2
  507. package/dist/chunks/cli-0.1.12-xfqkrd5x.mjs +0 -2
  508. package/dist/chunks/cli-0.1.12-y0fb5j7x.mjs +0 -2
  509. package/dist/chunks/cli-0.1.12-y9598sy3.mjs +0 -16
  510. package/dist/chunks/cli-0.1.12-ybm1kvwy.mjs +0 -4
  511. package/dist/chunks/cli-0.1.12-zwyec6tj.mjs +0 -2
  512. package/dist/chunks/client-0.1.12-f54egbjx.mjs +0 -1
  513. package/dist/chunks/color-0.1.12-jss6svg8.mjs +0 -1
  514. package/dist/chunks/compact-0.1.12-9b9fsqs5.mjs +0 -3
  515. package/dist/chunks/config-0.1.12-1pyte6wv.mjs +0 -1
  516. package/dist/chunks/config-0.1.12-ryxz4stj.mjs +0 -1
  517. package/dist/chunks/context-0.1.12-mnwn2xss.mjs +0 -1
  518. package/dist/chunks/context-noninteractive-0.1.12-qhe1aprp.mjs +0 -1
  519. package/dist/chunks/conversation-0.1.12-7pvwtwdn.mjs +0 -1
  520. package/dist/chunks/cost-0.1.12-3ca0tbv9.mjs +0 -1
  521. package/dist/chunks/createSession-0.1.12-117q0efg.mjs +0 -1
  522. package/dist/chunks/desktop-0.1.12-3t2jc3mt.mjs +0 -1
  523. package/dist/chunks/detectRepository-0.1.12-sd9276rx.mjs +0 -1
  524. package/dist/chunks/detection-0.1.12-c0tecfvg.mjs +0 -1
  525. package/dist/chunks/diff-0.1.12-2ck0qzp6.mjs +0 -1
  526. package/dist/chunks/doctor-0.1.12-rb6t847g.mjs +0 -1
  527. package/dist/chunks/earlyInput-0.1.12-b94g75cb.mjs +0 -1
  528. package/dist/chunks/effort-0.1.12-jxkp3wwf.mjs +0 -8
  529. package/dist/chunks/environmentSelection-0.1.12-z9knjbv1.mjs +0 -1
  530. package/dist/chunks/environments-0.1.12-m9v7hag6.mjs +0 -1
  531. package/dist/chunks/exit-0.1.12-0fzdjpbr.mjs +0 -1
  532. package/dist/chunks/export-0.1.12-s6ag6jke.mjs +0 -2
  533. package/dist/chunks/extra-usage-0.1.12-x8gd0q32.mjs +0 -1
  534. package/dist/chunks/extra-usage-noninteractive-0.1.12-pfgq5r6b.mjs +0 -1
  535. package/dist/chunks/fast-0.1.12-9x69m50c.mjs +0 -1
  536. package/dist/chunks/feedback-0.1.12-d1j49tb4.mjs +0 -14
  537. package/dist/chunks/git-0.1.12-7fyh5fhk.mjs +0 -1
  538. package/dist/chunks/githubModelsCredentials-0.1.12-6em81h7g.mjs +0 -1
  539. package/dist/chunks/help-0.1.12-f02ce11x.mjs +0 -1
  540. package/dist/chunks/hooks-0.1.12-n1f9dp3r.mjs +0 -1
  541. package/dist/chunks/hooks-0.1.12-swtq74gm.mjs +0 -79
  542. package/dist/chunks/image-processor-napi-0.1.12-3mrm0vts.mjs +0 -1
  543. package/dist/chunks/index-0.1.12-218arkqe.mjs +0 -9
  544. package/dist/chunks/index-0.1.12-2ykt90tn.mjs +0 -1
  545. package/dist/chunks/index-0.1.12-34ew4zjx.mjs +0 -1
  546. package/dist/chunks/index-0.1.12-41g5mvtk.mjs +0 -7
  547. package/dist/chunks/index-0.1.12-77szwkm6.mjs +0 -1
  548. package/dist/chunks/index-0.1.12-aeeh5zvp.mjs +0 -1
  549. package/dist/chunks/index-0.1.12-cpv0hf3f.mjs +0 -1
  550. package/dist/chunks/index-0.1.12-d5w1w05d.mjs +0 -1
  551. package/dist/chunks/index-0.1.12-d7j83tkh.mjs +0 -1
  552. package/dist/chunks/index-0.1.12-hvf65cbr.mjs +0 -1
  553. package/dist/chunks/index-0.1.12-m0e193t8.mjs +0 -1
  554. package/dist/chunks/index-0.1.12-nc3z95ph.mjs +0 -5
  555. package/dist/chunks/index-0.1.12-r92p75vh.mjs +0 -1
  556. package/dist/chunks/index-0.1.12-sxh3dwcy.mjs +0 -1
  557. package/dist/chunks/index-0.1.12-sy5zw7vk.mjs +0 -1
  558. package/dist/chunks/index-0.1.12-v53nbtdb.mjs +0 -2
  559. package/dist/chunks/index-0.1.12-vbv1ac2q.mjs +0 -1
  560. package/dist/chunks/index-0.1.12-z0brwe1k.mjs +0 -2
  561. package/dist/chunks/index-0.1.12-zc2ayczg.mjs +0 -1
  562. package/dist/chunks/index-0.1.12-zqrp5tve.mjs +0 -9
  563. package/dist/chunks/initReplBridge-0.1.12-yyn8mbyh.mjs +0 -1
  564. package/dist/chunks/ink-0.1.12-qdefs6hn.mjs +0 -1
  565. package/dist/chunks/install-0.1.12-11xkk6vf.mjs +0 -1
  566. package/dist/chunks/install-slack-app-0.1.12-a44xy1pr.mjs +0 -1
  567. package/dist/chunks/instrumentation-0.1.12-nqv5x6q8.mjs +0 -12
  568. package/dist/chunks/interactiveHelpers-0.1.12-c4xec7dn.mjs +0 -1
  569. package/dist/chunks/keybindings-0.1.12-21jbfvfp.mjs +0 -2
  570. package/dist/chunks/knowledge-0.1.12-1zq0qj6h.mjs +0 -2
  571. package/dist/chunks/loadAgentsDir-0.1.12-1ckjzc8p.mjs +0 -1
  572. package/dist/chunks/loadPluginHooks-0.1.12-85daax4j.mjs +0 -1
  573. package/dist/chunks/logout-0.1.12-n2tbfcz8.mjs +0 -1
  574. package/dist/chunks/lsp-0.1.12-ks84es3y.mjs +0 -1
  575. package/dist/chunks/main-0.1.12-47ck3kj2.mjs +0 -1
  576. package/dist/chunks/managedEnv-0.1.12-vt155n3n.mjs +0 -1
  577. package/dist/chunks/mcp-0.1.12-93a71b1q.mjs +0 -1
  578. package/dist/chunks/mcp-0.1.12-rwfrrttw.mjs +0 -4
  579. package/dist/chunks/mcpServer-0.1.12-zwsas6ss.mjs +0 -1
  580. package/dist/chunks/mcpb-0.1.12-mcbd7ywh.mjs +0 -1
  581. package/dist/chunks/memory-0.1.12-7x2msczw.mjs +0 -3
  582. package/dist/chunks/model-0.1.12-15e9c8j0.mjs +0 -2
  583. package/dist/chunks/model-0.1.12-z2qjscwh.mjs +0 -1
  584. package/dist/chunks/package-HMBVQOZ4-0.1.12-3njzvqd2.mjs +0 -1
  585. package/dist/chunks/parser-0.1.12-jz2xz2kd.mjs +0 -1
  586. package/dist/chunks/passes-0.1.12-7vmawmvq.mjs +0 -1
  587. package/dist/chunks/permissions-0.1.12-dmp58kwy.mjs +0 -3
  588. package/dist/chunks/plan-0.1.12-waed49m8.mjs +0 -1
  589. package/dist/chunks/plist-0.1.12-65r770yt.mjs +0 -1
  590. package/dist/chunks/plugin-0.1.12-j30rqvv5.mjs +0 -29
  591. package/dist/chunks/pluginStartupCheck-0.1.12-5bp08b06.mjs +0 -1
  592. package/dist/chunks/privacy-settings-0.1.12-9drzsgkz.mjs +0 -1
  593. package/dist/chunks/processBashCommand-0.1.12-3s8a2x65.mjs +0 -1
  594. package/dist/chunks/processSlashCommand-0.1.12-m9sh3sjt.mjs +0 -9
  595. package/dist/chunks/prompt-0.1.12-786vk11a.mjs +0 -1
  596. package/dist/chunks/prompt-0.1.12-fg4npvax.mjs +0 -1
  597. package/dist/chunks/prompts-0.1.12-h3xd9wvy.mjs +0 -1
  598. package/dist/chunks/provider-0.1.12-wrfpbx8a.mjs +0 -2
  599. package/dist/chunks/providerProfiles-0.1.12-3fp9n85w.mjs +0 -1
  600. package/dist/chunks/rate-limit-options-0.1.12-dx2886b6.mjs +0 -1
  601. package/dist/chunks/registry-0.1.12-btwd6z61.mjs +0 -1
  602. package/dist/chunks/release-notes-0.1.12-dwzs8z2c.mjs +0 -5
  603. package/dist/chunks/reload-plugins-0.1.12-ec88j31s.mjs +0 -2
  604. package/dist/chunks/remote-env-0.1.12-w15618dm.mjs +0 -1
  605. package/dist/chunks/remoteBridgeCore-0.1.12-c0y46zw8.mjs +0 -1
  606. package/dist/chunks/remoteSession-0.1.12-npxn0mje.mjs +0 -1
  607. package/dist/chunks/rename-0.1.12-sbes9wm3.mjs +0 -1
  608. package/dist/chunks/replBridgeHandle-0.1.12-2jqj7bby.mjs +0 -1
  609. package/dist/chunks/resume-0.1.12-9vpmw2hg.mjs +0 -2
  610. package/dist/chunks/sandbox-adapter-0.1.12-htfmfp9m.mjs +0 -1
  611. package/dist/chunks/sandbox-toggle-0.1.12-qq2yf1ta.mjs +0 -1
  612. package/dist/chunks/session-0.1.12-2xgt0x74.mjs +0 -2
  613. package/dist/chunks/sessionFileAccessHooks-0.1.12-xpxt6bqs.mjs +0 -1
  614. package/dist/chunks/sessionStorage-0.1.12-7s6eezdt.mjs +0 -1
  615. package/dist/chunks/setup-0.1.12-2kjx6mnf.mjs +0 -5
  616. package/dist/chunks/sinks-0.1.12-qvx26vtt.mjs +0 -1
  617. package/dist/chunks/skills-0.1.12-sh637gsv.mjs +0 -1
  618. package/dist/chunks/startupProfiler-0.1.12-n3fce9wg.mjs +0 -1
  619. package/dist/chunks/state-0.1.12-e374v6h8.mjs +0 -1
  620. package/dist/chunks/status-0.1.12-qphx08h4.mjs +0 -1
  621. package/dist/chunks/stickers-0.1.12-dksexsqf.mjs +0 -1
  622. package/dist/chunks/subprocessEnv-0.1.12-sbpfvs29.mjs +0 -1
  623. package/dist/chunks/tasks-0.1.12-268nn2c6.mjs +0 -1
  624. package/dist/chunks/teamHelpers-0.1.12-3trvxmmz.mjs +0 -1
  625. package/dist/chunks/teammateModeSnapshot-0.1.12-28s4rsx4.mjs +0 -1
  626. package/dist/chunks/teleport-0.1.12-zz9z0w99.mjs +0 -1
  627. package/dist/chunks/terminalSetup-0.1.12-xf61sxh6.mjs +0 -1
  628. package/dist/chunks/theme-0.1.12-3rgm5yr1.mjs +0 -1
  629. package/dist/chunks/thinkback-0.1.12-sf0y9d2d.mjs +0 -1
  630. package/dist/chunks/thinkback-play-0.1.12-vyyv42tm.mjs +0 -1
  631. package/dist/chunks/toolPool-0.1.12-tyqns5jv.mjs +0 -1
  632. package/dist/chunks/toolSearch-0.1.12-k91edc7b.mjs +0 -1
  633. package/dist/chunks/trustedDevice-0.1.12-w1scr51x.mjs +0 -1
  634. package/dist/chunks/upgrade-0.1.12-zhqgygsd.mjs +0 -1
  635. package/dist/chunks/usage-0.1.12-g40wd0mq.mjs +0 -1
  636. package/dist/chunks/util-0.1.12-qdejkkj5.mjs +0 -1
  637. package/dist/chunks/utils-0.1.12-3f08ztd2.mjs +0 -1
  638. package/dist/chunks/vim-0.1.12-z78k9k65.mjs +0 -1
  639. package/dist/chunks/watcher-0.1.12-pkwq5a2d.mjs +0 -1
  640. package/dist/chunks/worktree-0.1.12-a1mh6hjt.mjs +0 -1
  641. package/dist/chunks/worktreeModeEnabled-0.1.12-amrewbka.mjs +0 -1
  642. /package/dist/chunks/{cli-0.1.12-tvawkeks.mjs → cli-0.1.14-cahvg3jq.mjs} +0 -0
@@ -1,4 +1,4 @@
1
- import{kha as f8,nha as a$}from"./cli-0.1.12-k2164g7e.mjs";import{Bha as o$,oha as y8,rha as W7}from"./cli-0.1.12-ra3sby5b.mjs";import{Yma as P8,dja as R8}from"./cli-0.1.12-pm5cwtxh.mjs";import{vna as s,wna as j8}from"./cli-0.1.12-vgbc3g9x.mjs";import{Una as w,Wna as A,Xna as D}from"./cli-0.1.12-1hv04bp7.mjs";function w7(X){return Z6.add(X),()=>Z6.delete(X)}async function U1(){await Promise.all(Array.from(Z6).map((X)=>X()))}var Z6;var U7=w(()=>{Z6=new Set});function i(X){return typeof X==="object"&&X!==null&&(("name"in X)&&X.name==="AbortError"||("message"in X)&&String(X.message).includes("FetchRequestCanceledException"))}var RX=(X)=>{if(X instanceof Error)return X;if(typeof X==="object"&&X!==null){try{if(Object.prototype.toString.call(X)==="[object Error]"){let Z=Error(X.message,X.cause?{cause:X.cause}:{});if(X.stack)Z.stack=X.stack;if(X.cause&&!Z.cause)Z.cause=X.cause;if(X.name)Z.name=X.name;return Z}}catch{}try{return Error(JSON.stringify(X))}catch{}}return Error(X)};var CX=()=>{};var N,F,S,WX,PX,yX,_X,fX,bX,hX,vX,gX,cX;var R=w(()=>{CX();N=class N extends Error{};F=class F extends N{constructor(X,Z,$,Y,J){super(`${F.makeMessage(X,Z,$)}`);this.status=X,this.headers=Y,this.requestID=Y?.get("request-id"),this.error=Z,this.type=J??null}static makeMessage(X,Z,$){let Y=Z?.message?typeof Z.message==="string"?Z.message:JSON.stringify(Z.message):Z?JSON.stringify(Z):$;if(X&&Y)return`${X} ${Y}`;if(X)return`${X} status code (no body)`;if(Y)return Y;return"(no status code or body)"}static generate(X,Z,$,Y){if(!X||!Y)return new WX({message:$,cause:RX(Z)});let J=Z,K=J?.error?.type;if(X===400)return new yX(X,J,$,Y,K);if(X===401)return new _X(X,J,$,Y,K);if(X===403)return new fX(X,J,$,Y,K);if(X===404)return new bX(X,J,$,Y,K);if(X===409)return new hX(X,J,$,Y,K);if(X===422)return new vX(X,J,$,Y,K);if(X===429)return new gX(X,J,$,Y,K);if(X>=500)return new cX(X,J,$,Y,K);return new F(X,J,$,Y,K)}};S=class S extends F{constructor({message:X}={}){super(void 0,void 0,X||"Request was aborted.",void 0)}};WX=class WX extends F{constructor({message:X,cause:Z}){super(void 0,void 0,X||"Connection error.",void 0);if(Z)this.cause=Z}};PX=class PX extends WX{constructor({message:X}={}){super({message:X??"Request timed out."})}};yX=class yX extends F{};_X=class _X extends F{};fX=class fX extends F{};bX=class bX extends F{};hX=class hX extends F{};vX=class vX extends F{};gX=class gX extends F{};cX=class cX extends F{}});function G(X,Z,$,Y,J){if(Y==="m")throw TypeError("Private method is not writable");if(Y==="a"&&!J)throw TypeError("Private accessor was defined without a setter");if(typeof Z==="function"?X!==Z||!J:!Z.has(X))throw TypeError("Cannot write private member to an object whose class did not declare it");return Y==="a"?J.call(X,$):J?J.value=$:Z.set(X,$),$}function V(X,Z,$,Y){if($==="a"&&!Y)throw TypeError("Private accessor was defined without a getter");if(typeof Z==="function"?X!==Z||!Y:!Z.has(X))throw TypeError("Cannot read private member from an object whose class did not declare it");return $==="m"?Y:$==="a"?Y.call(X):Y?Y.value:Z.get(X)}var n=()=>{};var $6=function(){let{crypto:X}=globalThis;if(X?.randomUUID)return $6=X.randomUUID.bind(X),X.randomUUID();let Z=new Uint8Array(1),$=X?()=>X.getRandomValues(Z)[0]:()=>Math.random()*255&255;return"10000000-1000-4000-8000-100000000000".replace(/[018]/g,(Y)=>(+Y^$()&15>>+Y/4).toString(16))};var q7=()=>{};function EZ(X){if(typeof X!=="object")return{};return X??{}}function K6(X){if(!X)return!0;for(let Z in X)return!1;return!0}function H7(X,Z){return Object.prototype.hasOwnProperty.call(X,Z)}var i8,C7=(X)=>{return i8.test(X)},Y6=(X)=>(Y6=Array.isArray,Y6(X)),J6,x7=(X,Z)=>{if(typeof Z!=="number"||!Number.isInteger(Z))throw new N(`${X} must be an integer`);if(Z<0)throw new N(`${X} must be a positive integer`);return Z},jZ=(X)=>{try{return JSON.parse(X)}catch(Z){return}};var VX=w(()=>{R();i8=/^[a-z][a-z0-9+.-]*:/i,J6=Y6});var O7=(X)=>new Promise((Z)=>setTimeout(Z,X));var M7=()=>{};var e="0.81.0";var W6=()=>{};function n8(){if(typeof Deno<"u"&&Deno.build!=null)return"deno";if(typeof EdgeRuntime<"u")return"edge";if(Object.prototype.toString.call(typeof globalThis.process<"u"?globalThis.process:0)==="[object process]")return"node";return"unknown"}function a8(){if(typeof navigator>"u"||!navigator)return null;let X=[{key:"edge",pattern:/Edge(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"ie",pattern:/MSIE(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"ie",pattern:/Trident(?:.*rv\:(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"chrome",pattern:/Chrome(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"firefox",pattern:/Firefox(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"safari",pattern:/(?:Version\W+(\d+)\.(\d+)(?:\.(\d+))?)?(?:\W+Mobile\S*)?\W+Safari/}];for(let{key:Z,pattern:$}of X){let Y=$.exec(navigator.userAgent);if(Y){let J=Y[1]||0,K=Y[2]||0,W=Y[3]||0;return{browser:Z,version:`${J}.${K}.${W}`}}}return null}var j7=()=>{return typeof window<"u"&&typeof window.document<"u"&&typeof navigator<"u"},o8=()=>{let X=n8();if(X==="deno")return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":e,"X-Stainless-OS":D7(Deno.build.os),"X-Stainless-Arch":A7(Deno.build.arch),"X-Stainless-Runtime":"deno","X-Stainless-Runtime-Version":typeof Deno.version==="string"?Deno.version:Deno.version?.deno??"unknown"};if(typeof EdgeRuntime<"u")return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":e,"X-Stainless-OS":"Unknown","X-Stainless-Arch":`other:${EdgeRuntime}`,"X-Stainless-Runtime":"edge","X-Stainless-Runtime-Version":globalThis.process.version};if(X==="node")return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":e,"X-Stainless-OS":D7(globalThis.process.platform??"unknown"),"X-Stainless-Arch":A7(globalThis.process.arch??"unknown"),"X-Stainless-Runtime":"node","X-Stainless-Runtime-Version":globalThis.process.version??"unknown"};let Z=a8();if(Z)return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":e,"X-Stainless-OS":"Unknown","X-Stainless-Arch":"unknown","X-Stainless-Runtime":`browser:${Z.browser}`,"X-Stainless-Runtime-Version":Z.version};return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":e,"X-Stainless-OS":"Unknown","X-Stainless-Arch":"unknown","X-Stainless-Runtime":"unknown","X-Stainless-Runtime-Version":"unknown"}},A7=(X)=>{if(X==="x32")return"x32";if(X==="x86_64"||X==="x64")return"x64";if(X==="arm")return"arm";if(X==="aarch64"||X==="arm64")return"arm64";if(X)return`other:${X}`;return"unknown"},D7=(X)=>{if(X=X.toLowerCase(),X.includes("ios"))return"iOS";if(X==="android")return"Android";if(X==="darwin")return"MacOS";if(X==="win32")return"Windows";if(X==="freebsd")return"FreeBSD";if(X==="openbsd")return"OpenBSD";if(X==="linux")return"Linux";if(X)return`Other:${X}`;return"Unknown"},E7,T7=()=>{return E7??(E7=o8())};var V6=w(()=>{W6()});function I7(){if(typeof fetch<"u")return fetch;throw Error("`fetch` is not defined as a global; Either pass `fetch` to the client, `new Anthropic({ fetch })` or polyfill the global, `globalThis.fetch = fetch`")}function Q6(...X){let Z=globalThis.ReadableStream;if(typeof Z>"u")throw Error("`ReadableStream` is not defined as a global; You will need to polyfill it, `globalThis.ReadableStream = ReadableStream`");return new Z(...X)}function TZ(X){let Z=Symbol.asyncIterator in X?X[Symbol.asyncIterator]():X[Symbol.iterator]();return Q6({start(){},async pull($){let{done:Y,value:J}=await Z.next();if(Y)$.close();else $.enqueue(J)},async cancel(){await Z.return?.()}})}function dX(X){if(X[Symbol.asyncIterator])return X;let Z=X.getReader();return{async next(){try{let $=await Z.read();if($?.done)Z.releaseLock();return $}catch($){throw Z.releaseLock(),$}},async return(){let $=Z.cancel();return Z.releaseLock(),await $,{done:!0,value:void 0}},[Symbol.asyncIterator](){return this}}}async function F7(X){if(X===null||typeof X!=="object")return;if(X[Symbol.asyncIterator]){await X[Symbol.asyncIterator]().return?.();return}let Z=X.getReader(),$=Z.cancel();Z.releaseLock(),await $}var HX=()=>{};var B7=({headers:X,body:Z})=>{return{bodyHeaders:{"content-type":"application/json"},body:JSON.stringify(Z)}};var S7=()=>{};function L7(X){return Object.entries(X).filter(([Z,$])=>typeof $<"u").map(([Z,$])=>{if(typeof $==="string"||typeof $==="number"||typeof $==="boolean")return`${encodeURIComponent(Z)}=${encodeURIComponent($)}`;if($===null)return`${encodeURIComponent(Z)}=`;throw new N(`Cannot stringify type ${typeof $}; Expected string, number, boolean, or null. If you need to pass nested query parameters, you can manually encode them, e.g. { query: { 'foo[key1]': value1, 'foo[key2]': value2 } }, and please open a GitHub issue requesting better support for your use case.`)}).join("&")}var k7=w(()=>{R()});function y7(X){let Z=0;for(let J of X)Z+=J.length;let $=new Uint8Array(Z),Y=0;for(let J of X)$.set(J,Y),Y+=J.length;return $}function mX(X){let Z;return(R7??(Z=new globalThis.TextEncoder,R7=Z.encode.bind(Z)))(X)}function z6(X){let Z;return(P7??(Z=new globalThis.TextDecoder,P7=Z.decode.bind(Z)))(X)}var R7,P7;var G6=()=>{};class XX{constructor(){P.set(this,void 0),y.set(this,void 0),G(this,P,new Uint8Array,"f"),G(this,y,null,"f")}decode(X){if(X==null)return[];let Z=X instanceof ArrayBuffer?new Uint8Array(X):typeof X==="string"?mX(X):X;G(this,P,y7([V(this,P,"f"),Z]),"f");let $=[],Y;while((Y=s8(V(this,P,"f"),V(this,y,"f")))!=null){if(Y.carriage&&V(this,y,"f")==null){G(this,y,Y.index,"f");continue}if(V(this,y,"f")!=null&&(Y.index!==V(this,y,"f")+1||Y.carriage)){$.push(z6(V(this,P,"f").subarray(0,V(this,y,"f")-1))),G(this,P,V(this,P,"f").subarray(V(this,y,"f")),"f"),G(this,y,null,"f");continue}let J=V(this,y,"f")!==null?Y.preceding-1:Y.preceding,K=z6(V(this,P,"f").subarray(0,J));$.push(K),G(this,P,V(this,P,"f").subarray(Y.index),"f"),G(this,y,null,"f")}return $}flush(){if(!V(this,P,"f").length)return[];return this.decode(`
1
+ import{Afa as y8,Dfa as W7,Nfa as o$}from"./cli-0.1.14-s9m1y93w.mjs";import{Qfa as f8,Tfa as a$}from"./cli-0.1.14-whe4bxfr.mjs";import{mla as P8,vha as R8}from"./cli-0.1.14-r46jh9af.mjs";import{Lla as s,Mla as j8}from"./cli-0.1.14-akz49g5v.mjs";import{bma as w,dma as A,ema as D}from"./cli-0.1.14-qn4ftczz.mjs";function w7(X){return Z6.add(X),()=>Z6.delete(X)}async function U1(){await Promise.all(Array.from(Z6).map((X)=>X()))}var Z6;var U7=w(()=>{Z6=new Set});function i(X){return typeof X==="object"&&X!==null&&(("name"in X)&&X.name==="AbortError"||("message"in X)&&String(X.message).includes("FetchRequestCanceledException"))}var RX=(X)=>{if(X instanceof Error)return X;if(typeof X==="object"&&X!==null){try{if(Object.prototype.toString.call(X)==="[object Error]"){let Z=Error(X.message,X.cause?{cause:X.cause}:{});if(X.stack)Z.stack=X.stack;if(X.cause&&!Z.cause)Z.cause=X.cause;if(X.name)Z.name=X.name;return Z}}catch{}try{return Error(JSON.stringify(X))}catch{}}return Error(X)};var CX=()=>{};var N,F,S,WX,PX,yX,_X,fX,bX,hX,vX,gX,cX;var R=w(()=>{CX();N=class N extends Error{};F=class F extends N{constructor(X,Z,$,Y,J){super(`${F.makeMessage(X,Z,$)}`);this.status=X,this.headers=Y,this.requestID=Y?.get("request-id"),this.error=Z,this.type=J??null}static makeMessage(X,Z,$){let Y=Z?.message?typeof Z.message==="string"?Z.message:JSON.stringify(Z.message):Z?JSON.stringify(Z):$;if(X&&Y)return`${X} ${Y}`;if(X)return`${X} status code (no body)`;if(Y)return Y;return"(no status code or body)"}static generate(X,Z,$,Y){if(!X||!Y)return new WX({message:$,cause:RX(Z)});let J=Z,K=J?.error?.type;if(X===400)return new yX(X,J,$,Y,K);if(X===401)return new _X(X,J,$,Y,K);if(X===403)return new fX(X,J,$,Y,K);if(X===404)return new bX(X,J,$,Y,K);if(X===409)return new hX(X,J,$,Y,K);if(X===422)return new vX(X,J,$,Y,K);if(X===429)return new gX(X,J,$,Y,K);if(X>=500)return new cX(X,J,$,Y,K);return new F(X,J,$,Y,K)}};S=class S extends F{constructor({message:X}={}){super(void 0,void 0,X||"Request was aborted.",void 0)}};WX=class WX extends F{constructor({message:X,cause:Z}){super(void 0,void 0,X||"Connection error.",void 0);if(Z)this.cause=Z}};PX=class PX extends WX{constructor({message:X}={}){super({message:X??"Request timed out."})}};yX=class yX extends F{};_X=class _X extends F{};fX=class fX extends F{};bX=class bX extends F{};hX=class hX extends F{};vX=class vX extends F{};gX=class gX extends F{};cX=class cX extends F{}});function G(X,Z,$,Y,J){if(Y==="m")throw TypeError("Private method is not writable");if(Y==="a"&&!J)throw TypeError("Private accessor was defined without a setter");if(typeof Z==="function"?X!==Z||!J:!Z.has(X))throw TypeError("Cannot write private member to an object whose class did not declare it");return Y==="a"?J.call(X,$):J?J.value=$:Z.set(X,$),$}function V(X,Z,$,Y){if($==="a"&&!Y)throw TypeError("Private accessor was defined without a getter");if(typeof Z==="function"?X!==Z||!Y:!Z.has(X))throw TypeError("Cannot read private member from an object whose class did not declare it");return $==="m"?Y:$==="a"?Y.call(X):Y?Y.value:Z.get(X)}var n=()=>{};var $6=function(){let{crypto:X}=globalThis;if(X?.randomUUID)return $6=X.randomUUID.bind(X),X.randomUUID();let Z=new Uint8Array(1),$=X?()=>X.getRandomValues(Z)[0]:()=>Math.random()*255&255;return"10000000-1000-4000-8000-100000000000".replace(/[018]/g,(Y)=>(+Y^$()&15>>+Y/4).toString(16))};var q7=()=>{};function EZ(X){if(typeof X!=="object")return{};return X??{}}function K6(X){if(!X)return!0;for(let Z in X)return!1;return!0}function H7(X,Z){return Object.prototype.hasOwnProperty.call(X,Z)}var i8,C7=(X)=>{return i8.test(X)},Y6=(X)=>(Y6=Array.isArray,Y6(X)),J6,x7=(X,Z)=>{if(typeof Z!=="number"||!Number.isInteger(Z))throw new N(`${X} must be an integer`);if(Z<0)throw new N(`${X} must be a positive integer`);return Z},jZ=(X)=>{try{return JSON.parse(X)}catch(Z){return}};var VX=w(()=>{R();i8=/^[a-z][a-z0-9+.-]*:/i,J6=Y6});var O7=(X)=>new Promise((Z)=>setTimeout(Z,X));var M7=()=>{};var e="0.81.0";var W6=()=>{};function n8(){if(typeof Deno<"u"&&Deno.build!=null)return"deno";if(typeof EdgeRuntime<"u")return"edge";if(Object.prototype.toString.call(typeof globalThis.process<"u"?globalThis.process:0)==="[object process]")return"node";return"unknown"}function a8(){if(typeof navigator>"u"||!navigator)return null;let X=[{key:"edge",pattern:/Edge(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"ie",pattern:/MSIE(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"ie",pattern:/Trident(?:.*rv\:(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"chrome",pattern:/Chrome(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"firefox",pattern:/Firefox(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"safari",pattern:/(?:Version\W+(\d+)\.(\d+)(?:\.(\d+))?)?(?:\W+Mobile\S*)?\W+Safari/}];for(let{key:Z,pattern:$}of X){let Y=$.exec(navigator.userAgent);if(Y){let J=Y[1]||0,K=Y[2]||0,W=Y[3]||0;return{browser:Z,version:`${J}.${K}.${W}`}}}return null}var j7=()=>{return typeof window<"u"&&typeof window.document<"u"&&typeof navigator<"u"},o8=()=>{let X=n8();if(X==="deno")return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":e,"X-Stainless-OS":D7(Deno.build.os),"X-Stainless-Arch":A7(Deno.build.arch),"X-Stainless-Runtime":"deno","X-Stainless-Runtime-Version":typeof Deno.version==="string"?Deno.version:Deno.version?.deno??"unknown"};if(typeof EdgeRuntime<"u")return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":e,"X-Stainless-OS":"Unknown","X-Stainless-Arch":`other:${EdgeRuntime}`,"X-Stainless-Runtime":"edge","X-Stainless-Runtime-Version":globalThis.process.version};if(X==="node")return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":e,"X-Stainless-OS":D7(globalThis.process.platform??"unknown"),"X-Stainless-Arch":A7(globalThis.process.arch??"unknown"),"X-Stainless-Runtime":"node","X-Stainless-Runtime-Version":globalThis.process.version??"unknown"};let Z=a8();if(Z)return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":e,"X-Stainless-OS":"Unknown","X-Stainless-Arch":"unknown","X-Stainless-Runtime":`browser:${Z.browser}`,"X-Stainless-Runtime-Version":Z.version};return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":e,"X-Stainless-OS":"Unknown","X-Stainless-Arch":"unknown","X-Stainless-Runtime":"unknown","X-Stainless-Runtime-Version":"unknown"}},A7=(X)=>{if(X==="x32")return"x32";if(X==="x86_64"||X==="x64")return"x64";if(X==="arm")return"arm";if(X==="aarch64"||X==="arm64")return"arm64";if(X)return`other:${X}`;return"unknown"},D7=(X)=>{if(X=X.toLowerCase(),X.includes("ios"))return"iOS";if(X==="android")return"Android";if(X==="darwin")return"MacOS";if(X==="win32")return"Windows";if(X==="freebsd")return"FreeBSD";if(X==="openbsd")return"OpenBSD";if(X==="linux")return"Linux";if(X)return`Other:${X}`;return"Unknown"},E7,T7=()=>{return E7??(E7=o8())};var V6=w(()=>{W6()});function I7(){if(typeof fetch<"u")return fetch;throw Error("`fetch` is not defined as a global; Either pass `fetch` to the client, `new Anthropic({ fetch })` or polyfill the global, `globalThis.fetch = fetch`")}function Q6(...X){let Z=globalThis.ReadableStream;if(typeof Z>"u")throw Error("`ReadableStream` is not defined as a global; You will need to polyfill it, `globalThis.ReadableStream = ReadableStream`");return new Z(...X)}function TZ(X){let Z=Symbol.asyncIterator in X?X[Symbol.asyncIterator]():X[Symbol.iterator]();return Q6({start(){},async pull($){let{done:Y,value:J}=await Z.next();if(Y)$.close();else $.enqueue(J)},async cancel(){await Z.return?.()}})}function dX(X){if(X[Symbol.asyncIterator])return X;let Z=X.getReader();return{async next(){try{let $=await Z.read();if($?.done)Z.releaseLock();return $}catch($){throw Z.releaseLock(),$}},async return(){let $=Z.cancel();return Z.releaseLock(),await $,{done:!0,value:void 0}},[Symbol.asyncIterator](){return this}}}async function F7(X){if(X===null||typeof X!=="object")return;if(X[Symbol.asyncIterator]){await X[Symbol.asyncIterator]().return?.();return}let Z=X.getReader(),$=Z.cancel();Z.releaseLock(),await $}var HX=()=>{};var B7=({headers:X,body:Z})=>{return{bodyHeaders:{"content-type":"application/json"},body:JSON.stringify(Z)}};var S7=()=>{};function L7(X){return Object.entries(X).filter(([Z,$])=>typeof $<"u").map(([Z,$])=>{if(typeof $==="string"||typeof $==="number"||typeof $==="boolean")return`${encodeURIComponent(Z)}=${encodeURIComponent($)}`;if($===null)return`${encodeURIComponent(Z)}=`;throw new N(`Cannot stringify type ${typeof $}; Expected string, number, boolean, or null. If you need to pass nested query parameters, you can manually encode them, e.g. { query: { 'foo[key1]': value1, 'foo[key2]': value2 } }, and please open a GitHub issue requesting better support for your use case.`)}).join("&")}var k7=w(()=>{R()});function y7(X){let Z=0;for(let J of X)Z+=J.length;let $=new Uint8Array(Z),Y=0;for(let J of X)$.set(J,Y),Y+=J.length;return $}function mX(X){let Z;return(R7??(Z=new globalThis.TextEncoder,R7=Z.encode.bind(Z)))(X)}function z6(X){let Z;return(P7??(Z=new globalThis.TextDecoder,P7=Z.decode.bind(Z)))(X)}var R7,P7;var G6=()=>{};class XX{constructor(){P.set(this,void 0),y.set(this,void 0),G(this,P,new Uint8Array,"f"),G(this,y,null,"f")}decode(X){if(X==null)return[];let Z=X instanceof ArrayBuffer?new Uint8Array(X):typeof X==="string"?mX(X):X;G(this,P,y7([V(this,P,"f"),Z]),"f");let $=[],Y;while((Y=s8(V(this,P,"f"),V(this,y,"f")))!=null){if(Y.carriage&&V(this,y,"f")==null){G(this,y,Y.index,"f");continue}if(V(this,y,"f")!=null&&(Y.index!==V(this,y,"f")+1||Y.carriage)){$.push(z6(V(this,P,"f").subarray(0,V(this,y,"f")-1))),G(this,P,V(this,P,"f").subarray(V(this,y,"f")),"f"),G(this,y,null,"f");continue}let J=V(this,y,"f")!==null?Y.preceding-1:Y.preceding,K=z6(V(this,P,"f").subarray(0,J));$.push(K),G(this,P,V(this,P,"f").subarray(Y.index),"f"),G(this,y,null,"f")}return $}flush(){if(!V(this,P,"f").length)return[];return this.decode(`
2
2
  `)}}function s8(X,Z){for(let J=Z??0;J<X.length;J++){if(X[J]===10)return{preceding:J,index:J+1,carriage:!1};if(X[J]===13)return{preceding:J,index:J+1,carriage:!0}}return null}function _7(X){for(let Y=0;Y<X.length-1;Y++){if(X[Y]===10&&X[Y+1]===10)return Y+2;if(X[Y]===13&&X[Y+1]===13)return Y+2;if(X[Y]===13&&X[Y+1]===10&&Y+3<X.length&&X[Y+2]===13&&X[Y+3]===10)return Y+4}return-1}var P,y;var N6=w(()=>{n();G6();P=new WeakMap,y=new WeakMap;XX.NEWLINE_CHARS=new Set([`
3
3
  `,"\r"]);XX.NEWLINE_REGEXP=/\r\n|[\n\r]/g});function uX(){}function IZ(X,Z,$){if(!Z||FZ[X]>FZ[$])return uX;else return Z[X].bind(Z)}function L(X){let Z=X.logger,$=X.logLevel??"off";if(!Z)return e8;let Y=f7.get(Z);if(Y&&Y[0]===$)return Y[1];let J={error:IZ("error",Z,$),warn:IZ("warn",Z,$),info:IZ("info",Z,$),debug:IZ("debug",Z,$)};return f7.set(Z,[$,J]),J}var FZ,w6=(X,Z,$)=>{if(!X)return;if(H7(FZ,X))return X;L($).warn(`${Z} was set to ${JSON.stringify(X)}, expected one of ${JSON.stringify(Object.keys(FZ))}`);return},e8,f7,o=(X)=>{if(X.options)X.options={...X.options},delete X.options.headers;if(X.headers)X.headers=Object.fromEntries((X.headers instanceof Headers?[...X.headers]:Object.entries(X.headers)).map(([Z,$])=>[Z,Z.toLowerCase()==="x-api-key"||Z.toLowerCase()==="authorization"||Z.toLowerCase()==="cookie"||Z.toLowerCase()==="set-cookie"?"***":$]));if("retryOfRequestLogID"in X){if(X.retryOfRequestLogID)X.retryOf=X.retryOfRequestLogID;delete X.retryOfRequestLogID}return X};var BZ=w(()=>{VX();FZ={off:0,error:200,warn:300,info:400,debug:500};e8={error:uX,warn:uX,info:uX,debug:uX},f7=new WeakMap});async function*X$(X,Z){if(!X.body){if(Z.abort(),typeof globalThis.navigator<"u"&&globalThis.navigator.product==="ReactNative")throw new N("The default react-native fetch implementation does not support streaming. Please use expo/fetch: https://docs.expo.dev/versions/latest/sdk/expo/#expofetch-api");throw new N("Attempted to iterate over a response with no body")}let $=new b7,Y=new XX,J=dX(X.body);for await(let K of Z$(J))for(let W of Y.decode(K)){let Q=$.decode(W);if(Q)yield Q}for(let K of Y.flush()){let W=$.decode(K);if(W)yield W}}async function*Z$(X){let Z=new Uint8Array;for await(let $ of X){if($==null)continue;let Y=$ instanceof ArrayBuffer?new Uint8Array($):typeof $==="string"?mX($):$,J=new Uint8Array(Z.length+Y.length);J.set(Z),J.set(Y,Z.length),Z=J;let K;while((K=_7(Z))!==-1)yield Z.slice(0,K),Z=Z.slice(K)}if(Z.length>0)yield Z}class b7{constructor(){this.event=null,this.data=[],this.chunks=[]}decode(X){if(X.endsWith("\r"))X=X.substring(0,X.length-1);if(!X){if(!this.event&&!this.data.length)return null;let J={event:this.event,data:this.data.join(`
4
4
  `),raw:this.chunks};return this.event=null,this.data=[],this.chunks=[],J}if(this.chunks.push(X),X.startsWith(":"))return null;let[Z,$,Y]=$$(X,":");if(Y.startsWith(" "))Y=Y.substring(1);if(Z==="event")this.event=Y;else if(Z==="data")this.data.push(Y);return null}}function $$(X,Z){let $=X.indexOf(Z);if($!==-1)return[X.substring(0,$),Z,X.substring($+Z.length)];return[X,"",""]}var pX,_;var U6=w(()=>{n();R();HX();N6();HX();CX();VX();G6();BZ();R();_=class _{constructor(X,Z,$){this.iterator=X,pX.set(this,void 0),this.controller=Z,G(this,pX,$,"f")}static fromSSEResponse(X,Z,$){let Y=!1,J=$?L($):console;async function*K(){if(Y)throw new N("Cannot iterate over a consumed stream, use `.tee()` to split the stream.");Y=!0;let W=!1;try{for await(let Q of X$(X,Z)){if(Q.event==="completion")try{yield JSON.parse(Q.data)}catch(z){throw J.error("Could not parse message into JSON:",Q.data),J.error("From chunk:",Q.raw),z}if(Q.event==="message_start"||Q.event==="message_delta"||Q.event==="message_stop"||Q.event==="content_block_start"||Q.event==="content_block_delta"||Q.event==="content_block_stop")try{yield JSON.parse(Q.data)}catch(z){throw J.error("Could not parse message into JSON:",Q.data),J.error("From chunk:",Q.raw),z}if(Q.event==="ping")continue;if(Q.event==="error"){let z=jZ(Q.data)??Q.data,x=z?.error?.type;throw new F(void 0,z,void 0,X.headers,x)}}W=!0}catch(Q){if(i(Q))return;throw Q}finally{if(!W)Z.abort()}}return new _(K,Z,$)}static fromReadableStream(X,Z,$){let Y=!1;async function*J(){let W=new XX,Q=dX(X);for await(let z of Q)for(let x of W.decode(z))yield x;for(let z of W.flush())yield z}async function*K(){if(Y)throw new N("Cannot iterate over a consumed stream, use `.tee()` to split the stream.");Y=!0;let W=!1;try{for await(let Q of J()){if(W)continue;if(Q)yield JSON.parse(Q)}W=!0}catch(Q){if(i(Q))return;throw Q}finally{if(!W)Z.abort()}}return new _(K,Z,$)}[(pX=new WeakMap,Symbol.asyncIterator)](){return this.iterator()}tee(){let X=[],Z=[],$=this.iterator(),Y=(J)=>{return{next:()=>{if(J.length===0){let K=$.next();X.push(K),Z.push(K)}return J.shift()}}};return[new _(()=>Y(X),this.controller,V(this,pX,"f")),new _(()=>Y(Z),this.controller,V(this,pX,"f"))]}toReadableStream(){let X=this,Z;return Q6({async start(){Z=X[Symbol.asyncIterator]()},async pull($){try{let{value:Y,done:J}=await Z.next();if(J)return $.close();let K=mX(JSON.stringify(Y)+`
@@ -41,4 +41,4 @@ new Anthropic({ apiKey, dangerouslyAllowBrowser: true });
41
41
  `);for(let M=H.length-1;M>=0;M--){let U=H[M];if(U)yield U}}if(K.length>0)yield K.toString("utf8")}finally{await $.close()}}var i$,n$;var k8=w(()=>{A8();J7();i$={cwd(){return process.cwd()},existsSync(X){let $=[];try{const Z=A($,E`fs.existsSync(${X})`,0);return C.existsSync(X)}catch(Y){var J=Y,K=1}finally{D($,J,K)}},async stat(X){return u$(X)},async readdir(X){return g$(X,{withFileTypes:!0})},async unlink(X){return p$(X)},async rmdir(X){return d$(X)},async rm(X,Z){return m$(X,Z)},async mkdir(X,Z){try{await v$(X,{recursive:!0,...Z})}catch($){if(LX($)!=="EEXIST")throw $}},async readFile(X,Z){return B8(X,{encoding:Z.encoding})},async rename(X,Z){return c$(X,Z)},statSync(X){let $=[];try{const Z=A($,E`fs.statSync(${X})`,0);return C.statSync(X)}catch(Y){var J=Y,K=1}finally{D($,J,K)}},lstatSync(X){let $=[];try{const Z=A($,E`fs.lstatSync(${X})`,0);return C.lstatSync(X)}catch(Y){var J=Y,K=1}finally{D($,J,K)}},readFileSync(X,Z){let Y=[];try{const $=A(Y,E`fs.readFileSync(${X})`,0);return C.readFileSync(X,{encoding:Z.encoding})}catch(J){var K=J,W=1}finally{D(Y,K,W)}},readFileBytesSync(X){let $=[];try{const Z=A($,E`fs.readFileBytesSync(${X})`,0);return C.readFileSync(X)}catch(Y){var J=Y,K=1}finally{D($,J,K)}},readSync(X,Z){let J=[];try{const $=A(J,E`fs.readSync(${X}, ${Z.length} bytes)`,0);let Y=void 0;try{Y=C.openSync(X,"r");let z=Buffer.alloc(Z.length),x=C.readSync(Y,z,0,Z.length,0);return{buffer:z,bytesRead:x}}finally{if(Y)C.closeSync(Y)}}catch(K){var W=K,Q=1}finally{D(J,W,Q)}},appendFileSync(X,Z,$){let J=[];try{const Y=A(J,E`fs.appendFileSync(${X}, ${Z.length} chars)`,0);if($?.mode!==void 0)try{let z=C.openSync(X,"ax",$.mode);try{C.appendFileSync(z,Z)}finally{C.closeSync(z)}return}catch(z){if(LX(z)!=="EEXIST")throw z}C.appendFileSync(X,Z)}catch(K){var W=K,Q=1}finally{D(J,W,Q)}},copyFileSync(X,Z){let Y=[];try{const $=A(Y,E`fs.copyFileSync(${X} → ${Z})`,0);C.copyFileSync(X,Z)}catch(J){var K=J,W=1}finally{D(Y,K,W)}},unlinkSync(X){let $=[];try{const Z=A($,E`fs.unlinkSync(${X})`,0);C.unlinkSync(X)}catch(Y){var J=Y,K=1}finally{D($,J,K)}},renameSync(X,Z){let Y=[];try{const $=A(Y,E`fs.renameSync(${X} → ${Z})`,0);C.renameSync(X,Z)}catch(J){var K=J,W=1}finally{D(Y,K,W)}},linkSync(X,Z){let Y=[];try{const $=A(Y,E`fs.linkSync(${X} → ${Z})`,0);C.linkSync(X,Z)}catch(J){var K=J,W=1}finally{D(Y,K,W)}},symlinkSync(X,Z,$){let J=[];try{const Y=A(J,E`fs.symlinkSync(${X} → ${Z})`,0);C.symlinkSync(X,Z,$)}catch(K){var W=K,Q=1}finally{D(J,W,Q)}},readlinkSync(X){let $=[];try{const Z=A($,E`fs.readlinkSync(${X})`,0);return C.readlinkSync(X)}catch(Y){var J=Y,K=1}finally{D($,J,K)}},realpathSync(X){let $=[];try{const Z=A($,E`fs.realpathSync(${X})`,0);return C.realpathSync(X).normalize("NFC")}catch(Y){var J=Y,K=1}finally{D($,J,K)}},mkdirSync(X,Z){let J=[];try{const $=A(J,E`fs.mkdirSync(${X})`,0);let Y={recursive:!0};if(Z?.mode!==void 0)Y.mode=Z.mode;try{C.mkdirSync(X,Y)}catch(z){if(LX(z)!=="EEXIST")throw z}}catch(K){var W=K,Q=1}finally{D(J,W,Q)}},readdirSync(X){let $=[];try{const Z=A($,E`fs.readdirSync(${X})`,0);return C.readdirSync(X,{withFileTypes:!0})}catch(Y){var J=Y,K=1}finally{D($,J,K)}},readdirStringSync(X){let $=[];try{const Z=A($,E`fs.readdirStringSync(${X})`,0);return C.readdirSync(X)}catch(Y){var J=Y,K=1}finally{D($,J,K)}},isDirEmptySync(X){let Y=[];try{const Z=A(Y,E`fs.isDirEmptySync(${X})`,0);let $=this.readdirSync(X);return $.length===0}catch(J){var K=J,W=1}finally{D(Y,K,W)}},rmdirSync(X){let $=[];try{const Z=A($,E`fs.rmdirSync(${X})`,0);C.rmdirSync(X)}catch(Y){var J=Y,K=1}finally{D($,J,K)}},rmSync(X,Z){let Y=[];try{const $=A(Y,E`fs.rmSync(${X})`,0);C.rmSync(X,Z)}catch(J){var K=J,W=1}finally{D(Y,K,W)}},createWriteStream(X){return C.createWriteStream(X)},async readFileBytes(X,Z){if(Z===void 0)return B8(X);let $=await sZ(X,"r");try{let{size:Y}=await $.stat(),J=Math.min(Y,Z),K=Buffer.allocUnsafe(J),W=0;while(W<J){let{bytesRead:Q}=await $.read(K,W,J-W,W);if(Q===0)break;W+=Q}return W<J?K.subarray(0,W):K}finally{await $.close()}}},n$=i$});import{appendFile as r$,mkdir as t$,symlink as s$,unlink as e$}from"fs/promises";import{dirname as b8,join as h8}from"path";function D5(){let X=AZ();return v8=!0,AZ.cache.clear?.(),X}function $1(X){if(!AZ())return!1;if(typeof process>"u"||typeof process.versions>"u"||typeof process.versions.node>"u")return!1;let Z=Z1();return I8(X,Z)}function E5(X){Q7=X}function j5(){return Q7}async function Y1(X,Z,$,Y){if(X)await t$(Z,{recursive:!0}).catch(()=>{});await r$($,Y),m8()}function J1(){}function K1(){if(!X6){let X=null;X6=D8({writeFn:(Z)=>{let $=d8(),Y=b8($),J=X!==Y;if(X=Y,AZ()){if(J)try{eZ().mkdirSync(Y)}catch{}eZ().appendFileSync($,Z),m8();return}K7=K7.then(Y1.bind(null,J,Y,$,Z)).catch(J1)},flushIntervalMs:1000,maxBufferSize:100,immediateMode:AZ()}),w7(async()=>{X6?.dispose(),await K7})}return X6}function W1(X,{level:Z}={level:"debug"}){if(V7[Z]<V7[X1()])return;if(!$1(X))return;if(Q7&&X.includes(`
42
42
  `))X=_8(X);let Y=`${new Date().toISOString()} [${Z.toUpperCase()}] ${X.trim()}
43
43
  `;if(g8()){f8(Y);return}K1().write(Y)}function d8(){return c8()??process.env.CLAUDE_CODE_DEBUG_LOGS_DIR??h8(y8(),"debug",`${R8()}.txt`)}function T5(X,Z){}var V7,X1,v8=!1,AZ,Z1,g8,c8,Q7=!1,X6=null,K7,m8;var u8=w(()=>{j8();P8();E8();U7();F8();o$();k8();a$();J7();V7={verbose:0,debug:1,info:2,warn:3,error:4},X1=s(()=>{let X=process.env.CLAUDE_CODE_DEBUG_LOG_LEVEL?.toLowerCase().trim();if(X&&Object.hasOwn(V7,X))return X;return"debug"}),AZ=s(()=>{return v8||W7(process.env.DEBUG)||W7(process.env.DEBUG_SDK)||process.argv.includes("--debug")||process.argv.includes("-d")||g8()||process.argv.some((X)=>X.startsWith("--debug="))||c8()!==null});Z1=s(()=>{let X=process.argv.find(($)=>$.startsWith("--debug="));if(!X)return null;let Z=X.substring(8);return T8(Z)}),g8=s(()=>{return process.argv.includes("--debug-to-stderr")||process.argv.includes("-d2e")}),c8=s(()=>{for(let X=0;X<process.argv.length;X++){let Z=process.argv[X];if(Z.startsWith("--debug-file="))return Z.substring(13);if(Z==="--debug-file"&&X+1<process.argv.length)return process.argv[X+1]}return null});K7=Promise.resolve();m8=s(async()=>{try{let X=d8(),Z=b8(X),$=h8(Z,"latest");await e$($).catch(()=>{}),await s$(X,$)}catch{}})});import{closeSync as V1,writeFileSync as p8,fsyncSync as Q1,openSync as z1}from"fs";function N1(){return G1}function _8(X,Z,$){let J=[];try{const Y=A(J,E`JSON.stringify(${X})`,0);return JSON.stringify(X,Z,$)}catch(K){var W=K,Q=1}finally{D(J,W,Q)}}function P5(X,Z){let Y=[];try{const $=A(Y,E`structuredClone(${X})`,0);return structuredClone(X,Z)}catch(J){var K=J,W=1}finally{D(Y,K,W)}}function y5(X,Z,$){let K=[];try{const Y=A(K,E`fs.writeFileSync(${X}, ${Z})`,0);let J=$!==null&&typeof $==="object"&&"flush"in $&&$.flush===!0;if(J){let x=typeof $==="object"&&"encoding"in $?$.encoding:void 0,H=typeof $==="object"&&"mode"in $?$.mode:void 0,M;try{M=z1(X,"w",H),p8(M,Z,{encoding:x??void 0}),Q1(M)}finally{if(M!==void 0)V1(M)}}else p8(X,Z,$)}catch(W){var Q=W,z=1}finally{D(K,Q,z)}}var k5,G1,E,R5=(X,Z)=>{let Y=[];try{const $=A(Y,E`JSON.parse(${X})`,0);return typeof Z>"u"?JSON.parse(X):JSON.parse(X,Z)}catch(J){var K=J,W=1}finally{D(Y,K,W)}};var J7=w(()=>{P8();u8();k5=(()=>{let X=process.env.CLAUDE_CODE_SLOW_OPERATION_THRESHOLD_MS;if(X!==void 0){let Z=Number(X);if(!Number.isNaN(Z)&&Z>=0)return Z}return 1/0})(),G1={[Symbol.dispose](){}};E=N1});
44
- export{D8 as iga,E8 as jga,w7 as kga,U1 as lga,U7 as mga,F as nga,S as oga,WX as pga,PX as qga,_X as rga,bX as sga,MX as tga,qX as uga,O8 as vga,L$ as wga,k$ as xga,M8 as yga,m4 as zga,R$ as Aga,P$ as Bga,y$ as Cga,_$ as Dga,u4 as Ega,p4 as Fga,f$ as Gga,LX as Hga,l4 as Iga,i4 as Jga,n4 as Kga,o4 as Lga,A8 as Mga,E as Nga,_8 as Oga,R5 as Pga,P5 as Qga,y5 as Rga,J7 as Sga,L8 as Tga,Y5 as Uga,J5 as Vga,eZ as Wga,K5 as Xga,W5 as Yga,V5 as Zga,k8 as _ga,AZ as $ga,D5 as aha,g8 as bha,E5 as cha,j5 as dha,W1 as eha,d8 as fha,T5 as gha,u8 as hha};
44
+ export{D8 as Aea,E8 as Bea,w7 as Cea,U1 as Dea,U7 as Eea,F as Fea,S as Gea,WX as Hea,PX as Iea,_X as Jea,bX as Kea,MX as Lea,qX as Mea,O8 as Nea,L$ as Oea,k$ as Pea,M8 as Qea,m4 as Rea,R$ as Sea,P$ as Tea,y$ as Uea,_$ as Vea,u4 as Wea,p4 as Xea,f$ as Yea,LX as Zea,l4 as _ea,i4 as $ea,n4 as afa,o4 as bfa,A8 as cfa,E as dfa,_8 as efa,R5 as ffa,P5 as gfa,y5 as hfa,J7 as ifa,L8 as jfa,Y5 as kfa,J5 as lfa,eZ as mfa,K5 as nfa,W5 as ofa,V5 as pfa,k8 as qfa,AZ as rfa,D5 as sfa,g8 as tfa,E5 as ufa,j5 as vfa,W1 as wfa,d8 as xfa,T5 as yfa,u8 as zfa};
@@ -0,0 +1,2 @@
1
+ import{sV as x}from"./cli-0.1.14-fspxpmh7.mjs";import{y3 as q}from"./cli-0.1.14-a6kwmqhz.mjs";import{Ida as f}from"./cli-0.1.14-z8j2n955.mjs";import{Nfa as p}from"./cli-0.1.14-s9m1y93w.mjs";import{bma as d}from"./cli-0.1.14-qn4ftczz.mjs";function N(){return!1}async function O(){return!1}function P(){return!1}function Q(){return!0}function R(){return null}var z=d(()=>{f();q();p();x()});
2
+ export{N as qf,O as rf,P as sf,Q as tf,R as uf,z as vf};
@@ -0,0 +1,2 @@
1
+ import{XJ as g,YJ as Zf,_J as _f,rt as Xf,st as Uf}from"./cli-0.1.14-j5sbzwhy.mjs";import{FS as Wf,GS as Tf}from"./cli-0.1.14-w6nzk5dc.mjs";import{AU as r,CU as q,GU as Vf,QS as n,WS as s,XS as If,fV as a,yU as F,zU as cf}from"./cli-0.1.14-seq2fm2d.mjs";import{DV as Qf,EV as H,FV as X,GV as T}from"./cli-0.1.14-hjktwgtk.mjs";import{HV as Rf}from"./cli-0.1.14-harz1d9d.mjs";import{F0 as Nf,H0 as b,I0 as _,J0 as Hf,L0 as j,O0 as qf,Q0 as zf,Y0 as Jf,Z0 as hf,b1 as M,e1 as p,f1 as Ef}from"./cli-0.1.14-a6kwmqhz.mjs";import{U3 as l,V3 as Pf}from"./cli-0.1.14-jbn4ywda.mjs";import{$8 as w,X$ as i,Z_ as Gf,j$ as Cf,l9 as yf,oaa as Bf}from"./cli-0.1.14-2f7s5xbd.mjs";import{_da as mf,gea as Of}from"./cli-0.1.14-mgcmwvcn.mjs";import{yea as D,zea as Lf}from"./cli-0.1.14-t3fga5je.mjs";import{Zla as x,bma as o}from"./cli-0.1.14-qn4ftczz.mjs";function e(m){let f=t.c(2),{cooldown:G}=m;if(G){let z;if(f[0]===Symbol.for("react.memo_cache_sentinel"))z=H(q,{color:"promptBorder",dimColor:!0,children:w}),f[0]=z;else z=f[0];return z}let N;if(f[1]===Symbol.for("react.memo_cache_sentinel"))N=H(q,{color:"fastMode",children:w}),f[1]=N;else N=f[1];return N}function U(m=!0,f=!1){if(!m)return w;let G=s(i().theme);if(f)return l.dim(F("promptBorder",G)(w));return F("fastMode",G)(w)}var t;var ff=o(()=>{Pf();yf();a();Bf();If();cf();T();t=x(n(),1)});function S(m,f){if(zf(),Gf("userSettings",{fastMode:m?!0:void 0}),m)f((G)=>{let N=!j(G.mainLoopModel);return{...G,...N?{mainLoopModel:Hf(),mainLoopModelForSession:null}:{},fastMode:!0}});else f((G)=>({...G,fastMode:!1}))}function Df(m){let f=kf.c(30),{onDone:G,unavailableReason:N}=m,z=g(vf),V=g(Af),W=Zf(),[J,wf]=Kf.useState(V??!1),y;if(f[0]===Symbol.for("react.memo_cache_sentinel"))y=qf(),f[0]=y;else y=f[0];let B=y,$=B.status==="cooldown",Q=N!==null,P;if(f[1]===Symbol.for("react.memo_cache_sentinel"))P=p(M(!0)),f[1]=P;else P=f[1];let d=P,I;if(f[2]!==J||f[3]!==Q||f[4]!==z||f[5]!==G||f[6]!==W)I=function(){if(Q)return;if(S(J,W),D("tengu_fast_mode_toggled",{enabled:J,source:"picker"}),J){let v=U(J),rf=!j(z)?` · model set to ${_}`:"";G(`${v} Fast mode ON${rf} · ${d}`)}else W(uf),G("Fast mode OFF")},f[2]=J,f[3]=Q,f[4]=z,f[5]=G,f[6]=W,f[7]=I;else I=f[7];let u=I,c;if(f[8]!==V||f[9]!==Q||f[10]!==G||f[11]!==W)c=function(){if(Q){if(V)S(!1,W);G("Fast mode OFF",{display:"system"});return}let v=V?`${U()} Kept Fast mode ON`:"Kept Fast mode OFF";G(v,{display:"system"})},f[8]=V,f[9]=Q,f[10]=G,f[11]=W,f[12]=c;else c=f[12];let A=c,L;if(f[13]!==Q)L=function(){if(Q)return;wf(jf)},f[13]=Q,f[14]=L;else L=f[14];let Z=L,O;if(f[15]!==u||f[16]!==Z)O={"confirm:yes":u,"confirm:nextField":Z,"confirm:next":Z,"confirm:previous":Z,"confirm:cycleMode":Z,"confirm:toggle":Z},f[15]=u,f[16]=Z,f[17]=O;else O=f[17];let C;if(f[18]===Symbol.for("react.memo_cache_sentinel"))C={context:"Confirmation"},f[18]=C;else C=f[18];Wf(O,C);let h;if(f[19]===Symbol.for("react.memo_cache_sentinel"))h=X(q,{children:[H(e,{cooldown:$})," Fast mode (research preview)"]}),f[19]=h;else h=f[19];let Yf=h,k;if(f[20]!==Q)k=(Y)=>Y.pending?X(q,{children:["Press ",Y.keyName," again to exit"]}):Q?H(q,{children:"Esc to cancel"}):H(q,{children:"Tab to toggle · Enter to confirm · Esc to cancel"}),f[20]=Q,f[21]=k;else k=f[21];let K;if(f[22]!==J||f[23]!==N)K=N?H(r,{marginLeft:2,children:H(q,{color:"error",children:N})}):X(Qf,{children:[H(r,{flexDirection:"column",gap:0,marginLeft:2,children:X(r,{flexDirection:"row",gap:2,children:[H(q,{bold:!0,children:"Fast mode"}),H(q,{color:J?"fastMode":void 0,bold:J,children:J?"ON ":"OFF"}),H(q,{dimColor:!0,children:d})]})}),$&&B.status==="cooldown"&&H(r,{marginLeft:2,children:X(q,{color:"warning",children:[B.reason==="overloaded"?"Fast mode overloaded and is temporarily unavailable":"You've hit your fast limit"," · resets in ",mf(B.resetAt-Date.now(),{hideTrailingZeros:!0})]})})]}),f[22]=J,f[23]=N,f[24]=K;else K=f[24];let E;if(f[25]===Symbol.for("react.memo_cache_sentinel"))E=X(q,{dimColor:!0,children:["Learn more:"," ",H(Vf,{url:"https://code.claude.com/docs/en/fast-mode",children:"https://code.claude.com/docs/en/fast-mode"})]}),f[25]=E;else E=f[25];let R;if(f[26]!==A||f[27]!==K||f[28]!==k)R=X(Xf,{title:Yf,subtitle:`High-speed mode for ${_}. Billed as extra usage at a premium rate. Separate rate limits apply.`,onCancel:A,color:"fastMode",inputGuide:k,children:[K,E]}),f[26]=A,f[27]=K,f[28]=k,f[29]=R;else R=f[29];return R}function jf(m){return!m}function uf(m){return{...m,fastMode:!1}}function Af(m){return m.fastMode}function vf(m){return m.mainLoopModel}async function Ff(m,f,G){let N=b();if(N)return`Fast mode unavailable: ${N}`;let{mainLoopModel:z}=f();if(S(m,G),D("tengu_fast_mode_toggled",{enabled:m,source:"shortcut"}),m){let V=U(!0),W=!j(z)?` · model set to ${_}`:"",J=p(M(!0));return`${V} Fast mode ON${W} · ${J}`}else return"Fast mode OFF"}async function H0(m,f,G){if(!Nf())return null;await Jf();let N=G?.trim().toLowerCase();if(N==="on"||N==="off"){let V=await Ff(N==="on",f.getAppState,f.setAppState);return m(V),null}let z=b();return D("tengu_fast_mode_picker_shown",{unavailable_reason:z??""}),H(Df,{onDone:m,unavailableReason:z})}var kf,Kf;var xf=o(()=>{Uf();ff();a();Tf();Lf();_f();hf();Of();Ef();Cf();T();kf=x(n(),1),Kf=x(Rf(),1)});
2
+ export{U as mc,ff as nc,Df as oc,H0 as pc,xf as qc};
@@ -0,0 +1,3 @@
1
+ import{Sla as x,Ula as y,Yla as C}from"./cli-0.1.14-8fr10t94.mjs";import{$la as k}from"./cli-0.1.14-qn4ftczz.mjs";var MF=k((n)=>{var K=x(),b=C(),w=y(),f=(F)=>F[K.SMITHY_CONTEXT_KEY]||(F[K.SMITHY_CONTEXT_KEY]={}),h=(F,J)=>{if(!J||J.length===0)return F;let G=[];for(let L of J)for(let Q of F)if(Q.schemeId.split("#")[1]===L)G.push(Q);for(let L of F)if(!G.find(({schemeId:Q})=>Q===L.schemeId))G.push(L);return G};function v(F){let J=new Map;for(let G of F)J.set(G.schemeId,G);return J}var j=(F,J)=>(G,L)=>async(Q)=>{let V=F.httpAuthSchemeProvider(await J.httpAuthSchemeParametersProvider(F,L,Q.input)),W=F.authSchemePreference?await F.authSchemePreference():[],Z=h(V,W),Y=v(F.httpAuthSchemes),U=w.getSmithyContext(L),$=[];for(let X of Z){let B=Y.get(X.schemeId);if(!B){$.push(`HttpAuthScheme \`${X.schemeId}\` was not enabled for this service.`);continue}let D=B.identityProvider(await J.identityProviderConfigProvider(F));if(!D){$.push(`HttpAuthScheme \`${X.schemeId}\` did not have an IdentityProvider configured.`);continue}let{identityProperties:N={},signingProperties:R={}}=X.propertiesExtractor?.(F,L)||{};X.identityProperties=Object.assign(X.identityProperties||{},N),X.signingProperties=Object.assign(X.signingProperties||{},R),U.selectedHttpAuthScheme={httpAuthOption:X,identity:await D(X.identityProperties),signer:B.signer};break}if(!U.selectedHttpAuthScheme)throw Error($.join(`
2
+ `));return G(Q)},H={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"},P=(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G})=>({applyToStack:(L)=>{L.addRelativeTo(j(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G}),H)}}),M={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"serializerMiddleware"},l=(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G})=>({applyToStack:(L)=>{L.addRelativeTo(j(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G}),M)}}),m=(F)=>(J)=>{throw J},u=(F,J)=>{},O=(F)=>(J,G)=>async(L)=>{if(!b.HttpRequest.isInstance(L.request))return J(L);let V=w.getSmithyContext(G).selectedHttpAuthScheme;if(!V)throw Error("No HttpAuthScheme was selected: unable to sign request");let{httpAuthOption:{signingProperties:W={}},identity:Z,signer:Y}=V,U=await J({...L,request:await Y.sign(L.request,Z,W)}).catch((Y.errorHandler||m)(W));return(Y.successHandler||u)(U.response,W),U},I={step:"finalizeRequest",tags:["HTTP_SIGNING"],name:"httpSigningMiddleware",aliases:["apiKeyMiddleware","tokenMiddleware","awsAuthMiddleware"],override:!0,relation:"after",toMiddleware:"retryMiddleware"},c=(F)=>({applyToStack:(J)=>{J.addRelativeTo(O(),I)}}),a=(F)=>{if(typeof F==="function")return F;let J=Promise.resolve(F);return()=>J},d=async(F,J,G,L=(V)=>V,...Q)=>{let V=new F(G);return V=L(V)??V,await J.send(V,...Q)};function g(F,J,G,L,Q){return async function*(W,Z,...Y){let U=Z,$=W.startingToken??U[G],X=!0,B;while(X){if(U[G]=$,Q)U[Q]=U[Q]??W.pageSize;if(W.client instanceof F)B=await d(J,W.client,Z,W.withCommand,...Y);else throw Error(`Invalid client, expected instance of ${F.name}`);yield B;let D=$;$=p(B,L),X=!!($&&(!W.stopOnSameToken||$!==D))}return}}var p=(F,J)=>{let G=F,L=J.split(".");for(let Q of L){if(!G||typeof G!=="object")return;G=G[Q]}return G};function s(F,J,G){if(!F.__smithy_context)F.__smithy_context={features:{}};else if(!F.__smithy_context.features)F.__smithy_context.features={};F.__smithy_context.features[J]=G}class E{authSchemes=new Map;constructor(F){for(let J in F){let G=F[J];if(G!==void 0)this.authSchemes.set(J,G)}}getIdentityProvider(F){return this.authSchemes.get(F)}}class _{async sign(F,J,G){if(!G)throw Error("request could not be signed with `apiKey` since the `name` and `in` signer properties are missing");if(!G.name)throw Error("request could not be signed with `apiKey` since the `name` signer property is missing");if(!G.in)throw Error("request could not be signed with `apiKey` since the `in` signer property is missing");if(!J.apiKey)throw Error("request could not be signed with `apiKey` since the `apiKey` is not defined");let L=b.HttpRequest.clone(F);if(G.in===K.HttpApiKeyAuthLocation.QUERY)L.query[G.name]=J.apiKey;else if(G.in===K.HttpApiKeyAuthLocation.HEADER)L.headers[G.name]=G.scheme?`${G.scheme} ${J.apiKey}`:J.apiKey;else throw Error("request can only be signed with `apiKey` locations `query` or `header`, but found: `"+G.in+"`");return L}}class z{async sign(F,J,G){let L=b.HttpRequest.clone(F);if(!J.token)throw Error("request could not be signed with `token` since the `token` is not defined");return L.headers.Authorization=`Bearer ${J.token}`,L}}class A{async sign(F,J,G){return F}}var q=(F)=>function(G){return S(G)&&G.expiration.getTime()-Date.now()<F},T=300000,r=q(T),S=(F)=>F.expiration!==void 0,o=(F,J,G)=>{if(F===void 0)return;let L=typeof F!=="function"?async()=>Promise.resolve(F):F,Q,V,W,Z=!1,Y=async(U)=>{if(!V)V=L(U);try{Q=await V,W=!0,Z=!1}finally{V=void 0}return Q};if(J===void 0)return async(U)=>{if(!W||U?.forceRefresh)Q=await Y(U);return Q};return async(U)=>{if(!W||U?.forceRefresh)Q=await Y(U);if(Z)return Q;if(!G(Q))return Z=!0,Q;if(J(Q))return await Y(U),Q;return Q}};n.requestBuilder=b.requestBuilder;n.DefaultIdentityProviderConfig=E;n.EXPIRATION_MS=T;n.HttpApiKeyAuthSigner=_;n.HttpBearerAuthSigner=z;n.NoAuthSigner=A;n.createIsIdentityExpiredFunction=q;n.createPaginator=g;n.doesIdentityRequireRefresh=S;n.getHttpAuthSchemeEndpointRuleSetPlugin=P;n.getHttpAuthSchemePlugin=l;n.getHttpSigningPlugin=c;n.getSmithyContext=f;n.httpAuthSchemeEndpointRuleSetMiddlewareOptions=H;n.httpAuthSchemeMiddleware=j;n.httpAuthSchemeMiddlewareOptions=M;n.httpSigningMiddleware=O;n.httpSigningMiddlewareOptions=I;n.isIdentityExpired=r;n.memoizeIdentityProvider=o;n.normalizeProvider=a;n.setFeature=s});
3
+ export{MF as y4};
@@ -0,0 +1,6 @@
1
+ import{ama as C3,bma as z}from"./cli-0.1.14-qn4ftczz.mjs";var O,u_,B,h=(_)=>{switch(typeof _){case"undefined":return B.undefined;case"string":return B.string;case"number":return Number.isNaN(_)?B.nan:B.number;case"boolean":return B.boolean;case"function":return B.function;case"bigint":return B.bigint;case"symbol":return B.symbol;case"object":if(Array.isArray(_))return B.array;if(_===null)return B.null;if(_.then&&typeof _.then==="function"&&_.catch&&typeof _.catch==="function")return B.promise;if(typeof Map<"u"&&_ instanceof Map)return B.map;if(typeof Set<"u"&&_ instanceof Set)return B.set;if(typeof Date<"u"&&_ instanceof Date)return B.date;return B.object;default:return B.unknown}};var S_=z(()=>{(function(_){_.assertEqual=(W)=>{};function $(W){}_.assertIs=$;function q(W){throw Error()}_.assertNever=q,_.arrayToEnum=(W)=>{let X={};for(let H of W)X[H]=H;return X},_.getValidEnumValues=(W)=>{let X=_.objectKeys(W).filter((Y)=>typeof W[W[Y]]!=="number"),H={};for(let Y of X)H[Y]=W[Y];return _.objectValues(H)},_.objectValues=(W)=>{return _.objectKeys(W).map(function(X){return W[X]})},_.objectKeys=typeof Object.keys==="function"?(W)=>Object.keys(W):(W)=>{let X=[];for(let H in W)if(Object.prototype.hasOwnProperty.call(W,H))X.push(H);return X},_.find=(W,X)=>{for(let H of W)if(X(H))return H;return},_.isInteger=typeof Number.isInteger==="function"?(W)=>Number.isInteger(W):(W)=>typeof W==="number"&&Number.isFinite(W)&&Math.floor(W)===W;function J(W,X=" | "){return W.map((H)=>typeof H==="string"?`'${H}'`:H).join(X)}_.joinValues=J,_.jsonStringifyReplacer=(W,X)=>{if(typeof X==="bigint")return X.toString();return X}})(O||(O={}));(function(_){_.mergeShapes=($,q)=>{return{...$,...q}}})(u_||(u_={}));B=O.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"])});var G,Nq=(_)=>{return JSON.stringify(_,null,2).replace(/"([^"]+)":/g,"$1:")},f;var R_=z(()=>{S_();G=O.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);f=class f extends Error{get errors(){return this.issues}constructor(_){super();this.issues=[],this.addIssue=(q)=>{this.issues=[...this.issues,q]},this.addIssues=(q=[])=>{this.issues=[...this.issues,...q]};let $=new.target.prototype;if(Object.setPrototypeOf)Object.setPrototypeOf(this,$);else this.__proto__=$;this.name="ZodError",this.issues=_}format(_){let $=_||function(W){return W.message},q={_errors:[]},J=(W)=>{for(let X of W.issues)if(X.code==="invalid_union")X.unionErrors.map(J);else if(X.code==="invalid_return_type")J(X.returnTypeError);else if(X.code==="invalid_arguments")J(X.argumentsError);else if(X.path.length===0)q._errors.push($(X));else{let H=q,Y=0;while(Y<X.path.length){let Q=X.path[Y];if(Y!==X.path.length-1)H[Q]=H[Q]||{_errors:[]};else H[Q]=H[Q]||{_errors:[]},H[Q]._errors.push($(X));H=H[Q],Y++}}};return J(this),q}static assert(_){if(!(_ instanceof f))throw Error(`Not a ZodError: ${_}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,O.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(_=($)=>$.message){let $={},q=[];for(let J of this.issues)if(J.path.length>0){let W=J.path[0];$[W]=$[W]||[],$[W].push(_(J))}else q.push(_(J));return{formErrors:q,fieldErrors:$}}get formErrors(){return this.flatten()}};f.create=(_)=>{return new f(_)}});var F$,K$,f$=(_)=>typeof _==="string"?{...K$,name:_}:{...K$,..._};var L_=z(()=>{F$=Symbol("Let zodToJsonSchema decide on which parser to use"),K$={name:void 0,$refStrategy:"root",basePath:["#"],effectStrategy:"input",pipeStrategy:"all",dateStrategy:"format:date-time",mapStrategy:"entries",removeAdditionalStrategy:"passthrough",allowedAdditionalProperties:!0,rejectedAdditionalProperties:!1,definitionPath:"definitions",target:"jsonSchema7",strictUnions:!1,definitions:{},errorMessages:!1,markdownDescription:!1,patternStrategy:"escape",applyRegexFlags:!1,emailStrategy:"format:email",base64Strategy:"contentEncoding:base64",nameStrategy:"ref",openAiAnyTypeName:"OpenAiAnyType"}});var Eq=(_,$)=>{let q;switch(_.code){case G.invalid_type:if(_.received===B.undefined)q="Required";else q=`Expected ${_.expected}, received ${_.received}`;break;case G.invalid_literal:q=`Invalid literal value, expected ${JSON.stringify(_.expected,O.jsonStringifyReplacer)}`;break;case G.unrecognized_keys:q=`Unrecognized key(s) in object: ${O.joinValues(_.keys,", ")}`;break;case G.invalid_union:q="Invalid input";break;case G.invalid_union_discriminator:q=`Invalid discriminator value. Expected ${O.joinValues(_.options)}`;break;case G.invalid_enum_value:q=`Invalid enum value. Expected ${O.joinValues(_.options)}, received '${_.received}'`;break;case G.invalid_arguments:q="Invalid function arguments";break;case G.invalid_return_type:q="Invalid function return type";break;case G.invalid_date:q="Invalid date";break;case G.invalid_string:if(typeof _.validation==="object")if("includes"in _.validation){if(q=`Invalid input: must include "${_.validation.includes}"`,typeof _.validation.position==="number")q=`${q} at one or more positions greater than or equal to ${_.validation.position}`}else if("startsWith"in _.validation)q=`Invalid input: must start with "${_.validation.startsWith}"`;else if("endsWith"in _.validation)q=`Invalid input: must end with "${_.validation.endsWith}"`;else O.assertNever(_.validation);else if(_.validation!=="regex")q=`Invalid ${_.validation}`;else q="Invalid";break;case G.too_small:if(_.type==="array")q=`Array must contain ${_.exact?"exactly":_.inclusive?"at least":"more than"} ${_.minimum} element(s)`;else if(_.type==="string")q=`String must contain ${_.exact?"exactly":_.inclusive?"at least":"over"} ${_.minimum} character(s)`;else if(_.type==="number")q=`Number must be ${_.exact?"exactly equal to ":_.inclusive?"greater than or equal to ":"greater than "}${_.minimum}`;else if(_.type==="bigint")q=`Number must be ${_.exact?"exactly equal to ":_.inclusive?"greater than or equal to ":"greater than "}${_.minimum}`;else if(_.type==="date")q=`Date must be ${_.exact?"exactly equal to ":_.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(_.minimum))}`;else q="Invalid input";break;case G.too_big:if(_.type==="array")q=`Array must contain ${_.exact?"exactly":_.inclusive?"at most":"less than"} ${_.maximum} element(s)`;else if(_.type==="string")q=`String must contain ${_.exact?"exactly":_.inclusive?"at most":"under"} ${_.maximum} character(s)`;else if(_.type==="number")q=`Number must be ${_.exact?"exactly":_.inclusive?"less than or equal to":"less than"} ${_.maximum}`;else if(_.type==="bigint")q=`BigInt must be ${_.exact?"exactly":_.inclusive?"less than or equal to":"less than"} ${_.maximum}`;else if(_.type==="date")q=`Date must be ${_.exact?"exactly":_.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(_.maximum))}`;else q="Invalid input";break;case G.custom:q="Invalid input";break;case G.invalid_intersection_types:q="Intersection results could not be merged";break;case G.not_multiple_of:q=`Number must be a multiple of ${_.multipleOf}`;break;case G.not_finite:q="Number must be finite";break;default:q=$.defaultError,O.assertNever(_)}return{message:q}},n;var p_=z(()=>{R_();S_();n=Eq});function Uq(_){g$=_}function $_(){return g$}var g$;var K_=z(()=>{p_();g$=n});function D(_,$){let q=$_(),J=v_({issueData:$,data:_.data,path:_.path,errorMaps:[_.common.contextualErrorMap,_.schemaErrorMap,q,q===n?void 0:n].filter((W)=>!!W)});_.common.issues.push(J)}class L{constructor(){this.value="valid"}dirty(){if(this.value==="valid")this.value="dirty"}abort(){if(this.value!=="aborted")this.value="aborted"}static mergeArray(_,$){let q=[];for(let J of $){if(J.status==="aborted")return b;if(J.status==="dirty")_.dirty();q.push(J.value)}return{status:_.value,value:q}}static async mergeObjectAsync(_,$){let q=[];for(let J of $){let W=await J.key,X=await J.value;q.push({key:W,value:X})}return L.mergeObjectSync(_,q)}static mergeObjectSync(_,$){let q={};for(let J of $){let{key:W,value:X}=J;if(W.status==="aborted")return b;if(X.status==="aborted")return b;if(W.status==="dirty")_.dirty();if(X.status==="dirty")_.dirty();if(W.value!=="__proto__"&&(typeof X.value<"u"||J.alwaysSet))q[W.value]=X.value}return{status:_.value,value:q}}}var v_=(_)=>{let{data:$,path:q,errorMaps:J,issueData:W}=_,X=[...q,...W.path||[]],H={...W,path:X};if(W.message!==void 0)return{...W,path:X,message:W.message};let Y="",Q=J.filter((v)=>!!v).slice().reverse();for(let v of Q)Y=v(H,{data:$,defaultError:Y}).message;return{...W,path:X,message:Y}},Vq,b,t=(_)=>({status:"dirty",value:_}),K=(_)=>({status:"valid",value:_}),F_=(_)=>_.status==="aborted",f_=(_)=>_.status==="dirty",p=(_)=>_.status==="valid",q_=(_)=>typeof Promise<"u"&&_ instanceof Promise;var i_=z(()=>{K_();p_();Vq=[];b=Object.freeze({status:"aborted"})});var C$=()=>{};var w;var k$=z(()=>{(function(_){_.errToObj=($)=>typeof $==="string"?{message:$}:$||{},_.toString=($)=>typeof $==="string"?$:$?.message})(w||(w={}))});class P{constructor(_,$,q,J){this._cachedPath=[],this.parent=_,this.data=$,this._path=q,this._key=J}get path(){if(!this._cachedPath.length)if(Array.isArray(this._key))this._cachedPath.push(...this._path,...this._key);else this._cachedPath.push(...this._path,this._key);return this._cachedPath}}function j(_){if(!_)return{};let{errorMap:$,invalid_type_error:q,required_error:J,description:W}=_;if($&&(q||J))throw Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);if($)return{errorMap:$,description:W};return{errorMap:(H,Y)=>{let{message:Q}=_;if(H.code==="invalid_enum_value")return{message:Q??Y.defaultError};if(typeof Y.data>"u")return{message:Q??J??Y.defaultError};if(H.code!=="invalid_type")return{message:Y.defaultError};return{message:Q??q??Y.defaultError}},description:W}}class A{get description(){return this._def.description}_getType(_){return h(_.data)}_getOrReturnCtx(_,$){return $||{common:_.parent.common,data:_.data,parsedType:h(_.data),schemaErrorMap:this._def.errorMap,path:_.path,parent:_.parent}}_processInputParams(_){return{status:new L,ctx:{common:_.parent.common,data:_.data,parsedType:h(_.data),schemaErrorMap:this._def.errorMap,path:_.path,parent:_.parent}}}_parseSync(_){let $=this._parse(_);if(q_($))throw Error("Synchronous parse encountered promise.");return $}_parseAsync(_){let $=this._parse(_);return Promise.resolve($)}parse(_,$){let q=this.safeParse(_,$);if(q.success)return q.data;throw q.error}safeParse(_,$){let q={common:{issues:[],async:$?.async??!1,contextualErrorMap:$?.errorMap},path:$?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:_,parsedType:h(_)},J=this._parseSync({data:_,path:q.path,parent:q});return I$(q,J)}"~validate"(_){let $={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:_,parsedType:h(_)};if(!this["~standard"].async)try{let q=this._parseSync({data:_,path:[],parent:$});return p(q)?{value:q.value}:{issues:$.common.issues}}catch(q){if(q?.message?.toLowerCase()?.includes("encountered"))this["~standard"].async=!0;$.common={issues:[],async:!0}}return this._parseAsync({data:_,path:[],parent:$}).then((q)=>p(q)?{value:q.value}:{issues:$.common.issues})}async parseAsync(_,$){let q=await this.safeParseAsync(_,$);if(q.success)return q.data;throw q.error}async safeParseAsync(_,$){let q={common:{issues:[],contextualErrorMap:$?.errorMap,async:!0},path:$?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:_,parsedType:h(_)},J=this._parse({data:_,path:q.path,parent:q}),W=await(q_(J)?J:Promise.resolve(J));return I$(q,W)}refine(_,$){let q=(J)=>{if(typeof $==="string"||typeof $>"u")return{message:$};else if(typeof $==="function")return $(J);else return $};return this._refinement((J,W)=>{let X=_(J),H=()=>W.addIssue({code:G.custom,...q(J)});if(typeof Promise<"u"&&X instanceof Promise)return X.then((Y)=>{if(!Y)return H(),!1;else return!0});if(!X)return H(),!1;else return!0})}refinement(_,$){return this._refinement((q,J)=>{if(!_(q))return J.addIssue(typeof $==="function"?$(q,J):$),!1;else return!0})}_refinement(_){return new m({schema:this,typeName:M.ZodEffects,effect:{type:"refinement",refinement:_}})}superRefine(_){return this._refinement(_)}constructor(_){this.spa=this.safeParseAsync,this._def=_,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:($)=>this["~validate"]($)}}optional(){return I.create(this,this._def)}nullable(){return u.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return k.create(this)}promise(){return __.create(this,this._def)}or(_){return Y_.create([this,_],this._def)}and(_){return G_.create(this,_,this._def)}transform(_){return new m({...j(this._def),schema:this,typeName:M.ZodEffects,effect:{type:"transform",transform:_}})}default(_){let $=typeof _==="function"?_:()=>_;return new w_({...j(this._def),innerType:this,defaultValue:$,typeName:M.ZodDefault})}brand(){return new C_({typeName:M.ZodBranded,type:this,...j(this._def)})}catch(_){let $=typeof _==="function"?_:()=>_;return new b_({...j(this._def),innerType:this,catchValue:$,typeName:M.ZodCatch})}describe(_){return new this.constructor({...this._def,description:_})}pipe(_){return U_.create(this,_)}readonly(){return z_.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}function l$(_){let $="[0-5]\\d";if(_.precision)$=`${$}\\.\\d{${_.precision}}`;else if(_.precision==null)$=`${$}(\\.\\d+)?`;let q=_.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${$})${q}`}function nq(_){return new RegExp(`^${l$(_)}$`)}function T$(_){let $=`${m$}T${l$(_)}`,q=[];if(q.push(_.local?"Z?":"Z"),_.offset)q.push("([+-]\\d{2}:?\\d{2})");return $=`${$}(${q.join("|")})`,new RegExp(`^${$}$`)}function Zq(_,$){if(($==="v4"||!$)&&Pq.test(_))return!0;if(($==="v6"||!$)&&lq.test(_))return!0;return!1}function uq(_,$){if(!gq.test(_))return!1;try{let[q]=_.split(".");if(!q)return!1;let J=q.replace(/-/g,"+").replace(/_/g,"/").padEnd(q.length+(4-q.length%4)%4,"="),W=JSON.parse(atob(J));if(typeof W!=="object"||W===null)return!1;if("typ"in W&&W?.typ!=="JWT")return!1;if(!W.alg)return!1;if($&&W.alg!==$)return!1;return!0}catch{return!1}}function pq(_,$){if(($==="v4"||!$)&&mq.test(_))return!0;if(($==="v6"||!$)&&Tq.test(_))return!0;return!1}function iq(_,$){let q=(_.toString().split(".")[1]||"").length,J=($.toString().split(".")[1]||"").length,W=q>J?q:J,X=Number.parseInt(_.toFixed(W).replace(".","")),H=Number.parseInt($.toFixed(W).replace(".",""));return X%H/10**W}function J_(_){if(_ instanceof U){let $={};for(let q in _.shape){let J=_.shape[q];$[q]=I.create(J_(J))}return new U({..._._def,shape:()=>$})}else if(_ instanceof k)return new k({..._._def,type:J_(_.element)});else if(_ instanceof I)return I.create(J_(_.unwrap()));else if(_ instanceof u)return u.create(J_(_.unwrap()));else if(_ instanceof x)return x.create(_.items.map(($)=>J_($)));else return _}function o_(_,$){let q=h(_),J=h($);if(_===$)return{valid:!0,data:_};else if(q===B.object&&J===B.object){let W=O.objectKeys($),X=O.objectKeys(_).filter((Y)=>W.indexOf(Y)!==-1),H={..._,...$};for(let Y of X){let Q=o_(_[Y],$[Y]);if(!Q.valid)return{valid:!1};H[Y]=Q.data}return{valid:!0,data:H}}else if(q===B.array&&J===B.array){if(_.length!==$.length)return{valid:!1};let W=[];for(let X=0;X<_.length;X++){let H=_[X],Y=$[X],Q=o_(H,Y);if(!Q.valid)return{valid:!1};W.push(Q.data)}return{valid:!0,data:W}}else if(q===B.date&&J===B.date&&+_===+$)return{valid:!0,data:_};else return{valid:!1}}function h$(_,$){return new c({values:_,typeName:M.ZodEnum,...j($)})}function P$(_,$){let q=typeof _==="function"?_($):typeof _==="string"?{message:_}:_;return typeof q==="string"?{message:q}:q}function y$(_,$={},q){if(_)return s.create().superRefine((J,W)=>{let X=_(J);if(X instanceof Promise)return X.then((H)=>{if(!H){let Y=P$($,J),Q=Y.fatal??q??!0;W.addIssue({code:"custom",...Y,fatal:Q})}});if(!X){let H=P$($,J),Y=H.fatal??q??!0;W.addIssue({code:"custom",...H,fatal:Y})}return});return s.create()}var I$=(_,$)=>{if(p($))return{success:!0,data:$.value};else{if(!_.common.issues.length)throw Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let q=new f(_.common.issues);return this._error=q,this._error}}}},Rq,Lq,Kq,Fq,fq,gq,Cq,kq,Iq="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$",r_,Pq,mq,lq,Tq,hq,yq,m$="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",xq,C,r,o,X_,a,j_,H_,Q_,s,i,y,A_,k,U,Y_,Z=(_)=>{if(_ instanceof M_)return Z(_.schema);else if(_ instanceof m)return Z(_.innerType());else if(_ instanceof B_)return[_.value];else if(_ instanceof c)return _.options;else if(_ instanceof D_)return O.objectValues(_.enum);else if(_ instanceof w_)return Z(_._def.innerType);else if(_ instanceof H_)return[void 0];else if(_ instanceof Q_)return[null];else if(_ instanceof I)return[void 0,...Z(_.unwrap())];else if(_ instanceof u)return[null,...Z(_.unwrap())];else if(_ instanceof C_)return Z(_.unwrap());else if(_ instanceof z_)return Z(_.unwrap());else if(_ instanceof b_)return Z(_._def.innerType);else return[]},g_,G_,x,O_,N_,e,W_,M_,B_,c,D_,__,m,I,u,w_,b_,E_,rq,C_,U_,z_,oq,M,cq=(_,$={message:`Input not instance of ${_.name}`})=>y$((q)=>q instanceof _,$),x$,n$,dq,tq,Z$,aq,sq,eq,_3,$3,q3,J3,W3,X3,H3,Q3,Y3,G3,M3,B3,D3,w3,b3,z3,S3,v3,j3,A3,O3,N3,E3,U3,V3,R3,L3=()=>x$().optional(),K3=()=>n$().optional(),F3=()=>Z$().optional(),f3,g3;var u$=z(()=>{R_();K_();k$();i_();S_();Rq=/^c[^\s-]{8,}$/i,Lq=/^[0-9a-z]+$/,Kq=/^[0-9A-HJKMNP-TV-Z]{26}$/i,Fq=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,fq=/^[a-z0-9_-]{21}$/i,gq=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,Cq=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,kq=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,Pq=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,mq=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,lq=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,Tq=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,hq=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,yq=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,xq=new RegExp(`^${m$}$`);C=class C extends A{_parse(_){if(this._def.coerce)_.data=String(_.data);if(this._getType(_)!==B.string){let W=this._getOrReturnCtx(_);return D(W,{code:G.invalid_type,expected:B.string,received:W.parsedType}),b}let q=new L,J=void 0;for(let W of this._def.checks)if(W.kind==="min"){if(_.data.length<W.value)J=this._getOrReturnCtx(_,J),D(J,{code:G.too_small,minimum:W.value,type:"string",inclusive:!0,exact:!1,message:W.message}),q.dirty()}else if(W.kind==="max"){if(_.data.length>W.value)J=this._getOrReturnCtx(_,J),D(J,{code:G.too_big,maximum:W.value,type:"string",inclusive:!0,exact:!1,message:W.message}),q.dirty()}else if(W.kind==="length"){let X=_.data.length>W.value,H=_.data.length<W.value;if(X||H){if(J=this._getOrReturnCtx(_,J),X)D(J,{code:G.too_big,maximum:W.value,type:"string",inclusive:!0,exact:!0,message:W.message});else if(H)D(J,{code:G.too_small,minimum:W.value,type:"string",inclusive:!0,exact:!0,message:W.message});q.dirty()}}else if(W.kind==="email"){if(!kq.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"email",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="emoji"){if(!r_)r_=new RegExp(Iq,"u");if(!r_.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"emoji",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="uuid"){if(!Fq.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"uuid",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="nanoid"){if(!fq.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"nanoid",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="cuid"){if(!Rq.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"cuid",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="cuid2"){if(!Lq.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"cuid2",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="ulid"){if(!Kq.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"ulid",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="url")try{new URL(_.data)}catch{J=this._getOrReturnCtx(_,J),D(J,{validation:"url",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="regex"){if(W.regex.lastIndex=0,!W.regex.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"regex",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="trim")_.data=_.data.trim();else if(W.kind==="includes"){if(!_.data.includes(W.value,W.position))J=this._getOrReturnCtx(_,J),D(J,{code:G.invalid_string,validation:{includes:W.value,position:W.position},message:W.message}),q.dirty()}else if(W.kind==="toLowerCase")_.data=_.data.toLowerCase();else if(W.kind==="toUpperCase")_.data=_.data.toUpperCase();else if(W.kind==="startsWith"){if(!_.data.startsWith(W.value))J=this._getOrReturnCtx(_,J),D(J,{code:G.invalid_string,validation:{startsWith:W.value},message:W.message}),q.dirty()}else if(W.kind==="endsWith"){if(!_.data.endsWith(W.value))J=this._getOrReturnCtx(_,J),D(J,{code:G.invalid_string,validation:{endsWith:W.value},message:W.message}),q.dirty()}else if(W.kind==="datetime"){if(!T$(W).test(_.data))J=this._getOrReturnCtx(_,J),D(J,{code:G.invalid_string,validation:"datetime",message:W.message}),q.dirty()}else if(W.kind==="date"){if(!xq.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{code:G.invalid_string,validation:"date",message:W.message}),q.dirty()}else if(W.kind==="time"){if(!nq(W).test(_.data))J=this._getOrReturnCtx(_,J),D(J,{code:G.invalid_string,validation:"time",message:W.message}),q.dirty()}else if(W.kind==="duration"){if(!Cq.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"duration",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="ip"){if(!Zq(_.data,W.version))J=this._getOrReturnCtx(_,J),D(J,{validation:"ip",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="jwt"){if(!uq(_.data,W.alg))J=this._getOrReturnCtx(_,J),D(J,{validation:"jwt",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="cidr"){if(!pq(_.data,W.version))J=this._getOrReturnCtx(_,J),D(J,{validation:"cidr",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="base64"){if(!hq.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"base64",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="base64url"){if(!yq.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"base64url",code:G.invalid_string,message:W.message}),q.dirty()}else O.assertNever(W);return{status:q.value,value:_.data}}_regex(_,$,q){return this.refinement((J)=>_.test(J),{validation:$,code:G.invalid_string,...w.errToObj(q)})}_addCheck(_){return new C({...this._def,checks:[...this._def.checks,_]})}email(_){return this._addCheck({kind:"email",...w.errToObj(_)})}url(_){return this._addCheck({kind:"url",...w.errToObj(_)})}emoji(_){return this._addCheck({kind:"emoji",...w.errToObj(_)})}uuid(_){return this._addCheck({kind:"uuid",...w.errToObj(_)})}nanoid(_){return this._addCheck({kind:"nanoid",...w.errToObj(_)})}cuid(_){return this._addCheck({kind:"cuid",...w.errToObj(_)})}cuid2(_){return this._addCheck({kind:"cuid2",...w.errToObj(_)})}ulid(_){return this._addCheck({kind:"ulid",...w.errToObj(_)})}base64(_){return this._addCheck({kind:"base64",...w.errToObj(_)})}base64url(_){return this._addCheck({kind:"base64url",...w.errToObj(_)})}jwt(_){return this._addCheck({kind:"jwt",...w.errToObj(_)})}ip(_){return this._addCheck({kind:"ip",...w.errToObj(_)})}cidr(_){return this._addCheck({kind:"cidr",...w.errToObj(_)})}datetime(_){if(typeof _==="string")return this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:_});return this._addCheck({kind:"datetime",precision:typeof _?.precision>"u"?null:_?.precision,offset:_?.offset??!1,local:_?.local??!1,...w.errToObj(_?.message)})}date(_){return this._addCheck({kind:"date",message:_})}time(_){if(typeof _==="string")return this._addCheck({kind:"time",precision:null,message:_});return this._addCheck({kind:"time",precision:typeof _?.precision>"u"?null:_?.precision,...w.errToObj(_?.message)})}duration(_){return this._addCheck({kind:"duration",...w.errToObj(_)})}regex(_,$){return this._addCheck({kind:"regex",regex:_,...w.errToObj($)})}includes(_,$){return this._addCheck({kind:"includes",value:_,position:$?.position,...w.errToObj($?.message)})}startsWith(_,$){return this._addCheck({kind:"startsWith",value:_,...w.errToObj($)})}endsWith(_,$){return this._addCheck({kind:"endsWith",value:_,...w.errToObj($)})}min(_,$){return this._addCheck({kind:"min",value:_,...w.errToObj($)})}max(_,$){return this._addCheck({kind:"max",value:_,...w.errToObj($)})}length(_,$){return this._addCheck({kind:"length",value:_,...w.errToObj($)})}nonempty(_){return this.min(1,w.errToObj(_))}trim(){return new C({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new C({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new C({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find((_)=>_.kind==="datetime")}get isDate(){return!!this._def.checks.find((_)=>_.kind==="date")}get isTime(){return!!this._def.checks.find((_)=>_.kind==="time")}get isDuration(){return!!this._def.checks.find((_)=>_.kind==="duration")}get isEmail(){return!!this._def.checks.find((_)=>_.kind==="email")}get isURL(){return!!this._def.checks.find((_)=>_.kind==="url")}get isEmoji(){return!!this._def.checks.find((_)=>_.kind==="emoji")}get isUUID(){return!!this._def.checks.find((_)=>_.kind==="uuid")}get isNANOID(){return!!this._def.checks.find((_)=>_.kind==="nanoid")}get isCUID(){return!!this._def.checks.find((_)=>_.kind==="cuid")}get isCUID2(){return!!this._def.checks.find((_)=>_.kind==="cuid2")}get isULID(){return!!this._def.checks.find((_)=>_.kind==="ulid")}get isIP(){return!!this._def.checks.find((_)=>_.kind==="ip")}get isCIDR(){return!!this._def.checks.find((_)=>_.kind==="cidr")}get isBase64(){return!!this._def.checks.find((_)=>_.kind==="base64")}get isBase64url(){return!!this._def.checks.find((_)=>_.kind==="base64url")}get minLength(){let _=null;for(let $ of this._def.checks)if($.kind==="min"){if(_===null||$.value>_)_=$.value}return _}get maxLength(){let _=null;for(let $ of this._def.checks)if($.kind==="max"){if(_===null||$.value<_)_=$.value}return _}};C.create=(_)=>{return new C({checks:[],typeName:M.ZodString,coerce:_?.coerce??!1,...j(_)})};r=class r extends A{constructor(){super(...arguments);this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(_){if(this._def.coerce)_.data=Number(_.data);if(this._getType(_)!==B.number){let W=this._getOrReturnCtx(_);return D(W,{code:G.invalid_type,expected:B.number,received:W.parsedType}),b}let q=void 0,J=new L;for(let W of this._def.checks)if(W.kind==="int"){if(!O.isInteger(_.data))q=this._getOrReturnCtx(_,q),D(q,{code:G.invalid_type,expected:"integer",received:"float",message:W.message}),J.dirty()}else if(W.kind==="min"){if(W.inclusive?_.data<W.value:_.data<=W.value)q=this._getOrReturnCtx(_,q),D(q,{code:G.too_small,minimum:W.value,type:"number",inclusive:W.inclusive,exact:!1,message:W.message}),J.dirty()}else if(W.kind==="max"){if(W.inclusive?_.data>W.value:_.data>=W.value)q=this._getOrReturnCtx(_,q),D(q,{code:G.too_big,maximum:W.value,type:"number",inclusive:W.inclusive,exact:!1,message:W.message}),J.dirty()}else if(W.kind==="multipleOf"){if(iq(_.data,W.value)!==0)q=this._getOrReturnCtx(_,q),D(q,{code:G.not_multiple_of,multipleOf:W.value,message:W.message}),J.dirty()}else if(W.kind==="finite"){if(!Number.isFinite(_.data))q=this._getOrReturnCtx(_,q),D(q,{code:G.not_finite,message:W.message}),J.dirty()}else O.assertNever(W);return{status:J.value,value:_.data}}gte(_,$){return this.setLimit("min",_,!0,w.toString($))}gt(_,$){return this.setLimit("min",_,!1,w.toString($))}lte(_,$){return this.setLimit("max",_,!0,w.toString($))}lt(_,$){return this.setLimit("max",_,!1,w.toString($))}setLimit(_,$,q,J){return new r({...this._def,checks:[...this._def.checks,{kind:_,value:$,inclusive:q,message:w.toString(J)}]})}_addCheck(_){return new r({...this._def,checks:[...this._def.checks,_]})}int(_){return this._addCheck({kind:"int",message:w.toString(_)})}positive(_){return this._addCheck({kind:"min",value:0,inclusive:!1,message:w.toString(_)})}negative(_){return this._addCheck({kind:"max",value:0,inclusive:!1,message:w.toString(_)})}nonpositive(_){return this._addCheck({kind:"max",value:0,inclusive:!0,message:w.toString(_)})}nonnegative(_){return this._addCheck({kind:"min",value:0,inclusive:!0,message:w.toString(_)})}multipleOf(_,$){return this._addCheck({kind:"multipleOf",value:_,message:w.toString($)})}finite(_){return this._addCheck({kind:"finite",message:w.toString(_)})}safe(_){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:w.toString(_)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:w.toString(_)})}get minValue(){let _=null;for(let $ of this._def.checks)if($.kind==="min"){if(_===null||$.value>_)_=$.value}return _}get maxValue(){let _=null;for(let $ of this._def.checks)if($.kind==="max"){if(_===null||$.value<_)_=$.value}return _}get isInt(){return!!this._def.checks.find((_)=>_.kind==="int"||_.kind==="multipleOf"&&O.isInteger(_.value))}get isFinite(){let _=null,$=null;for(let q of this._def.checks)if(q.kind==="finite"||q.kind==="int"||q.kind==="multipleOf")return!0;else if(q.kind==="min"){if($===null||q.value>$)$=q.value}else if(q.kind==="max"){if(_===null||q.value<_)_=q.value}return Number.isFinite($)&&Number.isFinite(_)}};r.create=(_)=>{return new r({checks:[],typeName:M.ZodNumber,coerce:_?.coerce||!1,...j(_)})};o=class o extends A{constructor(){super(...arguments);this.min=this.gte,this.max=this.lte}_parse(_){if(this._def.coerce)try{_.data=BigInt(_.data)}catch{return this._getInvalidInput(_)}if(this._getType(_)!==B.bigint)return this._getInvalidInput(_);let q=void 0,J=new L;for(let W of this._def.checks)if(W.kind==="min"){if(W.inclusive?_.data<W.value:_.data<=W.value)q=this._getOrReturnCtx(_,q),D(q,{code:G.too_small,type:"bigint",minimum:W.value,inclusive:W.inclusive,message:W.message}),J.dirty()}else if(W.kind==="max"){if(W.inclusive?_.data>W.value:_.data>=W.value)q=this._getOrReturnCtx(_,q),D(q,{code:G.too_big,type:"bigint",maximum:W.value,inclusive:W.inclusive,message:W.message}),J.dirty()}else if(W.kind==="multipleOf"){if(_.data%W.value!==BigInt(0))q=this._getOrReturnCtx(_,q),D(q,{code:G.not_multiple_of,multipleOf:W.value,message:W.message}),J.dirty()}else O.assertNever(W);return{status:J.value,value:_.data}}_getInvalidInput(_){let $=this._getOrReturnCtx(_);return D($,{code:G.invalid_type,expected:B.bigint,received:$.parsedType}),b}gte(_,$){return this.setLimit("min",_,!0,w.toString($))}gt(_,$){return this.setLimit("min",_,!1,w.toString($))}lte(_,$){return this.setLimit("max",_,!0,w.toString($))}lt(_,$){return this.setLimit("max",_,!1,w.toString($))}setLimit(_,$,q,J){return new o({...this._def,checks:[...this._def.checks,{kind:_,value:$,inclusive:q,message:w.toString(J)}]})}_addCheck(_){return new o({...this._def,checks:[...this._def.checks,_]})}positive(_){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:w.toString(_)})}negative(_){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:w.toString(_)})}nonpositive(_){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:w.toString(_)})}nonnegative(_){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:w.toString(_)})}multipleOf(_,$){return this._addCheck({kind:"multipleOf",value:_,message:w.toString($)})}get minValue(){let _=null;for(let $ of this._def.checks)if($.kind==="min"){if(_===null||$.value>_)_=$.value}return _}get maxValue(){let _=null;for(let $ of this._def.checks)if($.kind==="max"){if(_===null||$.value<_)_=$.value}return _}};o.create=(_)=>{return new o({checks:[],typeName:M.ZodBigInt,coerce:_?.coerce??!1,...j(_)})};X_=class X_ extends A{_parse(_){if(this._def.coerce)_.data=Boolean(_.data);if(this._getType(_)!==B.boolean){let q=this._getOrReturnCtx(_);return D(q,{code:G.invalid_type,expected:B.boolean,received:q.parsedType}),b}return K(_.data)}};X_.create=(_)=>{return new X_({typeName:M.ZodBoolean,coerce:_?.coerce||!1,...j(_)})};a=class a extends A{_parse(_){if(this._def.coerce)_.data=new Date(_.data);if(this._getType(_)!==B.date){let W=this._getOrReturnCtx(_);return D(W,{code:G.invalid_type,expected:B.date,received:W.parsedType}),b}if(Number.isNaN(_.data.getTime())){let W=this._getOrReturnCtx(_);return D(W,{code:G.invalid_date}),b}let q=new L,J=void 0;for(let W of this._def.checks)if(W.kind==="min"){if(_.data.getTime()<W.value)J=this._getOrReturnCtx(_,J),D(J,{code:G.too_small,message:W.message,inclusive:!0,exact:!1,minimum:W.value,type:"date"}),q.dirty()}else if(W.kind==="max"){if(_.data.getTime()>W.value)J=this._getOrReturnCtx(_,J),D(J,{code:G.too_big,message:W.message,inclusive:!0,exact:!1,maximum:W.value,type:"date"}),q.dirty()}else O.assertNever(W);return{status:q.value,value:new Date(_.data.getTime())}}_addCheck(_){return new a({...this._def,checks:[...this._def.checks,_]})}min(_,$){return this._addCheck({kind:"min",value:_.getTime(),message:w.toString($)})}max(_,$){return this._addCheck({kind:"max",value:_.getTime(),message:w.toString($)})}get minDate(){let _=null;for(let $ of this._def.checks)if($.kind==="min"){if(_===null||$.value>_)_=$.value}return _!=null?new Date(_):null}get maxDate(){let _=null;for(let $ of this._def.checks)if($.kind==="max"){if(_===null||$.value<_)_=$.value}return _!=null?new Date(_):null}};a.create=(_)=>{return new a({checks:[],coerce:_?.coerce||!1,typeName:M.ZodDate,...j(_)})};j_=class j_ extends A{_parse(_){if(this._getType(_)!==B.symbol){let q=this._getOrReturnCtx(_);return D(q,{code:G.invalid_type,expected:B.symbol,received:q.parsedType}),b}return K(_.data)}};j_.create=(_)=>{return new j_({typeName:M.ZodSymbol,...j(_)})};H_=class H_ extends A{_parse(_){if(this._getType(_)!==B.undefined){let q=this._getOrReturnCtx(_);return D(q,{code:G.invalid_type,expected:B.undefined,received:q.parsedType}),b}return K(_.data)}};H_.create=(_)=>{return new H_({typeName:M.ZodUndefined,...j(_)})};Q_=class Q_ extends A{_parse(_){if(this._getType(_)!==B.null){let q=this._getOrReturnCtx(_);return D(q,{code:G.invalid_type,expected:B.null,received:q.parsedType}),b}return K(_.data)}};Q_.create=(_)=>{return new Q_({typeName:M.ZodNull,...j(_)})};s=class s extends A{constructor(){super(...arguments);this._any=!0}_parse(_){return K(_.data)}};s.create=(_)=>{return new s({typeName:M.ZodAny,...j(_)})};i=class i extends A{constructor(){super(...arguments);this._unknown=!0}_parse(_){return K(_.data)}};i.create=(_)=>{return new i({typeName:M.ZodUnknown,...j(_)})};y=class y extends A{_parse(_){let $=this._getOrReturnCtx(_);return D($,{code:G.invalid_type,expected:B.never,received:$.parsedType}),b}};y.create=(_)=>{return new y({typeName:M.ZodNever,...j(_)})};A_=class A_ extends A{_parse(_){if(this._getType(_)!==B.undefined){let q=this._getOrReturnCtx(_);return D(q,{code:G.invalid_type,expected:B.void,received:q.parsedType}),b}return K(_.data)}};A_.create=(_)=>{return new A_({typeName:M.ZodVoid,...j(_)})};k=class k extends A{_parse(_){let{ctx:$,status:q}=this._processInputParams(_),J=this._def;if($.parsedType!==B.array)return D($,{code:G.invalid_type,expected:B.array,received:$.parsedType}),b;if(J.exactLength!==null){let X=$.data.length>J.exactLength.value,H=$.data.length<J.exactLength.value;if(X||H)D($,{code:X?G.too_big:G.too_small,minimum:H?J.exactLength.value:void 0,maximum:X?J.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:J.exactLength.message}),q.dirty()}if(J.minLength!==null){if($.data.length<J.minLength.value)D($,{code:G.too_small,minimum:J.minLength.value,type:"array",inclusive:!0,exact:!1,message:J.minLength.message}),q.dirty()}if(J.maxLength!==null){if($.data.length>J.maxLength.value)D($,{code:G.too_big,maximum:J.maxLength.value,type:"array",inclusive:!0,exact:!1,message:J.maxLength.message}),q.dirty()}if($.common.async)return Promise.all([...$.data].map((X,H)=>{return J.type._parseAsync(new P($,X,$.path,H))})).then((X)=>{return L.mergeArray(q,X)});let W=[...$.data].map((X,H)=>{return J.type._parseSync(new P($,X,$.path,H))});return L.mergeArray(q,W)}get element(){return this._def.type}min(_,$){return new k({...this._def,minLength:{value:_,message:w.toString($)}})}max(_,$){return new k({...this._def,maxLength:{value:_,message:w.toString($)}})}length(_,$){return new k({...this._def,exactLength:{value:_,message:w.toString($)}})}nonempty(_){return this.min(1,_)}};k.create=(_,$)=>{return new k({type:_,minLength:null,maxLength:null,exactLength:null,typeName:M.ZodArray,...j($)})};U=class U extends A{constructor(){super(...arguments);this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;let _=this._def.shape(),$=O.objectKeys(_);return this._cached={shape:_,keys:$},this._cached}_parse(_){if(this._getType(_)!==B.object){let Q=this._getOrReturnCtx(_);return D(Q,{code:G.invalid_type,expected:B.object,received:Q.parsedType}),b}let{status:q,ctx:J}=this._processInputParams(_),{shape:W,keys:X}=this._getCached(),H=[];if(!(this._def.catchall instanceof y&&this._def.unknownKeys==="strip")){for(let Q in J.data)if(!X.includes(Q))H.push(Q)}let Y=[];for(let Q of X){let v=W[Q],R=J.data[Q];Y.push({key:{status:"valid",value:Q},value:v._parse(new P(J,R,J.path,Q)),alwaysSet:Q in J.data})}if(this._def.catchall instanceof y){let Q=this._def.unknownKeys;if(Q==="passthrough")for(let v of H)Y.push({key:{status:"valid",value:v},value:{status:"valid",value:J.data[v]}});else if(Q==="strict"){if(H.length>0)D(J,{code:G.unrecognized_keys,keys:H}),q.dirty()}else if(Q==="strip");else throw Error("Internal ZodObject error: invalid unknownKeys value.")}else{let Q=this._def.catchall;for(let v of H){let R=J.data[v];Y.push({key:{status:"valid",value:v},value:Q._parse(new P(J,R,J.path,v)),alwaysSet:v in J.data})}}if(J.common.async)return Promise.resolve().then(async()=>{let Q=[];for(let v of Y){let R=await v.key,L$=await v.value;Q.push({key:R,value:L$,alwaysSet:v.alwaysSet})}return Q}).then((Q)=>{return L.mergeObjectSync(q,Q)});else return L.mergeObjectSync(q,Y)}get shape(){return this._def.shape()}strict(_){return w.errToObj,new U({...this._def,unknownKeys:"strict",..._!==void 0?{errorMap:($,q)=>{let J=this._def.errorMap?.($,q).message??q.defaultError;if($.code==="unrecognized_keys")return{message:w.errToObj(_).message??J};return{message:J}}}:{}})}strip(){return new U({...this._def,unknownKeys:"strip"})}passthrough(){return new U({...this._def,unknownKeys:"passthrough"})}extend(_){return new U({...this._def,shape:()=>({...this._def.shape(),..._})})}merge(_){return new U({unknownKeys:_._def.unknownKeys,catchall:_._def.catchall,shape:()=>({...this._def.shape(),..._._def.shape()}),typeName:M.ZodObject})}setKey(_,$){return this.augment({[_]:$})}catchall(_){return new U({...this._def,catchall:_})}pick(_){let $={};for(let q of O.objectKeys(_))if(_[q]&&this.shape[q])$[q]=this.shape[q];return new U({...this._def,shape:()=>$})}omit(_){let $={};for(let q of O.objectKeys(this.shape))if(!_[q])$[q]=this.shape[q];return new U({...this._def,shape:()=>$})}deepPartial(){return J_(this)}partial(_){let $={};for(let q of O.objectKeys(this.shape)){let J=this.shape[q];if(_&&!_[q])$[q]=J;else $[q]=J.optional()}return new U({...this._def,shape:()=>$})}required(_){let $={};for(let q of O.objectKeys(this.shape))if(_&&!_[q])$[q]=this.shape[q];else{let W=this.shape[q];while(W instanceof I)W=W._def.innerType;$[q]=W}return new U({...this._def,shape:()=>$})}keyof(){return h$(O.objectKeys(this.shape))}};U.create=(_,$)=>{return new U({shape:()=>_,unknownKeys:"strip",catchall:y.create(),typeName:M.ZodObject,...j($)})};U.strictCreate=(_,$)=>{return new U({shape:()=>_,unknownKeys:"strict",catchall:y.create(),typeName:M.ZodObject,...j($)})};U.lazycreate=(_,$)=>{return new U({shape:_,unknownKeys:"strip",catchall:y.create(),typeName:M.ZodObject,...j($)})};Y_=class Y_ extends A{_parse(_){let{ctx:$}=this._processInputParams(_),q=this._def.options;function J(W){for(let H of W)if(H.result.status==="valid")return H.result;for(let H of W)if(H.result.status==="dirty")return $.common.issues.push(...H.ctx.common.issues),H.result;let X=W.map((H)=>new f(H.ctx.common.issues));return D($,{code:G.invalid_union,unionErrors:X}),b}if($.common.async)return Promise.all(q.map(async(W)=>{let X={...$,common:{...$.common,issues:[]},parent:null};return{result:await W._parseAsync({data:$.data,path:$.path,parent:X}),ctx:X}})).then(J);else{let W=void 0,X=[];for(let Y of q){let Q={...$,common:{...$.common,issues:[]},parent:null},v=Y._parseSync({data:$.data,path:$.path,parent:Q});if(v.status==="valid")return v;else if(v.status==="dirty"&&!W)W={result:v,ctx:Q};if(Q.common.issues.length)X.push(Q.common.issues)}if(W)return $.common.issues.push(...W.ctx.common.issues),W.result;let H=X.map((Y)=>new f(Y));return D($,{code:G.invalid_union,unionErrors:H}),b}}get options(){return this._def.options}};Y_.create=(_,$)=>{return new Y_({options:_,typeName:M.ZodUnion,...j($)})};g_=class g_ extends A{_parse(_){let{ctx:$}=this._processInputParams(_);if($.parsedType!==B.object)return D($,{code:G.invalid_type,expected:B.object,received:$.parsedType}),b;let q=this.discriminator,J=$.data[q],W=this.optionsMap.get(J);if(!W)return D($,{code:G.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[q]}),b;if($.common.async)return W._parseAsync({data:$.data,path:$.path,parent:$});else return W._parseSync({data:$.data,path:$.path,parent:$})}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(_,$,q){let J=new Map;for(let W of $){let X=Z(W.shape[_]);if(!X.length)throw Error(`A discriminator value for key \`${_}\` could not be extracted from all schema options`);for(let H of X){if(J.has(H))throw Error(`Discriminator property ${String(_)} has duplicate value ${String(H)}`);J.set(H,W)}}return new g_({typeName:M.ZodDiscriminatedUnion,discriminator:_,options:$,optionsMap:J,...j(q)})}};G_=class G_ extends A{_parse(_){let{status:$,ctx:q}=this._processInputParams(_),J=(W,X)=>{if(F_(W)||F_(X))return b;let H=o_(W.value,X.value);if(!H.valid)return D(q,{code:G.invalid_intersection_types}),b;if(f_(W)||f_(X))$.dirty();return{status:$.value,value:H.data}};if(q.common.async)return Promise.all([this._def.left._parseAsync({data:q.data,path:q.path,parent:q}),this._def.right._parseAsync({data:q.data,path:q.path,parent:q})]).then(([W,X])=>J(W,X));else return J(this._def.left._parseSync({data:q.data,path:q.path,parent:q}),this._def.right._parseSync({data:q.data,path:q.path,parent:q}))}};G_.create=(_,$,q)=>{return new G_({left:_,right:$,typeName:M.ZodIntersection,...j(q)})};x=class x extends A{_parse(_){let{status:$,ctx:q}=this._processInputParams(_);if(q.parsedType!==B.array)return D(q,{code:G.invalid_type,expected:B.array,received:q.parsedType}),b;if(q.data.length<this._def.items.length)return D(q,{code:G.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),b;if(!this._def.rest&&q.data.length>this._def.items.length)D(q,{code:G.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),$.dirty();let W=[...q.data].map((X,H)=>{let Y=this._def.items[H]||this._def.rest;if(!Y)return null;return Y._parse(new P(q,X,q.path,H))}).filter((X)=>!!X);if(q.common.async)return Promise.all(W).then((X)=>{return L.mergeArray($,X)});else return L.mergeArray($,W)}get items(){return this._def.items}rest(_){return new x({...this._def,rest:_})}};x.create=(_,$)=>{if(!Array.isArray(_))throw Error("You must pass an array of schemas to z.tuple([ ... ])");return new x({items:_,typeName:M.ZodTuple,rest:null,...j($)})};O_=class O_ extends A{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(_){let{status:$,ctx:q}=this._processInputParams(_);if(q.parsedType!==B.object)return D(q,{code:G.invalid_type,expected:B.object,received:q.parsedType}),b;let J=[],W=this._def.keyType,X=this._def.valueType;for(let H in q.data)J.push({key:W._parse(new P(q,H,q.path,H)),value:X._parse(new P(q,q.data[H],q.path,H)),alwaysSet:H in q.data});if(q.common.async)return L.mergeObjectAsync($,J);else return L.mergeObjectSync($,J)}get element(){return this._def.valueType}static create(_,$,q){if($ instanceof A)return new O_({keyType:_,valueType:$,typeName:M.ZodRecord,...j(q)});return new O_({keyType:C.create(),valueType:_,typeName:M.ZodRecord,...j($)})}};N_=class N_ extends A{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(_){let{status:$,ctx:q}=this._processInputParams(_);if(q.parsedType!==B.map)return D(q,{code:G.invalid_type,expected:B.map,received:q.parsedType}),b;let J=this._def.keyType,W=this._def.valueType,X=[...q.data.entries()].map(([H,Y],Q)=>{return{key:J._parse(new P(q,H,q.path,[Q,"key"])),value:W._parse(new P(q,Y,q.path,[Q,"value"]))}});if(q.common.async){let H=new Map;return Promise.resolve().then(async()=>{for(let Y of X){let Q=await Y.key,v=await Y.value;if(Q.status==="aborted"||v.status==="aborted")return b;if(Q.status==="dirty"||v.status==="dirty")$.dirty();H.set(Q.value,v.value)}return{status:$.value,value:H}})}else{let H=new Map;for(let Y of X){let{key:Q,value:v}=Y;if(Q.status==="aborted"||v.status==="aborted")return b;if(Q.status==="dirty"||v.status==="dirty")$.dirty();H.set(Q.value,v.value)}return{status:$.value,value:H}}}};N_.create=(_,$,q)=>{return new N_({valueType:$,keyType:_,typeName:M.ZodMap,...j(q)})};e=class e extends A{_parse(_){let{status:$,ctx:q}=this._processInputParams(_);if(q.parsedType!==B.set)return D(q,{code:G.invalid_type,expected:B.set,received:q.parsedType}),b;let J=this._def;if(J.minSize!==null){if(q.data.size<J.minSize.value)D(q,{code:G.too_small,minimum:J.minSize.value,type:"set",inclusive:!0,exact:!1,message:J.minSize.message}),$.dirty()}if(J.maxSize!==null){if(q.data.size>J.maxSize.value)D(q,{code:G.too_big,maximum:J.maxSize.value,type:"set",inclusive:!0,exact:!1,message:J.maxSize.message}),$.dirty()}let W=this._def.valueType;function X(Y){let Q=new Set;for(let v of Y){if(v.status==="aborted")return b;if(v.status==="dirty")$.dirty();Q.add(v.value)}return{status:$.value,value:Q}}let H=[...q.data.values()].map((Y,Q)=>W._parse(new P(q,Y,q.path,Q)));if(q.common.async)return Promise.all(H).then((Y)=>X(Y));else return X(H)}min(_,$){return new e({...this._def,minSize:{value:_,message:w.toString($)}})}max(_,$){return new e({...this._def,maxSize:{value:_,message:w.toString($)}})}size(_,$){return this.min(_,$).max(_,$)}nonempty(_){return this.min(1,_)}};e.create=(_,$)=>{return new e({valueType:_,minSize:null,maxSize:null,typeName:M.ZodSet,...j($)})};W_=class W_ extends A{constructor(){super(...arguments);this.validate=this.implement}_parse(_){let{ctx:$}=this._processInputParams(_);if($.parsedType!==B.function)return D($,{code:G.invalid_type,expected:B.function,received:$.parsedType}),b;function q(H,Y){return v_({data:H,path:$.path,errorMaps:[$.common.contextualErrorMap,$.schemaErrorMap,$_(),n].filter((Q)=>!!Q),issueData:{code:G.invalid_arguments,argumentsError:Y}})}function J(H,Y){return v_({data:H,path:$.path,errorMaps:[$.common.contextualErrorMap,$.schemaErrorMap,$_(),n].filter((Q)=>!!Q),issueData:{code:G.invalid_return_type,returnTypeError:Y}})}let W={errorMap:$.common.contextualErrorMap},X=$.data;if(this._def.returns instanceof __){let H=this;return K(async function(...Y){let Q=new f([]),v=await H._def.args.parseAsync(Y,W).catch((Z_)=>{throw Q.addIssue(q(Y,Z_)),Q}),R=await Reflect.apply(X,this,v);return await H._def.returns._def.type.parseAsync(R,W).catch((Z_)=>{throw Q.addIssue(J(R,Z_)),Q})})}else{let H=this;return K(function(...Y){let Q=H._def.args.safeParse(Y,W);if(!Q.success)throw new f([q(Y,Q.error)]);let v=Reflect.apply(X,this,Q.data),R=H._def.returns.safeParse(v,W);if(!R.success)throw new f([J(v,R.error)]);return R.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(..._){return new W_({...this._def,args:x.create(_).rest(i.create())})}returns(_){return new W_({...this._def,returns:_})}implement(_){return this.parse(_)}strictImplement(_){return this.parse(_)}static create(_,$,q){return new W_({args:_?_:x.create([]).rest(i.create()),returns:$||i.create(),typeName:M.ZodFunction,...j(q)})}};M_=class M_ extends A{get schema(){return this._def.getter()}_parse(_){let{ctx:$}=this._processInputParams(_);return this._def.getter()._parse({data:$.data,path:$.path,parent:$})}};M_.create=(_,$)=>{return new M_({getter:_,typeName:M.ZodLazy,...j($)})};B_=class B_ extends A{_parse(_){if(_.data!==this._def.value){let $=this._getOrReturnCtx(_);return D($,{received:$.data,code:G.invalid_literal,expected:this._def.value}),b}return{status:"valid",value:_.data}}get value(){return this._def.value}};B_.create=(_,$)=>{return new B_({value:_,typeName:M.ZodLiteral,...j($)})};c=class c extends A{_parse(_){if(typeof _.data!=="string"){let $=this._getOrReturnCtx(_),q=this._def.values;return D($,{expected:O.joinValues(q),received:$.parsedType,code:G.invalid_type}),b}if(!this._cache)this._cache=new Set(this._def.values);if(!this._cache.has(_.data)){let $=this._getOrReturnCtx(_),q=this._def.values;return D($,{received:$.data,code:G.invalid_enum_value,options:q}),b}return K(_.data)}get options(){return this._def.values}get enum(){let _={};for(let $ of this._def.values)_[$]=$;return _}get Values(){let _={};for(let $ of this._def.values)_[$]=$;return _}get Enum(){let _={};for(let $ of this._def.values)_[$]=$;return _}extract(_,$=this._def){return c.create(_,{...this._def,...$})}exclude(_,$=this._def){return c.create(this.options.filter((q)=>!_.includes(q)),{...this._def,...$})}};c.create=h$;D_=class D_ extends A{_parse(_){let $=O.getValidEnumValues(this._def.values),q=this._getOrReturnCtx(_);if(q.parsedType!==B.string&&q.parsedType!==B.number){let J=O.objectValues($);return D(q,{expected:O.joinValues(J),received:q.parsedType,code:G.invalid_type}),b}if(!this._cache)this._cache=new Set(O.getValidEnumValues(this._def.values));if(!this._cache.has(_.data)){let J=O.objectValues($);return D(q,{received:q.data,code:G.invalid_enum_value,options:J}),b}return K(_.data)}get enum(){return this._def.values}};D_.create=(_,$)=>{return new D_({values:_,typeName:M.ZodNativeEnum,...j($)})};__=class __ extends A{unwrap(){return this._def.type}_parse(_){let{ctx:$}=this._processInputParams(_);if($.parsedType!==B.promise&&$.common.async===!1)return D($,{code:G.invalid_type,expected:B.promise,received:$.parsedType}),b;let q=$.parsedType===B.promise?$.data:Promise.resolve($.data);return K(q.then((J)=>{return this._def.type.parseAsync(J,{path:$.path,errorMap:$.common.contextualErrorMap})}))}};__.create=(_,$)=>{return new __({type:_,typeName:M.ZodPromise,...j($)})};m=class m extends A{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===M.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(_){let{status:$,ctx:q}=this._processInputParams(_),J=this._def.effect||null,W={addIssue:(X)=>{if(D(q,X),X.fatal)$.abort();else $.dirty()},get path(){return q.path}};if(W.addIssue=W.addIssue.bind(W),J.type==="preprocess"){let X=J.transform(q.data,W);if(q.common.async)return Promise.resolve(X).then(async(H)=>{if($.value==="aborted")return b;let Y=await this._def.schema._parseAsync({data:H,path:q.path,parent:q});if(Y.status==="aborted")return b;if(Y.status==="dirty")return t(Y.value);if($.value==="dirty")return t(Y.value);return Y});else{if($.value==="aborted")return b;let H=this._def.schema._parseSync({data:X,path:q.path,parent:q});if(H.status==="aborted")return b;if(H.status==="dirty")return t(H.value);if($.value==="dirty")return t(H.value);return H}}if(J.type==="refinement"){let X=(H)=>{let Y=J.refinement(H,W);if(q.common.async)return Promise.resolve(Y);if(Y instanceof Promise)throw Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return H};if(q.common.async===!1){let H=this._def.schema._parseSync({data:q.data,path:q.path,parent:q});if(H.status==="aborted")return b;if(H.status==="dirty")$.dirty();return X(H.value),{status:$.value,value:H.value}}else return this._def.schema._parseAsync({data:q.data,path:q.path,parent:q}).then((H)=>{if(H.status==="aborted")return b;if(H.status==="dirty")$.dirty();return X(H.value).then(()=>{return{status:$.value,value:H.value}})})}if(J.type==="transform")if(q.common.async===!1){let X=this._def.schema._parseSync({data:q.data,path:q.path,parent:q});if(!p(X))return b;let H=J.transform(X.value,W);if(H instanceof Promise)throw Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:$.value,value:H}}else return this._def.schema._parseAsync({data:q.data,path:q.path,parent:q}).then((X)=>{if(!p(X))return b;return Promise.resolve(J.transform(X.value,W)).then((H)=>({status:$.value,value:H}))});O.assertNever(J)}};m.create=(_,$,q)=>{return new m({schema:_,typeName:M.ZodEffects,effect:$,...j(q)})};m.createWithPreprocess=(_,$,q)=>{return new m({schema:$,effect:{type:"preprocess",transform:_},typeName:M.ZodEffects,...j(q)})};I=class I extends A{_parse(_){if(this._getType(_)===B.undefined)return K(void 0);return this._def.innerType._parse(_)}unwrap(){return this._def.innerType}};I.create=(_,$)=>{return new I({innerType:_,typeName:M.ZodOptional,...j($)})};u=class u extends A{_parse(_){if(this._getType(_)===B.null)return K(null);return this._def.innerType._parse(_)}unwrap(){return this._def.innerType}};u.create=(_,$)=>{return new u({innerType:_,typeName:M.ZodNullable,...j($)})};w_=class w_ extends A{_parse(_){let{ctx:$}=this._processInputParams(_),q=$.data;if($.parsedType===B.undefined)q=this._def.defaultValue();return this._def.innerType._parse({data:q,path:$.path,parent:$})}removeDefault(){return this._def.innerType}};w_.create=(_,$)=>{return new w_({innerType:_,typeName:M.ZodDefault,defaultValue:typeof $.default==="function"?$.default:()=>$.default,...j($)})};b_=class b_ extends A{_parse(_){let{ctx:$}=this._processInputParams(_),q={...$,common:{...$.common,issues:[]}},J=this._def.innerType._parse({data:q.data,path:q.path,parent:{...q}});if(q_(J))return J.then((W)=>{return{status:"valid",value:W.status==="valid"?W.value:this._def.catchValue({get error(){return new f(q.common.issues)},input:q.data})}});else return{status:"valid",value:J.status==="valid"?J.value:this._def.catchValue({get error(){return new f(q.common.issues)},input:q.data})}}removeCatch(){return this._def.innerType}};b_.create=(_,$)=>{return new b_({innerType:_,typeName:M.ZodCatch,catchValue:typeof $.catch==="function"?$.catch:()=>$.catch,...j($)})};E_=class E_ extends A{_parse(_){if(this._getType(_)!==B.nan){let q=this._getOrReturnCtx(_);return D(q,{code:G.invalid_type,expected:B.nan,received:q.parsedType}),b}return{status:"valid",value:_.data}}};E_.create=(_)=>{return new E_({typeName:M.ZodNaN,...j(_)})};rq=Symbol("zod_brand");C_=class C_ extends A{_parse(_){let{ctx:$}=this._processInputParams(_),q=$.data;return this._def.type._parse({data:q,path:$.path,parent:$})}unwrap(){return this._def.type}};U_=class U_ extends A{_parse(_){let{status:$,ctx:q}=this._processInputParams(_);if(q.common.async)return(async()=>{let W=await this._def.in._parseAsync({data:q.data,path:q.path,parent:q});if(W.status==="aborted")return b;if(W.status==="dirty")return $.dirty(),t(W.value);else return this._def.out._parseAsync({data:W.value,path:q.path,parent:q})})();else{let J=this._def.in._parseSync({data:q.data,path:q.path,parent:q});if(J.status==="aborted")return b;if(J.status==="dirty")return $.dirty(),{status:"dirty",value:J.value};else return this._def.out._parseSync({data:J.value,path:q.path,parent:q})}}static create(_,$){return new U_({in:_,out:$,typeName:M.ZodPipeline})}};z_=class z_ extends A{_parse(_){let $=this._def.innerType._parse(_),q=(J)=>{if(p(J))J.value=Object.freeze(J.value);return J};return q_($)?$.then((J)=>q(J)):q($)}unwrap(){return this._def.innerType}};z_.create=(_,$)=>{return new z_({innerType:_,typeName:M.ZodReadonly,...j($)})};oq={object:U.lazycreate};(function(_){_.ZodString="ZodString",_.ZodNumber="ZodNumber",_.ZodNaN="ZodNaN",_.ZodBigInt="ZodBigInt",_.ZodBoolean="ZodBoolean",_.ZodDate="ZodDate",_.ZodSymbol="ZodSymbol",_.ZodUndefined="ZodUndefined",_.ZodNull="ZodNull",_.ZodAny="ZodAny",_.ZodUnknown="ZodUnknown",_.ZodNever="ZodNever",_.ZodVoid="ZodVoid",_.ZodArray="ZodArray",_.ZodObject="ZodObject",_.ZodUnion="ZodUnion",_.ZodDiscriminatedUnion="ZodDiscriminatedUnion",_.ZodIntersection="ZodIntersection",_.ZodTuple="ZodTuple",_.ZodRecord="ZodRecord",_.ZodMap="ZodMap",_.ZodSet="ZodSet",_.ZodFunction="ZodFunction",_.ZodLazy="ZodLazy",_.ZodLiteral="ZodLiteral",_.ZodEnum="ZodEnum",_.ZodEffects="ZodEffects",_.ZodNativeEnum="ZodNativeEnum",_.ZodOptional="ZodOptional",_.ZodNullable="ZodNullable",_.ZodDefault="ZodDefault",_.ZodCatch="ZodCatch",_.ZodPromise="ZodPromise",_.ZodBranded="ZodBranded",_.ZodPipeline="ZodPipeline",_.ZodReadonly="ZodReadonly"})(M||(M={}));x$=C.create,n$=r.create,dq=E_.create,tq=o.create,Z$=X_.create,aq=a.create,sq=j_.create,eq=H_.create,_3=Q_.create,$3=s.create,q3=i.create,J3=y.create,W3=A_.create,X3=k.create,H3=U.create,Q3=U.strictCreate,Y3=Y_.create,G3=g_.create,M3=G_.create,B3=x.create,D3=O_.create,w3=N_.create,b3=e.create,z3=W_.create,S3=M_.create,v3=B_.create,j3=c.create,A3=D_.create,O3=__.create,N3=m.create,E3=I.create,U3=u.create,V3=m.createWithPreprocess,R3=U_.create,f3={string:(_)=>C.create({..._,coerce:!0}),number:(_)=>r.create({..._,coerce:!0}),boolean:(_)=>X_.create({..._,coerce:!0}),bigint:(_)=>o.create({..._,coerce:!0}),date:(_)=>a.create({..._,coerce:!0})},g3=b});var k3={};C3(k3,{void:()=>W3,util:()=>O,unknown:()=>q3,union:()=>Y3,undefined:()=>eq,tuple:()=>B3,transformer:()=>N3,symbol:()=>sq,string:()=>x$,strictObject:()=>Q3,setErrorMap:()=>Uq,set:()=>b3,record:()=>D3,quotelessJson:()=>Nq,promise:()=>O3,preprocess:()=>V3,pipeline:()=>R3,ostring:()=>L3,optional:()=>E3,onumber:()=>K3,oboolean:()=>F3,objectUtil:()=>u_,object:()=>H3,number:()=>n$,nullable:()=>U3,null:()=>_3,never:()=>J3,nativeEnum:()=>A3,nan:()=>dq,map:()=>w3,makeIssue:()=>v_,literal:()=>v3,lazy:()=>S3,late:()=>oq,isValid:()=>p,isDirty:()=>f_,isAsync:()=>q_,isAborted:()=>F_,intersection:()=>M3,instanceof:()=>cq,getParsedType:()=>h,getErrorMap:()=>$_,function:()=>z3,enum:()=>j3,effect:()=>N3,discriminatedUnion:()=>G3,defaultErrorMap:()=>n,datetimeRegex:()=>T$,date:()=>aq,custom:()=>y$,coerce:()=>f3,boolean:()=>Z$,bigint:()=>tq,array:()=>X3,any:()=>$3,addIssueToContext:()=>D,ZodVoid:()=>A_,ZodUnknown:()=>i,ZodUnion:()=>Y_,ZodUndefined:()=>H_,ZodType:()=>A,ZodTuple:()=>x,ZodTransformer:()=>m,ZodSymbol:()=>j_,ZodString:()=>C,ZodSet:()=>e,ZodSchema:()=>A,ZodRecord:()=>O_,ZodReadonly:()=>z_,ZodPromise:()=>__,ZodPipeline:()=>U_,ZodParsedType:()=>B,ZodOptional:()=>I,ZodObject:()=>U,ZodNumber:()=>r,ZodNullable:()=>u,ZodNull:()=>Q_,ZodNever:()=>y,ZodNativeEnum:()=>D_,ZodNaN:()=>E_,ZodMap:()=>N_,ZodLiteral:()=>B_,ZodLazy:()=>M_,ZodIssueCode:()=>G,ZodIntersection:()=>G_,ZodFunction:()=>W_,ZodFirstPartyTypeKind:()=>M,ZodError:()=>f,ZodEnum:()=>c,ZodEffects:()=>m,ZodDiscriminatedUnion:()=>g_,ZodDefault:()=>w_,ZodDate:()=>a,ZodCatch:()=>b_,ZodBranded:()=>C_,ZodBoolean:()=>X_,ZodBigInt:()=>o,ZodArray:()=>k,ZodAny:()=>s,Schema:()=>A,ParseStatus:()=>L,OK:()=>K,NEVER:()=>g3,INVALID:()=>b,EMPTY_PATH:()=>Vq,DIRTY:()=>t,BRAND:()=>rq});var p$=z(()=>{K_();i_();C$();S_();u$();R_()});var k_=z(()=>{p$()});var I_=(_,$)=>{let q=0;for(;q<_.length&&q<$.length;q++)if(_[q]!==$[q])break;return[(_.length-q).toString(),...$.slice(q)].join("/")};var P_=()=>{};function E(_){if(_.target!=="openAi")return{};let $=[..._.basePath,_.definitionPath,_.openAiAnyTypeName];return _.flags.hasReferencedOpenAiAnyType=!0,{$ref:_.$refStrategy==="relative"?I_($,_.currentPath):$.join("/")}}var g=z(()=>{P_()});function c_(_,$,q,J){if(!J?.errorMessages)return;if(q)_.errorMessage={..._.errorMessage,[$]:q}}function N(_,$,q,J,W){_[$]=q,c_(_,$,J,W)}var d=()=>{};function i$(_,$){let q={type:"array"};if(_.type?._def&&_.type?._def?.typeName!==M.ZodAny)q.items=S(_.type._def,{...$,currentPath:[...$.currentPath,"items"]});if(_.minLength)N(q,"minItems",_.minLength.value,_.minLength.message,$);if(_.maxLength)N(q,"maxItems",_.maxLength.value,_.maxLength.message,$);if(_.exactLength)N(q,"minItems",_.exactLength.value,_.exactLength.message,$),N(q,"maxItems",_.exactLength.value,_.exactLength.message,$);return q}var d_=z(()=>{k_();d();V()});function r$(_,$){let q={type:"integer",format:"int64"};if(!_.checks)return q;for(let J of _.checks)switch(J.kind){case"min":if($.target==="jsonSchema7")if(J.inclusive)N(q,"minimum",J.value,J.message,$);else N(q,"exclusiveMinimum",J.value,J.message,$);else{if(!J.inclusive)q.exclusiveMinimum=!0;N(q,"minimum",J.value,J.message,$)}break;case"max":if($.target==="jsonSchema7")if(J.inclusive)N(q,"maximum",J.value,J.message,$);else N(q,"exclusiveMaximum",J.value,J.message,$);else{if(!J.inclusive)q.exclusiveMaximum=!0;N(q,"maximum",J.value,J.message,$)}break;case"multipleOf":N(q,"multipleOf",J.value,J.message,$);break}return q}var t_=z(()=>{d()});function o$(){return{type:"boolean"}}var a_=()=>{};function m_(_,$){return S(_.type._def,$)}var l_=z(()=>{V()});var c$=(_,$)=>{return S(_.innerType._def,$)};var s_=z(()=>{V()});function e_(_,$,q){let J=q??$.dateStrategy;if(Array.isArray(J))return{anyOf:J.map((W,X)=>e_(_,$,W))};switch(J){case"string":case"format:date-time":return{type:"string",format:"date-time"};case"format:date":return{type:"string",format:"date"};case"integer":return I3(_,$)}}var I3=(_,$)=>{let q={type:"integer",format:"unix-time"};if($.target==="openApi3")return q;for(let J of _.checks)switch(J.kind){case"min":N(q,"minimum",J.value,J.message,$);break;case"max":N(q,"maximum",J.value,J.message,$);break}return q};var _$=z(()=>{d()});function d$(_,$){return{...S(_.innerType._def,$),default:_.defaultValue()}}var $$=z(()=>{V()});function t$(_,$){return $.effectStrategy==="input"?S(_.schema._def,$):E($)}var q$=z(()=>{V();g()});function a$(_){return{type:"string",enum:Array.from(_.values)}}var J$=()=>{};function s$(_,$){let q=[S(_.left._def,{...$,currentPath:[...$.currentPath,"allOf","0"]}),S(_.right._def,{...$,currentPath:[...$.currentPath,"allOf","1"]})].filter((X)=>!!X),J=$.target==="jsonSchema2019-09"?{unevaluatedProperties:!1}:void 0,W=[];return q.forEach((X)=>{if(P3(X)){if(W.push(...X.allOf),X.unevaluatedProperties===void 0)J=void 0}else{let H=X;if("additionalProperties"in X&&X.additionalProperties===!1){let{additionalProperties:Y,...Q}=X;H=Q}else J=void 0;W.push(H)}}),W.length?{allOf:W,...J}:void 0}var P3=(_)=>{if("type"in _&&_.type==="string")return!1;return"allOf"in _};var W$=z(()=>{V()});function e$(_,$){let q=typeof _.value;if(q!=="bigint"&&q!=="number"&&q!=="boolean"&&q!=="string")return{type:Array.isArray(_.value)?"array":"object"};if($.target==="openApi3")return{type:q==="bigint"?"integer":q,enum:[_.value]};return{type:q==="bigint"?"integer":q,const:_.value}}var X$=()=>{};function T_(_,$){let q={type:"string"};if(_.checks)for(let J of _.checks)switch(J.kind){case"min":N(q,"minLength",typeof q.minLength==="number"?Math.max(q.minLength,J.value):J.value,J.message,$);break;case"max":N(q,"maxLength",typeof q.maxLength==="number"?Math.min(q.maxLength,J.value):J.value,J.message,$);break;case"email":switch($.emailStrategy){case"format:email":T(q,"email",J.message,$);break;case"format:idn-email":T(q,"idn-email",J.message,$);break;case"pattern:zod":F(q,l.email,J.message,$);break}break;case"url":T(q,"uri",J.message,$);break;case"uuid":T(q,"uuid",J.message,$);break;case"regex":F(q,J.regex,J.message,$);break;case"cuid":F(q,l.cuid,J.message,$);break;case"cuid2":F(q,l.cuid2,J.message,$);break;case"startsWith":F(q,RegExp(`^${Q$(J.value,$)}`),J.message,$);break;case"endsWith":F(q,RegExp(`${Q$(J.value,$)}$`),J.message,$);break;case"datetime":T(q,"date-time",J.message,$);break;case"date":T(q,"date",J.message,$);break;case"time":T(q,"time",J.message,$);break;case"duration":T(q,"duration",J.message,$);break;case"length":N(q,"minLength",typeof q.minLength==="number"?Math.max(q.minLength,J.value):J.value,J.message,$),N(q,"maxLength",typeof q.maxLength==="number"?Math.min(q.maxLength,J.value):J.value,J.message,$);break;case"includes":{F(q,RegExp(Q$(J.value,$)),J.message,$);break}case"ip":{if(J.version!=="v6")T(q,"ipv4",J.message,$);if(J.version!=="v4")T(q,"ipv6",J.message,$);break}case"base64url":F(q,l.base64url,J.message,$);break;case"jwt":F(q,l.jwt,J.message,$);break;case"cidr":{if(J.version!=="v6")F(q,l.ipv4Cidr,J.message,$);if(J.version!=="v4")F(q,l.ipv6Cidr,J.message,$);break}case"emoji":F(q,l.emoji(),J.message,$);break;case"ulid":{F(q,l.ulid,J.message,$);break}case"base64":{switch($.base64Strategy){case"format:binary":{T(q,"binary",J.message,$);break}case"contentEncoding:base64":{N(q,"contentEncoding","base64",J.message,$);break}case"pattern:zod":{F(q,l.base64,J.message,$);break}}break}case"nanoid":F(q,l.nanoid,J.message,$);case"toLowerCase":case"toUpperCase":case"trim":break;default:((W)=>{})(J)}return q}function Q$(_,$){return $.patternStrategy==="escape"?l3(_):_}function l3(_){let $="";for(let q=0;q<_.length;q++){if(!m3.has(_[q]))$+="\\";$+=_[q]}return $}function T(_,$,q,J){if(_.format||_.anyOf?.some((W)=>W.format)){if(!_.anyOf)_.anyOf=[];if(_.format){if(_.anyOf.push({format:_.format,..._.errorMessage&&J.errorMessages&&{errorMessage:{format:_.errorMessage.format}}}),delete _.format,_.errorMessage){if(delete _.errorMessage.format,Object.keys(_.errorMessage).length===0)delete _.errorMessage}}_.anyOf.push({format:$,...q&&J.errorMessages&&{errorMessage:{format:q}}})}else N(_,"format",$,q,J)}function F(_,$,q,J){if(_.pattern||_.allOf?.some((W)=>W.pattern)){if(!_.allOf)_.allOf=[];if(_.pattern){if(_.allOf.push({pattern:_.pattern,..._.errorMessage&&J.errorMessages&&{errorMessage:{pattern:_.errorMessage.pattern}}}),delete _.pattern,_.errorMessage){if(delete _.errorMessage.pattern,Object.keys(_.errorMessage).length===0)delete _.errorMessage}}_.allOf.push({pattern:_q($,J),...q&&J.errorMessages&&{errorMessage:{pattern:q}}})}else N(_,"pattern",_q($,J),q,J)}function _q(_,$){if(!$.applyRegexFlags||!_.flags)return _.source;let q={i:_.flags.includes("i"),m:_.flags.includes("m"),s:_.flags.includes("s")},J=q.i?_.source.toLowerCase():_.source,W="",X=!1,H=!1,Y=!1;for(let Q=0;Q<J.length;Q++){if(X){W+=J[Q],X=!1;continue}if(q.i){if(H){if(J[Q].match(/[a-z]/)){if(Y)W+=J[Q],W+=`${J[Q-2]}-${J[Q]}`.toUpperCase(),Y=!1;else if(J[Q+1]==="-"&&J[Q+2]?.match(/[a-z]/))W+=J[Q],Y=!0;else W+=`${J[Q]}${J[Q].toUpperCase()}`;continue}}else if(J[Q].match(/[a-z]/)){W+=`[${J[Q]}${J[Q].toUpperCase()}]`;continue}}if(q.m){if(J[Q]==="^"){W+=`(^|(?<=[\r
2
+ ]))`;continue}else if(J[Q]==="$"){W+=`($|(?=[\r
3
+ ]))`;continue}}if(q.s&&J[Q]==="."){W+=H?`${J[Q]}\r
4
+ `:`[${J[Q]}\r
5
+ ]`;continue}if(W+=J[Q],J[Q]==="\\")X=!0;else if(H&&J[Q]==="]")H=!1;else if(!H&&J[Q]==="[")H=!0}try{new RegExp(W)}catch{return console.warn(`Could not convert regex pattern at ${$.currentPath.join("/")} to a flag-independent form! Falling back to the flag-ignorant source`),_.source}return W}var H$=void 0,l,m3;var h_=z(()=>{d();l={cuid:/^[cC][^\s-]{8,}$/,cuid2:/^[0-9a-z]+$/,ulid:/^[0-9A-HJKMNP-TV-Z]{26}$/,email:/^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'+\-\.]*)[a-zA-Z0-9_+-]@([a-zA-Z0-9][a-zA-Z0-9\-]*\.)+[a-zA-Z]{2,}$/,emoji:()=>{if(H$===void 0)H$=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u");return H$},uuid:/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/,ipv4:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,ipv4Cidr:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,ipv6:/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,ipv6Cidr:/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,base64:/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,base64url:/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,nanoid:/^[a-zA-Z0-9_-]{21}$/,jwt:/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/};m3=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789")});function y_(_,$){if($.target==="openAi")console.warn("Warning: OpenAI may not support records in schemas! Try an array of key-value pairs instead.");if($.target==="openApi3"&&_.keyType?._def.typeName===M.ZodEnum)return{type:"object",required:_.keyType._def.values,properties:_.keyType._def.values.reduce((J,W)=>({...J,[W]:S(_.valueType._def,{...$,currentPath:[...$.currentPath,"properties",W]})??E($)}),{}),additionalProperties:$.rejectedAdditionalProperties};let q={type:"object",additionalProperties:S(_.valueType._def,{...$,currentPath:[...$.currentPath,"additionalProperties"]})??$.allowedAdditionalProperties};if($.target==="openApi3")return q;if(_.keyType?._def.typeName===M.ZodString&&_.keyType._def.checks?.length){let{type:J,...W}=T_(_.keyType._def,$);return{...q,propertyNames:W}}else if(_.keyType?._def.typeName===M.ZodEnum)return{...q,propertyNames:{enum:_.keyType._def.values}};else if(_.keyType?._def.typeName===M.ZodBranded&&_.keyType._def.type._def.typeName===M.ZodString&&_.keyType._def.type._def.checks?.length){let{type:J,...W}=m_(_.keyType._def,$);return{...q,propertyNames:W}}return q}var x_=z(()=>{k_();V();h_();l_();g()});function $q(_,$){if($.mapStrategy==="record")return y_(_,$);let q=S(_.keyType._def,{...$,currentPath:[...$.currentPath,"items","items","0"]})||E($),J=S(_.valueType._def,{...$,currentPath:[...$.currentPath,"items","items","1"]})||E($);return{type:"array",maxItems:125,items:{type:"array",items:[q,J],minItems:2,maxItems:2}}}var Y$=z(()=>{V();x_();g()});function qq(_){let $=_.values,J=Object.keys(_.values).filter((X)=>{return typeof $[$[X]]!=="number"}).map((X)=>$[X]),W=Array.from(new Set(J.map((X)=>typeof X)));return{type:W.length===1?W[0]==="string"?"string":"number":["string","number"],enum:J}}var G$=()=>{};function Jq(_){return _.target==="openAi"?void 0:{not:E({..._,currentPath:[..._.currentPath,"not"]})}}var M$=z(()=>{g()});function Wq(_){return _.target==="openApi3"?{enum:["null"],nullable:!0}:{type:"null"}}var B$=()=>{};function Hq(_,$){if($.target==="openApi3")return Xq(_,$);let q=_.options instanceof Map?Array.from(_.options.values()):_.options;if(q.every((J)=>(J._def.typeName in V_)&&(!J._def.checks||!J._def.checks.length))){let J=q.reduce((W,X)=>{let H=V_[X._def.typeName];return H&&!W.includes(H)?[...W,H]:W},[]);return{type:J.length>1?J:J[0]}}else if(q.every((J)=>J._def.typeName==="ZodLiteral"&&!J.description)){let J=q.reduce((W,X)=>{let H=typeof X._def.value;switch(H){case"string":case"number":case"boolean":return[...W,H];case"bigint":return[...W,"integer"];case"object":if(X._def.value===null)return[...W,"null"];case"symbol":case"undefined":case"function":default:return W}},[]);if(J.length===q.length){let W=J.filter((X,H,Y)=>Y.indexOf(X)===H);return{type:W.length>1?W:W[0],enum:q.reduce((X,H)=>{return X.includes(H._def.value)?X:[...X,H._def.value]},[])}}}else if(q.every((J)=>J._def.typeName==="ZodEnum"))return{type:"string",enum:q.reduce((J,W)=>[...J,...W._def.values.filter((X)=>!J.includes(X))],[])};return Xq(_,$)}var V_,Xq=(_,$)=>{let q=(_.options instanceof Map?Array.from(_.options.values()):_.options).map((J,W)=>S(J._def,{...$,currentPath:[...$.currentPath,"anyOf",`${W}`]})).filter((J)=>!!J&&(!$.strictUnions||typeof J==="object"&&Object.keys(J).length>0));return q.length?{anyOf:q}:void 0};var n_=z(()=>{V();V_={ZodString:"string",ZodNumber:"number",ZodBigInt:"integer",ZodBoolean:"boolean",ZodNull:"null"}});function Qq(_,$){if(["ZodString","ZodNumber","ZodBigInt","ZodBoolean","ZodNull"].includes(_.innerType._def.typeName)&&(!_.innerType._def.checks||!_.innerType._def.checks.length)){if($.target==="openApi3")return{type:V_[_.innerType._def.typeName],nullable:!0};return{type:[V_[_.innerType._def.typeName],"null"]}}if($.target==="openApi3"){let J=S(_.innerType._def,{...$,currentPath:[...$.currentPath]});if(J&&"$ref"in J)return{allOf:[J],nullable:!0};return J&&{...J,nullable:!0}}let q=S(_.innerType._def,{...$,currentPath:[...$.currentPath,"anyOf","0"]});return q&&{anyOf:[q,{type:"null"}]}}var D$=z(()=>{V();n_()});function Yq(_,$){let q={type:"number"};if(!_.checks)return q;for(let J of _.checks)switch(J.kind){case"int":q.type="integer",c_(q,"type",J.message,$);break;case"min":if($.target==="jsonSchema7")if(J.inclusive)N(q,"minimum",J.value,J.message,$);else N(q,"exclusiveMinimum",J.value,J.message,$);else{if(!J.inclusive)q.exclusiveMinimum=!0;N(q,"minimum",J.value,J.message,$)}break;case"max":if($.target==="jsonSchema7")if(J.inclusive)N(q,"maximum",J.value,J.message,$);else N(q,"exclusiveMaximum",J.value,J.message,$);else{if(!J.inclusive)q.exclusiveMaximum=!0;N(q,"maximum",J.value,J.message,$)}break;case"multipleOf":N(q,"multipleOf",J.value,J.message,$);break}return q}var w$=z(()=>{d()});function Gq(_,$){let q=$.target==="openAi",J={type:"object",properties:{}},W=[],X=_.shape();for(let Y in X){let Q=X[Y];if(Q===void 0||Q._def===void 0)continue;let v=h3(Q);if(v&&q){if(Q._def.typeName==="ZodOptional")Q=Q._def.innerType;if(!Q.isNullable())Q=Q.nullable();v=!1}let R=S(Q._def,{...$,currentPath:[...$.currentPath,"properties",Y],propertyPath:[...$.currentPath,"properties",Y]});if(R===void 0)continue;if(J.properties[Y]=R,!v)W.push(Y)}if(W.length)J.required=W;let H=T3(_,$);if(H!==void 0)J.additionalProperties=H;return J}function T3(_,$){if(_.catchall._def.typeName!=="ZodNever")return S(_.catchall._def,{...$,currentPath:[...$.currentPath,"additionalProperties"]});switch(_.unknownKeys){case"passthrough":return $.allowedAdditionalProperties;case"strict":return $.rejectedAdditionalProperties;case"strip":return $.removeAdditionalStrategy==="strict"?$.allowedAdditionalProperties:$.rejectedAdditionalProperties}}function h3(_){try{return _.isOptional()}catch{return!0}}var b$=z(()=>{V()});var Mq=(_,$)=>{if($.currentPath.toString()===$.propertyPath?.toString())return S(_.innerType._def,$);let q=S(_.innerType._def,{...$,currentPath:[...$.currentPath,"anyOf","1"]});return q?{anyOf:[{not:E($)},q]}:E($)};var z$=z(()=>{V();g()});var Bq=(_,$)=>{if($.pipeStrategy==="input")return S(_.in._def,$);else if($.pipeStrategy==="output")return S(_.out._def,$);let q=S(_.in._def,{...$,currentPath:[...$.currentPath,"allOf","0"]}),J=S(_.out._def,{...$,currentPath:[...$.currentPath,"allOf",q?"1":"0"]});return{allOf:[q,J].filter((W)=>W!==void 0)}};var S$=z(()=>{V()});function Dq(_,$){return S(_.type._def,$)}var v$=z(()=>{V()});function wq(_,$){let J={type:"array",uniqueItems:!0,items:S(_.valueType._def,{...$,currentPath:[...$.currentPath,"items"]})};if(_.minSize)N(J,"minItems",_.minSize.value,_.minSize.message,$);if(_.maxSize)N(J,"maxItems",_.maxSize.value,_.maxSize.message,$);return J}var j$=z(()=>{d();V()});function bq(_,$){if(_.rest)return{type:"array",minItems:_.items.length,items:_.items.map((q,J)=>S(q._def,{...$,currentPath:[...$.currentPath,"items",`${J}`]})).reduce((q,J)=>J===void 0?q:[...q,J],[]),additionalItems:S(_.rest._def,{...$,currentPath:[...$.currentPath,"additionalItems"]})};else return{type:"array",minItems:_.items.length,maxItems:_.items.length,items:_.items.map((q,J)=>S(q._def,{...$,currentPath:[...$.currentPath,"items",`${J}`]})).reduce((q,J)=>J===void 0?q:[...q,J],[])}}var A$=z(()=>{V()});function zq(_){return{not:E(_)}}var O$=z(()=>{g()});function Sq(_){return E(_)}var N$=z(()=>{g()});var vq=(_,$)=>{return S(_.innerType._def,$)};var E$=z(()=>{V()});var jq=(_,$,q)=>{switch($){case M.ZodString:return T_(_,q);case M.ZodNumber:return Yq(_,q);case M.ZodObject:return Gq(_,q);case M.ZodBigInt:return r$(_,q);case M.ZodBoolean:return o$();case M.ZodDate:return e_(_,q);case M.ZodUndefined:return zq(q);case M.ZodNull:return Wq(q);case M.ZodArray:return i$(_,q);case M.ZodUnion:case M.ZodDiscriminatedUnion:return Hq(_,q);case M.ZodIntersection:return s$(_,q);case M.ZodTuple:return bq(_,q);case M.ZodRecord:return y_(_,q);case M.ZodLiteral:return e$(_,q);case M.ZodEnum:return a$(_);case M.ZodNativeEnum:return qq(_);case M.ZodNullable:return Qq(_,q);case M.ZodOptional:return Mq(_,q);case M.ZodMap:return $q(_,q);case M.ZodSet:return wq(_,q);case M.ZodLazy:return()=>_.getter()._def;case M.ZodPromise:return Dq(_,q);case M.ZodNaN:case M.ZodNever:return Jq(q);case M.ZodEffects:return t$(_,q);case M.ZodAny:return E(q);case M.ZodUnknown:return Sq(q);case M.ZodDefault:return d$(_,q);case M.ZodBranded:return m_(_,q);case M.ZodReadonly:return vq(_,q);case M.ZodCatch:return c$(_,q);case M.ZodPipeline:return Bq(_,q);case M.ZodFunction:case M.ZodVoid:case M.ZodSymbol:return;default:return((J)=>{return})($)}};var U$=z(()=>{k_();g();d_();t_();a_();l_();s_();_$();$$();q$();J$();W$();X$();Y$();G$();M$();B$();D$();w$();b$();z$();S$();v$();x_();j$();h_();A$();O$();n_();N$();E$()});function S(_,$,q=!1){let J=$.seen.get(_);if($.override){let Y=$.override?.(_,$,J,q);if(Y!==F$)return Y}if(J&&!q){let Y=y3(J,$);if(Y!==void 0)return Y}let W={def:_,path:$.currentPath,jsonSchema:void 0};$.seen.set(_,W);let X=jq(_,_.typeName,$),H=typeof X==="function"?S(X(),$):X;if(H)x3(_,$,H);if($.postProcess){let Y=$.postProcess(H,_,$);return W.jsonSchema=H,Y}return W.jsonSchema=H,H}var y3=(_,$)=>{switch($.$refStrategy){case"root":return{$ref:_.path.join("/")};case"relative":return{$ref:I_($.currentPath,_.path)};case"none":case"seen":{if(_.path.length<$.currentPath.length&&_.path.every((q,J)=>$.currentPath[J]===q))return console.warn(`Recursive reference detected at ${$.currentPath.join("/")}! Defaulting to any`),E($);return $.$refStrategy==="seen"?E($):void 0}}},x3=(_,$,q)=>{if(_.description){if(q.description=_.description,$.markdownDescription)q.markdownDescription=_.description}return q};var V=z(()=>{L_();U$();P_();g()});var Aq=(_)=>{let $=f$(_),q=$.name!==void 0?[...$.basePath,$.definitionPath,$.name]:$.basePath;return{...$,flags:{hasReferencedOpenAiAnyType:!1},currentPath:q,propertyPath:void 0,seen:new Map(Object.entries($.definitions).map(([J,W])=>[W._def,{def:W._def,path:[...$.basePath,$.definitionPath,J],jsonSchema:void 0}]))}};var V$=z(()=>{L_()});var n3=(_,$)=>{let q=Aq($),J=typeof $==="object"&&$.definitions?Object.entries($.definitions).reduce((Q,[v,R])=>({...Q,[v]:S(R._def,{...q,currentPath:[...q.basePath,q.definitionPath,v]},!0)??E(q)}),{}):void 0,W=typeof $==="string"?$:$?.nameStrategy==="title"?void 0:$?.name,X=S(_._def,W===void 0?q:{...q,currentPath:[...q.basePath,q.definitionPath,W]},!1)??E(q),H=typeof $==="object"&&$.name!==void 0&&$.nameStrategy==="title"?$.name:void 0;if(H!==void 0)X.title=H;if(q.flags.hasReferencedOpenAiAnyType){if(!J)J={};if(!J[q.openAiAnyTypeName])J[q.openAiAnyTypeName]={type:["string","number","integer","boolean","array","null"],items:{$ref:q.$refStrategy==="relative"?"1":[...q.basePath,q.definitionPath,q.openAiAnyTypeName].join("/")}}}let Y=W===void 0?J?{...X,[q.definitionPath]:J}:X:{$ref:[...q.$refStrategy==="relative"?[]:q.basePath,q.definitionPath,W].join("/"),[q.definitionPath]:{...J,[W]:X}};if(q.target==="jsonSchema7")Y.$schema="http://json-schema.org/draft-07/schema#";else if(q.target==="jsonSchema2019-09"||q.target==="openAi")Y.$schema="https://json-schema.org/draft/2019-09/schema#";if(q.target==="openAi"&&(("anyOf"in Y)||("oneOf"in Y)||("allOf"in Y)||("type"in Y)&&Array.isArray(Y.type)))console.warn("Warning: OpenAI may not support schemas with unions as roots! Try wrapping it in an object property.");return Y};var R$=z(()=>{V();V$();g()});var Oq=()=>{};var Z3=z(()=>{R$();L_();V$();d();P_();V();Oq();g();d_();t_();a_();l_();s_();_$();$$();q$();J$();W$();X$();Y$();G$();M$();B$();D$();w$();b$();z$();S$();v$();E$();x_();j$();h_();A$();O$();n_();N$();U$();R$()});
6
+ export{f as yV,k3 as zV,p$ as AV,n3 as BV,Z3 as CV};
@@ -1,2 +1,2 @@
1
- import{dda as B,gda as K,i8 as Z,k8 as f,xca as $,yca as y}from"./cli-0.1.12-vzga2are.mjs";import{Bha as E,tha as Y}from"./cli-0.1.12-ra3sby5b.mjs";import{Una as N,Vna as x}from"./cli-0.1.12-1hv04bp7.mjs";import{existsSync as S}from"node:fs";import{homedir as F}from"node:os";import{join as X}from"node:path";function _(){if(Y())return;try{return $().read()?.gemini?.accessToken?.trim()||void 0}catch{return}}function J(b){let w=b?.trim();return w?w:void 0}function V(b=process.env){return J(b.GOOGLE_CLOUD_PROJECT)??J(b.GCLOUD_PROJECT)??J(b.GOOGLE_PROJECT_ID)}function D(b=process.env){let w=J(b.GEMINI_AUTH_MODE)?.toLowerCase();if(w==="api-key"||w==="access-token"||w==="adc")return w;return}function P(b=process.env){let w=J(b.GOOGLE_APPLICATION_CREDENTIALS),q=new Set;if(w)q.add(w);q.add(X(F(),".config","gcloud","application_default_credentials.json"));let O=J(b.APPDATA);if(O)q.add(X(O,"gcloud","application_default_credentials.json"));return[...q]}function k(b=process.env){return P(b).some((w)=>S(w))}function G(b){if(typeof b==="string")return J(b);return J(b?.token)}async function A(){let{GoogleAuth:b}=await import("google-auth-library");return new b({scopes:[z]})}async function L(b,w){if(!k(b))return{kind:"none"};try{let q=await(w.createGoogleAuth??A)(),O=await q.getClient(),R=G(await O.getAccessToken());if(!R)return{kind:"none"};let Q=V(b)??(typeof q.getProjectId==="function"?J(await q.getProjectId().catch(()=>{return})):void 0);return{kind:"adc",credential:R,...Q?{projectId:Q}:{}}}catch{return{kind:"none"}}}async function s(b=process.env,w={}){let q=D(b),O=B(),R=O?.transport==="gemini"?J(O.apiKey):void 0,U=q==="access-token"||q==="adc"?void 0:R;if(U&&(q===void 0||q==="api-key"))return{kind:"api-key",credential:U};let Q=q==="api-key"||q==="adc"?void 0:J(_());if(Q&&(q===void 0||q==="access-token")){let W=V(b);return{kind:"access-token",credential:Q,...W?{projectId:W}:{}}}if(q==="api-key"||q==="access-token")return{kind:"none"};if(w.createGoogleAuth)return L(b,w);return T(J(b.GOOGLE_APPLICATION_CREDENTIALS),J(b.APPDATA),F(),V(b))}var z="https://www.googleapis.com/auth/cloud-platform",C=300000,T;var g=N(()=>{K();E();f();y();T=Z(async(b,w,q,O)=>L({GOOGLE_APPLICATION_CREDENTIALS:b,APPDATA:w,GOOGLE_CLOUD_PROJECT:O,GCLOUD_PROJECT:O,GOOGLE_PROJECT_ID:O,HOME:q},{}),C)});
2
- export{D as i6,s as j6,g as k6};
1
+ import{A6 as Z,C6 as f,Paa as $,Qaa as y,vba as B,yba as K}from"./cli-0.1.14-2f7s5xbd.mjs";import{Ffa as Y,Nfa as E}from"./cli-0.1.14-s9m1y93w.mjs";import{bma as N,cma as x}from"./cli-0.1.14-qn4ftczz.mjs";import{existsSync as S}from"node:fs";import{homedir as F}from"node:os";import{join as X}from"node:path";function _(){if(Y())return;try{return $().read()?.gemini?.accessToken?.trim()||void 0}catch{return}}function J(b){let w=b?.trim();return w?w:void 0}function V(b=process.env){return J(b.GOOGLE_CLOUD_PROJECT)??J(b.GCLOUD_PROJECT)??J(b.GOOGLE_PROJECT_ID)}function D(b=process.env){let w=J(b.GEMINI_AUTH_MODE)?.toLowerCase();if(w==="api-key"||w==="access-token"||w==="adc")return w;return}function P(b=process.env){let w=J(b.GOOGLE_APPLICATION_CREDENTIALS),q=new Set;if(w)q.add(w);q.add(X(F(),".config","gcloud","application_default_credentials.json"));let O=J(b.APPDATA);if(O)q.add(X(O,"gcloud","application_default_credentials.json"));return[...q]}function k(b=process.env){return P(b).some((w)=>S(w))}function G(b){if(typeof b==="string")return J(b);return J(b?.token)}async function A(){let{GoogleAuth:b}=await import("google-auth-library");return new b({scopes:[z]})}async function L(b,w){if(!k(b))return{kind:"none"};try{let q=await(w.createGoogleAuth??A)(),O=await q.getClient(),R=G(await O.getAccessToken());if(!R)return{kind:"none"};let Q=V(b)??(typeof q.getProjectId==="function"?J(await q.getProjectId().catch(()=>{return})):void 0);return{kind:"adc",credential:R,...Q?{projectId:Q}:{}}}catch{return{kind:"none"}}}async function s(b=process.env,w={}){let q=D(b),O=B(),R=O?.transport==="gemini"?J(O.apiKey):void 0,U=q==="access-token"||q==="adc"?void 0:R;if(U&&(q===void 0||q==="api-key"))return{kind:"api-key",credential:U};let Q=q==="api-key"||q==="adc"?void 0:J(_());if(Q&&(q===void 0||q==="access-token")){let W=V(b);return{kind:"access-token",credential:Q,...W?{projectId:W}:{}}}if(q==="api-key"||q==="access-token")return{kind:"none"};if(w.createGoogleAuth)return L(b,w);return T(J(b.GOOGLE_APPLICATION_CREDENTIALS),J(b.APPDATA),F(),V(b))}var z="https://www.googleapis.com/auth/cloud-platform",C=300000,T;var g=N(()=>{K();E();f();y();T=Z(async(b,w,q,O)=>L({GOOGLE_APPLICATION_CREDENTIALS:b,APPDATA:w,GOOGLE_CLOUD_PROJECT:O,GCLOUD_PROJECT:O,GOOGLE_PROJECT_ID:O,HOME:q},{}),C)});
2
+ export{D as A4,s as B4,g as C4};
@@ -1,3 +1,3 @@
1
- import{q as j,r as v}from"./cli-0.1.12-c47ape20.mjs";import{sf as C}from"./cli-0.1.12-8tdckdxp.mjs";import{eP as S,fP as b}from"./cli-0.1.12-7mjpbm22.mjs";import{GV as R,IV as E}from"./cli-0.1.12-5ye0t0xd.mjs";import{J6 as h,s6 as k}from"./cli-0.1.12-rwzav5h1.mjs";import{$da as w,Yda as Z,_da as U,aea as z}from"./cli-0.1.12-j6gjfwh5.mjs";import{dfa as L,qfa as I}from"./cli-0.1.12-g8mny195.mjs";import{Gga as f,Mga as p,Oga as D,Pga as T,Sga as u,eha as M,hha as l}from"./cli-0.1.12-rzpc0tr9.mjs";U();I();z();E();C();var F={init_retry_max_attempts:3,init_retry_base_delay_ms:500,init_retry_jitter_fraction:0.25,init_retry_max_delay_ms:4000,http_timeout_ms:1e4,uuid_dedup_buffer_size:2000,heartbeat_interval_ms:20000,heartbeat_jitter_fraction:0.1,token_refresh_buffer_ms:300000,teardown_archive_timeout_ms:1500,connect_timeout_ms:15000,min_version:"0.0.0",should_show_app_upgrade_message:!1},m=w(()=>Z.object({init_retry_max_attempts:Z.number().int().min(1).max(10).default(3),init_retry_base_delay_ms:Z.number().int().min(100).default(500),init_retry_jitter_fraction:Z.number().min(0).max(1).default(0.25),init_retry_max_delay_ms:Z.number().int().min(500).default(4000),http_timeout_ms:Z.number().int().min(2000).default(1e4),uuid_dedup_buffer_size:Z.number().int().min(100).max(50000).default(2000),heartbeat_interval_ms:Z.number().int().min(5000).max(30000).default(20000),heartbeat_jitter_fraction:Z.number().min(0).max(0.5).default(0.1),token_refresh_buffer_ms:Z.number().int().min(30000).max(1800000).default(300000),teardown_archive_timeout_ms:Z.number().int().min(500).max(2000).default(1500),connect_timeout_ms:Z.number().int().min(5000).max(60000).default(15000),min_version:Z.string().refine((J)=>{try{return R(J,"0.0.0"),!0}catch{return!1}}).default("0.0.0"),should_show_app_upgrade_message:Z.boolean().default(!1)}));async function y(){let J=await L("tengu_bridge_repl_v2_config",F),K=m().safeParse(J);return K.success?K.data:F}async function o(){let J=await y();if(J.min_version&&R("99.0.0",J.min_version))return`Your version of Claudio (99.0.0) is too old for Remote Control.
1
+ import{G as j,H as v}from"./cli-0.1.14-vp1kn532.mjs";import{vf as C}from"./cli-0.1.14-373staaj.mjs";import{YO as S,ZO as b}from"./cli-0.1.14-k8nwm06m.mjs";import{qV as R,sV as E}from"./cli-0.1.14-fspxpmh7.mjs";import{$4 as h,K4 as k}from"./cli-0.1.14-stv1d0q3.mjs";import{oca as Z,qca as U,rca as w,sca as z}from"./cli-0.1.14-kmsvd61a.mjs";import{Ida as I,vda as L}from"./cli-0.1.14-z8j2n955.mjs";import{Yea as f,cfa as p,efa as D,ffa as T,ifa as u,wfa as M,zfa as l}from"./cli-0.1.14-2mzb5ath.mjs";U();I();z();E();C();var F={init_retry_max_attempts:3,init_retry_base_delay_ms:500,init_retry_jitter_fraction:0.25,init_retry_max_delay_ms:4000,http_timeout_ms:1e4,uuid_dedup_buffer_size:2000,heartbeat_interval_ms:20000,heartbeat_jitter_fraction:0.1,token_refresh_buffer_ms:300000,teardown_archive_timeout_ms:1500,connect_timeout_ms:15000,min_version:"0.0.0",should_show_app_upgrade_message:!1},m=w(()=>Z.object({init_retry_max_attempts:Z.number().int().min(1).max(10).default(3),init_retry_base_delay_ms:Z.number().int().min(100).default(500),init_retry_jitter_fraction:Z.number().min(0).max(1).default(0.25),init_retry_max_delay_ms:Z.number().int().min(500).default(4000),http_timeout_ms:Z.number().int().min(2000).default(1e4),uuid_dedup_buffer_size:Z.number().int().min(100).max(50000).default(2000),heartbeat_interval_ms:Z.number().int().min(5000).max(30000).default(20000),heartbeat_jitter_fraction:Z.number().min(0).max(0.5).default(0.1),token_refresh_buffer_ms:Z.number().int().min(30000).max(1800000).default(300000),teardown_archive_timeout_ms:Z.number().int().min(500).max(2000).default(1500),connect_timeout_ms:Z.number().int().min(5000).max(60000).default(15000),min_version:Z.string().refine((J)=>{try{return R(J,"0.0.0"),!0}catch{return!1}}).default("0.0.0"),should_show_app_upgrade_message:Z.boolean().default(!1)}));async function y(){let J=await L("tengu_bridge_repl_v2_config",F),K=m().safeParse(J);return K.success?K.data:F}async function o(){let J=await y();if(J.min_version&&R("99.0.0",J.min_version))return`Your version of Claudio (99.0.0) is too old for Remote Control.
2
2
  Version ${J.min_version} or higher is required. Run \`claudio update\` to update.`;return null}h();u();function JJ(J){let K=Buffer.from(J,"base64url").toString("utf-8"),X=T(K);if(!X||typeof X!=="object"||!("version"in X)||X.version!==1)throw Error(`Unsupported work secret version: ${X&&typeof X==="object"&&"version"in X?X.version:"unknown"}`);let Y=X;if(typeof Y.session_ingress_token!=="string"||Y.session_ingress_token.length===0)throw Error("Invalid work secret: missing or empty session_ingress_token");if(typeof Y.api_base_url!=="string")throw Error("Invalid work secret: missing api_base_url");return X}function KJ(J,K){let X=new URL(J).hostname,Y=X==="localhost"||X==="127.0.0.1",x=Y?"ws":"wss",H=Y?"v2":"v1",P=J.replace(/^https?:\/\//,"").replace(/\/+$/,"");return`${x}://${P}/${H}/session_ingress/ws/${K}`}function QJ(J,K){if(J===K)return!0;let X=J.slice(J.lastIndexOf("_")+1),Y=K.slice(K.lastIndexOf("_")+1);return X.length>=4&&X===Y}function XJ(J,K){return`${J.replace(/\/+$/,"")}/v1/code/sessions/${K}`}async function B(J,K){let X=await k.post(`${J}/worker/register`,{},{headers:{Authorization:`Bearer ${K}`,"Content-Type":"application/json","anthropic-version":"2023-06-01"},timeout:1e4}),Y=X.data?.worker_epoch,x=typeof Y==="string"?Number(Y):Y;if(typeof x!=="number"||!Number.isFinite(x)||!Number.isSafeInteger(x))throw Error(`registerWorker: invalid worker_epoch in response: ${D(X.data)}`);return x}l();p();b();function WJ(J){return{write:(K)=>J.write(K),writeBatch:(K)=>J.writeBatch(K),close:()=>J.close(),isConnectedStatus:()=>J.isConnectedStatus(),getStateLabel:()=>J.getStateLabel(),setOnData:(K)=>J.setOnData(K),setOnClose:(K)=>J.setOnClose(K),setOnConnect:(K)=>J.setOnConnect(K),connect:()=>void J.connect(),getLastSequenceNum:()=>0,get droppedBatchCount(){return J.droppedBatchCount},reportState:()=>{},reportMetadata:()=>{},reportDelivery:()=>{},flush:()=>Promise.resolve()}}async function HJ(J){let{sessionUrl:K,ingressToken:X,sessionId:Y,initialSequenceNum:x,getAuthToken:H}=J,P;if(H)P=()=>{let Q=H();if(!Q)return{};return{Authorization:`Bearer ${Q}`}};else S(X);let O=J.epoch??await B(K,X);M(`[bridge:repl] CCR v2: worker sessionId=${Y} epoch=${O}${J.epoch!==void 0?" (from /bridge)":" (via registerWorker)"}`);let V=new URL(K);V.pathname=V.pathname.replace(/\/$/,"")+"/worker/events/stream";let q=new v(V,{},Y,void 0,x,P),G,$=new j(q,new URL(K),{getAuthHeaders:P,heartbeatIntervalMs:J.heartbeatIntervalMs,heartbeatJitterFraction:J.heartbeatJitterFraction,onEpochMismatch:()=>{M("[bridge:repl] CCR v2: epoch superseded (409) — closing for poll-loop recovery");try{$.close(),q.close(),G?.(4090)}catch(Q){M(`[bridge:repl] CCR v2: error during epoch-mismatch cleanup: ${f(Q)}`,{level:"error"})}throw Error("epoch superseded")}});q.setOnEvent((Q)=>{$.reportDelivery(Q.event_id,"received"),$.reportDelivery(Q.event_id,"processed")});let _,N=!1,A=!1;return{write(Q){return $.writeEvent(Q)},async writeBatch(Q){for(let W of Q){if(A)break;await $.writeEvent(W)}},close(){A=!0,$.close(),q.close()},isConnectedStatus(){return N},getStateLabel(){if(q.isClosedStatus())return"closed";if(q.isConnectedStatus())return N?"connected":"init";return"connecting"},setOnData(Q){q.setOnData(Q)},setOnClose(Q){G=Q,q.setOnClose((W)=>{$.close(),Q(W??4092)})},setOnConnect(Q){_=Q},getLastSequenceNum(){return q.getLastSequenceNum()},droppedBatchCount:0,reportState(Q){$.reportState(Q)},reportMetadata(Q){$.reportMetadata(Q)},reportDelivery(Q,W){$.reportDelivery(Q,W)},flush(){return $.flush()},connect(){if(!J.outboundOnly)q.connect();$.initialize(O).then(()=>{N=!0,M(`[bridge:repl] v2 transport ready for writes (epoch=${O}, sse=${q.isConnectedStatus()?"open":"opening"})`),_?.()},(Q)=>{M(`[bridge:repl] CCR v2 initialize failed: ${f(Q)}`,{level:"error"}),$.close(),q.close(),G?.(4091)})}}}class g{_active=!1;_pending=[];get active(){return this._active}get pendingCount(){return this._pending.length}start(){this._active=!0}end(){return this._active=!1,this._pending.splice(0)}enqueue(...J){if(!this._active)return!1;return this._pending.push(...J),!0}drop(){this._active=!1;let J=this._pending.length;return this._pending.length=0,J}deactivate(){this._active=!1}}
3
- export{y as a,o as b,JJ as c,KJ as d,QJ as e,XJ as f,WJ as g,HJ as h,g as i};
3
+ export{y as u,o as v,JJ as w,KJ as x,QJ as y,XJ as z,WJ as A,HJ as B,g as C};
@@ -1,2 +1,2 @@
1
- import{k5 as v,l5 as C}from"./cli-0.1.12-y9598sy3.mjs";import{J6 as V,s6 as Z}from"./cli-0.1.12-rwzav5h1.mjs";import{D7 as W,E7 as O,xca as x,yca as Y}from"./cli-0.1.12-vzga2are.mjs";import{Rea as X,Sea as U}from"./cli-0.1.12-4wwhk7dc.mjs";import{efa as P,ifa as Q,qfa as H}from"./cli-0.1.12-g8mny195.mjs";import{Gga as w,Mga as I,Oga as R,Sga as L,eha as f,hha as M}from"./cli-0.1.12-rzpc0tr9.mjs";import{vna as N,wna as F}from"./cli-0.1.12-vgbc3g9x.mjs";import{Rna as h,Una as B}from"./cli-0.1.12-1hv04bp7.mjs";import{hostname as E}from"os";function $(){return P(G,!1)}function u(){if(!$())return;return y()}function n(){y.cache?.clear?.()}function o(){if(!$())return;let i=x();try{let q=i.read();if(q?.trustedDeviceToken)delete q.trustedDeviceToken,i.update(q)}catch{}y.cache?.clear?.()}async function t(){try{if(!await Q(G)){f(`[trusted-device] Gate ${G} is off, skipping enrollment`);return}if(process.env.CLAUDE_TRUSTED_DEVICE_TOKEN){f("[trusted-device] CLAUDE_TRUSTED_DEVICE_TOKEN env var is set, skipping enrollment (env var takes precedence)");return}let{getClaudeAIOAuthTokens:i}=(C(),h(v)),q=i()?.accessToken;if(!q){f("[trusted-device] No OAuth token, skipping enrollment");return}let J=x();if(W()){f("[trusted-device] Essential traffic only, skipping enrollment");return}let b=X().BASE_API_URL,m;try{m=await Z.post(`${b}/api/auth/trusted_devices`,{display_name:`Claude Code on ${E()} · ${process.platform}`},{headers:{Authorization:`Bearer ${q}`,"Content-Type":"application/json"},timeout:1e4,validateStatus:(j)=>j<500})}catch(j){f(`[trusted-device] Enrollment request failed: ${w(j)}`);return}if(m.status!==200&&m.status!==201){f(`[trusted-device] Enrollment failed ${m.status}: ${R(m.data).slice(0,200)}`);return}let z=m.data?.device_token;if(!z||typeof z!=="string"){f("[trusted-device] Enrollment response missing device_token field");return}try{let j=J.read();if(!j){f("[trusted-device] Cannot read storage, skipping token persist");return}j.trustedDeviceToken=z;let K=J.update(j);if(!K.success){f(`[trusted-device] Failed to persist token: ${K.warning??"unknown"}`);return}y.cache?.clear?.(),f(`[trusted-device] Enrolled device_id=${m.data.device_id??"unknown"}`)}catch(j){f(`[trusted-device] Storage write failed: ${w(j)}`)}}catch(i){f(`[trusted-device] Enrollment error: ${w(i)}`)}}var G="tengu_sessions_elevated_auth_enforcement",y;var d=B(()=>{V();F();U();H();M();I();O();Y();L();y=N(()=>{let i=process.env.CLAUDE_TRUSTED_DEVICE_TOKEN;if(i)return i;return x().read()?.trustedDeviceToken})});
2
- export{u as pP,n as qP,o as rP,t as sP,d as tP};
1
+ import{x3 as v,y3 as C}from"./cli-0.1.14-a6kwmqhz.mjs";import{$4 as V,K4 as Z}from"./cli-0.1.14-stv1d0q3.mjs";import{Paa as x,Qaa as Y,V5 as W,W5 as O}from"./cli-0.1.14-2f7s5xbd.mjs";import{hda as X,ida as U}from"./cli-0.1.14-9vc52dnj.mjs";import{Ada as Q,Ida as H,wda as P}from"./cli-0.1.14-z8j2n955.mjs";import{Yea as w,cfa as I,efa as R,ifa as L,wfa as f,zfa as M}from"./cli-0.1.14-2mzb5ath.mjs";import{Lla as N,Mla as F}from"./cli-0.1.14-akz49g5v.mjs";import{_la as h,bma as B}from"./cli-0.1.14-qn4ftczz.mjs";import{hostname as E}from"os";function $(){return P(G,!1)}function u(){if(!$())return;return y()}function n(){y.cache?.clear?.()}function o(){if(!$())return;let i=x();try{let q=i.read();if(q?.trustedDeviceToken)delete q.trustedDeviceToken,i.update(q)}catch{}y.cache?.clear?.()}async function t(){try{if(!await Q(G)){f(`[trusted-device] Gate ${G} is off, skipping enrollment`);return}if(process.env.CLAUDE_TRUSTED_DEVICE_TOKEN){f("[trusted-device] CLAUDE_TRUSTED_DEVICE_TOKEN env var is set, skipping enrollment (env var takes precedence)");return}let{getClaudeAIOAuthTokens:i}=(C(),h(v)),q=i()?.accessToken;if(!q){f("[trusted-device] No OAuth token, skipping enrollment");return}let J=x();if(W()){f("[trusted-device] Essential traffic only, skipping enrollment");return}let b=X().BASE_API_URL,m;try{m=await Z.post(`${b}/api/auth/trusted_devices`,{display_name:`Claude Code on ${E()} · ${process.platform}`},{headers:{Authorization:`Bearer ${q}`,"Content-Type":"application/json"},timeout:1e4,validateStatus:(j)=>j<500})}catch(j){f(`[trusted-device] Enrollment request failed: ${w(j)}`);return}if(m.status!==200&&m.status!==201){f(`[trusted-device] Enrollment failed ${m.status}: ${R(m.data).slice(0,200)}`);return}let z=m.data?.device_token;if(!z||typeof z!=="string"){f("[trusted-device] Enrollment response missing device_token field");return}try{let j=J.read();if(!j){f("[trusted-device] Cannot read storage, skipping token persist");return}j.trustedDeviceToken=z;let K=J.update(j);if(!K.success){f(`[trusted-device] Failed to persist token: ${K.warning??"unknown"}`);return}y.cache?.clear?.(),f(`[trusted-device] Enrolled device_id=${m.data.device_id??"unknown"}`)}catch(j){f(`[trusted-device] Storage write failed: ${w(j)}`)}}catch(i){f(`[trusted-device] Enrollment error: ${w(i)}`)}}var G="tengu_sessions_elevated_auth_enforcement",y;var d=B(()=>{V();F();U();H();M();I();O();Y();L();y=N(()=>{let i=process.env.CLAUDE_TRUSTED_DEVICE_TOKEN;if(i)return i;return x().read()?.trustedDeviceToken})});
2
+ export{u as hP,n as iP,o as jP,t as kP,d as lP};
@@ -0,0 +1,2 @@
1
+ import{iv as A,kv as O,rt as M,st as G}from"./cli-0.1.14-j5sbzwhy.mjs";import{AU as w,CU as d,GU as v,QS as U,fV as W}from"./cli-0.1.14-seq2fm2d.mjs";import{EV as a,FV as i,GV as S}from"./cli-0.1.14-hjktwgtk.mjs";import{HV as N}from"./cli-0.1.14-harz1d9d.mjs";import{baa as I,oaa as P}from"./cli-0.1.14-2f7s5xbd.mjs";import{yea as h,zea as L}from"./cli-0.1.14-t3fga5je.mjs";import{Zla as b,bma as B}from"./cli-0.1.14-qn4ftczz.mjs";function V(t){let e=T.c(18),{onDone:g,isStandaloneDialog:D,externalIncludes:r}=t,s;if(e[0]===Symbol.for("react.memo_cache_sentinel"))s=[],e[0]=s;else s=e[0];k.default.useEffect(q,s);let c;if(e[1]!==g)c=(E)=>{if(E==="no")h("tengu_claude_md_external_includes_dialog_declined",{}),I($);else h("tengu_claude_md_external_includes_dialog_accepted",{}),I(Y);g()},e[1]=g,e[2]=c;else c=e[2];let l=c,u;if(e[3]!==l)u=()=>{l("no")},e[3]=l,e[4]=u;else u=e[4];let y=u,C=!D,x=!D,m;if(e[5]===Symbol.for("react.memo_cache_sentinel"))m=a(d,{children:"This project's CLAUDE.md imports files outside the current working directory. Never allow this for third-party repositories."}),e[5]=m;else m=e[5];let o;if(e[6]!==r)o=r&&r.length>0&&i(w,{flexDirection:"column",children:[a(d,{dimColor:!0,children:"External imports:"}),r.map(R)]}),e[6]=r,e[7]=o;else o=e[7];let p;if(e[8]===Symbol.for("react.memo_cache_sentinel"))p=i(d,{dimColor:!0,children:["Important: Only use Claude Code with files you trust. Accessing untrusted files may pose security risks"," ",a(v,{url:"https://code.claude.com/docs/en/security"})," "]}),e[8]=p;else p=e[8];let f;if(e[9]===Symbol.for("react.memo_cache_sentinel"))f=[{label:"Yes, allow external imports",value:"yes"},{label:"No, disable external imports",value:"no"}],e[9]=f;else f=e[9];let n;if(e[10]!==l)n=a(A,{options:f,onChange:(E)=>l(E)}),e[10]=l,e[11]=n;else n=e[11];let _;if(e[12]!==y||e[13]!==n||e[14]!==C||e[15]!==x||e[16]!==o)_=i(M,{title:"Allow external CLAUDE.md file imports?",color:"warning",onCancel:y,hideBorder:C,hideInputGuide:x,children:[m,o,p,n]}),e[12]=y,e[13]=n,e[14]=C,e[15]=x,e[16]=o,e[17]=_;else _=e[17];return _}function R(t,e){return i(d,{dimColor:!0,children:[" ",t.path]},e)}function Y(t){return{...t,hasClaudeMdExternalIncludesApproved:!0,hasClaudeMdExternalIncludesWarningShown:!0}}function $(t){return{...t,hasClaudeMdExternalIncludesApproved:!1,hasClaudeMdExternalIncludesWarningShown:!0}}function q(){h("tengu_claude_md_includes_dialog_shown",{})}var T,k;var z=B(()=>{L();W();P();O();G();S();T=b(U(),1),k=b(N(),1)});
2
+ export{V as kf,z as lf};
@@ -1,2 +1,2 @@
1
- import{yh as V,zh as v}from"./cli-0.1.12-fx0zg3d9.mjs";import{rX as U,tX as J}from"./cli-0.1.12-04jw23rj.mjs";import{RX as W,SX as B}from"./cli-0.1.12-c23pyffx.mjs";import{J1 as N,K1 as _,N4 as Q,S4 as R,l5 as $}from"./cli-0.1.12-y9598sy3.mjs";import{I7 as K,N7 as Z}from"./cli-0.1.12-vzga2are.mjs";import{Una as Y}from"./cli-0.1.12-1hv04bp7.mjs";async function w(y,X){try{if(R()){let q=Q(),z=!1;if(q?.subscriptionType&&q?.rateLimitTier)z=q.subscriptionType==="max"&&q.rateLimitTier==="default_claude_max_20x";else if(q?.accessToken){let H=await N(q.accessToken);z=H?.organization?.organization_type==="claude_max"&&H?.organization?.rate_limit_tier==="default_claude_max_20x"}if(z)return setTimeout(y,0,"You are already on the highest Max subscription plan. For additional usage, run /login to switch to an API usage-billed account."),null}return await W("https://claude.ai/upgrade/max"),U(V,{startingMessage:"Starting new login following /upgrade. Exit with Ctrl-C to use existing account.",onDone:(q)=>{X.onChangeAPIKey(),y(q?"Login successful":"Login interrupted")}})}catch(G){K(G),setTimeout(y,0,"Failed to open browser. Please visit https://claude.ai/upgrade/max to upgrade.")}return null}var E=Y(()=>{_();$();B();Z();v();J()});
2
- export{w as mb,E as nb};
1
+ import{Dg as V,Eg as v}from"./cli-0.1.14-ja2ctrem.mjs";import{EV as U,GV as J}from"./cli-0.1.14-hjktwgtk.mjs";import{cW as W,dW as B}from"./cli-0.1.14-cp2pada5.mjs";import{WZ as N,XZ as _,_2 as Q,d3 as R,y3 as $}from"./cli-0.1.14-a6kwmqhz.mjs";import{_5 as K,d6 as Z}from"./cli-0.1.14-2f7s5xbd.mjs";import{bma as Y}from"./cli-0.1.14-qn4ftczz.mjs";async function w(y,X){try{if(R()){let q=Q(),z=!1;if(q?.subscriptionType&&q?.rateLimitTier)z=q.subscriptionType==="max"&&q.rateLimitTier==="default_claude_max_20x";else if(q?.accessToken){let H=await N(q.accessToken);z=H?.organization?.organization_type==="claude_max"&&H?.organization?.rate_limit_tier==="default_claude_max_20x"}if(z)return setTimeout(y,0,"You are already on the highest Max subscription plan. For additional usage, run /login to switch to an API usage-billed account."),null}return await W("https://claude.ai/upgrade/max"),U(V,{startingMessage:"Starting new login following /upgrade. Exit with Ctrl-C to use existing account.",onDone:(q)=>{X.onChangeAPIKey(),y(q?"Login successful":"Login interrupted")}})}catch(G){K(G),setTimeout(y,0,"Failed to open browser. Please visit https://claude.ai/upgrade/max to upgrade.")}return null}var E=Y(()=>{_();$();B();Z();v();J()});
2
+ export{w as ub,E as vb};
@@ -0,0 +1,2 @@
1
+ import{bma as b}from"./cli-0.1.14-qn4ftczz.mjs";var g="Agent",j="Task",m;var d=b(()=>{m=new Set(["Explore","Plan"])});
2
+ export{g as jda,j as kda,m as lda,d as mda};
@@ -1,4 +1,4 @@
1
- import{Sna as T,Una as J5,Vna as M}from"./cli-0.1.12-1hv04bp7.mjs";var T0=T((G5,K1)=>{K1.exports=function(){return typeof Promise==="function"&&Promise.prototype&&Promise.prototype.then}});var y=T((O2)=>{var X0,E2=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];O2.getSymbolSize=function(q){if(!q)throw Error('"version" cannot be null or undefined');if(q<1||q>40)throw Error('"version" should be in range from 1 to 40');return q*4+17};O2.getSymbolTotalCodewords=function(q){return E2[q]};O2.getBCHDigit=function($){let q=0;while($!==0)q++,$>>>=1;return q};O2.setToSJISFunction=function(q){if(typeof q!=="function")throw Error('"toSJISFunc" is not a valid function.');X0=q};O2.isKanjiModeEnabled=function(){return typeof X0<"u"};O2.toSJIS=function(q){return X0(q)}});var J0=T((M2)=>{M2.L={bit:1};M2.M={bit:0};M2.Q={bit:3};M2.H={bit:2};function W2($){if(typeof $!=="string")throw Error("Param is not a string");switch($.toLowerCase()){case"l":case"low":return M2.L;case"m":case"medium":return M2.M;case"q":case"quartile":return M2.Q;case"h":case"high":return M2.H;default:throw Error("Unknown EC Level: "+$)}}M2.isValid=function(q){return q&&typeof q.bit<"u"&&q.bit>=0&&q.bit<4};M2.from=function(q,Z){if(M2.isValid(q))return q;try{return W2(q)}catch(J){return Z}}});var X1=T((N5,T1)=>{function O1(){this.buffer=[],this.length=0}O1.prototype={get:function($){let q=Math.floor($/8);return(this.buffer[q]>>>7-$%8&1)===1},put:function($,q){for(let Z=0;Z<q;Z++)this.putBit(($>>>q-Z-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function($){let q=Math.floor(this.length/8);if(this.buffer.length<=q)this.buffer.push(0);if($)this.buffer[q]|=128>>>this.length%8;this.length++}};T1.exports=O1});var V1=T((W5,G1)=>{function s($){if(!$||$<1)throw Error("BitMatrix size must be defined and greater than 0");this.size=$,this.data=new Uint8Array($*$),this.reservedBit=new Uint8Array($*$)}s.prototype.set=function($,q,Z,J){let Q=$*this.size+q;if(this.data[Q]=Z,J)this.reservedBit[Q]=!0};s.prototype.get=function($,q){return this.data[$*this.size+q]};s.prototype.xor=function($,q,Z){this.data[$*this.size+q]^=Z};s.prototype.isReserved=function($,q){return this.reservedBit[$*this.size+q]};G1.exports=s});var N1=T((B2)=>{var _2=y().getSymbolSize;B2.getRowColCoords=function(q){if(q===1)return[];let Z=Math.floor(q/7)+2,J=_2(q),Q=J===145?26:Math.ceil((J-13)/(2*Z-2))*2,F=[J-7];for(let K=1;K<Z-1;K++)F[K]=F[K-1]-Q;return F.push(6),F.reverse()};B2.getPositions=function(q){let Z=[],J=B2.getRowColCoords(q),Q=J.length;for(let F=0;F<Q;F++)for(let K=0;K<Q;K++){if(F===0&&K===0||F===0&&K===Q-1||F===Q-1&&K===0)continue;Z.push([J[F],J[K]])}return Z}});var W1=T((z2)=>{var L2=y().getSymbolSize;z2.getPositions=function(q){let Z=L2(q);return[[0,0],[Z-7,0],[0,Z-7]]}});var L1=T((w2)=>{w2.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};var v={N1:3,N2:3,N3:40,N4:10};w2.isValid=function(q){return q!=null&&q!==""&&!isNaN(q)&&q>=0&&q<=7};w2.from=function(q){return w2.isValid(q)?parseInt(q,10):void 0};w2.getPenaltyN1=function(q){let Z=q.size,J=0,Q=0,F=0,K=null,U=null;for(let R=0;R<Z;R++){Q=F=0,K=U=null;for(let H=0;H<Z;H++){let Y=q.get(R,H);if(Y===K)Q++;else{if(Q>=5)J+=v.N1+(Q-5);K=Y,Q=1}if(Y=q.get(H,R),Y===U)F++;else{if(F>=5)J+=v.N1+(F-5);U=Y,F=1}}if(Q>=5)J+=v.N1+(Q-5);if(F>=5)J+=v.N1+(F-5)}return J};w2.getPenaltyN2=function(q){let Z=q.size,J=0;for(let Q=0;Q<Z-1;Q++)for(let F=0;F<Z-1;F++){let K=q.get(Q,F)+q.get(Q,F+1)+q.get(Q+1,F)+q.get(Q+1,F+1);if(K===4||K===0)J++}return J*v.N2};w2.getPenaltyN3=function(q){let Z=q.size,J=0,Q=0,F=0;for(let K=0;K<Z;K++){Q=F=0;for(let U=0;U<Z;U++){if(Q=Q<<1&2047|q.get(K,U),U>=10&&(Q===1488||Q===93))J++;if(F=F<<1&2047|q.get(U,K),U>=10&&(F===1488||F===93))J++}}return J*v.N3};w2.getPenaltyN4=function(q){let Z=0,J=q.data.length;for(let F=0;F<J;F++)Z+=q.data[F];return Math.abs(Math.ceil(Z*100/J/5)-10)*v.N4};function S2($,q,Z){switch($){case w2.Patterns.PATTERN000:return(q+Z)%2===0;case w2.Patterns.PATTERN001:return q%2===0;case w2.Patterns.PATTERN010:return Z%3===0;case w2.Patterns.PATTERN011:return(q+Z)%3===0;case w2.Patterns.PATTERN100:return(Math.floor(q/2)+Math.floor(Z/3))%2===0;case w2.Patterns.PATTERN101:return q*Z%2+q*Z%3===0;case w2.Patterns.PATTERN110:return(q*Z%2+q*Z%3)%2===0;case w2.Patterns.PATTERN111:return(q*Z%3+(q+Z)%2)%2===0;default:throw Error("bad maskPattern:"+$)}}w2.applyMask=function(q,Z){let J=Z.size;for(let Q=0;Q<J;Q++)for(let F=0;F<J;F++){if(Z.isReserved(F,Q))continue;Z.xor(F,Q,S2(q,F,Q))}};w2.getBestMask=function(q,Z){let J=Object.keys(w2.Patterns).length,Q=0,F=1/0;for(let K=0;K<J;K++){Z(K),w2.applyMask(K,q);let U=w2.getPenaltyN1(q)+w2.getPenaltyN2(q)+w2.getPenaltyN3(q)+w2.getPenaltyN4(q);if(w2.applyMask(K,q),U<F)F=U,Q=K}return Q}});var V0=T((y2)=>{var g=J0(),Q0=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],F0=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];y2.getBlocksCount=function(q,Z){switch(Z){case g.L:return Q0[(q-1)*4+0];case g.M:return Q0[(q-1)*4+1];case g.Q:return Q0[(q-1)*4+2];case g.H:return Q0[(q-1)*4+3];default:return}};y2.getTotalCodewordsCount=function(q,Z){switch(Z){case g.L:return F0[(q-1)*4+0];case g.M:return F0[(q-1)*4+1];case g.Q:return F0[(q-1)*4+2];case g.H:return F0[(q-1)*4+3];default:return}}});var z1=T((D2)=>{var o=new Uint8Array(512),K0=new Uint8Array(256);(function(){let q=1;for(let Z=0;Z<255;Z++)if(o[Z]=q,K0[q]=Z,q<<=1,q&256)q^=285;for(let Z=255;Z<512;Z++)o[Z]=o[Z-255]})();D2.log=function(q){if(q<1)throw Error("log("+q+")");return K0[q]};D2.exp=function(q){return o[q]};D2.mul=function(q,Z){if(q===0||Z===0)return 0;return o[K0[q]+K0[Z]]}});var S1=T((c2)=>{var A0=z1();c2.mul=function(q,Z){let J=new Uint8Array(q.length+Z.length-1);for(let Q=0;Q<q.length;Q++)for(let F=0;F<Z.length;F++)J[Q+F]^=A0.mul(q[Q],Z[F]);return J};c2.mod=function(q,Z){let J=new Uint8Array(q);while(J.length-Z.length>=0){let Q=J[0];for(let K=0;K<Z.length;K++)J[K]^=A0.mul(Z[K],Q);let F=0;while(F<J.length&&J[F]===0)F++;J=J.slice(F)}return J};c2.generateECPolynomial=function(q){let Z=new Uint8Array([1]);for(let J=0;J<q;J++)Z=c2.mul(Z,new Uint8Array([1,A0.exp(J)]));return Z}});var C1=T((z5,f1)=>{var w1=S1();function N0($){if(this.genPoly=void 0,this.degree=$,this.degree)this.initialize(this.degree)}N0.prototype.initialize=function(q){this.degree=q,this.genPoly=w1.generateECPolynomial(this.degree)};N0.prototype.encode=function(q){if(!this.genPoly)throw Error("Encoder not initialized");let Z=new Uint8Array(q.length+this.degree);Z.set(q);let J=w1.mod(Z,this.genPoly),Q=this.degree-J.length;if(Q>0){let F=new Uint8Array(this.degree);return F.set(J,Q),F}return J};f1.exports=N0});var W0=T((x2)=>{x2.isValid=function(q){return!isNaN(q)&&q>=1&&q<=40}});var M0=T((i2)=>{var t="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";t=t.replace(/u/g,"\\u");var n2="(?:(?![A-Z0-9 $%*+\\-./:]|"+t+`)(?:.|[\r
1
+ import{$la as T,bma as J5,cma as M}from"./cli-0.1.14-qn4ftczz.mjs";var T0=T((G5,K1)=>{K1.exports=function(){return typeof Promise==="function"&&Promise.prototype&&Promise.prototype.then}});var y=T((O2)=>{var X0,E2=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];O2.getSymbolSize=function(q){if(!q)throw Error('"version" cannot be null or undefined');if(q<1||q>40)throw Error('"version" should be in range from 1 to 40');return q*4+17};O2.getSymbolTotalCodewords=function(q){return E2[q]};O2.getBCHDigit=function($){let q=0;while($!==0)q++,$>>>=1;return q};O2.setToSJISFunction=function(q){if(typeof q!=="function")throw Error('"toSJISFunc" is not a valid function.');X0=q};O2.isKanjiModeEnabled=function(){return typeof X0<"u"};O2.toSJIS=function(q){return X0(q)}});var J0=T((M2)=>{M2.L={bit:1};M2.M={bit:0};M2.Q={bit:3};M2.H={bit:2};function W2($){if(typeof $!=="string")throw Error("Param is not a string");switch($.toLowerCase()){case"l":case"low":return M2.L;case"m":case"medium":return M2.M;case"q":case"quartile":return M2.Q;case"h":case"high":return M2.H;default:throw Error("Unknown EC Level: "+$)}}M2.isValid=function(q){return q&&typeof q.bit<"u"&&q.bit>=0&&q.bit<4};M2.from=function(q,Z){if(M2.isValid(q))return q;try{return W2(q)}catch(J){return Z}}});var X1=T((N5,T1)=>{function O1(){this.buffer=[],this.length=0}O1.prototype={get:function($){let q=Math.floor($/8);return(this.buffer[q]>>>7-$%8&1)===1},put:function($,q){for(let Z=0;Z<q;Z++)this.putBit(($>>>q-Z-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function($){let q=Math.floor(this.length/8);if(this.buffer.length<=q)this.buffer.push(0);if($)this.buffer[q]|=128>>>this.length%8;this.length++}};T1.exports=O1});var V1=T((W5,G1)=>{function s($){if(!$||$<1)throw Error("BitMatrix size must be defined and greater than 0");this.size=$,this.data=new Uint8Array($*$),this.reservedBit=new Uint8Array($*$)}s.prototype.set=function($,q,Z,J){let Q=$*this.size+q;if(this.data[Q]=Z,J)this.reservedBit[Q]=!0};s.prototype.get=function($,q){return this.data[$*this.size+q]};s.prototype.xor=function($,q,Z){this.data[$*this.size+q]^=Z};s.prototype.isReserved=function($,q){return this.reservedBit[$*this.size+q]};G1.exports=s});var N1=T((B2)=>{var _2=y().getSymbolSize;B2.getRowColCoords=function(q){if(q===1)return[];let Z=Math.floor(q/7)+2,J=_2(q),Q=J===145?26:Math.ceil((J-13)/(2*Z-2))*2,F=[J-7];for(let K=1;K<Z-1;K++)F[K]=F[K-1]-Q;return F.push(6),F.reverse()};B2.getPositions=function(q){let Z=[],J=B2.getRowColCoords(q),Q=J.length;for(let F=0;F<Q;F++)for(let K=0;K<Q;K++){if(F===0&&K===0||F===0&&K===Q-1||F===Q-1&&K===0)continue;Z.push([J[F],J[K]])}return Z}});var W1=T((z2)=>{var L2=y().getSymbolSize;z2.getPositions=function(q){let Z=L2(q);return[[0,0],[Z-7,0],[0,Z-7]]}});var L1=T((w2)=>{w2.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};var v={N1:3,N2:3,N3:40,N4:10};w2.isValid=function(q){return q!=null&&q!==""&&!isNaN(q)&&q>=0&&q<=7};w2.from=function(q){return w2.isValid(q)?parseInt(q,10):void 0};w2.getPenaltyN1=function(q){let Z=q.size,J=0,Q=0,F=0,K=null,U=null;for(let R=0;R<Z;R++){Q=F=0,K=U=null;for(let H=0;H<Z;H++){let Y=q.get(R,H);if(Y===K)Q++;else{if(Q>=5)J+=v.N1+(Q-5);K=Y,Q=1}if(Y=q.get(H,R),Y===U)F++;else{if(F>=5)J+=v.N1+(F-5);U=Y,F=1}}if(Q>=5)J+=v.N1+(Q-5);if(F>=5)J+=v.N1+(F-5)}return J};w2.getPenaltyN2=function(q){let Z=q.size,J=0;for(let Q=0;Q<Z-1;Q++)for(let F=0;F<Z-1;F++){let K=q.get(Q,F)+q.get(Q,F+1)+q.get(Q+1,F)+q.get(Q+1,F+1);if(K===4||K===0)J++}return J*v.N2};w2.getPenaltyN3=function(q){let Z=q.size,J=0,Q=0,F=0;for(let K=0;K<Z;K++){Q=F=0;for(let U=0;U<Z;U++){if(Q=Q<<1&2047|q.get(K,U),U>=10&&(Q===1488||Q===93))J++;if(F=F<<1&2047|q.get(U,K),U>=10&&(F===1488||F===93))J++}}return J*v.N3};w2.getPenaltyN4=function(q){let Z=0,J=q.data.length;for(let F=0;F<J;F++)Z+=q.data[F];return Math.abs(Math.ceil(Z*100/J/5)-10)*v.N4};function S2($,q,Z){switch($){case w2.Patterns.PATTERN000:return(q+Z)%2===0;case w2.Patterns.PATTERN001:return q%2===0;case w2.Patterns.PATTERN010:return Z%3===0;case w2.Patterns.PATTERN011:return(q+Z)%3===0;case w2.Patterns.PATTERN100:return(Math.floor(q/2)+Math.floor(Z/3))%2===0;case w2.Patterns.PATTERN101:return q*Z%2+q*Z%3===0;case w2.Patterns.PATTERN110:return(q*Z%2+q*Z%3)%2===0;case w2.Patterns.PATTERN111:return(q*Z%3+(q+Z)%2)%2===0;default:throw Error("bad maskPattern:"+$)}}w2.applyMask=function(q,Z){let J=Z.size;for(let Q=0;Q<J;Q++)for(let F=0;F<J;F++){if(Z.isReserved(F,Q))continue;Z.xor(F,Q,S2(q,F,Q))}};w2.getBestMask=function(q,Z){let J=Object.keys(w2.Patterns).length,Q=0,F=1/0;for(let K=0;K<J;K++){Z(K),w2.applyMask(K,q);let U=w2.getPenaltyN1(q)+w2.getPenaltyN2(q)+w2.getPenaltyN3(q)+w2.getPenaltyN4(q);if(w2.applyMask(K,q),U<F)F=U,Q=K}return Q}});var V0=T((y2)=>{var g=J0(),Q0=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],F0=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];y2.getBlocksCount=function(q,Z){switch(Z){case g.L:return Q0[(q-1)*4+0];case g.M:return Q0[(q-1)*4+1];case g.Q:return Q0[(q-1)*4+2];case g.H:return Q0[(q-1)*4+3];default:return}};y2.getTotalCodewordsCount=function(q,Z){switch(Z){case g.L:return F0[(q-1)*4+0];case g.M:return F0[(q-1)*4+1];case g.Q:return F0[(q-1)*4+2];case g.H:return F0[(q-1)*4+3];default:return}}});var z1=T((D2)=>{var o=new Uint8Array(512),K0=new Uint8Array(256);(function(){let q=1;for(let Z=0;Z<255;Z++)if(o[Z]=q,K0[q]=Z,q<<=1,q&256)q^=285;for(let Z=255;Z<512;Z++)o[Z]=o[Z-255]})();D2.log=function(q){if(q<1)throw Error("log("+q+")");return K0[q]};D2.exp=function(q){return o[q]};D2.mul=function(q,Z){if(q===0||Z===0)return 0;return o[K0[q]+K0[Z]]}});var S1=T((c2)=>{var A0=z1();c2.mul=function(q,Z){let J=new Uint8Array(q.length+Z.length-1);for(let Q=0;Q<q.length;Q++)for(let F=0;F<Z.length;F++)J[Q+F]^=A0.mul(q[Q],Z[F]);return J};c2.mod=function(q,Z){let J=new Uint8Array(q);while(J.length-Z.length>=0){let Q=J[0];for(let K=0;K<Z.length;K++)J[K]^=A0.mul(Z[K],Q);let F=0;while(F<J.length&&J[F]===0)F++;J=J.slice(F)}return J};c2.generateECPolynomial=function(q){let Z=new Uint8Array([1]);for(let J=0;J<q;J++)Z=c2.mul(Z,new Uint8Array([1,A0.exp(J)]));return Z}});var C1=T((z5,f1)=>{var w1=S1();function N0($){if(this.genPoly=void 0,this.degree=$,this.degree)this.initialize(this.degree)}N0.prototype.initialize=function(q){this.degree=q,this.genPoly=w1.generateECPolynomial(this.degree)};N0.prototype.encode=function(q){if(!this.genPoly)throw Error("Encoder not initialized");let Z=new Uint8Array(q.length+this.degree);Z.set(q);let J=w1.mod(Z,this.genPoly),Q=this.degree-J.length;if(Q>0){let F=new Uint8Array(this.degree);return F.set(J,Q),F}return J};f1.exports=N0});var W0=T((x2)=>{x2.isValid=function(q){return!isNaN(q)&&q>=1&&q<=40}});var M0=T((i2)=>{var t="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";t=t.replace(/u/g,"\\u");var n2="(?:(?![A-Z0-9 $%*+\\-./:]|"+t+`)(?:.|[\r
2
2
  ]))+`;i2.KANJI=new RegExp(t,"g");i2.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");i2.BYTE=new RegExp(n2,"g");i2.NUMERIC=new RegExp("[0-9]+","g");i2.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");var p2=new RegExp("^"+t+"$"),d2=new RegExp("^[0-9]+$"),r2=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");i2.testKanji=function(q){return p2.test(q)};i2.testNumeric=function(q){return d2.test(q)};i2.testAlphanumeric=function(q){return r2.test(q)}});var u=T((F6)=>{var J6=W0(),j0=M0();F6.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]};F6.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]};F6.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]};F6.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]};F6.MIXED={bit:-1};F6.getCharCountIndicator=function(q,Z){if(!q.ccBits)throw Error("Invalid mode: "+q);if(!J6.isValid(Z))throw Error("Invalid version: "+Z);if(Z>=1&&Z<10)return q.ccBits[0];else if(Z<27)return q.ccBits[1];return q.ccBits[2]};F6.getBestModeForData=function(q){if(j0.testNumeric(q))return F6.NUMERIC;else if(j0.testAlphanumeric(q))return F6.ALPHANUMERIC;else if(j0.testKanji(q))return F6.KANJI;else return F6.BYTE};F6.toString=function(q){if(q&&q.id)return q.id;throw Error("Invalid mode")};F6.isValid=function(q){return q&&q.bit&&q.ccBits};function Q6($){if(typeof $!=="string")throw Error("Param is not a string");switch($.toLowerCase()){case"numeric":return F6.NUMERIC;case"alphanumeric":return F6.ALPHANUMERIC;case"kanji":return F6.KANJI;case"byte":return F6.BYTE;default:throw Error("Unknown mode: "+$)}}F6.from=function(q,Z){if(F6.isValid(q))return q;try{return Q6(q)}catch(J){return Z}}});var P1=T((G6)=>{var U0=y(),E6=V0(),g1=J0(),D=u(),z0=W0(),u1=U0.getBCHDigit(7973);function O6($,q,Z){for(let J=1;J<=40;J++)if(q<=G6.getCapacity(J,Z,$))return J;return}function D1($,q){return D.getCharCountIndicator($,q)+4}function T6($,q){let Z=0;return $.forEach(function(J){let Q=D1(J.mode,q);Z+=Q+J.getBitsLength()}),Z}function X6($,q){for(let Z=1;Z<=40;Z++)if(T6($,Z)<=G6.getCapacity(Z,q,D.MIXED))return Z;return}G6.from=function(q,Z){if(z0.isValid(q))return parseInt(q,10);return Z};G6.getCapacity=function(q,Z,J){if(!z0.isValid(q))throw Error("Invalid QR Code version");if(typeof J>"u")J=D.BYTE;let Q=U0.getSymbolTotalCodewords(q),F=E6.getTotalCodewordsCount(q,Z),K=(Q-F)*8;if(J===D.MIXED)return K;let U=K-D1(J,q);switch(J){case D.NUMERIC:return Math.floor(U/10*3);case D.ALPHANUMERIC:return Math.floor(U/11*2);case D.KANJI:return Math.floor(U/13);case D.BYTE:default:return Math.floor(U/8)}};G6.getBestVersionForData=function(q,Z){let J,Q=g1.from(Z,g1.M);if(Array.isArray(q)){if(q.length>1)return X6(q,Q);if(q.length===0)return 1;J=q[0]}else J=q;return O6(J.mode,J.getLength(),Q)};G6.getEncodedBits=function(q){if(!z0.isValid(q)||q<7)throw Error("Invalid QR Code version");let Z=q<<12;while(U0.getBCHDigit(Z)-u1>=0)Z^=7973<<U0.getBCHDigit(Z)-u1;return q<<12|Z}});var c1=T((W6)=>{var k0=y(),v1=k0.getBCHDigit(1335);W6.getEncodedBits=function(q,Z){let J=q.bit<<3|Z,Q=J<<10;while(k0.getBCHDigit(Q)-v1>=0)Q^=1335<<k0.getBCHDigit(Q)-v1;return(J<<10|Q)^21522}});var m1=T((y5,b1)=>{var j6=u();function m($){this.mode=j6.NUMERIC,this.data=$.toString()}m.getBitsLength=function(q){return 10*Math.floor(q/3)+(q%3?q%3*3+1:0)};m.prototype.getLength=function(){return this.data.length};m.prototype.getBitsLength=function(){return m.getBitsLength(this.data.length)};m.prototype.write=function(q){let Z,J,Q;for(Z=0;Z+3<=this.data.length;Z+=3)J=this.data.substr(Z,3),Q=parseInt(J,10),q.put(Q,10);let F=this.data.length-Z;if(F>0)J=this.data.substr(Z),Q=parseInt(J,10),q.put(Q,F*3+1)};b1.exports=m});var l1=T((g5,x1)=>{var _6=u(),S0=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function x($){this.mode=_6.ALPHANUMERIC,this.data=$}x.getBitsLength=function(q){return 11*Math.floor(q/2)+6*(q%2)};x.prototype.getLength=function(){return this.data.length};x.prototype.getBitsLength=function(){return x.getBitsLength(this.data.length)};x.prototype.write=function(q){let Z;for(Z=0;Z+2<=this.data.length;Z+=2){let J=S0.indexOf(this.data[Z])*45;J+=S0.indexOf(this.data[Z+1]),q.put(J,11)}if(this.data.length%2)q.put(S0.indexOf(this.data[Z]),6)};x1.exports=x});var p1=T((u5,n1)=>{var B6=u();function l($){if(this.mode=B6.BYTE,typeof $==="string")this.data=new TextEncoder().encode($);else this.data=new Uint8Array($)}l.getBitsLength=function(q){return q*8};l.prototype.getLength=function(){return this.data.length};l.prototype.getBitsLength=function(){return l.getBitsLength(this.data.length)};l.prototype.write=function($){for(let q=0,Z=this.data.length;q<Z;q++)$.put(this.data[q],8)};n1.exports=l});var r1=T((D5,d1)=>{var I6=u(),L6=y();function n($){this.mode=I6.KANJI,this.data=$}n.getBitsLength=function(q){return q*13};n.prototype.getLength=function(){return this.data.length};n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.length)};n.prototype.write=function($){let q;for(q=0;q<this.data.length;q++){let Z=L6.toSJIS(this.data[q]);if(Z>=33088&&Z<=40956)Z-=33088;else if(Z>=57408&&Z<=60351)Z-=49472;else throw Error("Invalid SJIS character: "+this.data[q]+`
3
3
  Make sure your charset is UTF-8`);Z=(Z>>>8&255)*192+(Z&255),$.put(Z,13)}};d1.exports=n});var i1=T((h5,w0)=>{var e={single_source_shortest_paths:function($,q,Z){var J={},Q={};Q[q]=0;var F=e.PriorityQueue.make();F.push(q,0);var K,U,R,H,Y,E,O,X,G;while(!F.empty()){K=F.pop(),U=K.value,H=K.cost,Y=$[U]||{};for(R in Y)if(Y.hasOwnProperty(R)){if(E=Y[R],O=H+E,X=Q[R],G=typeof Q[R]>"u",G||X>O)Q[R]=O,F.push(R,O),J[R]=U}}if(typeof Z<"u"&&typeof Q[Z]>"u"){var A=["Could not find a path from ",q," to ",Z,"."].join("");throw Error(A)}return J},extract_shortest_path_from_predecessor_list:function($,q){var Z=[],J=q,Q;while(J)Z.push(J),Q=$[J],J=$[J];return Z.reverse(),Z},find_path:function($,q,Z){var J=e.single_source_shortest_paths($,q,Z);return e.extract_shortest_path_from_predecessor_list(J,Z)},PriorityQueue:{make:function($){var q=e.PriorityQueue,Z={},J;$=$||{};for(J in q)if(q.hasOwnProperty(J))Z[J]=q[J];return Z.queue=[],Z.sorter=$.sorter||q.default_sorter,Z},default_sorter:function($,q){return $.cost-q.cost},push:function($,q){var Z={value:$,cost:q};this.queue.push(Z),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};if(typeof w0<"u")w0.exports=e});var Z7=T((f6)=>{var N=u(),t1=m1(),e1=l1(),a1=p1(),q7=r1(),a=M0(),R0=y(),z6=i1();function s1($){return unescape(encodeURIComponent($)).length}function q0($,q,Z){let J=[],Q;while((Q=$.exec(Z))!==null)J.push({data:Q[0],index:Q.index,mode:q,length:Q[0].length});return J}function $7($){let q=q0(a.NUMERIC,N.NUMERIC,$),Z=q0(a.ALPHANUMERIC,N.ALPHANUMERIC,$),J,Q;if(R0.isKanjiModeEnabled())J=q0(a.BYTE,N.BYTE,$),Q=q0(a.KANJI,N.KANJI,$);else J=q0(a.BYTE_KANJI,N.BYTE,$),Q=[];return q.concat(Z,J,Q).sort(function(K,U){return K.index-U.index}).map(function(K){return{data:K.data,mode:K.mode,length:K.length}})}function f0($,q){switch(q){case N.NUMERIC:return t1.getBitsLength($);case N.ALPHANUMERIC:return e1.getBitsLength($);case N.KANJI:return q7.getBitsLength($);case N.BYTE:return a1.getBitsLength($)}}function k6($){return $.reduce(function(q,Z){let J=q.length-1>=0?q[q.length-1]:null;if(J&&J.mode===Z.mode)return q[q.length-1].data+=Z.data,q;return q.push(Z),q},[])}function S6($){let q=[];for(let Z=0;Z<$.length;Z++){let J=$[Z];switch(J.mode){case N.NUMERIC:q.push([J,{data:J.data,mode:N.ALPHANUMERIC,length:J.length},{data:J.data,mode:N.BYTE,length:J.length}]);break;case N.ALPHANUMERIC:q.push([J,{data:J.data,mode:N.BYTE,length:J.length}]);break;case N.KANJI:q.push([J,{data:J.data,mode:N.BYTE,length:s1(J.data)}]);break;case N.BYTE:q.push([{data:J.data,mode:N.BYTE,length:s1(J.data)}])}}return q}function w6($,q){let Z={},J={start:{}},Q=["start"];for(let F=0;F<$.length;F++){let K=$[F],U=[];for(let R=0;R<K.length;R++){let H=K[R],Y=""+F+R;U.push(Y),Z[Y]={node:H,lastCount:0},J[Y]={};for(let E=0;E<Q.length;E++){let O=Q[E];if(Z[O]&&Z[O].node.mode===H.mode)J[O][Y]=f0(Z[O].lastCount+H.length,H.mode)-f0(Z[O].lastCount,H.mode),Z[O].lastCount+=H.length;else{if(Z[O])Z[O].lastCount=H.length;J[O][Y]=f0(H.length,H.mode)+4+N.getCharCountIndicator(H.mode,q)}}}Q=U}for(let F=0;F<Q.length;F++)J[Q[F]].end=0;return{map:J,table:Z}}function o1($,q){let Z,J=N.getBestModeForData($);if(Z=N.from(q,J),Z!==N.BYTE&&Z.bit<J.bit)throw Error('"'+$+'" cannot be encoded with mode '+N.toString(Z)+`.
4
4
  Suggested mode is: `+N.toString(J));if(Z===N.KANJI&&!R0.isKanjiModeEnabled())Z=N.BYTE;switch(Z){case N.NUMERIC:return new t1($);case N.ALPHANUMERIC:return new e1($);case N.KANJI:return new q7($);case N.BYTE:return new a1($)}}f6.fromArray=function(q){return q.reduce(function(Z,J){if(typeof J==="string")Z.push(o1(J,null));else if(J.data)Z.push(o1(J.data,J.mode));return Z},[])};f6.fromString=function(q,Z){let J=$7(q,R0.isKanjiModeEnabled()),Q=S6(J),F=w6(Q,Z),K=z6.find_path(F.map,"start","end"),U=[];for(let R=1;R<K.length-1;R++)U.push(F.table[K[R]].node);return f6.fromArray(k6(U))};f6.rawSplit=function(q){return f6.fromArray($7(q,R0.isKanjiModeEnabled()))}});var P0=T((i6)=>{var Y0=y(),y0=J0(),g6=X1(),u6=V1(),D6=N1(),h6=W1(),D0=L1(),h0=V0(),P6=C1(),H0=P1(),v6=c1(),c6=u(),g0=Z7();function b6($,q){let Z=$.size,J=h6.getPositions(q);for(let Q=0;Q<J.length;Q++){let F=J[Q][0],K=J[Q][1];for(let U=-1;U<=7;U++){if(F+U<=-1||Z<=F+U)continue;for(let R=-1;R<=7;R++){if(K+R<=-1||Z<=K+R)continue;if(U>=0&&U<=6&&(R===0||R===6)||R>=0&&R<=6&&(U===0||U===6)||U>=2&&U<=4&&R>=2&&R<=4)$.set(F+U,K+R,!0,!0);else $.set(F+U,K+R,!1,!0)}}}}function m6($){let q=$.size;for(let Z=8;Z<q-8;Z++){let J=Z%2===0;$.set(Z,6,J,!0),$.set(6,Z,J,!0)}}function x6($,q){let Z=D6.getPositions(q);for(let J=0;J<Z.length;J++){let Q=Z[J][0],F=Z[J][1];for(let K=-2;K<=2;K++)for(let U=-2;U<=2;U++)if(K===-2||K===2||U===-2||U===2||K===0&&U===0)$.set(Q+K,F+U,!0,!0);else $.set(Q+K,F+U,!1,!0)}}function l6($,q){let Z=$.size,J=H0.getEncodedBits(q),Q,F,K;for(let U=0;U<18;U++)Q=Math.floor(U/3),F=U%3+Z-8-3,K=(J>>U&1)===1,$.set(Q,F,K,!0),$.set(F,Q,K,!0)}function u0($,q,Z){let J=$.size,Q=v6.getEncodedBits(q,Z),F,K;for(F=0;F<15;F++){if(K=(Q>>F&1)===1,F<6)$.set(F,8,K,!0);else if(F<8)$.set(F+1,8,K,!0);else $.set(J-15+F,8,K,!0);if(F<8)$.set(8,J-F-1,K,!0);else if(F<9)$.set(8,15-F-1+1,K,!0);else $.set(8,15-F-1,K,!0)}$.set(J-8,8,1,!0)}function n6($,q){let Z=$.size,J=-1,Q=Z-1,F=7,K=0;for(let U=Z-1;U>0;U-=2){if(U===6)U--;while(!0){for(let R=0;R<2;R++)if(!$.isReserved(Q,U-R)){let H=!1;if(K<q.length)H=(q[K]>>>F&1)===1;if($.set(Q,U-R,H),F--,F===-1)K++,F=7}if(Q+=J,Q<0||Z<=Q){Q-=J,J=-J;break}}}}function p6($,q,Z){let J=new g6;Z.forEach(function(R){J.put(R.mode.bit,4),J.put(R.getLength(),c6.getCharCountIndicator(R.mode,$)),R.write(J)});let Q=Y0.getSymbolTotalCodewords($),F=h0.getTotalCodewordsCount($,q),K=(Q-F)*8;if(J.getLengthInBits()+4<=K)J.put(0,4);while(J.getLengthInBits()%8!==0)J.putBit(0);let U=(K-J.getLengthInBits())/8;for(let R=0;R<U;R++)J.put(R%2?17:236,8);return d6(J,$,q)}function d6($,q,Z){let J=Y0.getSymbolTotalCodewords(q),Q=h0.getTotalCodewordsCount(q,Z),F=J-Q,K=h0.getBlocksCount(q,Z),U=J%K,R=K-U,H=Math.floor(J/K),Y=Math.floor(F/K),E=Y+1,O=H-Y,X=new P6(O),G=0,A=Array(K),V=Array(K),W=0,E0=new Uint8Array($.buffer);for(let b=0;b<K;b++){let O0=b<R?Y:E;A[b]=E0.slice(G,G+O0),V[b]=X.encode(A[b]),G+=O0,W=Math.max(W,O0)}let i=new Uint8Array(J),I=0,z,C;for(z=0;z<W;z++)for(C=0;C<K;C++)if(z<A[C].length)i[I++]=A[C][z];for(z=0;z<O;z++)for(C=0;C<K;C++)i[I++]=V[C][z];return i}function r6($,q,Z,J){let Q;if(Array.isArray($))Q=g0.fromArray($);else if(typeof $==="string"){let H=q;if(!H){let Y=g0.rawSplit($);H=H0.getBestVersionForData(Y,Z)}Q=g0.fromString($,H||40)}else throw Error("Invalid data");let F=H0.getBestVersionForData(Q,Z);if(!F)throw Error("The amount of data is too big to be stored in a QR Code");if(!q)q=F;else if(q<F)throw Error(`
@@ -12,4 +12,4 @@ Minimum version required to store current data is: `+F+`.
12
12
  `,typeof Z==="function")Z(null,U);return U}});var Z2=T((g4)=>{var f4="\x1B[47m\x1B[30m",C4="\x1B[40m\x1B[37m",y4=function($,q,Z){return{"00":"\x1B[0m "+$,"01":"\x1B[0m"+q+"▄"+$,"02":"\x1B[0m"+Z+"▄"+$,10:"\x1B[0m"+q+"▀"+$,11:" ",12:"▄",20:"\x1B[0m"+Z+"▀"+$,21:"▀",22:"█"}},q2=function($,q,Z,J){let Q=q+1;if(Z>=Q||J>=Q||J<-1||Z<-1)return"0";if(Z>=q||J>=q||J<0||Z<0)return"1";let F=J*q+Z;return $[F]?"2":"1"},$2=function($,q,Z,J){return q2($,q,Z,J)+q2($,q,Z,J+1)};g4.render=function($,q,Z){let J=$.modules.size,Q=$.modules.data,F=!!(q&&q.inverse),K=q&&q.inverse?C4:f4,H=y4(K,F?"\x1B[30m":"\x1B[37m",F?"\x1B[37m":"\x1B[30m"),Y=`\x1B[0m
13
13
  `+K,E=K;for(let O=-1;O<J+1;O+=2){for(let X=-1;X<J;X++)E+=H[$2(Q,J,X,O)];E+=H[$2(Q,J,J,O)]+Y}if(E+="\x1B[0m",typeof Z==="function")Z(null,E);return E}});var J2=T((P4)=>{var D4=a7(),h4=Z2();P4.render=function($,q,Z){if(q&&q.small)return h4.render($,q,Z);return D4.render($,q,Z)}});var $1=T((m4)=>{var c4=Z0();function Q2($,q){let Z=$.a/255,J=q+'="'+$.hex+'"';return Z<1?J+" "+q+'-opacity="'+Z.toFixed(2).slice(1)+'"':J}function q1($,q,Z){let J=$+q;if(typeof Z<"u")J+=" "+Z;return J}function b4($,q,Z){let J="",Q=0,F=!1,K=0;for(let U=0;U<$.length;U++){let R=Math.floor(U%q),H=Math.floor(U/q);if(!R&&!F)F=!0;if($[U]){if(K++,!(U>0&&R>0&&$[U-1]))J+=F?q1("M",R+Z,0.5+H+Z):q1("m",Q,0),Q=0,F=!1;if(!(R+1<q&&$[U+1]))J+=q1("h",K),K=0}else Q++}return J}m4.render=function(q,Z,J){let Q=c4.getOptions(Z),F=q.modules.size,K=q.modules.data,U=F+Q.margin*2,R=!Q.color.light.a?"":"<path "+Q2(Q.color.light,"fill")+' d="M0 0h'+U+"v"+U+'H0z"/>',H="<path "+Q2(Q.color.dark,"stroke")+' d="'+b4(K,F,Q.margin)+'"/>',Y='viewBox="0 0 '+U+" "+U+'"',O='<svg xmlns="http://www.w3.org/2000/svg" '+(!Q.width?"":'width="'+Q.width+'" height="'+Q.width+'" ')+Y+' shape-rendering="crispEdges">'+R+H+`</svg>
14
14
  `;if(typeof J==="function")J(null,O);return O}});var K2=T((n4)=>{var l4=$1();n4.render=l4.render;n4.renderToFile=function(q,Z,J,Q){if(typeof Q>"u")Q=J,J=void 0;let F=M("fs"),U='<?xml version="1.0" encoding="utf-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">'+n4.render(Z,J);F.writeFile(q,U,Q)}});var R2=T((i4)=>{var Z1=Z0();function d4($,q,Z){if($.clearRect(0,0,q.width,q.height),!q.style)q.style={};q.height=Z,q.width=Z,q.style.height=Z+"px",q.style.width=Z+"px"}function r4(){try{return document.createElement("canvas")}catch($){throw Error("You need to specify a canvas element")}}i4.render=function(q,Z,J){let Q=J,F=Z;if(typeof Q>"u"&&(!Z||!Z.getContext))Q=Z,Z=void 0;if(!Z)F=r4();Q=Z1.getOptions(Q);let K=Z1.getImageWidth(q.modules.size,Q),U=F.getContext("2d"),R=U.createImageData(K,K);return Z1.qrToImageData(R.data,q,Q),d4(U,F,K),U.putImageData(R,0,0),F};i4.renderToDataURL=function(q,Z,J){let Q=J;if(typeof Q>"u"&&(!Z||!Z.getContext))Q=Z,Z=void 0;if(!Q)Q={};let F=i4.render(q,Z,Q),K=Q.type||"image/png",U=Q.rendererOpts||{};return F.toDataURL(K,U.quality)}});var Y2=T((e4)=>{var o4=T0(),J1=P0(),H2=R2(),t4=$1();function Q1($,q,Z,J,Q){let F=[].slice.call(arguments,1),K=F.length,U=typeof F[K-1]==="function";if(!U&&!o4())throw Error("Callback required as last argument");if(U){if(K<2)throw Error("Too few arguments provided");if(K===2)Q=Z,Z=q,q=J=void 0;else if(K===3)if(q.getContext&&typeof Q>"u")Q=J,J=void 0;else Q=J,J=Z,Z=q,q=void 0}else{if(K<1)throw Error("Too few arguments provided");if(K===1)Z=q,q=J=void 0;else if(K===2&&!q.getContext)J=Z,Z=q,q=void 0;return new Promise(function(R,H){try{let Y=J1.create(Z,J);R($(Y,q,J))}catch(Y){H(Y)}})}try{let R=J1.create(Z,J);Q(null,$(R,q,J))}catch(R){Q(R)}}e4.create=J1.create;e4.toCanvas=Q1.bind(null,H2.render);e4.toDataURL=Q1.bind(null,H2.renderToDataURL);e4.toString=Q1.bind(null,function($,q,Z){return t4.render($,Z)})});function R5($,q,Z){if(typeof $>"u")throw Error("String required as first argument");if(typeof Z>"u")Z=q,q={};if(typeof Z!=="function")if(!Q5())throw Error("Callback required as last argument");else q=Z||{},Z=null;return{opts:q,cb:Z}}function H5($){switch($){case"svg":return U5;case"terminal":return K5;case"utf8":default:return F5}}function Y5($,q,Z){if(!Z.cb)return new Promise(function(J,Q){try{let F=F1.create(q,Z.opts);return $(F,Z.opts,function(K,U){return K?Q(K):J(U)})}catch(F){Q(F)}});try{let J=F1.create(q,Z.opts);return $(J,Z.opts,Z.cb)}catch(J){Z.cb(J)}}var Q5,F1,A$,F5,K5,U5,E5,O5,T5=function(q,Z,J){let Q=R5(q,Z,J),F=Q.opts?Q.opts.type:void 0,K=H5(F);return Y5(K.render,q,Q)};var X5=J5(()=>{Q5=T0(),F1=P0(),A$=o7(),F5=e7(),K5=J2(),U5=K2();E5=F1.create,O5=Y2().toCanvas});
15
- export{T5 as Ae,X5 as Be};
15
+ export{T5 as xe,X5 as ye};
@@ -1,2 +1,2 @@
1
- import{Bha as U,rha as q}from"./cli-0.1.12-ra3sby5b.mjs";import{Tna as L,Una as X}from"./cli-0.1.12-1hv04bp7.mjs";import{AsyncLocalStorage as F}from"async_hooks";function G(){return O.getStore()}function Y(z,B){return O.run(z,B)}function Z(){return O.getStore()!==void 0}function $(z){return{...z,isInProcess:!0}}var O;var Q=X(()=>{O=new F});var y={};L(y,{waitForTeammatesToBecomeIdle:()=>l,setDynamicTeamContext:()=>b,runWithTeammateContext:()=>Y,isTeammate:()=>u,isTeamLead:()=>S,isPlanModeRequired:()=>w,isInProcessTeammate:()=>Z,hasWorkingInProcessTeammates:()=>I,hasActiveInProcessTeammates:()=>P,getTeammateContext:()=>G,getTeammateColor:()=>f,getTeamName:()=>h,getParentSessionId:()=>_,getDynamicTeamContext:()=>v,getAgentName:()=>A,getAgentId:()=>E,createTeammateContext:()=>$,clearDynamicTeamContext:()=>j});function _(){let z=G();if(z)return z.parentSessionId;return D?.parentSessionId}function b(z){D=z}function j(){D=null}function v(){return D}function E(){let z=G();if(z)return z.agentId;return D?.agentId}function A(){let z=G();if(z)return z.agentName;return D?.agentName}function h(z){let B=G();if(B)return B.teamName;if(D?.teamName)return D.teamName;return z?.teamName}function u(){if(G())return!0;return!!(D?.agentId&&D?.teamName)}function f(){let z=G();if(z)return z.color;return D?.color}function w(){let z=G();if(z)return z.planModeRequired;if(D!==null)return D.planModeRequired;return q(process.env.CLAUDE_CODE_PLAN_MODE_REQUIRED)}function S(z){if(!z?.leadAgentId)return!1;let B=E(),H=z.leadAgentId;if(B===H)return!0;if(!B)return!0;return!1}function P(z){for(let B of Object.values(z.tasks))if(B.type==="in_process_teammate"&&B.status==="running")return!0;return!1}function I(z){for(let B of Object.values(z.tasks))if(B.type==="in_process_teammate"&&B.status==="running"&&!B.isIdle)return!0;return!1}function l(z,B){let H=[];for(let[M,J]of Object.entries(B.tasks))if(J.type==="in_process_teammate"&&J.status==="running"&&!J.isIdle)H.push(M);if(H.length===0)return Promise.resolve();return new Promise((M)=>{let J=H.length,R=()=>{if(J--,J===0)M()};z((V)=>{let N={...V.tasks};for(let W of H){let K=N[W];if(K&&K.type==="in_process_teammate")if(K.isIdle)R();else N[W]={...K,onIdleCallbacks:[...K.onIdleCallbacks??[],R]}}return{...V,tasks:N}})})}var D=null;var g=X(()=>{Q();U();Q()});
2
- export{G as _Q,Y as $Q,Z as aR,$ as bR,Q as cR,_ as dR,v as eR,E as fR,A as gR,h as hR,u as iR,f as jR,w as kR,S as lR,P as mR,I as nR,l as oR,y as pR,g as qR};
1
+ import{Dfa as q,Nfa as U}from"./cli-0.1.14-s9m1y93w.mjs";import{ama as L,bma as X}from"./cli-0.1.14-qn4ftczz.mjs";import{AsyncLocalStorage as F}from"async_hooks";function G(){return O.getStore()}function Y(z,B){return O.run(z,B)}function Z(){return O.getStore()!==void 0}function $(z){return{...z,isInProcess:!0}}var O;var Q=X(()=>{O=new F});var y={};L(y,{waitForTeammatesToBecomeIdle:()=>l,setDynamicTeamContext:()=>b,runWithTeammateContext:()=>Y,isTeammate:()=>u,isTeamLead:()=>S,isPlanModeRequired:()=>w,isInProcessTeammate:()=>Z,hasWorkingInProcessTeammates:()=>I,hasActiveInProcessTeammates:()=>P,getTeammateContext:()=>G,getTeammateColor:()=>f,getTeamName:()=>h,getParentSessionId:()=>_,getDynamicTeamContext:()=>v,getAgentName:()=>A,getAgentId:()=>E,createTeammateContext:()=>$,clearDynamicTeamContext:()=>j});function _(){let z=G();if(z)return z.parentSessionId;return D?.parentSessionId}function b(z){D=z}function j(){D=null}function v(){return D}function E(){let z=G();if(z)return z.agentId;return D?.agentId}function A(){let z=G();if(z)return z.agentName;return D?.agentName}function h(z){let B=G();if(B)return B.teamName;if(D?.teamName)return D.teamName;return z?.teamName}function u(){if(G())return!0;return!!(D?.agentId&&D?.teamName)}function f(){let z=G();if(z)return z.color;return D?.color}function w(){let z=G();if(z)return z.planModeRequired;if(D!==null)return D.planModeRequired;return q(process.env.CLAUDE_CODE_PLAN_MODE_REQUIRED)}function S(z){if(!z?.leadAgentId)return!1;let B=E(),H=z.leadAgentId;if(B===H)return!0;if(!B)return!0;return!1}function P(z){for(let B of Object.values(z.tasks))if(B.type==="in_process_teammate"&&B.status==="running")return!0;return!1}function I(z){for(let B of Object.values(z.tasks))if(B.type==="in_process_teammate"&&B.status==="running"&&!B.isIdle)return!0;return!1}function l(z,B){let H=[];for(let[M,J]of Object.entries(B.tasks))if(J.type==="in_process_teammate"&&J.status==="running"&&!J.isIdle)H.push(M);if(H.length===0)return Promise.resolve();return new Promise((M)=>{let J=H.length,R=()=>{if(J--,J===0)M()};z((V)=>{let N={...V.tasks};for(let W of H){let K=N[W];if(K&&K.type==="in_process_teammate")if(K.isIdle)R();else N[W]={...K,onIdleCallbacks:[...K.onIdleCallbacks??[],R]}}return{...V,tasks:N}})})}var D=null;var g=X(()=>{Q();U();Q()});
2
+ export{G as jR,Y as kR,Z as lR,$ as mR,Q as nR,_ as oR,v as pR,E as qR,A as rR,h as sR,u as tR,f as uR,w as vR,S as wR,P as xR,I as yR,l as zR,y as AR,g as BR};
@@ -1,2 +1,2 @@
1
- import{oF as x,rF as A}from"./cli-0.1.12-242der7s.mjs";import{Una as z}from"./cli-0.1.12-1hv04bp7.mjs";function H(q){if(!q)return 0;return q.activeAgents.filter((b)=>b.source!=="built-in").reduce((b,w)=>{let y=`${w.agentType}: ${w.whenToUse}`;return b+x(y)},0)}var G=15000;var B=z(()=>{A()});
2
- export{G as Te,H as Ue,B as Ve};
1
+ import{gF as x,jF as A}from"./cli-0.1.14-j5sbzwhy.mjs";import{bma as z}from"./cli-0.1.14-qn4ftczz.mjs";function H(q){if(!q)return 0;return q.activeAgents.filter((b)=>b.source!=="built-in").reduce((b,w)=>{let y=`${w.agentType}: ${w.whenToUse}`;return b+x(y)},0)}var G=15000;var B=z(()=>{A()});
2
+ export{G as Qe,H as Re,B as Se};