@claudiolabs/claudio 0.1.9 → 0.1.11

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 (814) hide show
  1. package/bin/claudio +50 -1
  2. package/dist/chunks/AgentTool-0.1.11-m06x003m.mjs +1 -0
  3. package/dist/chunks/App-0.1.11-z60c27dk.mjs +1 -0
  4. package/dist/chunks/ApproveApiKey-0.1.11-dpm879x7.mjs +1 -0
  5. package/dist/chunks/AssistantSessionChooser-0.1.11-kb5jvw8n.mjs +1 -0
  6. package/dist/chunks/AutoModeOptInDialog-0.1.11-dnqj2p8g.mjs +1 -0
  7. package/dist/chunks/BypassPermissionsModeDialog-0.1.11-h71pmj5p.mjs +1 -0
  8. package/dist/chunks/ClaudeInChromeOnboarding-0.1.11-vjwzqejw.mjs +1 -0
  9. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.1.11-0wpjjdn9.mjs +1 -0
  10. package/dist/chunks/ConsoleOAuthFlow-0.1.11-xzbcx3cw.mjs +1 -0
  11. package/dist/chunks/DiffDialog-0.1.11-k3zsm9tz.mjs +3 -0
  12. package/dist/chunks/Doctor-0.1.11-958cxvhj.mjs +1 -0
  13. package/dist/chunks/Grove-0.1.11-93bnbcec.mjs +1 -0
  14. package/dist/chunks/ITermBackend-0.1.11-xbxm144g.mjs +1 -0
  15. package/dist/chunks/InProcessTransport-0.1.11-xecmx0sw.mjs +1 -0
  16. package/dist/chunks/InvalidConfigDialog-0.1.11-vbeef1wb.mjs +1 -0
  17. package/dist/chunks/InvalidSettingsDialog-0.1.11-5bct7bny.mjs +1 -0
  18. package/dist/chunks/MigrationDialog-0.1.11-13kfzmtt.mjs +1 -0
  19. package/dist/chunks/Onboarding-0.1.11-kz5hnpx3.mjs +1 -0
  20. package/dist/chunks/ProviderManager-0.1.11-nggswmdv.mjs +1 -0
  21. package/dist/chunks/REPL-0.1.11-ctxx4039.mjs +1 -0
  22. package/dist/chunks/ResumeConversation-0.1.11-gwxzn4yg.mjs +1 -0
  23. package/dist/chunks/SnapshotUpdateDialog-0.1.11-h881m192.mjs +1 -0
  24. package/dist/chunks/TeleportProgress-0.1.11-z1ez7pce.mjs +1 -0
  25. package/dist/chunks/TeleportRepoMismatchDialog-0.1.11-pjt2g9ss.mjs +1 -0
  26. package/dist/chunks/TeleportResumeWrapper-0.1.11-9y29zset.mjs +1 -0
  27. package/dist/chunks/TmuxBackend-0.1.11-5a4ddj92.mjs +9 -0
  28. package/dist/chunks/ToolSearchTool-0.1.11-w3cgae0s.mjs +1 -0
  29. package/dist/chunks/TrustDialog-0.1.11-3dsrj239.mjs +1 -0
  30. package/dist/chunks/activeProvider-0.1.11-qrn947by.mjs +1 -0
  31. package/dist/chunks/add-dir-0.1.11-9j7tq9gk.mjs +1 -0
  32. package/dist/chunks/agents-0.1.11-26pbss9x.mjs +3 -0
  33. package/dist/chunks/agents-0.1.11-m56gfjmy.mjs +111 -0
  34. package/dist/chunks/api-0.1.11-5ygenb1h.mjs +1 -0
  35. package/dist/chunks/asciicast-0.1.11-7mkaazy8.mjs +1 -0
  36. package/dist/chunks/assistant-0.1.11-5xbar4vv.mjs +1 -0
  37. package/dist/chunks/auth-0.1.11-2363mst5.mjs +1 -0
  38. package/dist/chunks/auth-0.1.11-p47wajra.mjs +1 -0
  39. package/dist/chunks/autoMode-0.1.11-nv8vsag0.mjs +48 -0
  40. package/dist/chunks/backgroundHousekeeping-0.1.11-fy6tykxe.mjs +1 -0
  41. package/dist/chunks/branch-0.1.11-aqhrj1x2.mjs +4 -0
  42. package/dist/chunks/bridgePointer-0.1.11-wr8dfs91.mjs +1 -0
  43. package/dist/chunks/btw-0.1.11-2kks7dfd.mjs +1 -0
  44. package/dist/chunks/buddy-0.1.11-gsj76spy.mjs +3 -0
  45. package/dist/chunks/cacache-0.1.11-wtz0ca19.mjs +1 -0
  46. package/dist/chunks/cache-probe-0.1.11-pgsemwpr.mjs +21 -0
  47. package/dist/chunks/cacheStats-0.1.11-1zqq6pm7.mjs +4 -0
  48. package/dist/chunks/caches-0.1.11-vewfnrya.mjs +1 -0
  49. package/dist/chunks/chrome-0.1.11-0g5459b5.mjs +1 -0
  50. package/dist/chunks/chromeNativeHost-0.1.11-m5kskzjw.mjs +2 -0
  51. package/dist/chunks/claude-for-chrome-mcp-0.1.11-h99xhv8j.mjs +1 -0
  52. package/dist/chunks/claudeDesktop-0.1.11-zpdtj6k8.mjs +1 -0
  53. package/dist/chunks/claudemd-0.1.11-qrr22x5b.mjs +1 -0
  54. package/dist/chunks/clear-0.1.11-c93nbam7.mjs +1 -0
  55. package/dist/chunks/clearTerminal-0.1.11-pdrc3735.mjs +1 -0
  56. package/dist/chunks/cli-0.1.11-036me3yr.mjs +2 -0
  57. package/dist/chunks/cli-0.1.11-05g86mrk.mjs +2 -0
  58. package/dist/chunks/cli-0.1.11-05ngjm8p.mjs +2 -0
  59. package/dist/chunks/cli-0.1.11-0fshz0ak.mjs +2 -0
  60. package/dist/chunks/cli-0.1.11-0n77qn68.mjs +2 -0
  61. package/dist/chunks/cli-0.1.11-0qwee9gy.mjs +2 -0
  62. package/dist/chunks/cli-0.1.11-0tge574q.mjs +2 -0
  63. package/dist/chunks/cli-0.1.11-10nmrfsz.mjs +8 -0
  64. package/dist/chunks/cli-0.1.11-16086k9e.mjs +2 -0
  65. package/dist/chunks/cli-0.1.11-1b48xqbe.mjs +2 -0
  66. package/dist/chunks/cli-0.1.11-1bmswdg3.mjs +2 -0
  67. package/dist/chunks/cli-0.1.11-1bryv90w.mjs +2 -0
  68. package/dist/chunks/cli-0.1.11-1bxwxewq.mjs +833 -0
  69. package/dist/chunks/cli-0.1.11-1e6fgnts.mjs +3 -0
  70. package/dist/chunks/cli-0.1.11-1xr9et85.mjs +2 -0
  71. package/dist/chunks/cli-0.1.11-21epc92q.mjs +2 -0
  72. package/dist/chunks/cli-0.1.11-23qqxmk4.mjs +2 -0
  73. package/dist/chunks/cli-0.1.11-2w8d5vqb.mjs +2 -0
  74. package/dist/chunks/cli-0.1.11-2xf0g9qc.mjs +45 -0
  75. package/dist/chunks/cli-0.1.11-3f5dv6mt.mjs +2 -0
  76. package/dist/chunks/cli-0.1.11-3p2f194m.mjs +2 -0
  77. package/dist/chunks/cli-0.1.11-3tqzgd9f.mjs +2 -0
  78. package/dist/chunks/cli-0.1.11-424zgj5k.mjs +4 -0
  79. package/dist/chunks/cli-0.1.11-4bn5ap1n.mjs +2 -0
  80. package/dist/chunks/cli-0.1.11-4cdyzvxv.mjs +3 -0
  81. package/dist/chunks/cli-0.1.11-4ggr81tw.mjs +2 -0
  82. package/dist/chunks/cli-0.1.11-4px8nt5r.mjs +2 -0
  83. package/dist/chunks/cli-0.1.11-4xsg15d1.mjs +2 -0
  84. package/dist/chunks/cli-0.1.11-50naxqgt.mjs +2 -0
  85. package/dist/chunks/cli-0.1.11-56bdg2vw.mjs +3 -0
  86. package/dist/chunks/cli-0.1.11-56p41bk3.mjs +2 -0
  87. package/dist/chunks/cli-0.1.11-5e45zda5.mjs +2 -0
  88. package/dist/chunks/cli-0.1.11-5hrysrcd.mjs +2 -0
  89. package/dist/chunks/cli-0.1.11-5hs4xyjq.mjs +2 -0
  90. package/dist/chunks/cli-0.1.11-5vqj6k7m.mjs +2 -0
  91. package/dist/chunks/cli-0.1.11-5zqfr92n.mjs +2 -0
  92. package/dist/chunks/cli-0.1.11-6r97rwda.mjs +2 -0
  93. package/dist/chunks/cli-0.1.11-6vqzqsdj.mjs +3 -0
  94. package/dist/chunks/cli-0.1.11-6zkfmcxp.mjs +2 -0
  95. package/dist/chunks/cli-0.1.11-70f778wy.mjs +2 -0
  96. package/dist/chunks/cli-0.1.11-71ewwy7m.mjs +50 -0
  97. package/dist/chunks/cli-0.1.11-7238rfy8.mjs +2 -0
  98. package/dist/chunks/cli-0.1.11-7mmhsc3x.mjs +2 -0
  99. package/dist/chunks/cli-0.1.11-7qpnfx56.mjs +2 -0
  100. package/dist/chunks/cli-0.1.11-7t04gqx2.mjs +3 -0
  101. package/dist/chunks/cli-0.1.11-7tybqg56.mjs +2 -0
  102. package/dist/chunks/cli-0.1.11-7vz357wm.mjs +58 -0
  103. package/dist/chunks/cli-0.1.11-7xr2ermy.mjs +2 -0
  104. package/dist/chunks/cli-0.1.11-84j34n0s.mjs +2 -0
  105. package/dist/chunks/cli-0.1.11-852v06g0.mjs +2 -0
  106. package/dist/chunks/cli-0.1.11-8qrhqvh5.mjs +2 -0
  107. package/dist/chunks/cli-0.1.11-91mf8dfr.mjs +2 -0
  108. package/dist/chunks/cli-0.1.11-96y2d09c.mjs +2 -0
  109. package/dist/chunks/cli-0.1.11-98zcwng9.mjs +2 -0
  110. package/dist/chunks/cli-0.1.11-anegs86e.mjs +7 -0
  111. package/dist/chunks/cli-0.1.11-anvzywg4.mjs +5 -0
  112. package/dist/chunks/cli-0.1.11-at3c85af.mjs +2 -0
  113. package/dist/chunks/cli-0.1.11-b0jasw23.mjs +9 -0
  114. package/dist/chunks/cli-0.1.11-bbx2h4x9.mjs +2 -0
  115. package/dist/chunks/cli-0.1.11-be28ty4m.mjs +2 -0
  116. package/dist/chunks/cli-0.1.11-bhqwqe2w.mjs +2 -0
  117. package/dist/chunks/cli-0.1.11-bqpcwywz.mjs +4 -0
  118. package/dist/chunks/cli-0.1.11-btayz9zj.mjs +2 -0
  119. package/dist/chunks/cli-0.1.11-bvd2r7an.mjs +252 -0
  120. package/dist/chunks/cli-0.1.11-bwn9ehxv.mjs +2 -0
  121. package/dist/chunks/cli-0.1.11-bwpemkht.mjs +2 -0
  122. package/dist/chunks/cli-0.1.11-cdpswj0n.mjs +2 -0
  123. package/dist/chunks/cli-0.1.11-cezypfbt.mjs +2 -0
  124. package/dist/chunks/cli-0.1.11-cf049e4w.mjs +134 -0
  125. package/dist/chunks/cli-0.1.11-chnrb9xx.mjs +10 -0
  126. package/dist/chunks/cli-0.1.11-ctjvkg5k.mjs +2 -0
  127. package/dist/chunks/cli-0.1.11-cw0ss3jw.mjs +4 -0
  128. package/dist/chunks/cli-0.1.11-cwptjaf7.mjs +12 -0
  129. package/dist/chunks/cli-0.1.11-d10nfa6g.mjs +11 -0
  130. package/dist/chunks/cli-0.1.11-d3exw047.mjs +2 -0
  131. package/dist/chunks/cli-0.1.11-d4ahh3jz.mjs +2 -0
  132. package/dist/chunks/cli-0.1.11-da6szcvw.mjs +2 -0
  133. package/dist/chunks/cli-0.1.11-dcswnc8x.mjs +24 -0
  134. package/dist/chunks/cli-0.1.11-dpfxvfty.mjs +2 -0
  135. package/dist/chunks/cli-0.1.11-e5ecf583.mjs +2 -0
  136. package/dist/chunks/cli-0.1.11-e66dak4h.mjs +4 -0
  137. package/dist/chunks/cli-0.1.11-e7gjxknm.mjs +16 -0
  138. package/dist/chunks/cli-0.1.11-egck69w4.mjs +2 -0
  139. package/dist/chunks/cli-0.1.11-eh7tjdab.mjs +18 -0
  140. package/dist/chunks/cli-0.1.11-ek6mck0j.mjs +2 -0
  141. package/dist/chunks/cli-0.1.11-emw2wfff.mjs +3 -0
  142. package/dist/chunks/cli-0.1.11-fag2wtke.mjs +2 -0
  143. package/dist/chunks/cli-0.1.11-fptq9w4t.mjs +2 -0
  144. package/dist/chunks/cli-0.1.11-fs3d0ajf.mjs +2 -0
  145. package/dist/chunks/cli-0.1.11-fstfs72j.mjs +2 -0
  146. package/dist/chunks/cli-0.1.11-ft47r1wq.mjs +2 -0
  147. package/dist/chunks/cli-0.1.11-fveg0t77.mjs +22 -0
  148. package/dist/chunks/cli-0.1.11-fx6ztxrs.mjs +5 -0
  149. package/dist/chunks/cli-0.1.11-g2202evh.mjs +2 -0
  150. package/dist/chunks/cli-0.1.11-g33qp0jz.mjs +2 -0
  151. package/dist/chunks/cli-0.1.11-gc069ne7.mjs +2 -0
  152. package/dist/chunks/cli-0.1.11-gdcvfp9f.mjs +2 -0
  153. package/dist/chunks/cli-0.1.11-ggrme14p.mjs +2 -0
  154. package/dist/chunks/cli-0.1.11-h02tyg8p.mjs +2 -0
  155. package/dist/chunks/cli-0.1.11-h2hxx8ma.mjs +12 -0
  156. package/dist/chunks/cli-0.1.11-h3jatwe1.mjs +2 -0
  157. package/dist/chunks/cli-0.1.11-h762f6hr.mjs +2 -0
  158. package/dist/chunks/cli-0.1.11-h7e4rkwk.mjs +31 -0
  159. package/dist/chunks/cli-0.1.11-h7phna9g.mjs +2 -0
  160. package/dist/chunks/cli-0.1.11-hgsa4nnp.mjs +2 -0
  161. package/dist/chunks/cli-0.1.11-hhs8ke9g.mjs +2 -0
  162. package/dist/chunks/cli-0.1.11-hmfevmz1.mjs +4 -0
  163. package/dist/chunks/cli-0.1.11-hrn726gf.mjs +2 -0
  164. package/dist/chunks/cli-0.1.11-hzezqkew.mjs +2 -0
  165. package/dist/chunks/cli-0.1.11-jj3s3dxd.mjs +15 -0
  166. package/dist/chunks/cli-0.1.11-jjgjkqqv.mjs +2 -0
  167. package/dist/chunks/cli-0.1.11-jkrt4znb.mjs +11 -0
  168. package/dist/chunks/cli-0.1.11-jne21ka1.mjs +2 -0
  169. package/dist/chunks/cli-0.1.11-jr50ahcv.mjs +3 -0
  170. package/dist/chunks/cli-0.1.11-jye250b3.mjs +2 -0
  171. package/dist/chunks/cli-0.1.11-kghg51gb.mjs +6 -0
  172. package/dist/chunks/cli-0.1.11-kk0qqs5v.mjs +7 -0
  173. package/dist/chunks/cli-0.1.11-kndj4a86.mjs +2 -0
  174. package/dist/chunks/cli-0.1.11-kthpxpj3.mjs +24 -0
  175. package/dist/chunks/cli-0.1.11-ktwtyqmp.mjs +2 -0
  176. package/dist/chunks/cli-0.1.11-m0aaey0g.mjs +4 -0
  177. package/dist/chunks/cli-0.1.11-m1dpnkp0.mjs +2 -0
  178. package/dist/chunks/cli-0.1.11-mj78w4sp.mjs +2 -0
  179. package/dist/chunks/cli-0.1.11-mr356stf.mjs +2 -0
  180. package/dist/chunks/cli-0.1.11-mstxxz33.mjs +2 -0
  181. package/dist/chunks/cli-0.1.11-n23d2wej.mjs +2 -0
  182. package/dist/chunks/cli-0.1.11-n24p2y0p.mjs +2 -0
  183. package/dist/chunks/cli-0.1.11-na9tsy21.mjs +2 -0
  184. package/dist/chunks/cli-0.1.11-nesh7dep.mjs +2 -0
  185. package/dist/chunks/cli-0.1.11-nhjbgc7t.mjs +2 -0
  186. package/dist/chunks/cli-0.1.11-nhwmv5g6.mjs +4 -0
  187. package/dist/chunks/cli-0.1.11-nx8a99hz.mjs +4 -0
  188. package/dist/chunks/cli-0.1.11-p22bdjhv.mjs +2 -0
  189. package/dist/chunks/cli-0.1.11-p4eeg584.mjs +5 -0
  190. package/dist/chunks/cli-0.1.11-pfgwwtw9.mjs +2 -0
  191. package/dist/chunks/cli-0.1.11-pr9jdfxt.mjs +3 -0
  192. package/dist/chunks/cli-0.1.11-q58q9jqr.mjs +2 -0
  193. package/dist/chunks/cli-0.1.11-q89t0xzx.mjs +2 -0
  194. package/dist/chunks/cli-0.1.11-qbcfg80y.mjs +16 -0
  195. package/dist/chunks/cli-0.1.11-qheffjft.mjs +2 -0
  196. package/dist/chunks/cli-0.1.11-qpzn4q17.mjs +15 -0
  197. package/dist/chunks/cli-0.1.11-qrq0sw0h.mjs +2 -0
  198. package/dist/chunks/cli-0.1.11-r990p54m.mjs +100 -0
  199. package/dist/chunks/cli-0.1.11-rj68n2kw.mjs +2 -0
  200. package/dist/chunks/cli-0.1.11-rj9ea3zn.mjs +2 -0
  201. package/dist/chunks/cli-0.1.11-rmyvg4yw.mjs +2 -0
  202. package/dist/chunks/cli-0.1.11-rrnr3ab1.mjs +2 -0
  203. package/dist/chunks/cli-0.1.11-rvk3t45h.mjs +2 -0
  204. package/dist/chunks/cli-0.1.11-s6yfjcm5.mjs +6 -0
  205. package/dist/chunks/cli-0.1.11-s8ygndzf.mjs +5036 -0
  206. package/dist/chunks/cli-0.1.11-sma2xhvv.mjs +2 -0
  207. package/dist/chunks/cli-0.1.11-sqqzwx4h.mjs +132 -0
  208. package/dist/chunks/cli-0.1.11-t07hba0z.mjs +2 -0
  209. package/dist/chunks/cli-0.1.11-t7dc7fbj.mjs +2 -0
  210. package/dist/chunks/cli-0.1.11-ta77hm2b.mjs +2 -0
  211. package/dist/chunks/cli-0.1.11-trcf78n1.mjs +2 -0
  212. package/dist/chunks/cli-0.1.11-tvfkn5mh.mjs +2 -0
  213. package/dist/chunks/cli-0.1.11-tyh8gms9.mjs +2 -0
  214. package/dist/chunks/cli-0.1.11-v2s8ey1n.mjs +12 -0
  215. package/dist/chunks/cli-0.1.11-v6kwgrqc.mjs +2 -0
  216. package/dist/chunks/cli-0.1.11-v7bwjqf0.mjs +192 -0
  217. package/dist/chunks/cli-0.1.11-v8j5bkfs.mjs +2 -0
  218. package/dist/chunks/cli-0.1.11-vb5f7c3a.mjs +2 -0
  219. package/dist/chunks/cli-0.1.11-vch8cn95.mjs +2 -0
  220. package/dist/chunks/cli-0.1.11-vq5fvf9m.mjs +44 -0
  221. package/dist/chunks/cli-0.1.11-vzet5m4y.mjs +2 -0
  222. package/dist/chunks/cli-0.1.11-w3fp9par.mjs +39 -0
  223. package/dist/chunks/cli-0.1.11-w3trj52p.mjs +21 -0
  224. package/dist/chunks/cli-0.1.11-w3ydpv9v.mjs +2 -0
  225. package/dist/chunks/cli-0.1.11-wc9bay3d.mjs +34 -0
  226. package/dist/chunks/cli-0.1.11-weav8142.mjs +2 -0
  227. package/dist/chunks/cli-0.1.11-wjxhn7j5.mjs +2 -0
  228. package/dist/chunks/cli-0.1.11-x37jysc0.mjs +14 -0
  229. package/dist/chunks/cli-0.1.11-x5nvafch.mjs +2 -0
  230. package/dist/chunks/cli-0.1.11-xhrk5hr0.mjs +2 -0
  231. package/dist/chunks/cli-0.1.11-xp93fxnp.mjs +2 -0
  232. package/dist/chunks/cli-0.1.11-xwj7cmkj.mjs +2 -0
  233. package/dist/chunks/cli-0.1.11-y4c6y87y.mjs +2 -0
  234. package/dist/chunks/cli-0.1.11-y909w8bb.mjs +2 -0
  235. package/dist/chunks/cli-0.1.11-yd6f29v2.mjs +2 -0
  236. package/dist/chunks/cli-0.1.11-yhk2y3c0.mjs +2 -0
  237. package/dist/chunks/cli-0.1.11-yrfxpjhr.mjs +2 -0
  238. package/dist/chunks/cli-0.1.11-yv5pfq6n.mjs +2 -0
  239. package/dist/chunks/cli-0.1.11-yvnhbsfn.mjs +3 -0
  240. package/dist/chunks/cli-0.1.11-z0thk4h0.mjs +2 -0
  241. package/dist/chunks/cli-0.1.11-z4hb2mcd.mjs +2 -0
  242. package/dist/chunks/cli-0.1.11-z62s8qx1.mjs +2 -0
  243. package/dist/chunks/cli-0.1.11-zb2sa3e2.mjs +13 -0
  244. package/dist/chunks/cli-0.1.11-zdyddegg.mjs +2 -0
  245. package/dist/chunks/cli-0.1.11-zfnmx1ny.mjs +2 -0
  246. package/dist/chunks/cli-0.1.11-zwkjaj0d.mjs +2 -0
  247. package/dist/chunks/client-0.1.11-h38k7vkj.mjs +1 -0
  248. package/dist/chunks/color-0.1.11-b7favzc8.mjs +1 -0
  249. package/dist/chunks/compact-0.1.11-damm234b.mjs +3 -0
  250. package/dist/chunks/config-0.1.11-bb6v0pwv.mjs +1 -0
  251. package/dist/chunks/config-0.1.11-cqy7fnab.mjs +1 -0
  252. package/dist/chunks/context-0.1.11-e2s56h3b.mjs +1 -0
  253. package/dist/chunks/context-noninteractive-0.1.11-s6b9q91h.mjs +1 -0
  254. package/dist/chunks/conversation-0.1.11-d8ejy4b9.mjs +1 -0
  255. package/dist/chunks/copy-0.1.11-aq32vn1b.mjs +9 -0
  256. package/dist/chunks/cost-0.1.11-3z9y6a5a.mjs +1 -0
  257. package/dist/chunks/createSession-0.1.11-rgaw7n2v.mjs +1 -0
  258. package/dist/chunks/desktop-0.1.11-k8ac4bfx.mjs +1 -0
  259. package/dist/chunks/detectRepository-0.1.11-m3chgqa1.mjs +1 -0
  260. package/dist/chunks/detection-0.1.11-aa9k5rxv.mjs +1 -0
  261. package/dist/chunks/devtools-0.1.11-fkz4akhx.mjs +1 -0
  262. package/dist/chunks/diff-0.1.11-tcqh42f6.mjs +1 -0
  263. package/dist/chunks/doctor-0.1.11-6fwwz8hp.mjs +1 -0
  264. package/dist/chunks/earlyInput-0.1.11-94asnfvh.mjs +1 -0
  265. package/dist/chunks/effort-0.1.11-zcxskzrb.mjs +8 -0
  266. package/dist/chunks/environmentSelection-0.1.11-6ngvrt1m.mjs +1 -0
  267. package/dist/chunks/environments-0.1.11-pdsv6dgq.mjs +1 -0
  268. package/dist/chunks/exit-0.1.11-2jab9tfm.mjs +1 -0
  269. package/dist/chunks/export-0.1.11-wv5bd05w.mjs +2 -0
  270. package/dist/chunks/extra-usage-0.1.11-f5rm0265.mjs +1 -0
  271. package/dist/chunks/extra-usage-noninteractive-0.1.11-dt7znwbn.mjs +1 -0
  272. package/dist/chunks/fast-0.1.11-a665n9kz.mjs +1 -0
  273. package/dist/chunks/feedback-0.1.11-q77qty87.mjs +14 -0
  274. package/dist/chunks/firstPartyEventLogger-0.1.11-y7qkhdj6.mjs +1 -0
  275. package/dist/chunks/git-0.1.11-g77ppr52.mjs +1 -0
  276. package/dist/chunks/githubModelsCredentials-0.1.11-9vhs3xqj.mjs +1 -0
  277. package/dist/chunks/growthbook-0.1.11-2w2b1mzd.mjs +1 -0
  278. package/dist/chunks/heapdump-0.1.11-b216wzt7.mjs +6 -0
  279. package/dist/chunks/help-0.1.11-byp88gen.mjs +1 -0
  280. package/dist/chunks/hookChains-0.1.11-jp8f82q7.mjs +3 -0
  281. package/dist/chunks/hooks-0.1.11-v9jan2ss.mjs +1 -0
  282. package/dist/chunks/hooks-0.1.11-vf6vcsgg.mjs +79 -0
  283. package/dist/chunks/ide-0.1.11-7nxbd03r.mjs +3 -0
  284. package/dist/chunks/image-processor-napi-0.1.11-dpg3ygnw.mjs +1 -0
  285. package/dist/chunks/index-0.1.11-3dfjfmc6.mjs +1 -0
  286. package/dist/chunks/index-0.1.11-82wnmfq3.mjs +9 -0
  287. package/dist/chunks/index-0.1.11-8gtaa17w.mjs +1 -0
  288. package/dist/chunks/index-0.1.11-ajdpkanw.mjs +1 -0
  289. package/dist/chunks/index-0.1.11-b2q967nq.mjs +30 -0
  290. package/dist/chunks/index-0.1.11-bhrstsgc.mjs +1 -0
  291. package/dist/chunks/index-0.1.11-d6qbzwah.mjs +1 -0
  292. package/dist/chunks/index-0.1.11-d9ft1b0s.mjs +1 -0
  293. package/dist/chunks/index-0.1.11-e52dzxjz.mjs +5 -0
  294. package/dist/chunks/index-0.1.11-gb3saayk.mjs +2 -0
  295. package/dist/chunks/index-0.1.11-kksxmkwe.mjs +1 -0
  296. package/dist/chunks/index-0.1.11-n564rmwy.mjs +1 -0
  297. package/dist/chunks/index-0.1.11-n90nxjqp.mjs +1 -0
  298. package/dist/chunks/index-0.1.11-p0j3w83p.mjs +1 -0
  299. package/dist/chunks/index-0.1.11-pmkgntay.mjs +7 -0
  300. package/dist/chunks/index-0.1.11-qspcw49p.mjs +1 -0
  301. package/dist/chunks/index-0.1.11-r6p77pf7.mjs +1 -0
  302. package/dist/chunks/index-0.1.11-s0w8xy7q.mjs +9 -0
  303. package/dist/chunks/index-0.1.11-wbhj1ny7.mjs +1 -0
  304. package/dist/chunks/index-0.1.11-wze82293.mjs +1 -0
  305. package/dist/chunks/index-0.1.11-xs4mng75.mjs +1 -0
  306. package/dist/chunks/index-0.1.11-yej3awws.mjs +2 -0
  307. package/dist/chunks/initReplBridge-0.1.11-71963wyw.mjs +1 -0
  308. package/dist/chunks/ink-0.1.11-tzp2q9bd.mjs +1 -0
  309. package/dist/chunks/insights-0.1.11-4yjg2bxs.mjs +870 -0
  310. package/dist/chunks/install-0.1.11-4zfvr6pk.mjs +1 -0
  311. package/dist/chunks/install-github-app-0.1.11-frqzdwsz.mjs +149 -0
  312. package/dist/chunks/install-slack-app-0.1.11-0yyjjvrw.mjs +1 -0
  313. package/dist/chunks/instrumentation-0.1.11-zyp2r390.mjs +12 -0
  314. package/dist/chunks/interactiveHelpers-0.1.11-chnsxp26.mjs +1 -0
  315. package/dist/chunks/keybindings-0.1.11-r2jke9h5.mjs +2 -0
  316. package/dist/chunks/knowledge-0.1.11-wpjw8ybd.mjs +2 -0
  317. package/dist/chunks/loadAgentsDir-0.1.11-bwymseqa.mjs +1 -0
  318. package/dist/chunks/loadPluginHooks-0.1.11-npf49gc4.mjs +1 -0
  319. package/dist/chunks/logout-0.1.11-48ynp610.mjs +1 -0
  320. package/dist/chunks/lsp-0.1.11-e4z6m5t5.mjs +1 -0
  321. package/dist/chunks/main-0.1.11-6sh6xycv.mjs +1 -0
  322. package/dist/chunks/managedEnv-0.1.11-6bnnpsm0.mjs +1 -0
  323. package/dist/chunks/mcp-0.1.11-vjjx8eer.mjs +17 -0
  324. package/dist/chunks/mcp-0.1.11-zf74a6am.mjs +4 -0
  325. package/dist/chunks/mcp-0.1.11-zw22jjqc.mjs +1 -0
  326. package/dist/chunks/mcpServer-0.1.11-czg51mvy.mjs +1 -0
  327. package/dist/chunks/mcpb-0.1.11-czkze48a.mjs +1 -0
  328. package/dist/chunks/memory-0.1.11-k7y98zqn.mjs +3 -0
  329. package/dist/chunks/mobile-0.1.11-2w5py2cb.mjs +2 -0
  330. package/dist/chunks/model-0.1.11-4v166f98.mjs +2 -0
  331. package/dist/chunks/model-0.1.11-qekc9c4w.mjs +1 -0
  332. package/dist/chunks/oauth-0.1.11-jkkd9wzq.mjs +1 -0
  333. package/dist/chunks/openaiShim-0.1.11-b9yqnc9c.mjs +14 -0
  334. package/dist/chunks/output-style-0.1.11-zwxn1knb.mjs +1 -0
  335. package/dist/chunks/package-HMBVQOZ4-0.1.11-n77wqhxr.mjs +1 -0
  336. package/dist/chunks/parser-0.1.11-vvhz2p5h.mjs +1 -0
  337. package/dist/chunks/passes-0.1.11-dgshr9c4.mjs +1 -0
  338. package/dist/chunks/permissions-0.1.11-71fn7rsk.mjs +3 -0
  339. package/dist/chunks/plan-0.1.11-1xyzxjgr.mjs +1 -0
  340. package/dist/chunks/plist-0.1.11-0sn6nqv3.mjs +1 -0
  341. package/dist/chunks/plugin-0.1.11-menj210d.mjs +29 -0
  342. package/dist/chunks/pluginStartupCheck-0.1.11-ytjn1kxg.mjs +1 -0
  343. package/dist/chunks/plugins-0.1.11-t3pgcpcj.mjs +9 -0
  344. package/dist/chunks/print-0.1.11-y9vz77h9.mjs +57 -0
  345. package/dist/chunks/privacy-settings-0.1.11-3ah0v02p.mjs +1 -0
  346. package/dist/chunks/process-0.1.11-s6jnx5xw.mjs +1 -0
  347. package/dist/chunks/processBashCommand-0.1.11-txp79ekj.mjs +1 -0
  348. package/dist/chunks/processSlashCommand-0.1.11-fdvs7etd.mjs +9 -0
  349. package/dist/chunks/prompt-0.1.11-4f7rsvd2.mjs +1 -0
  350. package/dist/chunks/prompt-0.1.11-bzkv3rsd.mjs +1 -0
  351. package/dist/chunks/prompts-0.1.11-xczb1nwa.mjs +1 -0
  352. package/dist/chunks/provider-0.1.11-cqeqqqbt.mjs +2 -0
  353. package/dist/chunks/providerProfiles-0.1.11-ewn8w0f1.mjs +1 -0
  354. package/dist/chunks/rate-limit-options-0.1.11-6bca3g5n.mjs +1 -0
  355. package/dist/chunks/registry-0.1.11-wjnpx9yf.mjs +1 -0
  356. package/dist/chunks/release-notes-0.1.11-dhe37z3c.mjs +5 -0
  357. package/dist/chunks/reload-plugins-0.1.11-gzep3pg3.mjs +2 -0
  358. package/dist/chunks/remote-env-0.1.11-yday97nq.mjs +1 -0
  359. package/dist/chunks/remoteBridgeCore-0.1.11-hn821p07.mjs +1 -0
  360. package/dist/chunks/remoteSession-0.1.11-g3h440pv.mjs +1 -0
  361. package/dist/chunks/rename-0.1.11-ke9btph2.mjs +1 -0
  362. package/dist/chunks/replBridgeHandle-0.1.11-t5njc196.mjs +1 -0
  363. package/dist/chunks/resume-0.1.11-d4bbgty9.mjs +2 -0
  364. package/dist/chunks/rewind-0.1.11-t4mfk815.mjs +1 -0
  365. package/dist/chunks/sandbox-adapter-0.1.11-3czn1nws.mjs +1 -0
  366. package/dist/chunks/sandbox-toggle-0.1.11-qxv2w9n1.mjs +1 -0
  367. package/dist/chunks/session-0.1.11-2z972raf.mjs +2 -0
  368. package/dist/chunks/sessionFileAccessHooks-0.1.11-f3exnspr.mjs +1 -0
  369. package/dist/chunks/sessionStorage-0.1.11-aa2ftdjn.mjs +1 -0
  370. package/dist/chunks/setup-0.1.11-epmpszzf.mjs +5 -0
  371. package/dist/chunks/sinks-0.1.11-q3zcj5me.mjs +1 -0
  372. package/dist/chunks/skills-0.1.11-9xbyp1p5.mjs +1 -0
  373. package/dist/chunks/startupProfiler-0.1.11-5s07826j.mjs +1 -0
  374. package/dist/chunks/state-0.1.11-3fjxywyv.mjs +1 -0
  375. package/dist/chunks/stats-0.1.11-hxzms6gg.mjs +6 -0
  376. package/dist/chunks/status-0.1.11-drvp15n8.mjs +1 -0
  377. package/dist/chunks/stickers-0.1.11-44f4tawn.mjs +1 -0
  378. package/dist/chunks/subprocessEnv-0.1.11-5w00fpez.mjs +1 -0
  379. package/dist/chunks/tasks-0.1.11-dn8h18fk.mjs +1 -0
  380. package/dist/chunks/teamHelpers-0.1.11-ca7kref8.mjs +1 -0
  381. package/dist/chunks/teammateModeSnapshot-0.1.11-an88rdgv.mjs +1 -0
  382. package/dist/chunks/teleport-0.1.11-8e3k0ex6.mjs +1 -0
  383. package/dist/chunks/terminalSetup-0.1.11-gtdwp0an.mjs +1 -0
  384. package/dist/chunks/theme-0.1.11-p447kczd.mjs +1 -0
  385. package/dist/chunks/thinkback-0.1.11-3f1xvkt5.mjs +1 -0
  386. package/dist/chunks/thinkback-play-0.1.11-0ax4h089.mjs +1 -0
  387. package/dist/chunks/toolPool-0.1.11-xrywy61j.mjs +1 -0
  388. package/dist/chunks/toolSearch-0.1.11-7yjvjxhp.mjs +1 -0
  389. package/dist/chunks/trustedDevice-0.1.11-070f1wch.mjs +1 -0
  390. package/dist/chunks/turndown.cjs-0.1.11-brwqmyse.mjs +69 -0
  391. package/dist/chunks/ultrareviewCommand-0.1.11-0m9b3kr5.mjs +4 -0
  392. package/dist/chunks/update-0.1.11-p33kxpg4.mjs +94 -0
  393. package/dist/chunks/upgrade-0.1.11-1aj14cqt.mjs +1 -0
  394. package/dist/chunks/upstreamproxy-0.1.11-vk16qw88.mjs +14 -0
  395. package/dist/chunks/usage-0.1.11-hch4v5jb.mjs +1 -0
  396. package/dist/chunks/util-0.1.11-sjkxad5k.mjs +1 -0
  397. package/dist/chunks/utils-0.1.11-2bk8zn4g.mjs +1 -0
  398. package/dist/chunks/vim-0.1.11-v1rz1d56.mjs +1 -0
  399. package/dist/chunks/watcher-0.1.11-v8mkv1xy.mjs +1 -0
  400. package/dist/chunks/wiki-0.1.11-v0twhcnn.mjs +132 -0
  401. package/dist/chunks/worktree-0.1.11-d7chpamf.mjs +1 -0
  402. package/dist/chunks/worktreeModeEnabled-0.1.11-tsxv6h6g.mjs +1 -0
  403. package/dist/chunks/wrapper-0.1.11-rt9xsnjh.mjs +7 -0
  404. package/dist/claudio-vscode.vsix +0 -0
  405. package/dist/cli.mjs +6 -6
  406. package/package.json +1 -1
  407. package/dist/chunks/AgentTool-0.1.9-e26h2f7z.mjs +0 -1
  408. package/dist/chunks/App-0.1.9-7ttp2eny.mjs +0 -1
  409. package/dist/chunks/ApproveApiKey-0.1.9-pz0jzna9.mjs +0 -1
  410. package/dist/chunks/AssistantSessionChooser-0.1.9-r5wg1yfv.mjs +0 -1
  411. package/dist/chunks/AutoModeOptInDialog-0.1.9-nbnjg2tp.mjs +0 -1
  412. package/dist/chunks/BypassPermissionsModeDialog-0.1.9-wjg6qps3.mjs +0 -1
  413. package/dist/chunks/ClaudeInChromeOnboarding-0.1.9-h46b49p8.mjs +0 -1
  414. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.1.9-b8em430v.mjs +0 -1
  415. package/dist/chunks/ConsoleOAuthFlow-0.1.9-zb1h6dvy.mjs +0 -1
  416. package/dist/chunks/DiffDialog-0.1.9-09s28v8e.mjs +0 -3
  417. package/dist/chunks/Doctor-0.1.9-9ak6wqtr.mjs +0 -1
  418. package/dist/chunks/Grove-0.1.9-rbrf13rd.mjs +0 -1
  419. package/dist/chunks/ITermBackend-0.1.9-8dgw249h.mjs +0 -1
  420. package/dist/chunks/InProcessTransport-0.1.9-5cp1e7x7.mjs +0 -1
  421. package/dist/chunks/InvalidConfigDialog-0.1.9-6mv9wgt8.mjs +0 -1
  422. package/dist/chunks/InvalidSettingsDialog-0.1.9-d5kkd4yd.mjs +0 -1
  423. package/dist/chunks/MigrationDialog-0.1.9-56807wps.mjs +0 -1
  424. package/dist/chunks/Onboarding-0.1.9-g5nqdh1r.mjs +0 -1
  425. package/dist/chunks/ProviderManager-0.1.9-kj6t8003.mjs +0 -1
  426. package/dist/chunks/REPL-0.1.9-3h2fc9z7.mjs +0 -1
  427. package/dist/chunks/ResumeConversation-0.1.9-k4gv6dx4.mjs +0 -1
  428. package/dist/chunks/SnapshotUpdateDialog-0.1.9-v3h7drc0.mjs +0 -1
  429. package/dist/chunks/StartupScreen-0.1.9-jgk08xvj.mjs +0 -1
  430. package/dist/chunks/TeleportProgress-0.1.9-pnqkmgap.mjs +0 -1
  431. package/dist/chunks/TeleportRepoMismatchDialog-0.1.9-ddtmy43v.mjs +0 -1
  432. package/dist/chunks/TeleportResumeWrapper-0.1.9-vhnyx04e.mjs +0 -1
  433. package/dist/chunks/TmuxBackend-0.1.9-nb2ks1np.mjs +0 -9
  434. package/dist/chunks/ToolSearchTool-0.1.9-n40whaty.mjs +0 -1
  435. package/dist/chunks/TrustDialog-0.1.9-dm2wppgy.mjs +0 -1
  436. package/dist/chunks/activeProvider-0.1.9-kbwwatt3.mjs +0 -1
  437. package/dist/chunks/add-dir-0.1.9-ed53zp9j.mjs +0 -1
  438. package/dist/chunks/agents-0.1.9-4gwb1qtc.mjs +0 -111
  439. package/dist/chunks/agents-0.1.9-yr85gwa8.mjs +0 -3
  440. package/dist/chunks/api-0.1.9-kqwfw6wj.mjs +0 -1
  441. package/dist/chunks/asciicast-0.1.9-ekvsjx76.mjs +0 -1
  442. package/dist/chunks/assistant-0.1.9-h4rgf0xq.mjs +0 -1
  443. package/dist/chunks/auth-0.1.9-1c12xrxs.mjs +0 -1
  444. package/dist/chunks/auth-0.1.9-rqfx3vqa.mjs +0 -1
  445. package/dist/chunks/autoMode-0.1.9-s92asycq.mjs +0 -48
  446. package/dist/chunks/backgroundHousekeeping-0.1.9-jjbqckpm.mjs +0 -1
  447. package/dist/chunks/branch-0.1.9-m7j2aerq.mjs +0 -4
  448. package/dist/chunks/bridgePointer-0.1.9-rv3aq23v.mjs +0 -1
  449. package/dist/chunks/btw-0.1.9-g55x31zp.mjs +0 -1
  450. package/dist/chunks/buddy-0.1.9-fqmk7e4y.mjs +0 -3
  451. package/dist/chunks/cacache-0.1.9-dr1vt8s1.mjs +0 -1
  452. package/dist/chunks/cache-probe-0.1.9-ydmjrch4.mjs +0 -21
  453. package/dist/chunks/cacheStats-0.1.9-pkarrnw9.mjs +0 -4
  454. package/dist/chunks/caches-0.1.9-d6cndrra.mjs +0 -1
  455. package/dist/chunks/chrome-0.1.9-bvwzw157.mjs +0 -1
  456. package/dist/chunks/chromeNativeHost-0.1.9-8a20nscz.mjs +0 -2
  457. package/dist/chunks/claude-for-chrome-mcp-0.1.9-ndknjd3g.mjs +0 -1
  458. package/dist/chunks/claudeDesktop-0.1.9-7xprztbk.mjs +0 -1
  459. package/dist/chunks/claudemd-0.1.9-dqyhgy2v.mjs +0 -1
  460. package/dist/chunks/clear-0.1.9-tb8x7676.mjs +0 -1
  461. package/dist/chunks/cli-0.1.9-001s9kxw.mjs +0 -24
  462. package/dist/chunks/cli-0.1.9-03e1d9dw.mjs +0 -39
  463. package/dist/chunks/cli-0.1.9-04ez73f7.mjs +0 -5084
  464. package/dist/chunks/cli-0.1.9-0dtdhejj.mjs +0 -31
  465. package/dist/chunks/cli-0.1.9-0e6nsh68.mjs +0 -3
  466. package/dist/chunks/cli-0.1.9-0j8n671q.mjs +0 -2
  467. package/dist/chunks/cli-0.1.9-15y0qt1z.mjs +0 -2
  468. package/dist/chunks/cli-0.1.9-1c3qpbdh.mjs +0 -2
  469. package/dist/chunks/cli-0.1.9-1f5gmndb.mjs +0 -2
  470. package/dist/chunks/cli-0.1.9-1ghbcafn.mjs +0 -2
  471. package/dist/chunks/cli-0.1.9-1kaj4v6k.mjs +0 -2
  472. package/dist/chunks/cli-0.1.9-1xmdqqzd.mjs +0 -3
  473. package/dist/chunks/cli-0.1.9-263y2rkc.mjs +0 -3
  474. package/dist/chunks/cli-0.1.9-2dd7h0hn.mjs +0 -15
  475. package/dist/chunks/cli-0.1.9-2prq7peb.mjs +0 -2
  476. package/dist/chunks/cli-0.1.9-2tc83tsz.mjs +0 -2
  477. package/dist/chunks/cli-0.1.9-2thp2z73.mjs +0 -2
  478. package/dist/chunks/cli-0.1.9-2v0y90vz.mjs +0 -2
  479. package/dist/chunks/cli-0.1.9-2v4s8yf9.mjs +0 -7
  480. package/dist/chunks/cli-0.1.9-2x18rhq6.mjs +0 -6
  481. package/dist/chunks/cli-0.1.9-38zb09vp.mjs +0 -2
  482. package/dist/chunks/cli-0.1.9-3g3er8j1.mjs +0 -15
  483. package/dist/chunks/cli-0.1.9-3h4serkj.mjs +0 -58
  484. package/dist/chunks/cli-0.1.9-3rhe87kw.mjs +0 -2
  485. package/dist/chunks/cli-0.1.9-3vfq7jja.mjs +0 -34
  486. package/dist/chunks/cli-0.1.9-3wmbdmrp.mjs +0 -2
  487. package/dist/chunks/cli-0.1.9-3y36913h.mjs +0 -10
  488. package/dist/chunks/cli-0.1.9-3yscrq86.mjs +0 -833
  489. package/dist/chunks/cli-0.1.9-45ggwszg.mjs +0 -2
  490. package/dist/chunks/cli-0.1.9-4a9qwf11.mjs +0 -2
  491. package/dist/chunks/cli-0.1.9-4bg6jxs8.mjs +0 -2
  492. package/dist/chunks/cli-0.1.9-4kk9fmg2.mjs +0 -2
  493. package/dist/chunks/cli-0.1.9-4n4dqg6k.mjs +0 -2
  494. package/dist/chunks/cli-0.1.9-4sqfjw8t.mjs +0 -16
  495. package/dist/chunks/cli-0.1.9-4vmbyj20.mjs +0 -2
  496. package/dist/chunks/cli-0.1.9-4vt296k0.mjs +0 -18
  497. package/dist/chunks/cli-0.1.9-5ryrgdzg.mjs +0 -2
  498. package/dist/chunks/cli-0.1.9-5vgk7wf7.mjs +0 -2
  499. package/dist/chunks/cli-0.1.9-5ygmjsje.mjs +0 -2
  500. package/dist/chunks/cli-0.1.9-5ypg3t0t.mjs +0 -2
  501. package/dist/chunks/cli-0.1.9-5zhhyq4q.mjs +0 -2
  502. package/dist/chunks/cli-0.1.9-61ywjha3.mjs +0 -2
  503. package/dist/chunks/cli-0.1.9-68vwvmkw.mjs +0 -2
  504. package/dist/chunks/cli-0.1.9-6c7qrr4p.mjs +0 -16
  505. package/dist/chunks/cli-0.1.9-6gk46nr9.mjs +0 -2
  506. package/dist/chunks/cli-0.1.9-6j5gxw5r.mjs +0 -5
  507. package/dist/chunks/cli-0.1.9-6ne451jc.mjs +0 -2
  508. package/dist/chunks/cli-0.1.9-6p67vwxh.mjs +0 -2
  509. package/dist/chunks/cli-0.1.9-6pcahrj9.mjs +0 -2
  510. package/dist/chunks/cli-0.1.9-7047sjwh.mjs +0 -2
  511. package/dist/chunks/cli-0.1.9-7bakxr5q.mjs +0 -3
  512. package/dist/chunks/cli-0.1.9-7bthhhpf.mjs +0 -2
  513. package/dist/chunks/cli-0.1.9-7fp0smtp.mjs +0 -2
  514. package/dist/chunks/cli-0.1.9-7ftnjyps.mjs +0 -2
  515. package/dist/chunks/cli-0.1.9-7h5my4fb.mjs +0 -2
  516. package/dist/chunks/cli-0.1.9-7kcaaxvq.mjs +0 -12
  517. package/dist/chunks/cli-0.1.9-7q9461ka.mjs +0 -2
  518. package/dist/chunks/cli-0.1.9-7qhatm3v.mjs +0 -2
  519. package/dist/chunks/cli-0.1.9-86kws2c7.mjs +0 -192
  520. package/dist/chunks/cli-0.1.9-8egwvs85.mjs +0 -2
  521. package/dist/chunks/cli-0.1.9-90h21nv5.mjs +0 -2
  522. package/dist/chunks/cli-0.1.9-9d4sp76k.mjs +0 -2
  523. package/dist/chunks/cli-0.1.9-9hc8gyb7.mjs +0 -2
  524. package/dist/chunks/cli-0.1.9-9nhh15bp.mjs +0 -2
  525. package/dist/chunks/cli-0.1.9-9vab0er5.mjs +0 -2
  526. package/dist/chunks/cli-0.1.9-9vn4ys3c.mjs +0 -22
  527. package/dist/chunks/cli-0.1.9-a1gtww1d.mjs +0 -2
  528. package/dist/chunks/cli-0.1.9-a7zy4vqn.mjs +0 -134
  529. package/dist/chunks/cli-0.1.9-a95nqhbd.mjs +0 -4
  530. package/dist/chunks/cli-0.1.9-ag6a8kqj.mjs +0 -2
  531. package/dist/chunks/cli-0.1.9-ak0b9xfs.mjs +0 -100
  532. package/dist/chunks/cli-0.1.9-aqd7czgr.mjs +0 -3
  533. package/dist/chunks/cli-0.1.9-axg1kbe4.mjs +0 -2
  534. package/dist/chunks/cli-0.1.9-aype6q4y.mjs +0 -2
  535. package/dist/chunks/cli-0.1.9-b3031hmy.mjs +0 -2
  536. package/dist/chunks/cli-0.1.9-b6zp931m.mjs +0 -11
  537. package/dist/chunks/cli-0.1.9-b73n8vzm.mjs +0 -2
  538. package/dist/chunks/cli-0.1.9-b9kbpf6n.mjs +0 -2
  539. package/dist/chunks/cli-0.1.9-bg9xvmav.mjs +0 -2
  540. package/dist/chunks/cli-0.1.9-bn43vpc0.mjs +0 -2
  541. package/dist/chunks/cli-0.1.9-br9jzagb.mjs +0 -2
  542. package/dist/chunks/cli-0.1.9-c2fjeq7k.mjs +0 -2
  543. package/dist/chunks/cli-0.1.9-c38eyh49.mjs +0 -2
  544. package/dist/chunks/cli-0.1.9-cfzmq9k6.mjs +0 -2
  545. package/dist/chunks/cli-0.1.9-cvnkghgh.mjs +0 -3
  546. package/dist/chunks/cli-0.1.9-dmcbsmj4.mjs +0 -2
  547. package/dist/chunks/cli-0.1.9-dsx18zt1.mjs +0 -2
  548. package/dist/chunks/cli-0.1.9-dt31fs16.mjs +0 -2
  549. package/dist/chunks/cli-0.1.9-dzz1me99.mjs +0 -2
  550. package/dist/chunks/cli-0.1.9-e7ewtpew.mjs +0 -2
  551. package/dist/chunks/cli-0.1.9-e96x59hw.mjs +0 -2
  552. package/dist/chunks/cli-0.1.9-ehhkqhbv.mjs +0 -2
  553. package/dist/chunks/cli-0.1.9-eqxc9zxm.mjs +0 -12
  554. package/dist/chunks/cli-0.1.9-ewq9k9mr.mjs +0 -2
  555. package/dist/chunks/cli-0.1.9-ewwxqbvt.mjs +0 -2
  556. package/dist/chunks/cli-0.1.9-f4v4pahc.mjs +0 -4
  557. package/dist/chunks/cli-0.1.9-f643fvt4.mjs +0 -2
  558. package/dist/chunks/cli-0.1.9-f8ga1n8r.mjs +0 -6
  559. package/dist/chunks/cli-0.1.9-fcf313e7.mjs +0 -2
  560. package/dist/chunks/cli-0.1.9-fh5enjw8.mjs +0 -5
  561. package/dist/chunks/cli-0.1.9-fm2yycpj.mjs +0 -2
  562. package/dist/chunks/cli-0.1.9-fwqwgjwb.mjs +0 -2
  563. package/dist/chunks/cli-0.1.9-gandxpzf.mjs +0 -2
  564. package/dist/chunks/cli-0.1.9-gasw7sr9.mjs +0 -2
  565. package/dist/chunks/cli-0.1.9-gdymcvby.mjs +0 -2
  566. package/dist/chunks/cli-0.1.9-gpd1bhnf.mjs +0 -2
  567. package/dist/chunks/cli-0.1.9-gsc0t4gy.mjs +0 -2
  568. package/dist/chunks/cli-0.1.9-gvrtqwe3.mjs +0 -2
  569. package/dist/chunks/cli-0.1.9-h8xne7z8.mjs +0 -2
  570. package/dist/chunks/cli-0.1.9-hjcv9wr7.mjs +0 -50
  571. package/dist/chunks/cli-0.1.9-hva25eg3.mjs +0 -4
  572. package/dist/chunks/cli-0.1.9-hy4peemf.mjs +0 -3
  573. package/dist/chunks/cli-0.1.9-hy9s1fnj.mjs +0 -14
  574. package/dist/chunks/cli-0.1.9-hz8rssz0.mjs +0 -2
  575. package/dist/chunks/cli-0.1.9-j5zz6gbq.mjs +0 -4
  576. package/dist/chunks/cli-0.1.9-jb6af8n8.mjs +0 -2
  577. package/dist/chunks/cli-0.1.9-jchn9hyn.mjs +0 -2
  578. package/dist/chunks/cli-0.1.9-jdpz959j.mjs +0 -2
  579. package/dist/chunks/cli-0.1.9-jv2z42gk.mjs +0 -2
  580. package/dist/chunks/cli-0.1.9-kbrf27z8.mjs +0 -2
  581. package/dist/chunks/cli-0.1.9-krv35v3v.mjs +0 -2
  582. package/dist/chunks/cli-0.1.9-ksv4ntar.mjs +0 -2
  583. package/dist/chunks/cli-0.1.9-kt9xw7bn.mjs +0 -2
  584. package/dist/chunks/cli-0.1.9-m7shtst2.mjs +0 -2
  585. package/dist/chunks/cli-0.1.9-mfyd9h50.mjs +0 -2
  586. package/dist/chunks/cli-0.1.9-mj88t3jf.mjs +0 -2
  587. package/dist/chunks/cli-0.1.9-mjkhzp2c.mjs +0 -3
  588. package/dist/chunks/cli-0.1.9-mkfnnvz7.mjs +0 -4
  589. package/dist/chunks/cli-0.1.9-mme2x7fq.mjs +0 -2
  590. package/dist/chunks/cli-0.1.9-mnegaqr7.mjs +0 -2
  591. package/dist/chunks/cli-0.1.9-mx4ekht0.mjs +0 -2
  592. package/dist/chunks/cli-0.1.9-mz3mbxwb.mjs +0 -12
  593. package/dist/chunks/cli-0.1.9-n445yk6z.mjs +0 -2
  594. package/dist/chunks/cli-0.1.9-n54k4qt3.mjs +0 -2
  595. package/dist/chunks/cli-0.1.9-n8tc0gpm.mjs +0 -2
  596. package/dist/chunks/cli-0.1.9-nsgdz4rd.mjs +0 -2
  597. package/dist/chunks/cli-0.1.9-nw3rpxdd.mjs +0 -252
  598. package/dist/chunks/cli-0.1.9-nz8phj17.mjs +0 -2
  599. package/dist/chunks/cli-0.1.9-p1kdk178.mjs +0 -2
  600. package/dist/chunks/cli-0.1.9-p58rgwkr.mjs +0 -4
  601. package/dist/chunks/cli-0.1.9-p5scdysw.mjs +0 -2
  602. package/dist/chunks/cli-0.1.9-pdbfg3vh.mjs +0 -2
  603. package/dist/chunks/cli-0.1.9-pgwsmwz1.mjs +0 -2
  604. package/dist/chunks/cli-0.1.9-ph3w8t78.mjs +0 -2
  605. package/dist/chunks/cli-0.1.9-psx0e36a.mjs +0 -2
  606. package/dist/chunks/cli-0.1.9-q3e2h88a.mjs +0 -2
  607. package/dist/chunks/cli-0.1.9-q7hve442.mjs +0 -2
  608. package/dist/chunks/cli-0.1.9-qqjp7mpj.mjs +0 -2
  609. package/dist/chunks/cli-0.1.9-qydwhycw.mjs +0 -2
  610. package/dist/chunks/cli-0.1.9-r3ha1332.mjs +0 -7
  611. package/dist/chunks/cli-0.1.9-r7rcv2wm.mjs +0 -8
  612. package/dist/chunks/cli-0.1.9-rd0jctgk.mjs +0 -21
  613. package/dist/chunks/cli-0.1.9-rerthk1j.mjs +0 -2
  614. package/dist/chunks/cli-0.1.9-rft22htm.mjs +0 -2
  615. package/dist/chunks/cli-0.1.9-rp31nc37.mjs +0 -2
  616. package/dist/chunks/cli-0.1.9-rw09xkh7.mjs +0 -2
  617. package/dist/chunks/cli-0.1.9-s0w3y07w.mjs +0 -2
  618. package/dist/chunks/cli-0.1.9-s45y2ndk.mjs +0 -2
  619. package/dist/chunks/cli-0.1.9-s6bk4fbn.mjs +0 -2
  620. package/dist/chunks/cli-0.1.9-scpj6tps.mjs +0 -3
  621. package/dist/chunks/cli-0.1.9-sqja68fn.mjs +0 -2
  622. package/dist/chunks/cli-0.1.9-sv3awdsv.mjs +0 -2
  623. package/dist/chunks/cli-0.1.9-t24n24mw.mjs +0 -2
  624. package/dist/chunks/cli-0.1.9-teaymnrz.mjs +0 -2
  625. package/dist/chunks/cli-0.1.9-tq9z3reg.mjs +0 -2
  626. package/dist/chunks/cli-0.1.9-v32f99vc.mjs +0 -11
  627. package/dist/chunks/cli-0.1.9-v6x9pr1t.mjs +0 -2
  628. package/dist/chunks/cli-0.1.9-v7ajk1nz.mjs +0 -2
  629. package/dist/chunks/cli-0.1.9-vdw09f8y.mjs +0 -44
  630. package/dist/chunks/cli-0.1.9-vm7cggd9.mjs +0 -45
  631. package/dist/chunks/cli-0.1.9-vp3dtntc.mjs +0 -2
  632. package/dist/chunks/cli-0.1.9-vwv31syx.mjs +0 -2
  633. package/dist/chunks/cli-0.1.9-w692zn5c.mjs +0 -2
  634. package/dist/chunks/cli-0.1.9-wn39cz20.mjs +0 -2
  635. package/dist/chunks/cli-0.1.9-wpvrabrk.mjs +0 -2
  636. package/dist/chunks/cli-0.1.9-x0xxr5dh.mjs +0 -13
  637. package/dist/chunks/cli-0.1.9-x13p19zq.mjs +0 -2
  638. package/dist/chunks/cli-0.1.9-x257hapj.mjs +0 -9
  639. package/dist/chunks/cli-0.1.9-x7qrvj9f.mjs +0 -2
  640. package/dist/chunks/cli-0.1.9-xvn37fkk.mjs +0 -2
  641. package/dist/chunks/cli-0.1.9-xvvq2rcd.mjs +0 -4
  642. package/dist/chunks/cli-0.1.9-xws3mhz4.mjs +0 -2
  643. package/dist/chunks/cli-0.1.9-y8n4w5nn.mjs +0 -5
  644. package/dist/chunks/cli-0.1.9-ycvkz1gf.mjs +0 -4
  645. package/dist/chunks/cli-0.1.9-yddanjg2.mjs +0 -132
  646. package/dist/chunks/cli-0.1.9-ymsq31jx.mjs +0 -2
  647. package/dist/chunks/cli-0.1.9-ywf6743k.mjs +0 -2
  648. package/dist/chunks/cli-0.1.9-z5mm21jw.mjs +0 -24
  649. package/dist/chunks/cli-0.1.9-zae1me3j.mjs +0 -2
  650. package/dist/chunks/cli-0.1.9-zck4s4sh.mjs +0 -2
  651. package/dist/chunks/cli-0.1.9-zehsa1kq.mjs +0 -2
  652. package/dist/chunks/cli-0.1.9-zqyxbf50.mjs +0 -2
  653. package/dist/chunks/cli-0.1.9-zstpbdrf.mjs +0 -2
  654. package/dist/chunks/cli-0.1.9-zzp8m503.mjs +0 -3
  655. package/dist/chunks/cliArgs-0.1.9-kckasx4h.mjs +0 -1
  656. package/dist/chunks/client-0.1.9-ys52xz2v.mjs +0 -1
  657. package/dist/chunks/color-0.1.9-nmnytefc.mjs +0 -1
  658. package/dist/chunks/compact-0.1.9-qw915ckh.mjs +0 -3
  659. package/dist/chunks/config-0.1.9-1m69edch.mjs +0 -1
  660. package/dist/chunks/config-0.1.9-6knxc8a2.mjs +0 -1
  661. package/dist/chunks/context-0.1.9-47a3xmqq.mjs +0 -1
  662. package/dist/chunks/context-noninteractive-0.1.9-6s9bm74v.mjs +0 -1
  663. package/dist/chunks/conversation-0.1.9-vebter8y.mjs +0 -1
  664. package/dist/chunks/copy-0.1.9-ae06p3e2.mjs +0 -9
  665. package/dist/chunks/cost-0.1.9-x5zee0z9.mjs +0 -1
  666. package/dist/chunks/createSession-0.1.9-djn7xdsv.mjs +0 -1
  667. package/dist/chunks/desktop-0.1.9-xaecrssd.mjs +0 -1
  668. package/dist/chunks/detectRepository-0.1.9-qqzcce45.mjs +0 -1
  669. package/dist/chunks/detection-0.1.9-ry1q2ym2.mjs +0 -1
  670. package/dist/chunks/devtools-0.1.9-kzs9wq2w.mjs +0 -1
  671. package/dist/chunks/diff-0.1.9-af5n5bzh.mjs +0 -1
  672. package/dist/chunks/doctor-0.1.9-9f6fz2h0.mjs +0 -1
  673. package/dist/chunks/earlyInput-0.1.9-h7yskwvf.mjs +0 -1
  674. package/dist/chunks/effort-0.1.9-spz96zzr.mjs +0 -8
  675. package/dist/chunks/environmentSelection-0.1.9-0va5g53h.mjs +0 -1
  676. package/dist/chunks/environments-0.1.9-2hka6k26.mjs +0 -1
  677. package/dist/chunks/exit-0.1.9-rvk04qa2.mjs +0 -1
  678. package/dist/chunks/export-0.1.9-c3pqjktx.mjs +0 -2
  679. package/dist/chunks/extra-usage-0.1.9-92jjke47.mjs +0 -1
  680. package/dist/chunks/extra-usage-noninteractive-0.1.9-27zjp5q7.mjs +0 -1
  681. package/dist/chunks/fast-0.1.9-60sqqvgd.mjs +0 -1
  682. package/dist/chunks/feedback-0.1.9-anraj53n.mjs +0 -14
  683. package/dist/chunks/firstPartyEventLogger-0.1.9-y55fqx1x.mjs +0 -1
  684. package/dist/chunks/fullscreen-0.1.9-xy9bnpe3.mjs +0 -1
  685. package/dist/chunks/git-0.1.9-09pdaxwd.mjs +0 -1
  686. package/dist/chunks/githubModelsCredentials-0.1.9-bzx6c3bd.mjs +0 -1
  687. package/dist/chunks/growthbook-0.1.9-rqhcy76z.mjs +0 -1
  688. package/dist/chunks/heapdump-0.1.9-qrfce4dp.mjs +0 -6
  689. package/dist/chunks/help-0.1.9-sfn2ed9n.mjs +0 -1
  690. package/dist/chunks/hookChains-0.1.9-5t2mrtyc.mjs +0 -3
  691. package/dist/chunks/hooks-0.1.9-4cebdztn.mjs +0 -1
  692. package/dist/chunks/hooks-0.1.9-y0vtx23k.mjs +0 -79
  693. package/dist/chunks/ide-0.1.9-yxzacgd5.mjs +0 -3
  694. package/dist/chunks/image-processor-napi-0.1.9-fwc1ge47.mjs +0 -1
  695. package/dist/chunks/index-0.1.9-2gv7a7tq.mjs +0 -2
  696. package/dist/chunks/index-0.1.9-31vnb803.mjs +0 -1
  697. package/dist/chunks/index-0.1.9-68aa3hmw.mjs +0 -1
  698. package/dist/chunks/index-0.1.9-7ktx5gez.mjs +0 -1
  699. package/dist/chunks/index-0.1.9-8feamw1f.mjs +0 -1
  700. package/dist/chunks/index-0.1.9-8hzceckr.mjs +0 -5
  701. package/dist/chunks/index-0.1.9-96thm65j.mjs +0 -1
  702. package/dist/chunks/index-0.1.9-c7sexk3f.mjs +0 -2
  703. package/dist/chunks/index-0.1.9-fvtq6thw.mjs +0 -1
  704. package/dist/chunks/index-0.1.9-g2ngvhaf.mjs +0 -1
  705. package/dist/chunks/index-0.1.9-gtn0qcv2.mjs +0 -7
  706. package/dist/chunks/index-0.1.9-h548q4km.mjs +0 -1
  707. package/dist/chunks/index-0.1.9-j6ac60hq.mjs +0 -1
  708. package/dist/chunks/index-0.1.9-jxdymwv4.mjs +0 -1
  709. package/dist/chunks/index-0.1.9-kgdkzpmr.mjs +0 -1
  710. package/dist/chunks/index-0.1.9-mt2y3wyw.mjs +0 -9
  711. package/dist/chunks/index-0.1.9-smem7egb.mjs +0 -30
  712. package/dist/chunks/index-0.1.9-snmdvw2f.mjs +0 -1
  713. package/dist/chunks/index-0.1.9-vwevfx80.mjs +0 -1
  714. package/dist/chunks/index-0.1.9-w21jc8bp.mjs +0 -1
  715. package/dist/chunks/index-0.1.9-wpqaqk4y.mjs +0 -1
  716. package/dist/chunks/index-0.1.9-yjp28h60.mjs +0 -9
  717. package/dist/chunks/initReplBridge-0.1.9-dag95hyf.mjs +0 -1
  718. package/dist/chunks/ink-0.1.9-4n2nvw5p.mjs +0 -1
  719. package/dist/chunks/insights-0.1.9-9hr8tshw.mjs +0 -870
  720. package/dist/chunks/install-0.1.9-km91vvgf.mjs +0 -1
  721. package/dist/chunks/install-github-app-0.1.9-874a2dgj.mjs +0 -149
  722. package/dist/chunks/install-slack-app-0.1.9-q5yyb8vs.mjs +0 -1
  723. package/dist/chunks/instrumentation-0.1.9-raz129aj.mjs +0 -12
  724. package/dist/chunks/interactiveHelpers-0.1.9-21a8r4rv.mjs +0 -1
  725. package/dist/chunks/keybindings-0.1.9-nm8s4x8m.mjs +0 -2
  726. package/dist/chunks/knowledge-0.1.9-zhr6zq80.mjs +0 -2
  727. package/dist/chunks/loadAgentsDir-0.1.9-3m0mzw84.mjs +0 -1
  728. package/dist/chunks/loadPluginHooks-0.1.9-y46g5zj0.mjs +0 -1
  729. package/dist/chunks/logout-0.1.9-hb89bxj8.mjs +0 -1
  730. package/dist/chunks/lsp-0.1.9-2j3y8eqc.mjs +0 -1
  731. package/dist/chunks/main-0.1.9-7cnyr288.mjs +0 -1
  732. package/dist/chunks/managedEnv-0.1.9-y8wax2wz.mjs +0 -1
  733. package/dist/chunks/mcp-0.1.9-14beee71.mjs +0 -17
  734. package/dist/chunks/mcp-0.1.9-qw1n3pzx.mjs +0 -4
  735. package/dist/chunks/mcp-0.1.9-zd92e41j.mjs +0 -1
  736. package/dist/chunks/mcpServer-0.1.9-5p48a2y0.mjs +0 -1
  737. package/dist/chunks/mcpb-0.1.9-t8x1bjwv.mjs +0 -1
  738. package/dist/chunks/memory-0.1.9-mxz6vgsy.mjs +0 -3
  739. package/dist/chunks/mobile-0.1.9-144nwr03.mjs +0 -2
  740. package/dist/chunks/model-0.1.9-ghswdzx2.mjs +0 -1
  741. package/dist/chunks/model-0.1.9-j4vhm4vm.mjs +0 -2
  742. package/dist/chunks/oauth-0.1.9-a7p9ezjx.mjs +0 -1
  743. package/dist/chunks/openaiShim-0.1.9-5bn57rv6.mjs +0 -14
  744. package/dist/chunks/output-style-0.1.9-y8t5c5v3.mjs +0 -1
  745. package/dist/chunks/package-HMBVQOZ4-0.1.9-mbvqe0av.mjs +0 -1
  746. package/dist/chunks/parser-0.1.9-d7vc9q1w.mjs +0 -1
  747. package/dist/chunks/passes-0.1.9-84vsp058.mjs +0 -1
  748. package/dist/chunks/permissions-0.1.9-h0a2312z.mjs +0 -3
  749. package/dist/chunks/plan-0.1.9-k9dx9nwc.mjs +0 -1
  750. package/dist/chunks/plist-0.1.9-f3c6hvca.mjs +0 -1
  751. package/dist/chunks/plugin-0.1.9-z3nwra38.mjs +0 -29
  752. package/dist/chunks/pluginStartupCheck-0.1.9-p68xwmv4.mjs +0 -1
  753. package/dist/chunks/plugins-0.1.9-grc1bgmj.mjs +0 -9
  754. package/dist/chunks/print-0.1.9-z151tvas.mjs +0 -57
  755. package/dist/chunks/privacy-settings-0.1.9-m7xpxtd8.mjs +0 -1
  756. package/dist/chunks/process-0.1.9-anx0dq1a.mjs +0 -1
  757. package/dist/chunks/processBashCommand-0.1.9-bchtybqh.mjs +0 -1
  758. package/dist/chunks/processSlashCommand-0.1.9-ebvc859m.mjs +0 -9
  759. package/dist/chunks/prompt-0.1.9-08fnpwfx.mjs +0 -1
  760. package/dist/chunks/prompt-0.1.9-whqkx3td.mjs +0 -1
  761. package/dist/chunks/prompts-0.1.9-psek69yr.mjs +0 -1
  762. package/dist/chunks/provider-0.1.9-xwmdqr38.mjs +0 -2
  763. package/dist/chunks/providerProfiles-0.1.9-myc8zcfy.mjs +0 -1
  764. package/dist/chunks/rate-limit-options-0.1.9-06twart5.mjs +0 -1
  765. package/dist/chunks/registry-0.1.9-xxrsbce3.mjs +0 -1
  766. package/dist/chunks/release-notes-0.1.9-4r396x7z.mjs +0 -5
  767. package/dist/chunks/reload-plugins-0.1.9-hm09ekrf.mjs +0 -2
  768. package/dist/chunks/remote-env-0.1.9-0peng4np.mjs +0 -1
  769. package/dist/chunks/remoteBridgeCore-0.1.9-4eg0bkck.mjs +0 -1
  770. package/dist/chunks/remoteSession-0.1.9-7jagnaes.mjs +0 -1
  771. package/dist/chunks/rename-0.1.9-3r8bqa1y.mjs +0 -1
  772. package/dist/chunks/replBridgeHandle-0.1.9-1y32h5jq.mjs +0 -1
  773. package/dist/chunks/resume-0.1.9-gayv56qp.mjs +0 -2
  774. package/dist/chunks/rewind-0.1.9-krxjbzeg.mjs +0 -1
  775. package/dist/chunks/sandbox-adapter-0.1.9-b4ze2ex2.mjs +0 -1
  776. package/dist/chunks/sandbox-toggle-0.1.9-6vctxbed.mjs +0 -1
  777. package/dist/chunks/session-0.1.9-jtrr3jje.mjs +0 -2
  778. package/dist/chunks/sessionFileAccessHooks-0.1.9-wpgdva8t.mjs +0 -1
  779. package/dist/chunks/sessionStorage-0.1.9-1v6wyqzw.mjs +0 -1
  780. package/dist/chunks/setup-0.1.9-jc5w6v5s.mjs +0 -5
  781. package/dist/chunks/sinks-0.1.9-49ereb4y.mjs +0 -1
  782. package/dist/chunks/skills-0.1.9-d63w5m27.mjs +0 -1
  783. package/dist/chunks/startupProfiler-0.1.9-gmke65dk.mjs +0 -1
  784. package/dist/chunks/state-0.1.9-m8x0v07d.mjs +0 -1
  785. package/dist/chunks/stats-0.1.9-yvya6xg6.mjs +0 -6
  786. package/dist/chunks/status-0.1.9-sapnwz4b.mjs +0 -1
  787. package/dist/chunks/stickers-0.1.9-ewdagtd4.mjs +0 -1
  788. package/dist/chunks/subprocessEnv-0.1.9-2dqzh55d.mjs +0 -1
  789. package/dist/chunks/tasks-0.1.9-qgqwhse9.mjs +0 -1
  790. package/dist/chunks/teamHelpers-0.1.9-r474ar76.mjs +0 -1
  791. package/dist/chunks/teammateModeSnapshot-0.1.9-nwc11b9m.mjs +0 -1
  792. package/dist/chunks/teleport-0.1.9-xaj204my.mjs +0 -1
  793. package/dist/chunks/terminalSetup-0.1.9-xd5rhh32.mjs +0 -1
  794. package/dist/chunks/theme-0.1.9-f6jzdysz.mjs +0 -1
  795. package/dist/chunks/thinkback-0.1.9-8j25tex7.mjs +0 -1
  796. package/dist/chunks/thinkback-play-0.1.9-tzs2w3mj.mjs +0 -1
  797. package/dist/chunks/toolPool-0.1.9-6b4938vh.mjs +0 -1
  798. package/dist/chunks/toolSearch-0.1.9-7ych6nv7.mjs +0 -1
  799. package/dist/chunks/trustedDevice-0.1.9-xqxt3kmz.mjs +0 -1
  800. package/dist/chunks/turndown.cjs-0.1.9-m1wesrr4.mjs +0 -69
  801. package/dist/chunks/ultrareviewCommand-0.1.9-x09n5pvc.mjs +0 -4
  802. package/dist/chunks/update-0.1.9-8dntd8kh.mjs +0 -94
  803. package/dist/chunks/upgrade-0.1.9-eja31dgt.mjs +0 -1
  804. package/dist/chunks/upstreamproxy-0.1.9-pv2yqh11.mjs +0 -14
  805. package/dist/chunks/usage-0.1.9-neje6dea.mjs +0 -1
  806. package/dist/chunks/util-0.1.9-kdhggd68.mjs +0 -1
  807. package/dist/chunks/utils-0.1.9-bqw30f8b.mjs +0 -1
  808. package/dist/chunks/vim-0.1.9-w4d1qz6f.mjs +0 -1
  809. package/dist/chunks/watcher-0.1.9-ty2r0yxd.mjs +0 -1
  810. package/dist/chunks/wiki-0.1.9-ah646x2k.mjs +0 -132
  811. package/dist/chunks/worktree-0.1.9-d3fbxjwd.mjs +0 -1
  812. package/dist/chunks/worktreeModeEnabled-0.1.9-qbn6b5fs.mjs +0 -1
  813. package/dist/chunks/wrapper-0.1.9-eh46qafm.mjs +0 -7
  814. /package/dist/chunks/{cli-0.1.9-zrdz7st3.mjs → cli-0.1.11-x3q39kf7.mjs} +0 -0
