@opencode-ai/core 0.0.0-dev-19160 → 0.0.0-dev-19162

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 (774) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +82 -82
  8. package/dist/chunks/{command-2k2b0myy.js → config-05zt7bxw.js} +5 -5
  9. package/dist/chunks/{command-xg3c18md.js → config-06hhv4mk.js} +10 -10
  10. package/dist/chunks/{command-06qbn9zd.js → config-06qbn9zd.js} +2 -2
  11. package/dist/chunks/{command-5ms9567n.js → config-0717jcw9.js} +10 -10
  12. package/dist/chunks/{command-ag4rn41e.js → config-0dv7911r.js} +4 -4
  13. package/dist/chunks/{command-0e0xafbb.js → config-0e0xafbb.js} +2 -2
  14. package/dist/chunks/{command-x4a87jpz.js → config-0f36fkqm.js} +10 -10
  15. package/dist/chunks/{command-36bx4p7m.js → config-0ftyh06z.js} +11 -11
  16. package/dist/chunks/{command-fvanntqq.js → config-0gaj4617.js} +4 -4
  17. package/dist/chunks/{command-k6wd3zsg.js → config-0mh54vrd.js} +32 -32
  18. package/dist/chunks/{command-0paq2nw3.js → config-0paq2nw3.js} +1 -1
  19. package/dist/chunks/{command-scncj5yv.js → config-0q7045zc.js} +20 -20
  20. package/dist/chunks/{command-0s9ayhjt.js → config-0s9ayhjt.js} +1 -1
  21. package/dist/chunks/{command-a09trhwb.js → config-0w1hyfp5.js} +8 -8
  22. package/dist/chunks/{command-2kq1zvc1.js → config-158d8j6f.js} +11 -11
  23. package/dist/chunks/{command-1ct4r87x.js → config-1ct4r87x.js} +1 -1
  24. package/dist/chunks/config-1dzz6snw.js +247 -0
  25. package/dist/chunks/{command-m5045k8y.js → config-1n116cmy.js} +9 -9
  26. package/dist/chunks/{command-qbyj8qxd.js → config-1rfmywcm.js} +1 -1
  27. package/dist/chunks/{command-46fb7xft.js → config-1xgpa51k.js} +31 -31
  28. package/dist/chunks/{command-21r38tys.js → config-21r38tys.js} +1 -1
  29. package/dist/chunks/{command-v8gy3pjr.js → config-237jjh8r.js} +1 -1
  30. package/dist/chunks/{command-2402vzrj.js → config-2402vzrj.js} +1 -1
  31. package/dist/chunks/{command-3v2tg306.js → config-28137t3k.js} +20 -20
  32. package/dist/chunks/{command-2a5m3afh.js → config-2a5m3afh.js} +1 -1
  33. package/dist/chunks/{command-2ht70gj7.js → config-2ht70gj7.js} +1 -1
  34. package/dist/chunks/{command-p4ffxaks.js → config-2pcxbq9w.js} +19 -19
  35. package/dist/chunks/{command-6h683ksm.js → config-2pr397y0.js} +3 -3
  36. package/dist/chunks/{command-fde3eq2m.js → config-2wc239sk.js} +16 -16
  37. package/dist/chunks/{command-z7f3thhk.js → config-2wqzt3cn.js} +4 -4
  38. package/dist/chunks/{command-k9hbvqs8.js → config-31e3ykh9.js} +16 -16
  39. package/dist/chunks/config-35chk74t.js +4 -0
  40. package/dist/chunks/{command-cj78h4gj.js → config-390g9qnx.js} +5 -5
  41. package/dist/chunks/{command-41y5k8q3.js → config-3esdbzaj.js} +36 -36
  42. package/dist/chunks/{command-7ry09vv5.js → config-3h117gp9.js} +3 -3
  43. package/dist/chunks/{command-3hepkmqq.js → config-3hepkmqq.js} +1 -1
  44. package/dist/chunks/{command-8ehfs3z6.js → config-3qdjr5ym.js} +6 -6
  45. package/dist/chunks/{command-3qzbfqsy.js → config-3qzbfqsy.js} +2 -2
  46. package/dist/chunks/{command-3smtnn6g.js → config-3smtnn6g.js} +1 -1
  47. package/dist/chunks/{command-3tvqynh2.js → config-3tvqynh2.js} +1 -1
  48. package/dist/chunks/{command-454k5vzh.js → config-454k5vzh.js} +1 -1
  49. package/dist/chunks/{command-36jsrrnq.js → config-4f0jyt0w.js} +4 -4
  50. package/dist/chunks/{command-xf2mx0nj.js → config-4h971em0.js} +18 -18
  51. package/dist/chunks/{command-v53xvqvh.js → config-4q2e07t1.js} +29 -29
  52. package/dist/chunks/{command-4r2nyarf.js → config-4r2nyarf.js} +1 -1
  53. package/dist/chunks/{command-sjpb2e72.js → config-4zxvp4s8.js} +8 -8
  54. package/dist/chunks/{command-cfaf1jcp.js → config-50jazn63.js} +6 -6
  55. package/dist/chunks/{command-986p65m9.js → config-55v2ymrw.js} +5 -5
  56. package/dist/chunks/{command-5daktx2q.js → config-5daktx2q.js} +1 -1
  57. package/dist/chunks/{command-5fmxt4p5.js → config-5fmxt4p5.js} +1 -1
  58. package/dist/chunks/{command-5jvc5tg2.js → config-5jvc5tg2.js} +1 -1
  59. package/dist/chunks/{command-eab3te1e.js → config-5v35ncxg.js} +17 -17
  60. package/dist/chunks/{command-6kzfdsbw.js → config-5wxrjykn.js} +39 -39
  61. package/dist/chunks/{command-apjnhj61.js → config-61xw2vyk.js} +3 -3
  62. package/dist/chunks/{command-qz2a5vjy.js → config-67cp0t3n.js} +8 -8
  63. package/dist/chunks/{command-2wjp2tjd.js → config-69r0shtj.js} +11 -11
  64. package/dist/chunks/{command-7nhnh7r3.js → config-6affnmbh.js} +4 -4
  65. package/dist/chunks/config-6ancngw6.js +22 -0
  66. package/dist/chunks/{command-nwqthrgy.js → config-6bk635n3.js} +4 -4
  67. package/dist/chunks/{command-j8swj2w1.js → config-6cnprtbt.js} +17 -17
  68. package/dist/chunks/{command-z3s9j4q6.js → config-6cp2jw9r.js} +18 -18
  69. package/dist/chunks/{command-09a6army.js → config-6mjnften.js} +18 -18
  70. package/dist/chunks/{command-tr0exa0z.js → config-6t8g9t55.js} +46 -46
  71. package/dist/chunks/{command-dyxej0k0.js → config-6wms2n7k.js} +20 -20
  72. package/dist/chunks/{command-6abnk40k.js → config-6z5bwd8g.js} +9 -9
  73. package/dist/chunks/{command-711hfp6y.js → config-711hfp6y.js} +2 -2
  74. package/dist/chunks/{command-72nftnjy.js → config-72nftnjy.js} +2 -2
  75. package/dist/chunks/{command-7yh4e7ss.js → config-73tb2d7t.js} +3 -3
  76. package/dist/chunks/{command-gpdv1k8z.js → config-749gab3j.js} +85 -85
  77. package/dist/chunks/{command-eze362m1.js → config-75f2r3s2.js} +7 -7
  78. package/dist/chunks/{command-rbmj63g6.js → config-75kxdcsk.js} +18 -18
  79. package/dist/chunks/{command-yhr218qz.js → config-75yf2d83.js} +6 -6
  80. package/dist/chunks/{command-2j14775k.js → config-77d3wn9c.js} +33 -33
  81. package/dist/chunks/{command-7bmhse3q.js → config-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{command-cb182ger.js → config-7cnzp9pw.js} +4 -4
  83. package/dist/chunks/{command-7dqw4kz8.js → config-7dqw4kz8.js} +1 -1
  84. package/dist/chunks/{command-64z8z5x5.js → config-7gbsxqt2.js} +8 -8
  85. package/dist/chunks/{command-xf5dfsz3.js → config-7vybpyaj.js} +55 -55
  86. package/dist/chunks/{command-66r9f6z1.js → config-7xyrrtj6.js} +5 -5
  87. package/dist/chunks/{command-sdrvr6hd.js → config-849efh8h.js} +15 -15
  88. package/dist/chunks/{command-7nxyxket.js → config-84e5sn9r.js} +1 -1
  89. package/dist/chunks/{command-6hxkxj5e.js → config-88f2w7bg.js} +15 -15
  90. package/dist/chunks/{command-mqd6mqcv.js → config-8g9nxc0g.js} +9 -9
  91. package/dist/chunks/{command-dhc125dj.js → config-8mytbkpk.js} +15 -15
  92. package/dist/chunks/{command-7ng7exzm.js → config-8pn7nfj1.js} +1 -1
  93. package/dist/chunks/{command-e4byd2f0.js → config-8sst88kq.js} +168 -168
  94. package/dist/chunks/{command-5x809xkz.js → config-8ysd1vrr.js} +10 -10
  95. package/dist/chunks/{command-771gpf5h.js → config-90f0znq3.js} +10 -10
  96. package/dist/chunks/{command-r6y16npb.js → config-90jvxegy.js} +29 -29
  97. package/dist/chunks/{command-2dqn2d0f.js → config-95dz77zy.js} +9 -9
  98. package/dist/chunks/{command-2tse149y.js → config-9k4yc68s.js} +6 -6
  99. package/dist/chunks/{command-47c0vj8e.js → config-9mdqs4p6.js} +13 -13
  100. package/dist/chunks/{command-mvcmfyp0.js → config-9n4rmthx.js} +6 -6
  101. package/dist/chunks/{command-9qm9egsn.js → config-9qm9egsn.js} +2 -2
  102. package/dist/chunks/{command-3gcs5xa7.js → config-9swgxcyc.js} +16 -16
  103. package/dist/chunks/{command-7w74e5nf.js → config-a1bqr6mg.js} +9 -9
  104. package/dist/chunks/{command-6nf9m9w8.js → config-a848jf85.js} +15 -15
  105. package/dist/chunks/{command-aaet6srn.js → config-aaet6srn.js} +2 -2
  106. package/dist/chunks/{command-ajtjthsy.js → config-ajtjthsy.js} +2 -2
  107. package/dist/chunks/{command-c50h3021.js → config-asc3hgbh.js} +6 -6
  108. package/dist/chunks/{command-7th8yg4v.js → config-az3ewtba.js} +10 -10
  109. package/dist/chunks/{command-1y88a9y4.js → config-b06njkpy.js} +24 -24
  110. package/dist/chunks/{command-mf0qyrea.js → config-b0ememyf.js} +5 -5
  111. package/dist/chunks/{command-xb02k0wq.js → config-b27vhd2z.js} +4 -4
  112. package/dist/chunks/{command-b6gygkdw.js → config-b6gygkdw.js} +2 -2
  113. package/dist/chunks/{command-syf0fv3f.js → config-b7sv87fa.js} +15 -15
  114. package/dist/chunks/{command-b9wsbatv.js → config-b9wsbatv.js} +1 -1
  115. package/dist/chunks/{command-hnyf01b0.js → config-bcezcar3.js} +5 -5
  116. package/dist/chunks/{command-mq4pan8t.js → config-bhhnfd7g.js} +11 -11
  117. package/dist/chunks/{command-vex81zzz.js → config-bnf63c9y.js} +21 -21
  118. package/dist/chunks/{command-3qze2g25.js → config-bpnz08mb.js} +2 -2
  119. package/dist/chunks/{command-3jj6bjb6.js → config-btc4hvws.js} +5 -5
  120. package/dist/chunks/{command-0mxxck6s.js → config-cbmwqr93.js} +28 -28
  121. package/dist/chunks/{command-ytrfeffg.js → config-cbx5tm5q.js} +3 -3
  122. package/dist/chunks/{command-wngp9twe.js → config-cdq864t9.js} +4 -4
  123. package/dist/chunks/{command-8d12smfc.js → config-cgpj99p4.js} +16 -16
  124. package/dist/chunks/{command-5yrh131y.js → config-cwq8wwbw.js} +6 -6
  125. package/dist/chunks/{command-t3q2ka56.js → config-d4fghf44.js} +22 -22
  126. package/dist/chunks/{command-d72308c8.js → config-d72308c8.js} +2 -2
  127. package/dist/chunks/{command-xa23jzcd.js → config-dfxkf46d.js} +18 -18
  128. package/dist/chunks/{command-q1mp0wyr.js → config-dnqht47t.js} +11 -11
  129. package/dist/chunks/{command-mb3t0p3g.js → config-drvezzaf.js} +18 -18
  130. package/dist/chunks/{command-adtw4hjy.js → config-dvnq9x8h.js} +30 -30
  131. package/dist/chunks/{command-mn2fhvjf.js → config-e06bka4b.js} +21 -21
  132. package/dist/chunks/{command-403wd46a.js → config-e5c0hftg.js} +11 -11
  133. package/dist/chunks/{command-067xa773.js → config-ea6674rn.js} +46 -46
  134. package/dist/chunks/{command-cze25jak.js → config-efcf8wyf.js} +8 -8
  135. package/dist/chunks/{command-nst4gbxz.js → config-eg4pr325.js} +10 -10
  136. package/dist/chunks/{command-2bymashh.js → config-eqepbgaf.js} +13 -13
  137. package/dist/chunks/{command-ez9t0j11.js → config-f0xx6xrn.js} +28 -28
  138. package/dist/chunks/{command-yfmpqt7t.js → config-f4ptx47h.js} +18 -18
  139. package/dist/chunks/{command-9f3285wp.js → config-f6p2s77z.js} +16 -16
  140. package/dist/chunks/{command-j5208yae.js → config-fjvydvzm.js} +4 -4
  141. package/dist/chunks/{command-pgrzqq7x.js → config-fpkc6x6e.js} +294 -294
  142. package/dist/chunks/{command-fxbjtjnd.js → config-fxbjtjnd.js} +1 -1
  143. package/dist/chunks/{command-fxypknc8.js → config-fxypknc8.js} +1 -1
  144. package/dist/chunks/{command-yhzb4m19.js → config-g0h7a6z3.js} +25 -25
  145. package/dist/chunks/{command-makhhr1b.js → config-g2g0nm0k.js} +8 -8
  146. package/dist/chunks/{command-2bfwt810.js → config-g3m1b5yb.js} +20 -20
  147. package/dist/chunks/{command-x89xc156.js → config-g3ncs8hk.js} +35 -35
  148. package/dist/chunks/{command-vc3d140a.js → config-gcq6p8pa.js} +22 -22
  149. package/dist/chunks/{command-gd4qta3r.js → config-gd4qta3r.js} +1 -1
  150. package/dist/chunks/{command-gdvy8fx6.js → config-gdvy8fx6.js} +1 -1
  151. package/dist/chunks/{command-pb7mhrv4.js → config-gmgk58pj.js} +32 -32
  152. package/dist/chunks/{command-cf0yyv30.js → config-gs07ajs2.js} +13 -13
  153. package/dist/chunks/{command-4myz20e1.js → config-gszwqe5d.js} +25 -25
  154. package/dist/chunks/{command-5mm0tfy6.js → config-gvha7d93.js} +2 -2
  155. package/dist/chunks/{command-r4zdmh6q.js → config-gw2ha4j9.js} +23 -23
  156. package/dist/chunks/{command-9p3tsgpy.js → config-gzd7t3bg.js} +4 -4
  157. package/dist/chunks/{command-80gwsprg.js → config-h0xakedw.js} +15 -15
  158. package/dist/chunks/{command-f9x6rp1j.js → config-h397hkc6.js} +1 -1
  159. package/dist/chunks/{command-h6vf3j39.js → config-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{command-z62pd9tg.js → config-hbyy88g2.js} +5 -5
  161. package/dist/chunks/{command-heyhwy2w.js → config-heyhwy2w.js} +1 -1
  162. package/dist/chunks/{command-bnd53w8e.js → config-hqq8t1nz.js} +21 -21
  163. package/dist/chunks/{command-hrvm11jt.js → config-hrvm11jt.js} +3 -3
  164. package/dist/chunks/{command-kvsjn1dr.js → config-hw4pv20g.js} +2 -2
  165. package/dist/chunks/{command-pvwc59kc.js → config-j793fzzw.js} +6 -6
  166. package/dist/chunks/{command-4aej6qjt.js → config-k0jfbz6p.js} +9 -9
  167. package/dist/chunks/{command-an9xa30v.js → config-k16hc8ta.js} +7 -7
  168. package/dist/chunks/{command-9shezh8w.js → config-k3qb5jpq.js} +15 -15
  169. package/dist/chunks/{command-k4bwy1x5.js → config-k4bwy1x5.js} +1 -1
  170. package/dist/chunks/{command-06rbd0ds.js → config-k8cz140w.js} +7 -7
  171. package/dist/chunks/{command-2qqffpqm.js → config-ke4h9fde.js} +30 -30
  172. package/dist/chunks/{command-kg06axw8.js → config-kg06axw8.js} +1 -1
  173. package/dist/chunks/{command-fn1bgv7k.js → config-khzg4rw9.js} +12 -12
  174. package/dist/chunks/{command-ctd4qdmr.js → config-kx2gvdct.js} +4 -4
  175. package/dist/chunks/{command-fgm3rptp.js → config-kxdbpzvg.js} +11 -11
  176. package/dist/chunks/{command-3zzw1d29.js → config-kxt3why0.js} +2 -2
  177. package/dist/chunks/{command-8hczv8aq.js → config-m7yd5tmd.js} +19 -19
  178. package/dist/chunks/{command-m9w0rfyh.js → config-m9w0rfyh.js} +1 -1
  179. package/dist/chunks/{command-jh83r34y.js → config-mcwyqbfv.js} +14 -14
  180. package/dist/chunks/{command-67qwxm7p.js → config-mk71vqfm.js} +10 -10
  181. package/dist/chunks/{command-xxz5bf5t.js → config-mq9r6drf.js} +3 -3
  182. package/dist/chunks/{command-bsnns7jw.js → config-mrr5n1t5.js} +41 -41
  183. package/dist/chunks/{command-y724s5yt.js → config-ms4p05rz.js} +4 -4
  184. package/dist/chunks/{command-mfzvtt0p.js → config-n4vc4wqp.js} +35 -35
  185. package/dist/chunks/{command-wcr0959g.js → config-n6wnzfnt.js} +9 -9
  186. package/dist/chunks/{command-rzejcw32.js → config-n95nq84g.js} +5 -5
  187. package/dist/chunks/{command-gh3etp9m.js → config-nbb09f0r.js} +14 -14
  188. package/dist/chunks/{command-6rvfg3m1.js → config-nc7vhk1r.js} +25 -25
  189. package/dist/chunks/{command-abrpakxq.js → config-ndcx881h.js} +11 -11
  190. package/dist/chunks/{command-g220pns6.js → config-ndvrq8a0.js} +56 -56
  191. package/dist/chunks/{command-rz5nyh7y.js → config-njc68f1a.js} +10 -10
  192. package/dist/chunks/{command-d8mkz6xq.js → config-nntdm4dm.js} +5 -5
  193. package/dist/chunks/{command-ef8sx7p3.js → config-p4tet26t.js} +27 -27
  194. package/dist/chunks/{command-ybbfsve3.js → config-p6ff5tbf.js} +26 -26
  195. package/dist/chunks/{command-t3xcjejh.js → config-p75fycp1.js} +21 -21
  196. package/dist/chunks/{command-j935v87r.js → config-paphc93g.js} +2 -2
  197. package/dist/chunks/{command-3exrkx07.js → config-pdk1dwn1.js} +46 -46
  198. package/dist/chunks/{command-kxnt8qcg.js → config-pdw22why.js} +5 -5
  199. package/dist/chunks/{command-t3jgv66k.js → config-pe168bzg.js} +11 -11
  200. package/dist/chunks/{command-pjvnvgmy.js → config-pjvnvgmy.js} +1 -1
  201. package/dist/chunks/{command-pknna89w.js → config-pknna89w.js} +1 -1
  202. package/dist/chunks/{command-btt262ey.js → config-pwt28h08.js} +13 -13
  203. package/dist/chunks/{command-ajcccrn0.js → config-qcgjm0wy.js} +3 -3
  204. package/dist/chunks/{command-1445ht27.js → config-qdc7md5c.js} +24 -24
  205. package/dist/chunks/{command-qsdy395h.js → config-qsdy395h.js} +1 -1
  206. package/dist/chunks/{command-y0759frv.js → config-r0d31c8w.js} +81 -81
  207. package/dist/chunks/{command-hpkxe5vf.js → config-r4xgsgaj.js} +11 -11
  208. package/dist/chunks/{command-ztnyd3e4.js → config-r5w2ssxe.js} +9 -9
  209. package/dist/chunks/{command-r8dhm0tv.js → config-r8dhm0tv.js} +1 -1
  210. package/dist/chunks/{command-m4535t75.js → config-rae26gbb.js} +8 -8
  211. package/dist/chunks/config-rap9a73h.js +18 -0
  212. package/dist/chunks/{command-csf1agy9.js → config-rd1ep0s8.js} +9 -9
  213. package/dist/chunks/{command-fx63sjjh.js → config-rjdxf66f.js} +9 -9
  214. package/dist/chunks/{command-3v7evdfw.js → config-rm88cc49.js} +34 -34
  215. package/dist/chunks/{command-69wcn9zj.js → config-rz7hn0qq.js} +4 -4
  216. package/dist/chunks/{command-myw4ak0a.js → config-s0xz30kk.js} +17 -17
  217. package/dist/chunks/{command-e6v427vd.js → config-s3ef855p.js} +2 -2
  218. package/dist/chunks/{command-sba4qhjf.js → config-sba4qhjf.js} +1 -1
  219. package/dist/chunks/{command-rbbz1t60.js → config-sec21qxj.js} +25 -25
  220. package/dist/chunks/{command-v01naqnx.js → config-segpa9t1.js} +32 -32
  221. package/dist/chunks/{command-83564ejt.js → config-skh1dhby.js} +15 -15
  222. package/dist/chunks/{command-avr1tyrh.js → config-srbc34s8.js} +22 -22
  223. package/dist/chunks/{command-js78q0ey.js → config-ssx4hce4.js} +15 -15
  224. package/dist/chunks/{command-aj9kw0tw.js → config-t00n1yfv.js} +8 -8
  225. package/dist/chunks/{command-zhwkzg3q.js → config-t0mrj28q.js} +14 -14
  226. package/dist/chunks/{command-tazgh4e4.js → config-tazgh4e4.js} +1 -1
  227. package/dist/chunks/{command-p35n44y6.js → config-tb8pps08.js} +23 -23
  228. package/dist/chunks/{command-tcezcvh9.js → config-tcezcvh9.js} +1 -1
  229. package/dist/chunks/{command-mx0e3zaa.js → config-tdae0fjt.js} +35 -35
  230. package/dist/chunks/{command-ww4cprnv.js → config-thh4j27q.js} +32 -32
  231. package/dist/chunks/{command-tjykrgmx.js → config-tjykrgmx.js} +1 -1
  232. package/dist/chunks/{command-wwskzng8.js → config-tppvcy65.js} +9 -9
  233. package/dist/chunks/{command-akpttafq.js → config-tvhb6ja7.js} +8 -8
  234. package/dist/chunks/{command-1p55cq3k.js → config-ty7ewxnj.js} +11 -11
  235. package/dist/chunks/{command-4pgype50.js → config-tz7hz8t4.js} +35 -35
  236. package/dist/chunks/{command-bcam29vw.js → config-v7vyss8a.js} +9 -9
  237. package/dist/chunks/{command-eqx628er.js → config-v9jt0hrb.js} +22 -22
  238. package/dist/chunks/{command-an7cqtb7.js → config-ve4pfa0n.js} +4 -4
  239. package/dist/chunks/{command-v5rb3gry.js → config-vpkbx0dt.js} +4 -4
  240. package/dist/chunks/{command-tnzyjfsr.js → config-vr61rn6q.js} +25 -25
  241. package/dist/chunks/{command-w3wsvvr9.js → config-w3wsvvr9.js} +1 -1
  242. package/dist/chunks/{command-cx64my21.js → config-w4b4w6yp.js} +25 -25
  243. package/dist/chunks/{command-hgeb4s25.js → config-wb545wbz.js} +1 -1
  244. package/dist/chunks/{command-fb8301na.js → config-wcge92de.js} +15 -15
  245. package/dist/chunks/{command-wd87259q.js → config-wd87259q.js} +1 -1
  246. package/dist/chunks/{command-vnwde1cm.js → config-wdqf1a1r.js} +6 -6
  247. package/dist/chunks/{command-ed627kzc.js → config-wfqth6gn.js} +24 -24
  248. package/dist/chunks/{command-penn4k5a.js → config-wjjyb9kf.js} +15 -15
  249. package/dist/chunks/{command-yecrbd4q.js → config-wmjbr0cd.js} +12 -12
  250. package/dist/chunks/{command-5r6zs9dp.js → config-wpj5mmzs.js} +29 -29
  251. package/dist/chunks/{command-sb910js5.js → config-wtm3m4mv.js} +18 -18
  252. package/dist/chunks/{command-9drvvwc8.js → config-wv9wspwp.js} +39 -39
  253. package/dist/chunks/{command-90apwbxv.js → config-ww0d9pr3.js} +1 -1
  254. package/dist/chunks/{command-2j46d33k.js → config-x0bt72s0.js} +24 -24
  255. package/dist/chunks/{command-x1ezjp6w.js → config-x1ezjp6w.js} +1 -1
  256. package/dist/chunks/{command-0fy0jsyf.js → config-x37beqws.js} +15 -15
  257. package/dist/chunks/{command-dnv0g493.js → config-x3n7g9ke.js} +16 -16
  258. package/dist/chunks/{command-xj845f8f.js → config-x6g7mdd1.js} +59 -59
  259. package/dist/chunks/{command-yaxh95xb.js → config-x780yf15.js} +9 -9
  260. package/dist/chunks/{command-3nt7fz2d.js → config-xdhd08xr.js} +41 -41
  261. package/dist/chunks/{command-8eqyawfy.js → config-xhry6vyk.js} +20 -20
  262. package/dist/chunks/{command-xbyx40wa.js → config-xj0fb0cg.js} +14 -14
  263. package/dist/chunks/{command-shfaz11f.js → config-xnjnn6ck.js} +4 -4
  264. package/dist/chunks/{command-f1q5pqmw.js → config-xx3n06zn.js} +3 -3
  265. package/dist/chunks/{command-y1fvbwt7.js → config-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/{command-y2cqme3r.js → config-y2cqme3r.js} +2 -2
  267. package/dist/chunks/{command-crmey8mf.js → config-y5b08bcr.js} +3 -3
  268. package/dist/chunks/{command-y71avatq.js → config-y71avatq.js} +1 -1
  269. package/dist/chunks/{command-57xv9dk6.js → config-ye5gakfv.js} +20 -20
  270. package/dist/chunks/{command-yb3vshep.js → config-yenvjmh1.js} +10 -10
  271. package/dist/chunks/{command-yfbd16n1.js → config-yfbd16n1.js} +2 -2
  272. package/dist/chunks/{command-vj6w85cw.js → config-yj1cv159.js} +9 -9
  273. package/dist/chunks/{command-24hkfxm1.js → config-ym594s0z.js} +8 -8
  274. package/dist/chunks/{command-f02efhx2.js → config-yvrpaamn.js} +28 -28
  275. package/dist/chunks/config-ywabkmpb.js +20 -0
  276. package/dist/chunks/{command-yzd93mfj.js → config-yzd93mfj.js} +2 -2
  277. package/dist/chunks/{command-z1k01bn4.js → config-z1k01bn4.js} +2 -2
  278. package/dist/chunks/{command-z3xgatyd.js → config-z3xgatyd.js} +1 -1
  279. package/dist/chunks/{command-29x78va6.js → config-z63w68vq.js} +6 -6
  280. package/dist/chunks/{command-09e7d9vb.js → config-zh34rd03.js} +30 -30
  281. package/dist/chunks/{command-qrsmsg1a.js → config-zhhnkchw.js} +11 -11
  282. package/dist/chunks/{command-h287670b.js → config-zker5bfq.js} +19 -19
  283. package/dist/chunks/{command-pjvn5h54.js → config-zre25x07.js} +12 -12
  284. package/dist/chunks/{command-zxq2ej10.js → config-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +5 -5
  287. package/dist/codemode/tool.js +2 -2
  288. package/dist/command.js +81 -81
  289. package/dist/config/discovery.js +77 -77
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +19 -19
  292. package/dist/config/plugin/agent.js +116 -116
  293. package/dist/config/plugin/command.js +205 -205
  294. package/dist/config/plugin/compaction.js +153 -153
  295. package/dist/config/plugin/entry-observer.js +1 -1
  296. package/dist/config/plugin/formatter.js +116 -116
  297. package/dist/config/plugin/image.js +114 -114
  298. package/dist/config/plugin/instruction.js +85 -85
  299. package/dist/config/plugin/location-watcher.js +114 -114
  300. package/dist/config/plugin/mcp.js +125 -125
  301. package/dist/config/plugin/policy.js +113 -113
  302. package/dist/config/plugin/provider.js +112 -112
  303. package/dist/config/plugin/reference.js +116 -116
  304. package/dist/config/plugin/shell.js +113 -113
  305. package/dist/config/plugin/skill-file.js +96 -96
  306. package/dist/config/plugin/skill.js +134 -134
  307. package/dist/config/plugin/snapshot.js +114 -114
  308. package/dist/config/plugin/source.js +116 -116
  309. package/dist/config/plugin/tool-output.js +116 -116
  310. package/dist/config/plugin/websearch.js +112 -112
  311. package/dist/config/plugin/worktree.js +117 -117
  312. package/dist/config/variable.js +3 -3
  313. package/dist/config/watch.js +1 -1
  314. package/dist/config.js +114 -114
  315. package/dist/credential/sql.js +2 -2
  316. package/dist/credential.js +82 -82
  317. package/dist/database/database.js +64 -64
  318. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  319. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  321. package/dist/database/drizzle/index.js +13 -13
  322. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  323. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  325. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  326. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  327. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  333. package/dist/database/drizzle.js +14 -14
  334. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  335. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  336. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  337. package/dist/database/migration/20260225215848_workspace.js +1 -1
  338. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  339. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  340. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  341. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  342. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  343. package/dist/database/migration/20260323234822_events.js +1 -1
  344. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  345. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  346. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  347. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  348. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  349. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  350. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  351. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  352. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  353. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  354. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  355. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  356. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  357. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  358. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  359. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  360. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  361. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  362. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  363. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  364. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  365. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  366. package/dist/database/migration/20260611035744_credential.js +1 -1
  367. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  368. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  369. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  370. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  371. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  372. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  373. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  374. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  375. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  376. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  377. package/dist/database/migration/20260812213948_worktree.js +1 -1
  378. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  379. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  380. package/dist/database/migration.gen.js +47 -47
  381. package/dist/database/migration.js +49 -49
  382. package/dist/database/path.js +2 -2
  383. package/dist/database/schema.gen.js +1 -1
  384. package/dist/database/schema.sql.js +1 -1
  385. package/dist/database/sqlite.bun.js +1 -1
  386. package/dist/database/sqlite.js +1 -1
  387. package/dist/database/sqlite.node.js +1 -1
  388. package/dist/database/sqlite.workerd.js +1 -1
  389. package/dist/database/v1-migration.bun.js +74 -74
  390. package/dist/database/v1-migration.js +1 -1
  391. package/dist/effect/app-node-builder.js +358 -358
  392. package/dist/effect/app-node-platform.js +2 -2
  393. package/dist/effect/keyed-mutex.js +1 -1
  394. package/dist/effect/websocket-constructor.js +1 -1
  395. package/dist/environment/driver.js +1 -1
  396. package/dist/environment/environment.js +88 -88
  397. package/dist/environment/exec-defaults.js +2 -2
  398. package/dist/environment/files.js +1 -1
  399. package/dist/environment/index.js +90 -90
  400. package/dist/environment/local.js +2 -2
  401. package/dist/environment/memory.js +2 -2
  402. package/dist/environment/unavailable.js +1 -1
  403. package/dist/event/sql.js +1 -1
  404. package/dist/event-logger.js +68 -68
  405. package/dist/file-mutation.js +89 -89
  406. package/dist/file-retention.js +1 -1
  407. package/dist/file.js +1 -1
  408. package/dist/filesystem/fff.bun.js +2 -2
  409. package/dist/filesystem/fff.js +1 -1
  410. package/dist/filesystem/fff.node.js +2 -2
  411. package/dist/filesystem/fff.workerd.js +2 -2
  412. package/dist/filesystem/ignore.js +1 -1
  413. package/dist/filesystem/location-watcher-policy.js +6 -6
  414. package/dist/filesystem/location-watcher.js +214 -214
  415. package/dist/filesystem/protected.js +1 -1
  416. package/dist/filesystem/search.js +99 -99
  417. package/dist/filesystem/watcher-binding.js +3 -3
  418. package/dist/filesystem/watcher.js +9 -9
  419. package/dist/filesystem.js +96 -96
  420. package/dist/form.js +82 -82
  421. package/dist/formatter/builtins.js +4 -4
  422. package/dist/formatter.js +82 -82
  423. package/dist/generate.js +92 -92
  424. package/dist/git.js +7 -7
  425. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  426. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  427. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  428. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  429. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  431. package/dist/github-copilot/copilot-provider.js +17 -17
  432. package/dist/github-copilot/models.js +7 -7
  433. package/dist/github-copilot/openai-compatible-error.js +1 -1
  434. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  435. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  436. package/dist/github-copilot/responses/openai-error.js +1 -1
  437. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  438. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  439. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  440. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  441. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  442. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  443. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  444. package/dist/id/id.js +1 -1
  445. package/dist/image/photon.js +2 -2
  446. package/dist/image.js +6 -6
  447. package/dist/instance/service.js +7 -7
  448. package/dist/instance.js +349 -349
  449. package/dist/instruction-discovery.js +83 -83
  450. package/dist/instructions/builtins.js +82 -82
  451. package/dist/instructions/index.js +3 -3
  452. package/dist/integration/connection.js +1 -1
  453. package/dist/integration.js +83 -83
  454. package/dist/job.js +75 -75
  455. package/dist/kv/sql.js +2 -2
  456. package/dist/kv.js +71 -71
  457. package/dist/location-activity.js +83 -83
  458. package/dist/location-mutation.js +81 -81
  459. package/dist/location-service-map.js +81 -81
  460. package/dist/location-services.js +346 -346
  461. package/dist/location.js +84 -84
  462. package/dist/mcp/client.js +86 -86
  463. package/dist/mcp/index.js +98 -98
  464. package/dist/mcp/instructions.js +120 -120
  465. package/dist/mcp/oauth.js +2 -2
  466. package/dist/mcp/stdio.js +85 -85
  467. package/dist/mime.js +1 -1
  468. package/dist/modal/models.js +7 -7
  469. package/dist/model-resolver.js +85 -85
  470. package/dist/model.js +8 -8
  471. package/dist/models-dev.js +86 -86
  472. package/dist/oauth/page.js +1 -1
  473. package/dist/permission/saved.js +78 -78
  474. package/dist/permission/sql.js +5 -5
  475. package/dist/permission.js +111 -111
  476. package/dist/persistent-pty/binary.bun.js +1 -1
  477. package/dist/persistent-pty/daemon.js +1 -1
  478. package/dist/persistent-pty/index.js +82 -82
  479. package/dist/persistent-pty/pty-binding.js +1 -1
  480. package/dist/persistent-pty.js +73 -73
  481. package/dist/plugin/agent.js +98 -98
  482. package/dist/plugin/command.js +95 -95
  483. package/dist/plugin/hooks.js +5 -5
  484. package/dist/plugin/host.js +211 -211
  485. package/dist/plugin/instance.js +5 -5
  486. package/dist/plugin/internal.js +320 -320
  487. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  488. package/dist/plugin/models-dev.js +75 -75
  489. package/dist/plugin/module.js +5 -5
  490. package/dist/plugin/plan.js +96 -96
  491. package/dist/plugin/promise.js +1 -1
  492. package/dist/plugin/provider/alibaba.js +2 -2
  493. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  494. package/dist/plugin/provider/anthropic.js +2 -2
  495. package/dist/plugin/provider/azure.js +117 -117
  496. package/dist/plugin/provider/cerebras.js +2 -2
  497. package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
  498. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  499. package/dist/plugin/provider/cohere.js +2 -2
  500. package/dist/plugin/provider/configured.js +113 -113
  501. package/dist/plugin/provider/dynamic.js +2 -2
  502. package/dist/plugin/provider/factory.js +1 -1
  503. package/dist/plugin/provider/gateway.js +2 -2
  504. package/dist/plugin/provider/github-copilot.js +79 -79
  505. package/dist/plugin/provider/gitlab.js +3 -3
  506. package/dist/plugin/provider/google-vertex.js +2 -2
  507. package/dist/plugin/provider/kilo.js +2 -2
  508. package/dist/plugin/provider/llmgateway.js +75 -75
  509. package/dist/plugin/provider/lmstudio.js +116 -116
  510. package/dist/plugin/provider/mistral.js +2 -2
  511. package/dist/plugin/provider/modal.js +78 -78
  512. package/dist/plugin/provider/nvidia.js +2 -2
  513. package/dist/plugin/provider/ollama.js +116 -116
  514. package/dist/plugin/provider/openai-compatible.js +1 -1
  515. package/dist/plugin/provider/openai.js +77 -77
  516. package/dist/plugin/provider/opencode.js +75 -75
  517. package/dist/plugin/provider/openrouter.js +3 -3
  518. package/dist/plugin/provider/perplexity.js +2 -2
  519. package/dist/plugin/provider/sap-ai-core.js +3 -3
  520. package/dist/plugin/provider/sdk-factory.js +1 -1
  521. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  522. package/dist/plugin/provider/venice.js +2 -2
  523. package/dist/plugin/provider/vercel.js +2 -2
  524. package/dist/plugin/provider/vllm.js +116 -116
  525. package/dist/plugin/provider/xai.js +76 -76
  526. package/dist/plugin/provider/zenmux.js +2 -2
  527. package/dist/plugin/provider.js +154 -154
  528. package/dist/plugin/sdk.js +74 -74
  529. package/dist/plugin/service.js +5 -5
  530. package/dist/plugin/skill.js +131 -131
  531. package/dist/plugin/source-directory.js +1 -1
  532. package/dist/plugin/supervisor.js +335 -335
  533. package/dist/plugin/system-prompt.js +2 -2
  534. package/dist/plugin/update.js +2 -2
  535. package/dist/plugin/variant.js +4 -4
  536. package/dist/plugin/vcs/git.js +82 -82
  537. package/dist/plugin/vcs/hg.js +82 -82
  538. package/dist/plugin/warming.js +111 -111
  539. package/dist/plugin/websearch/exa.js +7 -7
  540. package/dist/plugin/websearch/firecrawl.js +8 -8
  541. package/dist/plugin/websearch/index.js +8 -8
  542. package/dist/plugin/websearch/mcp.js +6 -6
  543. package/dist/plugin/websearch/parallel.js +6 -6
  544. package/dist/plugin/websearch/tavily.js +4 -4
  545. package/dist/plugin.js +218 -218
  546. package/dist/project/schema.js +8 -8
  547. package/dist/project/sql.js +4 -4
  548. package/dist/project.js +85 -85
  549. package/dist/provider.js +7 -7
  550. package/dist/pty/protocol.js +1 -1
  551. package/dist/pty/schema.js +3 -3
  552. package/dist/pty/ticket.js +1 -1
  553. package/dist/pty.js +92 -92
  554. package/dist/reference/instructions.js +84 -84
  555. package/dist/reference.js +78 -78
  556. package/dist/repository-cache.js +72 -72
  557. package/dist/repository.js +1 -1
  558. package/dist/ripgrep/binary.js +2 -2
  559. package/dist/ripgrep.js +91 -91
  560. package/dist/rpc.js +81 -81
  561. package/dist/schema.js +1 -1
  562. package/dist/session/command.js +72 -72
  563. package/dist/session/compaction.js +125 -125
  564. package/dist/session/context.js +145 -145
  565. package/dist/session/environment.js +5 -5
  566. package/dist/session/error.js +7 -7
  567. package/dist/session/event.js +1 -1
  568. package/dist/session/execution/restart.js +214 -214
  569. package/dist/session/execution.js +120 -120
  570. package/dist/session/generate.js +146 -146
  571. package/dist/session/history.js +14 -14
  572. package/dist/session/inbox.js +86 -86
  573. package/dist/session/info.js +3 -3
  574. package/dist/session/instruction-entry.js +77 -77
  575. package/dist/session/instruction-state.js +8 -8
  576. package/dist/session/instructions.js +91 -91
  577. package/dist/session/message-updater.js +2 -2
  578. package/dist/session/message.js +1 -1
  579. package/dist/session/model-request.js +112 -112
  580. package/dist/session/model-transport.js +9 -9
  581. package/dist/session/move.js +124 -124
  582. package/dist/session/projector.js +84 -84
  583. package/dist/session/prompt.js +99 -99
  584. package/dist/session/revert.js +85 -85
  585. package/dist/session/run-coordinator.js +1 -1
  586. package/dist/session/runner/index.js +3 -3
  587. package/dist/session/runner/llm.js +221 -221
  588. package/dist/session/runner/max-steps.js +1 -1
  589. package/dist/session/runner/model.js +85 -85
  590. package/dist/session/runner/publish-llm-event.js +3 -3
  591. package/dist/session/runner/retry.js +4 -4
  592. package/dist/session/runner/step.js +117 -117
  593. package/dist/session/runner/to-llm-message.js +1 -1
  594. package/dist/session/schema.js +5 -5
  595. package/dist/session/session.js +165 -165
  596. package/dist/session/shell.js +130 -130
  597. package/dist/session/skill.js +97 -97
  598. package/dist/session/sql.js +5 -5
  599. package/dist/session/stats.js +71 -71
  600. package/dist/session/store.js +82 -82
  601. package/dist/session/subagent-completion.js +1 -1
  602. package/dist/session/subagent-job.js +203 -203
  603. package/dist/session/system-prompt.js +3 -3
  604. package/dist/session/title.js +143 -143
  605. package/dist/session/to-session-error.js +105 -105
  606. package/dist/session/transfer.js +210 -210
  607. package/dist/session/usage.js +1 -1
  608. package/dist/session.js +209 -209
  609. package/dist/shell/parse.js +6 -6
  610. package/dist/shell/result.js +1 -1
  611. package/dist/shell/scan.js +1 -1
  612. package/dist/shell/select.js +11 -11
  613. package/dist/shell.js +132 -132
  614. package/dist/skill/discovery.js +6 -6
  615. package/dist/skill/instructions.js +101 -101
  616. package/dist/skill.js +102 -102
  617. package/dist/snapshot.js +84 -84
  618. package/dist/state.js +1 -1
  619. package/dist/tool/html-markdown.js +1 -1
  620. package/dist/tool/http-body.js +1 -1
  621. package/dist/tool/mcp.js +117 -117
  622. package/dist/tool/plugin/edit.js +114 -114
  623. package/dist/tool/plugin/file-diff.js +1 -1
  624. package/dist/tool/plugin/glob.js +119 -119
  625. package/dist/tool/plugin/grep.js +119 -119
  626. package/dist/tool/plugin/opencode.js +3 -3
  627. package/dist/tool/plugin/patch.js +116 -116
  628. package/dist/tool/plugin/question.js +97 -97
  629. package/dist/tool/plugin/read.js +120 -120
  630. package/dist/tool/plugin/shell.js +204 -204
  631. package/dist/tool/plugin/skill.js +107 -107
  632. package/dist/tool/plugin/subagent.js +212 -212
  633. package/dist/tool/plugin/webfetch.js +106 -106
  634. package/dist/tool/plugin/websearch.js +104 -104
  635. package/dist/tool/plugin/write.js +116 -116
  636. package/dist/tool/read-filesystem.js +96 -96
  637. package/dist/tool/runtime.js +1 -1
  638. package/dist/tool-output.js +8 -8
  639. package/dist/tool.js +11 -11
  640. package/dist/util/error.js +1 -1
  641. package/dist/util/iife.js +1 -1
  642. package/dist/util/lazy.js +1 -1
  643. package/dist/util/slug.js +1 -1
  644. package/dist/util/token.js +1 -1
  645. package/dist/util/which.js +1 -1
  646. package/dist/util/wildcard.js +1 -1
  647. package/dist/v1/config/agent.js +3 -3
  648. package/dist/v1/config/attachment.js +4 -4
  649. package/dist/v1/config/command.js +3 -3
  650. package/dist/v1/config/config.js +16 -16
  651. package/dist/v1/config/error.js +4 -4
  652. package/dist/v1/config/formatter.js +3 -3
  653. package/dist/v1/config/layout.js +1 -1
  654. package/dist/v1/config/lsp.js +3 -3
  655. package/dist/v1/config/mcp.js +4 -4
  656. package/dist/v1/config/migrate.js +4 -4
  657. package/dist/v1/config/permission.js +5 -5
  658. package/dist/v1/config/plugin.js +1 -1
  659. package/dist/v1/config/provider-options.js +1 -1
  660. package/dist/v1/config/provider.js +2 -2
  661. package/dist/v1/config/server.js +2 -2
  662. package/dist/v1/config/skills.js +3 -3
  663. package/dist/v1/permission.js +1 -1
  664. package/dist/vcs/patch.js +1 -1
  665. package/dist/vcs.js +85 -85
  666. package/dist/websearch.js +82 -82
  667. package/dist/wellknown/plugin.js +74 -74
  668. package/dist/wellknown.js +77 -77
  669. package/dist/workspace/driver.js +5 -5
  670. package/dist/workspace/sql.js +1 -1
  671. package/dist/workspace.js +76 -76
  672. package/dist/worktree/directory.js +2 -2
  673. package/dist/worktree/git.js +7 -7
  674. package/dist/worktree/refresh.js +336 -336
  675. package/dist/worktree/sql.js +5 -5
  676. package/dist/worktree.js +89 -89
  677. package/package.json +7 -7
  678. package/dist/chunks/command-kk8qrnxm.js +0 -20
  679. package/dist/chunks/command-nhtcvqe4.js +0 -247
  680. package/dist/chunks/command-qyyps5ek.js +0 -22
  681. package/dist/chunks/command-w3vb4krt.js +0 -4
  682. package/dist/chunks/command-ydckrtmx.js +0 -18
  683. /package/dist/chunks/{command-0fabt78z.js → config-0fabt78z.js} +0 -0
  684. /package/dist/chunks/{command-0qkdqm5v.js → config-0qkdqm5v.js} +0 -0
  685. /package/dist/chunks/{command-0zkw76rk.js → config-0zkw76rk.js} +0 -0
  686. /package/dist/chunks/{command-17cy0kzp.js → config-17cy0kzp.js} +0 -0
  687. /package/dist/chunks/{command-1cnp2v09.js → config-1cnp2v09.js} +0 -0
  688. /package/dist/chunks/{command-1kg9ymc8.js → config-1kg9ymc8.js} +0 -0
  689. /package/dist/chunks/{command-2710q6r3.js → config-2710q6r3.js} +0 -0
  690. /package/dist/chunks/{command-2axfhc9x.js → config-2axfhc9x.js} +0 -0
  691. /package/dist/chunks/{command-2c3vjs8z.js → config-2c3vjs8z.js} +0 -0
  692. /package/dist/chunks/{command-359p4xyc.js → config-359p4xyc.js} +0 -0
  693. /package/dist/chunks/{command-3asan66x.js → config-3asan66x.js} +0 -0
  694. /package/dist/chunks/{command-3t738kvx.js → config-3t738kvx.js} +0 -0
  695. /package/dist/chunks/{command-3v8g72cx.js → config-3v8g72cx.js} +0 -0
  696. /package/dist/chunks/{command-3wcehsnq.js → config-3wcehsnq.js} +0 -0
  697. /package/dist/chunks/{command-41nvscxy.js → config-41nvscxy.js} +0 -0
  698. /package/dist/chunks/{command-43n2bw4t.js → config-43n2bw4t.js} +0 -0
  699. /package/dist/chunks/{command-4knz6hnm.js → config-4knz6hnm.js} +0 -0
  700. /package/dist/chunks/{command-4y7fprxs.js → config-4y7fprxs.js} +0 -0
  701. /package/dist/chunks/{command-53557ph1.js → config-53557ph1.js} +0 -0
  702. /package/dist/chunks/{command-550bvhaj.js → config-550bvhaj.js} +0 -0
  703. /package/dist/chunks/{command-6prwharc.js → config-6prwharc.js} +0 -0
  704. /package/dist/chunks/{command-7akdwqpd.js → config-7akdwqpd.js} +0 -0
  705. /package/dist/chunks/{command-7m9af43g.js → config-7m9af43g.js} +0 -0
  706. /package/dist/chunks/{command-822emrt2.js → config-822emrt2.js} +0 -0
  707. /package/dist/chunks/{command-88xbtdfr.js → config-88xbtdfr.js} +0 -0
  708. /package/dist/chunks/{command-8n3pysct.js → config-8n3pysct.js} +0 -0
  709. /package/dist/chunks/{command-982e01ww.js → config-982e01ww.js} +0 -0
  710. /package/dist/chunks/{command-9a4afbnw.js → config-9a4afbnw.js} +0 -0
  711. /package/dist/chunks/{command-9rqn6x4v.js → config-9rqn6x4v.js} +0 -0
  712. /package/dist/chunks/{command-a1tpkmh4.js → config-a1tpkmh4.js} +0 -0
  713. /package/dist/chunks/{command-af5trqkr.js → config-af5trqkr.js} +0 -0
  714. /package/dist/chunks/{command-afrmfg78.js → config-afrmfg78.js} +0 -0
  715. /package/dist/chunks/{command-aqzs7mqg.js → config-aqzs7mqg.js} +0 -0
  716. /package/dist/chunks/{command-atq7p7m5.js → config-atq7p7m5.js} +0 -0
  717. /package/dist/chunks/{command-bkyjaxrp.js → config-bkyjaxrp.js} +0 -0
  718. /package/dist/chunks/{command-bmr6ed5q.js → config-bmr6ed5q.js} +0 -0
  719. /package/dist/chunks/{command-cf4snx6d.js → config-cf4snx6d.js} +0 -0
  720. /package/dist/chunks/{command-cvy3z8tj.js → config-cvy3z8tj.js} +0 -0
  721. /package/dist/chunks/{command-d9fn303g.js → config-d9fn303g.js} +0 -0
  722. /package/dist/chunks/{command-d9jj8t3e.js → config-d9jj8t3e.js} +0 -0
  723. /package/dist/chunks/{command-dajrwvna.js → config-dajrwvna.js} +0 -0
  724. /package/dist/chunks/{command-dap0rakb.js → config-dap0rakb.js} +0 -0
  725. /package/dist/chunks/{command-df08tz66.js → config-df08tz66.js} +0 -0
  726. /package/dist/chunks/{command-dy18nga0.js → config-dy18nga0.js} +0 -0
  727. /package/dist/chunks/{command-e5kj55wp.js → config-e5kj55wp.js} +0 -0
  728. /package/dist/chunks/{command-e73j6tqm.js → config-e73j6tqm.js} +0 -0
  729. /package/dist/chunks/{command-eh3zwz77.js → config-eh3zwz77.js} +0 -0
  730. /package/dist/chunks/{command-emrn6kk6.js → config-emrn6kk6.js} +0 -0
  731. /package/dist/chunks/{command-f0mxakyp.js → config-f0mxakyp.js} +0 -0
  732. /package/dist/chunks/{command-f6n9ztr4.js → config-f6n9ztr4.js} +0 -0
  733. /package/dist/chunks/{command-faypxj3z.js → config-faypxj3z.js} +0 -0
  734. /package/dist/chunks/{command-fd410y7t.js → config-fd410y7t.js} +0 -0
  735. /package/dist/chunks/{command-fxgpk5d8.js → config-fxgpk5d8.js} +0 -0
  736. /package/dist/chunks/{command-g4wezp1m.js → config-g4wezp1m.js} +0 -0
  737. /package/dist/chunks/{command-g86h250q.js → config-g86h250q.js} +0 -0
  738. /package/dist/chunks/{command-gebd4c9n.js → config-gebd4c9n.js} +0 -0
  739. /package/dist/chunks/{command-hk9envan.js → config-hk9envan.js} +0 -0
  740. /package/dist/chunks/{command-j2ntwpah.js → config-j2ntwpah.js} +0 -0
  741. /package/dist/chunks/{command-j5zkgpj8.js → config-j5zkgpj8.js} +0 -0
  742. /package/dist/chunks/{command-jr7sbwjy.js → config-jr7sbwjy.js} +0 -0
  743. /package/dist/chunks/{command-jwfs4k6c.js → config-jwfs4k6c.js} +0 -0
  744. /package/dist/chunks/{command-jzg6c2d5.js → config-jzg6c2d5.js} +0 -0
  745. /package/dist/chunks/{command-mntxs535.js → config-mntxs535.js} +0 -0
  746. /package/dist/chunks/{command-mp448xyj.js → config-mp448xyj.js} +0 -0
  747. /package/dist/chunks/{command-msx8hqn2.js → config-msx8hqn2.js} +0 -0
  748. /package/dist/chunks/{command-n05xt0ee.js → config-n05xt0ee.js} +0 -0
  749. /package/dist/chunks/{command-n3j8tn72.js → config-n3j8tn72.js} +0 -0
  750. /package/dist/chunks/{command-njntx4h6.js → config-njntx4h6.js} +0 -0
  751. /package/dist/chunks/{command-p8qxwesx.js → config-p8qxwesx.js} +0 -0
  752. /package/dist/chunks/{command-q3sfg36h.js → config-q3sfg36h.js} +0 -0
  753. /package/dist/chunks/{command-q74kybfr.js → config-q74kybfr.js} +0 -0
  754. /package/dist/chunks/{command-qaymkmh1.js → config-qaymkmh1.js} +0 -0
  755. /package/dist/chunks/{command-qb87gjwd.js → config-qb87gjwd.js} +0 -0
  756. /package/dist/chunks/{command-qfa1cgps.js → config-qfa1cgps.js} +0 -0
  757. /package/dist/chunks/{command-qrg20bc0.js → config-qrg20bc0.js} +0 -0
  758. /package/dist/chunks/{command-rcb2kzg1.js → config-rcb2kzg1.js} +0 -0
  759. /package/dist/chunks/{command-sdp7kfr6.js → config-sdp7kfr6.js} +0 -0
  760. /package/dist/chunks/{command-se0s1eqw.js → config-se0s1eqw.js} +0 -0
  761. /package/dist/chunks/{command-sk3qaz4a.js → config-sk3qaz4a.js} +0 -0
  762. /package/dist/chunks/{command-ssg3fenm.js → config-ssg3fenm.js} +0 -0
  763. /package/dist/chunks/{command-twg0f83k.js → config-twg0f83k.js} +0 -0
  764. /package/dist/chunks/{command-w803qqfp.js → config-w803qqfp.js} +0 -0
  765. /package/dist/chunks/{command-wer8tq1h.js → config-wer8tq1h.js} +0 -0
  766. /package/dist/chunks/{command-wtztk69x.js → config-wtztk69x.js} +0 -0
  767. /package/dist/chunks/{command-x0ckcb58.js → config-x0ckcb58.js} +0 -0
  768. /package/dist/chunks/{command-x1b8g1yb.js → config-x1b8g1yb.js} +0 -0
  769. /package/dist/chunks/{command-x61499pn.js → config-x61499pn.js} +0 -0
  770. /package/dist/chunks/{command-y44na4kk.js → config-y44na4kk.js} +0 -0
  771. /package/dist/chunks/{command-y8cydn3q.js → config-y8cydn3q.js} +0 -0
  772. /package/dist/chunks/{command-ygaqb7jw.js → config-ygaqb7jw.js} +0 -0
  773. /package/dist/chunks/{command-z9919s4g.js → config-z9919s4g.js} +0 -0
  774. /package/dist/chunks/{command-zbjnn3ac.js → config-zbjnn3ac.js} +0 -0
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./command-p8qxwesx.js";
3
+ } from "./config-p8qxwesx.js";
4
4
  import {
5
5
  Service80,
6
6
  node85
7
- } from "./command-crmey8mf.js";
7
+ } from "./config-y5b08bcr.js";
8
8
  import {
9
9
  Service79,
10
10
  node84
11
- } from "./command-z7f3thhk.js";
11
+ } from "./config-2wqzt3cn.js";
12
12
  import {
13
- Service69,
14
- node74
15
- } from "./command-nst4gbxz.js";
13
+ Service78,
14
+ node83
15
+ } from "./config-eg4pr325.js";
16
16
  import {
17
- ID12,
17
+ ID18,
18
18
  Current3,
19
- Info26,
19
+ Info32,
20
20
  UpdateInput4,
21
- Event14,
21
+ Event20,
22
22
  Vcs3
23
- } from "./command-wwskzng8.js";
23
+ } from "./config-tppvcy65.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./command-9qm9egsn.js";
27
+ } from "./config-9qm9egsn.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./command-ajtjthsy.js";
30
+ } from "./config-ajtjthsy.js";
31
31
  import {
32
32
  __export
33
- } from "./command-9rqn6x4v.js";
33
+ } from "./config-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
- ID: () => ID11,
40
- Info: () => Info25,
41
- NotFoundError: () => NotFoundError9,
39
+ ID: () => ID17,
40
+ Info: () => Info31,
41
+ NotFoundError: () => NotFoundError10,
42
42
  Project: () => exports_project,
