@opencode/core 0.0.0-dev-19599 → 0.0.0-dev-19601

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 (787) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{tool-t550f9t1.js → config-02nrjc1r.js} +8 -8
  8. package/dist/chunks/{tool-v0hcs57f.js → config-02vv4t7e.js} +4 -4
  9. package/dist/chunks/{tool-6sg447na.js → config-07ct75e8.js} +15 -15
  10. package/dist/chunks/{tool-acpnwff5.js → config-0bxteebn.js} +3 -3
  11. package/dist/chunks/{tool-w9rsy75j.js → config-0cnqf63x.js} +28 -28
  12. package/dist/chunks/{tool-f9a3pmyr.js → config-0cwcwy81.js} +13 -13
  13. package/dist/chunks/{tool-vas055je.js → config-0p1mpksr.js} +6 -6
  14. package/dist/chunks/{tool-0paq2nw3.js → config-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{tool-0q0f95c6.js → config-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{tool-r6fz4byc.js → config-0xzm444n.js} +1 -1
  17. package/dist/chunks/{tool-sy7efrgz.js → config-1037fk78.js} +28 -28
  18. package/dist/chunks/{tool-zdvgxm63.js → config-10c965xq.js} +22 -22
  19. package/dist/chunks/{tool-tvmnx93k.js → config-17gm43d7.js} +67 -67
  20. package/dist/chunks/{tool-1dazxqgg.js → config-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{tool-mrk4e56b.js → config-1hpwa04j.js} +16 -16
  22. package/dist/chunks/config-1jzc40x7.js +251 -0
  23. package/dist/chunks/{tool-21r38tys.js → config-21r38tys.js} +1 -1
  24. package/dist/chunks/{tool-s9pnwdwt.js → config-22nhpc8c.js} +1 -1
  25. package/dist/chunks/{tool-2402vzrj.js → config-2402vzrj.js} +1 -1
  26. package/dist/chunks/{tool-2a5m3afh.js → config-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{tool-jxrvs0y0.js → config-2evr9zt9.js} +17 -17
  28. package/dist/chunks/{tool-98f484r8.js → config-2nqybkx4.js} +16 -16
  29. package/dist/chunks/{tool-nffnkmsf.js → config-2qy99qce.js} +26 -26
  30. package/dist/chunks/{tool-y10wk092.js → config-2y34zzjz.js} +9 -9
  31. package/dist/chunks/{tool-yyqa94g7.js → config-311bhbyp.js} +43 -43
  32. package/dist/chunks/{tool-e4yvw0pn.js → config-33j6m0ys.js} +37 -37
  33. package/dist/chunks/{tool-56gdpj1q.js → config-33w4ejhs.js} +6 -6
  34. package/dist/chunks/{tool-bajakh74.js → config-3c4e3q8d.js} +4 -4
  35. package/dist/chunks/{tool-3fc6dm20.js → config-3fc6dm20.js} +1 -1
  36. package/dist/chunks/{tool-99yh2pdr.js → config-3gjm35pn.js} +15 -15
  37. package/dist/chunks/{tool-3hepkmqq.js → config-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{tool-2x9c36ps.js → config-3q02f9f5.js} +44 -44
  39. package/dist/chunks/{tool-3smtnn6g.js → config-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{tool-3tvqynh2.js → config-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{tool-3w0fmcng.js → config-3w2b2yj4.js} +5 -5
  42. package/dist/chunks/{tool-2vg6efqn.js → config-46mmdbbw.js} +3 -3
  43. package/dist/chunks/{tool-jj2x8ya3.js → config-49xfatwk.js} +30 -30
  44. package/dist/chunks/{tool-3g77v28p.js → config-4hvk3cj0.js} +1 -1
  45. package/dist/chunks/{tool-mf4jvz0z.js → config-4kstw10y.js} +8 -8
  46. package/dist/chunks/{tool-metb0c44.js → config-4m864w3m.js} +11 -11
  47. package/dist/chunks/{tool-wzvtb6ev.js → config-4sya3ve4.js} +20 -20
  48. package/dist/chunks/{tool-7tw3btct.js → config-4x4yz1zb.js} +6 -6
  49. package/dist/chunks/{tool-bmnapqat.js → config-4ykybvcx.js} +11 -11
  50. package/dist/chunks/{tool-pngq9dd9.js → config-512fes74.js} +20 -20
  51. package/dist/chunks/{tool-3f6m7h4m.js → config-561257dr.js} +9 -9
  52. package/dist/chunks/{tool-57ez7d0k.js → config-57ez7d0k.js} +2 -2
  53. package/dist/chunks/{tool-mtxfs5k5.js → config-5a015e2n.js} +22 -22
  54. package/dist/chunks/{tool-a1bz86dw.js → config-5c4hm403.js} +3 -3
  55. package/dist/chunks/{tool-mksr8qt3.js → config-5ckhvvdw.js} +8 -8
  56. package/dist/chunks/{tool-5daktx2q.js → config-5daktx2q.js} +1 -1
  57. package/dist/chunks/{tool-95vfjh4q.js → config-5ddn7qpa.js} +9 -9
  58. package/dist/chunks/{tool-e3qxr5gk.js → config-5qd3pb7m.js} +2 -2
  59. package/dist/chunks/{tool-5t3nmthw.js → config-5t3nmthw.js} +2 -2
  60. package/dist/chunks/{tool-h0cab0jj.js → config-5xyhe042.js} +6 -6
  61. package/dist/chunks/{tool-kj8x889q.js → config-5zfzqmbx.js} +12 -12
  62. package/dist/chunks/{tool-b7n5ecmq.js → config-661h2f9b.js} +39 -39
  63. package/dist/chunks/{tool-669tq793.js → config-669tq793.js} +1 -1
  64. package/dist/chunks/{tool-63dea9jd.js → config-6er5gdy9.js} +1 -1
  65. package/dist/chunks/{tool-jjs74g98.js → config-6jnybvqn.js} +9 -9
  66. package/dist/chunks/{tool-gbex3acd.js → config-6m7mwj0d.js} +30 -30
  67. package/dist/chunks/{tool-6msgmcgs.js → config-6msgmcgs.js} +1 -1
  68. package/dist/chunks/{tool-vgf270yp.js → config-710x7ek7.js} +1 -1
  69. package/dist/chunks/{tool-71q4at8m.js → config-71q4at8m.js} +1 -1
  70. package/dist/chunks/{tool-hddv9rh5.js → config-71t2waba.js} +11 -11
  71. package/dist/chunks/{tool-p42hj8p8.js → config-7b15y959.js} +8 -8
  72. package/dist/chunks/{tool-7bmhse3q.js → config-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{tool-2mq1h16s.js → config-7d01vtdt.js} +9 -9
  74. package/dist/chunks/{tool-fcrkznn8.js → config-7dqw4kz8.js} +5 -5
  75. package/dist/chunks/{tool-tqsepttq.js → config-7s10n74m.js} +11 -11
  76. package/dist/chunks/{tool-gan2aag1.js → config-7s61wb75.js} +2 -2
  77. package/dist/chunks/{tool-m46abj74.js → config-7z47sd0g.js} +5 -5
  78. package/dist/chunks/{tool-hswenssz.js → config-7zbs69wf.js} +20 -20
  79. package/dist/chunks/{tool-p7cb5w0v.js → config-8bcx3nez.js} +4 -4
  80. package/dist/chunks/{tool-8d7r5vzw.js → config-8d7r5vzw.js} +1 -1
  81. package/dist/chunks/config-8e0kgrz0.js +26 -0
  82. package/dist/chunks/{tool-djh8651g.js → config-8j98jw8c.js} +35 -35
  83. package/dist/chunks/{tool-ze59vjzs.js → config-8jxhrtr4.js} +32 -32
  84. package/dist/chunks/{tool-f38hchcj.js → config-8p2dyb9f.js} +16 -16
  85. package/dist/chunks/{tool-y0rh7a7t.js → config-8xmwc048.js} +30 -30
  86. package/dist/chunks/{tool-3y6z2ty2.js → config-99a0qa8k.js} +17 -17
  87. package/dist/chunks/{tool-chp1ctqz.js → config-9hcx1pw3.js} +11 -11
  88. package/dist/chunks/{tool-vmyza7nt.js → config-9pc1c82a.js} +62 -62
  89. package/dist/chunks/{tool-cddy6wgw.js → config-9vxqyqsf.js} +11 -11
  90. package/dist/chunks/{tool-f1xrsf6k.js → config-a0saq2jn.js} +15 -15
  91. package/dist/chunks/{tool-fspd6qjs.js → config-a578w8xj.js} +24 -24
  92. package/dist/chunks/{tool-vqdbe12f.js → config-a81jxvbk.js} +42 -42
  93. package/dist/chunks/{tool-e8rb0fk9.js → config-a9gm5pt7.js} +11 -11
  94. package/dist/chunks/{tool-aaet6srn.js → config-aaet6srn.js} +2 -2
  95. package/dist/chunks/{tool-rcptzcjb.js → config-af4gk936.js} +28 -28
  96. package/dist/chunks/{tool-tprb9ykm.js → config-ak9msbxp.js} +6 -6
  97. package/dist/chunks/{tool-6qkc0t3x.js → config-at1kfnmk.js} +8 -8
  98. package/dist/chunks/{tool-b6gygkdw.js → config-b6gygkdw.js} +2 -2
  99. package/dist/chunks/{tool-gjtgcmhe.js → config-b9kr5pr6.js} +6 -6
  100. package/dist/chunks/{tool-66qmevrd.js → config-bga3tdbt.js} +14 -14
  101. package/dist/chunks/{tool-e5nv3ght.js → config-bndc73cn.js} +5 -5
  102. package/dist/chunks/{tool-f3yjyja6.js → config-bspgjcjj.js} +13 -13
  103. package/dist/chunks/{tool-7v2wf9c4.js → config-bt0r0ca8.js} +33 -33
  104. package/dist/chunks/{tool-bv9pnvgp.js → config-bvs3n29g.js} +4 -4
  105. package/dist/chunks/{tool-2h74skrz.js → config-bvtyn1jh.js} +25 -25
  106. package/dist/chunks/{tool-qh3h8fjc.js → config-bx6fw66d.js} +24 -24
  107. package/dist/chunks/{tool-9kvb8f9y.js → config-c0qqbqkt.js} +23 -23
  108. package/dist/chunks/{tool-n9a9ascx.js → config-chb9knyq.js} +23 -23
  109. package/dist/chunks/{tool-4kbjb3sr.js → config-cmpbkavg.js} +18 -18
  110. package/dist/chunks/{tool-h6r3nrb9.js → config-cpj0znwe.js} +4 -4
  111. package/dist/chunks/{tool-4an599d2.js → config-d29w5y5s.js} +11 -11
  112. package/dist/chunks/{tool-t97w6b9c.js → config-dcndwnyf.js} +10 -10
  113. package/dist/chunks/{tool-vdyyrf70.js → config-dcse214k.js} +6 -6
  114. package/dist/chunks/{tool-erw0n60b.js → config-dgmceqp5.js} +8 -8
  115. package/dist/chunks/{tool-8p4f9s12.js → config-dj2t23y0.js} +2 -2
  116. package/dist/chunks/{tool-dpkg50ah.js → config-dpkg50ah.js} +1 -1
  117. package/dist/chunks/{tool-nb4aeq3b.js → config-dr66jqxh.js} +7 -7
  118. package/dist/chunks/{tool-smthb8q2.js → config-e64sr7en.js} +24 -24
  119. package/dist/chunks/{tool-ctn2km86.js → config-e8340df8.js} +6 -6
  120. package/dist/chunks/{tool-rfbvv5xc.js → config-eat4kxte.js} +4 -4
  121. package/dist/chunks/{tool-1bkx5pwe.js → config-ef38hzxk.js} +12 -12
  122. package/dist/chunks/{tool-ef5x83kb.js → config-ef5x83kb.js} +1 -1
  123. package/dist/chunks/{tool-y3acf7kc.js → config-emzzpcmn.js} +20 -20
  124. package/dist/chunks/{tool-k56b83dc.js → config-ep4s98w8.js} +19 -19
  125. package/dist/chunks/{tool-mvfsc1pv.js → config-eq1pz5kg.js} +3 -3
  126. package/dist/chunks/{tool-etq0c3wd.js → config-etq0c3wd.js} +1 -1
  127. package/dist/chunks/{tool-jzzy94zk.js → config-f7ehr2sm.js} +9 -9
  128. package/dist/chunks/{tool-va79mfn6.js → config-fdbh7561.js} +24 -24
  129. package/dist/chunks/{tool-8kacz6a1.js → config-fha9pxsp.js} +27 -27
  130. package/dist/chunks/{tool-v64wsefy.js → config-ft490bmc.js} +18 -18
  131. package/dist/chunks/{tool-ttyd6mwr.js → config-ftjyd2wg.js} +9 -9
  132. package/dist/chunks/{tool-2d57kztd.js → config-fvanntqq.js} +6 -6
  133. package/dist/chunks/{tool-fxbjtjnd.js → config-fxbjtjnd.js} +1 -1
  134. package/dist/chunks/{tool-bwfqemah.js → config-g799fvry.js} +18 -18
  135. package/dist/chunks/{tool-akvwqyjh.js → config-g7hwnr26.js} +21 -21
  136. package/dist/chunks/{tool-rm9n4pe2.js → config-gcxs8bcj.js} +29 -29
  137. package/dist/chunks/{tool-gd4qta3r.js → config-gd4qta3r.js} +1 -1
  138. package/dist/chunks/{tool-acxcbb38.js → config-gg1g9x44.js} +22 -22
  139. package/dist/chunks/{tool-7vnx6y3p.js → config-gmdddcby.js} +20 -20
  140. package/dist/chunks/{tool-gv6a8nnw.js → config-gv6a8nnw.js} +2 -2
  141. package/dist/chunks/{tool-h03wrkyp.js → config-h03wrkyp.js} +2 -2
  142. package/dist/chunks/{tool-5qdj1v4m.js → config-h2jj299s.js} +13 -13
  143. package/dist/chunks/{tool-17j9h1rv.js → config-h2r7bbkd.js} +11 -11
  144. package/dist/chunks/{tool-a6d3kgp8.js → config-h36hfp8w.js} +20 -20
  145. package/dist/chunks/{tool-h6vf3j39.js → config-h6vf3j39.js} +1 -1
  146. package/dist/chunks/{tool-f828m53h.js → config-hdnk95c8.js} +2 -2
  147. package/dist/chunks/{tool-21dj5k26.js → config-hfjwnna4.js} +9 -9
  148. package/dist/chunks/{tool-c5f1xghs.js → config-hh67s49j.js} +36 -36
  149. package/dist/chunks/{tool-tqkrwgse.js → config-hkagk5ex.js} +2 -2
  150. package/dist/chunks/{tool-ve6nm2s5.js → config-hwe7x4em.js} +6 -6
  151. package/dist/chunks/{tool-b5vpxnpr.js → config-hxhthevt.js} +24 -24
  152. package/dist/chunks/{tool-pd0fnjnr.js → config-hyts3kyv.js} +24 -24
  153. package/dist/chunks/{tool-j56e64zr.js → config-j56e64zr.js} +1 -1
  154. package/dist/chunks/{tool-da1ppnzr.js → config-jcc1af6w.js} +32 -32
  155. package/dist/chunks/{tool-8dp74fdk.js → config-jp0z8v05.js} +26 -26
  156. package/dist/chunks/{tool-4gp9przv.js → config-jq1r26zb.js} +8 -8
  157. package/dist/chunks/{tool-d55qd04d.js → config-jr7r5qxn.js} +30 -30
  158. package/dist/chunks/{tool-92s0cqnp.js → config-jsgc62f7.js} +12 -12
  159. package/dist/chunks/{tool-2wvxgkaf.js → config-jt6yj0wk.js} +33 -33
  160. package/dist/chunks/{tool-6sr3ve8g.js → config-jw80jp6b.js} +21 -21
  161. package/dist/chunks/{tool-dy775f0c.js → config-jxahb5yh.js} +14 -14
  162. package/dist/chunks/{tool-1gfn0ycf.js → config-k02etdm7.js} +32 -32
  163. package/dist/chunks/{tool-ebx0djr7.js → config-k3nb5hz9.js} +5 -5
  164. package/dist/chunks/{tool-8y01k5fy.js → config-k7d8hn12.js} +4 -4
  165. package/dist/chunks/{tool-4e0pbrm7.js → config-kbabcr0z.js} +8 -8
  166. package/dist/chunks/{tool-c0g4q567.js → config-kf89feae.js} +22 -22
  167. package/dist/chunks/{tool-ce8sn01r.js → config-kxgs9bks.js} +43 -43
  168. package/dist/chunks/{tool-cfpkc3c9.js → config-m0jqrx5p.js} +2 -2
  169. package/dist/chunks/{tool-5hsgp0bq.js → config-m33h53s5.js} +18 -18
  170. package/dist/chunks/{tool-mwp9jd7s.js → config-m62t8evc.js} +8 -8
  171. package/dist/chunks/{tool-e0b694rp.js → config-m8t7cym1.js} +23 -23
  172. package/dist/chunks/{tool-m9w0rfyh.js → config-m9w0rfyh.js} +1 -1
  173. package/dist/chunks/{tool-t06sf88e.js → config-may7gegf.js} +12 -12
  174. package/dist/chunks/{tool-bbaxns64.js → config-mec4xq3m.js} +10 -10
  175. package/dist/chunks/{tool-z4t82ehr.js → config-mhenqsgy.js} +3 -3
  176. package/dist/chunks/{tool-f1ts345w.js → config-mj8bfnak.js} +10 -10
  177. package/dist/chunks/{tool-may1xj9k.js → config-mm2fzfxw.js} +180 -180
  178. package/dist/chunks/{tool-ptg6kxy0.js → config-mmemk5tk.js} +21 -21
  179. package/dist/chunks/{tool-nafczmzp.js → config-mwqpz8n2.js} +31 -31
  180. package/dist/chunks/{tool-4gnyebnw.js → config-myqbec2v.js} +7 -7
  181. package/dist/chunks/{tool-fgb2mcbr.js → config-n1g6tgdt.js} +22 -22
  182. package/dist/chunks/{tool-7933w99v.js → config-n2p6wzd9.js} +90 -90
  183. package/dist/chunks/{tool-nr5q34ns.js → config-n46at92c.js} +15 -15
  184. package/dist/chunks/{tool-r2gzwywa.js → config-n8d9nt83.js} +29 -29
  185. package/dist/chunks/{tool-6j9t704q.js → config-nbjvymme.js} +17 -17
  186. package/dist/chunks/{tool-nvxqht09.js → config-ndmv45hp.js} +3 -3
  187. package/dist/chunks/{tool-nhy5jxhy.js → config-nhy5jxhy.js} +1 -1
  188. package/dist/chunks/{tool-nw3p9810.js → config-nq5k1b2k.js} +4 -4
  189. package/dist/chunks/{tool-fsqnn3fv.js → config-nrhg7jns.js} +18 -18
  190. package/dist/chunks/{tool-6yy9wark.js → config-nwfagajg.js} +11 -11
  191. package/dist/chunks/{tool-ead3g9p8.js → config-nxhqveyz.js} +5 -5
  192. package/dist/chunks/{tool-8e117wbv.js → config-p13m5t7c.js} +3 -3
  193. package/dist/chunks/{tool-4vkh6st7.js → config-p3eq7c85.js} +16 -16
  194. package/dist/chunks/{tool-7m0wx7n2.js → config-p4688at0.js} +5 -5
  195. package/dist/chunks/{tool-66yyaz7c.js → config-p60gzv6z.js} +46 -46
  196. package/dist/chunks/{tool-884gyjym.js → config-p71w2c74.js} +4 -4
  197. package/dist/chunks/{tool-88sz8qcd.js → config-paegk39x.js} +4 -4
  198. package/dist/chunks/{tool-pjvnvgmy.js → config-pjvnvgmy.js} +1 -1
  199. package/dist/chunks/{tool-r1dtnce0.js → config-pk8q5a7v.js} +21 -21
  200. package/dist/chunks/{tool-pknna89w.js → config-pknna89w.js} +1 -1
  201. package/dist/chunks/{tool-wjjsbp8j.js → config-q25aqn8x.js} +3 -3
  202. package/dist/chunks/{tool-d383cjmk.js → config-q8peyv7x.js} +8 -8
  203. package/dist/chunks/{tool-emgx2tje.js → config-qb2r5jjt.js} +5 -5
  204. package/dist/chunks/config-qc068m1q.js +18 -0
  205. package/dist/chunks/{tool-cdx2nmd2.js → config-qm9468kh.js} +52 -52
  206. package/dist/chunks/{tool-fdftwakz.js → config-qq98fpg3.js} +10 -10
  207. package/dist/chunks/{tool-n83tpar3.js → config-qrsrd25h.js} +36 -36
  208. package/dist/chunks/{tool-qsdy395h.js → config-qsdy395h.js} +1 -1
  209. package/dist/chunks/{tool-gjh1s6ya.js → config-qvfgmrxz.js} +14 -14
  210. package/dist/chunks/{tool-383meeh8.js → config-qxwj42xs.js} +47 -47
  211. package/dist/chunks/{tool-cejrj8y8.js → config-r1176k9f.js} +23 -23
  212. package/dist/chunks/{tool-5k338v2a.js → config-r7pkag9k.js} +22 -22
  213. package/dist/chunks/{tool-40tbggcp.js → config-r8k6ctx1.js} +35 -35
  214. package/dist/chunks/{tool-r9mregkx.js → config-r9mregkx.js} +2 -2
  215. package/dist/chunks/{tool-2gkxg42g.js → config-rabqss3e.js} +1 -1
  216. package/dist/chunks/{tool-jez6grfh.js → config-rb8ztnfs.js} +10 -10
  217. package/dist/chunks/{tool-rdw6cm16.js → config-rdw6cm16.js} +1 -1
  218. package/dist/chunks/{tool-pmwf0w9a.js → config-rff62xhr.js} +34 -34
  219. package/dist/chunks/{tool-q4wkz71m.js → config-rfrnx1x2.js} +19 -19
  220. package/dist/chunks/{tool-c8r4c7x7.js → config-rfrwpsbw.js} +27 -27
  221. package/dist/chunks/{tool-xsghnh50.js → config-rne9pc95.js} +9 -9
  222. package/dist/chunks/{tool-jndxpbzp.js → config-rnw4m13x.js} +29 -29
  223. package/dist/chunks/{tool-awzpd58r.js → config-rtkqeva5.js} +9 -9
  224. package/dist/chunks/{tool-knc2ad2x.js → config-ryqq3fs3.js} +82 -82
  225. package/dist/chunks/{tool-ec8389mk.js → config-s0esgemt.js} +4 -4
  226. package/dist/chunks/{tool-nef32yex.js → config-s0kmt45v.js} +2 -2
  227. package/dist/chunks/{tool-1d4jdnc8.js → config-sjxn26y6.js} +8 -8
  228. package/dist/chunks/{tool-ggz7fzf6.js → config-spm3grx6.js} +6 -6
  229. package/dist/chunks/{tool-kcxpnbwn.js → config-t6xy52bk.js} +23 -23
  230. package/dist/chunks/{tool-tazgh4e4.js → config-tazgh4e4.js} +1 -1
  231. package/dist/chunks/{tool-tcezcvh9.js → config-tcezcvh9.js} +1 -1
  232. package/dist/chunks/{tool-scq4khx8.js → config-tcg29b4q.js} +1 -1
  233. package/dist/chunks/{tool-tdstcens.js → config-tdstcens.js} +1 -1
  234. package/dist/chunks/{tool-efxhpxf5.js → config-tesctre0.js} +27 -27
  235. package/dist/chunks/{tool-7355chmd.js → config-tg3cprtf.js} +3 -3
  236. package/dist/chunks/{tool-zr6g55aw.js → config-thqea5vd.js} +12 -12
  237. package/dist/chunks/{tool-tvtrv512.js → config-tvtrv512.js} +1 -1
  238. package/dist/chunks/{tool-ayrzd4q0.js → config-tw1vzf9c.js} +17 -17
  239. package/dist/chunks/{tool-tqq7t134.js → config-tw1yr5et.js} +12 -12
  240. package/dist/chunks/{tool-jpsh07gn.js → config-v09z6gxa.js} +4 -4
  241. package/dist/chunks/{tool-sr5hsr7h.js → config-v3tp873m.js} +28 -28
  242. package/dist/chunks/{tool-axtvtek4.js → config-v5dkyp31.js} +7 -7
  243. package/dist/chunks/{tool-fyfytr13.js → config-v91t7ygf.js} +9 -9
  244. package/dist/chunks/{tool-xerjptys.js → config-va9enkqs.js} +5 -5
  245. package/dist/chunks/{tool-9d4sgpz8.js → config-vbh50phm.js} +9 -9
  246. package/dist/chunks/{tool-qkttm6v0.js → config-vdp3mxfz.js} +11 -11
  247. package/dist/chunks/{tool-veqvce7d.js → config-veqvce7d.js} +1 -1
  248. package/dist/chunks/{tool-7eyb1ky7.js → config-vgazdx51.js} +25 -25
  249. package/dist/chunks/{tool-1a6p2twq.js → config-vncycja5.js} +4 -4
  250. package/dist/chunks/{tool-rkdpvaam.js → config-vp05wna8.js} +17 -17
  251. package/dist/chunks/{tool-16jeg0qk.js → config-vrx3af4d.js} +302 -302
  252. package/dist/chunks/{tool-jqvwbgns.js → config-vshjjydt.js} +11 -11
  253. package/dist/chunks/{tool-c31h4aj0.js → config-vsqbtd9w.js} +54 -54
  254. package/dist/chunks/{tool-5y9tx54q.js → config-vvza37g4.js} +12 -12
  255. package/dist/chunks/{tool-5w7fqkzx.js → config-vwpvshvf.js} +10 -10
  256. package/dist/chunks/{tool-jscm6k4t.js → config-vy6azx93.js} +7 -7
  257. package/dist/chunks/{tool-vzcthcp8.js → config-vzcthcp8.js} +1 -1
  258. package/dist/chunks/{tool-w3wsvvr9.js → config-w3wsvvr9.js} +1 -1
  259. package/dist/chunks/{tool-q7wajf8z.js → config-w49382pb.js} +8 -8
  260. package/dist/chunks/{tool-7q67xa21.js → config-w4qr52xm.js} +20 -20
  261. package/dist/chunks/{tool-prres578.js → config-w7318msx.js} +19 -19
  262. package/dist/chunks/{tool-wd87259q.js → config-wd87259q.js} +1 -1
  263. package/dist/chunks/{tool-hs2aqah5.js → config-wdjzerwh.js} +5 -5
  264. package/dist/chunks/{tool-tbht75y9.js → config-wrmrmykr.js} +9 -9
  265. package/dist/chunks/{tool-x1ezjp6w.js → config-x1ezjp6w.js} +1 -1
  266. package/dist/chunks/{tool-6vq97qmv.js → config-xh49vxj8.js} +5 -5
  267. package/dist/chunks/{tool-964t6598.js → config-xj3xm1k8.js} +11 -11
  268. package/dist/chunks/{tool-9q34vwzw.js → config-xxa5qpbf.js} +27 -27
  269. package/dist/chunks/{tool-21f2rsjd.js → config-xz76qvd7.js} +13 -13
  270. package/dist/chunks/{tool-y1fvbwt7.js → config-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{tool-x7ajdgre.js → config-yadbpzqa.js} +9 -9
  272. package/dist/chunks/{tool-cseyvs3z.js → config-ybkr1nm0.js} +28 -28
  273. package/dist/chunks/{tool-253bq4qw.js → config-ybpe84zh.js} +3 -3
  274. package/dist/chunks/{tool-hnr5yq9h.js → config-yjptyezs.js} +5 -5
  275. package/dist/chunks/{tool-yp2x3t23.js → config-yp2x3t23.js} +1 -1
  276. package/dist/chunks/{tool-yrhqyw5v.js → config-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{tool-s4enseaf.js → config-yrznvahk.js} +2 -2
  278. package/dist/chunks/{tool-b4655sfp.js → config-ywxs3drb.js} +45 -45
  279. package/dist/chunks/{tool-z0bkrqjs.js → config-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{tool-tg3z6q21.js → config-z48yjxtn.js} +11 -11
  281. package/dist/chunks/{tool-29x78va6.js → config-z63w68vq.js} +6 -6
  282. package/dist/chunks/{tool-2vs2nh1n.js → config-zcrspsvn.js} +4 -4
  283. package/dist/chunks/{tool-6d1tapbz.js → config-ze5vbvww.js} +19 -19
  284. package/dist/chunks/{tool-zeh9ct20.js → config-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{tool-s4k2xazs.js → config-zqvkfjn9.js} +19 -19
  286. package/dist/chunks/{tool-zr2ceqn5.js → config-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{tool-nbzw66ce.js → config-zvgzwjz2.js} +29 -29
  288. package/dist/chunks/{tool-zxq2ej10.js → config-zxq2ej10.js} +1 -1
  289. package/dist/chunks/{tool-xkc29y86.js → config-zzk4kz08.js} +36 -36
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +7 -7
  292. package/dist/codemode/tool.js +2 -2
  293. package/dist/command.js +84 -84
  294. package/dist/config/discovery.js +81 -81
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +105 -105
  297. package/dist/config/plugin/agent.js +124 -124
  298. package/dist/config/plugin/command.js +213 -213
  299. package/dist/config/plugin/compaction.js +159 -159
  300. package/dist/config/plugin/compatibility.js +140 -140
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +123 -123
  303. package/dist/config/plugin/image.js +122 -122
  304. package/dist/config/plugin/instruction.js +89 -89
  305. package/dist/config/plugin/location-watcher.js +122 -122
  306. package/dist/config/plugin/mcp.js +131 -131
  307. package/dist/config/plugin/policy.js +122 -122
  308. package/dist/config/plugin/provider.js +121 -121
  309. package/dist/config/plugin/reference.js +124 -124
  310. package/dist/config/plugin/shell.js +124 -124
  311. package/dist/config/plugin/skill-file.js +101 -101
  312. package/dist/config/plugin/skill.js +143 -143
  313. package/dist/config/plugin/snapshot.js +122 -122
  314. package/dist/config/plugin/source.js +125 -125
  315. package/dist/config/plugin/tool-output.js +124 -124
  316. package/dist/config/plugin/websearch.js +123 -123
  317. package/dist/config/plugin/worktree.js +125 -125
  318. package/dist/config/variable.js +3 -3
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +123 -123
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +84 -84
  323. package/dist/database/database.js +65 -65
  324. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +14 -14
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration.gen.js +48 -48
  388. package/dist/database/migration.js +50 -50
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +75 -75
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +364 -364
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +1 -1
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +92 -92
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +92 -92
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +1 -1
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +73 -73
  412. package/dist/file-access.js +103 -103
  413. package/dist/file-mutation.js +93 -93
  414. package/dist/file-retention.js +1 -1
  415. package/dist/file.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/ignore.js +1 -1
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +219 -219
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +102 -102
  425. package/dist/filesystem/watcher-binding.js +3 -3
  426. package/dist/filesystem/watcher.js +13 -13
  427. package/dist/filesystem.js +101 -101
  428. package/dist/form.js +83 -83
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +88 -88
  431. package/dist/generate.js +105 -105
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +98 -98
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/id/id.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +356 -356
  457. package/dist/instruction-discovery.js +84 -84
  458. package/dist/instructions/builtins.js +86 -86
  459. package/dist/instructions/index.js +5 -5
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +85 -85
  462. package/dist/job.js +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +72 -72
  465. package/dist/location-activity.js +135 -135
  466. package/dist/location-mutation.js +103 -103
  467. package/dist/location-service-map.js +85 -85
  468. package/dist/location-services.js +353 -353
  469. package/dist/location.js +86 -86
  470. package/dist/mcp/client.js +90 -90
  471. package/dist/mcp/index.js +107 -107
  472. package/dist/mcp/instructions.js +124 -124
  473. package/dist/mcp/oauth.js +77 -77
  474. package/dist/mcp/stdio.js +89 -89
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +98 -98
  477. package/dist/model-resolver.js +98 -98
  478. package/dist/model.js +99 -99
  479. package/dist/models-dev.js +105 -105
  480. package/dist/oauth/page.js +1 -1
  481. package/dist/permission/saved.js +81 -81
  482. package/dist/permission/sql.js +5 -5
  483. package/dist/permission.js +116 -116
  484. package/dist/persistent-pty/binary.bun.js +1 -1
  485. package/dist/persistent-pty/daemon.js +1 -1
  486. package/dist/persistent-pty/index.js +87 -87
  487. package/dist/persistent-pty/pty-binding.js +1 -1
  488. package/dist/persistent-pty.js +74 -74
  489. package/dist/plugin/agent.js +103 -103
  490. package/dist/plugin/command.js +100 -100
  491. package/dist/plugin/hooks.js +5 -5
  492. package/dist/plugin/host.js +216 -216
  493. package/dist/plugin/instance.js +5 -5
  494. package/dist/plugin/internal.js +327 -327
  495. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  496. package/dist/plugin/models-dev.js +94 -94
  497. package/dist/plugin/module.js +7 -7
  498. package/dist/plugin/optimize.js +4 -4
  499. package/dist/plugin/plan.js +101 -101
  500. package/dist/plugin/promise.js +1 -1
  501. package/dist/plugin/provider/alibaba.js +2 -2
  502. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  503. package/dist/plugin/provider/azure.js +121 -121
  504. package/dist/plugin/provider/cerebras.js +89 -89
  505. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  506. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  507. package/dist/plugin/provider/cohere.js +2 -2
  508. package/dist/plugin/provider/configured.js +118 -118
  509. package/dist/plugin/provider/digitalocean.js +92 -92
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/gateway.js +2 -2
  513. package/dist/plugin/provider/github-copilot.js +92 -92
  514. package/dist/plugin/provider/gitlab.js +90 -90
  515. package/dist/plugin/provider/google-vertex.js +89 -89
  516. package/dist/plugin/provider/kilo.js +89 -89
  517. package/dist/plugin/provider/llmgateway.js +89 -89
  518. package/dist/plugin/provider/lmstudio.js +121 -121
  519. package/dist/plugin/provider/modal.js +91 -91
  520. package/dist/plugin/provider/nvidia.js +89 -89
  521. package/dist/plugin/provider/ollama.js +121 -121
  522. package/dist/plugin/provider/openai-compatible.js +1 -1
  523. package/dist/plugin/provider/openai.js +93 -93
  524. package/dist/plugin/provider/opencode.js +92 -92
  525. package/dist/plugin/provider/openrouter.js +90 -90
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +77 -77
  528. package/dist/plugin/provider/sap-ai-core.js +90 -90
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  531. package/dist/plugin/provider/venice.js +2 -2
  532. package/dist/plugin/provider/vercel.js +89 -89
  533. package/dist/plugin/provider/vllm.js +121 -121
  534. package/dist/plugin/provider/xai.js +90 -90
  535. package/dist/plugin/provider/zenmux.js +89 -89
  536. package/dist/plugin/provider.js +159 -159
  537. package/dist/plugin/sdk.js +73 -73
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +140 -140
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +346 -346
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/variant.js +91 -91
  544. package/dist/plugin/vcs/git.js +85 -85
  545. package/dist/plugin/vcs/hg.js +85 -85
  546. package/dist/plugin/warming.js +120 -120
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +8 -8
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +4 -4
  551. package/dist/plugin/websearch/parallel.js +8 -8
  552. package/dist/plugin/websearch/tavily.js +6 -6
  553. package/dist/plugin/websearch/tinyfish.js +8 -8
  554. package/dist/plugin.js +223 -223
  555. package/dist/project/schema.js +2 -2
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +79 -79
  558. package/dist/provider.js +100 -100
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/schema.js +1 -1
  561. package/dist/pty/ticket.js +1 -1
  562. package/dist/pty.js +91 -91
  563. package/dist/reference/instructions.js +88 -88
  564. package/dist/reference.js +88 -88
  565. package/dist/repository-cache.js +80 -80
  566. package/dist/repository.js +1 -1
  567. package/dist/ripgrep/binary.js +2 -2
  568. package/dist/ripgrep.js +94 -94
  569. package/dist/rpc.js +85 -85
  570. package/dist/schema.js +1 -1
  571. package/dist/session/command.js +73 -73
  572. package/dist/session/compaction.js +131 -131
  573. package/dist/session/context.js +151 -151
  574. package/dist/session/diff.js +87 -87
  575. package/dist/session/environment.js +5 -5
  576. package/dist/session/error.js +7 -7
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +223 -223
  579. package/dist/session/execution.js +128 -128
  580. package/dist/session/generate.js +152 -152
  581. package/dist/session/history.js +15 -15
  582. package/dist/session/inbox.js +85 -85
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +78 -78
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +96 -96
  587. package/dist/session/message-updater.js +4 -4
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +117 -117
  590. package/dist/session/model-transport.js +9 -9
  591. package/dist/session/move.js +130 -130
  592. package/dist/session/projector.js +85 -85
  593. package/dist/session/prompt.js +104 -104
  594. package/dist/session/provider-context.js +3 -3
  595. package/dist/session/revert.js +89 -89
  596. package/dist/session/run-coordinator.js +1 -1
  597. package/dist/session/runner/index.js +3 -3
  598. package/dist/session/runner/llm.js +228 -228
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +94 -94
  601. package/dist/session/runner/publish-llm-event.js +3 -3
  602. package/dist/session/runner/retry.js +112 -112
  603. package/dist/session/runner/step.js +125 -125
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +5 -5
  606. package/dist/session/session.js +172 -172
  607. package/dist/session/shell.js +137 -137
  608. package/dist/session/skill.js +102 -102
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +72 -72
  611. package/dist/session/store.js +86 -86
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +207 -207
  614. package/dist/session/system-prompt.js +1 -1
  615. package/dist/session/title.js +155 -155
  616. package/dist/session/to-session-error.js +111 -111
  617. package/dist/session/transfer.js +216 -216
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +217 -217
  620. package/dist/shell/parse.js +6 -6
  621. package/dist/shell/result.js +1 -1
  622. package/dist/shell/scan.js +1 -1
  623. package/dist/shell/select.js +3 -3
  624. package/dist/shell.js +139 -139
  625. package/dist/skill/discovery.js +6 -6
  626. package/dist/skill/instructions.js +106 -106
  627. package/dist/skill.js +109 -109
  628. package/dist/snapshot.js +90 -90
  629. package/dist/state.js +1 -1
  630. package/dist/tool/html-markdown.js +1 -1
  631. package/dist/tool/http-body.js +1 -1
  632. package/dist/tool/mcp.js +123 -123
  633. package/dist/tool/plugin/edit.js +117 -117
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +123 -123
  636. package/dist/tool/plugin/grep.js +119 -119
  637. package/dist/tool/plugin/opencode.js +3 -3
  638. package/dist/tool/plugin/patch.js +117 -117
  639. package/dist/tool/plugin/question.js +102 -102
  640. package/dist/tool/plugin/read.js +124 -124
  641. package/dist/tool/plugin/shell.js +216 -216
  642. package/dist/tool/plugin/skill.js +106 -106
  643. package/dist/tool/plugin/subagent.js +216 -216
  644. package/dist/tool/plugin/webfetch.js +109 -109
  645. package/dist/tool/plugin/websearch.js +113 -113
  646. package/dist/tool/plugin/write.js +121 -121
  647. package/dist/tool/read-filesystem.js +99 -99
  648. package/dist/tool/runtime.js +1 -1
  649. package/dist/tool-output.js +8 -8
  650. package/dist/tool.js +13 -13
  651. package/dist/types/session/session.d.ts +2 -3
  652. package/dist/util/error-summary.js +1 -1
  653. package/dist/util/error.js +1 -1
  654. package/dist/util/git-executable.js +2 -2
  655. package/dist/util/iife.js +1 -1
  656. package/dist/util/lazy.js +1 -1
  657. package/dist/util/slug.js +1 -1
  658. package/dist/util/token.js +1 -1
  659. package/dist/util/which.js +1 -1
  660. package/dist/util/wildcard.js +1 -1
  661. package/dist/v1/config/agent.js +7 -7
  662. package/dist/v1/config/attachment.js +4 -4
  663. package/dist/v1/config/command.js +5 -5
  664. package/dist/v1/config/config.js +16 -16
  665. package/dist/v1/config/error.js +4 -4
  666. package/dist/v1/config/formatter.js +7 -7
  667. package/dist/v1/config/layout.js +1 -1
  668. package/dist/v1/config/lsp.js +5 -5
  669. package/dist/v1/config/mcp.js +4 -4
  670. package/dist/v1/config/migrate.js +91 -91
  671. package/dist/v1/config/permission.js +7 -7
  672. package/dist/v1/config/plugin.js +3 -3
  673. package/dist/v1/config/provider-options.js +1 -1
  674. package/dist/v1/config/provider.js +4 -4
  675. package/dist/v1/config/server.js +2 -2
  676. package/dist/v1/config/skills.js +3 -3
  677. package/dist/v1/permission.js +1 -1
  678. package/dist/vcs/patch.js +1 -1
  679. package/dist/vcs.js +88 -88
  680. package/dist/websearch.js +83 -83
  681. package/dist/wellknown/plugin.js +75 -75
  682. package/dist/wellknown.js +78 -78
  683. package/dist/workspace/driver.js +5 -5
  684. package/dist/workspace/sql.js +1 -1
  685. package/dist/workspace.js +77 -77
  686. package/dist/worktree/directory.js +2 -2
  687. package/dist/worktree/git.js +10 -10
  688. package/dist/worktree/refresh.js +345 -345
  689. package/dist/worktree/sql.js +5 -5
  690. package/dist/worktree.js +93 -93
  691. package/package.json +8 -8
  692. package/dist/chunks/tool-9sh4wc5j.js +0 -18
  693. package/dist/chunks/tool-dadjnxcz.js +0 -26
  694. package/dist/chunks/tool-yqybgd19.js +0 -251
  695. /package/dist/chunks/{tool-0mesazry.js → config-0mesazry.js} +0 -0
  696. /package/dist/chunks/{tool-0qkdqm5v.js → config-0qkdqm5v.js} +0 -0
  697. /package/dist/chunks/{tool-0zkw76rk.js → config-0zkw76rk.js} +0 -0
  698. /package/dist/chunks/{tool-17cy0kzp.js → config-17cy0kzp.js} +0 -0
  699. /package/dist/chunks/{tool-1cnp2v09.js → config-1cnp2v09.js} +0 -0
  700. /package/dist/chunks/{tool-1kg9ymc8.js → config-1kg9ymc8.js} +0 -0
  701. /package/dist/chunks/{tool-2710q6r3.js → config-2710q6r3.js} +0 -0
  702. /package/dist/chunks/{tool-2axfhc9x.js → config-2axfhc9x.js} +0 -0
  703. /package/dist/chunks/{tool-2c3vjs8z.js → config-2c3vjs8z.js} +0 -0
  704. /package/dist/chunks/{tool-359p4xyc.js → config-359p4xyc.js} +0 -0
  705. /package/dist/chunks/{tool-3asan66x.js → config-3asan66x.js} +0 -0
  706. /package/dist/chunks/{tool-3v8g72cx.js → config-3v8g72cx.js} +0 -0
  707. /package/dist/chunks/{tool-3w5fmr99.js → config-3w5fmr99.js} +0 -0
  708. /package/dist/chunks/{tool-3wcehsnq.js → config-3wcehsnq.js} +0 -0
  709. /package/dist/chunks/{tool-43n2bw4t.js → config-43n2bw4t.js} +0 -0
  710. /package/dist/chunks/{tool-4knz6hnm.js → config-4knz6hnm.js} +0 -0
  711. /package/dist/chunks/{tool-4vcrnpx2.js → config-4vcrnpx2.js} +0 -0
  712. /package/dist/chunks/{tool-4y7fprxs.js → config-4y7fprxs.js} +0 -0
  713. /package/dist/chunks/{tool-53557ph1.js → config-53557ph1.js} +0 -0
  714. /package/dist/chunks/{tool-550bvhaj.js → config-550bvhaj.js} +0 -0
  715. /package/dist/chunks/{tool-6prwharc.js → config-6prwharc.js} +0 -0
  716. /package/dist/chunks/{tool-7akdwqpd.js → config-7akdwqpd.js} +0 -0
  717. /package/dist/chunks/{tool-7m9af43g.js → config-7m9af43g.js} +0 -0
  718. /package/dist/chunks/{tool-822emrt2.js → config-822emrt2.js} +0 -0
  719. /package/dist/chunks/{tool-88xbtdfr.js → config-88xbtdfr.js} +0 -0
  720. /package/dist/chunks/{tool-8n3pysct.js → config-8n3pysct.js} +0 -0
  721. /package/dist/chunks/{tool-922hggd3.js → config-922hggd3.js} +0 -0
  722. /package/dist/chunks/{tool-9a4afbnw.js → config-9a4afbnw.js} +0 -0
  723. /package/dist/chunks/{tool-9rqn6x4v.js → config-9rqn6x4v.js} +0 -0
  724. /package/dist/chunks/{tool-a6k6eb26.js → config-a6k6eb26.js} +0 -0
  725. /package/dist/chunks/{tool-af5trqkr.js → config-af5trqkr.js} +0 -0
  726. /package/dist/chunks/{tool-afrmfg78.js → config-afrmfg78.js} +0 -0
  727. /package/dist/chunks/{tool-aqzs7mqg.js → config-aqzs7mqg.js} +0 -0
  728. /package/dist/chunks/{tool-atq7p7m5.js → config-atq7p7m5.js} +0 -0
  729. /package/dist/chunks/{tool-bkyjaxrp.js → config-bkyjaxrp.js} +0 -0
  730. /package/dist/chunks/{tool-bmr6ed5q.js → config-bmr6ed5q.js} +0 -0
  731. /package/dist/chunks/{tool-cf4snx6d.js → config-cf4snx6d.js} +0 -0
  732. /package/dist/chunks/{tool-cvy3z8tj.js → config-cvy3z8tj.js} +0 -0
  733. /package/dist/chunks/{tool-d9fn303g.js → config-d9fn303g.js} +0 -0
  734. /package/dist/chunks/{tool-d9jj8t3e.js → config-d9jj8t3e.js} +0 -0
  735. /package/dist/chunks/{tool-dajrwvna.js → config-dajrwvna.js} +0 -0
  736. /package/dist/chunks/{tool-dap0rakb.js → config-dap0rakb.js} +0 -0
  737. /package/dist/chunks/{tool-df08tz66.js → config-df08tz66.js} +0 -0
  738. /package/dist/chunks/{tool-dy18nga0.js → config-dy18nga0.js} +0 -0
  739. /package/dist/chunks/{tool-e5kj55wp.js → config-e5kj55wp.js} +0 -0
  740. /package/dist/chunks/{tool-e73j6tqm.js → config-e73j6tqm.js} +0 -0
  741. /package/dist/chunks/{tool-ec1grn59.js → config-ec1grn59.js} +0 -0
  742. /package/dist/chunks/{tool-eh3zwz77.js → config-eh3zwz77.js} +0 -0
  743. /package/dist/chunks/{tool-emrn6kk6.js → config-emrn6kk6.js} +0 -0
  744. /package/dist/chunks/{tool-f0mxakyp.js → config-f0mxakyp.js} +0 -0
  745. /package/dist/chunks/{tool-f6n9ztr4.js → config-f6n9ztr4.js} +0 -0
  746. /package/dist/chunks/{tool-faypxj3z.js → config-faypxj3z.js} +0 -0
  747. /package/dist/chunks/{tool-fd410y7t.js → config-fd410y7t.js} +0 -0
  748. /package/dist/chunks/{tool-fxgpk5d8.js → config-fxgpk5d8.js} +0 -0
  749. /package/dist/chunks/{tool-g4wezp1m.js → config-g4wezp1m.js} +0 -0
  750. /package/dist/chunks/{tool-g86h250q.js → config-g86h250q.js} +0 -0
  751. /package/dist/chunks/{tool-gebd4c9n.js → config-gebd4c9n.js} +0 -0
  752. /package/dist/chunks/{tool-gftt206x.js → config-gftt206x.js} +0 -0
  753. /package/dist/chunks/{tool-hjbc5kem.js → config-hjbc5kem.js} +0 -0
  754. /package/dist/chunks/{tool-hk9envan.js → config-hk9envan.js} +0 -0
  755. /package/dist/chunks/{tool-hrnqkpcd.js → config-hrnqkpcd.js} +0 -0
  756. /package/dist/chunks/{tool-j2ntwpah.js → config-j2ntwpah.js} +0 -0
  757. /package/dist/chunks/{tool-j5zkgpj8.js → config-j5zkgpj8.js} +0 -0
  758. /package/dist/chunks/{tool-jr7sbwjy.js → config-jr7sbwjy.js} +0 -0
  759. /package/dist/chunks/{tool-jwfs4k6c.js → config-jwfs4k6c.js} +0 -0
  760. /package/dist/chunks/{tool-jzg6c2d5.js → config-jzg6c2d5.js} +0 -0
  761. /package/dist/chunks/{tool-mp448xyj.js → config-mp448xyj.js} +0 -0
  762. /package/dist/chunks/{tool-msx8hqn2.js → config-msx8hqn2.js} +0 -0
  763. /package/dist/chunks/{tool-n05xt0ee.js → config-n05xt0ee.js} +0 -0
  764. /package/dist/chunks/{tool-n3j8tn72.js → config-n3j8tn72.js} +0 -0
  765. /package/dist/chunks/{tool-njntx4h6.js → config-njntx4h6.js} +0 -0
  766. /package/dist/chunks/{tool-q3sfg36h.js → config-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{tool-q74kybfr.js → config-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{tool-qaymkmh1.js → config-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{tool-qb87gjwd.js → config-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{tool-qfa1cgps.js → config-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{tool-qrg20bc0.js → config-qrg20bc0.js} +0 -0
  772. /package/dist/chunks/{tool-rcb2kzg1.js → config-rcb2kzg1.js} +0 -0
  773. /package/dist/chunks/{tool-sdp7kfr6.js → config-sdp7kfr6.js} +0 -0
  774. /package/dist/chunks/{tool-sk3qaz4a.js → config-sk3qaz4a.js} +0 -0
  775. /package/dist/chunks/{tool-ssg3fenm.js → config-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{tool-twg0f83k.js → config-twg0f83k.js} +0 -0
  777. /package/dist/chunks/{tool-w803qqfp.js → config-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{tool-wer8tq1h.js → config-wer8tq1h.js} +0 -0
  779. /package/dist/chunks/{tool-wtztk69x.js → config-wtztk69x.js} +0 -0
  780. /package/dist/chunks/{tool-x0ckcb58.js → config-x0ckcb58.js} +0 -0
  781. /package/dist/chunks/{tool-x61499pn.js → config-x61499pn.js} +0 -0
  782. /package/dist/chunks/{tool-y44na4kk.js → config-y44na4kk.js} +0 -0
  783. /package/dist/chunks/{tool-y8cydn3q.js → config-y8cydn3q.js} +0 -0
  784. /package/dist/chunks/{tool-y8f7s663.js → config-y8f7s663.js} +0 -0
  785. /package/dist/chunks/{tool-ygaqb7jw.js → config-ygaqb7jw.js} +0 -0
  786. /package/dist/chunks/{tool-ym463w8f.js → config-ym463w8f.js} +0 -0
  787. /package/dist/chunks/{tool-z9919s4g.js → config-z9919s4g.js} +0 -0
@@ -1,52 +1,52 @@
1
1
  import {
2
- Service80,
3
- node85
4
- } from "./tool-1bkx5pwe.js";
2
+ Service79,
3
+ node84
4
+ } from "./config-ef38hzxk.js";
5
5
  import {
6
- node65
7
- } from "./tool-fgb2mcbr.js";
6
+ node66
7
+ } from "./config-n1g6tgdt.js";
8
8
  import {
9
- Service3,
10
- node5
11
- } from "./tool-c8r4c7x7.js";
9
+ Service8,
10
+ node11
11
+ } from "./config-rfrwpsbw.js";
12
12
  import {
13
- Service32
14
- } from "./tool-9sh4wc5j.js";
13
+ Service37
14
+ } from "./config-qc068m1q.js";
15
15
  import {
16
- node23,
16
+ node21,
17
17
  ID3
18
- } from "./tool-pngq9dd9.js";
18
+ } from "./config-512fes74.js";
19
19
  import {
20
- Service9,
21
- node11
22
- } from "./tool-p42hj8p8.js";
20
+ Service6,
21
+ node9
22
+ } from "./config-7b15y959.js";
23
23
  import {
24
24
  requirements2,
25
25
  list2
26
- } from "./tool-16jeg0qk.js";
26
+ } from "./config-vrx3af4d.js";
27
27
  import {
28
- make3,
28
+ make7,
29
29
  LoadError2
30
- } from "./tool-4gp9przv.js";
30
+ } from "./config-jq1r26zb.js";
31
31
  import {
32
32
  Updated2,
33
- Service4,
34
- node6
35
- } from "./tool-t06sf88e.js";
36
- import {
37
- Service8,
33
+ Service7,
38
34
  node10
39
- } from "./tool-jzzy94zk.js";
35
+ } from "./config-may7gegf.js";
36
+ import {
37
+ Service4,
38
+ node7
39
+ } from "./config-f7ehr2sm.js";
40
40
  import {
41
41
  __export
42
- } from "./tool-9rqn6x4v.js";
42
+ } from "./config-9rqn6x4v.js";
43
43
 
44
44
  // src/plugin/supervisor.ts
45
45
  var exports_supervisor = {};
46
46
  __export(exports_supervisor, {
47
47
  PluginSupervisor: () => exports_supervisor,
48
- layer: () => layer3,
49
- node: () => node4
48
+ layer: () => layer4,
49
+ node: () => node6
50
50
  });
51
51
  import { Event } from "@opencode/schema/config";
52
52
  import { Cause, Effect, Layer, Queue, Stream } from "effect";
@@ -124,14 +124,14 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
124
124
  pending: [...pending]
125
125
  };
126
126
  });
127
- var layer3 = Layer.effectDiscard(Effect.gen(function* () {
128
- const registry = yield* Service32;
129
- const sdk = yield* Service4;
130
- const instance = yield* Service9;
131
- const sources = yield* Service3;
132
- const modules = yield* make3();
133
- const bus = yield* Service80;
134
- const updates = yield* Service8;
127
+ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
128
+ const registry = yield* Service37;
129
+ const sdk = yield* Service7;
130
+ const instance = yield* Service6;
131
+ const sources = yield* Service8;
132
+ const modules = yield* make7();
133
+ const bus = yield* Service79;
134
+ const updates = yield* Service4;
135
135
  const internal = yield* list2();
136
136
  let release = yield* registry.hold();
137
137
  yield* Effect.addFinalizer(() => release ?? Effect.void);
@@ -206,14 +206,14 @@ var layer3 = Layer.effectDiscard(Effect.gen(function* () {
206
206
  })), Effect.forkScoped({ startImmediately: true }));
207
207
  }));
208
208
  var nodeDeps = [
209
- node23,
210
- node6,
211
- node11,
212
- node5,
209
+ node21,
213
210
  node10,
214
- node85,
211
+ node9,
212
+ node11,
213
+ node7,
214
+ node84,
215
215
  Npm.node,
216
- node65,
216
+ node66,
217
217
  requirements2
218
218
  ];
219
219
  function pluginSource(target) {
@@ -221,6 +221,6 @@ function pluginSource(target) {
221
221
  return { type: "local", path: target };
222
222
  return { type: "package", target };
223
223
  }
224
- var node4 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
224
+ var node6 = makeLocationNode({ name: "plugin-supervisor", layer: layer4, deps: nodeDeps });
225
225
 
226
- export { layer3, node4, exports_supervisor };
226
+ export { layer4, node6, exports_supervisor };
@@ -1,80 +1,80 @@
1
1
  import {
2
2
  Service81
3
- } from "./tool-2vg6efqn.js";
3
+ } from "./config-46mmdbbw.js";
4
4
  import {
5
- Service80
6
- } from "./tool-1bkx5pwe.js";
5
+ Service79
6
+ } from "./config-ef38hzxk.js";
7
7
  import {
8
- Service43
9
- } from "./tool-ve6nm2s5.js";
8
+ Service44
9
+ } from "./config-hwe7x4em.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./tool-fxbjtjnd.js";
12
+ } from "./config-fxbjtjnd.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./tool-gftt206x.js";
15
+ } from "./config-gftt206x.js";
16
16
  import {
17
- NotFoundError6,
17
+ NotFoundError10,
18
18
  PromptConflictError2,
19
19
  SyntheticConflictError2,
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./tool-tbht75y9.js";
23
+ } from "./config-wrmrmykr.js";
24
24
  import {
25
25
  SessionEvent2
26
- } from "./tool-ec1grn59.js";
26
+ } from "./config-ec1grn59.js";
27
27
  import {
28
- Service48
29
- } from "./tool-4vkh6st7.js";
28
+ Service72
29
+ } from "./config-p3eq7c85.js";
30
30
  import {
31
31
  Delivery2,
32
32
  SyntheticPayload2,
33
- Service41
34
- } from "./tool-akvwqyjh.js";
33
+ Service43
34
+ } from "./config-g7hwnr26.js";
35
35
  import {
36
- Service39
37
- } from "./tool-b7n5ecmq.js";
36
+ Service40
37
+ } from "./config-661h2f9b.js";
38
38
  import {
39
39
  prepare2
40
- } from "./tool-mrk4e56b.js";
40
+ } from "./config-1hpwa04j.js";
41
41
  import {
42
42
  stage2,
43
43
  clear2,
44
44
  commit2
45
- } from "./tool-kcxpnbwn.js";
45
+ } from "./config-t6xy52bk.js";
46
46
  import {
47
47
  start2
48
- } from "./tool-3f6m7h4m.js";
48
+ } from "./config-561257dr.js";
49
49
  import {
50
50
  get4
51
- } from "./tool-xsghnh50.js";
51
+ } from "./config-rne9pc95.js";
52
52
  import {
53
53
  __export
54
- } from "./tool-9rqn6x4v.js";
54
+ } from "./config-9rqn6x4v.js";
55
55
 
