@opencode-ai/core 0.0.0-dev-19114 → 0.0.0-dev-19115

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 (769) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +78 -78
  8. package/dist/chunks/{rpc-0e0xafbb.js → command-0e0xafbb.js} +2 -2
  9. package/dist/chunks/{rpc-bzxkbfsh.js → command-0ez61b8c.js} +2 -2
  10. package/dist/chunks/{rpc-0paq2nw3.js → command-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{rpc-e5e2w1y3.js → command-0ptrrsjf.js} +20 -20
  12. package/dist/chunks/{rpc-0s9ayhjt.js → command-0s9ayhjt.js} +1 -1
  13. package/dist/chunks/{rpc-mafy3fh7.js → command-0yrmd491.js} +15 -15
  14. package/dist/chunks/{rpc-dw3xrg89.js → command-14hmenm3.js} +3 -3
  15. package/dist/chunks/{rpc-fdybstan.js → command-18v0n603.js} +17 -17
  16. package/dist/chunks/{rpc-ecj1d35v.js → command-1bdhjw18.js} +8 -8
  17. package/dist/chunks/{rpc-1ct4r87x.js → command-1ct4r87x.js} +1 -1
  18. package/dist/chunks/{rpc-kejw0t4e.js → command-1eb7zprr.js} +5 -5
  19. package/dist/chunks/{rpc-0n8tzkkd.js → command-1m2qxpbx.js} +9 -9
  20. package/dist/chunks/{rpc-zy59706a.js → command-1n22b4te.js} +7 -7
  21. package/dist/chunks/{rpc-362kye7e.js → command-1wndzdy1.js} +22 -22
  22. package/dist/chunks/{rpc-b53s1hq4.js → command-1z9d9trm.js} +11 -11
  23. package/dist/chunks/{rpc-21r38tys.js → command-21r38tys.js} +1 -1
  24. package/dist/chunks/{rpc-2402vzrj.js → command-2402vzrj.js} +1 -1
  25. package/dist/chunks/{rpc-z63w68vq.js → command-29x78va6.js} +6 -6
  26. package/dist/chunks/{rpc-2a5m3afh.js → command-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{rpc-2ht70gj7.js → command-2ht70gj7.js} +1 -1
  28. package/dist/chunks/{rpc-2jqmte8w.js → command-2jqmte8w.js} +2 -2
  29. package/dist/chunks/{rpc-vg1f7981.js → command-2p8f7m2b.js} +6 -6
  30. package/dist/chunks/{rpc-j4wxjfwy.js → command-2qan6xse.js} +26 -26
  31. package/dist/chunks/{rpc-v6ym2mbm.js → command-2vaz3fgd.js} +32 -32
  32. package/dist/chunks/{rpc-e0c61twq.js → command-2w9k586s.js} +19 -19
  33. package/dist/chunks/{rpc-3fc6dm20.js → command-3fc6dm20.js} +1 -1
  34. package/dist/chunks/{rpc-3hepkmqq.js → command-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{rpc-9ta1ym7w.js → command-3jwbxfdj.js} +22 -22
  36. package/dist/chunks/{rpc-esmjj44a.js → command-3q0nngn9.js} +9 -9
  37. package/dist/chunks/{rpc-ygw4aaat.js → command-3q60g5tw.js} +19 -19
  38. package/dist/chunks/{rpc-3qzbfqsy.js → command-3qzbfqsy.js} +2 -2
  39. package/dist/chunks/{rpc-3smtnn6g.js → command-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{rpc-3tvqynh2.js → command-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{rpc-eq7n8p4e.js → command-3vdwy4mz.js} +10 -10
  42. package/dist/chunks/{rpc-13a4dv0y.js → command-3wbgnpam.js} +21 -21
  43. package/dist/chunks/{rpc-ywpw23hy.js → command-3wfq9j39.js} +12 -12
  44. package/dist/chunks/{rpc-4cpnf65c.js → command-3zxznrdw.js} +24 -24
  45. package/dist/chunks/{rpc-454k5vzh.js → command-454k5vzh.js} +1 -1
  46. package/dist/chunks/{rpc-y3xxj3sg.js → command-45kzw0p8.js} +10 -10
  47. package/dist/chunks/{rpc-fcbhp7q1.js → command-48h7as0e.js} +17 -17
  48. package/dist/chunks/{rpc-gm9r9zqf.js → command-4ct4f13p.js} +16 -16
  49. package/dist/chunks/{rpc-awvzwpe5.js → command-4hj13xk2.js} +6 -6
  50. package/dist/chunks/{rpc-jjtztttc.js → command-4jcgzkct.js} +14 -14
  51. package/dist/chunks/{rpc-e11tpvzs.js → command-4k07pfeq.js} +9 -9
  52. package/dist/chunks/{rpc-aaqvfjmc.js → command-4kfzb8gv.js} +286 -286
  53. package/dist/chunks/{rpc-mzsb370n.js → command-4p3f57ee.js} +3 -3
  54. package/dist/chunks/{rpc-0c2bm2k8.js → command-4qs4g79n.js} +46 -46
  55. package/dist/chunks/{rpc-4r2nyarf.js → command-4r2nyarf.js} +1 -1
  56. package/dist/chunks/{rpc-w09bvaae.js → command-4rpnxrre.js} +45 -45
  57. package/dist/chunks/{rpc-68w074am.js → command-4sjd4f28.js} +11 -11
  58. package/dist/chunks/{rpc-txppa427.js → command-4t040z03.js} +14 -14
  59. package/dist/chunks/{rpc-yrydy187.js → command-4we2taax.js} +11 -11
  60. package/dist/chunks/{rpc-mq8dv1hp.js → command-4y9deqpk.js} +24 -24
  61. package/dist/chunks/{rpc-t53mj6v6.js → command-4z6b0fg6.js} +6 -6
  62. package/dist/chunks/{rpc-e3gwwck0.js → command-52v0cq2v.js} +11 -11
  63. package/dist/chunks/{rpc-havr56k6.js → command-55yvdk0c.js} +11 -11
  64. package/dist/chunks/{rpc-cvhw1js2.js → command-578j1xdj.js} +10 -10
  65. package/dist/chunks/{rpc-r6p8n554.js → command-58dzf215.js} +14 -14
  66. package/dist/chunks/{rpc-5daktx2q.js → command-5daktx2q.js} +1 -1
  67. package/dist/chunks/{rpc-5fmxt4p5.js → command-5fmxt4p5.js} +1 -1
  68. package/dist/chunks/{rpc-5jvc5tg2.js → command-5jvc5tg2.js} +1 -1
  69. package/dist/chunks/{rpc-pbv7m5sr.js → command-5k3f87xj.js} +1 -1
  70. package/dist/chunks/{rpc-j935v87r.js → command-5qd3pb7m.js} +2 -2
  71. package/dist/chunks/{rpc-sp67jf0a.js → command-5rw6je3s.js} +3 -3
  72. package/dist/chunks/{rpc-d2pvyrbx.js → command-5w9qjdt3.js} +4 -4
  73. package/dist/chunks/{rpc-759pz1a2.js → command-60q8mcwp.js} +8 -8
  74. package/dist/chunks/{rpc-sj09nt66.js → command-67nkcjnx.js} +15 -15
  75. package/dist/chunks/{rpc-9zrnh5xs.js → command-6dbg2gn2.js} +41 -41
  76. package/dist/chunks/{rpc-3g2y1byn.js → command-6h414ywr.js} +5 -5
  77. package/dist/chunks/{rpc-6tf8tr4v.js → command-6tf8tr4v.js} +2 -2
  78. package/dist/chunks/{rpc-6z5bwd8g.js → command-6z5bwd8g.js} +2 -2
  79. package/dist/chunks/{rpc-711hfp6y.js → command-711hfp6y.js} +2 -2
  80. package/dist/chunks/{rpc-5z2s6r3m.js → command-73azkrsd.js} +16 -16
  81. package/dist/chunks/{rpc-ywszqpxp.js → command-77tfyndb.js} +7 -7
  82. package/dist/chunks/{rpc-7bmhse3q.js → command-7bmhse3q.js} +1 -1
  83. package/dist/chunks/{rpc-j1g84fdq.js → command-7k848sc6.js} +25 -25
  84. package/dist/chunks/{rpc-sqqtc4xq.js → command-7nbw4m6q.js} +9 -9
  85. package/dist/chunks/{rpc-05x7kg3x.js → command-7rsx16tt.js} +8 -8
  86. package/dist/chunks/{rpc-q58618g1.js → command-7vhvnd6j.js} +79 -79
  87. package/dist/chunks/{rpc-gzbkpp9m.js → command-7w3s9kd0.js} +4 -4
  88. package/dist/chunks/{rpc-gvj0n0b8.js → command-7ym5twnq.js} +40 -40
  89. package/dist/chunks/{rpc-qw4tavyr.js → command-84gdxzwd.js} +10 -10
  90. package/dist/chunks/{rpc-6es5bxv4.js → command-854ca1e8.js} +22 -22
  91. package/dist/chunks/{rpc-wta8nv8e.js → command-86s3977f.js} +1 -1
  92. package/dist/chunks/{rpc-t6f6dd4d.js → command-8f30jcen.js} +14 -14
  93. package/dist/chunks/{rpc-8enbe2zj.js → command-8npyp30c.js} +8 -8
  94. package/dist/chunks/{rpc-a82phm85.js → command-8zpj8ga2.js} +3 -3
  95. package/dist/chunks/{rpc-93a8yfjt.js → command-93a8yfjt.js} +2 -2
  96. package/dist/chunks/{rpc-dkxcwvcg.js → command-9b3160jy.js} +7 -7
  97. package/dist/chunks/{rpc-rvn46zq7.js → command-9qj8fy7h.js} +9 -9
  98. package/dist/chunks/{rpc-9qm9egsn.js → command-9qm9egsn.js} +2 -2
  99. package/dist/chunks/{rpc-8yb6ktry.js → command-9rem8hjd.js} +11 -11
  100. package/dist/chunks/command-9sh4wc5j.js +18 -0
  101. package/dist/chunks/{rpc-q485ymv2.js → command-9x7bsm9r.js} +85 -85
  102. package/dist/chunks/{rpc-2ptt8nrr.js → command-9ym4a5yt.js} +15 -15
  103. package/dist/chunks/{rpc-aaet6srn.js → command-aaet6srn.js} +2 -2
  104. package/dist/chunks/{rpc-jj3qxa52.js → command-ag4rn41e.js} +4 -4
  105. package/dist/chunks/{rpc-8ftyy1y4.js → command-ajeyjrs8.js} +6 -6
  106. package/dist/chunks/{rpc-ajtjthsy.js → command-ajtjthsy.js} +2 -2
  107. package/dist/chunks/{rpc-6426t8cq.js → command-avf2gxwn.js} +19 -19
  108. package/dist/chunks/{rpc-b6gygkdw.js → command-b6gygkdw.js} +2 -2
  109. package/dist/chunks/{rpc-b9wsbatv.js → command-b9wsbatv.js} +1 -1
  110. package/dist/chunks/{rpc-zq9fnn7x.js → command-bc0bp3re.js} +11 -11
  111. package/dist/chunks/{rpc-zt79yd0y.js → command-bc8zabkg.js} +6 -6
  112. package/dist/chunks/{rpc-r05hg6dq.js → command-bp4zbqtd.js} +5 -5
  113. package/dist/chunks/{rpc-w6k1qeax.js → command-c26ks60e.js} +22 -22
  114. package/dist/chunks/{rpc-jpnc116f.js → command-c28brx2k.js} +9 -9
  115. package/dist/chunks/{rpc-fjhz18m3.js → command-c5rwfbwf.js} +22 -22
  116. package/dist/chunks/{rpc-ydwy5z2b.js → command-c80ydkjz.js} +46 -46
  117. package/dist/chunks/{rpc-3bm3cy1r.js → command-cjy05afp.js} +24 -24
  118. package/dist/chunks/command-csvvt798.js +22 -0
  119. package/dist/chunks/{rpc-9e0xajhk.js → command-cxnm9dwg.js} +13 -13
  120. package/dist/chunks/{rpc-fqae1sy2.js → command-cy3cnjq8.js} +4 -4
  121. package/dist/chunks/{rpc-7jykqdz2.js → command-d674kx35.js} +11 -11
  122. package/dist/chunks/{rpc-d72308c8.js → command-d72308c8.js} +2 -2
  123. package/dist/chunks/{rpc-wjdvdpz4.js → command-df9bnbjn.js} +5 -5
  124. package/dist/chunks/{rpc-z3xgatyd.js → command-djtdz80w.js} +4 -4
  125. package/dist/chunks/{rpc-0nsz8vzd.js → command-dqwszdkc.js} +7 -7
  126. package/dist/chunks/{rpc-krmx2xyr.js → command-drn755cb.js} +35 -35
  127. package/dist/chunks/{rpc-akr89kgy.js → command-dv0xdbpz.js} +12 -12
  128. package/dist/chunks/{rpc-tv79vecj.js → command-dxvz0qx6.js} +13 -13
  129. package/dist/chunks/{rpc-7p4c7sjp.js → command-dzntxkaj.js} +62 -62
  130. package/dist/chunks/{rpc-hky6zsj8.js → command-e0nkwt9z.js} +4 -4
  131. package/dist/chunks/{rpc-2kf7re16.js → command-e5b0qn1c.js} +1 -1
  132. package/dist/chunks/{rpc-9aknjvfg.js → command-e5rv1qf4.js} +15 -15
  133. package/dist/chunks/{rpc-6gbhcw7b.js → command-ehkcz9nm.js} +31 -31
  134. package/dist/chunks/{rpc-0vzfvg04.js → command-ekmzxrqe.js} +8 -8
  135. package/dist/chunks/{rpc-nrz5c8c1.js → command-ex99dnp9.js} +9 -9
  136. package/dist/chunks/{rpc-ez5b8bq3.js → command-ez5b8bq3.js} +1 -1
  137. package/dist/chunks/{rpc-vz05mr0w.js → command-f18yxx57.js} +9 -9
  138. package/dist/chunks/{rpc-m6v4gpqz.js → command-f1kgb3zy.js} +11 -11
  139. package/dist/chunks/command-f4j0pa50.js +4 -0
  140. package/dist/chunks/{rpc-8zj8e59x.js → command-fbfj6zdn.js} +4 -4
  141. package/dist/chunks/{rpc-pb1tcd0x.js → command-ff1sw35j.js} +32 -32
  142. package/dist/chunks/{rpc-jg1vwa91.js → command-fvxhrhfw.js} +13 -13
  143. package/dist/chunks/{rpc-fxbjtjnd.js → command-fxbjtjnd.js} +1 -1
  144. package/dist/chunks/{rpc-fxypknc8.js → command-fxypknc8.js} +1 -1
  145. package/dist/chunks/{rpc-re7ze2ma.js → command-g41n1fn3.js} +5 -5
  146. package/dist/chunks/{rpc-trt6hbzz.js → command-g7csxrs7.js} +4 -4
  147. package/dist/chunks/{rpc-dnn1mfa9.js → command-g8p4v1rh.js} +5 -5
  148. package/dist/chunks/{rpc-gd4qta3r.js → command-gd4qta3r.js} +1 -1
  149. package/dist/chunks/{rpc-cn4y6mk1.js → command-ght27my6.js} +15 -15
  150. package/dist/chunks/{rpc-yvsdtapc.js → command-gpp6afyt.js} +17 -17
  151. package/dist/chunks/{rpc-681pyqye.js → command-gzd7t3bg.js} +4 -4
  152. package/dist/chunks/{rpc-wtm3m4mv.js → command-h2st8tcp.js} +20 -20
  153. package/dist/chunks/{rpc-h6vf3j39.js → command-h6vf3j39.js} +1 -1
  154. package/dist/chunks/{rpc-8wp61sve.js → command-ha4v9y42.js} +14 -14
  155. package/dist/chunks/{rpc-gn28t5xn.js → command-hbwagpks.js} +14 -14
  156. package/dist/chunks/{rpc-heyhwy2w.js → command-heyhwy2w.js} +1 -1
  157. package/dist/chunks/{rpc-w8h6fvwh.js → command-hjm0k3fp.js} +2 -2
  158. package/dist/chunks/{rpc-3cm4x8pz.js → command-hjrjbgez.js} +5 -5
  159. package/dist/chunks/{rpc-hrvm11jt.js → command-hrvm11jt.js} +3 -3
  160. package/dist/chunks/{rpc-ztb7vdkc.js → command-hv5tmyxa.js} +13 -13
  161. package/dist/chunks/{rpc-vv86pfn4.js → command-hzecryb5.js} +12 -12
  162. package/dist/chunks/{rpc-p0b4ytnr.js → command-j15mfg1p.js} +4 -4
  163. package/dist/chunks/{rpc-4rkx0bt1.js → command-j3v7m4b4.js} +7 -7
  164. package/dist/chunks/{rpc-xw7hdwrj.js → command-j57dr7w8.js} +26 -26
  165. package/dist/chunks/{rpc-bct739vz.js → command-j83byb14.js} +4 -4
  166. package/dist/chunks/{rpc-d910tjb6.js → command-jc31v14r.js} +9 -9
  167. package/dist/chunks/{rpc-t28cy6st.js → command-jmkbp1h5.js} +13 -13
  168. package/dist/chunks/{rpc-rrq6kz97.js → command-jn88vsgf.js} +33 -33
  169. package/dist/chunks/{rpc-88fx4v6q.js → command-jnbaqc7b.js} +19 -19
  170. package/dist/chunks/{rpc-v0sae4m8.js → command-jvh9gk2c.js} +19 -19
  171. package/dist/chunks/{rpc-jwcy2c2z.js → command-jwcy2c2z.js} +1 -1
  172. package/dist/chunks/{rpc-k4bwy1x5.js → command-k4bwy1x5.js} +1 -1
  173. package/dist/chunks/{rpc-hkfdkmkj.js → command-k5kpsmwm.js} +17 -17
  174. package/dist/chunks/{rpc-f8qtv88y.js → command-k6s5w27h.js} +7 -7
  175. package/dist/chunks/{rpc-qa3qhgw8.js → command-k8962brh.js} +7 -7
  176. package/dist/chunks/{rpc-0rag4e4f.js → command-k8feg6vv.js} +4 -4
  177. package/dist/chunks/{rpc-kg06axw8.js → command-kg06axw8.js} +1 -1
  178. package/dist/chunks/{rpc-xgjn1vmq.js → command-kj8q7mtc.js} +24 -24
  179. package/dist/chunks/{rpc-hw4pv20g.js → command-kvsjn1dr.js} +2 -2
  180. package/dist/chunks/{rpc-x64q5xrw.js → command-kwqsq9eb.js} +1 -1
  181. package/dist/chunks/{rpc-1f1wzhgc.js → command-kx2gvdct.js} +4 -4
  182. package/dist/chunks/{rpc-jj9xsyb9.js → command-m1annk93.js} +11 -11
  183. package/dist/chunks/{rpc-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{rpc-1hyh32dx.js → command-mcxg6pmm.js} +1 -1
  185. package/dist/chunks/{rpc-3x4vyhkr.js → command-megebd3a.js} +6 -6
  186. package/dist/chunks/{rpc-3wv0wb6p.js → command-mh85gtv1.js} +3 -3
  187. package/dist/chunks/{rpc-mhkvc446.js → command-mhkvc446.js} +1 -1
  188. package/dist/chunks/{rpc-kpzf6j9d.js → command-mhsg1yty.js} +10 -10
  189. package/dist/chunks/{rpc-2pka3nkn.js → command-mt8fk037.js} +29 -29
  190. package/dist/chunks/{rpc-97f5v037.js → command-mtcjf44p.js} +4 -4
  191. package/dist/chunks/{rpc-4f62s5at.js → command-mv1gp3nd.js} +30 -30
  192. package/dist/chunks/{rpc-vvn5h3hg.js → command-mw7ytvy7.js} +11 -11
  193. package/dist/chunks/{rpc-7frpa3vk.js → command-mw9mt08r.js} +17 -17
  194. package/dist/chunks/{rpc-08aze5ws.js → command-mxppkm1b.js} +31 -31
  195. package/dist/chunks/{rpc-dw7nx357.js → command-mznxs8d6.js} +39 -39
  196. package/dist/chunks/{rpc-7g2wyn62.js → command-n5gana85.js} +27 -27
  197. package/dist/chunks/{rpc-5t5ksy9c.js → command-nakmymdz.js} +50 -50
  198. package/dist/chunks/{rpc-y1wkrapf.js → command-natwdt6v.js} +32 -32
  199. package/dist/chunks/{rpc-1mkf2rwt.js → command-ne4gjgk6.js} +10 -10
  200. package/dist/chunks/{rpc-dyjhg8hd.js → command-njfhyprf.js} +25 -25
  201. package/dist/chunks/{rpc-b9t840km.js → command-nkpkrkfc.js} +56 -56
  202. package/dist/chunks/{rpc-fmxyf492.js → command-npkajqde.js} +26 -26
  203. package/dist/chunks/{rpc-agbwq1v1.js → command-nxbchyd1.js} +12 -12
  204. package/dist/chunks/{rpc-m51pq2yd.js → command-p4b86tx8.js} +6 -6
  205. package/dist/chunks/{rpc-kyb8p98y.js → command-p5d8w6vs.js} +31 -31
  206. package/dist/chunks/{rpc-vg7vz8a0.js → command-p8vd7n39.js} +17 -17
  207. package/dist/chunks/{rpc-q3hv2sj9.js → command-pcednt3p.js} +48 -48
  208. package/dist/chunks/{rpc-w55q2m1g.js → command-pdae5shs.js} +4 -4
  209. package/dist/chunks/{rpc-7jdqkrnt.js → command-pdgqnwae.js} +21 -21
  210. package/dist/chunks/{rpc-0gxwyxn9.js → command-pgzzhbmy.js} +11 -11
  211. package/dist/chunks/{rpc-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
  212. package/dist/chunks/{rpc-pknna89w.js → command-pknna89w.js} +1 -1
  213. package/dist/chunks/{rpc-c45qpk7m.js → command-q8rpcfw0.js} +8 -8
  214. package/dist/chunks/{rpc-d54cj6d5.js → command-qav3zztn.js} +17 -17
  215. package/dist/chunks/{rpc-t789mvnh.js → command-qbhkz4mz.js} +32 -32
  216. package/dist/chunks/{rpc-k6sj68zp.js → command-qfnycs03.js} +7 -7
  217. package/dist/chunks/{rpc-fcrkznn8.js → command-qgn6gcr1.js} +5 -5
  218. package/dist/chunks/command-qgqmyz30.js +243 -0
  219. package/dist/chunks/{rpc-bpj5emke.js → command-qhdhv0w2.js} +15 -15
  220. package/dist/chunks/{rpc-k3fb46c0.js → command-qr1qsn5r.js} +15 -15
  221. package/dist/chunks/{rpc-qsdy395h.js → command-qsdy395h.js} +1 -1
  222. package/dist/chunks/{rpc-r8dhm0tv.js → command-r8dhm0tv.js} +1 -1
  223. package/dist/chunks/{rpc-a9zfrvqc.js → command-r9hy8h05.js} +5 -5
  224. package/dist/chunks/{rpc-hm8am6ct.js → command-rgks3f05.js} +5 -5
  225. package/dist/chunks/{rpc-7n09dgdk.js → command-rmy3e5eg.js} +3 -3
  226. package/dist/chunks/{rpc-13wt57az.js → command-rqajaxax.js} +150 -150
  227. package/dist/chunks/{rpc-xdqwr4d8.js → command-rx0dsajq.js} +9 -9
  228. package/dist/chunks/{rpc-cv5vc9nm.js → command-rxsvjy6j.js} +4 -4
  229. package/dist/chunks/{rpc-hskdg1tj.js → command-rzhgj3wg.js} +20 -20
  230. package/dist/chunks/{rpc-53rarqxp.js → command-s0fzeym9.js} +10 -10
  231. package/dist/chunks/{rpc-wnwn53rt.js → command-s1zas8dv.js} +11 -11
  232. package/dist/chunks/{rpc-72scwqkv.js → command-s3eqpch7.js} +1 -1
  233. package/dist/chunks/{rpc-wy3a9ktx.js → command-s41xc0fx.js} +6 -6
  234. package/dist/chunks/{rpc-pkkvpc61.js → command-s4ye7va7.js} +13 -13
  235. package/dist/chunks/{rpc-mke2843p.js → command-s631mnhv.js} +24 -24
  236. package/dist/chunks/{rpc-kexr6zkj.js → command-s64tx33c.js} +20 -20
  237. package/dist/chunks/{rpc-sba4qhjf.js → command-sba4qhjf.js} +1 -1
  238. package/dist/chunks/{rpc-5qvt5yk2.js → command-sjwwpfw7.js} +34 -34
  239. package/dist/chunks/{rpc-6yk53f3y.js → command-t7rtampj.js} +2 -2
  240. package/dist/chunks/{rpc-tazgh4e4.js → command-tazgh4e4.js} +1 -1
  241. package/dist/chunks/{rpc-tcezcvh9.js → command-tcezcvh9.js} +1 -1
  242. package/dist/chunks/{rpc-bcezcar3.js → command-thfv75je.js} +5 -5
  243. package/dist/chunks/{rpc-9b0zy0qp.js → command-tj4a33e3.js} +28 -28
  244. package/dist/chunks/{rpc-tjykrgmx.js → command-tjykrgmx.js} +1 -1
  245. package/dist/chunks/{rpc-6zynhbga.js → command-tnsej14z.js} +21 -21
  246. package/dist/chunks/{rpc-q55daa19.js → command-tz2h76xm.js} +11 -11
  247. package/dist/chunks/{rpc-g9hcz8g4.js → command-v63xgfyn.js} +3 -3
  248. package/dist/chunks/{rpc-m4673ea2.js → command-vbr4w0aw.js} +24 -24
  249. package/dist/chunks/{rpc-2ksdcbcj.js → command-vedqaezr.js} +4 -4
  250. package/dist/chunks/{rpc-ex26y97c.js → command-vvhr8ap4.js} +19 -19
  251. package/dist/chunks/{rpc-rde9wvyt.js → command-vw50vsx1.js} +11 -11
  252. package/dist/chunks/{rpc-k1a72sje.js → command-w0117ta3.js} +24 -24
  253. package/dist/chunks/{rpc-agypkckn.js → command-w16pqxss.js} +21 -21
  254. package/dist/chunks/{rpc-v550zfzq.js → command-w21nff9d.js} +28 -28
  255. package/dist/chunks/{rpc-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{rpc-wd87259q.js → command-wd87259q.js} +1 -1
  257. package/dist/chunks/{rpc-gqzvtz8d.js → command-wgxn7ww3.js} +4 -4
  258. package/dist/chunks/{rpc-f9kjby5r.js → command-wsdbxk0t.js} +5 -5
  259. package/dist/chunks/{rpc-sygak18j.js → command-x0pd42vp.js} +15 -15
  260. package/dist/chunks/{rpc-x1ezjp6w.js → command-x1ezjp6w.js} +1 -1
  261. package/dist/chunks/{rpc-79e6z3n4.js → command-x4f0ty3q.js} +10 -10
  262. package/dist/chunks/{rpc-8tb94gac.js → command-xnz7e9v2.js} +26 -26
  263. package/dist/chunks/{rpc-c6p2r8tp.js → command-xqsy6kp0.js} +1 -1
  264. package/dist/chunks/{rpc-tcqnna6w.js → command-xynvqm4b.js} +15 -15
  265. package/dist/chunks/{rpc-y092mk2a.js → command-y092mk2a.js} +1 -1
  266. package/dist/chunks/{rpc-g0z069dn.js → command-y0kje1kq.js} +3 -3
  267. package/dist/chunks/{rpc-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{rpc-dkzv161j.js → command-y3kam97a.js} +37 -37
  269. package/dist/chunks/{rpc-yfbd16n1.js → command-yfbd16n1.js} +2 -2
  270. package/dist/chunks/{rpc-mpbw7sv7.js → command-ykcesz1b.js} +4 -4
  271. package/dist/chunks/{rpc-abz7a5b3.js → command-yxwewdw9.js} +9 -9
  272. package/dist/chunks/{rpc-zjhjw14a.js → command-yzsm82be.js} +32 -32
  273. package/dist/chunks/{rpc-z1k01bn4.js → command-z1k01bn4.js} +2 -2
  274. package/dist/chunks/{rpc-yq5tbn9k.js → command-z2bjgnfj.js} +18 -18
  275. package/dist/chunks/{rpc-11zyvh05.js → command-zk6hkb9n.js} +35 -35
  276. package/dist/chunks/{rpc-vrpz8t5t.js → command-zk8c4w5t.js} +5 -5
  277. package/dist/chunks/{rpc-d8k9asg8.js → command-zmnepbn3.js} +7 -7
  278. package/dist/chunks/{rpc-z2zzq6cg.js → command-zn2pq4p8.js} +5 -5
  279. package/dist/chunks/{rpc-edyt7veh.js → command-zpgxjj6y.js} +16 -16
  280. package/dist/chunks/{rpc-2bmk1p60.js → command-zqj49qgm.js} +32 -32
  281. package/dist/chunks/{rpc-zxq2ej10.js → command-zxq2ej10.js} +1 -1
  282. package/dist/chunks/{rpc-8a1wqn9j.js → command-zzjwypeh.js} +4 -4
  283. package/dist/codemode/catalog.js +1 -1
  284. package/dist/codemode/instructions.js +7 -7
  285. package/dist/codemode/tool.js +2 -2
  286. package/dist/command.js +83 -83
  287. package/dist/config/discovery.js +77 -77
  288. package/dist/config/markdown.js +1 -1
  289. package/dist/config/normalize.js +19 -19
  290. package/dist/config/plugin/agent.js +114 -114
  291. package/dist/config/plugin/command.js +203 -203
  292. package/dist/config/plugin/compaction.js +153 -153
  293. package/dist/config/plugin/entry-observer.js +1 -1
  294. package/dist/config/plugin/formatter.js +116 -116
  295. package/dist/config/plugin/image.js +114 -114
  296. package/dist/config/plugin/instruction.js +85 -85
  297. package/dist/config/plugin/location-watcher.js +114 -114
  298. package/dist/config/plugin/mcp.js +123 -123
  299. package/dist/config/plugin/policy.js +113 -113
  300. package/dist/config/plugin/provider.js +112 -112
  301. package/dist/config/plugin/reference.js +116 -116
  302. package/dist/config/plugin/shell.js +117 -117
  303. package/dist/config/plugin/skill-file.js +96 -96
  304. package/dist/config/plugin/skill.js +134 -134
  305. package/dist/config/plugin/snapshot.js +114 -114
  306. package/dist/config/plugin/source.js +116 -116
  307. package/dist/config/plugin/tool-output.js +116 -116
  308. package/dist/config/plugin/websearch.js +114 -114
  309. package/dist/config/variable.js +3 -3
  310. package/dist/config/watch.js +1 -1
  311. package/dist/config.js +118 -118
  312. package/dist/credential/sql.js +2 -2
  313. package/dist/credential.js +78 -78
  314. package/dist/database/database.js +64 -64
  315. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  316. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  317. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  318. package/dist/database/drizzle/index.js +13 -13
  319. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  320. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  321. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  322. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  323. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  324. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  325. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  330. package/dist/database/drizzle.js +14 -14
  331. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  332. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  333. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  334. package/dist/database/migration/20260225215848_workspace.js +1 -1
  335. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  336. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  337. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  338. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  339. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  340. package/dist/database/migration/20260323234822_events.js +1 -1
  341. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  342. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  343. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  344. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  345. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  346. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  347. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  348. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  349. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  350. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  351. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  352. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  353. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  354. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  355. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  356. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  357. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  358. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  359. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  360. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  361. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  362. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  363. package/dist/database/migration/20260611035744_credential.js +1 -1
  364. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  365. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  366. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  367. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  368. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  369. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  370. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  371. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  372. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  373. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  374. package/dist/database/migration/20260812213948_worktree.js +1 -1
  375. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  376. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  377. package/dist/database/migration.gen.js +47 -47
  378. package/dist/database/migration.js +49 -49
  379. package/dist/database/path.js +2 -2
  380. package/dist/database/schema.gen.js +1 -1
  381. package/dist/database/schema.sql.js +1 -1
  382. package/dist/database/sqlite.bun.js +1 -1
  383. package/dist/database/sqlite.js +1 -1
  384. package/dist/database/sqlite.node.js +1 -1
  385. package/dist/database/sqlite.workerd.js +1 -1
  386. package/dist/database/v1-migration.bun.js +74 -74
  387. package/dist/database/v1-migration.js +1 -1
  388. package/dist/effect/app-node-builder.js +350 -350
  389. package/dist/effect/app-node-platform.js +2 -2
  390. package/dist/effect/keyed-mutex.js +1 -1
  391. package/dist/effect/websocket-constructor.js +1 -1
  392. package/dist/environment/driver.js +1 -1
  393. package/dist/environment/environment.js +88 -88
  394. package/dist/environment/exec-defaults.js +2 -2
  395. package/dist/environment/files.js +1 -1
  396. package/dist/environment/index.js +90 -90
  397. package/dist/environment/local.js +2 -2
  398. package/dist/environment/memory.js +2 -2
  399. package/dist/environment/unavailable.js +1 -1
  400. package/dist/event/sql.js +1 -1
  401. package/dist/event-logger.js +68 -68
  402. package/dist/file-mutation.js +89 -89
  403. package/dist/file-retention.js +1 -1
  404. package/dist/file.js +1 -1
  405. package/dist/filesystem/fff.bun.js +2 -2
  406. package/dist/filesystem/fff.js +1 -1
  407. package/dist/filesystem/fff.node.js +2 -2
  408. package/dist/filesystem/fff.workerd.js +2 -2
  409. package/dist/filesystem/ignore.js +1 -1
  410. package/dist/filesystem/location-watcher-policy.js +6 -6
  411. package/dist/filesystem/location-watcher.js +215 -215
  412. package/dist/filesystem/protected.js +1 -1
  413. package/dist/filesystem/search.js +93 -93
  414. package/dist/filesystem/watcher-binding.js +3 -3
  415. package/dist/filesystem/watcher.js +15 -15
  416. package/dist/filesystem.js +94 -94
  417. package/dist/form.js +78 -78
  418. package/dist/formatter/builtins.js +2 -2
  419. package/dist/formatter.js +82 -82
  420. package/dist/generate.js +88 -88
  421. package/dist/git.js +7 -7
  422. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  423. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  424. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  425. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  426. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  427. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  428. package/dist/github-copilot/copilot-provider.js +17 -17
  429. package/dist/github-copilot/models.js +3 -3
  430. package/dist/github-copilot/openai-compatible-error.js +1 -1
  431. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  432. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  433. package/dist/github-copilot/responses/openai-error.js +1 -1
  434. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  435. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  436. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  437. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  438. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  439. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  440. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  441. package/dist/id/id.js +1 -1
  442. package/dist/image/photon.js +2 -2
  443. package/dist/image.js +6 -6
  444. package/dist/instance/service.js +1 -1
  445. package/dist/instance.js +343 -343
  446. package/dist/instruction-discovery.js +81 -81
  447. package/dist/instructions/builtins.js +82 -82
  448. package/dist/instructions/index.js +3 -3
  449. package/dist/integration/connection.js +1 -1
  450. package/dist/integration.js +83 -83
  451. package/dist/job.js +77 -77
  452. package/dist/kv/sql.js +2 -2
  453. package/dist/kv.js +67 -67
  454. package/dist/location-activity.js +83 -83
  455. package/dist/location-mutation.js +81 -81
  456. package/dist/location-service-map.js +81 -81
  457. package/dist/location-services.js +344 -344
  458. package/dist/location.js +80 -80
  459. package/dist/mcp/client.js +86 -86
  460. package/dist/mcp/index.js +102 -102
  461. package/dist/mcp/instructions.js +120 -120
  462. package/dist/mcp/oauth.js +2 -2
  463. package/dist/mcp/stdio.js +85 -85
  464. package/dist/mime.js +1 -1
  465. package/dist/modal/models.js +3 -3
  466. package/dist/model-resolver.js +85 -85
  467. package/dist/model.js +8 -8
  468. package/dist/models-dev.js +86 -86
  469. package/dist/oauth/page.js +1 -1
  470. package/dist/permission/saved.js +80 -80
  471. package/dist/permission/sql.js +5 -5
  472. package/dist/permission.js +109 -109
  473. package/dist/persistent-pty/binary.bun.js +1 -1
  474. package/dist/persistent-pty/daemon.js +1 -1
  475. package/dist/persistent-pty/index.js +72 -72
  476. package/dist/persistent-pty/pty-binding.js +1 -1
  477. package/dist/persistent-pty.js +73 -73
  478. package/dist/plugin/agent.js +96 -96
  479. package/dist/plugin/command.js +93 -93
  480. package/dist/plugin/hooks.js +5 -5
  481. package/dist/plugin/host.js +210 -210
  482. package/dist/plugin/instance.js +5 -5
  483. package/dist/plugin/internal.js +316 -316
  484. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  485. package/dist/plugin/models-dev.js +75 -75
  486. package/dist/plugin/module.js +2 -2
  487. package/dist/plugin/plan.js +96 -96
  488. package/dist/plugin/promise.js +1 -1
  489. package/dist/plugin/provider/alibaba.js +2 -2
  490. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  491. package/dist/plugin/provider/anthropic.js +2 -2
  492. package/dist/plugin/provider/azure.js +117 -117
  493. package/dist/plugin/provider/cerebras.js +2 -2
  494. package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
  495. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  496. package/dist/plugin/provider/cohere.js +2 -2
  497. package/dist/plugin/provider/configured.js +113 -113
  498. package/dist/plugin/provider/dynamic.js +2 -2
  499. package/dist/plugin/provider/factory.js +1 -1
  500. package/dist/plugin/provider/gateway.js +2 -2
  501. package/dist/plugin/provider/github-copilot.js +79 -79
  502. package/dist/plugin/provider/gitlab.js +3 -3
  503. package/dist/plugin/provider/google-vertex.js +2 -2
  504. package/dist/plugin/provider/kilo.js +2 -2
  505. package/dist/plugin/provider/llmgateway.js +75 -75
  506. package/dist/plugin/provider/lmstudio.js +116 -116
  507. package/dist/plugin/provider/mistral.js +2 -2
  508. package/dist/plugin/provider/modal.js +78 -78
  509. package/dist/plugin/provider/nvidia.js +2 -2
  510. package/dist/plugin/provider/ollama.js +116 -116
  511. package/dist/plugin/provider/openai-compatible.js +1 -1
  512. package/dist/plugin/provider/openai.js +77 -77
  513. package/dist/plugin/provider/opencode.js +75 -75
  514. package/dist/plugin/provider/openrouter.js +3 -3
  515. package/dist/plugin/provider/perplexity.js +2 -2
  516. package/dist/plugin/provider/sap-ai-core.js +3 -3
  517. package/dist/plugin/provider/sdk-factory.js +1 -1
  518. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  519. package/dist/plugin/provider/venice.js +2 -2
  520. package/dist/plugin/provider/vercel.js +2 -2
  521. package/dist/plugin/provider/vllm.js +116 -116
  522. package/dist/plugin/provider/xai.js +76 -76
  523. package/dist/plugin/provider/zenmux.js +2 -2
  524. package/dist/plugin/provider.js +154 -154
  525. package/dist/plugin/sdk.js +72 -72
  526. package/dist/plugin/service.js +3 -3
  527. package/dist/plugin/skill.js +129 -129
  528. package/dist/plugin/source-directory.js +1 -1
  529. package/dist/plugin/supervisor.js +335 -335
  530. package/dist/plugin/system-prompt.js +1 -1
  531. package/dist/plugin/update.js +4 -4
  532. package/dist/plugin/variant.js +4 -4
  533. package/dist/plugin/vcs/git.js +82 -82
  534. package/dist/plugin/vcs/hg.js +82 -82
  535. package/dist/plugin/warming.js +111 -111
  536. package/dist/plugin/websearch/exa.js +7 -7
  537. package/dist/plugin/websearch/firecrawl.js +8 -8
  538. package/dist/plugin/websearch/index.js +8 -8
  539. package/dist/plugin/websearch/mcp.js +2 -2
  540. package/dist/plugin/websearch/parallel.js +8 -8
  541. package/dist/plugin/websearch/tavily.js +4 -4
  542. package/dist/plugin.js +215 -215
  543. package/dist/project/schema.js +6 -6
  544. package/dist/project/sql.js +4 -4
  545. package/dist/project.js +81 -81
  546. package/dist/provider.js +5 -5
  547. package/dist/pty/protocol.js +1 -1
  548. package/dist/pty/schema.js +3 -3
  549. package/dist/pty/ticket.js +1 -1
  550. package/dist/pty.js +92 -92
  551. package/dist/reference/instructions.js +84 -84
  552. package/dist/reference.js +86 -86
  553. package/dist/repository-cache.js +76 -76
  554. package/dist/repository.js +1 -1
  555. package/dist/ripgrep/binary.js +2 -2
  556. package/dist/ripgrep.js +91 -91
  557. package/dist/rpc.js +81 -81
  558. package/dist/schema.js +1 -1
  559. package/dist/session/command.js +72 -72
  560. package/dist/session/compaction.js +127 -127
  561. package/dist/session/context.js +145 -145
  562. package/dist/session/environment.js +5 -5
  563. package/dist/session/error.js +7 -7
  564. package/dist/session/event.js +1 -1
  565. package/dist/session/execution/restart.js +214 -214
  566. package/dist/session/execution.js +120 -120
  567. package/dist/session/generate.js +144 -144
  568. package/dist/session/history.js +14 -14
  569. package/dist/session/inbox.js +86 -86
  570. package/dist/session/info.js +3 -3
  571. package/dist/session/instruction-entry.js +77 -77
  572. package/dist/session/instruction-state.js +8 -8
  573. package/dist/session/instructions.js +91 -91
  574. package/dist/session/message-updater.js +2 -2
  575. package/dist/session/message.js +1 -1
  576. package/dist/session/model-request.js +112 -112
  577. package/dist/session/model-transport.js +9 -9
  578. package/dist/session/move.js +124 -124
  579. package/dist/session/projector.js +84 -84
  580. package/dist/session/prompt.js +99 -99
  581. package/dist/session/revert.js +85 -85
  582. package/dist/session/run-coordinator.js +3 -3
  583. package/dist/session/runner/index.js +3 -3
  584. package/dist/session/runner/llm.js +220 -220
  585. package/dist/session/runner/max-steps.js +1 -1
  586. package/dist/session/runner/model.js +85 -85
  587. package/dist/session/runner/publish-llm-event.js +3 -3
  588. package/dist/session/runner/retry.js +4 -4
  589. package/dist/session/runner/step.js +119 -119
  590. package/dist/session/runner/to-llm-message.js +1 -1
  591. package/dist/session/schema.js +5 -5
  592. package/dist/session/session.js +167 -167
  593. package/dist/session/shell.js +130 -130
  594. package/dist/session/skill.js +97 -97
  595. package/dist/session/sql.js +5 -5
  596. package/dist/session/stats.js +71 -71
  597. package/dist/session/store.js +82 -82
  598. package/dist/session/subagent-completion.js +1 -1
  599. package/dist/session/subagent-job.js +203 -203
  600. package/dist/session/system-prompt.js +3 -3
  601. package/dist/session/title.js +149 -149
  602. package/dist/session/to-session-error.js +105 -105
  603. package/dist/session/transfer.js +210 -210
  604. package/dist/session/usage.js +1 -1
  605. package/dist/session.js +211 -211
  606. package/dist/shell/parse.js +6 -6
  607. package/dist/shell/result.js +1 -1
  608. package/dist/shell/scan.js +1 -1
  609. package/dist/shell/select.js +11 -11
  610. package/dist/shell.js +132 -132
  611. package/dist/skill/discovery.js +6 -6
  612. package/dist/skill/instructions.js +101 -101
  613. package/dist/skill.js +104 -104
  614. package/dist/snapshot.js +86 -86
  615. package/dist/state.js +1 -1
  616. package/dist/tool/html-markdown.js +1 -1
  617. package/dist/tool/http-body.js +1 -1
  618. package/dist/tool/mcp.js +117 -117
  619. package/dist/tool/plugin/edit.js +114 -114
  620. package/dist/tool/plugin/file-diff.js +1 -1
  621. package/dist/tool/plugin/glob.js +111 -111
  622. package/dist/tool/plugin/grep.js +119 -119
  623. package/dist/tool/plugin/opencode.js +3 -3
  624. package/dist/tool/plugin/patch.js +114 -114
  625. package/dist/tool/plugin/question.js +95 -95
  626. package/dist/tool/plugin/read.js +120 -120
  627. package/dist/tool/plugin/shell.js +210 -210
  628. package/dist/tool/plugin/skill.js +107 -107
  629. package/dist/tool/plugin/subagent.js +208 -208
  630. package/dist/tool/plugin/webfetch.js +102 -102
  631. package/dist/tool/plugin/websearch.js +108 -108
  632. package/dist/tool/plugin/write.js +116 -116
  633. package/dist/tool/read-filesystem.js +96 -96
  634. package/dist/tool/runtime.js +1 -1
  635. package/dist/tool-output.js +8 -8
  636. package/dist/tool.js +13 -13
  637. package/dist/util/error.js +1 -1
  638. package/dist/util/iife.js +1 -1
  639. package/dist/util/lazy.js +1 -1
  640. package/dist/util/slug.js +1 -1
  641. package/dist/util/token.js +1 -1
  642. package/dist/util/which.js +1 -1
  643. package/dist/util/wildcard.js +1 -1
  644. package/dist/v1/config/agent.js +7 -7
  645. package/dist/v1/config/attachment.js +4 -4
  646. package/dist/v1/config/command.js +5 -5
  647. package/dist/v1/config/config.js +14 -14
  648. package/dist/v1/config/error.js +4 -4
  649. package/dist/v1/config/formatter.js +3 -3
  650. package/dist/v1/config/layout.js +1 -1
  651. package/dist/v1/config/lsp.js +3 -3
  652. package/dist/v1/config/mcp.js +4 -4
  653. package/dist/v1/config/migrate.js +4 -4
  654. package/dist/v1/config/permission.js +7 -7
  655. package/dist/v1/config/plugin.js +3 -3
  656. package/dist/v1/config/provider-options.js +1 -1
  657. package/dist/v1/config/provider.js +4 -4
  658. package/dist/v1/config/server.js +2 -2
  659. package/dist/v1/config/skills.js +3 -3
  660. package/dist/v1/permission.js +1 -1
  661. package/dist/vcs/patch.js +1 -1
  662. package/dist/vcs.js +81 -81
  663. package/dist/websearch.js +80 -80
  664. package/dist/wellknown/plugin.js +74 -74
  665. package/dist/wellknown.js +77 -77
  666. package/dist/workspace/driver.js +3 -3
  667. package/dist/workspace/sql.js +1 -1
  668. package/dist/workspace.js +78 -78
  669. package/dist/worktree/directory.js +2 -2
  670. package/dist/worktree/git.js +7 -7
  671. package/dist/worktree/sql.js +5 -5
  672. package/dist/worktree.js +90 -90
  673. package/package.json +7 -7
  674. package/dist/chunks/rpc-4v7qdvcn.js +0 -18
  675. package/dist/chunks/rpc-835wsdkr.js +0 -243
  676. package/dist/chunks/rpc-b5q5y4vk.js +0 -4
  677. package/dist/chunks/rpc-rp7g6xwr.js +0 -22
  678. /package/dist/chunks/{rpc-0fabt78z.js → command-0fabt78z.js} +0 -0
  679. /package/dist/chunks/{rpc-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
  680. /package/dist/chunks/{rpc-0zkw76rk.js → command-0zkw76rk.js} +0 -0
  681. /package/dist/chunks/{rpc-17cy0kzp.js → command-17cy0kzp.js} +0 -0
  682. /package/dist/chunks/{rpc-1cnp2v09.js → command-1cnp2v09.js} +0 -0
  683. /package/dist/chunks/{rpc-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
  684. /package/dist/chunks/{rpc-2710q6r3.js → command-2710q6r3.js} +0 -0
  685. /package/dist/chunks/{rpc-2axfhc9x.js → command-2axfhc9x.js} +0 -0
  686. /package/dist/chunks/{rpc-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
  687. /package/dist/chunks/{rpc-359p4xyc.js → command-359p4xyc.js} +0 -0
  688. /package/dist/chunks/{rpc-3asan66x.js → command-3asan66x.js} +0 -0
  689. /package/dist/chunks/{rpc-3t738kvx.js → command-3t738kvx.js} +0 -0
  690. /package/dist/chunks/{rpc-3v8g72cx.js → command-3v8g72cx.js} +0 -0
  691. /package/dist/chunks/{rpc-3wcehsnq.js → command-3wcehsnq.js} +0 -0
  692. /package/dist/chunks/{rpc-41nvscxy.js → command-41nvscxy.js} +0 -0
  693. /package/dist/chunks/{rpc-43n2bw4t.js → command-43n2bw4t.js} +0 -0
  694. /package/dist/chunks/{rpc-4knz6hnm.js → command-4knz6hnm.js} +0 -0
  695. /package/dist/chunks/{rpc-4y7fprxs.js → command-4y7fprxs.js} +0 -0
  696. /package/dist/chunks/{rpc-53557ph1.js → command-53557ph1.js} +0 -0
  697. /package/dist/chunks/{rpc-550bvhaj.js → command-550bvhaj.js} +0 -0
  698. /package/dist/chunks/{rpc-6prwharc.js → command-6prwharc.js} +0 -0
  699. /package/dist/chunks/{rpc-7akdwqpd.js → command-7akdwqpd.js} +0 -0
  700. /package/dist/chunks/{rpc-7m9af43g.js → command-7m9af43g.js} +0 -0
  701. /package/dist/chunks/{rpc-822emrt2.js → command-822emrt2.js} +0 -0
  702. /package/dist/chunks/{rpc-88xbtdfr.js → command-88xbtdfr.js} +0 -0
  703. /package/dist/chunks/{rpc-8n3pysct.js → command-8n3pysct.js} +0 -0
  704. /package/dist/chunks/{rpc-982e01ww.js → command-982e01ww.js} +0 -0
  705. /package/dist/chunks/{rpc-9a4afbnw.js → command-9a4afbnw.js} +0 -0
  706. /package/dist/chunks/{rpc-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
  707. /package/dist/chunks/{rpc-a1tpkmh4.js → command-a1tpkmh4.js} +0 -0
  708. /package/dist/chunks/{rpc-af5trqkr.js → command-af5trqkr.js} +0 -0
  709. /package/dist/chunks/{rpc-afrmfg78.js → command-afrmfg78.js} +0 -0
  710. /package/dist/chunks/{rpc-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
  711. /package/dist/chunks/{rpc-atq7p7m5.js → command-atq7p7m5.js} +0 -0
  712. /package/dist/chunks/{rpc-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
  713. /package/dist/chunks/{rpc-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
  714. /package/dist/chunks/{rpc-cf4snx6d.js → command-cf4snx6d.js} +0 -0
  715. /package/dist/chunks/{rpc-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
  716. /package/dist/chunks/{rpc-d9fn303g.js → command-d9fn303g.js} +0 -0
  717. /package/dist/chunks/{rpc-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
  718. /package/dist/chunks/{rpc-dajrwvna.js → command-dajrwvna.js} +0 -0
  719. /package/dist/chunks/{rpc-dap0rakb.js → command-dap0rakb.js} +0 -0
  720. /package/dist/chunks/{rpc-df08tz66.js → command-df08tz66.js} +0 -0
  721. /package/dist/chunks/{rpc-dy18nga0.js → command-dy18nga0.js} +0 -0
  722. /package/dist/chunks/{rpc-e5kj55wp.js → command-e5kj55wp.js} +0 -0
  723. /package/dist/chunks/{rpc-e73j6tqm.js → command-e73j6tqm.js} +0 -0
  724. /package/dist/chunks/{rpc-eh3zwz77.js → command-eh3zwz77.js} +0 -0
  725. /package/dist/chunks/{rpc-emrn6kk6.js → command-emrn6kk6.js} +0 -0
  726. /package/dist/chunks/{rpc-f0mxakyp.js → command-f0mxakyp.js} +0 -0
  727. /package/dist/chunks/{rpc-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
  728. /package/dist/chunks/{rpc-faypxj3z.js → command-faypxj3z.js} +0 -0
  729. /package/dist/chunks/{rpc-fd410y7t.js → command-fd410y7t.js} +0 -0
  730. /package/dist/chunks/{rpc-fxgpk5d8.js → command-fxgpk5d8.js} +0 -0
  731. /package/dist/chunks/{rpc-g4wezp1m.js → command-g4wezp1m.js} +0 -0
  732. /package/dist/chunks/{rpc-g86h250q.js → command-g86h250q.js} +0 -0
  733. /package/dist/chunks/{rpc-gebd4c9n.js → command-gebd4c9n.js} +0 -0
  734. /package/dist/chunks/{rpc-hk9envan.js → command-hk9envan.js} +0 -0
  735. /package/dist/chunks/{rpc-j2ntwpah.js → command-j2ntwpah.js} +0 -0
  736. /package/dist/chunks/{rpc-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
  737. /package/dist/chunks/{rpc-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
  738. /package/dist/chunks/{rpc-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
  739. /package/dist/chunks/{rpc-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
  740. /package/dist/chunks/{rpc-mntxs535.js → command-mntxs535.js} +0 -0
  741. /package/dist/chunks/{rpc-mp448xyj.js → command-mp448xyj.js} +0 -0
  742. /package/dist/chunks/{rpc-msx8hqn2.js → command-msx8hqn2.js} +0 -0
  743. /package/dist/chunks/{rpc-n05xt0ee.js → command-n05xt0ee.js} +0 -0
  744. /package/dist/chunks/{rpc-n3j8tn72.js → command-n3j8tn72.js} +0 -0
  745. /package/dist/chunks/{rpc-njntx4h6.js → command-njntx4h6.js} +0 -0
  746. /package/dist/chunks/{rpc-p8qxwesx.js → command-p8qxwesx.js} +0 -0
  747. /package/dist/chunks/{rpc-q3sfg36h.js → command-q3sfg36h.js} +0 -0
  748. /package/dist/chunks/{rpc-q74kybfr.js → command-q74kybfr.js} +0 -0
  749. /package/dist/chunks/{rpc-qaymkmh1.js → command-qaymkmh1.js} +0 -0
  750. /package/dist/chunks/{rpc-qb87gjwd.js → command-qb87gjwd.js} +0 -0
  751. /package/dist/chunks/{rpc-qfa1cgps.js → command-qfa1cgps.js} +0 -0
  752. /package/dist/chunks/{rpc-qrg20bc0.js → command-qrg20bc0.js} +0 -0
  753. /package/dist/chunks/{rpc-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
  754. /package/dist/chunks/{rpc-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
  755. /package/dist/chunks/{rpc-se0s1eqw.js → command-se0s1eqw.js} +0 -0
  756. /package/dist/chunks/{rpc-sk3qaz4a.js → command-sk3qaz4a.js} +0 -0
  757. /package/dist/chunks/{rpc-ssg3fenm.js → command-ssg3fenm.js} +0 -0
  758. /package/dist/chunks/{rpc-twg0f83k.js → command-twg0f83k.js} +0 -0
  759. /package/dist/chunks/{rpc-w803qqfp.js → command-w803qqfp.js} +0 -0
  760. /package/dist/chunks/{rpc-wer8tq1h.js → command-wer8tq1h.js} +0 -0
  761. /package/dist/chunks/{rpc-wtztk69x.js → command-wtztk69x.js} +0 -0
  762. /package/dist/chunks/{rpc-x0ckcb58.js → command-x0ckcb58.js} +0 -0
  763. /package/dist/chunks/{rpc-x1b8g1yb.js → command-x1b8g1yb.js} +0 -0
  764. /package/dist/chunks/{rpc-x61499pn.js → command-x61499pn.js} +0 -0
  765. /package/dist/chunks/{rpc-y44na4kk.js → command-y44na4kk.js} +0 -0
  766. /package/dist/chunks/{rpc-y8cydn3q.js → command-y8cydn3q.js} +0 -0
  767. /package/dist/chunks/{rpc-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
  768. /package/dist/chunks/{rpc-z9919s4g.js → command-z9919s4g.js} +0 -0
  769. /package/dist/chunks/{rpc-zbjnn3ac.js → command-zbjnn3ac.js} +0 -0
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service54
4
- } from "./rpc-9zrnh5xs.js";
3
+ Service57
4
+ } from "./command-6dbg2gn2.js";
5
5
  import {
6
- Service50
7
- } from "./rpc-akr89kgy.js";
6
+ Service40
7
+ } from "./command-dv0xdbpz.js";
8
8
  import {
9
9
  observe2
10
- } from "./rpc-qsdy395h.js";
10
+ } from "./command-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./rpc-9rqn6x4v.js";
13
+ } from "./command-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/tool-output.ts
16
16
  var exports_tool_output = {};
17
17
  __export(exports_tool_output, {
18
18
  ConfigToolOutputPlugin: () => exports_tool_output,
19
- Plugin: () => Plugin31
19
+ Plugin: () => Plugin22
20
20
  });
21
21
  import { define } from "@opencode-ai/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin31 = define({
23
+ var Plugin22 = define({
24
24
  id: "opencode.config.tool-output",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service54;
27
- const output = yield* Service50;
26
+ const config = yield* Service57;
27
+ const output = yield* Service40;
28
28
  const loaded = yield* observe2(config, ctx.event, output.reload());
29
29
  yield* output.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "tool_output");
@@ -38,4 +38,4 @@ var Plugin31 = define({
38
38
  })
39
39
  });
40
40
 
41
- export { Plugin31, exports_tool_output };
41
+ export { Plugin22, exports_tool_output };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./rpc-0e0xafbb.js";
3
+ } from "./command-0e0xafbb.js";
4
4
  import {
5
- Service59,
6
- node62
7
- } from "./rpc-dkzv161j.js";
5
+ Service52,
6
+ node54
7
+ } from "./command-y3kam97a.js";
8
8
  import {
9
9
  __export
10
- } from "./rpc-9rqn6x4v.js";
10
+ } from "./command-9rqn6x4v.js";
11
11
 
12
12
  // src/generate.ts
13
13
  var exports_generate2 = {};
14
14
  __export(exports_generate2, {
15
15
  Generate: () => exports_generate2,
16
16
  ModelSelectionError: () => ModelSelectionError2,
17
- Service: () => Service58,
17
+ Service: () => Service51,
18
18
  UnavailableError: () => UnavailableError3,
19
- layer: () => layer23,
20
- node: () => node61
19
+ layer: () => layer17,
20
+ node: () => node53
21
21
  });
22
22
  import { LLM, LLMClient } from "@opencode-ai/ai";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -33,11 +33,11 @@ class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError"
33
33
  }) {
34
34
  }
35
35
 
36
- class Service58 extends Context.Service()("@opencode/Generate") {
36
+ class Service51 extends Context.Service()("@opencode/Generate") {
37
37
  }
38
- var layer23 = Layer.effect(Service58, Effect.gen(function* () {
38
+ var layer17 = Layer.effect(Service51, Effect.gen(function* () {
39
39
  const llm = yield* LLMClient.Service;
40
- const resolver = yield* Service59;
40
+ const resolver = yield* Service52;
41
41
  const runText = Effect.fn("Generate.text")(function* (input) {
42
42
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
43
43
  "SessionRunnerModel.VariantUnavailableError",
@@ -60,12 +60,12 @@ var layer23 = Layer.effect(Service58, Effect.gen(function* () {
60
60
  const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
61
61
  message: "Generation credentials are unavailable"
62
62
  })));
63
- return Service58.of({ text });
63
+ return Service51.of({ text });
64
64
  }));
65
- var node61 = makeLocationNode({
66
- service: Service58,
67
- layer: layer23,
68
- deps: [node62, llmClient2]
65
+ var node53 = makeLocationNode({
66
+ service: Service51,
67
+ layer: layer17,
68
+ deps: [node54, llmClient2]
69
69
  });
70
70
 
71
- export { ModelSelectionError2, UnavailableError3, Service58, layer23, node61, exports_generate2 };
71
+ export { ModelSelectionError2, UnavailableError3, Service51, layer17, node53, exports_generate2 };
@@ -1,44 +1,44 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node54
5
- } from "./rpc-havr56k6.js";
4
+ node81
5
+ } from "./command-55yvdk0c.js";
6
6
  import {
7
- Service68,
8
- node72
9
- } from "./rpc-0vzfvg04.js";
7
+ Service46,
8
+ node48
9
+ } from "./command-ekmzxrqe.js";
10
10
  import {
11
11
  DeclinedError2
12
- } from "./rpc-b9t840km.js";
12
+ } from "./command-nkpkrkfc.js";
13
13
  import {
14
14
  CancelledError2
15
- } from "./rpc-k6sj68zp.js";
15
+ } from "./command-qfnycs03.js";
16
16
  import {
17
- Error3
18
- } from "./rpc-xgjn1vmq.js";
17
+ Error2
18
+ } from "./command-kj8q7mtc.js";
19
19
  import {
20
- Service35,
21
- node37
22
- } from "./rpc-7jykqdz2.js";
20
+ Service27,
21
+ node31
22
+ } from "./command-d674kx35.js";
23
23
  import {
24
- make16
25
- } from "./rpc-0rag4e4f.js";
24
+ make13
25
+ } from "./command-k8feg6vv.js";
26
26
  import {
27
27
  toLLMMessages2
28
- } from "./rpc-zbjnn3ac.js";
28
+ } from "./command-zbjnn3ac.js";
29
29
  import {
30
30
  __export
31
- } from "./rpc-9rqn6x4v.js";
31
+ } from "./command-9rqn6x4v.js";
32
32
 
33
33
  // src/session/model-request.ts
34
34
  var exports_model_request = {};
35
35
  __export(exports_model_request, {
36
- Service: () => Service34,
36
+ Service: () => Service26,
37
37
  SessionModelRequest: () => exports_model_request,
38
38
  baseTranscript: () => baseTranscript2,
39
39
  boundImages: () => boundImages2,
40
- layer: () => layer13,
41
- node: () => node36,
40
+ layer: () => layer11,
41
+ node: () => node30,
42
42
  unsupportedParts: () => unsupportedParts2
43
43
  });
44
44
  import { HttpOptions, LanguageModel, LLM, LLMRequest, Message, SystemPart } from "@opencode-ai/ai";
@@ -58,7 +58,7 @@ var baseTranscript2 = (input) => {
58
58
  return {
59
59
  providerMetadataKey,
60
60
  system: [
61
- input.agent.system ? input.agent.system : make16(input.tools.definitions.map((tool) => tool.name)),
61
+ input.agent.system ? input.agent.system : make13(input.tools.definitions.map((tool) => tool.name)),
62
62
  input.initial
63
63
  ].filter((part) => part.length > 0).map(SystemPart.make),
64
64
  messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
@@ -185,11 +185,11 @@ var httpMiddleware = (hooks, scope) => (request, handler) => Effect.gen(function
185
185
  return HttpClientResponse.fromWeb(sent, after.response);
186
186
  }).pipe(Effect.mapError((cause) => cause instanceof Error ? cause : new Error(String(cause))));
187
187
 
188
- class Service34 extends Context.Service()("@opencode/SessionModelRequest") {
188
+ class Service26 extends Context.Service()("@opencode/SessionModelRequest") {
189
189
  }
190
- var layer13 = Layer.effect(Service34, Effect.gen(function* () {
191
- const hooks = yield* Service68;
192
- const transport = yield* Service35;
190
+ var layer11 = Layer.effect(Service26, Effect.gen(function* () {
191
+ const hooks = yield* Service46;
192
+ const transport = yield* Service27;
193
193
  const app = yield* Metadata2;
194
194
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (input) {
195
195
  const session = input.scope.session;
@@ -197,7 +197,7 @@ var layer13 = Layer.effect(Service34, Effect.gen(function* () {
197
197
  const model = resolved.model;
198
198
  const tools = input.scope.tools ?? {
199
199
  definitions: [],
200
- execute: () => new Error3({ message: "Tools are not available for this request" })
200
+ execute: () => new Error2({ message: "Tools are not available for this request" })
201
201
  };
202
202
  const registry = new Map(tools.definitions.map((tool) => [tool.name, tool]));
203
203
  const given = new Map(tools.definitions.map((tool) => [{ description: tool.description, input: { ...tool.inputSchema } }, tool]));
@@ -254,12 +254,12 @@ var layer13 = Layer.effect(Service34, Effect.gen(function* () {
254
254
  executeTool
255
255
  };
256
256
  });
257
- return Service34.of({ prepare });
257
+ return Service26.of({ prepare });
258
258
  }));
259
- var node36 = makeLocationNode({
260
- service: Service34,
261
- layer: layer13,
262
- deps: [node72, node37, node54]
259
+ var node30 = makeLocationNode({
260
+ service: Service26,
261
+ layer: layer11,
262
+ deps: [node48, node31, node81]
263
263
  });
264
264
 
265
- export { baseTranscript2, unsupportedParts2, boundImages2, Service34, layer13, node36, exports_model_request };
265
+ export { baseTranscript2, unsupportedParts2, boundImages2, Service26, layer11, node30, exports_model_request };
@@ -1,43 +1,43 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./rpc-p8qxwesx.js";
3
+ } from "./command-p8qxwesx.js";
4
4
  import {
5
- node75
6
- } from "./rpc-kpzf6j9d.js";
5
+ node73
6
+ } from "./command-mhsg1yty.js";
7
7
  import {
8
- ID12
9
- } from "./rpc-0nsz8vzd.js";
8
+ ID13
9
+ } from "./command-dqwszdkc.js";
10
10
  import {
11
11
  Slug2
12
- } from "./rpc-gebd4c9n.js";
12
+ } from "./command-gebd4c9n.js";
13
13
  import {
14
14
  Service80,
15
15
  node84
16
- } from "./rpc-3wv0wb6p.js";
16
+ } from "./command-mh85gtv1.js";
17
17
  import {
18
18
  Service79,
19
19
  node83
20
- } from "./rpc-w55q2m1g.js";
20
+ } from "./command-pdae5shs.js";
21
21
  import {
22
22
  ProjectTable2
23
- } from "./rpc-9qm9egsn.js";
23
+ } from "./command-9qm9egsn.js";
24
24
  import {
25
25
  WorktreeTable2
26
- } from "./rpc-ajtjthsy.js";
26
+ } from "./command-ajtjthsy.js";
27
27
  import {
28
- Service69,
29
- node73
30
- } from "./rpc-jjtztttc.js";
28
+ Service68,
29
+ node71
30
+ } from "./command-4jcgzkct.js";
31
31
  import {
32
32
  DirectoryUnavailableError2,
33
33
  canonical2
34
- } from "./rpc-93a8yfjt.js";
34
+ } from "./command-93a8yfjt.js";
35
35
  import {
36
- make10
37
- } from "./rpc-c45qpk7m.js";
36
+ make17
37
+ } from "./command-q8rpcfw0.js";
38
38
  import {
39
39
  __export
40
- } from "./rpc-9rqn6x4v.js";
40
+ } from "./command-9rqn6x4v.js";
41
41
 
42
42
  // src/worktree.ts
43
43
  var exports_worktree = {};
@@ -46,21 +46,21 @@ __export(exports_worktree, {
46
46
  DestinationExistsError: () => DestinationExistsError2,
47
47
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
48
48
  DuplicateStrategyError: () => DuplicateStrategyError2,
49
- Event: () => Event3,
50
- Info: () => Info2,
49
+ Event: () => Event8,
50
+ Info: () => Info10,
51
51
  InvalidDirectoryError: () => InvalidDirectoryError2,
52
52
  List: () => List2,
53
53
  ListEntry: () => ListEntry3,
54
- ListInput: () => ListInput3,
54
+ ListInput: () => ListInput6,
55
55
  RefreshInput: () => RefreshInput2,
56
56
  RefreshResult: () => RefreshResult2,
57
57
  RemoveInput: () => RemoveInput2,
58
- Service: () => Service15,
58
+ Service: () => Service56,
59
59
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
60
60
  StrategyID: () => StrategyID2,
61
61
  StrategyUnavailableError: () => StrategyUnavailableError2,
62
62
  Worktree: () => exports_worktree,
63
- node: () => node17,
63
+ node: () => node58,
64
64
  refreshAfterBoot: () => refreshAfterBoot2,
65
65
  refreshNode: () => refreshNode2
66
66
  });
@@ -76,21 +76,21 @@ var StrategyID2 = Worktree.StrategyID;
76
76
  var CreateInput2 = Worktree.CreateInput;
77
77
  var RemoveInput2 = Worktree.RemoveInput;
78
78
  var RefreshInput2 = Schema.Struct({
79
- projectID: ID12
79
+ projectID: ID13
80
80
  }).annotate({ identifier: "Worktree.RefreshInput" });
81
81
  var RefreshResult2 = Schema.Struct({
82
82
  updated: Schema.Array(AbsolutePath2),
83
83
  removed: Schema.Array(AbsolutePath2)
84
84
  }).annotate({ identifier: "Worktree.RefreshResult" });
85
- var Info2 = Worktree.Info;
86
- var ListInput3 = Worktree.ListInput;
85
+ var Info10 = Worktree.Info;
86
+ var ListInput6 = Worktree.ListInput;
87
87
  var List2 = Worktree.List;
88
88
  var ListEntry3 = Schema.Struct({
89
89
  directory: AbsolutePath2,
90
90
  type: Schema.Literals(["root", "worktree"])
91
91
  }).annotate({ identifier: "Worktree.ListEntry" });
92
92
 
93
- class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID12, directory: Schema.optional(AbsolutePath2) }) {
93
+ class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID13, directory: Schema.optional(AbsolutePath2) }) {
94
94
  }
95
95
 
96
96
  class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
@@ -104,13 +104,13 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
104
104
 
105
105
  class DuplicateStrategyError2 extends Schema.TaggedError()("Worktree.DuplicateStrategyError", { strategy: StrategyID2 }) {
106
106
  }
107
- var Event3 = Worktree.Event;
107
+ var Event8 = Worktree.Event;
108
108
 
109
- class Service15 extends Context.Service()("@opencode/v2/Worktree") {
109
+ class Service56 extends Context.Service()("@opencode/v2/Worktree") {
110
110
  }
111
111
  var refreshAfterBoot2 = Effect.gen(function* () {
112
- const location = yield* Service69;
113
- const worktrees = yield* Service15;
112
+ const location = yield* Service68;
113
+ const worktrees = yield* Service56;
114
114
  yield* Effect.gen(function* () {
115
115
  yield* Effect.logInfo("worktree refresh started", { projectID: location.project.id });
116
116
  const result = yield* worktrees.refresh({ projectID: location.project.id });
@@ -121,14 +121,14 @@ var refreshAfterBoot2 = Effect.gen(function* () {
121
121
  });
122
122
  }).pipe(Effect.catchCause((cause) => Effect.logWarning("worktree refresh failed", { cause })), Effect.forkScoped, Effect.asVoid);
123
123
  });
124
- var layer = Layer.effect(Service15, Effect.gen(function* () {
124
+ var layer = Layer.effect(Service56, Effect.gen(function* () {
125
125
  const fs = yield* FSUtil.Service;
126
126
  const db = (yield* Service80).db;
127
127
  const bus = yield* Service79;
128
128
  const processService = yield* AppProcess.Service;
129
129
  const changed = Effect.fnUntraced(function* (projectID, update) {
130
130
  if (update)
131
- yield* bus.publish(Event3.Updated, { projectID });
131
+ yield* bus.publish(Event8.Updated, { projectID });
132
132
  });
133
133
  const ops = {
134
134
  list: Effect.fn("Worktree.list")(function* (projectID) {
@@ -155,7 +155,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
155
155
  return yield* new DuplicateStrategyError2({ strategy: strategy.id });
156
156
  registry.set(strategy.id, strategy);
157
157
  });
158
- const gitStrategy = yield* make10;
158
+ const gitStrategy = yield* make17;
159
159
  yield* register(gitStrategy).pipe(Effect.orDie);
160
160
  const source = Effect.fnUntraced(function* (input, projectID) {
161
161
  const sourceDirectory = input ?? (yield* ops.primary(projectID))?.directory;
@@ -244,7 +244,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
244
244
  yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
245
245
  return changes;
246
246
  });
247
- return Service15.of({
247
+ return Service56.of({
248
248
  register,
249
249
  list: ops.list,
250
250
  create,
@@ -252,15 +252,15 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
252
252
  refresh
253
253
  });
254
254
  }));
255
- var node17 = makeGlobalNode({
256
- service: Service15,
255
+ var node58 = makeGlobalNode({
256
+ service: Service56,
257
257
  layer,
258
- deps: [FSUtil.node, node75, node83, node84, AppProcess.node]
258
+ deps: [FSUtil.node, node73, node83, node84, AppProcess.node]
259
259
  });
260
260
  var refreshNode2 = makeLocationNode({
261
261
  name: "worktree-refresh",
262
262
  layer: Layer.effectDiscard(refreshAfterBoot2),
263
- deps: [node17, node73]
263
+ deps: [node58, node71]
264
264
  });
265
265
 
266
- export { StrategyID2, CreateInput2, RemoveInput2, RefreshInput2, RefreshResult2, Info2, ListInput3, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, DuplicateStrategyError2, Event3, Service15, refreshAfterBoot2, node17, refreshNode2, exports_worktree };
266
+ export { StrategyID2, CreateInput2, RemoveInput2, RefreshInput2, RefreshResult2, Info10, ListInput6, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, DuplicateStrategyError2, Event8, Service56, refreshAfterBoot2, node58, refreshNode2, exports_worktree };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service55,
3
- node58
4
- } from "./rpc-mke2843p.js";
2
+ Service58,
3
+ node60
4
+ } from "./command-s631mnhv.js";
5
5
  import {
6
- Service69,
7
- node73
8
- } from "./rpc-jjtztttc.js";
6
+ Service68,
7
+ node71
8
+ } from "./command-4jcgzkct.js";
9
9
  import {
10
- Service54,
11
- node57
12
- } from "./rpc-9zrnh5xs.js";
10
+ Service57,
11
+ node59
12
+ } from "./command-6dbg2gn2.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
16
- } from "./rpc-zxq2ej10.js";
16
+ } from "./command-zxq2ej10.js";
17
17
  import {
18
18
  __export
19
- } from "./rpc-9rqn6x4v.js";
19
+ } from "./command-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/source.ts
22
22
  var exports_source = {};
23
23
  __export(exports_source, {
24
24
  ConfigPluginSource: () => exports_source,
25
- Service: () => Service12,
25
+ Service: () => Service6,
26
26
  empty: () => empty2,
27
- layer: () => layer7,
28
- node: () => node14
27
+ layer: () => layer5,
28
+ node: () => node7
29
29
  });
30
30
  import { FSUtil } from "@opencode-ai/util/fs-util";
31
31
  import { Host } from "@opencode-ai/plugin/host";
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
33
33
  import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
34
34
  import path from "path";
35
35
  import { fileURLToPath, pathToFileURL } from "url";
36
- class Service12 extends Context.Service()("@opencode/ConfigPluginSource") {
36
+ class Service6 extends Context.Service()("@opencode/ConfigPluginSource") {
37
37
  }
38
- var layer7 = Layer.effect(Service12, Effect.gen(function* () {
39
- const config = yield* Service54;
40
- const watcher = yield* Service55;
38
+ var layer5 = Layer.effect(Service6, Effect.gen(function* () {
39
+ const config = yield* Service57;
40
+ const watcher = yield* Service58;
41
41
  const fs = yield* FSUtil.Service;
42
- const location = yield* Service69;
42
+ const location = yield* Service68;
43
43
  const configuredChanges = yield* PubSub.unbounded();
44
44
  const watched = new Set;
45
45
  const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
@@ -58,7 +58,7 @@ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
58
58
  yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
59
59
  }
60
60
  });
61
- return Service12.of({
61
+ return Service6.of({
62
62
  operations: Effect.fn("ConfigPluginSource.operations")(function* () {
63
63
  const entries = yield* config.entries();
64
64
  const operations = yield* scan(fs, location, entries);
@@ -70,14 +70,14 @@ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
70
70
  })), Stream.fromPubSub(configuredChanges))
71
71
  });
72
72
  }));
73
- var node14 = makeLocationNode({
74
- service: Service12,
75
- layer: layer7,
76
- deps: [node57, FSUtil.node, node58, node73]
73
+ var node7 = makeLocationNode({
74
+ service: Service6,
75
+ layer: layer5,
76
+ deps: [node59, FSUtil.node, node60, node71]
77
77
  });
78
78
  var empty2 = makeLocationNode({
79
- service: Service12,
80
- layer: Layer.succeed(Service12, Service12.of({
79
+ service: Service6,
80
+ layer: Layer.succeed(Service6, Service6.of({
81
81
  operations: () => Effect.succeed([]),
82
82
  changes: () => Stream.never
83
83
  })),
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
137
137
  return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
138
138
  }
139
139
 
140
- export { Service12, layer7, node14, empty2, exports_source };
140
+ export { Service6, layer5, node7, empty2, exports_source };