43
- Service: () => Service68,
43
+ Service: () => Service77,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node73,
46
+ node: () => node82,
47
47
  root: () => root2
48
48
  });
49
49
  import { Context, Effect, Layer, Schema } from "effect";
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode-ai/util/fs-util";
55
55
  import { AppProcess } from "@opencode-ai/util/process";
56
56
  import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
57
57
  import { Hash } from "@opencode-ai/util/hash";
58
- var ID11 = ID12;
58
+ var ID17 = ID18;
59
59
  var Vcs2 = Vcs3;
60
60
  var Current2 = Current3;
61
- var Info25 = Info26;
61
+ var Info31 = Info32;
62
62
  var UpdateInput3 = UpdateInput4;
63
63
 
64
- class NotFoundError9 extends Schema.TaggedError()("Project.NotFoundError", {
65
- projectID: ID11
64
+ class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
65
+ projectID: ID17
66
66
  }) {
67
67
  }
68
68
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
71
71
  }));
72
72
  });
73
73
 
74
- class Service68 extends Context.Service()("@opencode/Project") {
74
+ class Service77 extends Context.Service()("@opencode/Project") {
75
75
  }
76
76
  function fromRow(row) {
77
77
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -94,9 +94,9 @@ function fromRow(row) {
94
94
  sandboxes: row.sandboxes
95
95
  };
96
96
  }
97
- var layer = Layer.effect(Service68, Effect.gen(function* () {
97
+ var layer = Layer.effect(Service77, Effect.gen(function* () {
98
98
  const fs = yield* FSUtil.Service;
99
- const git = yield* Service69;
99
+ const git = yield* Service78;
100
100
  const proc = yield* AppProcess.Service;
101
101
  const bus = yield* Service79;
102
102
  const db = (yield* Service80).db;
@@ -107,7 +107,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
107
107
  if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
108
108
  const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
109
109
  if (row)
110
- yield* bus.publish(Event14.Updated, fromRow(row));
110
+ yield* bus.publish(Event20.Updated, fromRow(row));
111
111
  }
112
112
  if (!project.vcs)
113
113
  return project;
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
144
144
  yield* bus.publish(Worktree.Event.Resolved, {
145
145
  projectID: item.projectID,
146
146
  directory: item.directory,
147
- previous: project.previous ?? ID11.global,
147
+ previous: project.previous ?? ID17.global,
148
148
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
149
149
  }, {
150
150
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -166,13 +166,13 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
166
166
  time_updated: Date.now()
167
167
  }).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
168
168
  if (!row)
169
- return yield* new NotFoundError9({ projectID: input.projectID });
169
+ return yield* new NotFoundError10({ projectID: input.projectID });
170
170
  const project = fromRow(row);
171
- yield* bus.publish(Event14.Updated, project);
171
+ yield* bus.publish(Event20.Updated, project);
172
172
  return project;
173
173
  });
174
174
  const cached = Effect.fnUntraced(function* (dir) {
175
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID11.make(value) : undefined), Effect.orElseSucceed(() => {
175
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
176
176
  return;
177
177
  }));
178
178
  });
@@ -183,7 +183,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
183
183
  const normalized = url(origin);
184
184
  if (!normalized)
185
185
  return;
186
- return ID11.make(Hash.fast(`git-remote:${normalized}`));
186
+ return ID17.make(Hash.fast(`git-remote:${normalized}`));
187
187
  });
