@opencode/core 0.0.0-dev-21672 → 0.0.0-dev-21676

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 (792) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +97 -97
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{models-dev-034tev2y.js → shell-034tev2y.js} +2 -2
  8. package/dist/chunks/{models-dev-7cx8wp0a.js → shell-0421tmwc.js} +9 -9
  9. package/dist/chunks/{models-dev-6drp02fx.js → shell-052hgm15.js} +4 -4
  10. package/dist/chunks/{models-dev-3wtngzdm.js → shell-074n756q.js} +15 -15
  11. package/dist/chunks/{models-dev-1fdfse2g.js → shell-099mgyan.js} +28 -28
  12. package/dist/chunks/{models-dev-msp8203r.js → shell-0a71s41t.js} +6 -6
  13. package/dist/chunks/{models-dev-997dsrmm.js → shell-0gka690g.js} +4 -4
  14. package/dist/chunks/{models-dev-z9jt0t62.js → shell-0k149xew.js} +3 -3
  15. package/dist/chunks/{models-dev-znha1335.js → shell-0pv52n9j.js} +5 -5
  16. package/dist/chunks/{models-dev-0q213vj2.js → shell-0q213vj2.js} +4 -4
  17. package/dist/chunks/{models-dev-z4emg7hy.js → shell-0q39ew5d.js} +180 -180
  18. package/dist/chunks/{models-dev-q0b0p22k.js → shell-0tzmkv2e.js} +15 -15
  19. package/dist/chunks/{models-dev-qp9ykck9.js → shell-0v3xvz1q.js} +50 -50
  20. package/dist/chunks/{models-dev-vjs5md9z.js → shell-0v6bwa58.js} +33 -33
  21. package/dist/chunks/{models-dev-yq981ng5.js → shell-0vgge0e4.js} +21 -21
  22. package/dist/chunks/{models-dev-r3gymk1a.js → shell-0wrn680p.js} +43 -43
  23. package/dist/chunks/{models-dev-szmpxakz.js → shell-10jw5ygn.js} +17 -17
  24. package/dist/chunks/{models-dev-w552pve9.js → shell-12pj2cn2.js} +81 -81
  25. package/dist/chunks/{models-dev-0c38ghcn.js → shell-18pk5v5f.js} +42 -42
  26. package/dist/chunks/{models-dev-604krks2.js → shell-19pped8k.js} +13 -13
  27. package/dist/chunks/{models-dev-nxda9c92.js → shell-1bprt56t.js} +4 -4
  28. package/dist/chunks/{models-dev-1ep2p91f.js → shell-1ep2p91f.js} +2 -2
  29. package/dist/chunks/{models-dev-8t90x1ww.js → shell-1exqj9pt.js} +11 -11
  30. package/dist/chunks/{models-dev-tkj08dsk.js → shell-1j6cffe2.js} +17 -17
  31. package/dist/chunks/{models-dev-y09thtp3.js → shell-1r91ydea.js} +4 -4
  32. package/dist/chunks/{models-dev-cm884v9c.js → shell-1rarfw9s.js} +27 -27
  33. package/dist/chunks/{models-dev-pefw7vhy.js → shell-1w59jp7z.js} +5 -5
  34. package/dist/chunks/{models-dev-1x2knyw4.js → shell-1x2knyw4.js} +1 -1
  35. package/dist/chunks/{models-dev-v81b46rr.js → shell-20nwq5j7.js} +10 -10
  36. package/dist/chunks/{models-dev-gjfbt33p.js → shell-27037k44.js} +18 -18
  37. package/dist/chunks/{models-dev-c11reyah.js → shell-2ah0g8wp.js} +3 -3
  38. package/dist/chunks/{models-dev-86b6ptkh.js → shell-2jdqz29y.js} +12 -12
  39. package/dist/chunks/shell-2mqgqhm8.js +26 -0
  40. package/dist/chunks/{models-dev-2z1j29yd.js → shell-2z1j29yd.js} +1 -1
  41. package/dist/chunks/{models-dev-970n3xgf.js → shell-2z9d2exz.js} +9 -9
  42. package/dist/chunks/{models-dev-3xxsfpwx.js → shell-30xq731m.js} +6 -6
  43. package/dist/chunks/{models-dev-9z2ft0m6.js → shell-35s6a6dm.js} +8 -8
  44. package/dist/chunks/{models-dev-snfgt9zc.js → shell-3f6nh3fm.js} +3 -3
  45. package/dist/chunks/{models-dev-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
  46. package/dist/chunks/{models-dev-3nnrz6f6.js → shell-3nnrz6f6.js} +1 -1
  47. package/dist/chunks/{models-dev-1j1x4fa8.js → shell-3sywvchv.js} +26 -26
  48. package/dist/chunks/{models-dev-9dmmv9vc.js → shell-3vwgbyw7.js} +14 -14
  49. package/dist/chunks/{models-dev-hf1e99b5.js → shell-3xqr0t2x.js} +28 -28
  50. package/dist/chunks/{models-dev-603zd8g4.js → shell-40ttsd7n.js} +45 -45
  51. package/dist/chunks/{models-dev-dcky058q.js → shell-495kryxw.js} +13 -13
  52. package/dist/chunks/{models-dev-cgw1k5sv.js → shell-4b27svsp.js} +49 -49
  53. package/dist/chunks/{models-dev-5y057s9p.js → shell-4b4byd6t.js} +338 -338
  54. package/dist/chunks/{models-dev-sk6vvdwr.js → shell-4e2nnt3c.js} +19 -19
  55. package/dist/chunks/{models-dev-d4yp7v9m.js → shell-4nfcmvhk.js} +24 -24
  56. package/dist/chunks/{models-dev-4v008n1t.js → shell-4v008n1t.js} +1 -1
  57. package/dist/chunks/{models-dev-4xvmh7wp.js → shell-4xvmh7wp.js} +3 -3
  58. package/dist/chunks/{models-dev-pdx11bkf.js → shell-4zqkcf57.js} +2 -2
  59. package/dist/chunks/{models-dev-3jxsha8q.js → shell-52apm2b7.js} +12 -12
  60. package/dist/chunks/{models-dev-mpftjjzm.js → shell-53zfzs41.js} +11 -11
  61. package/dist/chunks/{models-dev-nvjt6hcq.js → shell-5h69x8yw.js} +13 -13
  62. package/dist/chunks/{models-dev-5m9w47nd.js → shell-5m9w47nd.js} +1 -1
  63. package/dist/chunks/{models-dev-b6vsg801.js → shell-5nnwax6m.js} +5 -5
  64. package/dist/chunks/{models-dev-njkxgtzr.js → shell-5qgzfdx6.js} +19 -19
  65. package/dist/chunks/{models-dev-nkr5r85d.js → shell-5rsk1nq8.js} +2 -2
  66. package/dist/chunks/{models-dev-xmq3ht5y.js → shell-5x4mtra2.js} +12 -12
  67. package/dist/chunks/{models-dev-1yq9hg58.js → shell-5zrxpy3q.js} +5 -5
  68. package/dist/chunks/{models-dev-r5sx5k8r.js → shell-6dj066xs.js} +11 -11
  69. package/dist/chunks/{models-dev-37vv98vy.js → shell-6dvkpyc2.js} +3 -3
  70. package/dist/chunks/{models-dev-6esdw8yj.js → shell-6esdw8yj.js} +1 -1
  71. package/dist/chunks/{models-dev-8gz3wb1q.js → shell-6n2c9nvr.js} +32 -32
  72. package/dist/chunks/{models-dev-6pjqjmy2.js → shell-6pjqjmy2.js} +1 -1
  73. package/dist/chunks/{models-dev-ntwtearv.js → shell-6w0nd92w.js} +26 -26
  74. package/dist/chunks/{models-dev-hkaezbcy.js → shell-750jpgf2.js} +27 -27
  75. package/dist/chunks/{models-dev-76cb1hcw.js → shell-76cb1hcw.js} +1 -1
  76. package/dist/chunks/{models-dev-r00hhtph.js → shell-79vtmvb8.js} +29 -29
  77. package/dist/chunks/{models-dev-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{models-dev-7w2ypzdf.js → shell-7w2ypzdf.js} +1 -1
  79. package/dist/chunks/{models-dev-3mzn62mq.js → shell-7zt9x3hf.js} +16 -16
  80. package/dist/chunks/{models-dev-fa2qvhbb.js → shell-81rwv4vy.js} +3 -3
  81. package/dist/chunks/{models-dev-7z0v7eda.js → shell-83y10q5s.js} +13 -13
  82. package/dist/chunks/{models-dev-bex4xsk5.js → shell-88kypjvy.js} +4 -4
  83. package/dist/chunks/{models-dev-genmt75h.js → shell-89tdhaej.js} +2 -2
  84. package/dist/chunks/{models-dev-ptkha4df.js → shell-8cf452yy.js} +8 -8
  85. package/dist/chunks/{models-dev-sn7xdfdt.js → shell-8fzmkc5d.js} +9 -9
  86. package/dist/chunks/{models-dev-qzt8vt06.js → shell-8k8atbvj.js} +25 -25
  87. package/dist/chunks/{models-dev-wvxsermt.js → shell-8pqzhdc3.js} +4 -4
  88. package/dist/chunks/{models-dev-4qje77qp.js → shell-8rp0m0m0.js} +4 -4
  89. package/dist/chunks/{models-dev-8wtp7s3z.js → shell-8wtp7s3z.js} +1 -1
  90. package/dist/chunks/{models-dev-91rj84md.js → shell-91rj84md.js} +1 -1
  91. package/dist/chunks/{models-dev-rhf8x4z4.js → shell-91vv7ayb.js} +16 -16
  92. package/dist/chunks/{models-dev-998yhzzq.js → shell-998yhzzq.js} +3 -3
  93. package/dist/chunks/{models-dev-vadw58me.js → shell-99dgtdd3.js} +28 -28
  94. package/dist/chunks/{models-dev-hkdkjvbm.js → shell-9g4cv0f3.js} +5 -5
  95. package/dist/chunks/{models-dev-f08n38td.js → shell-9hz3fran.js} +21 -21
  96. package/dist/chunks/{models-dev-pg9pm64p.js → shell-9kfzqwtx.js} +12 -12
  97. package/dist/chunks/{models-dev-js1chbgy.js → shell-9kh0htnp.js} +10 -10
  98. package/dist/chunks/{models-dev-9p9xqj3m.js → shell-9p9xqj3m.js} +1 -1
  99. package/dist/chunks/{models-dev-qe73a3ee.js → shell-9zxsqdn3.js} +26 -26
  100. package/dist/chunks/{models-dev-42jd4697.js → shell-a13nhj24.js} +4 -4
  101. package/dist/chunks/{models-dev-et0r2xd7.js → shell-a4j9f8bt.js} +11 -11
  102. package/dist/chunks/{models-dev-s39rexwj.js → shell-aeqacknm.js} +11 -11
  103. package/dist/chunks/{models-dev-n6v2b7cw.js → shell-afmnpta1.js} +5 -5
  104. package/dist/chunks/{models-dev-tm0gta7w.js → shell-ammt9wv8.js} +28 -28
  105. package/dist/chunks/{models-dev-ccv8c4s5.js → shell-axmn5kjp.js} +64 -64
  106. package/dist/chunks/{models-dev-ayjs7tqn.js → shell-ayjs7tqn.js} +2 -2
  107. package/dist/chunks/{models-dev-b0mv4wxm.js → shell-b0mv4wxm.js} +2 -2
  108. package/dist/chunks/{models-dev-nys4946a.js → shell-b2rkyjcn.js} +7 -7
  109. package/dist/chunks/{models-dev-n5x1qnnp.js → shell-b3nb49ay.js} +13 -13
  110. package/dist/chunks/{models-dev-cqn3v7mm.js → shell-b5z61bee.js} +5 -5
  111. package/dist/chunks/{models-dev-jerkzzfx.js → shell-b5za93j9.js} +50 -50
  112. package/dist/chunks/{models-dev-0e0djxfn.js → shell-bjb78nd5.js} +21 -21
  113. package/dist/chunks/{models-dev-07qaj4e5.js → shell-bnjf1eky.js} +4 -4
  114. package/dist/chunks/{models-dev-t5p2hefy.js → shell-bqrhmwq8.js} +27 -27
  115. package/dist/chunks/{models-dev-39kss88q.js → shell-bqwdyg2t.js} +9 -9
  116. package/dist/chunks/{models-dev-4bwthz3m.js → shell-bsrm4kv0.js} +6 -6
  117. package/dist/chunks/{models-dev-bstexjd6.js → shell-bstexjd6.js} +1 -1
  118. package/dist/chunks/{models-dev-brb1b7xb.js → shell-bx6xdp1z.js} +16 -16
  119. package/dist/chunks/{models-dev-c3cfh5w6.js → shell-c3cfh5w6.js} +2 -2
  120. package/dist/chunks/{models-dev-91sspt0w.js → shell-c3g877z7.js} +9 -9
  121. package/dist/chunks/{models-dev-0yvjzpst.js → shell-c57tq9x6.js} +11 -11
  122. package/dist/chunks/{models-dev-zv4jb2b2.js → shell-c7j93mmt.js} +8 -8
  123. package/dist/chunks/{models-dev-2ezarshc.js → shell-c9fgk02w.js} +40 -40
  124. package/dist/chunks/{models-dev-fgabcymg.js → shell-cd1jdth3.js} +8 -8
  125. package/dist/chunks/{models-dev-n473ggnb.js → shell-ceq71z2s.js} +22 -22
  126. package/dist/chunks/{models-dev-fge0cnxa.js → shell-cfmjsj78.js} +32 -32
  127. package/dist/chunks/{models-dev-r86zmz9e.js → shell-cs7yvevk.js} +8 -8
  128. package/dist/chunks/{models-dev-3zz6nw1q.js → shell-ctdwq0jb.js} +18 -18
  129. package/dist/chunks/{models-dev-88aaabm6.js → shell-cx0xwsw9.js} +26 -26
  130. package/dist/chunks/{models-dev-dyh2tc83.js → shell-cybp101z.js} +3 -3
  131. package/dist/chunks/{models-dev-v368w2c8.js → shell-cyeygnsd.js} +8 -8
  132. package/dist/chunks/{models-dev-7xqxpfvw.js → shell-czrdzzab.js} +11 -11
  133. package/dist/chunks/{models-dev-e5sekw5h.js → shell-d1x9sp18.js} +10 -10
  134. package/dist/chunks/{models-dev-d4v9tmah.js → shell-d4v9tmah.js} +2 -2
  135. package/dist/chunks/{models-dev-d77dj7jw.js → shell-d77dj7jw.js} +1 -1
  136. package/dist/chunks/{models-dev-k45syvet.js → shell-dvz1915h.js} +13 -13
  137. package/dist/chunks/{models-dev-ye8c8a77.js → shell-dx4aek7k.js} +6 -6
  138. package/dist/chunks/{models-dev-5498z5gx.js → shell-dzwp3hcx.js} +5 -5
  139. package/dist/chunks/{models-dev-5v78rb4d.js → shell-e00z28p8.js} +4 -4
  140. package/dist/chunks/{models-dev-7p0xn48f.js → shell-e145p2ha.js} +4 -4
  141. package/dist/chunks/{models-dev-6dj31fem.js → shell-e3hyx3wp.js} +9 -9
  142. package/dist/chunks/{models-dev-e834z07m.js → shell-e834z07m.js} +1 -1
  143. package/dist/chunks/{models-dev-zcpd9pa2.js → shell-ed0mtxnh.js} +14 -14
  144. package/dist/chunks/{models-dev-ef5x83kb.js → shell-ef5x83kb.js} +1 -1
  145. package/dist/chunks/{models-dev-wwdney99.js → shell-efacwc3z.js} +4 -4
  146. package/dist/chunks/{models-dev-10adnn5q.js → shell-ervpxwtf.js} +12 -12
  147. package/dist/chunks/{models-dev-3kw38gkw.js → shell-ey9szsmw.js} +21 -21
  148. package/dist/chunks/{models-dev-cw8fgyw2.js → shell-f1e7k22r.js} +4 -4
  149. package/dist/chunks/{models-dev-fnbr6nw2.js → shell-f5t8t5m7.js} +20 -20
  150. package/dist/chunks/{models-dev-qcypp6s5.js → shell-f82ybqrx.js} +9 -9
  151. package/dist/chunks/{models-dev-4xhfyr6c.js → shell-f9jmr95f.js} +24 -24
  152. package/dist/chunks/{models-dev-r36exhg8.js → shell-f9nf7jc4.js} +13 -13
  153. package/dist/chunks/{models-dev-babfezga.js → shell-fa903x7f.js} +15 -15
  154. package/dist/chunks/{models-dev-88eag83w.js → shell-fbjqxkhq.js} +8 -8
  155. package/dist/chunks/{models-dev-azcpjphw.js → shell-fcngkh0c.js} +22 -22
  156. package/dist/chunks/{models-dev-fffv3p7h.js → shell-fffv3p7h.js} +1 -1
  157. package/dist/chunks/{models-dev-ghczf8tc.js → shell-fjfaey98.js} +34 -34
  158. package/dist/chunks/{models-dev-9b28cy4d.js → shell-fvc4bqe2.js} +5 -5
  159. package/dist/chunks/{models-dev-g5h9c0rr.js → shell-g5h9c0rr.js} +2 -2
  160. package/dist/chunks/{models-dev-q906rdr4.js → shell-gawdr880.js} +16 -16
  161. package/dist/chunks/{models-dev-h0m4fzk5.js → shell-gcf8bw3p.js} +44 -44
  162. package/dist/chunks/{models-dev-80c2d82y.js → shell-gdc8gtm1.js} +16 -16
  163. package/dist/chunks/{models-dev-9kbek825.js → shell-gjp1trbb.js} +16 -16
  164. package/dist/chunks/{models-dev-r6zya5yt.js → shell-gt5g569e.js} +33 -33
  165. package/dist/chunks/{models-dev-jzjradmt.js → shell-gv55t52j.js} +25 -25
  166. package/dist/chunks/{models-dev-dcjnd4m8.js → shell-gv59wj6b.js} +36 -36
  167. package/dist/chunks/{models-dev-d8qd4w10.js → shell-h5qan5zz.js} +8 -8
  168. package/dist/chunks/{models-dev-ha2v1z14.js → shell-ha4hgd8e.js} +21 -21
  169. package/dist/chunks/{models-dev-kf16exft.js → shell-hbg8agq7.js} +11 -11
  170. package/dist/chunks/{models-dev-channxys.js → shell-hc7ans2w.js} +3 -3
  171. package/dist/chunks/{models-dev-bjbxsavb.js → shell-hecd99m2.js} +4 -4
  172. package/dist/chunks/{models-dev-0c362mbg.js → shell-hj6y046f.js} +21 -21
  173. package/dist/chunks/{models-dev-0qx19ghq.js → shell-hsphd179.js} +11 -11
  174. package/dist/chunks/{models-dev-bx077b5x.js → shell-hvzv56hn.js} +29 -29
  175. package/dist/chunks/{models-dev-k732j073.js → shell-hx6gesf1.js} +8 -8
  176. package/dist/chunks/{models-dev-j113cymg.js → shell-j113cymg.js} +1 -1
  177. package/dist/chunks/{models-dev-kq2kj0cs.js → shell-j2a3kw55.js} +16 -16
  178. package/dist/chunks/{models-dev-v9b44qx7.js → shell-j6r0nxf6.js} +29 -29
  179. package/dist/chunks/{models-dev-q239wykz.js → shell-j9v24vp1.js} +16 -16
  180. package/dist/chunks/{models-dev-q6sdbmza.js → shell-jentk5nx.js} +19 -19
  181. package/dist/chunks/{models-dev-dh62xe4r.js → shell-jx89vj1k.js} +3 -3
  182. package/dist/chunks/{models-dev-y31s63n5.js → shell-jxf43kwy.js} +6 -6
  183. package/dist/chunks/{models-dev-rsb77j2b.js → shell-k18xgkct.js} +25 -25
  184. package/dist/chunks/{models-dev-6bx3cs9p.js → shell-k4ggaqy8.js} +34 -34
  185. package/dist/chunks/{models-dev-k814nvkf.js → shell-k814nvkf.js} +1 -1
  186. package/dist/chunks/{models-dev-4d8jrjdf.js → shell-kdxgykmr.js} +9 -9
  187. package/dist/chunks/{models-dev-7k20pdnx.js → shell-kt2gry7f.js} +13 -13
  188. package/dist/chunks/{models-dev-723avxzj.js → shell-kxa065gd.js} +5 -5
  189. package/dist/chunks/{models-dev-m1714858.js → shell-m1714858.js} +1 -1
  190. package/dist/chunks/{models-dev-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
  191. package/dist/chunks/{models-dev-maspj1v3.js → shell-maspj1v3.js} +1 -1
  192. package/dist/chunks/shell-mcszswe1.js +257 -0
  193. package/dist/chunks/{models-dev-xnpqwph5.js → shell-msft5056.js} +29 -29
  194. package/dist/chunks/{models-dev-c9t2ty9q.js → shell-mtkfycnh.js} +4 -4
  195. package/dist/chunks/{models-dev-n0p0277s.js → shell-n0p0277s.js} +1 -1
  196. package/dist/chunks/{models-dev-nah043kf.js → shell-nah043kf.js} +1 -1
  197. package/dist/chunks/{models-dev-ys64c0en.js → shell-nkpw7cy5.js} +4 -4
  198. package/dist/chunks/{models-dev-dt583h2d.js → shell-nsqj0y1h.js} +23 -23
  199. package/dist/chunks/{models-dev-2jxrz3hz.js → shell-ny4bcy2e.js} +1 -1
  200. package/dist/chunks/{models-dev-p015t6z3.js → shell-p015t6z3.js} +2 -2
  201. package/dist/chunks/{models-dev-8qwc5dnh.js → shell-p6xjr4s7.js} +19 -19
  202. package/dist/chunks/{models-dev-jb6x488n.js → shell-pd641wyg.js} +42 -42
  203. package/dist/chunks/{models-dev-721d6ssn.js → shell-pg605kec.js} +12 -12
  204. package/dist/chunks/{models-dev-nxd0c77e.js → shell-pjxmvhc5.js} +24 -24
  205. package/dist/chunks/{models-dev-pknna89w.js → shell-pknna89w.js} +1 -1
  206. package/dist/chunks/{models-dev-f2dpdkzd.js → shell-pqyj7c3t.js} +14 -14
  207. package/dist/chunks/{models-dev-00j71afz.js → shell-pyab3nm0.js} +10 -10
  208. package/dist/chunks/{models-dev-0wwx6cs9.js → shell-qb45pfqr.js} +33 -33
  209. package/dist/chunks/{models-dev-qjgzc4b4.js → shell-qjgzc4b4.js} +1 -1
  210. package/dist/chunks/{models-dev-6zhajzvs.js → shell-qq321qph.js} +5 -5
  211. package/dist/chunks/{models-dev-d2dx6a7h.js → shell-qv7y9773.js} +4 -4
  212. package/dist/chunks/{models-dev-r0yr0wbs.js → shell-r0yr0wbs.js} +1 -1
  213. package/dist/chunks/{models-dev-h8tnqdxv.js → shell-r9mr2fx2.js} +11 -11
  214. package/dist/chunks/{models-dev-rb9dy4dg.js → shell-rb9dy4dg.js} +1 -1
  215. package/dist/chunks/{models-dev-9x9zyc4q.js → shell-revj3tw3.js} +29 -29
  216. package/dist/chunks/{models-dev-yc5hzz5h.js → shell-rf4jwcas.js} +21 -21
  217. package/dist/chunks/{models-dev-ssgew5gp.js → shell-rm20pgxh.js} +14 -14
  218. package/dist/chunks/{models-dev-rt5dr6hb.js → shell-rt5dr6hb.js} +1 -1
  219. package/dist/chunks/{models-dev-1bmv17xj.js → shell-ry17vq2q.js} +7 -7
  220. package/dist/chunks/{models-dev-h0rg6s60.js → shell-s85z3cra.js} +4 -4
  221. package/dist/chunks/{models-dev-mqry7vh6.js → shell-s9dwmje5.js} +21 -21
  222. package/dist/chunks/{models-dev-7r0r50e5.js → shell-sfkj0ta1.js} +5 -5
  223. package/dist/chunks/{models-dev-5mybh76x.js → shell-sjrghj3a.js} +10 -10
  224. package/dist/chunks/{models-dev-5jmszjhn.js → shell-sn2bmg30.js} +9 -9
  225. package/dist/chunks/{models-dev-sqjzf8x2.js → shell-sqjzf8x2.js} +1 -1
  226. package/dist/chunks/{models-dev-mtpeagzc.js → shell-ss358qx3.js} +3 -3
  227. package/dist/chunks/{models-dev-j32x6r6g.js → shell-syjgkag2.js} +18 -18
  228. package/dist/chunks/{models-dev-twnmjdm4.js → shell-szcyxb54.js} +7 -7
  229. package/dist/chunks/{models-dev-21tez1wd.js → shell-t12sb919.js} +30 -30
  230. package/dist/chunks/{models-dev-jrq7bcnr.js → shell-t75rajx1.js} +43 -43
  231. package/dist/chunks/{models-dev-st9ms96z.js → shell-t7e9twk7.js} +17 -17
  232. package/dist/chunks/{models-dev-7sn46knd.js → shell-ta9qyare.js} +26 -26
  233. package/dist/chunks/{models-dev-tasvem1v.js → shell-tasvem1v.js} +3 -3
  234. package/dist/chunks/{models-dev-m7ee3x5c.js → shell-tb7p4ryh.js} +8 -8
  235. package/dist/chunks/{models-dev-tczq8hjw.js → shell-tczq8hjw.js} +1 -1
  236. package/dist/chunks/{models-dev-bp74npqy.js → shell-te93dn38.js} +9 -9
  237. package/dist/chunks/{models-dev-bt6gheby.js → shell-tfhekx6w.js} +15 -15
  238. package/dist/chunks/{models-dev-bzfaamf2.js → shell-tfmz659n.js} +2 -2
  239. package/dist/chunks/{models-dev-rwf3qv8n.js → shell-tgrj2fed.js} +46 -46
  240. package/dist/chunks/{models-dev-dy2h6ad1.js → shell-th8jc8p0.js} +11 -11
  241. package/dist/chunks/{models-dev-yk2jq8sz.js → shell-tngq8s39.js} +23 -23
  242. package/dist/chunks/{models-dev-a4t01zf9.js → shell-trc09wwy.js} +20 -20
  243. package/dist/chunks/{models-dev-tw8zr1ps.js → shell-tw8zr1ps.js} +1 -1
  244. package/dist/chunks/{models-dev-twv2r8f4.js → shell-twv2r8f4.js} +2 -2
  245. package/dist/chunks/{models-dev-v2r1d0zg.js → shell-v2r1d0zg.js} +1 -1
  246. package/dist/chunks/{models-dev-44z8xak8.js → shell-v40bhpkf.js} +12 -12
  247. package/dist/chunks/{models-dev-sryswszh.js → shell-v4sbtd6b.js} +23 -23
  248. package/dist/chunks/{models-dev-vd3b3yk9.js → shell-vd3b3yk9.js} +1 -1
  249. package/dist/chunks/{models-dev-veqvce7d.js → shell-veqvce7d.js} +1 -1
  250. package/dist/chunks/{models-dev-yb8pzg9e.js → shell-vkfaa8pw.js} +7 -7
  251. package/dist/chunks/{models-dev-g7esga4v.js → shell-vmfhgzt5.js} +5 -5
  252. package/dist/chunks/{models-dev-rmt6m6se.js → shell-vrcsa8qx.js} +9 -9
  253. package/dist/chunks/{models-dev-13xp8kk2.js → shell-w0e5dcpe.js} +84 -84
  254. package/dist/chunks/{models-dev-r41sfy63.js → shell-w2eysc6j.js} +6 -6
  255. package/dist/chunks/{models-dev-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{models-dev-c681qaxm.js → shell-wafjmk08.js} +1 -1
  257. package/dist/chunks/{models-dev-wakvkjy4.js → shell-wakvkjy4.js} +1 -1
  258. package/dist/chunks/{models-dev-j6q1v0mm.js → shell-wd6msta3.js} +11 -11
  259. package/dist/chunks/{models-dev-wd87259q.js → shell-wd87259q.js} +1 -1
  260. package/dist/chunks/{models-dev-3ws1kde7.js → shell-wed5rh1m.js} +10 -10
  261. package/dist/chunks/{models-dev-qqg9c0kv.js → shell-wmjzvx4b.js} +4 -4
  262. package/dist/chunks/{models-dev-5c570mwr.js → shell-wmy22jry.js} +20 -20
  263. package/dist/chunks/{models-dev-tenyxeq0.js → shell-wn8cs04e.js} +11 -11
  264. package/dist/chunks/{models-dev-xksp0ar2.js → shell-wpjr39xp.js} +26 -26
  265. package/dist/chunks/{models-dev-fznmdakp.js → shell-wr3re1en.js} +4 -4
  266. package/dist/chunks/{models-dev-dr3a7210.js → shell-wyrx21ay.js} +5 -5
  267. package/dist/chunks/{models-dev-k605x2ym.js → shell-x0ra2npf.js} +11 -11
  268. package/dist/chunks/{models-dev-fr0ct2rt.js → shell-x4vc4qa8.js} +15 -15
  269. package/dist/chunks/{models-dev-q400g5tq.js → shell-xccgq3qx.js} +15 -15
  270. package/dist/chunks/{models-dev-cwjanqmp.js → shell-xd25kzce.js} +11 -11
  271. package/dist/chunks/{models-dev-mtdrv22n.js → shell-xdq354nz.js} +6 -6
  272. package/dist/chunks/{models-dev-nwztx11m.js → shell-xes9mfxx.js} +33 -33
  273. package/dist/chunks/{models-dev-rf5a6b4e.js → shell-xtxrze2j.js} +11 -11
  274. package/dist/chunks/{models-dev-wfe16x56.js → shell-y1hjbq0d.js} +11 -11
  275. package/dist/chunks/{models-dev-2gz5ch5e.js → shell-y5nnnm2j.js} +13 -13
  276. package/dist/chunks/{models-dev-c6ctsthb.js → shell-y7y0w8zn.js} +16 -16
  277. package/dist/chunks/{models-dev-yb20nhc3.js → shell-yb20nhc3.js} +1 -1
  278. package/dist/chunks/{models-dev-j0p7c7tg.js → shell-ybyct7vf.js} +18 -18
  279. package/dist/chunks/{models-dev-gh6j4ke9.js → shell-ydpx6gyr.js} +6 -6
  280. package/dist/chunks/{models-dev-tg1vr1qt.js → shell-ydsespw1.js} +8 -8
  281. package/dist/chunks/{models-dev-y0r1wt5k.js → shell-ypzxf1by.js} +7 -7
  282. package/dist/chunks/{models-dev-6yqb3vrw.js → shell-yrab93vt.js} +19 -19
  283. package/dist/chunks/{models-dev-9xt2sp81.js → shell-yz8d3crg.js} +20 -20
  284. package/dist/chunks/{models-dev-z0bkrqjs.js → shell-z0bkrqjs.js} +1 -1
  285. package/dist/chunks/{models-dev-z38nccrw.js → shell-z38nccrw.js} +1 -1
  286. package/dist/chunks/{models-dev-zkg84ctx.js → shell-zkg84ctx.js} +1 -1
  287. package/dist/chunks/{models-dev-zdczhcc3.js → shell-zsm4q6zj.js} +32 -32
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +11 -11
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +85 -85
  293. package/dist/config/discovery.js +84 -84
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +101 -101
  296. package/dist/config/plugin/agent.js +118 -118
  297. package/dist/config/plugin/command.js +214 -214
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/compatibility.js +135 -135
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +116 -116
  304. package/dist/config/plugin/location-watcher.js +116 -116
  305. package/dist/config/plugin/mcp.js +125 -125
  306. package/dist/config/plugin/policy.js +117 -117
  307. package/dist/config/plugin/provider.js +116 -116
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +118 -118
  310. package/dist/config/plugin/skill-file.js +104 -104
  311. package/dist/config/plugin/skill-scan.js +1 -1
  312. package/dist/config/plugin/skill.js +138 -138
  313. package/dist/config/plugin/snapshot.js +116 -116
  314. package/dist/config/plugin/source.js +119 -119
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +117 -117
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +1 -1
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +119 -119
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +85 -85
  323. package/dist/database/database.js +68 -68
  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/20260923013825_project_time_active.js +1 -1
  388. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  389. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  390. package/dist/database/migration.gen.js +51 -51
  391. package/dist/database/migration.js +53 -53
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +87 -87
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +370 -370
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +1 -1
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +95 -95
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +97 -97
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +3 -3
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +72 -72
  415. package/dist/file-access.js +106 -106
  416. package/dist/file-mutation.js +96 -96
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +225 -225
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +101 -101
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +9 -9
  428. package/dist/filesystem.js +104 -104
  429. package/dist/form.js +86 -86
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +89 -89
  432. package/dist/generate.js +109 -109
  433. package/dist/git.js +6 -6
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +93 -93
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.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 +361 -361
  457. package/dist/instruction-discovery.js +86 -86
  458. package/dist/instructions/builtins.js +89 -89
  459. package/dist/instructions/index.js +1 -1
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +89 -89
  462. package/dist/job.js +80 -80
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +156 -156
  466. package/dist/location-lifecycle.js +109 -109
  467. package/dist/location-service-map.js +88 -88
  468. package/dist/location-services.js +358 -358
  469. package/dist/location.js +83 -83
  470. package/dist/managed-policy.js +8 -8
  471. package/dist/mcp/client.js +93 -93
  472. package/dist/mcp/index.js +111 -111
  473. package/dist/mcp/instructions.js +138 -138
  474. package/dist/mcp/oauth.js +89 -83
  475. package/dist/mcp/socket-client.js +1 -1
  476. package/dist/mcp/stdio.js +92 -92
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +93 -93
  479. package/dist/model-resolver.js +99 -99
  480. package/dist/model-retry.js +1 -1
  481. package/dist/model.js +102 -102
  482. package/dist/models-dev.js +103 -103
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +84 -84
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +113 -113
  487. package/dist/persistent-pty/binary.bun.js +1 -1
  488. package/dist/persistent-pty/daemon.js +1 -1
  489. package/dist/persistent-pty/index.js +88 -88
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +77 -77
  492. package/dist/plugin/agent.js +78 -78
  493. package/dist/plugin/command.js +104 -104
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +218 -218
  496. package/dist/plugin/identity.js +3 -3
  497. package/dist/plugin/instance.js +5 -5
  498. package/dist/plugin/internal.js +333 -333
  499. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  500. package/dist/plugin/models-dev.js +98 -98
  501. package/dist/plugin/module.js +115 -115
  502. package/dist/plugin/optimize.js +2 -2
  503. package/dist/plugin/plan.js +104 -104
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  506. package/dist/plugin/provider/azure.js +116 -116
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/chatgpt.js +116 -116
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +112 -112
  513. package/dist/plugin/provider/databricks.js +1 -1
  514. package/dist/plugin/provider/digitalocean.js +95 -95
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/github-copilot.js +97 -97
  518. package/dist/plugin/provider/gitlab.js +95 -95
  519. package/dist/plugin/provider/google-vertex.js +113 -113
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +80 -80
  522. package/dist/plugin/provider/lmstudio.js +125 -125
  523. package/dist/plugin/provider/local.js +122 -122
  524. package/dist/plugin/provider/modal.js +94 -94
  525. package/dist/plugin/provider/neon.js +1 -1
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +125 -125
  528. package/dist/plugin/provider/openai-context-caps.js +92 -92
  529. package/dist/plugin/provider/openai.js +116 -116
  530. package/dist/plugin/provider/opencode.js +103 -103
  531. package/dist/plugin/provider/openrouter.js +93 -93
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +81 -81
  534. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  535. package/dist/plugin/provider/sap-ai-core.js +93 -93
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  538. package/dist/plugin/provider/vercel.js +92 -92
  539. package/dist/plugin/provider/vllm.js +125 -125
  540. package/dist/plugin/provider/xai.js +93 -93
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +171 -171
  543. package/dist/plugin/sdk.js +78 -78
  544. package/dist/plugin/service.js +1 -1
  545. package/dist/plugin/skill.js +134 -134
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +348 -348
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +88 -88
  551. package/dist/plugin/vcs/hg.js +88 -88
  552. package/dist/plugin/verbosity.js +95 -95
  553. package/dist/plugin/warming.js +114 -114
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +8 -8
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +4 -4
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +227 -227
  562. package/dist/project/schema.js +2 -2
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +82 -82
  565. package/dist/provider.js +101 -101
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +99 -99
  569. package/dist/reference/instructions.js +91 -91
  570. package/dist/reference.js +93 -93
  571. package/dist/repository-cache.js +83 -83
  572. package/dist/repository.js +1 -1
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +97 -97
  575. package/dist/rpc.js +88 -88
  576. package/dist/schema.js +1 -1
  577. package/dist/session/affinity.js +1 -1
  578. package/dist/session/command.js +76 -76
  579. package/dist/session/compaction.js +138 -138
  580. package/dist/session/context.js +164 -164
  581. package/dist/session/diff.js +90 -90
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +5 -5
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +221 -221
  586. package/dist/session/execution.js +128 -128
  587. package/dist/session/generate.js +166 -166
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +95 -95
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +81 -81
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +95 -95
  594. package/dist/session/message-updater.js +4 -4
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +122 -122
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +132 -132
  599. package/dist/session/projector.js +91 -91
  600. package/dist/session/prompt.js +107 -107
  601. package/dist/session/recent-text.js +1 -1
  602. package/dist/session/revert.js +96 -96
  603. package/dist/session/run-coordinator.js +3 -3
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +231 -231
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +101 -101
  608. package/dist/session/runner/publish-llm-event.js +116 -116
  609. package/dist/session/runner/retry.js +3 -3
  610. package/dist/session/runner/step.js +126 -126
  611. package/dist/session/runner/to-llm-message.js +14 -14
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +165 -165
  614. package/dist/session/shell.js +130 -130
  615. package/dist/session/skill.js +105 -105
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +75 -75
  618. package/dist/session/store.js +87 -87
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +212 -212
  621. package/dist/session/system-prompt.js +3 -3
  622. package/dist/session/title.js +168 -168
  623. package/dist/session/to-session-error.js +114 -114
  624. package/dist/session/transfer.js +214 -214
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +218 -218
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +13 -13
  631. package/dist/shell.js +132 -132
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +109 -109
  634. package/dist/skill.js +114 -114
  635. package/dist/snapshot.js +93 -93
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +137 -137
  640. package/dist/tool/plugin/edit.js +122 -122
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +126 -126
  643. package/dist/tool/plugin/grep.js +120 -120
  644. package/dist/tool/plugin/mcp-resource.js +126 -126
  645. package/dist/tool/plugin/opencode.js +111 -111
  646. package/dist/tool/plugin/patch.js +124 -124
  647. package/dist/tool/plugin/question.js +105 -105
  648. package/dist/tool/plugin/read.js +127 -127
  649. package/dist/tool/plugin/shell.js +217 -217
  650. package/dist/tool/plugin/skill.js +115 -115
  651. package/dist/tool/plugin/subagent.js +219 -219
  652. package/dist/tool/plugin/todo.js +138 -138
  653. package/dist/tool/plugin/webfetch.js +113 -113
  654. package/dist/tool/plugin/websearch.js +116 -116
  655. package/dist/tool/plugin/write.js +124 -124
  656. package/dist/tool/read-filesystem.js +104 -104
  657. package/dist/tool/runtime.js +1 -1
  658. package/dist/tool-output.js +5 -5
  659. package/dist/tool.js +12 -12
  660. package/dist/util/error-summary.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +5 -5
  668. package/dist/v1/config/command.js +3 -3
  669. package/dist/v1/config/mcp.js +4 -4
  670. package/dist/v1/config/migrate.js +94 -94
  671. package/dist/v1/config/permission.js +3 -3
  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/variant.js +93 -93
  676. package/dist/vcs/patch.js +1 -1
  677. package/dist/vcs.js +89 -89
  678. package/dist/voice.js +90 -90
  679. package/dist/websearch.js +86 -86
  680. package/dist/wellknown/plugin.js +78 -78
  681. package/dist/wellknown.js +83 -83
  682. package/dist/workspace/driver.js +7 -7
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +84 -84
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +10 -10
  687. package/dist/worktree/sql.js +5 -5
  688. package/dist/worktree/strategies.js +91 -91
  689. package/dist/worktree.js +100 -100
  690. package/package.json +8 -8
  691. package/dist/chunks/models-dev-5v5zc9vr.js +0 -26
  692. package/dist/chunks/models-dev-tgy6ybx3.js +0 -257
  693. /package/dist/chunks/{models-dev-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
  694. /package/dist/chunks/{models-dev-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
  695. /package/dist/chunks/{models-dev-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
  696. /package/dist/chunks/{models-dev-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
  697. /package/dist/chunks/{models-dev-24dcb14g.js → shell-24dcb14g.js} +0 -0
  698. /package/dist/chunks/{models-dev-2710q6r3.js → shell-2710q6r3.js} +0 -0
  699. /package/dist/chunks/{models-dev-2bv980vf.js → shell-2bv980vf.js} +0 -0
  700. /package/dist/chunks/{models-dev-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
  701. /package/dist/chunks/{models-dev-359p4xyc.js → shell-359p4xyc.js} +0 -0
  702. /package/dist/chunks/{models-dev-3asan66x.js → shell-3asan66x.js} +0 -0
  703. /package/dist/chunks/{models-dev-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
  704. /package/dist/chunks/{models-dev-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{models-dev-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{models-dev-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{models-dev-4vcrnpx2.js → shell-4vcrnpx2.js} +0 -0
  708. /package/dist/chunks/{models-dev-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
  709. /package/dist/chunks/{models-dev-53557ph1.js → shell-53557ph1.js} +0 -0
  710. /package/dist/chunks/{models-dev-550bvhaj.js → shell-550bvhaj.js} +0 -0
  711. /package/dist/chunks/{models-dev-5fjb7ams.js → shell-5fjb7ams.js} +0 -0
  712. /package/dist/chunks/{models-dev-5qd3pb7m.js → shell-5qd3pb7m.js} +0 -0
  713. /package/dist/chunks/{models-dev-6prwharc.js → shell-6prwharc.js} +0 -0
  714. /package/dist/chunks/{models-dev-6q2bdcd1.js → shell-6q2bdcd1.js} +0 -0
  715. /package/dist/chunks/{models-dev-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
  716. /package/dist/chunks/{models-dev-7m9af43g.js → shell-7m9af43g.js} +0 -0
  717. /package/dist/chunks/{models-dev-822emrt2.js → shell-822emrt2.js} +0 -0
  718. /package/dist/chunks/{models-dev-84wd9syh.js → shell-84wd9syh.js} +0 -0
  719. /package/dist/chunks/{models-dev-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
  720. /package/dist/chunks/{models-dev-8n3pysct.js → shell-8n3pysct.js} +0 -0
  721. /package/dist/chunks/{models-dev-8wj87zfr.js → shell-8wj87zfr.js} +0 -0
  722. /package/dist/chunks/{models-dev-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
  723. /package/dist/chunks/{models-dev-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
  724. /package/dist/chunks/{models-dev-a058387c.js → shell-a058387c.js} +0 -0
  725. /package/dist/chunks/{models-dev-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
  726. /package/dist/chunks/{models-dev-af5trqkr.js → shell-af5trqkr.js} +0 -0
  727. /package/dist/chunks/{models-dev-afrmfg78.js → shell-afrmfg78.js} +0 -0
  728. /package/dist/chunks/{models-dev-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
  729. /package/dist/chunks/{models-dev-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
  730. /package/dist/chunks/{models-dev-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
  731. /package/dist/chunks/{models-dev-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
  732. /package/dist/chunks/{models-dev-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
  733. /package/dist/chunks/{models-dev-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
  734. /package/dist/chunks/{models-dev-d9fn303g.js → shell-d9fn303g.js} +0 -0
  735. /package/dist/chunks/{models-dev-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
  736. /package/dist/chunks/{models-dev-dajrwvna.js → shell-dajrwvna.js} +0 -0
  737. /package/dist/chunks/{models-dev-dap0rakb.js → shell-dap0rakb.js} +0 -0
  738. /package/dist/chunks/{models-dev-df08tz66.js → shell-df08tz66.js} +0 -0
  739. /package/dist/chunks/{models-dev-dy18nga0.js → shell-dy18nga0.js} +0 -0
  740. /package/dist/chunks/{models-dev-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
  741. /package/dist/chunks/{models-dev-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
  742. /package/dist/chunks/{models-dev-ec1grn59.js → shell-ec1grn59.js} +0 -0
  743. /package/dist/chunks/{models-dev-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
  744. /package/dist/chunks/{models-dev-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
  745. /package/dist/chunks/{models-dev-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
  746. /package/dist/chunks/{models-dev-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
  747. /package/dist/chunks/{models-dev-faypxj3z.js → shell-faypxj3z.js} +0 -0
  748. /package/dist/chunks/{models-dev-fd410y7t.js → shell-fd410y7t.js} +0 -0
  749. /package/dist/chunks/{models-dev-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
  750. /package/dist/chunks/{models-dev-g86h250q.js → shell-g86h250q.js} +0 -0
  751. /package/dist/chunks/{models-dev-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
  752. /package/dist/chunks/{models-dev-gftt206x.js → shell-gftt206x.js} +0 -0
  753. /package/dist/chunks/{models-dev-hcxmzztb.js → shell-hcxmzztb.js} +0 -0
  754. /package/dist/chunks/{models-dev-hk9envan.js → shell-hk9envan.js} +0 -0
  755. /package/dist/chunks/{models-dev-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
  756. /package/dist/chunks/{models-dev-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
  757. /package/dist/chunks/{models-dev-jjkms2e6.js → shell-jjkms2e6.js} +0 -0
  758. /package/dist/chunks/{models-dev-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
  759. /package/dist/chunks/{models-dev-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
  760. /package/dist/chunks/{models-dev-jze0r7bz.js → shell-jze0r7bz.js} +0 -0
  761. /package/dist/chunks/{models-dev-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
  762. /package/dist/chunks/{models-dev-m18g726c.js → shell-m18g726c.js} +0 -0
  763. /package/dist/chunks/{models-dev-mp448xyj.js → shell-mp448xyj.js} +0 -0
  764. /package/dist/chunks/{models-dev-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
  765. /package/dist/chunks/{models-dev-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
  766. /package/dist/chunks/{models-dev-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
  767. /package/dist/chunks/{models-dev-njntx4h6.js → shell-njntx4h6.js} +0 -0
  768. /package/dist/chunks/{models-dev-pkyv6v7h.js → shell-pkyv6v7h.js} +0 -0
  769. /package/dist/chunks/{models-dev-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
  770. /package/dist/chunks/{models-dev-q74kybfr.js → shell-q74kybfr.js} +0 -0
  771. /package/dist/chunks/{models-dev-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
  772. /package/dist/chunks/{models-dev-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
  773. /package/dist/chunks/{models-dev-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
  774. /package/dist/chunks/{models-dev-qg3g05ea.js → shell-qg3g05ea.js} +0 -0
  775. /package/dist/chunks/{models-dev-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
  776. /package/dist/chunks/{models-dev-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
  777. /package/dist/chunks/{models-dev-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
  778. /package/dist/chunks/{models-dev-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
  779. /package/dist/chunks/{models-dev-ve7vex1e.js → shell-ve7vex1e.js} +0 -0
  780. /package/dist/chunks/{models-dev-w803qqfp.js → shell-w803qqfp.js} +0 -0
  781. /package/dist/chunks/{models-dev-wc3fc9cn.js → shell-wc3fc9cn.js} +0 -0
  782. /package/dist/chunks/{models-dev-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
  783. /package/dist/chunks/{models-dev-wjj7prxr.js → shell-wjj7prxr.js} +0 -0
  784. /package/dist/chunks/{models-dev-wtztk69x.js → shell-wtztk69x.js} +0 -0
  785. /package/dist/chunks/{models-dev-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
  786. /package/dist/chunks/{models-dev-x61499pn.js → shell-x61499pn.js} +0 -0
  787. /package/dist/chunks/{models-dev-y44na4kk.js → shell-y44na4kk.js} +0 -0
  788. /package/dist/chunks/{models-dev-y8f7s663.js → shell-y8f7s663.js} +0 -0
  789. /package/dist/chunks/{models-dev-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
  790. /package/dist/chunks/{models-dev-ym463w8f.js → shell-ym463w8f.js} +0 -0
  791. /package/dist/chunks/{models-dev-z5v4ffb3.js → shell-z5v4ffb3.js} +0 -0
  792. /package/dist/chunks/{models-dev-z9919s4g.js → shell-z9919s4g.js} +0 -0
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./models-dev-pdx11bkf.js";
4
+ } from "./shell-4zqkcf57.js";
5
5
  import {
6
6
  create3
7
- } from "./models-dev-vd3b3yk9.js";
7
+ } from "./shell-vd3b3yk9.js";
8
8
  import {
9
9
  __export
10
- } from "./models-dev-9rqn6x4v.js";
10
+ } from "./shell-9rqn6x4v.js";
11
11
 
12
12
  // src/formatter.ts
13
13
  var exports_formatter2 = {};
14
14
  __export(exports_formatter2, {
15
15
  Formatter: () => exports_formatter2,
16
- Service: () => Service13,
17
- node: () => node15
16
+ Service: () => Service31,
17
+ node: () => node34
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { ChildProcess } from "effect/process";
21
21
  import path from "path";
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { AppProcess } from "@opencode/util/process";
24
- class Service13 extends Context.Service()("@opencode/v2/Formatter") {
24
+ class Service31 extends Context.Service()("@opencode/v2/Formatter") {
25
25
  }
26
- var layer = Layer.effect(Service13, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service31, Effect.gen(function* () {
27
27
  const location = yield* Service82;
28
28
  const processes = yield* AppProcess.Service;
29
29
  const commands = new WeakMap;
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
85
85
  }
86
86
  return false;
87
87
  });
88
- return Service13.of({ transform: state.transform, reload: state.reload, file });
88
+ return Service31.of({ transform: state.transform, reload: state.reload, file });
89
89
  }));
90
- var node15 = makeLocationNode({
91
- service: Service13,
90
+ var node34 = makeLocationNode({
91
+ service: Service31,
92
92
  layer,
93
93
  deps: [node86, AppProcess.node]
94
94
  });
95
95
 
96
- export { Service13, node15, exports_formatter2 };
96
+ export { Service31, node34, exports_formatter2 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  migrations2
3
- } from "./models-dev-qp9ykck9.js";
3
+ } from "./shell-0v3xvz1q.js";
4
4
  import {
5
5
  schema_gen_default
6
- } from "./models-dev-pkyv6v7h.js";
6
+ } from "./shell-pkyv6v7h.js";
7
7
  import {
8
8
  __export
9
- } from "./models-dev-9rqn6x4v.js";
9
+ } from "./shell-9rqn6x4v.js";
10
10
 
11
11
  // src/database/migration.ts
12
12
  var exports_migration = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./models-dev-9rqn6x4v.js";
3
+ } from "./shell-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/source-directory.ts
6
6
  var exports_source_directory = {};
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./models-dev-5v78rb4d.js";
4
+ } from "./shell-e00z28p8.js";
5
5
  import {
6
- node62
7
- } from "./models-dev-brb1b7xb.js";
6
+ node66
7
+ } from "./shell-bx6xdp1z.js";
8
8
  import {
9
- Service5,
10
- node6
11
- } from "./models-dev-4xhfyr6c.js";
9
+ Service2,
10
+ node3
11
+ } from "./shell-f9jmr95f.js";
12
12
  import {
13
- Service72
14
- } from "./models-dev-v81b46rr.js";
13
+ Service13
14
+ } from "./shell-20nwq5j7.js";
15
15
  import {
16
16
  Service27
17
- } from "./models-dev-d77dj7jw.js";
17
+ } from "./shell-d77dj7jw.js";
18
18
  import {
19
- node21,
20
- ID3
21
- } from "./models-dev-3wtngzdm.js";
19
+ node18,
20
+ ID2
21
+ } from "./shell-074n756q.js";
22
22
  import {
23
- Service4,
24
- node5
25
- } from "./models-dev-tg1vr1qt.js";
23
+ Service5,
24
+ node6
25
+ } from "./shell-ydsespw1.js";
26
26
  import {
27
27
  requirements2,
28
28
  guarded2,
29
29
  list2
30
- } from "./models-dev-5y057s9p.js";
30
+ } from "./shell-4b4byd6t.js";
31
31
  import {
32
32
  make3,
33
33
  LoadError2
34
- } from "./models-dev-tenyxeq0.js";
34
+ } from "./shell-wn8cs04e.js";
35
35
  import {
36
36
  Updated2,
37
+ Service4,
38
+ node5
39
+ } from "./shell-wed5rh1m.js";
40
+ import {
37
41
  Service3,
38
42
  node4
39
- } from "./models-dev-3ws1kde7.js";
40
- import {
41
- Service2,
42
- node3
43
- } from "./models-dev-39kss88q.js";
43
+ } from "./shell-bqwdyg2t.js";
44
44
  import {
45
45
  __export
46
- } from "./models-dev-9rqn6x4v.js";
46
+ } from "./shell-9rqn6x4v.js";
47
47
 
48
48
  // src/plugin/supervisor.ts
49
49
  var exports_supervisor = {};
@@ -127,7 +127,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
127
127
  failures: [
128
128
  ...failures.values(),
129
129
  ...ordered.filter(duplicate).map((plugin) => ({
130
- id: ID3.make(plugin.id),
130
+ id: ID2.make(plugin.id),
131
131
  source: plugin.source ?? { type: "builtin" },
132
132
  state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
133
133
  features: { server: true, ...plugin.features }
@@ -137,14 +137,14 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
137
137
  };
138
138
  });
139
139
  var layer3 = Layer.effectDiscard(Effect.gen(function* () {
140
- const managed = yield* Service72;
140
+ const managed = yield* Service13;
141
141
  const registry = yield* Service27;
142
- const sdk = yield* Service3;
143
- const instance = yield* Service4;
144
- const sources = yield* Service5;
142
+ const sdk = yield* Service4;
143
+ const instance = yield* Service5;
144
+ const sources = yield* Service2;
145
145
  const modules = yield* make3();
146
146
  const bus = yield* Service85;
147
- const updates = yield* Service2;
147
+ const updates = yield* Service3;
148
148
  const internal = yield* list2();
149
149
  let release = yield* registry.hold();
150
150
  yield* Effect.addFinalizer(() => release ?? Effect.void);
@@ -220,14 +220,14 @@ var layer3 = Layer.effectDiscard(Effect.gen(function* () {
220
220
  })), Effect.forkScoped({ startImmediately: true }));
221
221
  }));
222
222
  var nodeDeps = [
223
- node21,
224
- node4,
223
+ node18,
225
224
  node5,
226
225
  node6,
227
226
  node3,
227
+ node4,
228
228
  node89,
229
229
  Npm.node,
230
- node62,
230
+ node66,
231
231
  requirements2
232
232
  ];
233
233
  function pluginSource(target) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./models-dev-9rqn6x4v.js";
3
+ } from "./shell-9rqn6x4v.js";
4
4
 
5
5
  // src/config/plugin/entry-observer.ts
6
6
  var exports_entry_observer = {};
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./models-dev-snfgt9zc.js";
4
+ } from "./shell-3f6nh3fm.js";
5
5
  import {
6
6
  latestSequence2,
7
7
  Service85,
8
8
  node89
9
- } from "./models-dev-5v78rb4d.js";
9
+ } from "./shell-e00z28p8.js";
10
10
  import {
11
11
  llmClient2
12
- } from "./models-dev-p015t6z3.js";
12
+ } from "./shell-p015t6z3.js";
13
13
  import {
14
14
  SessionEvent2
15
- } from "./models-dev-ec1grn59.js";
15
+ } from "./shell-ec1grn59.js";
16
16
  import {
17
17
  firstUserMessage2
18
- } from "./models-dev-y0r1wt5k.js";
18
+ } from "./shell-ypzxf1by.js";
19
19
  import {
20
- Service78,
21
- node82
22
- } from "./models-dev-pg9pm64p.js";
20
+ Service79,
21
+ node83
22
+ } from "./shell-9kfzqwtx.js";
23
23
  import {
24
- Service28,
25
- node31
26
- } from "./models-dev-w552pve9.js";
24
+ Service17,
25
+ node20
26
+ } from "./shell-12pj2cn2.js";
27
27
  import {
28
28
  record2,
29
29
  add2
30
- } from "./models-dev-tw8zr1ps.js";
30
+ } from "./shell-tw8zr1ps.js";
31
31
  import {
32
32
  __export
33
- } from "./models-dev-9rqn6x4v.js";
33
+ } from "./shell-9rqn6x4v.js";
34
34
 
35
35
  // src/session/title.ts
36
36
  var exports_title = {};
37
37
  __export(exports_title, {
38
- Service: () => Service12,
38
+ Service: () => Service8,
39
39
  SessionTitle: () => exports_title,
40
40
  isUntitled: () => isUntitled2,
41
- layer: () => layer8,
42
- node: () => node14
41
+ layer: () => layer7,
42
+ node: () => node10
43
43
  });
44
44
  import { isDeepStrictEqual } from "node:util";
45
45
  import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
@@ -51,7 +51,7 @@ var MAX_CONTEXT_LENGTH = 8000;
51
51
  var MAX_FIRST_MESSAGE_LENGTH = 2000;
52
52
  var titleChanged = Symbol("Session title changed");
53
53
 
54
- class Service12 extends Context.Service()("@opencode/SessionTitle") {
54
+ class Service8 extends Context.Service()("@opencode/SessionTitle") {
55
55
  }
56
56
  var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
57
57
  var messagePrompt = (text) => `Here is the first message of the conversation:
@@ -72,11 +72,11 @@ var isUntitled2 = (session) => isExactRootFallback({
72
72
  title: session.title,
73
73
  time: { created: DateTime.toEpochMillis(session.time.created) }
74
74
  });
75
- var layer8 = Layer.effect(Service12, Effect.gen(function* () {
75
+ var layer7 = Layer.effect(Service8, Effect.gen(function* () {
76
76
  const bus = yield* Service85;
77
77
  const llm = yield* LLMClient.Service;
78
- const context = yield* Service28;
79
- const store = yield* Service78;
78
+ const context = yield* Service17;
79
+ const store = yield* Service79;
80
80
  const db = (yield* Service86).db;
81
81
  const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
82
82
  const chunks = [];
@@ -160,12 +160,12 @@ Recent conversation:
160
160
  title: truncate(title)
161
161
  }, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
162
162
  });
163
- return Service12.of({ generate });
163
+ return Service8.of({ generate });
164
164
  }));
165
- var node14 = makeLocationNode({
166
- service: Service12,
167
- layer: layer8,
168
- deps: [node89, llmClient2, node31, node82, node90]
165
+ var node10 = makeLocationNode({
166
+ service: Service8,
167
+ layer: layer7,
168
+ deps: [node89, llmClient2, node20, node83, node90]
169
169
  });
170
170
 
171
- export { Service12, isUntitled2, layer8, node14, exports_title };
171
+ export { Service8, isUntitled2, layer7, node10, exports_title };
@@ -2,18 +2,18 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./models-dev-z5v4ffb3.js";
5
+ } from "./shell-z5v4ffb3.js";
6
6
  import {
7
7
  Service82,
8
8
  node86
9
- } from "./models-dev-pdx11bkf.js";
9
+ } from "./shell-4zqkcf57.js";
10
10
  import {
11
- Service50,
12
- node52
13
- } from "./models-dev-mqry7vh6.js";
11
+ Service46,
12
+ node48
13
+ } from "./shell-s9dwmje5.js";
14
14
  import {
15
15
  __export
16
- } from "./models-dev-9rqn6x4v.js";
16
+ } from "./shell-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
@@ -24,17 +24,17 @@ __export(exports_filesystem, {
24
24
  DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
25
25
  DirectoryNotFoundError: () => DirectoryNotFoundError2,
26
26
  Entry: () => Entry2,
27
- Event: () => Event8,
27
+ Event: () => Event5,
28
28
  FileSystem: () => exports_filesystem,
29
29
  FindInput: () => FindInput2,
30
30
  GlobInput: () => GlobInput2,
31
31
  GrepInput: () => GrepInput2,
32
32
  Match: () => Match2,
33
- NotFoundError: () => NotFoundError6,
34
- Service: () => Service49,
33
+ NotFoundError: () => NotFoundError4,
34
+ Service: () => Service45,
35
35
  Submatch: () => Submatch2,
36
36
  Write: () => Write2,
37
- node: () => node51
37
+ node: () => node47
38
38
  });
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
40
  import path from "path";
@@ -43,7 +43,7 @@ import { FSUtil } from "@opencode/util/fs-util";
43
43
  import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
44
44
  import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
45
45
 
46
- class NotFoundError6 extends Schema.TaggedError()("FileSystem.NotFoundError", {
46
+ class NotFoundError4 extends Schema.TaggedError()("FileSystem.NotFoundError", {
47
47
  path: RelativePath2
48
48
  }) {
49
49
  }
@@ -92,14 +92,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
92
92
  limit: Schema.optionalKey(PositiveInt2)
93
93
  }) {
94
94
  }
95
- var Event8 = FileSystem.Event;
95
+ var Event5 = FileSystem.Event;
96
96
 
97
- class Service49 extends Context.Service()("@opencode/FileSystem") {
97
+ class Service45 extends Context.Service()("@opencode/FileSystem") {
98
98
  }
99
- var baseLayer = Layer.effect(Service49, Effect.gen(function* () {
99
+ var baseLayer = Layer.effect(Service45, Effect.gen(function* () {
100
100
  const fs = yield* FSUtil.Service;
101
101
  const location = yield* Service82;
102
- const search = yield* Service50;
102
+ const search = yield* Service46;
103
103
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.tap((real) => fs.access(real, { readable: true })), Effect.catch((cause) => {
104
104
  if (cause.reason._tag === "NotFound")
105
105
  return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
@@ -109,22 +109,22 @@ var baseLayer = Layer.effect(Service49, Effect.gen(function* () {
109
109
  }));
110
110
  const resolve = Effect.fnUntraced(function* (input) {
111
111
  if (input.includes("\x00"))
112
- return yield* Effect.fail(new NotFoundError6({ path: input }));
112
+ return yield* Effect.fail(new NotFoundError4({ path: input }));
113
113
  const absolute = path.resolve(location.directory, input);
114
114
  if (!FSUtil.contains(location.directory, absolute))
115
- return yield* Effect.fail(new NotFoundError6({ path: input }));
116
- const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input })), (_, error) => Effect.die(error)));
115
+ return yield* Effect.fail(new NotFoundError4({ path: input }));
116
+ const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input })), (_, error) => Effect.die(error)));
117
117
  if (!FSUtil.contains(root, real))
118
- return yield* Effect.fail(new NotFoundError6({ path: input }));
118
+ return yield* Effect.fail(new NotFoundError4({ path: input }));
119
119
  return { absolute, real, directory: location.directory };
120
120
  });
121
- return Service49.of({
121
+ return Service45.of({
122
122
  find: search.find,
123
123
  read: Effect.fn("FileSystem.read")(function* (input) {
124
124
  const target = yield* resolve(input.path);
125
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input.path })), (_, error) => Effect.die(error)));
125
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error)));
126
126
  if (info.type !== "File")
127
- return yield* Effect.fail(new NotFoundError6({ path: input.path }));
127
+ return yield* Effect.fail(new NotFoundError4({ path: input.path }));
128
128
  return {
129
129
  mime: FSUtil.mimeType(target.real),
130
130
  size: Number(info.size),
@@ -134,7 +134,7 @@ var baseLayer = Layer.effect(Service49, Effect.gen(function* () {
134
134
  }),
135
135
  list: Effect.fn("FileSystem.list")(function* (input = {}) {
136
136
  const directory = path.resolve(location.directory, input.path ?? ".");
137
- const missing = new NotFoundError6({ path: RelativePath2.make(input.path ?? ".") });
137
+ const missing = new NotFoundError4({ path: RelativePath2.make(input.path ?? ".") });
138
138
  const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
139
139
  if (info.type !== "Directory")
140
140
  return yield* missing;
@@ -158,10 +158,10 @@ var baseLayer = Layer.effect(Service49, Effect.gen(function* () {
158
158
  })
159
159
  });
160
160
  }));
161
- var node51 = makeLocationNode({
162
- service: Service49,
161
+ var node47 = makeLocationNode({
162
+ service: Service45,
163
163
  layer: baseLayer,
164
- deps: [FSUtil.node, node86, node52]
164
+ deps: [FSUtil.node, node86, node48]
165
165
  });
166
166
 
167
- export { FindInput2, Write2, NotFoundError6, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event8, Service49, node51, exports_filesystem, Entry2, Match2, Submatch2 };
167
+ export { FindInput2, Write2, NotFoundError4, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event5, Service45, node47, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./models-dev-9rqn6x4v.js";
3
+ } from "./shell-9rqn6x4v.js";
4
4
 
5
5
  // src/filesystem/protected.ts
6
6
  var exports_protected = {};
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./models-dev-5v78rb4d.js";
4
+ } from "./shell-e00z28p8.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./models-dev-vd3b3yk9.js";
8
+ } from "./shell-vd3b3yk9.js";
9
9
  import {
10
10
  Service82,
11
11
  node86
12
- } from "./models-dev-pdx11bkf.js";
12
+ } from "./shell-4zqkcf57.js";
13
13
  import {
14
14
  rewrite2,
15
- ID9,
15
+ ID7,
16
16
  modelSettings2,
17
17
  mergeOverlay2,
18
18
  mergeHeaders2,
19
- Service69,
20
- node73,
21
- Event14
22
- } from "./models-dev-cm884v9c.js";
19
+ Service65,
20
+ node69,
21
+ Event11
22
+ } from "./shell-1rarfw9s.js";
23
23
  import {
24
24
  __export
25
- } from "./models-dev-9rqn6x4v.js";
25
+ } from "./shell-9rqn6x4v.js";
26
26
 
27
27
  // src/model.ts
28
28
  var exports_model2 = {};
@@ -30,18 +30,18 @@ __export(exports_model2, {
30
30
  Capabilities: () => Capabilities2,
31
31
  Compatibility: () => Compatibility2,
32
32
  Cost: () => Cost2,
33
- Event: () => Event13,
33
+ Event: () => Event10,
34
34
  Family: () => Family2,
35
- ID: () => ID8,
36
- Info: () => Info18,
35
+ ID: () => ID6,
36
+ Info: () => Info16,
37
37
  Model: () => exports_model2,
38
38
  ReasoningField: () => ReasoningField2,
39
39
  Ref: () => Ref2,
40
- Service: () => Service68,
40
+ Service: () => Service64,
41
41
  VariantID: () => VariantID2,
42
42
  compatibility: () => compatibility2,
43
43
  mergeCapabilities: () => mergeCapabilities2,
44
- node: () => node72,
44
+ node: () => node68,
45
45
  parse: () => parse5,
46
46
  supportsText: () => supportsText2
47
47
  });
@@ -49,8 +49,8 @@ import { Model } from "@opencode/schema/model";
49
49
  import { Context, Effect, Layer, Stream } from "effect";
50
50
  import { makeLocationNode } from "@opencode/util/effect/app-node";
51
51
  import { freeze } from "immer";
52
- import { Event as Event13 } from "@opencode/schema/model";
53
- var ID8 = Model.ID;
52
+ import { Event as Event10 } from "@opencode/schema/model";
53
+ var ID6 = Model.ID;
54
54
  var VariantID2 = Model.VariantID;
55
55
  var Family2 = Model.Family;
56
56
  var ReasoningField2 = Model.ReasoningField;
@@ -67,12 +67,12 @@ var mergeCapabilities2 = (config, base) => {
67
67
  };
68
68
  var Cost2 = Model.Cost;
69
69
  var Ref2 = Model.Ref;
70
- var Info18 = Model.Info;
70
+ var Info16 = Model.Info;
71
71
 
72
- class Service68 extends Context.Service()("@opencode/Model") {
72
+ class Service64 extends Context.Service()("@opencode/Model") {
73
73
  }
74
- var layer = Layer.effect(Service68, Effect.gen(function* () {
75
- const providers = yield* Service69;
74
+ var layer = Layer.effect(Service64, Effect.gen(function* () {
75
+ const providers = yield* Service65;
76
76
  const bus = yield* Service85;
77
77
  const location = yield* Service82;
78
78
  const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
@@ -120,7 +120,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
120
120
  const models = writable(providerID);
121
121
  if (!models)
122
122
  return;
123
- const model = draft(providerID, modelID) ?? Info18.default(providerID, modelID);
123
+ const model = draft(providerID, modelID) ?? Info16.default(providerID, modelID);
124
124
  update(model);
125
125
  model.id = modelID;
126
126
  model.providerID = providerID;
@@ -189,7 +189,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
189
189
  ];
190
190
  }));
191
191
  if (disableFree)
192
- for (const providerID of [ID9.opencode, ID9.make("opencode-go")])
192
+ for (const providerID of [ID7.opencode, ID7.make("opencode-go")])
193
193
  byProvider.get(providerID)?.forEach((model, id, models) => {
194
194
  if (!model.cost.some((cost) => cost.input > 0))
195
195
  models.delete(id);
@@ -216,8 +216,8 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
216
216
  location: { directory: location.directory, workspaceID: location.workspaceID }
217
217
  });
218
218
  });
219
- yield* bus.subscribe(Event14.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
220
- return Service68.of({
219
+ yield* bus.subscribe(Event11.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
220
+ return Service64.of({
221
221
  transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
222
222
  reload,
223
223
  get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
@@ -236,7 +236,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
236
236
  })
237
237
  });
238
238
  }));
239
- var node72 = makeLocationNode({ service: Service68, layer, deps: [node73, node89, node86] });
239
+ var node68 = makeLocationNode({ service: Service64, layer, deps: [node69, node89, node86] });
240
240
  var PREFERRED_FREE = [
241
241
  "big-pickle",
242
242
  "deepseek-v4.1-flash-free",
@@ -244,7 +244,7 @@ var PREFERRED_FREE = [
244
244
  "muse-spark-1.3-contributor-free"
245
245
  ];
246
246
  function preferFree(models) {
247
- const freeOnly = models.every((model) => model.providerID === ID9.opencode && !model.cost.some((cost) => cost.input > 0));
247
+ const freeOnly = models.every((model) => model.providerID === ID7.opencode && !model.cost.some((cost) => cost.input > 0));
248
248
  if (!freeOnly)
249
249
  return models;
250
250
  const picks = PREFERRED_FREE.flatMap((id) => models.find((model) => model.id === id) ?? []);
@@ -263,9 +263,9 @@ function compatibility2(input) {
263
263
  function parse5(input) {
264
264
  const index = input.indexOf("/");
265
265
  return {
266
- providerID: ID9.make(index === -1 ? input : input.slice(0, index)),
267
- modelID: ID8.make(index === -1 ? "" : input.slice(index + 1))
266
+ providerID: ID7.make(index === -1 ? input : input.slice(0, index)),
267
+ modelID: ID6.make(index === -1 ? "" : input.slice(index + 1))
268
268
  };
269
269
  }
270
270
 
271
- export { ID8, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info18, Service68, node72, supportsText2, compatibility2, parse5, exports_model2, Event13 };
271
+ export { ID6, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info16, Service64, node68, supportsText2, compatibility2, parse5, exports_model2, Event10 };
@@ -2,7 +2,7 @@ import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2,
4
4
  mapUpdateSet2
5
- } from "./models-dev-emrn6kk6.js";
5
+ } from "./shell-emrn6kk6.js";
6
6
 
7
7
  // src/database/drizzle/sqlite-core/effect/insert.ts
8
8
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./models-dev-9rqn6x4v.js";
3
+ } from "./shell-9rqn6x4v.js";
4
4
 
5
5
  // src/config/variable.ts
6
6
  var exports_variable = {};