56
56
  // src/session/session.ts
57
57
  var exports_session2 = {};
58
58
  __export(exports_session2, {
59
59
  Session: () => exports_session2,
60
- make: () => make12
60
+ make: () => make15
61
61
  });
62
62
  import { DateTime, Effect, Fiber, Scope } from "effect";
63
63
  import { Event } from "@opencode/schema/event";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
- var make12 = Effect.fn("Session.make")(function* () {
66
- const bus = yield* Service80;
65
+ var make15 = Effect.fn("Session.make")(function* () {
66
+ const bus = yield* Service79;
67
67
  const database = yield* Service81;
68
- const store = yield* Service48;
69
- const instances = yield* Service43;
70
- const execution = yield* Service39;
71
- const admission = yield* Service41;
68
+ const store = yield* Service72;
69
+ const instances = yield* Service44;
70
+ const execution = yield* Service40;
71
+ const admission = yield* Service43;
72
72
  const fs = yield* FSUtil.Service;
73
73
  const scope = yield* Scope.Scope;
74
74
  const get = Effect.fn("Session.get")(function* (sessionID) {
75
75
  const session = yield* store.get(sessionID);
76
76
  if (!session)
77
- return yield* new NotFoundError6({ sessionID });
77
+ return yield* new NotFoundError10({ sessionID });
78
78
  return session;
79
79
  });
80
80
  const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
@@ -131,7 +131,7 @@ var make12 = Effect.fn("Session.make")(function* () {
131
131
  });
132
132
  if (existing)
133
133
  return existing;
134
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service43, instances), Effect.provideService(FSUtil.Service, fs)));
134
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service44, instances), Effect.provideService(FSUtil.Service, fs)));
135
135
  if (session.revert)