188
188
  function url(input) {
189
189
  const value = input.trim();
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
208
208
  }
209
209
  const rootCommit = Effect.fnUntraced(function* (repo) {
210
210
  const root = (yield* git.history.rootCommits(repo))[0];
211
- return root ? ID11.make(root) : undefined;
211
+ return root ? ID17.make(root) : undefined;
212
212
  });
213
213
  const hgRoot = Effect.fnUntraced(function* (worktree) {
214
214
  const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
@@ -224,7 +224,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
224
224
  return;
225
225
  const node = result.stdout.toString("utf8").split(`
226
226
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
227
- return node ? ID11.make(node) : undefined;
227
+ return node ? ID17.make(node) : undefined;
228
228
  });
229
229
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
230
230
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -233,7 +233,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
233
233
  const id = previous ?? (yield* hgRoot(worktree));
234
234
  return {
235
235
  previous,
236
- id: id ?? ID11.global,
236
+ id: id ?? ID17.global,
237
237
  directory: worktree,
238
238
  vcs: { type: "hg", store }
239
239
  };
@@ -250,7 +250,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
250
250
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
251
251
  return yield* persist({
252
252
  previous,
253
- id: id ?? ID11.global,
253
+ id: id ?? ID17.global,
254
254
  directory: repo.worktree,
255
255
  canonical,
256
256
  vcs: { type: "git", store: repo.commonDirectory }
@@ -264,18 +264,18 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
264
264
  });
265
265
  }
266
266
  return yield* persist({
267
- id: ID11.make(Hash.fast(`directory:${directory}`)),
267
+ id: ID17.make(Hash.fast(`directory:${directory}`)),
268
268
  directory,
269
269
  canonical: directory,
270
270
  vcs: undefined
271
271
  });
272
272
  });
273
- return Service68.of({ list, update, resolve });
273
+ return Service77.of({ list, update, resolve });
274
274
  }));
275
- var node73 = makeGlobalNode({
276
- service: Service68,
275
+ var node82 = makeGlobalNode({
276
+ service: Service77,
277
277
  layer,
278
- deps: [node84, node85, FSUtil.node, node74, AppProcess.node]
278
+ deps: [node84, node85, FSUtil.node, node83, AppProcess.node]
279
279
  });
280
280
 
281
- export { ID11, Vcs2, Current2, Info25, UpdateInput3, NotFoundError9, root2, Service68, node73, exports_project };
281
+ export { ID17, Vcs2, Current2, Info31, UpdateInput3, NotFoundError10, root2, Service77, node82, exports_project };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Key3,
2
+ Key4,
3
3
  removed2,
4
4
  empty3,
5
5
  make21,
6
6
  diffByKey2
7
- } from "./command-yhr218qz.js";
7
+ } from "./config-75yf2d83.js";
8
8
  import {
9
- ID6,
9
+ ID4,
10
10
  Name2,
11
11
  available2,
12
- Service50,
13
- node53
14
- } from "./command-57xv9dk6.js";
12
+ Service51,
13
+ node54
14
+ } from "./config-ye5gakfv.js";
15
15
  import {
16
16
  __export
17
- } from "./command-9rqn6x4v.js";
17
+ } from "./config-9rqn6x4v.js";
18
18
 
19
19
  // src/skill/instructions.ts
20
- var exports_instructions3 = {};
21
- __export(exports_instructions3, {
22
- Service: () => Service40,
23
- SkillInstructions: () => exports_instructions3,
24
- node: () => node44
20
+ var exports_instructions2 = {};
21
+ __export(exports_instructions2, {
22
+ Service: () => Service25,
23
+ SkillInstructions: () => exports_instructions2,
24
+ node: () => node29
25
25
  });
26
26
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
27
27
  import { Context, Effect, Layer, Schema } from "effect";
28
28
  var Summary = Schema.Struct({
29
- id: ID6,
29
+ id: ID4,
30
30
  name: Name2,
31
31
  description: Schema.String
32
32
  });
@@ -60,18 +60,18 @@ var update = (previous, current) => {
60
60
  `);
61
61
  };
62
62
 
63
- class Service40 extends Context.Service()("@opencode/SkillInstructions") {
63
+ class Service25 extends Context.Service()("@opencode/SkillInstructions") {
64
64
  }
65
- var layer = Layer.effect(Service40, Effect.gen(function* () {
66
- const skills = yield* Service50;
67
- return Service40.of({
65
+ var layer = Layer.effect(Service25, Effect.gen(function* () {
66
+ const skills = yield* Service51;
67
+ return Service25.of({
68
68
  load: Effect.fn("SkillInstructions.load")(function* (selection) {
69
69
  const agent = selection.info;
70
70
  if (!agent)
71
71
  return empty3;
72
72
  const available = available2(yield* skills.list(), agent).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
73
73
  return make21({
74
- key: Key3.make("core/skill-guidance"),
74
+ key: Key4.make("core/skill-guidance"),
75
75
  codec: Schema.toCodecJson(Schema.Array(Summary)),
76
76
  read: Effect.succeed(available.length === 0 ? removed2 : available),
77
77
  render: {
@@ -83,6 +83,6 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
83
83
  })
84
84
  });
85
85
  }));
86
- var node44 = makeLocationNode({ service: Service40, layer, deps: [node53] });
86
+ var node29 = makeLocationNode({ service: Service25, layer, deps: [node54] });
87
87
 
88
- export { Service40, node44, exports_instructions3 };
88
+ export { Service25, node29, exports_instructions2 };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  useragent2
3
- } from "./command-sjpb2e72.js";
3
+ } from "./config-4zxvp4s8.js";
4
4
  import {
5
5
  Service79
6
- } from "./command-z7f3thhk.js";
6
+ } from "./config-2wqzt3cn.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19
10
- } from "./command-v53xvqvh.js";
9
+ Event17
10
+ } from "./config-4q2e07t1.js";
11
11
  import {
12
- ID13,
12
+ ID10,
13
13
  MethodID2
14
- } from "./command-ez9t0j11.js";
14
+ } from "./config-f0xx6xrn.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
- } from "./command-pjvnvgmy.js";
18
+ } from "./config-pjvnvgmy.js";
19
19
  import {
20
- ID17,
20
+ ID9,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./command-64z8z5x5.js";
23
+ } from "./config-7gbsxqt2.js";
24
24
 
25
25
  // src/plugin/provider/openai.ts
26
26
  import { define } from "@opencode-ai/plugin/effect/plugin";
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
44
44
  }));