@@ -0,0 +1,4 @@
1
+ import{Gh as g,Hh as OJ}from"./cli-0.1.11-nhjbgc7t.mjs";import{Az as l,Dz as r,Ez as wJ,ov as KJ,pv as SJ,vz as N,xz as UJ,yz as c,zz as i}from"./cli-0.1.11-s8ygndzf.mjs";import"./cli-0.1.11-1bryv90w.mjs";import"./cli-0.1.11-5e45zda5.mjs";import"./cli-0.1.11-jjgjkqqv.mjs";import{LP as JJ,MP as BJ}from"./cli-0.1.11-r990p54m.mjs";import"./cli-0.1.11-70f778wy.mjs";import"./cli-0.1.11-weav8142.mjs";import"./cli-0.1.11-t7dc7fbj.mjs";import"./cli-0.1.11-vb5f7c3a.mjs";import"./cli-0.1.11-sma2xhvv.mjs";import"./cli-0.1.11-852v06g0.mjs";import"./cli-0.1.11-z4hb2mcd.mjs";import"./cli-0.1.11-mj78w4sp.mjs";import"./cli-0.1.11-qrq0sw0h.mjs";import"./cli-0.1.11-d4ahh3jz.mjs";import"./cli-0.1.11-wc9bay3d.mjs";import"./cli-0.1.11-rvk3t45h.mjs";import"./cli-0.1.11-0n77qn68.mjs";import"./cli-0.1.11-h02tyg8p.mjs";import{QU as e,SU as f,eT as _J,vV as IJ}from"./cli-0.1.11-bvd2r7an.mjs";import"./cli-0.1.11-jr50ahcv.mjs";import"./cli-0.1.11-6zkfmcxp.mjs";import"./cli-0.1.11-jkrt4znb.mjs";import"./cli-0.1.11-424zgj5k.mjs";import"./cli-0.1.11-rj9ea3zn.mjs";import"./cli-0.1.11-mstxxz33.mjs";import"./cli-0.1.11-kghg51gb.mjs";import"./cli-0.1.11-fstfs72j.mjs";import{qX as I}from"./cli-0.1.11-kk0qqs5v.mjs";import{rX as RJ}from"./cli-0.1.11-x37jysc0.mjs";import"./cli-0.1.11-h762f6hr.mjs";import"./cli-0.1.11-50naxqgt.mjs";import{FX as p,HX as x,MX as PJ}from"./cli-0.1.11-v6kwgrqc.mjs";import"./cli-0.1.11-16086k9e.mjs";import"./cli-0.1.11-bwpemkht.mjs";import"./cli-0.1.11-dcswnc8x.mjs";import"./cli-0.1.11-p22bdjhv.mjs";import"./cli-0.1.11-y4c6y87y.mjs";import"./cli-0.1.11-q58q9jqr.mjs";import"./cli-0.1.11-zb2sa3e2.mjs";import"./cli-0.1.11-3p2f194m.mjs";import"./cli-0.1.11-05ngjm8p.mjs";import"./cli-0.1.11-yv5pfq6n.mjs";import{P4 as C,X4 as b,Z4 as u,i5 as v}from"./cli-0.1.11-qbcfg80y.mjs";import"./cli-0.1.11-b0jasw23.mjs";import"./cli-0.1.11-s6yfjcm5.mjs";import"./cli-0.1.11-sqqzwx4h.mjs";import{k6 as h,o6 as yJ}from"./cli-0.1.11-2w8d5vqb.mjs";import{G6 as WJ,p6 as E}from"./cli-0.1.11-d10nfa6g.mjs";import"./cli-0.1.11-h2hxx8ma.mjs";import"./cli-0.1.11-1xr9et85.mjs";import{N8 as AJ,S7 as S,U7 as TJ,p8 as V,w8 as m}from"./cli-0.1.11-v7bwjqf0.mjs";import"./cli-0.1.11-h7e4rkwk.mjs";import"./cli-0.1.11-7xr2ermy.mjs";import{Oea as k,Pea as HJ}from"./cli-0.1.11-7qpnfx56.mjs";import"./cli-0.1.11-vch8cn95.mjs";import{bfa as d,nfa as qJ}from"./cli-0.1.11-fag2wtke.mjs";import"./cli-0.1.11-nx8a99hz.mjs";import"./cli-0.1.11-ktwtyqmp.mjs";import{dga as F,ega as LJ}from"./cli-0.1.11-xwj7cmkj.mjs";import{bha as j,eha as FJ}from"./cli-0.1.11-vq5fvf9m.mjs";import"./cli-0.1.11-d3exw047.mjs";import"./cli-0.1.11-e5ecf583.mjs";import"./cli-0.1.11-rrnr3ab1.mjs";import"./cli-0.1.11-98zcwng9.mjs";import{Nna as U,Rna as _}from"./cli-0.1.11-yrfxpjhr.mjs";async function D(){if(!C())return null;try{let{accessToken:Q,orgUUID:J}=await p();return(await E.get(`${k().BASE_API_URL}/v1/ultrareview/quota`,{headers:{...x(Q),"x-organization-uuid":J},timeout:5000})).data}catch(Q){return j(`fetchUltrareviewQuota failed: ${Q}`),null}}var $=_(()=>{WJ();HJ();v();FJ();PJ()});function o(){s=!0}async function a(){if(b()||u())return{kind:"proceed",billingNote:""};let[Q,J]=await Promise.all([D(),g().catch(()=>null)]);if(!Q)return{kind:"proceed",billingNote:""};if(Q.reviews_remaining>0)return{kind:"proceed",billingNote:` This is free ultrareview ${Q.reviews_used+1} of ${Q.reviews_limit}.`};if(!J)return{kind:"proceed",billingNote:""};let Z=J.extra_usage;if(!Z?.is_enabled)return F("tengu_review_overage_not_enabled",{}),{kind:"not-enabled"};let X=Z.monthly_limit,z=Z.used_credits??0,G=X===null||X===void 0?1/0:X-z;if(G<10)return F("tengu_review_overage_low_balance",{available:G}),{kind:"low-balance",available:G};if(!s)return F("tengu_review_overage_dialog_shown",{}),{kind:"needs-confirm"};return{kind:"proceed",billingNote:" This review bills as Extra Usage."}}async function n(Q,J,Z){let X=await c();if(!X.eligible){let K=X.errors.filter((Y)=>Y.type!=="no_remote_environment");if(K.length>0)return F("tengu_review_remote_precondition_failed",{precondition_errors:K.map((q)=>q.type).join(",")}),[{type:"text",text:`Ultrareview cannot launch:
2
+ ${K.map(i).join(`
3
+ `)}`}]}let z=Z??"",G=Q.trim(),A=/^\d+$/.test(G),w="env_011111111111111111111113",H=d("tengu_review_bughunter_config",null),W=(K,Y,q)=>{if(typeof K!=="number"||!Number.isFinite(K))return Y;let y=Math.floor(K);if(y<=0)return Y;return q!==void 0&&y>q?Y:y},T={BUGHUNTER_DRY_RUN:"1",BUGHUNTER_FLEET_SIZE:String(W(H?.fleet_size,5,20)),BUGHUNTER_MAX_DURATION:String(W(H?.max_duration_minutes,10,25)),BUGHUNTER_AGENT_TIMEOUT:String(W(H?.agent_timeout_seconds,600,1800)),BUGHUNTER_TOTAL_WALLCLOCK:String(W(H?.total_wallclock_minutes,22,27)),...process.env.BUGHUNTER_DEV_BUNDLE_B64&&{BUGHUNTER_DEV_BUNDLE_B64:process.env.BUGHUNTER_DEV_BUNDLE_B64}},M,P,R;if(A){let K=await h();if(!K||K.host!=="github.com")return F("tengu_review_remote_precondition_failed",{}),null;M=await N({initialMessage:null,description:`ultrareview: ${K.owner}/${K.name}#${G}`,signal:J.abortController.signal,branchName:`refs/pull/${G}/head`,environmentId:w,environmentVariables:{BUGHUNTER_PR_NUMBER:G,BUGHUNTER_REPOSITORY:`${K.owner}/${K.name}`,...T}}),P=`/ultrareview ${G}`,R=`${K.owner}/${K.name}#${G}`}else{let K=await m()||"main",{stdout:Y,code:q}=await S(V(),["merge-base",K,"HEAD"],{preserveOutputOnError:!1}),y=Y.trim();if(q!==0||!y)return F("tengu_review_remote_precondition_failed",{}),[{type:"text",text:`Could not find merge-base with ${K}. Make sure you're in a git repo with a ${K} branch.`}];let{stdout:YJ,code:zJ}=await S(V(),["diff","--shortstat",y],{preserveOutputOnError:!1});if(zJ===0&&!YJ.trim())return F("tengu_review_remote_precondition_failed",{}),[{type:"text",text:`No changes against the ${K} fork point. Make some commits or stage files first.`}];if(M=await N({initialMessage:null,description:`ultrareview: ${K}`,signal:J.abortController.signal,useBundle:!0,environmentId:w,environmentVariables:{BUGHUNTER_BASE_BRANCH:y,...T}}),!M)return F("tengu_review_remote_teleport_failed",{}),[{type:"text",text:"Repo is too large. Push a PR and use `/ultrareview <PR#>` instead."}];P="/ultrareview",R=K}if(!M)return F("tengu_review_remote_teleport_failed",{}),null;l({remoteTaskType:"ultrareview",session:M,command:P,context:J,isRemoteReview:!0}),F("tengu_review_remote_launched",{});let L=r(M.id);return[{type:"text",text:`Ultrareview launched for ${R} (~10–20 min, runs in the cloud). Track: ${L}${z} Findings arrive via task-notification. Briefly acknowledge the launch to the user without repeating the target or URL — both are already visible in the tool output above.`}]}var s=!1;var t=_(()=>{qJ();LJ();$();OJ();wJ();v();yJ();TJ();AJ();UJ()});function XJ(Q){let J=QJ.c(15),{onProceed:Z,onCancel:X}=Q,[z,G]=B.useState(!1),A;if(J[0]===Symbol.for("react.memo_cache_sentinel"))A=new AbortController,J[0]=A;else A=J[0];let w=B.useRef(A),H;if(J[1]!==X||J[2]!==Z)H=(q)=>{if(q==="proceed")G(!0),Z(w.current.signal).catch(()=>G(!1));else X()},J[1]=X,J[2]=Z,J[3]=H;else H=J[3];let W=H,T;if(J[4]!==X)T=()=>{w.current.abort(),X()},J[4]=X,J[5]=T;else T=J[5];let M=T,P;if(J[6]===Symbol.for("react.memo_cache_sentinel"))P=[{label:"Proceed with Extra Usage billing",value:"proceed"},{label:"Cancel",value:"cancel"}],J[6]=P;else P=J[6];let R=P,L;if(J[7]===Symbol.for("react.memo_cache_sentinel"))L=O.jsxDEV(f,{children:"Your free ultrareviews for this organization are used. Further reviews bill as Extra Usage (pay-per-use)."},void 0,!1,void 0,this),J[7]=L;else L=J[7];let K;if(J[8]!==M||J[9]!==W||J[10]!==z)K=O.jsxDEV(e,{flexDirection:"column",gap:1,children:[L,z?O.jsxDEV(f,{color:"background",children:"Launching…"},void 0,!1,void 0,this):O.jsxDEV(KJ,{options:R,onChange:W,onCancel:M},void 0,!1,void 0,this)]},void 0,!0,void 0,this),J[8]=M,J[9]=W,J[10]=z,J[11]=K;else K=J[11];let Y;if(J[12]!==M||J[13]!==K)Y=O.jsxDEV(JJ,{title:"Ultrareview billing",onCancel:M,color:"background",children:K},void 0,!1,void 0,this),J[12]=M,J[13]=K,J[14]=Y;else Y=J[14];return Y}var QJ,B,O;var ZJ=_(()=>{SJ();BJ();IJ();QJ=U(_J(),1),B=U(RJ(),1),O=U(I(),1)});function VJ(Q){return Q.map((J)=>J.type==="text"?J.text:"").filter(Boolean).join(`
4
+ `)}async function GJ(Q,J,Z,X,z){let G=await n(Q,J,X);if(z?.aborted)return;if(G)Z(VJ(G),{shouldQuery:!0});else Z("Ultrareview failed to launch the remote session. Check that this is a GitHub repo and try again.",{display:"system"})}var MJ,eJ=async(Q,J,Z)=>{let X=await a();if(X.kind==="not-enabled")return Q("Free ultrareviews used. Enable Extra Usage at https://claude.ai/settings/billing to continue.",{display:"system"}),null;if(X.kind==="low-balance")return Q(`Balance too low to launch ultrareview ($${X.available.toFixed(2)} available, $10 minimum). Top up at https://claude.ai/settings/billing`,{display:"system"}),null;if(X.kind==="needs-confirm")return MJ.jsxDEV(XJ,{onProceed:async(z)=>{if(await GJ(Z,J,Q," This review bills as Extra Usage.",z),!z.aborted)o()},onCancel:()=>Q("Ultrareview cancelled.",{display:"system"})},void 0,!1,void 0,this);return await GJ(Z,J,Q,X.billingNote),null};var NJ=_(()=>{t();ZJ();MJ=U(I(),1)});NJ();export{eJ as call};
@@ -0,0 +1,94 @@
1
+ import{Vu as Z,Wu as o,Zv as G,bw as b,cw as t,dw as D,ew as E,gw as e,hw as F,iw as qq,kw as f,lw as Jq,tw as L,ww as m,zw as Kq}from"./cli-0.1.11-s8ygndzf.mjs";import"./cli-0.1.11-1bryv90w.mjs";import"./cli-0.1.11-5e45zda5.mjs";import"./cli-0.1.11-jjgjkqqv.mjs";import"./cli-0.1.11-r990p54m.mjs";import"./cli-0.1.11-70f778wy.mjs";import"./cli-0.1.11-weav8142.mjs";import"./cli-0.1.11-t7dc7fbj.mjs";import"./cli-0.1.11-vb5f7c3a.mjs";import"./cli-0.1.11-sma2xhvv.mjs";import"./cli-0.1.11-852v06g0.mjs";import"./cli-0.1.11-z4hb2mcd.mjs";import"./cli-0.1.11-mj78w4sp.mjs";import"./cli-0.1.11-qrq0sw0h.mjs";import"./cli-0.1.11-d4ahh3jz.mjs";import"./cli-0.1.11-wc9bay3d.mjs";import"./cli-0.1.11-rvk3t45h.mjs";import"./cli-0.1.11-0n77qn68.mjs";import"./cli-0.1.11-h02tyg8p.mjs";import{PU as h,VU as d}from"./cli-0.1.11-bvd2r7an.mjs";import"./cli-0.1.11-jr50ahcv.mjs";import{FV as v,IV as l}from"./cli-0.1.11-6zkfmcxp.mjs";import"./cli-0.1.11-jkrt4znb.mjs";import"./cli-0.1.11-424zgj5k.mjs";import"./cli-0.1.11-rj9ea3zn.mjs";import"./cli-0.1.11-mstxxz33.mjs";import"./cli-0.1.11-kghg51gb.mjs";import"./cli-0.1.11-fstfs72j.mjs";import"./cli-0.1.11-kk0qqs5v.mjs";import"./cli-0.1.11-x37jysc0.mjs";import"./cli-0.1.11-h762f6hr.mjs";import"./cli-0.1.11-50naxqgt.mjs";import"./cli-0.1.11-v6kwgrqc.mjs";import"./cli-0.1.11-16086k9e.mjs";import"./cli-0.1.11-bwpemkht.mjs";import"./cli-0.1.11-dcswnc8x.mjs";import"./cli-0.1.11-p22bdjhv.mjs";import"./cli-0.1.11-y4c6y87y.mjs";import"./cli-0.1.11-q58q9jqr.mjs";import"./cli-0.1.11-zb2sa3e2.mjs";import"./cli-0.1.11-3p2f194m.mjs";import"./cli-0.1.11-05ngjm8p.mjs";import"./cli-0.1.11-yv5pfq6n.mjs";import{q1 as O,v1 as i}from"./cli-0.1.11-qbcfg80y.mjs";import"./cli-0.1.11-b0jasw23.mjs";import{E5 as X,F5 as a}from"./cli-0.1.11-s6yfjcm5.mjs";import"./cli-0.1.11-sqqzwx4h.mjs";import"./cli-0.1.11-2w8d5vqb.mjs";import"./cli-0.1.11-d10nfa6g.mjs";import"./cli-0.1.11-h2hxx8ma.mjs";import"./cli-0.1.11-1xr9et85.mjs";import{Cba as j,Gaa as M,K7 as S,Qaa as n,S7 as x,U7 as w,Vba as r,zba as U}from"./cli-0.1.11-v7bwjqf0.mjs";import"./cli-0.1.11-h7e4rkwk.mjs";import"./cli-0.1.11-7xr2ermy.mjs";import"./cli-0.1.11-7qpnfx56.mjs";import"./cli-0.1.11-vch8cn95.mjs";import"./cli-0.1.11-fag2wtke.mjs";import"./cli-0.1.11-nx8a99hz.mjs";import"./cli-0.1.11-ktwtyqmp.mjs";import{dga as P,ega as g}from"./cli-0.1.11-xwj7cmkj.mjs";import{Jga as T,bha as W,eha as N}from"./cli-0.1.11-vq5fvf9m.mjs";import{fha as y,sha as k}from"./cli-0.1.11-d3exw047.mjs";import{uha as q,yha as s}from"./cli-0.1.11-e5ecf583.mjs";import"./cli-0.1.11-rrnr3ab1.mjs";import"./cli-0.1.11-98zcwng9.mjs";import"./cli-0.1.11-yrfxpjhr.mjs";a();i();g();t();import{homedir as u}from"os";import{dirname as Aq,join as B}from"path";h();d();N();k();T();w();S();function c(){let Q=process.env.SHELL||"",K=u(),$=y();if(Q.endsWith("/zsh")||Q.endsWith("/zsh.exe")){let _=B($,"completion.zsh");return{name:"zsh",rcFile:B(K,".zshrc"),cacheFile:_,completionLine:`[[ -f "${_}" ]] && source "${_}"`,shellFlag:"zsh"}}if(Q.endsWith("/bash")||Q.endsWith("/bash.exe")){let _=B($,"completion.bash");return{name:"bash",rcFile:B(K,".bashrc"),cacheFile:_,completionLine:`[ -f "${_}" ] && source "${_}"`,shellFlag:"bash"}}if(Q.endsWith("/fish")||Q.endsWith("/fish.exe")){let _=process.env.XDG_CONFIG_HOME||B(K,".config"),R=B($,"completion.fish");return{name:"fish",rcFile:B(_,"fish","config.fish"),cacheFile:R,completionLine:`[ -f "${R}" ] && source "${R}"`,shellFlag:"fish"}}return null}async function C(){let Q=c();if(!Q)return;W(`update: Regenerating ${Q.name} completion cache`);let K=process.argv[1]||"claude";if((await x(K,["completion",Q.shellFlag,"--output",Q.cacheFile])).code!==0){W(`update: Failed to regenerate ${Q.name} completion cache`);return}W(`update: Regenerated ${Q.name} completion cache at ${Q.cacheFile}`)}r();N();Jq();o();e();Kq();qq();s();l();n();async function mq(){if(O()!=="firstParty")q(X.yellow(`Auto-update is not available for third-party provider builds.
2
+ `)+`Current version: 0.1.11
3
+
4
+ To update, reinstall from npm:
5
+ `+X.bold(" npm install -g @claudiolabs/claudio@latest")+`
6
+
7
+ Or, if you built from source, pull and rebuild:
8
+ `+X.bold(" git pull && bun install && bun run build")+`
9
+ `),await Z(0);P("tengu_update_check",{}),q(`Current version: 0.1.11
10
+ `);let Q=M()?.autoUpdatesChannel??"latest";q(`Checking for updates to ${Q} version...
11
+ `),W("update: Starting update check"),W("update: Running diagnostic");let K=await f();if(W(`update: Installation type: ${K.installationType}`),W(`update: Config install method: ${K.configInstallMethod}`),K.multipleInstallations.length>1){q(`
12
+ `),q(X.yellow("Warning: Multiple installations found")+`
13
+ `);for(let J of K.multipleInstallations){let Y=K.installationType===J.type?" (currently running)":"";q(`- ${J.type} at ${J.path}${Y}
14
+ `)}}if(K.warnings.length>0){q(`
15
+ `);for(let J of K.warnings)W(`update: Warning detected: ${J.issue}`),W(`update: Showing warning: ${J.issue}`),q(X.yellow(`Warning: ${J.issue}
16
+ `)),q(X.bold(`Fix: ${J.fix}
17
+ `))}let $=j();if(!$.installMethod&&K.installationType!=="package-manager"){q(`
18
+ `),q(`Updating configuration to track installation method...
19
+ `);let J="unknown";switch(K.installationType){case"npm-local":J="local";break;case"native":J="native";break;case"npm-global":J="global";break;default:J="unknown"}U((Y)=>({...Y,installMethod:J})),q(`Installation method set to: ${J}
20
+ `)}if(K.installationType==="development")q(`
21
+ `),q(X.yellow("You are running a development build — auto-update is unavailable.")+`
22
+ `),q(`To update, pull the latest source and rebuild:
23
+ `),q(X.bold(" git pull && bun install && bun run build")+`
24
+ `),q(`
25
+ `),q(`Or reinstall from npm:
26
+ `),q(X.bold(" npm install -g @claudiolabs/claudio@latest")+`
27
+ `),await Z(0);if(K.installationType==="package-manager"){let J=await F();if(q(`
28
+ `),J==="homebrew"){q(`Claude is managed by Homebrew.
29
+ `);let Y=await G(Q);if(Y&&!v("0.1.11",Y))q(`Update available: ${"0.1.11"} → ${Y}
30
+ `),q(`
31
+ `),q(`To update, run:
32
+ `),q(X.bold(" brew upgrade claude-code")+`
33
+ `);else q(`Claude is up to date!
34
+ `)}else if(J==="winget"){q(`Claude is managed by winget.
35
+ `);let Y=await G(Q);if(Y&&!v("0.1.11",Y))q(`Update available: ${"0.1.11"} → ${Y}
36
+ `),q(`
37
+ `),q(`To update, run:
38
+ `),q(X.bold(" winget upgrade Anthropic.ClaudeCode")+`
39
+ `);else q(`Claude is up to date!
40
+ `)}else if(J==="apk"){q(`Claude is managed by apk.
41
+ `);let Y=await G(Q);if(Y&&!v("0.1.11",Y))q(`Update available: ${"0.1.11"} → ${Y}
42
+ `),q(`
43
+ `),q(`To update, run:
44
+ `),q(X.bold(" apk upgrade claude-code")+`
45
+ `);else q(`Claude is up to date!
46
+ `)}else q(`Claude is managed by a package manager.
47
+ `),q(`Please use your package manager to update.
48
+ `);await Z(0)}if($.installMethod&&K.configInstallMethod!=="not set"&&K.installationType!=="package-manager"){let{installationType:J,configInstallMethod:Y}=K,V={"npm-local":"local","npm-global":"global",native:"native",development:"development",unknown:"unknown"}[J]||J;if(V!==Y&&Y!=="unknown")q(`
49
+ `),q(X.yellow("Warning: Configuration mismatch")+`
50
+ `),q(`Config expects: ${Y} installation
51
+ `),q(`Currently running: ${J}
52
+ `),q(X.yellow(`Updating the ${J} installation you are currently using`)+`
53
+ `),U((p)=>({...p,installMethod:V})),q(`Config updated to reflect current installation method: ${V}
54
+ `)}if(K.installationType==="native"){W("update: Detected native installation, using native updater");try{let J=await L(Q,!0);if(J.lockFailed){let Y=J.lockHolderPid?` (PID ${J.lockHolderPid})`:"";q(X.yellow(`Another Claude process${Y} is currently running. Please try again in a moment.`)+`
55
+ `),await Z(0)}if(!J.latestVersion)process.stderr.write(`Failed to check for updates
56
+ `),await Z(1);if(J.latestVersion==="0.1.11")q(X.green("Claudio is up to date (0.1.11)")+`
57
+ `);else q(X.green(`Successfully updated from 0.1.11 to version ${J.latestVersion}`)+`
58
+ `),await C();await Z(0)}catch(J){process.stderr.write(`Error: Failed to install native update
59
+ `),process.stderr.write(String(J)+`
60
+ `),process.stderr.write(`Try running "claude doctor" for diagnostics
61
+ `),await Z(1)}}if($.installMethod!=="native")await m();W("update: Checking npm registry for latest version"),W("update: Package URL: @claudiolabs/claudio"),W(`update: Running: ${`npm view @claudiolabs/claudio@${Q==="stable"?"stable":"latest"} version`}`);let z=await G(Q);if(W(`update: Latest version from npm: ${z||"FAILED"}`),!z){if(W("update: Failed to get latest version from npm registry"),process.stderr.write(X.red("Failed to check for updates")+`
62
+ `),process.stderr.write(`Unable to fetch latest version from npm registry
63
+ `),process.stderr.write(`
64
+ `),process.stderr.write(`Possible causes:
65
+ `),process.stderr.write(` • Network connectivity issues
66
+ `),process.stderr.write(` • npm registry is unreachable
67
+ `),process.stderr.write(` • Corporate proxy/firewall blocking npm
68
+ `),!"@claudiolabs/claudio".startsWith("@anthropic"))process.stderr.write(` • Internal/development build not published to npm
69
+ `);process.stderr.write(`
70
+ `),process.stderr.write(`Try:
71
+ `),process.stderr.write(` • Check your internet connection
72
+ `),process.stderr.write(` • Run with --debug flag for more details
73
+ `);let J="@claudiolabs/claudio";process.stderr.write(` • Manually check: npm view ${J} version
74
+ `),process.stderr.write(` • Check if you need to login: npm whoami
75
+ `),await Z(1)}if(z==="0.1.11")q(X.green("Claudio is up to date (0.1.11)")+`
76
+ `),await Z(0);q(`New version available: ${z} (current: 0.1.11)
77
+ `),q(`Installing update...
78
+ `);let A=!1,H="";switch(K.installationType){case"npm-local":A=!0,H="local";break;case"npm-global":A=!1,H="global";break;case"unknown":{let J=await E();A=J,H=J?"local":"global",q(X.yellow("Warning: Could not determine installation type")+`
79
+ `),q(`Attempting ${H} update based on file detection...
80
+ `);break}default:process.stderr.write(`Error: Cannot update ${K.installationType} installation
81
+ `),await Z(1)}q(`Using ${H} installation update method...
82
+ `),W(`update: Update method determined: ${H}`),W(`update: useLocalUpdate: ${A}`);let I;if(A)W("update: Calling installOrUpdateClaudePackage() for local update"),I=await D(Q);else W("update: Calling installGlobalPackage() for global update"),I=await b();switch(W(`update: Installation status: ${I}`),I){case"success":q(X.green(`Successfully updated from 0.1.11 to version ${z}`)+`
83
+ `),await C();break;case"no_permissions":if(process.stderr.write(`Error: Insufficient permissions to install update
84
+ `),A)process.stderr.write(`Try manually updating with:
85
+ `),process.stderr.write(` cd ~/.claudio/local && npm update @claudiolabs/claudio
86
+ `);else process.stderr.write(`Try running with sudo or fix npm permissions
87
+ `),process.stderr.write(`Or consider using native installation with: claudio install
88
+ `);await Z(1);break;case"install_failed":if(process.stderr.write(`Error: Failed to install update
89
+ `),A)process.stderr.write(`Try manually updating with:
90
+ `),process.stderr.write(` cd ~/.claudio/local && npm update @claudiolabs/claudio
91
+ `);else process.stderr.write(`Or consider using native installation with: claudio install
92
+ `);await Z(1);break;case"in_progress":process.stderr.write(`Error: Another instance is currently performing an update
93
+ `),process.stderr.write(`Please wait and try again later
94
+ `),await Z(1);break}await Z(0)}export{mq as update};
@@ -0,0 +1 @@
1
+ import{mb as a,nb as b}from"./cli-0.1.11-x5nvafch.mjs";import"./cli-0.1.11-trcf78n1.mjs";import"./cli-0.1.11-kk0qqs5v.mjs";import"./cli-0.1.11-x37jysc0.mjs";import"./cli-0.1.11-16086k9e.mjs";import"./cli-0.1.11-qbcfg80y.mjs";import"./cli-0.1.11-b0jasw23.mjs";import"./cli-0.1.11-s6yfjcm5.mjs";import"./cli-0.1.11-sqqzwx4h.mjs";import"./cli-0.1.11-d10nfa6g.mjs";import"./cli-0.1.11-h2hxx8ma.mjs";import"./cli-0.1.11-1xr9et85.mjs";import"./cli-0.1.11-v7bwjqf0.mjs";import"./cli-0.1.11-h7e4rkwk.mjs";import"./cli-0.1.11-7xr2ermy.mjs";import"./cli-0.1.11-7qpnfx56.mjs";import"./cli-0.1.11-vch8cn95.mjs";import"./cli-0.1.11-fag2wtke.mjs";import"./cli-0.1.11-nx8a99hz.mjs";import"./cli-0.1.11-ktwtyqmp.mjs";import"./cli-0.1.11-xwj7cmkj.mjs";import"./cli-0.1.11-vq5fvf9m.mjs";import"./cli-0.1.11-d3exw047.mjs";import"./cli-0.1.11-e5ecf583.mjs";import"./cli-0.1.11-rrnr3ab1.mjs";import"./cli-0.1.11-98zcwng9.mjs";import"./cli-0.1.11-yrfxpjhr.mjs";b();export{a as call};
@@ -0,0 +1,14 @@
1
+ import{C5 as v,o5 as I,r5 as f,w5 as E,x5 as _}from"./cli-0.1.11-b0jasw23.mjs";import"./cli-0.1.11-sqqzwx4h.mjs";import"./cli-0.1.11-d10nfa6g.mjs";import"./cli-0.1.11-h2hxx8ma.mjs";import"./cli-0.1.11-1xr9et85.mjs";import{ada as H,dda as d}from"./cli-0.1.11-v7bwjqf0.mjs";import"./cli-0.1.11-h7e4rkwk.mjs";import"./cli-0.1.11-7xr2ermy.mjs";import"./cli-0.1.11-7qpnfx56.mjs";import"./cli-0.1.11-vch8cn95.mjs";import"./cli-0.1.11-fag2wtke.mjs";import"./cli-0.1.11-nx8a99hz.mjs";import"./cli-0.1.11-ktwtyqmp.mjs";import"./cli-0.1.11-xwj7cmkj.mjs";import{Fga as S,Jga as c,bha as M,eha as N,hga as P,jga as u}from"./cli-0.1.11-vq5fvf9m.mjs";import{iha as W,sha as i}from"./cli-0.1.11-d3exw047.mjs";import"./cli-0.1.11-e5ecf583.mjs";import"./cli-0.1.11-rrnr3ab1.mjs";import"./cli-0.1.11-98zcwng9.mjs";import{Sna as L}from"./cli-0.1.11-yrfxpjhr.mjs";d();u();N();i();c();import{mkdir as l,readFile as C,unlink as n,writeFile as r}from"fs/promises";import{homedir as o}from"os";import{join as U}from"path";N();f();v();import{createServer as y}from"node:net";var R,m=524288,b=30000;function O(q){let z=q.length,Q=[],J=z;while(J>127)Q.push(J&127|128),J>>>=7;Q.push(J);let Z=new Uint8Array(1+Q.length+z);return Z[0]=10,Z.set(Q,1),Z.set(q,1+Q.length),Z}function w(q){if(q.length===0)return new Uint8Array(0);if(q[0]!==10)return null;let z=0,Q=0,J=1;while(J<q.length){let Z=q[J];if(z|=(Z&127)<<Q,J++,(Z&128)===0)break;if(Q+=7,Q>28)return null}if(J+z>q.length)return null;return q.subarray(J,J+z)}function j(){return{connectBuf:Buffer.alloc(0),pending:[],wsOpen:!1,established:!1,closed:!1}}async function A(q){let z="Basic "+Buffer.from(`${q.sessionId}:${q.token}`).toString("base64"),Q=`Bearer ${q.token}`,J=typeof Bun<"u"?h(q.wsUrl,z,Q):await p(q.wsUrl,z,Q);return M(`[upstreamproxy] relay listening on 127.0.0.1:${J.port}`),J}function h(q,z,Q){let J=Bun.listen({hostname:"127.0.0.1",port:0,socket:{open(Z){Z.data={...j(),writeBuf:[]}},data(Z,G){let V=Z.data;T({write:($)=>{let Y=typeof $==="string"?Buffer.from($,"utf8"):$;if(V.writeBuf.length>0){V.writeBuf.push(Y);return}let x=Z.write(Y);if(x<Y.length)V.writeBuf.push(Y.subarray(x))},end:()=>Z.end()},V,G,q,z,Q)},drain(Z){let G=Z.data;while(G.writeBuf.length>0){let V=G.writeBuf[0],K=Z.write(V);if(K<V.length){G.writeBuf[0]=V.subarray(K);return}G.writeBuf.shift()}},close(Z){B(Z.data)},error(Z,G){M(`[upstreamproxy] client socket error: ${G.message}`),B(Z.data)}}});return{port:J.port,stop:()=>J.stop(!0)}}async function p(q,z,Q){R=(await import("./wrapper-0.1.11-rt9xsnjh.mjs")).default;let J=new WeakMap,Z=y((G)=>{let V=j();J.set(G,V);let K={write:($)=>{G.write(typeof $==="string"?$:Buffer.from($))},end:()=>G.end()};G.on("data",($)=>T(K,V,$,q,z,Q)),G.on("close",()=>B(J.get(G))),G.on("error",($)=>{M(`[upstreamproxy] client socket error: ${$.message}`),B(J.get(G))})});return new Promise((G,V)=>{Z.once("error",V),Z.listen(0,"127.0.0.1",()=>{let K=Z.address();if(K===null||typeof K==="string"){V(Error("upstreamproxy: server has no TCP address"));return}G({port:K.port,stop:()=>Z.close()})})})}function T(q,z,Q,J,Z,G){if(!z.ws){z.connectBuf=Buffer.concat([z.connectBuf,Q]);let V=z.connectBuf.indexOf(`\r
2
+ \r
3
+ `);if(V===-1){if(z.connectBuf.length>8192)q.write(`HTTP/1.1 400 Bad Request\r
4
+ \r
5
+ `),q.end();return}let $=z.connectBuf.subarray(0,V).toString("utf8").split(`\r
6
+ `)[0]??"";if(!$.match(/^CONNECT\s+(\S+)\s+HTTP\/1\.[01]$/i)){q.write(`HTTP/1.1 405 Method Not Allowed\r
7
+ \r
8
+ `),q.end();return}let x=z.connectBuf.subarray(V+4);if(x.length>0)z.pending.push(Buffer.from(x));z.connectBuf=Buffer.alloc(0),k(q,z,$,J,Z,G);return}if(!z.wsOpen){z.pending.push(Buffer.from(Q));return}F(z.ws,Q)}function k(q,z,Q,J,Z,G){let V={"Content-Type":"application/proto",Authorization:G},K;if(R)K=new R(J,{headers:V,agent:E(J),...I()});else K=new globalThis.WebSocket(J,{headers:V,proxy:_(J),tls:I()||void 0});K.binaryType="arraybuffer",z.ws=K,K.onopen=()=>{let $=`${Q}\r
9
+ Proxy-Authorization: ${Z}\r
10
+ \r
11
+ `;K.send(O(Buffer.from($,"utf8"))),z.wsOpen=!0;for(let Y of z.pending)F(K,Y);z.pending=[],z.pinger=setInterval(g,b,K)},K.onmessage=($)=>{let Y=$.data instanceof ArrayBuffer?new Uint8Array($.data):new Uint8Array(Buffer.from($.data)),x=w(Y);if(x&&x.length>0)z.established=!0,q.write(x)},K.onerror=($)=>{let Y="message"in $?String($.message):"websocket error";if(M(`[upstreamproxy] ws error: ${Y}`),z.closed)return;if(z.closed=!0,!z.established)q.write(`HTTP/1.1 502 Bad Gateway\r
12
+ \r
13
+ `);q.end(),B(z)},K.onclose=()=>{if(z.closed)return;z.closed=!0,q.end(),B(z)}}function g(q){if(q.readyState===WebSocket.OPEN)q.send(O(new Uint8Array(0)))}function F(q,z){if(q.readyState!==WebSocket.OPEN)return;for(let Q=0;Q<z.length;Q+=m){let J=z.subarray(Q,Q+m);q.send(O(J))}}function B(q){if(!q)return;if(q.pinger)clearInterval(q.pinger);if(q.ws&&q.ws.readyState<=WebSocket.OPEN)try{q.ws.close()}catch{}q.ws=void 0}var a="/run/ccr/session_token",e="/etc/ssl/certs/ca-certificates.crt",D=["localhost","127.0.0.1","::1","169.254.0.0/16","10.0.0.0/8","172.16.0.0/12","192.168.0.0/16","anthropic.com",".anthropic.com","*.anthropic.com","github.com","api.github.com","*.github.com","*.githubusercontent.com","registry.npmjs.org","pypi.org","files.pythonhosted.org","index.crates.io","proxy.golang.org"].join(","),X={enabled:!1};async function Oq(q){if(!W(process.env.CLAUDE_CODE_REMOTE))return X;if(!W(process.env.CCR_UPSTREAM_PROXY_ENABLED))return X;let z=process.env.CLAUDE_CODE_REMOTE_SESSION_ID;if(!z)return M("[upstreamproxy] CLAUDE_CODE_REMOTE_SESSION_ID unset; proxy disabled",{level:"warn"}),X;let Q=q?.tokenPath??a,J=await s(Q);if(!J)return M("[upstreamproxy] no session token file; proxy disabled"),X;qq();let Z=H(),G=q?.ccrBaseUrl??(Z?.transport==="anthropic"?Z.baseUrl:void 0)??"https://api.anthropic.com",V=q?.caBundlePath??U(o(),".ccr","ca-bundle.crt");if(!await zq(G,q?.systemCaPath??e,V))return X;try{let $=G.replace(/^http/,"ws")+"/v1/code/upstreamproxy/ws",Y=await A({wsUrl:$,sessionId:z,token:J});P(async()=>Y.stop()),X={enabled:!0,port:Y.port,caBundlePath:V},M(`[upstreamproxy] enabled on 127.0.0.1:${Y.port}`),await n(Q).catch(()=>{M("[upstreamproxy] token file unlink failed",{level:"warn"})})}catch($){M(`[upstreamproxy] relay start failed: ${$ instanceof Error?$.message:String($)}; proxy disabled`,{level:"warn"})}return X}function Wq(){if(!X.enabled||!X.port||!X.caBundlePath){if(process.env.HTTPS_PROXY&&process.env.SSL_CERT_FILE){let z={};for(let Q of["HTTPS_PROXY","https_proxy","NO_PROXY","no_proxy","SSL_CERT_FILE","NODE_EXTRA_CA_CERTS","REQUESTS_CA_BUNDLE","CURL_CA_BUNDLE"])if(process.env[Q])z[Q]=process.env[Q];return z}return{}}let q=`http://127.0.0.1:${X.port}`;return{HTTPS_PROXY:q,https_proxy:q,NO_PROXY:D,no_proxy:D,SSL_CERT_FILE:X.caBundlePath,NODE_EXTRA_CA_CERTS:X.caBundlePath,REQUESTS_CA_BUNDLE:X.caBundlePath,CURL_CA_BUNDLE:X.caBundlePath}}function mq(){X={enabled:!1}}function t(q){if(!q||!q.trim())return!1;return/-----BEGIN CERTIFICATE-----[\s\S]+?-----END CERTIFICATE-----/g.test(q)}async function s(q){try{return(await C(q,"utf8")).trim()||null}catch(z){if(S(z))return null;return M(`[upstreamproxy] token read failed: ${z instanceof Error?z.message:String(z)}`,{level:"warn"}),null}}function qq(){if(process.platform!=="linux"||typeof Bun>"u")return;try{let z=L("bun:ffi").dlopen("libc.so.6",{prctl:{args:["int","u64","u64","u64","u64"],returns:"int"}}),Q=4;if(z.symbols.prctl(4,0n,0n,0n,0n)!==0)M("[upstreamproxy] prctl(PR_SET_DUMPABLE,0) returned nonzero",{level:"warn"})}catch(q){M(`[upstreamproxy] prctl unavailable: ${q instanceof Error?q.message:String(q)}`,{level:"warn"})}}async function zq(q,z,Q){try{let J=await fetch(`${q}/v1/code/upstreamproxy/ca-cert`,{signal:AbortSignal.timeout(5000)});if(!J.ok)return M(`[upstreamproxy] ca-cert fetch ${J.status}; proxy disabled`,{level:"warn"}),!1;let Z=await J.text();if(!t(Z))return M("[upstreamproxy] ca-cert response is not valid PEM; proxy disabled",{level:"warn"}),!1;let G=await C(z,"utf8").catch(()=>"");return await l(U(Q,".."),{recursive:!0}),await r(Q,G+`
14
+ `+Z,"utf8"),!0}catch(J){return M(`[upstreamproxy] ca-cert download failed: ${J instanceof Error?J.message:String(J)}; proxy disabled`,{level:"warn"}),!1}}export{mq as resetUpstreamProxyForTests,t as isValidPemContent,Oq as initUpstreamProxy,Wq as getUpstreamProxyEnv,a as SESSION_TOKEN_PATH};
@@ -0,0 +1 @@
1
+ import{lf as h,mf as y}from"./cli-0.1.11-emw2wfff.mjs";import"./cli-0.1.11-w3ydpv9v.mjs";import"./cli-0.1.11-vzet5m4y.mjs";import"./cli-0.1.11-kndj4a86.mjs";import"./cli-0.1.11-wjxhn7j5.mjs";import"./cli-0.1.11-5hrysrcd.mjs";import"./cli-0.1.11-h3jatwe1.mjs";import"./cli-0.1.11-xp93fxnp.mjs";import"./cli-0.1.11-q89t0xzx.mjs";import"./cli-0.1.11-cdpswj0n.mjs";import"./cli-0.1.11-hzezqkew.mjs";import"./cli-0.1.11-n24p2y0p.mjs";import"./cli-0.1.11-nhjbgc7t.mjs";import"./cli-0.1.11-s8ygndzf.mjs";import"./cli-0.1.11-1bryv90w.mjs";import"./cli-0.1.11-5e45zda5.mjs";import"./cli-0.1.11-jjgjkqqv.mjs";import"./cli-0.1.11-r990p54m.mjs";import"./cli-0.1.11-70f778wy.mjs";import"./cli-0.1.11-weav8142.mjs";import"./cli-0.1.11-t7dc7fbj.mjs";import"./cli-0.1.11-vb5f7c3a.mjs";import"./cli-0.1.11-sma2xhvv.mjs";import"./cli-0.1.11-852v06g0.mjs";import"./cli-0.1.11-z4hb2mcd.mjs";import"./cli-0.1.11-mj78w4sp.mjs";import"./cli-0.1.11-qrq0sw0h.mjs";import"./cli-0.1.11-d4ahh3jz.mjs";import"./cli-0.1.11-wc9bay3d.mjs";import"./cli-0.1.11-rvk3t45h.mjs";import"./cli-0.1.11-0n77qn68.mjs";import"./cli-0.1.11-h02tyg8p.mjs";import"./cli-0.1.11-bvd2r7an.mjs";import"./cli-0.1.11-jr50ahcv.mjs";import"./cli-0.1.11-6zkfmcxp.mjs";import"./cli-0.1.11-jkrt4znb.mjs";import"./cli-0.1.11-424zgj5k.mjs";import"./cli-0.1.11-rj9ea3zn.mjs";import"./cli-0.1.11-mstxxz33.mjs";import"./cli-0.1.11-kghg51gb.mjs";import"./cli-0.1.11-fstfs72j.mjs";import{qX as f}from"./cli-0.1.11-kk0qqs5v.mjs";import"./cli-0.1.11-x37jysc0.mjs";import"./cli-0.1.11-h762f6hr.mjs";import"./cli-0.1.11-50naxqgt.mjs";import"./cli-0.1.11-v6kwgrqc.mjs";import"./cli-0.1.11-16086k9e.mjs";import"./cli-0.1.11-bwpemkht.mjs";import"./cli-0.1.11-dcswnc8x.mjs";import"./cli-0.1.11-p22bdjhv.mjs";import"./cli-0.1.11-y4c6y87y.mjs";import"./cli-0.1.11-q58q9jqr.mjs";import"./cli-0.1.11-zb2sa3e2.mjs";import"./cli-0.1.11-3p2f194m.mjs";import"./cli-0.1.11-05ngjm8p.mjs";import"./cli-0.1.11-yv5pfq6n.mjs";import"./cli-0.1.11-qbcfg80y.mjs";import"./cli-0.1.11-b0jasw23.mjs";import"./cli-0.1.11-s6yfjcm5.mjs";import"./cli-0.1.11-sqqzwx4h.mjs";import"./cli-0.1.11-2w8d5vqb.mjs";import"./cli-0.1.11-d10nfa6g.mjs";import"./cli-0.1.11-h2hxx8ma.mjs";import"./cli-0.1.11-1xr9et85.mjs";import"./cli-0.1.11-v7bwjqf0.mjs";import"./cli-0.1.11-h7e4rkwk.mjs";import"./cli-0.1.11-7xr2ermy.mjs";import"./cli-0.1.11-7qpnfx56.mjs";import"./cli-0.1.11-vch8cn95.mjs";import"./cli-0.1.11-fag2wtke.mjs";import"./cli-0.1.11-nx8a99hz.mjs";import"./cli-0.1.11-ktwtyqmp.mjs";import"./cli-0.1.11-xwj7cmkj.mjs";import"./cli-0.1.11-vq5fvf9m.mjs";import"./cli-0.1.11-d3exw047.mjs";import"./cli-0.1.11-e5ecf583.mjs";import"./cli-0.1.11-rrnr3ab1.mjs";import"./cli-0.1.11-98zcwng9.mjs";import{Nna as b,Rna as w}from"./cli-0.1.11-yrfxpjhr.mjs";var k,B=async(l,q)=>{return k.jsxDEV(h,{onClose:l,context:q,defaultTab:"Usage"},void 0,!1,void 0,this)};var z=w(()=>{y();k=b(f(),1)});z();export{B as call};
@@ -0,0 +1 @@
1
+ import{R as K}from"./cli-0.1.11-hgsa4nnp.mjs";import"./cli-0.1.11-jye250b3.mjs";import{Sa as O}from"./cli-0.1.11-56p41bk3.mjs";import{Wa as F}from"./cli-0.1.11-fptq9w4t.mjs";import"./cli-0.1.11-7tybqg56.mjs";import"./cli-0.1.11-0tge574q.mjs";import"./cli-0.1.11-at3c85af.mjs";import"./cli-0.1.11-cw0ss3jw.mjs";import"./cli-0.1.11-21epc92q.mjs";import{xe as B,ye as S}from"./cli-0.1.11-jne21ka1.mjs";import"./cli-0.1.11-hmfevmz1.mjs";import{aK as Z,eK as P,vv as Y,wv as C}from"./cli-0.1.11-s8ygndzf.mjs";import"./cli-0.1.11-1bryv90w.mjs";import"./cli-0.1.11-5e45zda5.mjs";import"./cli-0.1.11-jjgjkqqv.mjs";import"./cli-0.1.11-r990p54m.mjs";import"./cli-0.1.11-70f778wy.mjs";import"./cli-0.1.11-weav8142.mjs";import"./cli-0.1.11-t7dc7fbj.mjs";import"./cli-0.1.11-vb5f7c3a.mjs";import"./cli-0.1.11-sma2xhvv.mjs";import"./cli-0.1.11-852v06g0.mjs";import"./cli-0.1.11-z4hb2mcd.mjs";import"./cli-0.1.11-mj78w4sp.mjs";import"./cli-0.1.11-qrq0sw0h.mjs";import"./cli-0.1.11-d4ahh3jz.mjs";import"./cli-0.1.11-wc9bay3d.mjs";import"./cli-0.1.11-rvk3t45h.mjs";import"./cli-0.1.11-0n77qn68.mjs";import"./cli-0.1.11-h02tyg8p.mjs";import{QU as Q,SU as U,eT as w,vV as $}from"./cli-0.1.11-bvd2r7an.mjs";import"./cli-0.1.11-jr50ahcv.mjs";import"./cli-0.1.11-6zkfmcxp.mjs";import"./cli-0.1.11-jkrt4znb.mjs";import"./cli-0.1.11-424zgj5k.mjs";import"./cli-0.1.11-rj9ea3zn.mjs";import"./cli-0.1.11-mstxxz33.mjs";import"./cli-0.1.11-kghg51gb.mjs";import"./cli-0.1.11-fstfs72j.mjs";import{qX as L}from"./cli-0.1.11-kk0qqs5v.mjs";import{rX as W}from"./cli-0.1.11-x37jysc0.mjs";import"./cli-0.1.11-h762f6hr.mjs";import"./cli-0.1.11-50naxqgt.mjs";import"./cli-0.1.11-v6kwgrqc.mjs";import"./cli-0.1.11-16086k9e.mjs";import"./cli-0.1.11-bwpemkht.mjs";import"./cli-0.1.11-dcswnc8x.mjs";import"./cli-0.1.11-p22bdjhv.mjs";import"./cli-0.1.11-y4c6y87y.mjs";import"./cli-0.1.11-q58q9jqr.mjs";import"./cli-0.1.11-zb2sa3e2.mjs";import"./cli-0.1.11-3p2f194m.mjs";import"./cli-0.1.11-zfnmx1ny.mjs";import"./cli-0.1.11-05ngjm8p.mjs";import"./cli-0.1.11-yv5pfq6n.mjs";import{h4 as _,i5 as M}from"./cli-0.1.11-qbcfg80y.mjs";import"./cli-0.1.11-b0jasw23.mjs";import"./cli-0.1.11-s6yfjcm5.mjs";import"./cli-0.1.11-sqqzwx4h.mjs";import"./cli-0.1.11-2w8d5vqb.mjs";import"./cli-0.1.11-d10nfa6g.mjs";import"./cli-0.1.11-h2hxx8ma.mjs";import"./cli-0.1.11-1xr9et85.mjs";import"./cli-0.1.11-v7bwjqf0.mjs";import"./cli-0.1.11-h7e4rkwk.mjs";import"./cli-0.1.11-7xr2ermy.mjs";import"./cli-0.1.11-7qpnfx56.mjs";import"./cli-0.1.11-vch8cn95.mjs";import"./cli-0.1.11-fag2wtke.mjs";import"./cli-0.1.11-nx8a99hz.mjs";import"./cli-0.1.11-ktwtyqmp.mjs";import{dga as X,ega as y}from"./cli-0.1.11-xwj7cmkj.mjs";import"./cli-0.1.11-vq5fvf9m.mjs";import"./cli-0.1.11-d3exw047.mjs";import"./cli-0.1.11-e5ecf583.mjs";import"./cli-0.1.11-rrnr3ab1.mjs";import"./cli-0.1.11-98zcwng9.mjs";import{Nna as I,Sna as J}from"./cli-0.1.11-yrfxpjhr.mjs";var R=I(w(),1),z=I(W(),1);import{cwd as m}from"process";$();C();y();S();P();M();var f=I(L(),1);async function x(k){X("tengu_setup_token_command",{});let q=!_(),{ConsoleOAuthFlow:H}=await import("./ConsoleOAuthFlow-0.1.11-xzbcx3cw.mjs");await new Promise((G)=>{k.render(f.jsxDEV(Z,{onChangeAppState:F,children:f.jsxDEV(Y,{children:f.jsxDEV(Q,{flexDirection:"column",gap:1,children:[f.jsxDEV(O,{},void 0,!1,void 0,this),q&&f.jsxDEV(Q,{flexDirection:"column",children:[f.jsxDEV(U,{color:"warning",children:"Warning: You already have authentication configured via environment variable or API key helper."},void 0,!1,void 0,this),f.jsxDEV(U,{color:"warning",children:"The setup-token command will create a new OAuth token which you can use instead."},void 0,!1,void 0,this)]},void 0,!0,void 0,this),f.jsxDEV(H,{onDone:()=>{G()},mode:"setup-token",startingMessage:"This will guide you through long-lived (1-year) auth token setup for your Claude account. Claude subscription required."},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this))}),k.unmount(),process.exit(0)}var d=z.default.lazy(()=>import("./Doctor-0.1.11-958cxvhj.mjs").then((k)=>({default:k.Doctor})));function h(k){let q=R.c(2),{onDone:H}=k;K();let G;if(q[0]!==H)G=f.jsxDEV(z.default.Suspense,{fallback:null,children:f.jsxDEV(d,{onDone:H},void 0,!1,void 0,this)},void 0,!1,void 0,this),q[0]=H,q[1]=G;else G=q[1];return G}async function D(k){X("tengu_doctor_command",{}),await new Promise((q)=>{k.render(f.jsxDEV(Z,{children:f.jsxDEV(Y,{children:f.jsxDEV(B,{dynamicMcpConfig:void 0,isStrictMcpConfig:!1,children:f.jsxDEV(h,{onDone:()=>{q()}},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this))}),k.unmount(),process.exit(0)}async function l(k,q){let{setup:H}=await import("./setup-0.1.11-epmpszzf.mjs");await H(m(),"default",!1,!1,void 0,!1);let{install:G}=await import("./install-0.1.11-4zfvr6pk.mjs");await new Promise((T)=>{let N=[];if(k)N.push(k);if(q.force)N.push("--force");G.call((b)=>{T(),process.exit(b.includes("failed")?1:0)},{},N)})}export{x as setupTokenHandler,l as installHandler,D as doctorHandler};
@@ -0,0 +1 @@
1
+ import{LB as a,MB as b,NB as c,OB as d,PB as e,QB as f,RB as g,SB as h,TB as i,UB as j}from"./cli-0.1.11-s8ygndzf.mjs";import"./cli-0.1.11-1bryv90w.mjs";import"./cli-0.1.11-5e45zda5.mjs";import"./cli-0.1.11-jjgjkqqv.mjs";import"./cli-0.1.11-r990p54m.mjs";import"./cli-0.1.11-70f778wy.mjs";import"./cli-0.1.11-weav8142.mjs";import"./cli-0.1.11-t7dc7fbj.mjs";import"./cli-0.1.11-vb5f7c3a.mjs";import"./cli-0.1.11-sma2xhvv.mjs";import"./cli-0.1.11-852v06g0.mjs";import"./cli-0.1.11-z4hb2mcd.mjs";import"./cli-0.1.11-mj78w4sp.mjs";import"./cli-0.1.11-qrq0sw0h.mjs";import"./cli-0.1.11-d4ahh3jz.mjs";import"./cli-0.1.11-wc9bay3d.mjs";import"./cli-0.1.11-rvk3t45h.mjs";import"./cli-0.1.11-0n77qn68.mjs";import"./cli-0.1.11-h02tyg8p.mjs";import"./cli-0.1.11-bvd2r7an.mjs";import"./cli-0.1.11-jr50ahcv.mjs";import"./cli-0.1.11-6zkfmcxp.mjs";import"./cli-0.1.11-jkrt4znb.mjs";import"./cli-0.1.11-424zgj5k.mjs";import"./cli-0.1.11-rj9ea3zn.mjs";import"./cli-0.1.11-mstxxz33.mjs";import"./cli-0.1.11-kghg51gb.mjs";import"./cli-0.1.11-fstfs72j.mjs";import"./cli-0.1.11-kk0qqs5v.mjs";import"./cli-0.1.11-x37jysc0.mjs";import"./cli-0.1.11-h762f6hr.mjs";import"./cli-0.1.11-50naxqgt.mjs";import"./cli-0.1.11-v6kwgrqc.mjs";import"./cli-0.1.11-16086k9e.mjs";import"./cli-0.1.11-bwpemkht.mjs";import"./cli-0.1.11-dcswnc8x.mjs";import"./cli-0.1.11-p22bdjhv.mjs";import"./cli-0.1.11-y4c6y87y.mjs";import"./cli-0.1.11-q58q9jqr.mjs";import"./cli-0.1.11-zb2sa3e2.mjs";import"./cli-0.1.11-3p2f194m.mjs";import"./cli-0.1.11-05ngjm8p.mjs";import"./cli-0.1.11-yv5pfq6n.mjs";import"./cli-0.1.11-qbcfg80y.mjs";import"./cli-0.1.11-b0jasw23.mjs";import"./cli-0.1.11-s6yfjcm5.mjs";import"./cli-0.1.11-sqqzwx4h.mjs";import"./cli-0.1.11-2w8d5vqb.mjs";import"./cli-0.1.11-d10nfa6g.mjs";import"./cli-0.1.11-h2hxx8ma.mjs";import"./cli-0.1.11-1xr9et85.mjs";import"./cli-0.1.11-v7bwjqf0.mjs";import"./cli-0.1.11-h7e4rkwk.mjs";import"./cli-0.1.11-7xr2ermy.mjs";import"./cli-0.1.11-7qpnfx56.mjs";import"./cli-0.1.11-vch8cn95.mjs";import"./cli-0.1.11-fag2wtke.mjs";import"./cli-0.1.11-nx8a99hz.mjs";import"./cli-0.1.11-ktwtyqmp.mjs";import"./cli-0.1.11-xwj7cmkj.mjs";import"./cli-0.1.11-vq5fvf9m.mjs";import"./cli-0.1.11-d3exw047.mjs";import"./cli-0.1.11-e5ecf583.mjs";import"./cli-0.1.11-rrnr3ab1.mjs";import"./cli-0.1.11-98zcwng9.mjs";import"./cli-0.1.11-yrfxpjhr.mjs";j();export{d as validateURL,c as isPreapprovedUrl,f as isPermittedRedirect,g as getWithPermittedRedirects,h as getURLMarkdownContent,a as clearWebFetchCache,e as checkDomainBlocklist,i as applyPromptToMarkdown,b as MAX_MARKDOWN_LENGTH};
@@ -0,0 +1 @@
1
+ import{Cba as q,Vba as D,zba as p}from"./cli-0.1.11-v7bwjqf0.mjs";import"./cli-0.1.11-h7e4rkwk.mjs";import"./cli-0.1.11-7xr2ermy.mjs";import"./cli-0.1.11-7qpnfx56.mjs";import"./cli-0.1.11-vch8cn95.mjs";import"./cli-0.1.11-fag2wtke.mjs";import"./cli-0.1.11-nx8a99hz.mjs";import"./cli-0.1.11-ktwtyqmp.mjs";import{dga as m,ega as B}from"./cli-0.1.11-xwj7cmkj.mjs";import"./cli-0.1.11-vq5fvf9m.mjs";import"./cli-0.1.11-d3exw047.mjs";import"./cli-0.1.11-e5ecf583.mjs";import"./cli-0.1.11-rrnr3ab1.mjs";import"./cli-0.1.11-98zcwng9.mjs";import{Rna as A}from"./cli-0.1.11-yrfxpjhr.mjs";var K=async()=>{let k=q().editorMode||"normal";if(k==="emacs")k="normal";let h=k==="normal"?"vim":"normal";return p((z)=>({...z,editorMode:h})),m("tengu_editor_mode_changed",{mode:h,source:"command"}),{type:"text",value:`Editor mode set to ${h}. ${h==="vim"?"Use Escape key to toggle between INSERT and NORMAL modes.":"Using standard (readline) keyboard bindings."}`}};var F=A(()=>{B();D()});F();export{K as call};
@@ -0,0 +1 @@
1
+ import{sD as a,tD as b,uD as c,vD as d,wD as e,xD as f,yD as g}from"./cli-0.1.11-s8ygndzf.mjs";import"./cli-0.1.11-1bryv90w.mjs";import"./cli-0.1.11-5e45zda5.mjs";import"./cli-0.1.11-jjgjkqqv.mjs";import"./cli-0.1.11-r990p54m.mjs";import"./cli-0.1.11-70f778wy.mjs";import"./cli-0.1.11-weav8142.mjs";import"./cli-0.1.11-t7dc7fbj.mjs";import"./cli-0.1.11-vb5f7c3a.mjs";import"./cli-0.1.11-sma2xhvv.mjs";import"./cli-0.1.11-852v06g0.mjs";import"./cli-0.1.11-z4hb2mcd.mjs";import"./cli-0.1.11-mj78w4sp.mjs";import"./cli-0.1.11-qrq0sw0h.mjs";import"./cli-0.1.11-d4ahh3jz.mjs";import"./cli-0.1.11-wc9bay3d.mjs";import"./cli-0.1.11-rvk3t45h.mjs";import"./cli-0.1.11-0n77qn68.mjs";import"./cli-0.1.11-h02tyg8p.mjs";import"./cli-0.1.11-bvd2r7an.mjs";import"./cli-0.1.11-jr50ahcv.mjs";import"./cli-0.1.11-6zkfmcxp.mjs";import"./cli-0.1.11-jkrt4znb.mjs";import"./cli-0.1.11-424zgj5k.mjs";import"./cli-0.1.11-rj9ea3zn.mjs";import"./cli-0.1.11-mstxxz33.mjs";import"./cli-0.1.11-kghg51gb.mjs";import"./cli-0.1.11-fstfs72j.mjs";import"./cli-0.1.11-kk0qqs5v.mjs";import"./cli-0.1.11-x37jysc0.mjs";import"./cli-0.1.11-h762f6hr.mjs";import"./cli-0.1.11-50naxqgt.mjs";import"./cli-0.1.11-v6kwgrqc.mjs";import"./cli-0.1.11-16086k9e.mjs";import"./cli-0.1.11-bwpemkht.mjs";import"./cli-0.1.11-dcswnc8x.mjs";import"./cli-0.1.11-p22bdjhv.mjs";import"./cli-0.1.11-y4c6y87y.mjs";import"./cli-0.1.11-q58q9jqr.mjs";import"./cli-0.1.11-zb2sa3e2.mjs";import"./cli-0.1.11-3p2f194m.mjs";import"./cli-0.1.11-05ngjm8p.mjs";import"./cli-0.1.11-yv5pfq6n.mjs";import"./cli-0.1.11-qbcfg80y.mjs";import"./cli-0.1.11-b0jasw23.mjs";import"./cli-0.1.11-s6yfjcm5.mjs";import"./cli-0.1.11-sqqzwx4h.mjs";import"./cli-0.1.11-2w8d5vqb.mjs";import"./cli-0.1.11-d10nfa6g.mjs";import"./cli-0.1.11-h2hxx8ma.mjs";import"./cli-0.1.11-1xr9et85.mjs";import"./cli-0.1.11-v7bwjqf0.mjs";import"./cli-0.1.11-h7e4rkwk.mjs";import"./cli-0.1.11-7xr2ermy.mjs";import"./cli-0.1.11-7qpnfx56.mjs";import"./cli-0.1.11-vch8cn95.mjs";import"./cli-0.1.11-fag2wtke.mjs";import"./cli-0.1.11-nx8a99hz.mjs";import"./cli-0.1.11-ktwtyqmp.mjs";import"./cli-0.1.11-xwj7cmkj.mjs";import"./cli-0.1.11-vq5fvf9m.mjs";import"./cli-0.1.11-d3exw047.mjs";import"./cli-0.1.11-e5ecf583.mjs";import"./cli-0.1.11-rrnr3ab1.mjs";import"./cli-0.1.11-98zcwng9.mjs";import"./cli-0.1.11-yrfxpjhr.mjs";g();export{d as stopTeamMemoryWatcher,b as startTeamMemoryWatcher,c as notifyTeamMemoryWrite,a as isPermanentFailure,f as _startFileWatcherForTesting,e as _resetWatcherStateForTesting};
@@ -0,0 +1,132 @@
1
+ import"./cli-0.1.11-x37jysc0.mjs";import{Dea as M,Eea as O,Fea as ft,aea as E,bea as dt}from"./cli-0.1.11-7xr2ermy.mjs";import"./cli-0.1.11-rrnr3ab1.mjs";import"./cli-0.1.11-98zcwng9.mjs";import{Rna as l}from"./cli-0.1.11-yrfxpjhr.mjs";import{join as m}from"path";function c(t){let e=m(t,K,X);return{root:e,pagesDir:m(e,"pages"),sourcesDir:m(e,"sources"),schemaFile:m(e,"schema.md"),indexFile:m(e,"index.md"),logFile:m(e,"log.md")}}var K=".claudio",X="wiki";var p=()=>{};import{mkdir as J,writeFile as G}from"fs/promises";import{basename as H,relative as W}from"path";function Q(t){return`# Claudio Wiki Schema
2
+
3
+ This wiki stores durable, human-readable project knowledge for ${t}.
4
+
5
+ ## Goals
6
+
7
+ - Keep useful project knowledge in markdown, not only in chat history
8
+ - Prefer synthesized facts over raw copy-paste
9
+ - Keep source attribution explicit
10
+ - Make pages easy for both humans and agents to update
11
+
12
+ ## Structure
13
+
14
+ - \`index.md\`: top-level navigation and major topics
15
+ - \`log.md\`: append-only update log
16
+ - \`pages/\`: durable topic and architecture pages
17
+ - \`sources/\`: source ingestion notes and summaries
18
+
19
+ ## Page Rules
20
+
21
+ - Keep pages focused on one topic
22
+ - Use stable headings such as:
23
+ - \`## Summary\`
24
+ - \`## Key Facts\`
25
+ - \`## Relationships\`
26
+ - \`## Open Questions\`
27
+ - \`## Sources\`
28
+ - Add or update facts only when they are grounded in project files or explicit source notes
29
+ - Prefer editing an existing page over creating duplicates
30
+ `}function B(t){return`# ${t} Wiki
31
+
32
+ This wiki is maintained by Claudio as a durable project knowledge layer.
33
+
34
+ ## Core Pages
35
+
36
+ - [Architecture](./pages/architecture.md)
37
+
38
+ ## Sources
39
+
40
+ - Source notes live in [sources/](./sources/)
41
+
42
+ ## Recent Updates
43
+
44
+ - See [log.md](./log.md)
45
+ `}function q(t){return`# Wiki Update Log
46
+
47
+ - ${t}: Wiki initialized by Claudio
48
+ `}function V(t){return`# Architecture
49
+
50
+ ## Summary
51
+
52
+ High-level architecture notes for ${t}.
53
+
54
+ ## Key Facts
55
+
56
+ - This page is the starting point for durable architecture knowledge.
57
+
58
+ ## Relationships
59
+
60
+ - Link this page to major subsystems as the wiki grows.
61
+
62
+ ## Open Questions
63
+
64
+ - What are the most important runtime subsystems?
65
+ - Which files best represent the system architecture?
66
+
67
+ ## Sources
68
+
69
+ - Wiki bootstrap
70
+ `}async function f(t,e,i){try{await G(t,e,{encoding:"utf8",flag:"wx"}),i.push(t)}catch(r){if(typeof r==="object"&&r!==null&&"code"in r&&r.code==="EEXIST")return;throw r}}async function h(t){let e=c(t),i=[],r=[];for(let s of[e.root,e.pagesDir,e.sourcesDir])await J(s,{recursive:!0}),i.push(s);let n=H(t),o=new Date().toISOString();return await f(e.schemaFile,Q(n),r),await f(e.indexFile,B(n),r),await f(e.logFile,q(o),r),await f(`${e.pagesDir}/architecture.md`,V(n),r),{root:e.root,createdFiles:r.map((s)=>W(t,s)),createdDirectories:i.map((s)=>W(t,s)),alreadyExisted:r.length===0}}var y=l(()=>{p()});import{readdir as Y,readFile as Z,writeFile as tt}from"fs/promises";import{basename as w,relative as F}from"path";async function k(t){let e=await Y(t,{withFileTypes:!0}),i=[];for(let r of e){let n=`${t}/${r.name}`;if(r.isDirectory())i.push(...await k(n));else if(r.isFile()&&r.name.endsWith(".md"))i.push(n)}return i.sort()}async function et(t){let i=(await Z(t,"utf8")).split(`
71
+ `).map((r)=>r.trim()).find((r)=>r.startsWith("# "));return i?i.replace(/^#\s+/,""):w(t,".md")}async function P(t){let e=c(t),i=await k(e.pagesDir),r=await k(e.sourcesDir),n=await Promise.all(i.map(async(a)=>{let u=F(e.root,a);return`- [${await et(a)}](./${u.replace(/\\/g,"/")})`})),o=r.map((a)=>{let u=F(e.root,a).replace(/\\/g,"/");return`- [${w(a,".md")}](./${u})`}),s=`# ${w(t)} Wiki
72
+
73
+ This wiki is maintained by Claudio as a durable project knowledge layer.
74
+
75
+ ## Core Pages
76
+
77
+ ${n.length>0?n.join(`
78
+ `):"- No pages yet"}
79
+
80
+ ## Sources
81
+
82
+ ${o.length>0?o.join(`
83
+ `):"- No sources yet"}
84
+
85
+ ## Recent Updates
86
+
87
+ - See [log.md](./log.md)
88
+ `;await tt(e.indexFile,s,"utf8")}var b=l(()=>{p()});function C(t){return t.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"").replace(/-{2,}/g,"-")}function I(t,e=280){let i=t.replace(/\s+/g," ").trim();if(!i)return"No summary available.";if(i.length<=e)return i;return`${i.slice(0,e-1).trimEnd()}…`}function j(t,e){let i=e.split(`
89
+ `).map((r)=>r.trim()).find(Boolean);if(!i)return t;return i.replace(/^#+\s*/,"")||t}var R=()=>{};import{appendFile as it,readFile as rt,stat as nt,writeFile as st}from"fs/promises";import{basename as ot,extname as at,isAbsolute as ct,relative as L,resolve as ut}from"path";function lt(t){let{title:e,sourcePath:i,ingestedAt:r,summary:n,excerpt:o}=t;return`# ${e}
90
+
91
+ ## Source
92
+
93
+ - Path: \`${i}\`
94
+ - Ingested at: ${r}
95
+
96
+ ## Summary
97
+
98
+ ${n}
99
+
100
+ ## Excerpt
101
+
102
+ \`\`\`
103
+ ${o}
104
+ \`\`\`
105
+
106
+ ## Linked Pages
107
+
108
+ - [Architecture](../pages/architecture.md)
109
+ `}function mt(t,e,i){return`- ${i}: Ingested \`${t}\` into source note "${e}"`}async function A(t,e){await h(t);let i=ct(e)?e:ut(t,e);if(!(await nt(i)).isFile())throw Error(`Not a file: ${i}`);let n=await rt(i,"utf8"),o=L(t,i).replace(/\\/g,"/"),s=new Date().toISOString(),a=ot(i,at(i)),u=j(a,n),d=I(n),U=n.split(`
110
+ `).slice(0,20).join(`
111
+ `).trim(),_=C(`${a}-${Date.now()}`)||`source-${Date.now()}`,S=c(t),x=`${S.sourcesDir}/${_}.md`;return await st(x,lt({title:u,sourcePath:o,ingestedAt:s,summary:d,excerpt:U}),"utf8"),await it(S.logFile,`${mt(o,u,s)}
112
+ `,"utf8"),await P(t),{sourceFile:o,sourceNote:L(t,x).replace(/\\/g,"/"),summary:d,title:u}}var T=l(()=>{y();b();p();R()});import{readdir as pt,stat as D}from"fs/promises";async function g(t){try{return await D(t),!0}catch{return!1}}async function $(t){if(!await g(t))return[];let e=await pt(t,{withFileTypes:!0}),i=[];for(let r of e){let n=`${t}/${r.name}`;if(r.isDirectory())i.push(...await $(n));else if(r.isFile()&&r.name.endsWith(".md"))i.push(n)}return i}async function gt(t){let e=[];for(let i of t)try{let r=await D(i);e.push(r.mtimeMs)}catch{continue}if(e.length===0)return null;return new Date(Math.max(...e)).toISOString()}async function z(t){let e=c(t),[i,r,n,o,s,a]=await Promise.all([g(e.root),g(e.schemaFile),g(e.indexFile),g(e.logFile),$(e.pagesDir),$(e.sourcesDir)]);return{initialized:i&&r&&n&&o,root:e.root,pageCount:s.length,sourceCount:a.length,hasSchema:r,hasIndex:n,hasLog:o,lastUpdatedAt:await gt([e.schemaFile,e.indexFile,e.logFile,...s,...a])}}var N=l(()=>{p()});function v(){return`Usage: /wiki [init|status|ingest <path>]
113
+
114
+ Manage the Claudio project wiki stored in .claudio/wiki.
115
+
116
+ Commands:
117
+ /wiki init Initialize the wiki structure in the current project
118
+ /wiki status Show wiki status and page/source counts
119
+ /wiki ingest Ingest a local file into wiki sources
120
+
121
+ Examples:
122
+ /wiki init
123
+ /wiki status
124
+ /wiki ingest README.md`}function ht(t){let e=[`Initialized Claudio wiki at ${t.root}`];if(t.alreadyExisted)return e.push("","Wiki already existed. No new files were created."),e.join(`
125
+ `);if(t.createdFiles.length>0){e.push("","Created files:");for(let i of t.createdFiles)e.push(`- ${i}`)}return e.join(`
126
+ `)}function yt(t){if(!t.initialized)return`Claudio wiki is not initialized in this project.
127
+
128
+ Run /wiki init to create ${t.root}.`;return["Claudio wiki status","",`Root: ${t.root}`,`Pages: ${t.pageCount}`,`Sources: ${t.sourceCount}`,`Schema: ${t.hasSchema?"present":"missing"}`,`Index: ${t.hasIndex?"present":"missing"}`,`Log: ${t.hasLog?"present":"missing"}`,`Last updated: ${t.lastUpdatedAt??"unknown"}`].join(`
129
+ `)}function wt(t){return[`Ingested ${t.sourceFile} into the Claudio wiki.`,"",`Title: ${t.title}`,`Source note: ${t.sourceNote}`,`Summary: ${t.summary}`].join(`
130
+ `)}async function kt(t,e){let i=E(),r=e.trim().toLowerCase();if(M.includes(r)||O.includes(r)){t(v(),{display:"system"});return}if(!r||r==="status"){t(yt(await z(i)),{display:"system"});return}if(r==="init"){t(ht(await h(i)),{display:"system"});return}if(r.startsWith("ingest")){let n=e.trim().slice(6).trim();if(!n){t("Usage: /wiki ingest <local-file-path>",{display:"system"});return}t(wt(await A(i,n)),{display:"system"});return}t(`Unknown wiki subcommand: ${e.trim()}
131
+
132
+ ${v()}`,{display:"system"})}var Ht=async(t,e,i)=>{return await kt(t,i??""),null};var $t=l(()=>{ft();T();y();N();dt()});$t();export{Ht as call};
@@ -0,0 +1 @@
1
+ import{AO as d,BO as e,CO as f,DO as g,EO as h,FO as i,GO as j,HO as k,IO as l,JO as m,KO as n,LO as o,MO as p,NO as q,OO as r,PO as s,QO as t,RO as u,SO as v,xO as a,yO as b,zO as c}from"./cli-0.1.11-s8ygndzf.mjs";import"./cli-0.1.11-1bryv90w.mjs";import"./cli-0.1.11-5e45zda5.mjs";import"./cli-0.1.11-jjgjkqqv.mjs";import"./cli-0.1.11-r990p54m.mjs";import"./cli-0.1.11-70f778wy.mjs";import"./cli-0.1.11-weav8142.mjs";import"./cli-0.1.11-t7dc7fbj.mjs";import"./cli-0.1.11-vb5f7c3a.mjs";import"./cli-0.1.11-sma2xhvv.mjs";import"./cli-0.1.11-852v06g0.mjs";import"./cli-0.1.11-z4hb2mcd.mjs";import"./cli-0.1.11-mj78w4sp.mjs";import"./cli-0.1.11-qrq0sw0h.mjs";import"./cli-0.1.11-d4ahh3jz.mjs";import"./cli-0.1.11-wc9bay3d.mjs";import"./cli-0.1.11-rvk3t45h.mjs";import"./cli-0.1.11-0n77qn68.mjs";import"./cli-0.1.11-h02tyg8p.mjs";import"./cli-0.1.11-bvd2r7an.mjs";import"./cli-0.1.11-jr50ahcv.mjs";import"./cli-0.1.11-6zkfmcxp.mjs";import"./cli-0.1.11-jkrt4znb.mjs";import"./cli-0.1.11-424zgj5k.mjs";import"./cli-0.1.11-rj9ea3zn.mjs";import"./cli-0.1.11-mstxxz33.mjs";import"./cli-0.1.11-kghg51gb.mjs";import"./cli-0.1.11-fstfs72j.mjs";import"./cli-0.1.11-kk0qqs5v.mjs";import"./cli-0.1.11-x37jysc0.mjs";import"./cli-0.1.11-h762f6hr.mjs";import"./cli-0.1.11-50naxqgt.mjs";import"./cli-0.1.11-v6kwgrqc.mjs";import"./cli-0.1.11-16086k9e.mjs";import"./cli-0.1.11-bwpemkht.mjs";import"./cli-0.1.11-dcswnc8x.mjs";import"./cli-0.1.11-p22bdjhv.mjs";import"./cli-0.1.11-y4c6y87y.mjs";import"./cli-0.1.11-q58q9jqr.mjs";import"./cli-0.1.11-zb2sa3e2.mjs";import"./cli-0.1.11-3p2f194m.mjs";import"./cli-0.1.11-05ngjm8p.mjs";import"./cli-0.1.11-yv5pfq6n.mjs";import"./cli-0.1.11-qbcfg80y.mjs";import"./cli-0.1.11-b0jasw23.mjs";import"./cli-0.1.11-s6yfjcm5.mjs";import"./cli-0.1.11-sqqzwx4h.mjs";import"./cli-0.1.11-2w8d5vqb.mjs";import"./cli-0.1.11-d10nfa6g.mjs";import"./cli-0.1.11-h2hxx8ma.mjs";import"./cli-0.1.11-1xr9et85.mjs";import"./cli-0.1.11-v7bwjqf0.mjs";import"./cli-0.1.11-h7e4rkwk.mjs";import"./cli-0.1.11-7xr2ermy.mjs";import"./cli-0.1.11-7qpnfx56.mjs";import"./cli-0.1.11-vch8cn95.mjs";import"./cli-0.1.11-fag2wtke.mjs";import"./cli-0.1.11-nx8a99hz.mjs";import"./cli-0.1.11-ktwtyqmp.mjs";import"./cli-0.1.11-xwj7cmkj.mjs";import"./cli-0.1.11-vq5fvf9m.mjs";import"./cli-0.1.11-d3exw047.mjs";import"./cli-0.1.11-e5ecf583.mjs";import"./cli-0.1.11-rrnr3ab1.mjs";import"./cli-0.1.11-98zcwng9.mjs";import"./cli-0.1.11-yrfxpjhr.mjs";v();export{g as worktreeBranchName,e as withGitWorktreeMutationLock,a as validateWorktreeSlug,c as restoreWorktreeSession,r as removeAgentWorktree,i as parsePRReference,m as killTmuxSession,o as keepWorktree,j as isTmuxAvailable,t as hasWorktreeChanges,k as getTmuxInstallInstructions,b as getCurrentWorktreeSession,d as generateTmuxSessionName,u as execIntoTmuxWorktree,n as createWorktreeForSession,l as createTmuxSessionForWorktree,q as createAgentWorktree,h as copyWorktreeIncludeFiles,p as cleanupWorktree,s as cleanupStaleAgentWorktrees,f as _resetGitWorktreeMutationLocksForTesting};
@@ -0,0 +1 @@
1
+ import{PQ as a,QQ as b}from"./cli-0.1.11-vb5f7c3a.mjs";import"./cli-0.1.11-yrfxpjhr.mjs";b();export{a as isWorktreeModeEnabled};
@@ -0,0 +1,7 @@
1
+ import{Nna as S,Pna as M,Rna as X4,Sna as R}from"./cli-0.1.11-yrfxpjhr.mjs";var C=M((V4,h0)=>{var g0=["nodebuffer","arraybuffer","fragments"],w0=typeof Blob<"u";if(w0)g0.push("blob");h0.exports={BINARY_TYPES:g0,CLOSE_TIMEOUT:30000,EMPTY_BUFFER:Buffer.alloc(0),GUID:"258EAFA5-E914-47DA-95CA-C5AB0DC85B11",hasBlob:w0,kForOnEventAttribute:Symbol("kIsForOnEventAttribute"),kListener:Symbol("kListener"),kStatusCode:Symbol("status-code"),kWebSocket:Symbol("websocket"),NOOP:()=>{}}});var a=M((_4,X0)=>{var{EMPTY_BUFFER:m5}=C(),F0=Buffer[Symbol.species];function f5(J,K){if(J.length===0)return m5;if(J.length===1)return J[0];let X=Buffer.allocUnsafe(K),Z=0;for(let $=0;$<J.length;$++){let G=J[$];X.set(G,Z),Z+=G.length}if(Z<K)return new F0(X.buffer,X.byteOffset,Z);return X}function m0(J,K,X,Z,$){for(let G=0;G<$;G++)X[Z+G]=J[G]^K[G&3]}function f0(J,K){for(let X=0;X<J.length;X++)J[X]^=K[X&3]}function u5(J){if(J.length===J.buffer.byteLength)return J.buffer;return J.buffer.slice(J.byteOffset,J.byteOffset+J.length)}function D0(J){if(D0.readOnly=!0,Buffer.isBuffer(J))return J;let K;if(J instanceof ArrayBuffer)K=new F0(J);else if(ArrayBuffer.isView(J))K=new F0(J.buffer,J.byteOffset,J.byteLength);else K=Buffer.from(J),D0.readOnly=!1;return K}X0.exports={concat:f5,mask:m0,toArrayBuffer:u5,toBuffer:D0,unmask:f0};if(!process.env.WS_NO_BUFFER_UTIL)try{let J=(()=>{throw new Error("Cannot require module "+"bufferutil");})();X0.exports.mask=function(K,X,Z,$,G){if(G<48)m0(K,X,Z,$,G);else J.mask(K,X,Z,$,G)},X0.exports.unmask=function(K,X){if(K.length<32)f0(K,X);else J.unmask(K,X)}}catch(J){}});var i0=M((N4,p0)=>{var u0=Symbol("kDone"),P0=Symbol("kRun");class l0{constructor(J){this[u0]=()=>{this.pending--,this[P0]()},this.concurrency=J||1/0,this.jobs=[],this.pending=0}add(J){this.jobs.push(J),this[P0]()}[P0](){if(this.pending===this.concurrency)return;if(this.jobs.length){let J=this.jobs.shift();this.pending++,J(this[u0])}}}p0.exports=l0});var p=M((H4,n0)=>{var s=R("zlib"),b0=a(),l5=i0(),{kStatusCode:k0}=C(),p5=Buffer[Symbol.species],i5=Buffer.from([0,0,255,255]),$0=Symbol("permessage-deflate"),U=Symbol("total-length"),u=Symbol("callback"),L=Symbol("buffers"),l=Symbol("error"),Z0;class d0{constructor(J){if(this._options=J||{},this._threshold=this._options.threshold!==void 0?this._options.threshold:1024,this._maxPayload=this._options.maxPayload|0,this._isServer=!!this._options.isServer,this._deflate=null,this._inflate=null,this.params=null,!Z0){let K=this._options.concurrencyLimit!==void 0?this._options.concurrencyLimit:10;Z0=new l5(K)}}static get extensionName(){return"permessage-deflate"}offer(){let J={};if(this._options.serverNoContextTakeover)J.server_no_context_takeover=!0;if(this._options.clientNoContextTakeover)J.client_no_context_takeover=!0;if(this._options.serverMaxWindowBits)J.server_max_window_bits=this._options.serverMaxWindowBits;if(this._options.clientMaxWindowBits)J.client_max_window_bits=this._options.clientMaxWindowBits;else if(this._options.clientMaxWindowBits==null)J.client_max_window_bits=!0;return J}accept(J){return J=this.normalizeParams(J),this.params=this._isServer?this.acceptAsServer(J):this.acceptAsClient(J),this.params}cleanup(){if(this._inflate)this._inflate.close(),this._inflate=null;if(this._deflate){let J=this._deflate[u];if(this._deflate.close(),this._deflate=null,J)J(Error("The deflate stream was closed while data was being processed"))}}acceptAsServer(J){let K=this._options,X=J.find((Z)=>{if(K.serverNoContextTakeover===!1&&Z.server_no_context_takeover||Z.server_max_window_bits&&(K.serverMaxWindowBits===!1||typeof K.serverMaxWindowBits==="number"&&K.serverMaxWindowBits>Z.server_max_window_bits)||typeof K.clientMaxWindowBits==="number"&&!Z.client_max_window_bits)return!1;return!0});if(!X)throw Error("None of the extension offers can be accepted");if(K.serverNoContextTakeover)X.server_no_context_takeover=!0;if(K.clientNoContextTakeover)X.client_no_context_takeover=!0;if(typeof K.serverMaxWindowBits==="number")X.server_max_window_bits=K.serverMaxWindowBits;if(typeof K.clientMaxWindowBits==="number")X.client_max_window_bits=K.clientMaxWindowBits;else if(X.client_max_window_bits===!0||K.clientMaxWindowBits===!1)delete X.client_max_window_bits;return X}acceptAsClient(J){let K=J[0];if(this._options.clientNoContextTakeover===!1&&K.client_no_context_takeover)throw Error('Unexpected parameter "client_no_context_takeover"');if(!K.client_max_window_bits){if(typeof this._options.clientMaxWindowBits==="number")K.client_max_window_bits=this._options.clientMaxWindowBits}else if(this._options.clientMaxWindowBits===!1||typeof this._options.clientMaxWindowBits==="number"&&K.client_max_window_bits>this._options.clientMaxWindowBits)throw Error('Unexpected or invalid parameter "client_max_window_bits"');return K}normalizeParams(J){return J.forEach((K)=>{Object.keys(K).forEach((X)=>{let Z=K[X];if(Z.length>1)throw Error(`Parameter "${X}" must have only a single value`);if(Z=Z[0],X==="client_max_window_bits"){if(Z!==!0){let $=+Z;if(!Number.isInteger($)||$<8||$>15)throw TypeError(`Invalid value for parameter "${X}": ${Z}`);Z=$}else if(!this._isServer)throw TypeError(`Invalid value for parameter "${X}": ${Z}`)}else if(X==="server_max_window_bits"){let $=+Z;if(!Number.isInteger($)||$<8||$>15)throw TypeError(`Invalid value for parameter "${X}": ${Z}`);Z=$}else if(X==="client_no_context_takeover"||X==="server_no_context_takeover"){if(Z!==!0)throw TypeError(`Invalid value for parameter "${X}": ${Z}`)}else throw Error(`Unknown parameter "${X}"`);K[X]=Z})}),J}decompress(J,K,X){Z0.add((Z)=>{this._decompress(J,K,($,G)=>{Z(),X($,G)})})}compress(J,K,X){Z0.add((Z)=>{this._compress(J,K,($,G)=>{Z(),X($,G)})})}_decompress(J,K,X){let Z=this._isServer?"client":"server";if(!this._inflate){let $=`${Z}_max_window_bits`,G=typeof this.params[$]!=="number"?s.Z_DEFAULT_WINDOWBITS:this.params[$];this._inflate=s.createInflateRaw({...this._options.zlibInflateOptions,windowBits:G}),this._inflate[$0]=this,this._inflate[U]=0,this._inflate[L]=[],this._inflate.on("error",k5),this._inflate.on("data",c0)}if(this._inflate[u]=X,this._inflate.write(J),K)this._inflate.write(i5);this._inflate.flush(()=>{let $=this._inflate[l];if($){this._inflate.close(),this._inflate=null,X($);return}let G=b0.concat(this._inflate[L],this._inflate[U]);if(this._inflate._readableState.endEmitted)this._inflate.close(),this._inflate=null;else if(this._inflate[U]=0,this._inflate[L]=[],K&&this.params[`${Z}_no_context_takeover`])this._inflate.reset();X(null,G)})}_compress(J,K,X){let Z=this._isServer?"server":"client";if(!this._deflate){let $=`${Z}_max_window_bits`,G=typeof this.params[$]!=="number"?s.Z_DEFAULT_WINDOWBITS:this.params[$];this._deflate=s.createDeflateRaw({...this._options.zlibDeflateOptions,windowBits:G}),this._deflate[U]=0,this._deflate[L]=[],this._deflate.on("data",b5)}this._deflate[u]=X,this._deflate.write(J),this._deflate.flush(s.Z_SYNC_FLUSH,()=>{if(!this._deflate)return;let $=b0.concat(this._deflate[L],this._deflate[U]);if(K)$=new p5($.buffer,$.byteOffset,$.length-4);if(this._deflate[u]=null,this._deflate[U]=0,this._deflate[L]=[],K&&this.params[`${Z}_no_context_takeover`])this._deflate.reset();X(null,$)})}}n0.exports=d0;function b5(J){this[L].push(J),this[U]+=J.length}function c0(J){if(this[U]+=J.length,this[$0]._maxPayload<1||this[U]<=this[$0]._maxPayload){this[L].push(J);return}this[l]=RangeError("Max payload size exceeded"),this[l].code="WS_ERR_UNSUPPORTED_MESSAGE_LENGTH",this[l][k0]=1009,this.removeListener("data",c0),this.reset()}function k5(J){if(this[$0]._inflate=null,this[l]){this[u](this[l]);return}J[k0]=1007,this[u](J)}});var i=M((R4,G0)=>{var{isUtf8:r0}=R("buffer"),{hasBlob:d5}=C(),c5=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0];function n5(J){return J>=1000&&J<=1014&&J!==1004&&J!==1005&&J!==1006||J>=3000&&J<=4999}function M0(J){let K=J.length,X=0;while(X<K)if((J[X]&128)===0)X++;else if((J[X]&224)===192){if(X+1===K||(J[X+1]&192)!==128||(J[X]&254)===192)return!1;X+=2}else if((J[X]&240)===224){if(X+2>=K||(J[X+1]&192)!==128||(J[X+2]&192)!==128||J[X]===224&&(J[X+1]&224)===128||J[X]===237&&(J[X+1]&224)===160)return!1;X+=3}else if((J[X]&248)===240){if(X+3>=K||(J[X+1]&192)!==128||(J[X+2]&192)!==128||(J[X+3]&192)!==128||J[X]===240&&(J[X+1]&240)===128||J[X]===244&&J[X+1]>143||J[X]>244)return!1;X+=4}else return!1;return!0}function r5(J){return d5&&typeof J==="object"&&typeof J.arrayBuffer==="function"&&typeof J.type==="string"&&typeof J.stream==="function"&&(J[Symbol.toStringTag]==="Blob"||J[Symbol.toStringTag]==="File")}G0.exports={isBlob:r5,isValidStatusCode:n5,isValidUTF8:M0,tokenChars:c5};if(r0)G0.exports.isValidUTF8=function(J){return J.length<24?M0(J):r0(J)};else if(!process.env.WS_NO_UTF_8_VALIDATE)try{let J=(()=>{throw new Error("Cannot require module "+"utf-8-validate");})();G0.exports.isValidUTF8=function(K){return K.length<32?M0(K):J(K)}}catch(J){}});var T0=M((A4,e0)=>{var{Writable:a5}=R("stream"),a0=p(),{BINARY_TYPES:s5,EMPTY_BUFFER:s0,kStatusCode:o5,kWebSocket:t5}=C(),{concat:O0,toArrayBuffer:e5,unmask:J1}=a(),{isValidStatusCode:K1,isValidUTF8:o0}=i(),Q0=Buffer[Symbol.species];class t0 extends a5{constructor(J={}){super();this._allowSynchronousEvents=J.allowSynchronousEvents!==void 0?J.allowSynchronousEvents:!0,this._binaryType=J.binaryType||s5[0],this._extensions=J.extensions||{},this._isServer=!!J.isServer,this._maxPayload=J.maxPayload|0,this._skipUTF8Validation=!!J.skipUTF8Validation,this[t5]=void 0,this._bufferedBytes=0,this._buffers=[],this._compressed=!1,this._payloadLength=0,this._mask=void 0,this._fragmented=0,this._masked=!1,this._fin=!1,this._opcode=0,this._totalPayloadLength=0,this._messageLength=0,this._fragments=[],this._errored=!1,this._loop=!1,this._state=0}_write(J,K,X){if(this._opcode===8&&this._state==0)return X();this._bufferedBytes+=J.length,this._buffers.push(J),this.startLoop(X)}consume(J){if(this._bufferedBytes-=J,J===this._buffers[0].length)return this._buffers.shift();if(J<this._buffers[0].length){let X=this._buffers[0];return this._buffers[0]=new Q0(X.buffer,X.byteOffset+J,X.length-J),new Q0(X.buffer,X.byteOffset,J)}let K=Buffer.allocUnsafe(J);do{let X=this._buffers[0],Z=K.length-J;if(J>=X.length)K.set(this._buffers.shift(),Z);else K.set(new Uint8Array(X.buffer,X.byteOffset,J),Z),this._buffers[0]=new Q0(X.buffer,X.byteOffset+J,X.length-J);J-=X.length}while(J>0);return K}startLoop(J){this._loop=!0;do switch(this._state){case 0:this.getInfo(J);break;case 1:this.getPayloadLength16(J);break;case 2:this.getPayloadLength64(J);break;case 3:this.getMask();break;case 4:this.getData(J);break;case 5:case 6:this._loop=!1;return}while(this._loop);if(!this._errored)J()}getInfo(J){if(this._bufferedBytes<2){this._loop=!1;return}let K=this.consume(2);if((K[0]&48)!==0){let Z=this.createError(RangeError,"RSV2 and RSV3 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_2_3");J(Z);return}let X=(K[0]&64)===64;if(X&&!this._extensions[a0.extensionName]){let Z=this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");J(Z);return}if(this._fin=(K[0]&128)===128,this._opcode=K[0]&15,this._payloadLength=K[1]&127,this._opcode===0){if(X){let Z=this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");J(Z);return}if(!this._fragmented){let Z=this.createError(RangeError,"invalid opcode 0",!0,1002,"WS_ERR_INVALID_OPCODE");J(Z);return}this._opcode=this._fragmented}else if(this._opcode===1||this._opcode===2){if(this._fragmented){let Z=this.createError(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE");J(Z);return}this._compressed=X}else if(this._opcode>7&&this._opcode<11){if(!this._fin){let Z=this.createError(RangeError,"FIN must be set",!0,1002,"WS_ERR_EXPECTED_FIN");J(Z);return}if(X){let Z=this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");J(Z);return}if(this._payloadLength>125||this._opcode===8&&this._payloadLength===1){let Z=this.createError(RangeError,`invalid payload length ${this._payloadLength}`,!0,1002,"WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH");J(Z);return}}else{let Z=this.createError(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE");J(Z);return}if(!this._fin&&!this._fragmented)this._fragmented=this._opcode;if(this._masked=(K[1]&128)===128,this._isServer){if(!this._masked){let Z=this.createError(RangeError,"MASK must be set",!0,1002,"WS_ERR_EXPECTED_MASK");J(Z);return}}else if(this._masked){let Z=this.createError(RangeError,"MASK must be clear",!0,1002,"WS_ERR_UNEXPECTED_MASK");J(Z);return}if(this._payloadLength===126)this._state=1;else if(this._payloadLength===127)this._state=2;else this.haveLength(J)}getPayloadLength16(J){if(this._bufferedBytes<2){this._loop=!1;return}this._payloadLength=this.consume(2).readUInt16BE(0),this.haveLength(J)}getPayloadLength64(J){if(this._bufferedBytes<8){this._loop=!1;return}let K=this.consume(8),X=K.readUInt32BE(0);if(X>Math.pow(2,21)-1){let Z=this.createError(RangeError,"Unsupported WebSocket frame: payload length > 2^53 - 1",!1,1009,"WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH");J(Z);return}this._payloadLength=X*Math.pow(2,32)+K.readUInt32BE(4),this.haveLength(J)}haveLength(J){if(this._payloadLength&&this._opcode<8){if(this._totalPayloadLength+=this._payloadLength,this._totalPayloadLength>this._maxPayload&&this._maxPayload>0){let K=this.createError(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH");J(K);return}}if(this._masked)this._state=3;else this._state=4}getMask(){if(this._bufferedBytes<4){this._loop=!1;return}this._mask=this.consume(4),this._state=4}getData(J){let K=s0;if(this._payloadLength){if(this._bufferedBytes<this._payloadLength){this._loop=!1;return}if(K=this.consume(this._payloadLength),this._masked&&(this._mask[0]|this._mask[1]|this._mask[2]|this._mask[3])!==0)J1(K,this._mask)}if(this._opcode>7){this.controlMessage(K,J);return}if(this._compressed){this._state=5,this.decompress(K,J);return}if(K.length)this._messageLength=this._totalPayloadLength,this._fragments.push(K);this.dataMessage(J)}decompress(J,K){this._extensions[a0.extensionName].decompress(J,this._fin,(Z,$)=>{if(Z)return K(Z);if($.length){if(this._messageLength+=$.length,this._messageLength>this._maxPayload&&this._maxPayload>0){let G=this.createError(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH");K(G);return}this._fragments.push($)}if(this.dataMessage(K),this._state===0)this.startLoop(K)})}dataMessage(J){if(!this._fin){this._state=0;return}let K=this._messageLength,X=this._fragments;if(this._totalPayloadLength=0,this._messageLength=0,this._fragmented=0,this._fragments=[],this._opcode===2){let Z;if(this._binaryType==="nodebuffer")Z=O0(X,K);else if(this._binaryType==="arraybuffer")Z=e5(O0(X,K));else if(this._binaryType==="blob")Z=new Blob(X);else Z=X;if(this._allowSynchronousEvents)this.emit("message",Z,!0),this._state=0;else this._state=6,setImmediate(()=>{this.emit("message",Z,!0),this._state=0,this.startLoop(J)})}else{let Z=O0(X,K);if(!this._skipUTF8Validation&&!o0(Z)){let $=this.createError(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8");J($);return}if(this._state===5||this._allowSynchronousEvents)this.emit("message",Z,!1),this._state=0;else this._state=6,setImmediate(()=>{this.emit("message",Z,!1),this._state=0,this.startLoop(J)})}}controlMessage(J,K){if(this._opcode===8){if(J.length===0)this._loop=!1,this.emit("conclude",1005,s0),this.end();else{let X=J.readUInt16BE(0);if(!K1(X)){let $=this.createError(RangeError,`invalid status code ${X}`,!0,1002,"WS_ERR_INVALID_CLOSE_CODE");K($);return}let Z=new Q0(J.buffer,J.byteOffset+2,J.length-2);if(!this._skipUTF8Validation&&!o0(Z)){let $=this.createError(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8");K($);return}this._loop=!1,this.emit("conclude",X,Z),this.end()}this._state=0;return}if(this._allowSynchronousEvents)this.emit(this._opcode===9?"ping":"pong",J),this._state=0;else this._state=6,setImmediate(()=>{this.emit(this._opcode===9?"ping":"pong",J),this._state=0,this.startLoop(K)})}createError(J,K,X,Z,$){this._loop=!1,this._errored=!0;let G=new J(X?`Invalid WebSocket frame: ${K}`:K);return Error.captureStackTrace(G,this.createError),G.code=$,G[o5]=Z,G}}e0.exports=t0});var B0=M((D4,X5)=>{var{Duplex:F4}=R("stream"),{randomFillSync:X1}=R("crypto"),J5=p(),{EMPTY_BUFFER:Z1,kWebSocket:$1,NOOP:G1}=C(),{isBlob:b,isValidStatusCode:Q1}=i(),{mask:K5,toBuffer:v}=a(),T=Symbol("kByteLength"),j1=Buffer.alloc(4),g,k=8192,x=0,I1=1,z1=2;class W{constructor(J,K,X){if(this._extensions=K||{},X)this._generateMask=X,this._maskBuffer=Buffer.alloc(4);this._socket=J,this._firstFragment=!0,this._compress=!1,this._bufferedBytes=0,this._queue=[],this._state=x,this.onerror=G1,this[$1]=void 0}static frame(J,K){let X,Z=!1,$=2,G=!1;if(K.mask){if(X=K.maskBuffer||j1,K.generateMask)K.generateMask(X);else{if(k===8192){if(g===void 0)g=Buffer.alloc(8192);X1(g,0,8192),k=0}X[0]=g[k++],X[1]=g[k++],X[2]=g[k++],X[3]=g[k++]}G=(X[0]|X[1]|X[2]|X[3])===0,$=6}let Q;if(typeof J==="string")if((!K.mask||G)&&K[T]!==void 0)Q=K[T];else J=Buffer.from(J),Q=J.length;else Q=J.length,Z=K.mask&&K.readOnly&&!G;let I=Q;if(Q>=65536)$+=8,I=127;else if(Q>125)$+=2,I=126;let j=Buffer.allocUnsafe(Z?Q+$:$);if(j[0]=K.fin?K.opcode|128:K.opcode,K.rsv1)j[0]|=64;if(j[1]=I,I===126)j.writeUInt16BE(Q,2);else if(I===127)j[2]=j[3]=0,j.writeUIntBE(Q,4,6);if(!K.mask)return[j,J];if(j[1]|=128,j[$-4]=X[0],j[$-3]=X[1],j[$-2]=X[2],j[$-1]=X[3],G)return[j,J];if(Z)return K5(J,X,j,$,Q),[j];return K5(J,X,J,0,Q),[j,J]}close(J,K,X,Z){let $;if(J===void 0)$=Z1;else if(typeof J!=="number"||!Q1(J))throw TypeError("First argument must be a valid error code number");else if(K===void 0||!K.length)$=Buffer.allocUnsafe(2),$.writeUInt16BE(J,0);else{let Q=Buffer.byteLength(K);if(Q>123)throw RangeError("The message must not be greater than 123 bytes");if($=Buffer.allocUnsafe(2+Q),$.writeUInt16BE(J,0),typeof K==="string")$.write(K,2);else $.set(K,2)}let G={[T]:$.length,fin:!0,generateMask:this._generateMask,mask:X,maskBuffer:this._maskBuffer,opcode:8,readOnly:!1,rsv1:!1};if(this._state!==x)this.enqueue([this.dispatch,$,!1,G,Z]);else this.sendFrame(W.frame($,G),Z)}ping(J,K,X){let Z,$;if(typeof J==="string")Z=Buffer.byteLength(J),$=!1;else if(b(J))Z=J.size,$=!1;else J=v(J),Z=J.length,$=v.readOnly;if(Z>125)throw RangeError("The data size must not be greater than 125 bytes");let G={[T]:Z,fin:!0,generateMask:this._generateMask,mask:K,maskBuffer:this._maskBuffer,opcode:9,readOnly:$,rsv1:!1};if(b(J))if(this._state!==x)this.enqueue([this.getBlobData,J,!1,G,X]);else this.getBlobData(J,!1,G,X);else if(this._state!==x)this.enqueue([this.dispatch,J,!1,G,X]);else this.sendFrame(W.frame(J,G),X)}pong(J,K,X){let Z,$;if(typeof J==="string")Z=Buffer.byteLength(J),$=!1;else if(b(J))Z=J.size,$=!1;else J=v(J),Z=J.length,$=v.readOnly;if(Z>125)throw RangeError("The data size must not be greater than 125 bytes");let G={[T]:Z,fin:!0,generateMask:this._generateMask,mask:K,maskBuffer:this._maskBuffer,opcode:10,readOnly:$,rsv1:!1};if(b(J))if(this._state!==x)this.enqueue([this.getBlobData,J,!1,G,X]);else this.getBlobData(J,!1,G,X);else if(this._state!==x)this.enqueue([this.dispatch,J,!1,G,X]);else this.sendFrame(W.frame(J,G),X)}send(J,K,X){let Z=this._extensions[J5.extensionName],$=K.binary?2:1,G=K.compress,Q,I;if(typeof J==="string")Q=Buffer.byteLength(J),I=!1;else if(b(J))Q=J.size,I=!1;else J=v(J),Q=J.length,I=v.readOnly;if(this._firstFragment){if(this._firstFragment=!1,G&&Z&&Z.params[Z._isServer?"server_no_context_takeover":"client_no_context_takeover"])G=Q>=Z._threshold;this._compress=G}else G=!1,$=0;if(K.fin)this._firstFragment=!0;let j={[T]:Q,fin:K.fin,generateMask:this._generateMask,mask:K.mask,maskBuffer:this._maskBuffer,opcode:$,readOnly:I,rsv1:G};if(b(J))if(this._state!==x)this.enqueue([this.getBlobData,J,this._compress,j,X]);else this.getBlobData(J,this._compress,j,X);else if(this._state!==x)this.enqueue([this.dispatch,J,this._compress,j,X]);else this.dispatch(J,this._compress,j,X)}getBlobData(J,K,X,Z){this._bufferedBytes+=X[T],this._state=z1,J.arrayBuffer().then(($)=>{if(this._socket.destroyed){let Q=Error("The socket was closed while the blob was being read");process.nextTick(x0,this,Q,Z);return}this._bufferedBytes-=X[T];let G=v($);if(!K)this._state=x,this.sendFrame(W.frame(G,X),Z),this.dequeue();else this.dispatch(G,K,X,Z)}).catch(($)=>{process.nextTick(Y1,this,$,Z)})}dispatch(J,K,X,Z){if(!K){this.sendFrame(W.frame(J,X),Z);return}let $=this._extensions[J5.extensionName];this._bufferedBytes+=X[T],this._state=I1,$.compress(J,X.fin,(G,Q)=>{if(this._socket.destroyed){let I=Error("The socket was closed while data was being compressed");x0(this,I,Z);return}this._bufferedBytes-=X[T],this._state=x,X.readOnly=!1,this.sendFrame(W.frame(Q,X),Z),this.dequeue()})}dequeue(){while(this._state===x&&this._queue.length){let J=this._queue.shift();this._bufferedBytes-=J[3][T],Reflect.apply(J[0],this,J.slice(1))}}enqueue(J){this._bufferedBytes+=J[3][T],this._queue.push(J)}sendFrame(J,K){if(J.length===2)this._socket.cork(),this._socket.write(J[0]),this._socket.write(J[1],K),this._socket.uncork();else this._socket.write(J[0],K)}}X5.exports=W;function x0(J,K,X){if(typeof X==="function")X(K);for(let Z=0;Z<J._queue.length;Z++){let $=J._queue[Z],G=$[$.length-1];if(typeof G==="function")G(K)}}function Y1(J,K,X){x0(J,K,X),J.onerror(K)}});var V5=M((P4,Y5)=>{var{kForOnEventAttribute:o,kListener:C0}=C(),Z5=Symbol("kCode"),$5=Symbol("kData"),G5=Symbol("kError"),Q5=Symbol("kMessage"),j5=Symbol("kReason"),d=Symbol("kTarget"),I5=Symbol("kType"),z5=Symbol("kWasClean");class y{constructor(J){this[d]=null,this[I5]=J}get target(){return this[d]}get type(){return this[I5]}}Object.defineProperty(y.prototype,"target",{enumerable:!0});Object.defineProperty(y.prototype,"type",{enumerable:!0});class c extends y{constructor(J,K={}){super(J);this[Z5]=K.code===void 0?0:K.code,this[j5]=K.reason===void 0?"":K.reason,this[z5]=K.wasClean===void 0?!1:K.wasClean}get code(){return this[Z5]}get reason(){return this[j5]}get wasClean(){return this[z5]}}Object.defineProperty(c.prototype,"code",{enumerable:!0});Object.defineProperty(c.prototype,"reason",{enumerable:!0});Object.defineProperty(c.prototype,"wasClean",{enumerable:!0});class t extends y{constructor(J,K={}){super(J);this[G5]=K.error===void 0?null:K.error,this[Q5]=K.message===void 0?"":K.message}get error(){return this[G5]}get message(){return this[Q5]}}Object.defineProperty(t.prototype,"error",{enumerable:!0});Object.defineProperty(t.prototype,"message",{enumerable:!0});class I0 extends y{constructor(J,K={}){super(J);this[$5]=K.data===void 0?null:K.data}get data(){return this[$5]}}Object.defineProperty(I0.prototype,"data",{enumerable:!0});var V1={addEventListener(J,K,X={}){for(let $ of this.listeners(J))if(!X[o]&&$[C0]===K&&!$[o])return;let Z;if(J==="message")Z=function(G,Q){let I=new I0("message",{data:Q?G:G.toString()});I[d]=this,j0(K,this,I)};else if(J==="close")Z=function(G,Q){let I=new c("close",{code:G,reason:Q.toString(),wasClean:this._closeFrameReceived&&this._closeFrameSent});I[d]=this,j0(K,this,I)};else if(J==="error")Z=function(G){let Q=new t("error",{error:G,message:G.message});Q[d]=this,j0(K,this,Q)};else if(J==="open")Z=function(){let G=new y("open");G[d]=this,j0(K,this,G)};else return;if(Z[o]=!!X[o],Z[C0]=K,X.once)this.once(J,Z);else this.on(J,Z)},removeEventListener(J,K){for(let X of this.listeners(J))if(X[C0]===K&&!X[o]){this.removeListener(J,X);break}}};Y5.exports={CloseEvent:c,ErrorEvent:t,Event:y,EventTarget:V1,MessageEvent:I0};function j0(J,K,X){if(typeof J==="object"&&J.handleEvent)J.handleEvent.call(J,X);else J.call(K,X)}});var z0=M((M4,_5)=>{var{tokenChars:e}=i();function B(J,K,X){if(J[K]===void 0)J[K]=[X];else J[K].push(X)}function _1(J){let K=Object.create(null),X=Object.create(null),Z=!1,$=!1,G=!1,Q,I,j=-1,V=-1,_=-1,Y=0;for(;Y<J.length;Y++)if(V=J.charCodeAt(Y),Q===void 0)if(_===-1&&e[V]===1){if(j===-1)j=Y}else if(Y!==0&&(V===32||V===9)){if(_===-1&&j!==-1)_=Y}else if(V===59||V===44){if(j===-1)throw SyntaxError(`Unexpected character at index ${Y}`);if(_===-1)_=Y;let D=J.slice(j,_);if(V===44)B(K,D,X),X=Object.create(null);else Q=D;j=_=-1}else throw SyntaxError(`Unexpected character at index ${Y}`);else if(I===void 0)if(_===-1&&e[V]===1){if(j===-1)j=Y}else if(V===32||V===9){if(_===-1&&j!==-1)_=Y}else if(V===59||V===44){if(j===-1)throw SyntaxError(`Unexpected character at index ${Y}`);if(_===-1)_=Y;if(B(X,J.slice(j,_),!0),V===44)B(K,Q,X),X=Object.create(null),Q=void 0;j=_=-1}else if(V===61&&j!==-1&&_===-1)I=J.slice(j,Y),j=_=-1;else throw SyntaxError(`Unexpected character at index ${Y}`);else if($){if(e[V]!==1)throw SyntaxError(`Unexpected character at index ${Y}`);if(j===-1)j=Y;else if(!Z)Z=!0;$=!1}else if(G)if(e[V]===1){if(j===-1)j=Y}else if(V===34&&j!==-1)G=!1,_=Y;else if(V===92)$=!0;else throw SyntaxError(`Unexpected character at index ${Y}`);else if(V===34&&J.charCodeAt(Y-1)===61)G=!0;else if(_===-1&&e[V]===1){if(j===-1)j=Y}else if(j!==-1&&(V===32||V===9)){if(_===-1)_=Y}else if(V===59||V===44){if(j===-1)throw SyntaxError(`Unexpected character at index ${Y}`);if(_===-1)_=Y;let D=J.slice(j,_);if(Z)D=D.replace(/\\/g,""),Z=!1;if(B(X,I,D),V===44)B(K,Q,X),X=Object.create(null),Q=void 0;I=void 0,j=_=-1}else throw SyntaxError(`Unexpected character at index ${Y}`);if(j===-1||G||V===32||V===9)throw SyntaxError("Unexpected end of input");if(_===-1)_=Y;let F=J.slice(j,_);if(Q===void 0)B(K,F,X);else{if(I===void 0)B(X,F,!0);else if(Z)B(X,I,F.replace(/\\/g,""));else B(X,I,F);B(K,Q,X)}return K}function N1(J){return Object.keys(J).map((K)=>{let X=J[K];if(!Array.isArray(X))X=[X];return X.map((Z)=>{return[K].concat(Object.keys(Z).map(($)=>{let G=Z[$];if(!Array.isArray(G))G=[G];return G.map((Q)=>Q===!0?$:`${$}=${Q}`).join("; ")})).join("; ")}).join(", ")}).join(", ")}_5.exports={format:N1,parse:_1}});var N0=M((x4,B5)=>{var H1=R("events"),R1=R("https"),A1=R("http"),R5=R("net"),F1=R("tls"),{randomBytes:D1,createHash:P1}=R("crypto"),{Duplex:O4,Readable:T4}=R("stream"),{URL:U0}=R("url"),E=p(),M1=T0(),O1=B0(),{isBlob:T1}=i(),{BINARY_TYPES:N5,CLOSE_TIMEOUT:x1,EMPTY_BUFFER:Y0,GUID:B1,kForOnEventAttribute:q0,kListener:C1,kStatusCode:U1,kWebSocket:A,NOOP:A5}=C(),{EventTarget:{addEventListener:q1,removeEventListener:L1}}=V5(),{format:W1,parse:y1}=z0(),{toBuffer:E1}=a(),F5=Symbol("kAborted"),L0=[8,13],q=["CONNECTING","OPEN","CLOSING","CLOSED"],S1=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class z extends H1{constructor(J,K,X){super();if(this._binaryType=N5[0],this._closeCode=1006,this._closeFrameReceived=!1,this._closeFrameSent=!1,this._closeMessage=Y0,this._closeTimer=null,this._errorEmitted=!1,this._extensions={},this._paused=!1,this._protocol="",this._readyState=z.CONNECTING,this._receiver=null,this._sender=null,this._socket=null,J!==null){if(this._bufferedAmount=0,this._isServer=!1,this._redirects=0,K===void 0)K=[];else if(!Array.isArray(K))if(typeof K==="object"&&K!==null)X=K,K=[];else K=[K];D5(this,J,K,X)}else this._autoPong=X.autoPong,this._closeTimeout=X.closeTimeout,this._isServer=!0}get binaryType(){return this._binaryType}set binaryType(J){if(!N5.includes(J))return;if(this._binaryType=J,this._receiver)this._receiver._binaryType=J}get bufferedAmount(){if(!this._socket)return this._bufferedAmount;return this._socket._writableState.length+this._sender._bufferedBytes}get extensions(){return Object.keys(this._extensions).join()}get isPaused(){return this._paused}get onclose(){return null}get onerror(){return null}get onopen(){return null}get onmessage(){return null}get protocol(){return this._protocol}get readyState(){return this._readyState}get url(){return this._url}setSocket(J,K,X){let Z=new M1({allowSynchronousEvents:X.allowSynchronousEvents,binaryType:this.binaryType,extensions:this._extensions,isServer:this._isServer,maxPayload:X.maxPayload,skipUTF8Validation:X.skipUTF8Validation}),$=new O1(J,this._extensions,X.generateMask);if(this._receiver=Z,this._sender=$,this._socket=J,Z[A]=this,$[A]=this,J[A]=this,Z.on("conclude",w1),Z.on("drain",h1),Z.on("error",m1),Z.on("message",f1),Z.on("ping",u1),Z.on("pong",l1),$.onerror=p1,J.setTimeout)J.setTimeout(0);if(J.setNoDelay)J.setNoDelay();if(K.length>0)J.unshift(K);J.on("close",O5),J.on("data",_0),J.on("end",T5),J.on("error",x5),this._readyState=z.OPEN,this.emit("open")}emitClose(){if(!this._socket){this._readyState=z.CLOSED,this.emit("close",this._closeCode,this._closeMessage);return}if(this._extensions[E.extensionName])this._extensions[E.extensionName].cleanup();this._receiver.removeAllListeners(),this._readyState=z.CLOSED,this.emit("close",this._closeCode,this._closeMessage)}close(J,K){if(this.readyState===z.CLOSED)return;if(this.readyState===z.CONNECTING){O(this,this._req,"WebSocket was closed before the connection was established");return}if(this.readyState===z.CLOSING){if(this._closeFrameSent&&(this._closeFrameReceived||this._receiver._writableState.errorEmitted))this._socket.end();return}this._readyState=z.CLOSING,this._sender.close(J,K,!this._isServer,(X)=>{if(X)return;if(this._closeFrameSent=!0,this._closeFrameReceived||this._receiver._writableState.errorEmitted)this._socket.end()}),M5(this)}pause(){if(this.readyState===z.CONNECTING||this.readyState===z.CLOSED)return;this._paused=!0,this._socket.pause()}ping(J,K,X){if(this.readyState===z.CONNECTING)throw Error("WebSocket is not open: readyState 0 (CONNECTING)");if(typeof J==="function")X=J,J=K=void 0;else if(typeof K==="function")X=K,K=void 0;if(typeof J==="number")J=J.toString();if(this.readyState!==z.OPEN){W0(this,J,X);return}if(K===void 0)K=!this._isServer;this._sender.ping(J||Y0,K,X)}pong(J,K,X){if(this.readyState===z.CONNECTING)throw Error("WebSocket is not open: readyState 0 (CONNECTING)");if(typeof J==="function")X=J,J=K=void 0;else if(typeof K==="function")X=K,K=void 0;if(typeof J==="number")J=J.toString();if(this.readyState!==z.OPEN){W0(this,J,X);return}if(K===void 0)K=!this._isServer;this._sender.pong(J||Y0,K,X)}resume(){if(this.readyState===z.CONNECTING||this.readyState===z.CLOSED)return;if(this._paused=!1,!this._receiver._writableState.needDrain)this._socket.resume()}send(J,K,X){if(this.readyState===z.CONNECTING)throw Error("WebSocket is not open: readyState 0 (CONNECTING)");if(typeof K==="function")X=K,K={};if(typeof J==="number")J=J.toString();if(this.readyState!==z.OPEN){W0(this,J,X);return}let Z={binary:typeof J!=="string",mask:!this._isServer,compress:!0,fin:!0,...K};if(!this._extensions[E.extensionName])Z.compress=!1;this._sender.send(J||Y0,Z,X)}terminate(){if(this.readyState===z.CLOSED)return;if(this.readyState===z.CONNECTING){O(this,this._req,"WebSocket was closed before the connection was established");return}if(this._socket)this._readyState=z.CLOSING,this._socket.destroy()}}Object.defineProperty(z,"CONNECTING",{enumerable:!0,value:q.indexOf("CONNECTING")});Object.defineProperty(z.prototype,"CONNECTING",{enumerable:!0,value:q.indexOf("CONNECTING")});Object.defineProperty(z,"OPEN",{enumerable:!0,value:q.indexOf("OPEN")});Object.defineProperty(z.prototype,"OPEN",{enumerable:!0,value:q.indexOf("OPEN")});Object.defineProperty(z,"CLOSING",{enumerable:!0,value:q.indexOf("CLOSING")});Object.defineProperty(z.prototype,"CLOSING",{enumerable:!0,value:q.indexOf("CLOSING")});Object.defineProperty(z,"CLOSED",{enumerable:!0,value:q.indexOf("CLOSED")});Object.defineProperty(z.prototype,"CLOSED",{enumerable:!0,value:q.indexOf("CLOSED")});["binaryType","bufferedAmount","extensions","isPaused","protocol","readyState","url"].forEach((J)=>{Object.defineProperty(z.prototype,J,{enumerable:!0})});["open","error","close","message"].forEach((J)=>{Object.defineProperty(z.prototype,`on${J}`,{enumerable:!0,get(){for(let K of this.listeners(J))if(K[q0])return K[C1];return null},set(K){for(let X of this.listeners(J))if(X[q0]){this.removeListener(J,X);break}if(typeof K!=="function")return;this.addEventListener(J,K,{[q0]:!0})}})});z.prototype.addEventListener=q1;z.prototype.removeEventListener=L1;B5.exports=z;function D5(J,K,X,Z){let $={allowSynchronousEvents:!0,autoPong:!0,closeTimeout:x1,protocolVersion:L0[1],maxPayload:104857600,skipUTF8Validation:!1,perMessageDeflate:!0,followRedirects:!1,maxRedirects:10,...Z,socketPath:void 0,hostname:void 0,protocol:void 0,timeout:void 0,method:"GET",host:void 0,path:void 0,port:void 0};if(J._autoPong=$.autoPong,J._closeTimeout=$.closeTimeout,!L0.includes($.protocolVersion))throw RangeError(`Unsupported protocol version: ${$.protocolVersion} (supported versions: ${L0.join(", ")})`);let G;if(K instanceof U0)G=K;else try{G=new U0(K)}catch{throw SyntaxError(`Invalid URL: ${K}`)}if(G.protocol==="http:")G.protocol="ws:";else if(G.protocol==="https:")G.protocol="wss:";J._url=G.href;let Q=G.protocol==="wss:",I=G.protocol==="ws+unix:",j;if(G.protocol!=="ws:"&&!Q&&!I)j=`The URL's protocol must be one of "ws:", "wss:", "http:", "https:", or "ws+unix:"`;else if(I&&!G.pathname)j="The URL's pathname is empty";else if(G.hash)j="The URL contains a fragment identifier";if(j){let N=SyntaxError(j);if(J._redirects===0)throw N;else{V0(J,N);return}}let V=Q?443:80,_=D1(16).toString("base64"),Y=Q?R1.request:A1.request,F=new Set,D;if($.createConnection=$.createConnection||(Q?g1:v1),$.defaultPort=$.defaultPort||V,$.port=G.port||V,$.host=G.hostname.startsWith("[")?G.hostname.slice(1,-1):G.hostname,$.headers={...$.headers,"Sec-WebSocket-Version":$.protocolVersion,"Sec-WebSocket-Key":_,Connection:"Upgrade",Upgrade:"websocket"},$.path=G.pathname+G.search,$.timeout=$.handshakeTimeout,$.perMessageDeflate)D=new E({...$.perMessageDeflate,isServer:!1,maxPayload:$.maxPayload}),$.headers["Sec-WebSocket-Extensions"]=W1({[E.extensionName]:D.offer()});if(X.length){for(let N of X){if(typeof N!=="string"||!S1.test(N)||F.has(N))throw SyntaxError("An invalid or duplicated subprotocol was specified");F.add(N)}$.headers["Sec-WebSocket-Protocol"]=X.join(",")}if($.origin)if($.protocolVersion<13)$.headers["Sec-WebSocket-Origin"]=$.origin;else $.headers.Origin=$.origin;if(G.username||G.password)$.auth=`${G.username}:${G.password}`;if(I){let N=$.path.split(":");$.socketPath=N[0],$.path=N[1]}let H;if($.followRedirects){if(J._redirects===0){J._originalIpc=I,J._originalSecure=Q,J._originalHostOrSocketPath=I?$.socketPath:G.host;let N=Z&&Z.headers;if(Z={...Z,headers:{}},N)for(let[P,m]of Object.entries(N))Z.headers[P.toLowerCase()]=m}else if(J.listenerCount("redirect")===0){let N=I?J._originalIpc?$.socketPath===J._originalHostOrSocketPath:!1:J._originalIpc?!1:G.host===J._originalHostOrSocketPath;if(!N||J._originalSecure&&!Q){if(delete $.headers.authorization,delete $.headers.cookie,!N)delete $.headers.host;$.auth=void 0}}if($.auth&&!Z.headers.authorization)Z.headers.authorization="Basic "+Buffer.from($.auth).toString("base64");if(H=J._req=Y($),J._redirects)J.emit("redirect",J.url,H)}else H=J._req=Y($);if($.timeout)H.on("timeout",()=>{O(J,H,"Opening handshake has timed out")});if(H.on("error",(N)=>{if(H===null||H[F5])return;H=J._req=null,V0(J,N)}),H.on("response",(N)=>{let P=N.headers.location,m=N.statusCode;if(P&&$.followRedirects&&m>=300&&m<400){if(++J._redirects>$.maxRedirects){O(J,H,"Maximum redirects exceeded");return}H.abort();let n;try{n=new U0(P,K)}catch(E0){let f=SyntaxError(`Invalid URL: ${P}`);V0(J,f);return}D5(J,n,X,Z)}else if(!J.emit("unexpected-response",H,N))O(J,H,`Unexpected server response: ${N.statusCode}`)}),H.on("upgrade",(N,P,m)=>{if(J.emit("upgrade",N),J.readyState!==z.CONNECTING)return;H=J._req=null;let n=N.headers.upgrade;if(n===void 0||n.toLowerCase()!=="websocket"){O(J,P,"Invalid Upgrade header");return}let E0=P1("sha1").update(_+B1).digest("base64");if(N.headers["sec-websocket-accept"]!==E0){O(J,P,"Invalid Sec-WebSocket-Accept header");return}let f=N.headers["sec-websocket-protocol"],r;if(f!==void 0){if(!F.size)r="Server sent a subprotocol but none was requested";else if(!F.has(f))r="Server sent an invalid subprotocol"}else if(F.size)r="Server sent no subprotocol";if(r){O(J,P,r);return}if(f)J._protocol=f;let S0=N.headers["sec-websocket-extensions"];if(S0!==void 0){if(!D){O(J,P,"Server sent a Sec-WebSocket-Extensions header but no extension was requested");return}let R0;try{R0=y1(S0)}catch(A0){O(J,P,"Invalid Sec-WebSocket-Extensions header");return}let v0=Object.keys(R0);if(v0.length!==1||v0[0]!==E.extensionName){O(J,P,"Server indicated an extension that was not requested");return}try{D.accept(R0[E.extensionName])}catch(A0){O(J,P,"Invalid Sec-WebSocket-Extensions header");return}J._extensions[E.extensionName]=D}J.setSocket(P,m,{allowSynchronousEvents:$.allowSynchronousEvents,generateMask:$.generateMask,maxPayload:$.maxPayload,skipUTF8Validation:$.skipUTF8Validation})}),$.finishRequest)$.finishRequest(H,J);else H.end()}function V0(J,K){J._readyState=z.CLOSING,J._errorEmitted=!0,J.emit("error",K),J.emitClose()}function v1(J){return J.path=J.socketPath,R5.connect(J)}function g1(J){if(J.path=void 0,!J.servername&&J.servername!=="")J.servername=R5.isIP(J.host)?"":J.host;return F1.connect(J)}function O(J,K,X){J._readyState=z.CLOSING;let Z=Error(X);if(Error.captureStackTrace(Z,O),K.setHeader){if(K[F5]=!0,K.abort(),K.socket&&!K.socket.destroyed)K.socket.destroy();process.nextTick(V0,J,Z)}else K.destroy(Z),K.once("error",J.emit.bind(J,"error")),K.once("close",J.emitClose.bind(J))}function W0(J,K,X){if(K){let Z=T1(K)?K.size:E1(K).length;if(J._socket)J._sender._bufferedBytes+=Z;else J._bufferedAmount+=Z}if(X){let Z=Error(`WebSocket is not open: readyState ${J.readyState} (${q[J.readyState]})`);process.nextTick(X,Z)}}function w1(J,K){let X=this[A];if(X._closeFrameReceived=!0,X._closeMessage=K,X._closeCode=J,X._socket[A]===void 0)return;if(X._socket.removeListener("data",_0),process.nextTick(P5,X._socket),J===1005)X.close();else X.close(J,K)}function h1(){let J=this[A];if(!J.isPaused)J._socket.resume()}function m1(J){let K=this[A];if(K._socket[A]!==void 0)K._socket.removeListener("data",_0),process.nextTick(P5,K._socket),K.close(J[U1]);if(!K._errorEmitted)K._errorEmitted=!0,K.emit("error",J)}function H5(){this[A].emitClose()}function f1(J,K){this[A].emit("message",J,K)}function u1(J){let K=this[A];if(K._autoPong)K.pong(J,!this._isServer,A5);K.emit("ping",J)}function l1(J){this[A].emit("pong",J)}function P5(J){J.resume()}function p1(J){let K=this[A];if(K.readyState===z.CLOSED)return;if(K.readyState===z.OPEN)K._readyState=z.CLOSING,M5(K);if(this._socket.end(),!K._errorEmitted)K._errorEmitted=!0,K.emit("error",J)}function M5(J){J._closeTimer=setTimeout(J._socket.destroy.bind(J._socket),J._closeTimeout)}function O5(){let J=this[A];if(this.removeListener("close",O5),this.removeListener("data",_0),this.removeListener("end",T5),J._readyState=z.CLOSING,!this._readableState.endEmitted&&!J._closeFrameReceived&&!J._receiver._writableState.errorEmitted&&this._readableState.length!==0){let K=this.read(this._readableState.length);J._receiver.write(K)}if(J._receiver.end(),this[A]=void 0,clearTimeout(J._closeTimer),J._receiver._writableState.finished||J._receiver._writableState.errorEmitted)J.emitClose();else J._receiver.on("error",H5),J._receiver.on("finish",H5)}function _0(J){if(!this[A]._receiver.write(J))this.pause()}function T5(){let J=this[A];J._readyState=z.CLOSING,J._receiver.end(),this.end()}function x5(){let J=this[A];if(this.removeListener("error",x5),this.on("error",A5),J)J._readyState=z.CLOSING,this.destroy()}});var L5=M((C4,q5)=>{var B4=N0(),{Duplex:i1}=R("stream");function C5(J){J.emit("close")}function b1(){if(!this.destroyed&&this._writableState.finished)this.destroy()}function U5(J){if(this.removeListener("error",U5),this.destroy(),this.listenerCount("error")===0)this.emit("error",J)}function k1(J,K){let X=!0,Z=new i1({...K,autoDestroy:!1,emitClose:!1,objectMode:!1,writableObjectMode:!1});return J.on("message",function(G,Q){let I=!Q&&Z._readableState.objectMode?G.toString():G;if(!Z.push(I))J.pause()}),J.once("error",function(G){if(Z.destroyed)return;X=!1,Z.destroy(G)}),J.once("close",function(){if(Z.destroyed)return;Z.push(null)}),Z._destroy=function($,G){if(J.readyState===J.CLOSED){G($),process.nextTick(C5,Z);return}let Q=!1;if(J.once("error",function(j){Q=!0,G(j)}),J.once("close",function(){if(!Q)G($);process.nextTick(C5,Z)}),X)J.terminate()},Z._final=function($){if(J.readyState===J.CONNECTING){J.once("open",function(){Z._final($)});return}if(J._socket===null)return;if(J._socket._writableState.finished){if($(),Z._readableState.endEmitted)Z.destroy()}else J._socket.once("finish",function(){$()}),J.close()},Z._read=function(){if(J.isPaused)J.resume()},Z._write=function($,G,Q){if(J.readyState===J.CONNECTING){J.once("open",function(){Z._write($,G,Q)});return}J.send($,Q)},Z.on("end",b1),Z.on("error",U5),Z}q5.exports=k1});var y0=M((U4,W5)=>{var{tokenChars:d1}=i();function c1(J){let K=new Set,X=-1,Z=-1,$=0;for($;$<J.length;$++){let Q=J.charCodeAt($);if(Z===-1&&d1[Q]===1){if(X===-1)X=$}else if($!==0&&(Q===32||Q===9)){if(Z===-1&&X!==-1)Z=$}else if(Q===44){if(X===-1)throw SyntaxError(`Unexpected character at index ${$}`);if(Z===-1)Z=$;let I=J.slice(X,Z);if(K.has(I))throw SyntaxError(`The "${I}" subprotocol is duplicated`);K.add(I),X=Z=-1}else throw SyntaxError(`Unexpected character at index ${$}`)}if(X===-1||Z!==-1)throw SyntaxError("Unexpected end of input");let G=J.slice(X,$);if(K.has(G))throw SyntaxError(`The "${G}" subprotocol is duplicated`);return K.add(G),K}W5.exports={parse:c1}});var g5=M((L4,v5)=>{var n1=R("events"),H0=R("http"),{Duplex:q4}=R("stream"),{createHash:r1}=R("crypto"),y5=z0(),w=p(),a1=y0(),s1=N0(),{CLOSE_TIMEOUT:o1,GUID:t1,kWebSocket:e1}=C(),J4=/^[+/0-9A-Za-z]{22}==$/;class S5 extends n1{constructor(J,K){super();if(J={allowSynchronousEvents:!0,autoPong:!0,maxPayload:104857600,skipUTF8Validation:!1,perMessageDeflate:!1,handleProtocols:null,clientTracking:!0,closeTimeout:o1,verifyClient:null,noServer:!1,backlog:null,server:null,host:null,path:null,port:null,WebSocket:s1,...J},J.port==null&&!J.server&&!J.noServer||J.port!=null&&(J.server||J.noServer)||J.server&&J.noServer)throw TypeError('One and only one of the "port", "server", or "noServer" options must be specified');if(J.port!=null)this._server=H0.createServer((X,Z)=>{let $=H0.STATUS_CODES[426];Z.writeHead(426,{"Content-Length":$.length,"Content-Type":"text/plain"}),Z.end($)}),this._server.listen(J.port,J.host,J.backlog,K);else if(J.server)this._server=J.server;if(this._server){let X=this.emit.bind(this,"connection");this._removeListeners=K4(this._server,{listening:this.emit.bind(this,"listening"),error:this.emit.bind(this,"error"),upgrade:(Z,$,G)=>{this.handleUpgrade(Z,$,G,X)}})}if(J.perMessageDeflate===!0)J.perMessageDeflate={};if(J.clientTracking)this.clients=new Set,this._shouldEmitClose=!1;this.options=J,this._state=0}address(){if(this.options.noServer)throw Error('The server is operating in "noServer" mode');if(!this._server)return null;return this._server.address()}close(J){if(this._state===2){if(J)this.once("close",()=>{J(Error("The server is not running"))});process.nextTick(J0,this);return}if(J)this.once("close",J);if(this._state===1)return;if(this._state=1,this.options.noServer||this.options.server){if(this._server)this._removeListeners(),this._removeListeners=this._server=null;if(this.clients)if(!this.clients.size)process.nextTick(J0,this);else this._shouldEmitClose=!0;else process.nextTick(J0,this)}else{let K=this._server;this._removeListeners(),this._removeListeners=this._server=null,K.close(()=>{J0(this)})}}shouldHandle(J){if(this.options.path){let K=J.url.indexOf("?");if((K!==-1?J.url.slice(0,K):J.url)!==this.options.path)return!1}return!0}handleUpgrade(J,K,X,Z){K.on("error",E5);let $=J.headers["sec-websocket-key"],G=J.headers.upgrade,Q=+J.headers["sec-websocket-version"];if(J.method!=="GET"){h(this,J,K,405,"Invalid HTTP method");return}if(G===void 0||G.toLowerCase()!=="websocket"){h(this,J,K,400,"Invalid Upgrade header");return}if($===void 0||!J4.test($)){h(this,J,K,400,"Missing or invalid Sec-WebSocket-Key header");return}if(Q!==13&&Q!==8){h(this,J,K,400,"Missing or invalid Sec-WebSocket-Version header",{"Sec-WebSocket-Version":"13, 8"});return}if(!this.shouldHandle(J)){K0(K,400);return}let I=J.headers["sec-websocket-protocol"],j=new Set;if(I!==void 0)try{j=a1.parse(I)}catch(Y){h(this,J,K,400,"Invalid Sec-WebSocket-Protocol header");return}let V=J.headers["sec-websocket-extensions"],_={};if(this.options.perMessageDeflate&&V!==void 0){let Y=new w({...this.options.perMessageDeflate,isServer:!0,maxPayload:this.options.maxPayload});try{let F=y5.parse(V);if(F[w.extensionName])Y.accept(F[w.extensionName]),_[w.extensionName]=Y}catch(F){h(this,J,K,400,"Invalid or unacceptable Sec-WebSocket-Extensions header");return}}if(this.options.verifyClient){let Y={origin:J.headers[`${Q===8?"sec-websocket-origin":"origin"}`],secure:!!(J.socket.authorized||J.socket.encrypted),req:J};if(this.options.verifyClient.length===2){this.options.verifyClient(Y,(F,D,H,N)=>{if(!F)return K0(K,D||401,H,N);this.completeUpgrade(_,$,j,J,K,X,Z)});return}if(!this.options.verifyClient(Y))return K0(K,401)}this.completeUpgrade(_,$,j,J,K,X,Z)}completeUpgrade(J,K,X,Z,$,G,Q){if(!$.readable||!$.writable)return $.destroy();if($[e1])throw Error("server.handleUpgrade() was called more than once with the same socket, possibly due to a misconfiguration");if(this._state>0)return K0($,503);let j=["HTTP/1.1 101 Switching Protocols","Upgrade: websocket","Connection: Upgrade",`Sec-WebSocket-Accept: ${r1("sha1").update(K+t1).digest("base64")}`],V=new this.options.WebSocket(null,void 0,this.options);if(X.size){let _=this.options.handleProtocols?this.options.handleProtocols(X,Z):X.values().next().value;if(_)j.push(`Sec-WebSocket-Protocol: ${_}`),V._protocol=_}if(J[w.extensionName]){let _=J[w.extensionName].params,Y=y5.format({[w.extensionName]:[_]});j.push(`Sec-WebSocket-Extensions: ${Y}`),V._extensions=J}if(this.emit("headers",j,Z),$.write(j.concat(`\r
2
+ `).join(`\r
3
+ `)),$.removeListener("error",E5),V.setSocket($,G,{allowSynchronousEvents:this.options.allowSynchronousEvents,maxPayload:this.options.maxPayload,skipUTF8Validation:this.options.skipUTF8Validation}),this.clients)this.clients.add(V),V.on("close",()=>{if(this.clients.delete(V),this._shouldEmitClose&&!this.clients.size)process.nextTick(J0,this)});Q(V,Z)}}v5.exports=S5;function K4(J,K){for(let X of Object.keys(K))J.on(X,K[X]);return function(){for(let Z of Object.keys(K))J.removeListener(Z,K[Z])}}function J0(J){J._state=2,J.emit("close")}function E5(){this.destroy()}function K0(J,K,X,Z){X=X||H0.STATUS_CODES[K],Z={Connection:"close","Content-Type":"text/html","Content-Length":Buffer.byteLength(X),...Z},J.once("finish",J.destroy),J.end(`HTTP/1.1 ${K} ${H0.STATUS_CODES[K]}\r
4
+ `+Object.keys(Z).map(($)=>`${$}: ${Z[$]}`).join(`\r
5
+ `)+`\r
6
+ \r
7
+ `+X)}function h(J,K,X,Z,$,G){if(J.listenerCount("wsClientError")){let Q=Error($);Error.captureStackTrace(Q,h),J.emit("wsClientError",Q,X,K)}else K0(X,Z,$,G)}});var Z4,$4,G4,Q4,j4,I4,w5,z4,y4;var Y4=X4(()=>{Z4=S(L5(),1),$4=S(z0(),1),G4=S(p(),1),Q4=S(T0(),1),j4=S(B0(),1),I4=S(y0(),1),w5=S(N0(),1),z4=S(g5(),1),y4=w5.default});Y4();var export_subprotocol=I4.default;var export_extension=$4.default;var export_createWebSocketStream=Z4.default;var export_WebSocketServer=z4.default;var export_WebSocket=w5.default;var export_Sender=j4.default;var export_Receiver=Q4.default;var export_PerMessageDeflate=G4.default;export{export_subprotocol as subprotocol,export_extension as extension,y4 as default,export_createWebSocketStream as createWebSocketStream,export_WebSocketServer as WebSocketServer,export_WebSocket as WebSocket,export_Sender as Sender,export_Receiver as Receiver,export_PerMessageDeflate as PerMessageDeflate};
Binary file
package/dist/cli.mjs CHANGED
@@ -1,7 +1,7 @@
1
- import{D5 as q,E5 as P}from"./chunks/cli-0.1.9-c38eyh49.mjs";import{ica as G,mca as L,nca as N,qca as z,tca as b,wca as F,zca as H}from"./chunks/cli-0.1.9-86kws2c7.mjs";import"./chunks/cli-0.1.9-0dtdhejj.mjs";import"./chunks/cli-0.1.9-mj88t3jf.mjs";import"./chunks/cli-0.1.9-7ftnjyps.mjs";import"./chunks/cli-0.1.9-45ggwszg.mjs";import"./chunks/cli-0.1.9-wpvrabrk.mjs";import"./chunks/cli-0.1.9-mkfnnvz7.mjs";import"./chunks/cli-0.1.9-9nhh15bp.mjs";import"./chunks/cli-0.1.9-5ryrgdzg.mjs";import"./chunks/cli-0.1.9-vdw09f8y.mjs";import{Gga as B,Oga as W}from"./chunks/cli-0.1.9-v7ajk1nz.mjs";import"./chunks/cli-0.1.9-sv3awdsv.mjs";import"./chunks/cli-0.1.9-7fp0smtp.mjs";import"./chunks/cli-0.1.9-1ghbcafn.mjs";import{mna as K}from"./chunks/cli-0.1.9-kbrf27z8.mjs";H();b();W();P();var I=["ghp_","gho_","ghs_","ghr_","github_pat_"];function T(w,O="copilot"){if(I.some((J)=>w.startsWith(J))){if(O==="copilot")return"expired";return"valid"}let D=w.match(/exp=(\d+)/);if(D){let J=Number(D[1]);if(!Number.isNaN(J))return Date.now()>=J*1000?"expired":"valid"}let Q=w.split(".");if(Q.length===3&&Q.every((J)=>/^[A-Za-z0-9_-]+$/.test(J)))try{let J=Q[1].replace(/-/g,"+").replace(/_/g,"/"),X=J+"=".repeat((4-J.length%4)%4),$=Buffer.from(X,"base64").toString("utf8"),A=JSON.parse($);if(A&&typeof A==="object"&&A.exp)return Date.now()>=A.exp*1000?"expired":"valid"}catch{return"invalid_format"}return"valid"}async function y(w,O){let D=F();if(!D)return null;if(D.transport==="gemini"){if((await(O?.resolveGeminiCredential??q)(process.env)).kind==="none")return"Configure Gemini auth via /provider — pick API key, access token, or rely on Google ADC.";return null}if(D.transport==="github_copilot"){let R=D.extras?.githubToken?.trim()||D.apiKey?.trim()||"";if(!R)return`GitHub Copilot authentication required.
2
- Run /provider and choose GitHub Copilot.`;let J=L(D.baseUrl),X=T(R,J);if(X==="expired")return`GitHub Copilot token has expired.
3
- Run /provider and choose GitHub Copilot.`;if(X==="invalid_format")return`GitHub Copilot token is invalid or corrupted.
4
- Run /provider and choose GitHub Copilot.`;return null}if(D.transport!=="openai_compat"&&D.transport!=="codex_responses")return null;let Q=N({model:D.model,baseUrl:D.baseUrl});if(D.apiKey==="SUA_CHAVE")return"Invalid API key: placeholder value SUA_CHAVE detected. Set a real key in /provider, or leave blank for local providers.";if(Q.transport==="codex_responses"){let R=z();if(!R.apiKey){let J=B()?"":", choose Codex OAuth in /provider",X=R.authPath?`${J} or put auth.json at ${R.authPath}`:J;return`Codex auth is required for ${Q.requestedModel}. Configure it via /provider${X}.`}if(!R.accountId)return"Codex auth is missing chatgpt_account_id. Re-login with Codex OAuth via /provider, or import an auth.json with chatgpt_account_id.";return null}if(!D.apiKey&&!G(Q.baseUrl))return"API key required for the active /provider profile. Run /provider to set it.";return null}function C(w={}){let O=w.args??process.argv.slice(2);if(!(w.stdoutIsTTY??process.stdout.isTTY))return!0;return O.includes("-p")||O.includes("--print")||O.includes("--init-only")||O.some((Q)=>Q.startsWith("--sdk-url"))}async function V(w=process.env,O){let D=await y(w);if(!D)return;if(C(O))console.error(D),process.exit(1);console.error(`Warning: provider configuration is incomplete.
1
+ import{g6 as N,h6 as W}from"./chunks/cli-0.1.11-6r97rwda.mjs";import{Nca as $,Rca as j,Sca as B,Wca as G,Zca as q,ada as L,dda as V}from"./chunks/cli-0.1.11-v7bwjqf0.mjs";import"./chunks/cli-0.1.11-h7e4rkwk.mjs";import"./chunks/cli-0.1.11-7xr2ermy.mjs";import"./chunks/cli-0.1.11-7qpnfx56.mjs";import"./chunks/cli-0.1.11-vch8cn95.mjs";import"./chunks/cli-0.1.11-fag2wtke.mjs";import"./chunks/cli-0.1.11-nx8a99hz.mjs";import"./chunks/cli-0.1.11-ktwtyqmp.mjs";import"./chunks/cli-0.1.11-xwj7cmkj.mjs";import"./chunks/cli-0.1.11-vq5fvf9m.mjs";import{kha as _,sha as F}from"./chunks/cli-0.1.11-d3exw047.mjs";import"./chunks/cli-0.1.11-e5ecf583.mjs";import"./chunks/cli-0.1.11-rrnr3ab1.mjs";import"./chunks/cli-0.1.11-98zcwng9.mjs";import{Sna as J}from"./chunks/cli-0.1.11-yrfxpjhr.mjs";V();q();F();W();var b=["ghp_","gho_","ghs_","ghr_","github_pat_"];function H(A,O="copilot"){if(b.some((w)=>A.startsWith(w))){if(O==="copilot")return"expired";return"valid"}let D=A.match(/exp=(\d+)/);if(D){let w=Number(D[1]);if(!Number.isNaN(w))return Date.now()>=w*1000?"expired":"valid"}let Q=A.split(".");if(Q.length===3&&Q.every((w)=>/^[A-Za-z0-9_-]+$/.test(w)))try{let w=Q[1].replace(/-/g,"+").replace(/_/g,"/"),K=w+"=".repeat((4-w.length%4)%4),X=Buffer.from(K,"base64").toString("utf8"),U=JSON.parse(X);if(U&&typeof U==="object"&&U.exp)return Date.now()>=U.exp*1000?"expired":"valid"}catch{return"invalid_format"}return"valid"}async function P(A,O){let D=L();if(!D)return null;if(D.transport==="gemini"){if((await(O?.resolveGeminiCredential??N)(process.env)).kind==="none")return"Configure Gemini auth via /provider — pick API key, access token, or rely on Google ADC.";return null}if(D.transport==="github_copilot"){let R=D.extras?.githubToken?.trim()||D.apiKey?.trim()||"";if(!R)return`GitHub Copilot authentication required.
2
+ Run /provider and choose GitHub Copilot.`;let w=j(D.baseUrl),K=H(R,w);if(K==="expired")return`GitHub Copilot token has expired.
3
+ Run /provider and choose GitHub Copilot.`;if(K==="invalid_format")return`GitHub Copilot token is invalid or corrupted.
4
+ Run /provider and choose GitHub Copilot.`;return null}if(D.transport!=="openai_compat"&&D.transport!=="codex_responses")return null;let Q=B({model:D.model,baseUrl:D.baseUrl});if(D.apiKey==="SUA_CHAVE")return"Invalid API key: placeholder value SUA_CHAVE detected. Set a real key in /provider, or leave blank for local providers.";if(Q.transport==="codex_responses"){let R=G();if(!R.apiKey){let w=_()?"":", choose Codex OAuth in /provider",K=R.authPath?`${w} or put auth.json at ${R.authPath}`:w;return`Codex auth is required for ${Q.requestedModel}. Configure it via /provider${K}.`}if(!R.accountId)return"Codex auth is missing chatgpt_account_id. Re-login with Codex OAuth via /provider, or import an auth.json with chatgpt_account_id.";return null}if(!D.apiKey&&!$(Q.baseUrl))return"API key required for the active /provider profile. Run /provider to set it.";return null}function I(A={}){let O=A.args??process.argv.slice(2);if(!(A.stdoutIsTTY??process.stdout.isTTY))return!0;return O.includes("-p")||O.includes("--print")||O.includes("--init-only")||O.some((Q)=>Q.startsWith("--sdk-url"))}async function z(A=process.env,O){let D=await P(A);if(!D)return;if(I(O))console.error(D),process.exit(1);console.error(`Warning: provider configuration is incomplete.
5
5
  ${D}
6
- Claudio will continue starting so you can run /provider and repair the saved provider settings.`)}if(typeof globalThis.File>"u")try{let{File:w}=K("node:buffer");globalThis.File=w}catch{globalThis.File=class extends Blob{name;lastModified;constructor(O,D,Q){super(O,Q);this.name=D,this.lastModified=Q?.lastModified??Date.now()}}}process.env.CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS??="true";process.env.COREPACK_ENABLE_AUTO_PIN="0";if(process.env.CLAUDE_CODE_REMOTE==="true"){let w=process.env.NODE_OPTIONS||"";process.env.NODE_OPTIONS=w?`${w} --max-old-space-size=8192`:"--max-old-space-size=8192"}async function E(){let w=process.argv.slice(2);if(w.length===1&&(w[0]==="--version"||w[0]==="-v"||w[0]==="-V")){console.log("0.1.9 (Claudio)");return}if(w.includes("--provider"))console.error('The --provider CLI flag was removed. Run "claudio" and use /provider to choose a profile.'),process.exit(1);{let{enableConfigs:A}=await import("./chunks/config-0.1.9-6knxc8a2.mjs");A()}{let{applySafeConfigEnvironmentVariables:A}=await import("./chunks/managedEnv-0.1.9-y8wax2wz.mjs");A()}{let{hydrateGithubModelsTokenFromSecureStorage:A,refreshGithubModelsTokenIfNeeded:U}=await import("./chunks/githubModelsCredentials-0.1.9-bzx6c3bd.mjs");await U(),A()}await V();let{eagerParseCliFlag:O}=await import("./chunks/cliArgs-0.1.9-kckasx4h.mjs"),D=O("--model"),{isFullscreenEnvEnabled:Q}=await import("./chunks/fullscreen-0.1.9-xy9bnpe3.mjs"),{tryGetActiveProvider:R}=await import("./chunks/activeProvider-0.1.9-kbwwatt3.mjs");if(!Q()&&R()){let{printStartupScreen:A}=await import("./chunks/StartupScreen-0.1.9-jgk08xvj.mjs");A(D)}let{profileCheckpoint:J}=await import("./chunks/startupProfiler-0.1.9-gmke65dk.mjs");if(J("cli_entry"),w[0]==="--dump-system-prompt"){J("cli_dump_system_prompt_path");let{enableConfigs:A}=await import("./chunks/config-0.1.9-6knxc8a2.mjs");A();let{getMainLoopModel:U}=await import("./chunks/model-0.1.9-ghswdzx2.mjs"),Y=w.indexOf("--model"),Z=Y!==-1&&w[Y+1]||U(),{getSystemPrompt:_}=await import("./chunks/prompts-0.1.9-psek69yr.mjs"),j=await _([],Z);console.log(j.join(`
7
- `));return}if(process.argv[2]==="--claude-in-chrome-mcp"){J("cli_claude_in_chrome_mcp_path");let{runClaudeInChromeMcpServer:A}=await import("./chunks/mcpServer-0.1.9-5p48a2y0.mjs");await A();return}else if(process.argv[2]==="--chrome-native-host"){J("cli_chrome_native_host_path");let{runChromeNativeHost:A}=await import("./chunks/chromeNativeHost-0.1.9-8a20nscz.mjs");await A();return}if(!1)switch(w[0]){case"ps":case"logs":case"attach":case"kill":default:}if((w.includes("--tmux")||w.includes("--tmux=classic"))&&(w.includes("-w")||w.includes("--worktree")||w.some((A)=>A.startsWith("--worktree=")))){J("cli_tmux_worktree_fast_path");let{enableConfigs:A}=await import("./chunks/config-0.1.9-6knxc8a2.mjs");A();let{isWorktreeModeEnabled:U}=await import("./chunks/worktreeModeEnabled-0.1.9-qbn6b5fs.mjs");if(U()){let{execIntoTmuxWorktree:Y}=await import("./chunks/worktree-0.1.9-d3fbxjwd.mjs"),Z=await Y(w);if(Z.handled)return;if(Z.error){let{exitWithError:_}=await import("./chunks/process-0.1.9-anx0dq1a.mjs");_(Z.error)}}}if(w.length===1&&(w[0]==="--update"||w[0]==="--upgrade"))process.argv=[process.argv[0],process.argv[1],"update"];if(w.includes("--bare"))process.env.CLAUDE_CODE_SIMPLE="1";if(process.env.CLAUDIO_DISABLE_EARLY_INPUT!=="1"){let{startCapturingEarlyInput:A}=await import("./chunks/earlyInput-0.1.9-h7yskwvf.mjs");A()}J("cli_before_main_import");let{main:$}=await import("./chunks/main-0.1.9-7cnyr288.mjs");J("cli_after_main_import"),await $(),J("cli_after_main_complete")}E();
6
+ Claudio will continue starting so you can run /provider and repair the saved provider settings.`)}if(typeof globalThis.File>"u")try{let{File:A}=J("node:buffer");globalThis.File=A}catch{globalThis.File=class extends Blob{name;lastModified;constructor(O,D,Q){super(O,Q);this.name=D,this.lastModified=Q?.lastModified??Date.now()}}}process.env.CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS??="true";process.env.COREPACK_ENABLE_AUTO_PIN="0";if(process.env.CLAUDE_CODE_REMOTE==="true"){let A=process.env.NODE_OPTIONS||"";process.env.NODE_OPTIONS=A?`${A} --max-old-space-size=8192`:"--max-old-space-size=8192"}async function y(){let A=process.argv.slice(2);if(A.length===1&&(A[0]==="--version"||A[0]==="-v"||A[0]==="-V")){console.log("0.1.11 (Claudio)");return}if(A.includes("--provider"))console.error('The --provider CLI flag was removed. Run "claudio" and use /provider to choose a profile.'),process.exit(1);{let{enableConfigs:w}=await import("./chunks/config-0.1.11-cqy7fnab.mjs");w()}{let{applySafeConfigEnvironmentVariables:w}=await import("./chunks/managedEnv-0.1.11-6bnnpsm0.mjs");w()}{let{hydrateGithubModelsTokenFromSecureStorage:w,refreshGithubModelsTokenIfNeeded:K}=await import("./chunks/githubModelsCredentials-0.1.11-9vhs3xqj.mjs");await K(),w()}await z();let{tryGetActiveProvider:O}=await import("./chunks/activeProvider-0.1.11-qrn947by.mjs");if(O()&&process.stdout.isTTY&&process.env.CLAUDIO_NO_CLEAR_ON_START!=="1"){let{clearTerminal:w}=await import("./chunks/clearTerminal-0.1.11-pdrc3735.mjs");process.stdout.write(w)}let{profileCheckpoint:D}=await import("./chunks/startupProfiler-0.1.11-5s07826j.mjs");if(D("cli_entry"),A[0]==="--dump-system-prompt"){D("cli_dump_system_prompt_path");let{enableConfigs:w}=await import("./chunks/config-0.1.11-cqy7fnab.mjs");w();let{getMainLoopModel:K}=await import("./chunks/model-0.1.11-qekc9c4w.mjs"),X=A.indexOf("--model"),U=X!==-1&&A[X+1]||K(),{getSystemPrompt:Y}=await import("./chunks/prompts-0.1.11-xczb1nwa.mjs"),Z=await Y([],U);console.log(Z.join(`
7
+ `));return}if(process.argv[2]==="--claude-in-chrome-mcp"){D("cli_claude_in_chrome_mcp_path");let{runClaudeInChromeMcpServer:w}=await import("./chunks/mcpServer-0.1.11-czg51mvy.mjs");await w();return}else if(process.argv[2]==="--chrome-native-host"){D("cli_chrome_native_host_path");let{runChromeNativeHost:w}=await import("./chunks/chromeNativeHost-0.1.11-m5kskzjw.mjs");await w();return}if(!1)switch(A[0]){case"ps":case"logs":case"attach":case"kill":default:}if((A.includes("--tmux")||A.includes("--tmux=classic"))&&(A.includes("-w")||A.includes("--worktree")||A.some((w)=>w.startsWith("--worktree=")))){D("cli_tmux_worktree_fast_path");let{enableConfigs:w}=await import("./chunks/config-0.1.11-cqy7fnab.mjs");w();let{isWorktreeModeEnabled:K}=await import("./chunks/worktreeModeEnabled-0.1.11-tsxv6h6g.mjs");if(K()){let{execIntoTmuxWorktree:X}=await import("./chunks/worktree-0.1.11-d7chpamf.mjs"),U=await X(A);if(U.handled)return;if(U.error){let{exitWithError:Y}=await import("./chunks/process-0.1.11-s6jnx5xw.mjs");Y(U.error)}}}if(A.length===1&&(A[0]==="--update"||A[0]==="--upgrade"))process.argv=[process.argv[0],process.argv[1],"update"];if(A.includes("--bare"))process.env.CLAUDE_CODE_SIMPLE="1";if(process.env.CLAUDIO_DISABLE_EARLY_INPUT!=="1"){let{startCapturingEarlyInput:w}=await import("./chunks/earlyInput-0.1.11-94asnfvh.mjs");w()}D("cli_before_main_import");let{main:R}=await import("./chunks/main-0.1.11-6sh6xycv.mjs");D("cli_after_main_import"),await R(),D("cli_after_main_complete")}y();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@claudiolabs/claudio",
3
- "version": "0.1.9",
3
+ "version": "0.1.11",
4
4
  "description": "Claudio — Claude Code opened to any LLM (OpenAI, Gemini, DeepSeek, Ollama, and 200+ models)",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1 +0,0 @@
1
- import{OC as a,PC as b,QC as c,RC as d}from"./cli-0.1.9-04ez73f7.mjs";import"./cli-0.1.9-9vab0er5.mjs";import"./cli-0.1.9-4bg6jxs8.mjs";import"./cli-0.1.9-fcf313e7.mjs";import"./cli-0.1.9-ak0b9xfs.mjs";import"./cli-0.1.9-4vmbyj20.mjs";import"./cli-0.1.9-6pcahrj9.mjs";import"./cli-0.1.9-fm2yycpj.mjs";import"./cli-0.1.9-p5scdysw.mjs";import"./cli-0.1.9-3rhe87kw.mjs";import"./cli-0.1.9-pgwsmwz1.mjs";import"./cli-0.1.9-gsc0t4gy.mjs";import"./cli-0.1.9-7047sjwh.mjs";import"./cli-0.1.9-gasw7sr9.mjs";import"./cli-0.1.9-68vwvmkw.mjs";import"./cli-0.1.9-3vfq7jja.mjs";import"./cli-0.1.9-gvrtqwe3.mjs";import"./cli-0.1.9-gpd1bhnf.mjs";import"./cli-0.1.9-nw3rpxdd.mjs";import"./cli-0.1.9-263y2rkc.mjs";import"./cli-0.1.9-mx4ekht0.mjs";import"./cli-0.1.9-dmcbsmj4.mjs";import"./cli-0.1.9-2x18rhq6.mjs";import"./cli-0.1.9-90h21nv5.mjs";import"./cli-0.1.9-v32f99vc.mjs";import"./cli-0.1.9-hva25eg3.mjs";import"./cli-0.1.9-1kaj4v6k.mjs";import"./cli-0.1.9-pdbfg3vh.mjs";import"./cli-0.1.9-vwv31syx.mjs";import"./cli-0.1.9-e7ewtpew.mjs";import"./cli-0.1.9-qqjp7mpj.mjs";import"./cli-0.1.9-2v4s8yf9.mjs";import"./cli-0.1.9-hy9s1fnj.mjs";import"./cli-0.1.9-x7qrvj9f.mjs";import"./cli-0.1.9-nsgdz4rd.mjs";import"./cli-0.1.9-mme2x7fq.mjs";import"./cli-0.1.9-v6x9pr1t.mjs";import"./cli-0.1.9-3wmbdmrp.mjs";import"./cli-0.1.9-z5mm21jw.mjs";import"./cli-0.1.9-61ywjha3.mjs";import"./cli-0.1.9-x0xxr5dh.mjs";import"./cli-0.1.9-dzz1me99.mjs";import"./cli-0.1.9-rft22htm.mjs";import"./cli-0.1.9-gandxpzf.mjs";import"./cli-0.1.9-4sqfjw8t.mjs";import"./cli-0.1.9-x257hapj.mjs";import"./cli-0.1.9-f8ga1n8r.mjs";import"./cli-0.1.9-yddanjg2.mjs";import"./cli-0.1.9-8egwvs85.mjs";import"./cli-0.1.9-b6zp931m.mjs";import"./cli-0.1.9-eqxc9zxm.mjs";import"./cli-0.1.9-jchn9hyn.mjs";import"./cli-0.1.9-86kws2c7.mjs";import"./cli-0.1.9-0dtdhejj.mjs";import"./cli-0.1.9-mj88t3jf.mjs";import"./cli-0.1.9-7ftnjyps.mjs";import"./cli-0.1.9-45ggwszg.mjs";import"./cli-0.1.9-wpvrabrk.mjs";import"./cli-0.1.9-mkfnnvz7.mjs";import"./cli-0.1.9-9nhh15bp.mjs";import"./cli-0.1.9-5ryrgdzg.mjs";import"./cli-0.1.9-vdw09f8y.mjs";import"./cli-0.1.9-v7ajk1nz.mjs";import"./cli-0.1.9-sv3awdsv.mjs";import"./cli-0.1.9-7fp0smtp.mjs";import"./cli-0.1.9-1ghbcafn.mjs";import"./cli-0.1.9-kbrf27z8.mjs";d();export{b as outputSchema,a as inputSchema,c as AgentTool};