136
136
  yield* commit2(bus, session);
137
137
  return yield* admission.admit({
@@ -147,7 +147,7 @@ var make12 = Effect.fn("Session.make")(function* () {
147
147
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
148
148
  const session = yield* get(sessionID);
149
149
  const running = yield* Effect.gen(function* () {
150
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service43, instances), Effect.tapError((error) => synthetic(sessionID, {
150
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service44, instances), Effect.tapError((error) => synthetic(sessionID, {
151
151
  text: `User shell command failed to start:
152
152
  ${input.command}
153
153
 
@@ -159,7 +159,7 @@ ${error.message}`,
159
159
  yield* bus.publish(SessionEvent2.Shell.Started, {
160
160
  sessionID,
161
161
  shell: started.info
162
- }, { id: input.id });
162
+ }, { id: input.id ? Event.ID.make(input.id.replace(/^msg_/, "evt_")) : undefined });
163
163
  const terminal = yield* started.result;
164
164
  const preview = yield* started.output;
165
165
  yield* bus.publish(SessionEvent2.Shell.Ended, {
@@ -176,13 +176,13 @@ ${error.message}`,
176
176
  });
177
177
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
178
178
  const session = yield* get(sessionID);
179
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service43, instances));
179
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service44, instances));
180
180
  yield* bus.publish(SessionEvent2.Skill.Activated, {
181
181
  sessionID,
182
182
  id: skill.id,
183
183
  name: skill.name,
184
184
  text: skill.content
185
- }, { id: input.id ? Event.ID.make(input.id.replace(/^msg_/, "evt_")) : undefined });
185
+ }, { id: input.messageID ? Event.ID.make(input.messageID.replace(/^msg_/, "evt_")) : undefined });
186
186
  if (input.resume !== false)
187
187
  yield* execution.resume(sessionID).pipe(Effect.ignore, Effect.forkIn(scope, { startImmediately: true }), Effect.asVoid);
188
188
  });
@@ -233,13 +233,13 @@ ${error.message}`,
233
233
  const session = yield* get(sessionID);
234
234
  if (yield* execution.isActive(sessionID))
235
235
  return yield* new BusyError2({ sessionID });
236
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service43, instances), Effect.provideService(Service81, database), Effect.provideService(Service80, bus));
236
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service44, instances), Effect.provideService(Service81, database), Effect.provideService(Service79, bus));
237
237
  });
238
238
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
239
239
  const session = yield* get(sessionID);
240
240
  if (yield* execution.isActive(sessionID))
241
241
  return yield* new BusyError2({ sessionID });
242
- yield* clear2(session).pipe(Effect.provideService(Service43, instances), Effect.provideService(Service80, bus));
242
+ yield* clear2(session).pipe(Effect.provideService(Service44, instances), Effect.provideService(Service79, bus));
243
243
  return yield* execution.wake(sessionID);
244
244
  });
245
245
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -322,4 +322,4 @@ ${error.message}`,
322
322
  return { forSession };
323
323
  });
324
324
 
325
- export { make12, exports_session2 };
325
+ export { make15, exports_session2 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  collectBoundedResponseBody2
3
- } from "./tool-3v8g72cx.js";
3
+ } from "./config-3v8g72cx.js";
4
4
  import {
5
5
  __export
6
- } from "./tool-9rqn6x4v.js";
6
+ } from "./config-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/mcp.ts
9
- var exports_mcp2 = {};
10
- __export(exports_mcp2, {
9
+ var exports_mcp = {};
10
+ __export(exports_mcp, {
11
11
  MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
12
- WebSearchMcp: () => exports_mcp2,
12
+ WebSearchMcp: () => exports_mcp,
13
13
  call: () => call2,
14
14
  parseResponse: () => parseResponse2
15
15
  });
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
61
61
  }));
62
62
  });
63
63
 
64
- export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp2 };
64
+ export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp };
@@ -5,17 +5,17 @@ import {
5
5
  renderInitial2,
6
6
  renderUpdate2,
7
7
  applyHashDelta2
8
- } from "./tool-t550f9t1.js";
8
+ } from "./config-02nrjc1r.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./tool-ec1grn59.js";
11
+ } from "./config-ec1grn59.js";
12
12
  import {
13
13
  InstructionBlobTable2,
14
14
  InstructionStateTable2
15
- } from "./tool-a1bz86dw.js";
15
+ } from "./config-5c4hm403.js";
16
16
  import {
17
17
  __export
18
- } from "./tool-9rqn6x4v.js";
18
+ } from "./config-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instruction-state.ts
21
21
  var exports_instruction_state = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./tool-9rqn6x4v.js";
3
+ } from "./config-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/catalog.ts
6
6
  var exports_catalog = {};
@@ -1,45 +1,45 @@
1
1
  import {
2
- Service61
3
- } from "./tool-fgb2mcbr.js";
2
+ Service62
3
+ } from "./config-n1g6tgdt.js";
4
4
  import {
5
5
  unavailable3
6
- } from "./tool-t550f9t1.js";
6
+ } from "./config-02nrjc1r.js";
7
7
  import {
8
8
  AbsolutePath2
9
- } from "./tool-922hggd3.js";
9
+ } from "./config-922hggd3.js";
10
10
  import {
11
11
  File2,
12
- Service37
13
- } from "./tool-jj2x8ya3.js";
12
+ Service48
13
+ } from "./config-49xfatwk.js";
14
14
  import {
15
- Service77
16
- } from "./tool-kj8x889q.js";
15
+ Service76
16
+ } from "./config-5zfzqmbx.js";
17
17
  import {
18
18
  __export
19
- } from "./tool-9rqn6x4v.js";
19
+ } from "./config-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/instruction.ts
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin12
25
+ Plugin: () => Plugin38
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
29
  import { Global } from "@opencode/util/global";
30
30
  import { dirname, join } from "path";
31
31
  import { Effect, PubSub, Semaphore, Stream } from "effect";
32
- var Plugin12 = define({
32
+ var Plugin38 = define({
33
33
  id: "opencode.config.instruction",
34
34
  effect: Effect.fn(function* () {
35
- const discovery = yield* Service37;
35
+ const discovery = yield* Service48;
36
36
  if (!discovery.project && !discovery.global)
37
37
  return;
38
38
  yield* Effect.gen(function* () {
39
39
  const fs = yield* FSUtil.Service;
40
40
  const global = yield* Global.Service;
41
- const location = yield* Service77;
42
- const watcher = yield* Service61;
41
+ const location = yield* Service76;
42
+ const watcher = yield* Service62;
43
43
  const changes = yield* PubSub.sliding(1);
44
44
  const lock = Semaphore.makeUnsafe(1);
45
45
  const start = yield* fs.resolve(location.directory);
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
114
114
  return [start, ...ancestorDirectories(dirname(start), stop)];
115
115
  }
116
116
 
117
- export { Plugin12, exports_instruction };
117
+ export { Plugin38, exports_instruction };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./tool-qfa1cgps.js";
3
+ } from "./config-qfa1cgps.js";
4
4
 
5
5
  // src/kv/sql.ts
6
6
  import { sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./tool-922hggd3.js";
3
+ } from "./config-922hggd3.js";
4
4
  import {
5
5
  latest2,
6
- Service60
7
- } from "./tool-vqdbe12f.js";
6
+ Service61
7
+ } from "./config-a81jxvbk.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./tool-2a5m3afh.js";
10
+ } from "./config-2a5m3afh.js";
11
11
  import {
12
- Service58
13
- } from "./tool-va79mfn6.js";
12
+ Service60
13
+ } from "./config-fdbh7561.js";
14
14
  import {
15
- Service45
16
- } from "./tool-6j9t704q.js";
15
+ Service58
16
+ } from "./config-nbjvymme.js";
17
17
  import {
18
- Service46
19
- } from "./tool-vmyza7nt.js";
18
+ Service71
19
+ } from "./config-9pc1c82a.js";
20
20
  import {
21
- Service14,
21
+ Service16,
22
22
  resolvePath2
23
- } from "./tool-5hsgp0bq.js";
23
+ } from "./config-m33h53s5.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./tool-fxbjtjnd.js";
29
+ } from "./config-fxbjtjnd.js";
30
30
  import {
31
31
  Service59,
32
32
  name15
33
- } from "./tool-wjjsbp8j.js";
33
+ } from "./config-q25aqn8x.js";
34
34
  import {
35
- NotFoundError8,
36
- Service55
37
- } from "./tool-66yyaz7c.js";
35
+ NotFoundError7,
36
+ Service52
37
+ } from "./config-p60gzv6z.js";
38
38
  import {
39
- Service20
40
- } from "./tool-7933w99v.js";
39
+ Service27
40
+ } from "./config-n2p6wzd9.js";
41
41
  import {
42
42
  scan2
43
- } from "./tool-v0hcs57f.js";
43
+ } from "./config-02vv4t7e.js";
44
44
  import {
45
45
  __export
46
- } from "./tool-9rqn6x4v.js";
46
+ } from "./config-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
- var exports_shell2 = {};
50
- __export(exports_shell2, {
49
+ var exports_shell = {};
50
+ __export(exports_shell, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input8,
53
- Plugin: () => Plugin27,
54
- ShellTool: () => exports_shell2,
55
- name: () => name8
52
+ Input: () => Input11,
53
+ Plugin: () => Plugin12,
54
+ ShellTool: () => exports_shell,
55
+ name: () => name11
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name8 = "shell";
59
+ var name11 = "shell";
60
60
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
61
61
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
62
62
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -70,7 +70,7 @@ var description = (shell) => [
70
70
  "Commands accept an optional timeout, background commands have no timeout by default.",
71
71
  "Background commands return immediately, and you will be notified when they complete."
72
72
  ].join(" ");
73
- var Input8 = Schema.Struct({
73
+ var Input11 = Schema.Struct({
74
74
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
75
75
  workdir: Schema.optionalKey(Schema.String).annotate({
76
76
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
115
115
  truncated: false,
116
116
  status: "running"
117
117
  });
118
- var Plugin27 = {
118
+ var Plugin12 = {
119
119
  id: "opencode.tool.shell",
120
120
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
121
- const sessions = yield* Service20;
122
- const jobs = yield* Service45;
121
+ const sessions = yield* Service27;
122
+ const jobs = yield* Service58;
123
123
  const scope = yield* Scope.Scope;
124
- const environment = yield* Service58;
125
- const access = yield* Service14;
126
- const shell = yield* Service55;
124
+ const environment = yield* Service60;
125
+ const access = yield* Service16;
126
+ const shell = yield* Service52;
127
127
  const shellSelect = yield* Service59;
128
128
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
129
- const permission = yield* Service46;
130
- const config = yield* Service60;
129
+ const permission = yield* Service71;
130
+ const config = yield* Service61;
131
131
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
132
132
  const source = {
133
133
  type: "tool",
@@ -146,7 +146,7 @@ var Plugin27 = {
146
146
  yield* access.authorizeExternal([target, ...directories], context);
147
147
  if (parsed.commands.length > 0)
148
148
  yield* permission.assert({
149
- action: name8,
149
+ action: name11,
150
150
  resources: parsed.commands.map((command) => command.resource),
151
151
  save: parsed.commands.map((command) => command.save),
152
152
  sessionID: context.sessionID,
@@ -183,10 +183,10 @@ var Plugin27 = {
183
183
  yield* jobs.completeBackground(info.notificationID);
184
184
  }, Effect.forkIn(scope, { startImmediately: true }));
185
185
  yield* ctx.tool.transform((editor) => editor.add({
186
- name: name8,
186
+ name: name11,
187
187
  options: { codemode: false },
188
188
  description: description(),
189
- input: Input8,
189
+ input: Input11,
190
190
  output: Output,
191
191
  execute: (input, context) => Effect.gen(function* () {
192
192
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -205,7 +205,7 @@ var Plugin27 = {
205
205
  const run = Effect.gen(function* () {
206
206
  const result = yield* shell.result(info);
207
207
  if (!result.capture)
208
- return yield* new NotFoundError8({ id: info.id });
208
+ return yield* new NotFoundError7({ id: info.id });
209
209
  const output = output2(result);
210
210
  return {
211
211
  ...output,
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
219
219
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
220
220
  const job = yield* jobs.start({
221
221
  id: info.id,
222
- type: name8,
222
+ type: name11,
223
223
  title: info.command,
224
224
  metadata: { sessionID: context.sessionID, shellID: info.id },
225
225
  recovery: {
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
249
249
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
250
250
  })).pipe(Effect.orDie);
251
251
  const hook = (event) => Effect.gen(function* () {
252
- const tool = event.tools[name8];
252
+ const tool = event.tools[name11];
253
253
  if (!tool)
254
254
  return;
255
255
  tool.description = description(name15(yield* compatibleShell));
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
260
260
  })
261
261
  };
262
262
 
263
- export { name8, DEFAULT_TIMEOUT_MS2, Input8, Plugin27, exports_shell2 };
263
+ export { name11, DEFAULT_TIMEOUT_MS2, Input11, Plugin12, exports_shell };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./tool-9rqn6x4v.js";
3
+ } from "./config-9rqn6x4v.js";
4
4
 
5
5
  // src/mime.ts
6
6
  var exports_mime = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./tool-9rqn6x4v.js";
3
+ } from "./config-9rqn6x4v.js";
4
4
 
5
5
  // src/database/v1-migration.ts
6
6
  var exports_v1_migration = {};
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./tool-922hggd3.js";
3
+ } from "./config-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./tool-9rqn6x4v.js";
6
+ } from "./config-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/attachment.ts
9
9
  var exports_attachment = {};
10
10
  __export(exports_attachment, {
11
11
  ConfigAttachmentV1: () => exports_attachment,
12
12
  Image: () => Image2,
13
- Info: () => Info15
13
+ Info: () => Info19
14
14
  });
15
15
  import { Schema } from "effect";
16
16
  var Image2 = Schema.Struct({
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
27
27
  description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
28
28
  })
29
29
  }).annotate({ identifier: "ImageAttachmentConfig" });
30
- var Info15 = Schema.Struct({
30
+ var Info19 = Schema.Struct({
31
31
  image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
32
32
  }).annotate({ identifier: "AttachmentConfig" });
33
33
 
34
- export { Image2, Info15, exports_attachment };
34
+ export { Image2, Info19, exports_attachment };