45
45
  var decodeClaims = Schema.decodeUnknownOption(Claims);
46
46
  var browser = (app) => ({
47
- integrationID: ID13.make("openai"),
47
+ integrationID: ID10.make("openai"),
48
48
  method: {
49
49
  id: browserMethodID,
50
50
  type: "oauth",
@@ -117,7 +117,7 @@ function addressInUse(error) {
117
117
  return "code" in error && error.code === "EADDRINUSE";
118
118
  }
119
119
  var headless = (app) => ({
120
- integrationID: ID13.make("openai"),
120
+ integrationID: ID10.make("openai"),
121
121
  method: {
122
122
  id: headlessMethodID,
123
123
  type: "oauth",
@@ -178,7 +178,7 @@ var OpenAIPlugin3 = define({
178
178
  });
179
179
  yield* load();
180
180
  yield* ctx.catalog.transform((evt) => {
181
- const item = evt.provider.get(ID17.openai);
181
+ const item = evt.provider.get(ID9.openai);
182
182
  if (!item)
183
183
  return;
184
184
  for (const model of item.models.values()) {
@@ -220,9 +220,9 @@ var OpenAIPlugin3 = define({
220
220
  evt.baseURL = codexBaseURL;
221
221
  evt.headers.originator = "opencode";
222
222
  evt.headers["session-id"] = evt.sessionID;
223
- }), { providerID: ID17.openai });
223
+ }), { providerID: ID9.openai });
224
224
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
225
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
225
+ yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
226
226
  })
227
227
  });
228
228
  function headers(contentType, app) {
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  provider2,
3
3
  model2
4
- } from "./command-0paq2nw3.js";
4
+ } from "./config-0paq2nw3.js";
5
5
  import {
6
6
  aisdk2
7
- } from "./command-64z8z5x5.js";
7
+ } from "./config-7gbsxqt2.js";
8
8
  import {
9
9
  Capabilities2,
10
10
  compatibility2
11
- } from "./command-pjvn5h54.js";
11
+ } from "./config-zre25x07.js";
12
12
  import {
13
13
  __export
14
- } from "./command-9rqn6x4v.js";
14
+ } from "./config-9rqn6x4v.js";
15
15
 
16
16
  // src/v1/config/migrate.ts
17
17
  var exports_migrate = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./command-p8qxwesx.js";
3
+ } from "./config-p8qxwesx.js";
4
4
  import {
5
5
  Info20
6
- } from "./command-sb910js5.js";
6
+ } from "./config-wtm3m4mv.js";
7
7
  import {
8
8
  __export
9
- } from "./command-9rqn6x4v.js";
9
+ } from "./config-9rqn6x4v.js";
10
10
 
11
11
  // src/v1/config/agent.ts
12
12
  var exports_agent3 = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./config-9rqn6x4v.js";
4
4
 
5
5
  // src/util/wildcard.ts
6
6
  var exports_wildcard = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./command-p8qxwesx.js";
3
+ } from "./config-p8qxwesx.js";
4
4
  import {
5
5
  __export
6
- } from "./command-9rqn6x4v.js";
6
+ } from "./config-9rqn6x4v.js";
7
7
 
8
8
  // src/worktree/directory.ts
9
9
  var exports_directory = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  makeWithDefaults2
3
- } from "./command-ajcccrn0.js";
3
+ } from "./config-qcgjm0wy.js";
4
4
  import {
5
5
  apply3
6
- } from "./command-ytrfeffg.js";
6
+ } from "./config-cbx5tm5q.js";
7
7
  import {
8
8
  __export
9
- } from "./command-9rqn6x4v.js";
9
+ } from "./config-9rqn6x4v.js";
10
10
 
11
11
  // src/database/database.ts
12
12
  var exports_database = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./config-9rqn6x4v.js";
4
4
 
5
5
  // src/effect/keyed-mutex.ts
6
6
  var exports_keyed_mutex = {};
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./command-z7f3thhk.js";
4
+ } from "./config-2wqzt3cn.js";
5
5
  import {
6
6
  create3
7
- } from "./command-kg06axw8.js";
7
+ } from "./config-kg06axw8.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./command-xj845f8f.js";
10
+ } from "./config-x6g7mdd1.js";
11
11
  import {
12
12
  __export
13
- } from "./command-9rqn6x4v.js";
13
+ } from "./config-9rqn6x4v.js";
14
14
 
15
15
  // src/skill.ts
16
16
  var exports_skill5 = {};
@@ -18,15 +18,15 @@ __export(exports_skill5, {
18
18
  DirectorySource: () => DirectorySource2,
19
19
  EmbeddedSource: () => EmbeddedSource2,
20
20
  Event: () => Event8,
21
- ID: () => ID6,
22
- Info: () => Info8,
21
+ ID: () => ID4,
22
+ Info: () => Info7,
23
23
  Name: () => Name2,
24
- Service: () => Service50,
24
+ Service: () => Service51,
25
25
  Skill: () => exports_skill5,
26
26
  Source: () => Source4,
27
27
  UrlSource: () => UrlSource2,
28
28
  available: () => available2,
29
- node: () => node53,
29
+ node: () => node54,
30
30
  prepare: () => prepare3,
31
31
  toModelOutput: () => toModelOutput3
32
32
  });
@@ -39,8 +39,8 @@ var DirectorySource2 = Skill.DirectorySource;
39
39
  var UrlSource2 = Skill.UrlSource;
40
40
  var EmbeddedSource2 = Skill.EmbeddedSource;
41
41
  var Source4 = Skill.Source;
42
- var Info8 = Skill.Info;
43
- var ID6 = Skill.ID;
42
+ var Info7 = Skill.Info;
43
+ var ID4 = Skill.ID;
44
44
  var Name2 = Skill.Name;
45
45
  var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
46
46
  var toModelOutput3 = (skill, files) => {
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
71
71
  };
72
72
  });
73
73
 
74
- class Service50 extends Context.Service()("@opencode/Skill") {
74
+ class Service51 extends Context.Service()("@opencode/Skill") {
75
75
  }
76
- var layer = Layer.effect(Service50, Effect.gen(function* () {
76
+ var layer = Layer.effect(Service51, Effect.gen(function* () {
77
77
  const bus = yield* Service79;
78
78
  const state = create3({
79
79
  name: "skill",
80
80
  initial: () => ({ skills: new Map }),
81
81
  editor: (editor) => ({
82
82
  list: () => Array.from(editor.skills.values()),
83
- get: (id) => editor.skills.get(ID6.make(id)),
83
+ get: (id) => editor.skills.get(ID4.make(id)),
84
84
  add: (skill) => {
85
85
  editor.skills.set(skill.id, { ...skill });
86
86
  },
87
87
  update: (id, update) => {
88
- const current = editor.skills.get(ID6.make(id));
88
+ const current = editor.skills.get(ID4.make(id));
89
89
  if (!current)
90
90
  return;
91
91
  update(current);
92
- current.id = ID6.make(id);
92
+ current.id = ID4.make(id);
93
93
  },
94
94
  remove: (id) => {
95
- editor.skills.delete(ID6.make(id));
95
+ editor.skills.delete(ID4.make(id));
96
96
  }
97
97
  }),
98
98
  notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
99
99
  });
100
- return Service50.of({
100
+ return Service51.of({
101
101
  transform: state.transform,
102
102
  reload: state.reload,
103
103
  get: Effect.fn("Skill.get")(function* (id) {
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
108
108
  })
109
109
  });
110
110
  }));
111
- var node53 = makeLocationNode({
112
- service: Service50,
111
+ var node54 = makeLocationNode({
112
+ service: Service51,
113
113
  layer,
114
114
  deps: [node84]
115
115
  });
116
116
 
117
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info8, ID6, Name2, available2, toModelOutput3, prepare3, Service50, node53, exports_skill5, Event8 };
117
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info7, ID4, Name2, available2, toModelOutput3, prepare3, Service51, node54, exports_skill5, Event8 };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./command-982e01ww.js";
3
+ } from "./config-982e01ww.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./command-xxz5bf5t.js";
6
+ } from "./config-mq9r6drf.js";
7
7
  import {
8
8
  MessageDecodeError2
9
- } from "./command-wcr0959g.js";
9
+ } from "./config-n6wnzfnt.js";
10
10
  import {
11
11
  InitializationBlocked2,
12
12
  read3
13
- } from "./command-yhr218qz.js";
13
+ } from "./config-75yf2d83.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./command-hrvm11jt.js";
16
+ } from "./config-hrvm11jt.js";
17
17
  import {
18
18
  initial2,
19
19
  preview3
20
- } from "./command-69wcn9zj.js";
20
+ } from "./config-rz7hn0qq.js";
21
21
  import {
22
22
  __export
23
- } from "./command-9rqn6x4v.js";
23
+ } from "./config-9rqn6x4v.js";
24
24
 
25
25
  // src/session/history.ts
26
26
  var exports_history = {};
@@ -30,7 +30,7 @@ __export(exports_history, {
30
30
  entriesForRunner: () => entriesForRunner2,
31
31
  firstUserMessage: () => firstUserMessage2,
32
32
  latestCompaction: () => latestCompaction2,
33
- load: () => load2,
33
+ load: () => load3,
34
34
  preview: () => preview2
35
35
  });
36
36
  import { and, asc, desc, eq, gte, sql } from "drizzle-orm";
@@ -48,7 +48,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID) {
48
48
  const rows = yield* db.select().from(SessionMessageTable2).where(and(eq(SessionMessageTable2.session_id, sessionID), compaction ? gte(SessionMessageTable2.seq, compaction.seq) : undefined)).orderBy(asc(SessionMessageTable2.seq)).all().pipe(Effect.orDie);
49
49
  return yield* Effect.forEach(rows, (row) => decodeMessageRow2(row).pipe(Effect.map((message) => ({ seq: row.seq, message }))));
50
50
  });
51
- var load2 = Effect.fn("SessionHistory.load")(function* (db, sessionID) {
51
+ var load3 = Effect.fn("SessionHistory.load")(function* (db, sessionID) {
52
52
  return (yield* messageEntries(db, sessionID)).map((entry) => entry.message);
53
53
  });
54
54
  var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions) {
@@ -84,4 +84,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
84
84
  return message?.type === "user" ? message : undefined;
85
85
  });
86
86
 
87
- export { latestCompaction2, decodeMessageRow2, load2, entriesForRunner2, preview2, firstUserMessage2, exports_history };
87
+ export { latestCompaction2, decodeMessageRow2, load3, entriesForRunner2, preview2, firstUserMessage2, exports_history };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./command-982e01ww.js";
3
+ } from "./config-982e01ww.js";
4
4
  import {
5
5
  __export
6
- } from "./command-9rqn6x4v.js";
6
+ } from "./config-9rqn6x4v.js";
7
7
 
8
8
  // src/session/message-updater.ts
9
9
  var exports_message_updater = {};
@@ -1,22 +1,22 @@
1
1
  import {
2
- Key3,
2
+ Key4,
3
3
  removed2,
4
4
  make21,
5
5
  diffByKey2
6
- } from "./command-yhr218qz.js";
6
+ } from "./config-75yf2d83.js";
7
7
  import {
8
8
  Summary2,
9
9
  summarize2,
10
10
  namespaceLine2
11
- } from "./command-gdvy8fx6.js";
11
+ } from "./config-gdvy8fx6.js";
12
12
  import {
13
13
  __export
14
- } from "./command-9rqn6x4v.js";
14
+ } from "./config-9rqn6x4v.js";
15
15
 
16
16
  // src/codemode/instructions.ts
17
- var exports_instructions4 = {};
18
- __export(exports_instructions4, {
19
- CodeModeInstructions: () => exports_instructions4,
17
+ var exports_instructions5 = {};
18
+ __export(exports_instructions5, {
19
+ CodeModeInstructions: () => exports_instructions5,
20
20
  make: () => make16,
21
21
  render: () => render3,
22
22
  update: () => update3
@@ -111,7 +111,7 @@ ${render3(current)}`;
111
111
  return delta;
112
112
  return replacement;
113
113
  }
114
- var key = Key3.make("core/codemode");
114
+ var key = Key4.make("core/codemode");
115
115
  var codec = Schema.toCodecJson(Summary2);
116
116
  var make16 = (inventory) => {
117
117
  const catalog = inventory === undefined ? removed2 : summarize2(inventory);
@@ -127,4 +127,4 @@ var make16 = (inventory) => {
127
127
  });
128
128
  };
129
129
 
130
- export { render3, update3, make16, exports_instructions4 };
130
+ export { render3, update3, make16, exports_instructions5 };