@opencode/core 0.0.0-dev-20825 → 0.0.0-dev-20827

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 (789) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{model-resolver-fz112egw.js → instance-029pw59f.js} +5 -5
  8. package/dist/chunks/{model-resolver-z5z78jza.js → instance-06y773be.js} +21 -21
  9. package/dist/chunks/{model-resolver-0rs8myd8.js → instance-07jbz131.js} +22 -22
  10. package/dist/chunks/{model-resolver-q0xm7vwc.js → instance-0j77ygfz.js} +6 -6
  11. package/dist/chunks/{model-resolver-qgy4cpjv.js → instance-0k1qxdkc.js} +9 -9
  12. package/dist/chunks/{model-resolver-0paq2nw3.js → instance-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{model-resolver-tnwk7je0.js → instance-0pv72p9d.js} +11 -11
  14. package/dist/chunks/{model-resolver-8445zpne.js → instance-0t8zfa62.js} +20 -20
  15. package/dist/chunks/{model-resolver-am4ys6ej.js → instance-0trfysrn.js} +11 -11
  16. package/dist/chunks/{model-resolver-0vbcp93d.js → instance-0vbcp93d.js} +2 -2
  17. package/dist/chunks/{model-resolver-37ex1wq2.js → instance-111chvv6.js} +3 -3
  18. package/dist/chunks/{model-resolver-3an6bgbg.js → instance-11626hss.js} +15 -15
  19. package/dist/chunks/{model-resolver-6hjx5zpb.js → instance-11dqjexa.js} +9 -9
  20. package/dist/chunks/{model-resolver-rm0y65ew.js → instance-12khtxcx.js} +5 -5
  21. package/dist/chunks/{model-resolver-x8yzxsbj.js → instance-1359n4t6.js} +10 -10
  22. package/dist/chunks/{model-resolver-v2xp8k5w.js → instance-153cwxcv.js} +4 -4
  23. package/dist/chunks/{model-resolver-mr56bpwe.js → instance-1agwckrn.js} +11 -11
  24. package/dist/chunks/{model-resolver-p0x6m6cr.js → instance-1c29c2dv.js} +35 -35
  25. package/dist/chunks/{model-resolver-0yvp6fqs.js → instance-1e3tja1f.js} +32 -32
  26. package/dist/chunks/{model-resolver-zsr4wwhv.js → instance-1rn5pcm9.js} +4 -4
  27. package/dist/chunks/{model-resolver-9h7c1aps.js → instance-1zpxtp3m.js} +18 -18
  28. package/dist/chunks/{model-resolver-e73g0wvd.js → instance-2c3anf0v.js} +4 -4
  29. package/dist/chunks/{model-resolver-4ts7tf6z.js → instance-2ccvkpx1.js} +2 -2
  30. package/dist/chunks/{model-resolver-gzk07654.js → instance-2dh2xdbt.js} +49 -49
  31. package/dist/chunks/{model-resolver-rzs3gq0x.js → instance-2n295dmf.js} +8 -8
  32. package/dist/chunks/{model-resolver-2vvh33eb.js → instance-2vvh33eb.js} +2 -2
  33. package/dist/chunks/{model-resolver-21hptw97.js → instance-32des0by.js} +30 -30
  34. package/dist/chunks/{model-resolver-8nzb5d0e.js → instance-33rvgmcv.js} +5 -5
  35. package/dist/chunks/{model-resolver-msk51jxa.js → instance-35xs4z06.js} +25 -25
  36. package/dist/chunks/{model-resolver-qkn9n2ht.js → instance-39t8n9ky.js} +11 -11
  37. package/dist/chunks/{model-resolver-j6sex83x.js → instance-3c29hp53.js} +4 -4
  38. package/dist/chunks/{model-resolver-rk9k7afq.js → instance-3d182hk5.js} +3 -3
  39. package/dist/chunks/{model-resolver-e052d1q0.js → instance-3dxwnv9s.js} +27 -27
  40. package/dist/chunks/{model-resolver-3fc6dm20.js → instance-3fc6dm20.js} +1 -1
  41. package/dist/chunks/{model-resolver-3hepkmqq.js → instance-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{model-resolver-3hwn7j4h.js → instance-3hwn7j4h.js} +2 -2
  43. package/dist/chunks/{model-resolver-4qaehj67.js → instance-3mtcg1ph.js} +6 -6
  44. package/dist/chunks/{model-resolver-prmgem5b.js → instance-3ppptnan.js} +6 -6
  45. package/dist/chunks/{model-resolver-3smtnn6g.js → instance-3smtnn6g.js} +1 -1
  46. package/dist/chunks/{model-resolver-1v7d8dyr.js → instance-3smzvwmj.js} +14 -14
  47. package/dist/chunks/{model-resolver-3tvqynh2.js → instance-3tvqynh2.js} +1 -1
  48. package/dist/chunks/{model-resolver-3zsf4n22.js → instance-3zsf4n22.js} +1 -1
  49. package/dist/chunks/{model-resolver-58hng72m.js → instance-461nxmbv.js} +5 -5
  50. package/dist/chunks/{model-resolver-6kzp9tjq.js → instance-47jkzegy.js} +5 -5
  51. package/dist/chunks/{model-resolver-rsmgkfp3.js → instance-48r0wrnn.js} +10 -10
  52. package/dist/chunks/{model-resolver-00mvmxfh.js → instance-4ac1hn9f.js} +12 -12
  53. package/dist/chunks/{model-resolver-mh95raz8.js → instance-4c1c6x0j.js} +20 -20
  54. package/dist/chunks/{model-resolver-0br3sbwn.js → instance-4v7ngy20.js} +4 -4
  55. package/dist/chunks/{model-resolver-e8m77gve.js → instance-52gfmpss.js} +5 -5
  56. package/dist/chunks/{model-resolver-r94pvvab.js → instance-54ma36ye.js} +4 -4
  57. package/dist/chunks/{model-resolver-mpr1ppnz.js → instance-5cj9vq0j.js} +176 -176
  58. package/dist/chunks/instance-5cvbdt3t.js +253 -0
  59. package/dist/chunks/{model-resolver-97aeaand.js → instance-5fec3t3w.js} +9 -9
  60. package/dist/chunks/{model-resolver-0epwncsf.js → instance-5kbwm9w7.js} +3 -3
  61. package/dist/chunks/{model-resolver-5m9w47nd.js → instance-5m9w47nd.js} +1 -1
  62. package/dist/chunks/{model-resolver-kxvb3car.js → instance-5nsk3cgd.js} +20 -20
  63. package/dist/chunks/{model-resolver-wat9ccs0.js → instance-5qw0f10w.js} +16 -16
  64. package/dist/chunks/{model-resolver-j5cam5cc.js → instance-610qr0kb.js} +96 -96
  65. package/dist/chunks/{model-resolver-62dx9yxp.js → instance-63a469gh.js} +35 -35
  66. package/dist/chunks/instance-65q80m5k.js +26 -0
  67. package/dist/chunks/{model-resolver-he27pt63.js → instance-68wqtz75.js} +1 -1
  68. package/dist/chunks/{model-resolver-d9kycxq3.js → instance-6am9e49w.js} +9 -9
  69. package/dist/chunks/{model-resolver-pbfwh0cy.js → instance-6hh8tjw2.js} +7 -7
  70. package/dist/chunks/{model-resolver-9g0x53p6.js → instance-6hysr14g.js} +28 -28
  71. package/dist/chunks/{model-resolver-x7srd6wz.js → instance-6mt73k75.js} +9 -9
  72. package/dist/chunks/{model-resolver-fcxqfe59.js → instance-6n70g1xh.js} +6 -6
  73. package/dist/chunks/{model-resolver-yfkx0eqm.js → instance-6wmwxeyx.js} +26 -26
  74. package/dist/chunks/{model-resolver-6xb47vfp.js → instance-6xb47vfp.js} +1 -1
  75. package/dist/chunks/{model-resolver-x6v0h5p6.js → instance-6xp5z83v.js} +11 -11
  76. package/dist/chunks/{model-resolver-hejxbgj7.js → instance-73z18d76.js} +23 -23
  77. package/dist/chunks/{model-resolver-7bmhse3q.js → instance-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{model-resolver-cxm67pkc.js → instance-7kxapdtj.js} +5 -5
  79. package/dist/chunks/{model-resolver-7gegkexy.js → instance-7mkz6cpd.js} +3 -3
  80. package/dist/chunks/{model-resolver-aw7rh1ww.js → instance-7n2qgph2.js} +23 -23
  81. package/dist/chunks/{model-resolver-vv44hwmw.js → instance-81fjg4yx.js} +12 -12
  82. package/dist/chunks/{model-resolver-gd3ka9py.js → instance-83gvq0ye.js} +4 -4
  83. package/dist/chunks/{model-resolver-84txncab.js → instance-84txncab.js} +1 -1
  84. package/dist/chunks/{model-resolver-89znhe33.js → instance-89znhe33.js} +1 -1
  85. package/dist/chunks/{model-resolver-8m6m0r52.js → instance-8m6m0r52.js} +1 -1
  86. package/dist/chunks/{model-resolver-c9b6c6br.js → instance-8mxs6q5q.js} +44 -44
  87. package/dist/chunks/{model-resolver-vwvxcq06.js → instance-8pa4512d.js} +5 -5
  88. package/dist/chunks/{model-resolver-q2t1kx4r.js → instance-8wp5nj2m.js} +2 -2
  89. package/dist/chunks/{model-resolver-j09zfasm.js → instance-91qna3x0.js} +3 -3
  90. package/dist/chunks/{model-resolver-75qns3nc.js → instance-98pzc9xt.js} +32 -32
  91. package/dist/chunks/{model-resolver-n3qtygy3.js → instance-9jaqn8p5.js} +7 -7
  92. package/dist/chunks/{model-resolver-fptw13bf.js → instance-9mgbv78s.js} +21 -21
  93. package/dist/chunks/{model-resolver-8ss8m2w6.js → instance-9vmcz4h6.js} +25 -25
  94. package/dist/chunks/{model-resolver-x2m64zns.js → instance-9wqt6yc5.js} +33 -33
  95. package/dist/chunks/{model-resolver-t57shhp7.js → instance-9y3hqzrg.js} +33 -33
  96. package/dist/chunks/{model-resolver-e8pe5bs3.js → instance-a28eztqj.js} +43 -43
  97. package/dist/chunks/{model-resolver-1xyzrv88.js → instance-a34xer23.js} +18 -18
  98. package/dist/chunks/{model-resolver-y15vpdnr.js → instance-a7bcxdzj.js} +9 -9
  99. package/dist/chunks/{model-resolver-s4xtvnse.js → instance-acrgyb43.js} +35 -35
  100. package/dist/chunks/{model-resolver-b3f8fkhc.js → instance-b3f8fkhc.js} +2 -2
  101. package/dist/chunks/{model-resolver-dxy7xx6d.js → instance-b487sczv.js} +7 -7
  102. package/dist/chunks/{model-resolver-hthjksz6.js → instance-b7kxsjye.js} +31 -31
  103. package/dist/chunks/{model-resolver-bjx1sjef.js → instance-bjx1sjef.js} +2 -2
  104. package/dist/chunks/{model-resolver-4xdpab2z.js → instance-bxqk5pf5.js} +9 -9
  105. package/dist/chunks/instance-by5v678g.js +18 -0
  106. package/dist/chunks/{model-resolver-ve4j09ev.js → instance-bz0esz96.js} +34 -34
  107. package/dist/chunks/{model-resolver-j62t34ty.js → instance-bz3703j4.js} +4 -4
  108. package/dist/chunks/{model-resolver-8e78msr1.js → instance-c2kw168f.js} +14 -14
  109. package/dist/chunks/{model-resolver-c41wscbt.js → instance-c41wscbt.js} +2 -2
  110. package/dist/chunks/{model-resolver-nveymbys.js → instance-c667ea02.js} +3 -3
  111. package/dist/chunks/{model-resolver-z64e08bt.js → instance-c75knw3b.js} +11 -11
  112. package/dist/chunks/{model-resolver-c8ax2afj.js → instance-c8ax2afj.js} +2 -2
  113. package/dist/chunks/{model-resolver-v7shq5xq.js → instance-cfx9nmr8.js} +24 -24
  114. package/dist/chunks/{model-resolver-kxrk9wqg.js → instance-d96awtdb.js} +14 -14
  115. package/dist/chunks/instance-dd39q6h3.js +513 -0
  116. package/dist/chunks/{model-resolver-vq8v8vez.js → instance-de4tk2kz.js} +16 -16
  117. package/dist/chunks/{model-resolver-1zsq2bqn.js → instance-dgcvqrm7.js} +11 -11
  118. package/dist/chunks/{model-resolver-0z2tybs7.js → instance-dpk9s60g.js} +4 -4
  119. package/dist/chunks/{model-resolver-y71avatq.js → instance-dpkg50ah.js} +4 -4
  120. package/dist/chunks/{model-resolver-8zda0nf7.js → instance-dpwn1cem.js} +11 -11
  121. package/dist/chunks/{model-resolver-00hydevz.js → instance-dqrdxvr6.js} +19 -19
  122. package/dist/chunks/{model-resolver-drwq78ky.js → instance-drwq78ky.js} +1 -1
  123. package/dist/chunks/{model-resolver-2rehhz5t.js → instance-dx0ahrbs.js} +11 -11
  124. package/dist/chunks/{model-resolver-5qd3pb7m.js → instance-e3qxr5gk.js} +2 -2
  125. package/dist/chunks/{model-resolver-hsnz0d85.js → instance-e55zmt9g.js} +11 -11
  126. package/dist/chunks/{model-resolver-ph842b28.js → instance-eahhehpg.js} +4 -4
  127. package/dist/chunks/{model-resolver-z6xnm1hd.js → instance-ecb995cy.js} +24 -24
  128. package/dist/chunks/{model-resolver-6b3rp9xb.js → instance-eebbcbg0.js} +23 -23
  129. package/dist/chunks/{model-resolver-eej6y6fw.js → instance-eej6y6fw.js} +2 -2
  130. package/dist/chunks/{model-resolver-7qy5krn4.js → instance-eewvv2kc.js} +49 -49
  131. package/dist/chunks/{model-resolver-ef5x83kb.js → instance-ef5x83kb.js} +1 -1
  132. package/dist/chunks/{model-resolver-qeay7bfp.js → instance-em38mb3z.js} +50 -50
  133. package/dist/chunks/{model-resolver-es1vcfrp.js → instance-es1vcfrp.js} +3 -3
  134. package/dist/chunks/{model-resolver-mt7m3ya6.js → instance-eywxhyst.js} +11 -11
  135. package/dist/chunks/{model-resolver-pj2kjhp4.js → instance-f383z995.js} +28 -28
  136. package/dist/chunks/{model-resolver-zkqkkjp9.js → instance-fbdvw7d5.js} +29 -29
  137. package/dist/chunks/{model-resolver-267qws5w.js → instance-fe39dvrz.js} +19 -19
  138. package/dist/chunks/{model-resolver-qwjmgwmn.js → instance-fgem0d3n.js} +8 -8
  139. package/dist/chunks/{model-resolver-hq3c8me3.js → instance-fxaymqdw.js} +4 -4
  140. package/dist/chunks/{model-resolver-1y24xx8v.js → instance-fxt8cxhv.js} +45 -45
  141. package/dist/chunks/{model-resolver-gd4qta3r.js → instance-gd4qta3r.js} +1 -1
  142. package/dist/chunks/{model-resolver-cpneeje0.js → instance-gjwgx2c5.js} +9 -9
  143. package/dist/chunks/{model-resolver-gk8qb678.js → instance-gk8qb678.js} +1 -1
  144. package/dist/chunks/{model-resolver-btz0t88h.js → instance-gmxdk168.js} +27 -27
  145. package/dist/chunks/{model-resolver-thxhb584.js → instance-gshs7jb6.js} +4 -4
  146. package/dist/chunks/{model-resolver-rwm5vee1.js → instance-gst7axd9.js} +4 -4
  147. package/dist/chunks/{model-resolver-qfxdb210.js → instance-gsxqm9kc.js} +8 -8
  148. package/dist/chunks/{model-resolver-ykvkrf63.js → instance-gw7gqfev.js} +5 -5
  149. package/dist/chunks/{model-resolver-h6vf3j39.js → instance-h6vf3j39.js} +1 -1
  150. package/dist/chunks/{model-resolver-52ghtah7.js → instance-h70qh0pf.js} +8 -8
  151. package/dist/chunks/{model-resolver-31xfzrxg.js → instance-h7s7r6s9.js} +5 -5
  152. package/dist/chunks/{model-resolver-zp6x4rdv.js → instance-h92pexg6.js} +11 -11
  153. package/dist/chunks/{model-resolver-s76dkkvr.js → instance-h9y3gc81.js} +20 -20
  154. package/dist/chunks/{model-resolver-c7cb53f3.js → instance-hem2fds5.js} +13 -13
  155. package/dist/chunks/{model-resolver-hgz4x7wa.js → instance-hgz4x7wa.js} +1 -1
  156. package/dist/chunks/{model-resolver-jdz4qjxc.js → instance-hqhp0zxs.js} +4 -4
  157. package/dist/chunks/{model-resolver-k9byjnss.js → instance-ht9x2vd6.js} +11 -11
  158. package/dist/chunks/{model-resolver-my4zabxr.js → instance-hzrfc1p4.js} +3 -3
  159. package/dist/chunks/{model-resolver-tmzvxbcr.js → instance-j1p9px45.js} +10 -10
  160. package/dist/chunks/{model-resolver-g3pjsnhq.js → instance-j3gj8bpw.js} +22 -22
  161. package/dist/chunks/{model-resolver-j56e64zr.js → instance-j56e64zr.js} +1 -1
  162. package/dist/chunks/{model-resolver-wpdtsyf6.js → instance-j5q539aw.js} +22 -22
  163. package/dist/chunks/{model-resolver-czz8a252.js → instance-j60gn3pj.js} +27 -27
  164. package/dist/chunks/{model-resolver-evq0a796.js → instance-ja6nd376.js} +62 -62
  165. package/dist/chunks/{model-resolver-jxr5ks98.js → instance-jp4d7tph.js} +6 -6
  166. package/dist/chunks/{model-resolver-ns4jf56n.js → instance-js94w814.js} +30 -30
  167. package/dist/chunks/{model-resolver-9mk6smr7.js → instance-k1n01d0g.js} +18 -18
  168. package/dist/chunks/{model-resolver-ytm23z63.js → instance-kb7tk14c.js} +20 -20
  169. package/dist/chunks/{model-resolver-952eaccn.js → instance-kb81nczd.js} +22 -22
  170. package/dist/chunks/{model-resolver-vwt8phtz.js → instance-kbvqrc92.js} +20 -20
  171. package/dist/chunks/{model-resolver-r3dvpv5z.js → instance-kch01m1z.js} +30 -30
  172. package/dist/chunks/{model-resolver-z525se4v.js → instance-knx1mpgn.js} +21 -21
  173. package/dist/chunks/{model-resolver-dg7e64je.js → instance-kprj14vv.js} +13 -13
  174. package/dist/chunks/{model-resolver-ds4xae65.js → instance-kssbe8nb.js} +8 -8
  175. package/dist/chunks/{model-resolver-pqf191vy.js → instance-kszv5zxs.js} +17 -17
  176. package/dist/chunks/{model-resolver-mdgny2h2.js → instance-kt2xfrns.js} +63 -63
  177. package/dist/chunks/{model-resolver-9zjswjmw.js → instance-kte28av3.js} +8 -8
  178. package/dist/chunks/{model-resolver-q0zbnr5v.js → instance-m8z4j9he.js} +6 -6
  179. package/dist/chunks/{model-resolver-m9w0rfyh.js → instance-m9w0rfyh.js} +1 -1
  180. package/dist/chunks/{model-resolver-7atybeme.js → instance-mf3tt33a.js} +18 -18
  181. package/dist/chunks/{model-resolver-brqa01n9.js → instance-mfhppze3.js} +23 -23
  182. package/dist/chunks/{model-resolver-addxnjmp.js → instance-mxvxcxwy.js} +4 -4
  183. package/dist/chunks/{model-resolver-f6vfcazt.js → instance-n9n1my3y.js} +15 -15
  184. package/dist/chunks/{model-resolver-hyay7qq8.js → instance-ng3918dk.js} +8 -8
  185. package/dist/chunks/{model-resolver-nma959mg.js → instance-nma959mg.js} +1 -1
  186. package/dist/chunks/{model-resolver-5yzzbxa7.js → instance-p37cw4rj.js} +8 -8
  187. package/dist/chunks/{model-resolver-3j5kk4r4.js → instance-p8kjk1y4.js} +60 -60
  188. package/dist/chunks/{model-resolver-rbr6e3az.js → instance-pddvn4ak.js} +46 -46
  189. package/dist/chunks/{model-resolver-jepehhcn.js → instance-pe0vaf1g.js} +6 -6
  190. package/dist/chunks/{model-resolver-8asyfh9s.js → instance-pgxhr7ry.js} +6 -6
  191. package/dist/chunks/{model-resolver-pjvnvgmy.js → instance-pjvnvgmy.js} +1 -1
  192. package/dist/chunks/{model-resolver-pknna89w.js → instance-pknna89w.js} +1 -1
  193. package/dist/chunks/{model-resolver-9q2dymh5.js → instance-pmdm3hax.js} +51 -51
  194. package/dist/chunks/{model-resolver-yesxfxzm.js → instance-ppc4rg1w.js} +14 -14
  195. package/dist/chunks/{model-resolver-skhz7g2d.js → instance-pq5v3pd8.js} +25 -25
  196. package/dist/chunks/{model-resolver-66c2wr2a.js → instance-pt21w9jz.js} +10 -10
  197. package/dist/chunks/{model-resolver-vk4601vm.js → instance-pvb6eze4.js} +18 -18
  198. package/dist/chunks/{model-resolver-pm617sjb.js → instance-q1tvsmm7.js} +11 -11
  199. package/dist/chunks/{model-resolver-0cyezpg7.js → instance-q1vnr78s.js} +9 -9
  200. package/dist/chunks/{model-resolver-n2rv9ytx.js → instance-q7tf21sk.js} +12 -12
  201. package/dist/chunks/{model-resolver-bs6f72ms.js → instance-qepgs3zw.js} +10 -10
  202. package/dist/chunks/{model-resolver-0jwsre1p.js → instance-qgn6gcr1.js} +5 -5
  203. package/dist/chunks/{model-resolver-repb58am.js → instance-qh8vdwx1.js} +8 -8
  204. package/dist/chunks/{model-resolver-mjwve1nx.js → instance-qmkfnjtm.js} +35 -35
  205. package/dist/chunks/{model-resolver-qnc92qwc.js → instance-qnc92qwc.js} +1 -1
  206. package/dist/chunks/{model-resolver-qsdy395h.js → instance-qsdy395h.js} +1 -1
  207. package/dist/chunks/{model-resolver-2z1sbxkm.js → instance-r2c0cc8a.js} +18 -18
  208. package/dist/chunks/{model-resolver-wr9zkec4.js → instance-r2mctg0a.js} +14 -14
  209. package/dist/chunks/{model-resolver-1gpb38yh.js → instance-r3pqm3re.js} +9 -9
  210. package/dist/chunks/{model-resolver-xpffpww7.js → instance-r82vzbv4.js} +11 -11
  211. package/dist/chunks/{model-resolver-25tpx51f.js → instance-r9dk3pzz.js} +13 -13
  212. package/dist/chunks/{model-resolver-j043eqhj.js → instance-rbrz49bg.js} +30 -30
  213. package/dist/chunks/{model-resolver-w0n5n1pn.js → instance-rdec90m5.js} +13 -13
  214. package/dist/chunks/{model-resolver-rdw6cm16.js → instance-rdw6cm16.js} +1 -1
  215. package/dist/chunks/{model-resolver-zehn0qfn.js → instance-rgec3vff.js} +40 -40
  216. package/dist/chunks/{model-resolver-r4yqrmdq.js → instance-rkdvqggb.js} +5 -5
  217. package/dist/chunks/{model-resolver-6pc27hjz.js → instance-rkprpv83.js} +6 -6
  218. package/dist/chunks/{model-resolver-wkw6304r.js → instance-rpwdzjd4.js} +16 -16
  219. package/dist/chunks/{model-resolver-rjmj41vv.js → instance-rq1k9zhx.js} +4 -4
  220. package/dist/chunks/{model-resolver-jaawwjdn.js → instance-rq46pevd.js} +28 -28
  221. package/dist/chunks/{model-resolver-xfwgz2sz.js → instance-rzjekkwt.js} +11 -11
  222. package/dist/chunks/{model-resolver-5fn8kb1m.js → instance-skv3wcb4.js} +36 -36
  223. package/dist/chunks/{model-resolver-rx9sw936.js → instance-sqhmztbs.js} +38 -38
  224. package/dist/chunks/{model-resolver-syv4x271.js → instance-syv4x271.js} +1 -1
  225. package/dist/chunks/{model-resolver-eaj1djv9.js → instance-t550f9t1.js} +8 -8
  226. package/dist/chunks/{model-resolver-t8h80vnj.js → instance-t93akgjb.js} +27 -27
  227. package/dist/chunks/{model-resolver-tazgh4e4.js → instance-tazgh4e4.js} +1 -1
  228. package/dist/chunks/{model-resolver-tdstcens.js → instance-tdstcens.js} +1 -1
  229. package/dist/chunks/{model-resolver-tkb22qbm.js → instance-tkb22qbm.js} +2 -2
  230. package/dist/chunks/{model-resolver-nsep0bnj.js → instance-txdkr3s4.js} +10 -10
  231. package/dist/chunks/{model-resolver-tyytaxap.js → instance-tyytaxap.js} +1 -1
  232. package/dist/chunks/{model-resolver-0bg0bx69.js → instance-v0es1rhs.js} +5 -5
  233. package/dist/chunks/{model-resolver-4a5ztk63.js → instance-v5c6barj.js} +47 -47
  234. package/dist/chunks/{model-resolver-v7p4zvkq.js → instance-v7p4zvkq.js} +2 -2
  235. package/dist/chunks/{model-resolver-gqvee6ey.js → instance-vct9a0jq.js} +20 -20
  236. package/dist/chunks/{model-resolver-veqvce7d.js → instance-veqvce7d.js} +1 -1
  237. package/dist/chunks/{model-resolver-drnf6xwf.js → instance-vjjaysxc.js} +2 -2
  238. package/dist/chunks/{model-resolver-1ggxa6t4.js → instance-vmg6wk38.js} +84 -84
  239. package/dist/chunks/{model-resolver-fg0se8bt.js → instance-vmw2309x.js} +33 -33
  240. package/dist/chunks/{model-resolver-hxrx80a3.js → instance-vrga0r6z.js} +38 -38
  241. package/dist/chunks/{model-resolver-vk084q95.js → instance-vxn6q82b.js} +38 -38
  242. package/dist/chunks/{model-resolver-vzs5sf6e.js → instance-vzs5sf6e.js} +1 -1
  243. package/dist/chunks/{model-resolver-gfhy63hj.js → instance-w2ccq8fn.js} +17 -17
  244. package/dist/chunks/{model-resolver-dssbfrwz.js → instance-w2h15q85.js} +5 -5
  245. package/dist/chunks/{model-resolver-w3wsvvr9.js → instance-w3wsvvr9.js} +1 -1
  246. package/dist/chunks/{model-resolver-b8zkqphn.js → instance-w8rbtm3j.js} +19 -19
  247. package/dist/chunks/{model-resolver-wd87259q.js → instance-wd87259q.js} +1 -1
  248. package/dist/chunks/{model-resolver-438mmgwp.js → instance-whjf4gy9.js} +1 -1
  249. package/dist/chunks/{model-resolver-wvnxh5mx.js → instance-wjsxeca6.js} +12 -12
  250. package/dist/chunks/{model-resolver-d07a65d0.js → instance-wmmcjnbx.js} +32 -32
  251. package/dist/chunks/{model-resolver-arvc38t3.js → instance-wn3t7bpb.js} +5 -5
  252. package/dist/chunks/{model-resolver-f8w4kezf.js → instance-wqzzjrnt.js} +15 -15
  253. package/dist/chunks/{model-resolver-7428vhhy.js → instance-x113b0xz.js} +15 -15
  254. package/dist/chunks/{model-resolver-kc9gjmg8.js → instance-x2h9ec76.js} +17 -17
  255. package/dist/chunks/{model-resolver-2khnwfma.js → instance-x36jn30v.js} +20 -20
  256. package/dist/chunks/{model-resolver-znvvnn0n.js → instance-x5h44zm2.js} +14 -14
  257. package/dist/chunks/{model-resolver-20vh3zss.js → instance-xatakwe1.js} +13 -13
  258. package/dist/chunks/{model-resolver-8xshesq6.js → instance-xfewft5k.js} +4 -4
  259. package/dist/chunks/{model-resolver-bezqnnbp.js → instance-xp066kac.js} +13 -13
  260. package/dist/chunks/{model-resolver-spzmyp0d.js → instance-xt3y6wcz.js} +5 -5
  261. package/dist/chunks/{model-resolver-4zj9c7sr.js → instance-xzfz3f2s.js} +22 -22
  262. package/dist/chunks/{model-resolver-t2vkhgbg.js → instance-y0afz0bn.js} +24 -24
  263. package/dist/chunks/{model-resolver-y1fvbwt7.js → instance-y1fvbwt7.js} +1 -1
  264. package/dist/chunks/{model-resolver-7x4tntjh.js → instance-y7zbaxef.js} +1 -1
  265. package/dist/chunks/{model-resolver-hcc7h0se.js → instance-y81ryenr.js} +25 -25
  266. package/dist/chunks/{model-resolver-xmkm7fbj.js → instance-y85gn7vd.js} +35 -35
  267. package/dist/chunks/{model-resolver-yy2bf7rf.js → instance-yjbszvmy.js} +7 -7
  268. package/dist/chunks/{model-resolver-shc06m3c.js → instance-ykswskn7.js} +34 -34
  269. package/dist/chunks/{model-resolver-n61013np.js → instance-ynmknp8q.js} +11 -11
  270. package/dist/chunks/{model-resolver-r8xr0va3.js → instance-yp2x3t23.js} +4 -4
  271. package/dist/chunks/{model-resolver-wev7e6ck.js → instance-yyn6mvd2.js} +11 -11
  272. package/dist/chunks/{model-resolver-z0bkrqjs.js → instance-z0bkrqjs.js} +1 -1
  273. package/dist/chunks/{model-resolver-3j6qp9bc.js → instance-z25cqdnr.js} +17 -17
  274. package/dist/chunks/{model-resolver-3e06xrhq.js → instance-z5b3en8r.js} +21 -21
  275. package/dist/chunks/{model-resolver-x2qxvyvc.js → instance-z5pd7bnx.js} +29 -29
  276. package/dist/chunks/{model-resolver-yav78m6g.js → instance-z5pgf1ry.js} +15 -15
  277. package/dist/chunks/{model-resolver-f7nkyddb.js → instance-zgnxgcd3.js} +9 -9
  278. package/dist/chunks/{model-resolver-89be0nvq.js → instance-zhtvqevc.js} +15 -15
  279. package/dist/chunks/{model-resolver-0j1h8p53.js → instance-zmzkayzc.js} +28 -28
  280. package/dist/chunks/{model-resolver-j5xf5m5x.js → instance-zn53zvnm.js} +28 -28
  281. package/dist/chunks/{model-resolver-n8anjzen.js → instance-znfzh5t4.js} +35 -35
  282. package/dist/chunks/{model-resolver-k5dc2vmd.js → instance-zny7atnq.js} +9 -9
  283. package/dist/chunks/{model-resolver-9h1rq4nb.js → instance-zqv63ykn.js} +11 -11
  284. package/dist/chunks/{model-resolver-zr2ceqn5.js → instance-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{model-resolver-zxq2ej10.js → instance-zxq2ej10.js} +1 -1
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +7 -7
  288. package/dist/codemode/tool.js +3 -3
  289. package/dist/codemode/web.js +1 -1
  290. package/dist/command.js +87 -87
  291. package/dist/config/discovery.js +84 -84
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +101 -101
  294. package/dist/config/plugin/agent.js +118 -118
  295. package/dist/config/plugin/command.js +207 -207
  296. package/dist/config/plugin/compaction.js +156 -156
  297. package/dist/config/plugin/compatibility.js +136 -136
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +119 -119
  300. package/dist/config/plugin/image.js +118 -118
  301. package/dist/config/plugin/instruction.js +92 -92
  302. package/dist/config/plugin/location-watcher.js +120 -120
  303. package/dist/config/plugin/mcp.js +125 -125
  304. package/dist/config/plugin/policy.js +119 -119
  305. package/dist/config/plugin/provider.js +118 -118
  306. package/dist/config/plugin/reference.js +120 -120
  307. package/dist/config/plugin/shell.js +120 -120
  308. package/dist/config/plugin/skill-file.js +104 -104
  309. package/dist/config/plugin/skill.js +139 -139
  310. package/dist/config/plugin/snapshot.js +118 -118
  311. package/dist/config/plugin/source.js +121 -121
  312. package/dist/config/plugin/tool-output.js +119 -119
  313. package/dist/config/plugin/websearch.js +119 -119
  314. package/dist/config/plugin/worktree.js +120 -120
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +123 -123
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +85 -85
  320. package/dist/database/database.js +72 -72
  321. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +15 -15
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +16 -16
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  384. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  385. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  386. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  387. package/dist/database/migration.gen.js +51 -51
  388. package/dist/database/migration.js +53 -53
  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 +81 -81
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +368 -368
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +3 -3
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +95 -95
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +97 -97
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +3 -3
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +76 -76
  412. package/dist/file-access.js +106 -106
  413. package/dist/file-mutation.js +96 -96
  414. package/dist/file-retention.js +1 -1
  415. package/dist/filesystem/fff.bun.js +2 -2
  416. package/dist/filesystem/fff.js +1 -1
  417. package/dist/filesystem/fff.node.js +2 -2
  418. package/dist/filesystem/fff.workerd.js +2 -2
  419. package/dist/filesystem/location-watcher-policy.js +6 -6
  420. package/dist/filesystem/location-watcher.js +222 -222
  421. package/dist/filesystem/protected.js +1 -1
  422. package/dist/filesystem/search.js +105 -105
  423. package/dist/filesystem/watcher-binding.js +3 -3
  424. package/dist/filesystem/watcher.js +15 -15
  425. package/dist/filesystem.js +108 -108
  426. package/dist/form.js +84 -84
  427. package/dist/formatter/builtins.js +2 -2
  428. package/dist/formatter.js +89 -89
  429. package/dist/generate.js +107 -107
  430. package/dist/git.js +10 -10
  431. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  432. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  433. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  435. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  437. package/dist/github-copilot/copilot-provider.js +17 -17
  438. package/dist/github-copilot/models.js +93 -93
  439. package/dist/github-copilot/openai-compatible-error.js +1 -1
  440. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  441. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  442. package/dist/github-copilot/responses/openai-error.js +1 -1
  443. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  444. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  445. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  446. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  447. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +359 -359
  454. package/dist/instruction-discovery.js +87 -87
  455. package/dist/instructions/builtins.js +89 -89
  456. package/dist/instructions/index.js +5 -5
  457. package/dist/integration/connection.js +3 -3
  458. package/dist/integration.js +89 -89
  459. package/dist/job.js +80 -80
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +75 -75
  462. package/dist/location-activity.js +136 -136
  463. package/dist/location-lifecycle.js +105 -105
  464. package/dist/location-service-map.js +88 -88
  465. package/dist/location-services.js +356 -356
  466. package/dist/location.js +87 -87
  467. package/dist/managed-policy.js +8 -8
  468. package/dist/mcp/client.js +93 -93
  469. package/dist/mcp/index.js +109 -109
  470. package/dist/mcp/instructions.js +131 -131
  471. package/dist/mcp/oauth.js +80 -80
  472. package/dist/mcp/stdio.js +92 -92
  473. package/dist/mime.js +1 -1
  474. package/dist/modal/models.js +93 -93
  475. package/dist/model-resolver.js +100 -100
  476. package/dist/model.js +102 -102
  477. package/dist/models-dev.js +109 -109
  478. package/dist/oauth/page.js +1 -1
  479. package/dist/permission/saved.js +84 -84
  480. package/dist/permission/sql.js +5 -5
  481. package/dist/permission.js +117 -117
  482. package/dist/persistent-pty/binary.bun.js +1 -1
  483. package/dist/persistent-pty/daemon.js +1 -1
  484. package/dist/persistent-pty/index.js +88 -88
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +77 -77
  487. package/dist/plugin/agent.js +76 -76
  488. package/dist/plugin/command.js +102 -102
  489. package/dist/plugin/hooks.js +5 -5
  490. package/dist/plugin/host.js +213 -213
  491. package/dist/plugin/identity.js +3 -3
  492. package/dist/plugin/instance.js +5 -5
  493. package/dist/plugin/internal.js +331 -331
  494. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  495. package/dist/plugin/models-dev.js +98 -98
  496. package/dist/plugin/module.js +117 -117
  497. package/dist/plugin/optimize.js +4 -4
  498. package/dist/plugin/plan.js +104 -104
  499. package/dist/plugin/promise.js +1 -1
  500. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  501. package/dist/plugin/provider/azure.js +119 -119
  502. package/dist/plugin/provider/cerebras.js +1 -1
  503. package/dist/plugin/provider/chatgpt.js +96 -96
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +114 -114
  508. package/dist/plugin/provider/databricks.js +1 -1
  509. package/dist/plugin/provider/digitalocean.js +95 -95
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/github-copilot.js +97 -97
  513. package/dist/plugin/provider/gitlab.js +95 -95
  514. package/dist/plugin/provider/google-vertex.js +115 -115
  515. package/dist/plugin/provider/kilo.js +1 -1
  516. package/dist/plugin/provider/llmgateway.js +80 -80
  517. package/dist/plugin/provider/lmstudio.js +127 -127
  518. package/dist/plugin/provider/local.js +124 -124
  519. package/dist/plugin/provider/modal.js +94 -94
  520. package/dist/plugin/provider/neon.js +1 -1
  521. package/dist/plugin/provider/nvidia.js +1 -1
  522. package/dist/plugin/provider/ollama.js +127 -127
  523. package/dist/plugin/provider/openai.js +97 -97
  524. package/dist/plugin/provider/opencode.js +99 -99
  525. package/dist/plugin/provider/openrouter.js +93 -93
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +81 -81
  528. package/dist/plugin/provider/prompt-cache-key.js +92 -92
  529. package/dist/plugin/provider/sap-ai-core.js +93 -93
  530. package/dist/plugin/provider/sdk-factory.js +1 -1
  531. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  532. package/dist/plugin/provider/vercel.js +92 -92
  533. package/dist/plugin/provider/vllm.js +127 -127
  534. package/dist/plugin/provider/xai.js +93 -93
  535. package/dist/plugin/provider/zenmux.js +1 -1
  536. package/dist/plugin/provider.js +169 -169
  537. package/dist/plugin/sdk.js +72 -72
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +134 -134
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +346 -346
  542. package/dist/plugin/tool-input-repair.js +4 -4
  543. package/dist/plugin/update.js +6 -6
  544. package/dist/plugin/vcs/git.js +88 -88
  545. package/dist/plugin/vcs/hg.js +88 -88
  546. package/dist/plugin/verbosity.js +95 -95
  547. package/dist/plugin/warming.js +116 -116
  548. package/dist/plugin/websearch/exa.js +7 -7
  549. package/dist/plugin/websearch/firecrawl.js +6 -6
  550. package/dist/plugin/websearch/index.js +9 -9
  551. package/dist/plugin/websearch/mcp.js +2 -2
  552. package/dist/plugin/websearch/parallel.js +6 -6
  553. package/dist/plugin/websearch/tavily.js +6 -6
  554. package/dist/plugin/websearch/tinyfish.js +8 -8
  555. package/dist/plugin.js +220 -220
  556. package/dist/project/schema.js +4 -4
  557. package/dist/project/sql.js +4 -4
  558. package/dist/project.js +86 -86
  559. package/dist/provider.js +101 -101
  560. package/dist/pty/protocol.js +1 -1
  561. package/dist/pty/ticket.js +1 -1
  562. package/dist/pty.js +99 -99
  563. package/dist/reference/instructions.js +91 -91
  564. package/dist/reference.js +93 -93
  565. package/dist/repository-cache.js +83 -83
  566. package/dist/repository.js +1 -1
  567. package/dist/ripgrep/binary.js +2 -2
  568. package/dist/ripgrep.js +99 -99
  569. package/dist/rpc.js +88 -88
  570. package/dist/schema.js +1 -1
  571. package/dist/session/affinity.js +3 -3
  572. package/dist/session/command.js +76 -76
  573. package/dist/session/compaction.js +137 -137
  574. package/dist/session/context.js +153 -153
  575. package/dist/session/diff.js +90 -90
  576. package/dist/session/environment.js +5 -5
  577. package/dist/session/error.js +7 -7
  578. package/dist/session/event.js +1 -1
  579. package/dist/session/execution/restart.js +219 -219
  580. package/dist/session/execution.js +129 -129
  581. package/dist/session/generate.js +156 -156
  582. package/dist/session/history.js +15 -15
  583. package/dist/session/inbox.js +92 -92
  584. package/dist/session/info.js +3 -3
  585. package/dist/session/instruction-entry.js +81 -81
  586. package/dist/session/instruction-state.js +8 -8
  587. package/dist/session/instructions.js +99 -99
  588. package/dist/session/message-updater.js +4 -4
  589. package/dist/session/message.js +1 -1
  590. package/dist/session/model-request.js +120 -120
  591. package/dist/session/model-transport.js +7 -7
  592. package/dist/session/move.js +131 -131
  593. package/dist/session/projector.js +88 -88
  594. package/dist/session/prompt.js +107 -107
  595. package/dist/session/provider-context.js +3 -3
  596. package/dist/session/revert.js +92 -92
  597. package/dist/session/run-coordinator.js +3 -3
  598. package/dist/session/runner/index.js +3 -3
  599. package/dist/session/runner/llm.js +224 -224
  600. package/dist/session/runner/max-steps.js +1 -1
  601. package/dist/session/runner/model.js +100 -100
  602. package/dist/session/runner/publish-llm-event.js +115 -115
  603. package/dist/session/runner/retry.js +2 -2
  604. package/dist/session/runner/step.js +125 -125
  605. package/dist/session/runner/to-llm-message.js +2 -2
  606. package/dist/session/schema.js +5 -5
  607. package/dist/session/session.js +166 -166
  608. package/dist/session/shell.js +132 -132
  609. package/dist/session/skill.js +107 -107
  610. package/dist/session/sql.js +5 -5
  611. package/dist/session/stats.js +77 -77
  612. package/dist/session/store.js +89 -89
  613. package/dist/session/subagent-completion.js +1 -1
  614. package/dist/session/subagent-job.js +203 -203
  615. package/dist/session/system-prompt.js +1 -1
  616. package/dist/session/title.js +159 -159
  617. package/dist/session/to-session-error.js +113 -113
  618. package/dist/session/transfer.js +218 -218
  619. package/dist/session/usage.js +1 -1
  620. package/dist/session.js +213 -213
  621. package/dist/shell/parse.js +6 -6
  622. package/dist/shell/result.js +1 -1
  623. package/dist/shell/scan.js +1 -1
  624. package/dist/shell/select.js +15 -15
  625. package/dist/shell.js +134 -134
  626. package/dist/skill/discovery.js +6 -6
  627. package/dist/skill/instructions.js +109 -109
  628. package/dist/skill.js +112 -112
  629. package/dist/snapshot.js +93 -93
  630. package/dist/state.js +1 -1
  631. package/dist/tool/html-markdown.js +1 -1
  632. package/dist/tool/http-body.js +1 -1
  633. package/dist/tool/mcp.js +128 -128
  634. package/dist/tool/plugin/edit.js +122 -122
  635. package/dist/tool/plugin/file-diff.js +1 -1
  636. package/dist/tool/plugin/glob.js +126 -126
  637. package/dist/tool/plugin/grep.js +126 -126
  638. package/dist/tool/plugin/mcp-resource.js +119 -119
  639. package/dist/tool/plugin/opencode.js +111 -111
  640. package/dist/tool/plugin/patch.js +124 -124
  641. package/dist/tool/plugin/question.js +103 -103
  642. package/dist/tool/plugin/read.js +123 -123
  643. package/dist/tool/plugin/shell.js +212 -212
  644. package/dist/tool/plugin/skill.js +113 -113
  645. package/dist/tool/plugin/subagent.js +212 -212
  646. package/dist/tool/plugin/webfetch.js +112 -112
  647. package/dist/tool/plugin/websearch.js +116 -116
  648. package/dist/tool/plugin/write.js +124 -124
  649. package/dist/tool/read-filesystem.js +102 -102
  650. package/dist/tool/runtime.js +1 -1
  651. package/dist/tool-output.js +7 -7
  652. package/dist/tool.js +16 -16
  653. package/dist/util/error-summary.js +1 -1
  654. package/dist/util/error.js +1 -1
  655. package/dist/util/git-executable.js +2 -2
  656. package/dist/util/iife.js +1 -1
  657. package/dist/util/lazy.js +1 -1
  658. package/dist/util/slug.js +1 -1
  659. package/dist/util/token.js +1 -1
  660. package/dist/util/which.js +1 -1
  661. package/dist/util/wildcard.js +1 -1
  662. package/dist/v1/config/agent.js +7 -7
  663. package/dist/v1/config/command.js +5 -5
  664. package/dist/v1/config/error.js +4 -4
  665. package/dist/v1/config/mcp.js +4 -4
  666. package/dist/v1/config/migrate.js +94 -94
  667. package/dist/v1/config/permission.js +7 -7
  668. package/dist/v1/config/plugin.js +3 -3
  669. package/dist/v1/config/provider-options.js +1 -1
  670. package/dist/v1/config/provider.js +4 -4
  671. package/dist/variant.js +93 -93
  672. package/dist/vcs/patch.js +1 -1
  673. package/dist/vcs.js +87 -87
  674. package/dist/websearch.js +82 -82
  675. package/dist/wellknown/plugin.js +76 -76
  676. package/dist/wellknown.js +83 -83
  677. package/dist/workspace/driver.js +7 -7
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +82 -82
  680. package/dist/worktree/directory.js +2 -2
  681. package/dist/worktree/git.js +10 -10
  682. package/dist/worktree/sql.js +5 -5
  683. package/dist/worktree/strategies.js +91 -91
  684. package/dist/worktree.js +98 -98
  685. package/package.json +8 -8
  686. package/dist/chunks/model-resolver-1y150ee2.js +0 -26
  687. package/dist/chunks/model-resolver-f9qvt350.js +0 -513
  688. package/dist/chunks/model-resolver-qdb1nj2v.js +0 -253
  689. package/dist/chunks/model-resolver-rap9a73h.js +0 -18
  690. /package/dist/chunks/{model-resolver-0qkdqm5v.js → instance-0qkdqm5v.js} +0 -0
  691. /package/dist/chunks/{model-resolver-0zkw76rk.js → instance-0zkw76rk.js} +0 -0
  692. /package/dist/chunks/{model-resolver-17cy0kzp.js → instance-17cy0kzp.js} +0 -0
  693. /package/dist/chunks/{model-resolver-1cnp2v09.js → instance-1cnp2v09.js} +0 -0
  694. /package/dist/chunks/{model-resolver-1kg9ymc8.js → instance-1kg9ymc8.js} +0 -0
  695. /package/dist/chunks/{model-resolver-24dcb14g.js → instance-24dcb14g.js} +0 -0
  696. /package/dist/chunks/{model-resolver-2710q6r3.js → instance-2710q6r3.js} +0 -0
  697. /package/dist/chunks/{model-resolver-2axfhc9x.js → instance-2axfhc9x.js} +0 -0
  698. /package/dist/chunks/{model-resolver-2bv980vf.js → instance-2bv980vf.js} +0 -0
  699. /package/dist/chunks/{model-resolver-2c3vjs8z.js → instance-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{model-resolver-359p4xyc.js → instance-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{model-resolver-3asan66x.js → instance-3asan66x.js} +0 -0
  702. /package/dist/chunks/{model-resolver-3t0ybcrp.js → instance-3t0ybcrp.js} +0 -0
  703. /package/dist/chunks/{model-resolver-3v8g72cx.js → instance-3v8g72cx.js} +0 -0
  704. /package/dist/chunks/{model-resolver-3wcehsnq.js → instance-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{model-resolver-43n2bw4t.js → instance-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{model-resolver-4knz6hnm.js → instance-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{model-resolver-4vcrnpx2.js → instance-4vcrnpx2.js} +0 -0
  708. /package/dist/chunks/{model-resolver-4y7fprxs.js → instance-4y7fprxs.js} +0 -0
  709. /package/dist/chunks/{model-resolver-53557ph1.js → instance-53557ph1.js} +0 -0
  710. /package/dist/chunks/{model-resolver-550bvhaj.js → instance-550bvhaj.js} +0 -0
  711. /package/dist/chunks/{model-resolver-6prwharc.js → instance-6prwharc.js} +0 -0
  712. /package/dist/chunks/{model-resolver-6q2bdcd1.js → instance-6q2bdcd1.js} +0 -0
  713. /package/dist/chunks/{model-resolver-7akdwqpd.js → instance-7akdwqpd.js} +0 -0
  714. /package/dist/chunks/{model-resolver-7m9af43g.js → instance-7m9af43g.js} +0 -0
  715. /package/dist/chunks/{model-resolver-822emrt2.js → instance-822emrt2.js} +0 -0
  716. /package/dist/chunks/{model-resolver-84wd9syh.js → instance-84wd9syh.js} +0 -0
  717. /package/dist/chunks/{model-resolver-88xbtdfr.js → instance-88xbtdfr.js} +0 -0
  718. /package/dist/chunks/{model-resolver-8n3pysct.js → instance-8n3pysct.js} +0 -0
  719. /package/dist/chunks/{model-resolver-8wj87zfr.js → instance-8wj87zfr.js} +0 -0
  720. /package/dist/chunks/{model-resolver-9a4afbnw.js → instance-9a4afbnw.js} +0 -0
  721. /package/dist/chunks/{model-resolver-9rqn6x4v.js → instance-9rqn6x4v.js} +0 -0
  722. /package/dist/chunks/{model-resolver-a6k6eb26.js → instance-a6k6eb26.js} +0 -0
  723. /package/dist/chunks/{model-resolver-af5trqkr.js → instance-af5trqkr.js} +0 -0
  724. /package/dist/chunks/{model-resolver-afrmfg78.js → instance-afrmfg78.js} +0 -0
  725. /package/dist/chunks/{model-resolver-aqzs7mqg.js → instance-aqzs7mqg.js} +0 -0
  726. /package/dist/chunks/{model-resolver-atq7p7m5.js → instance-atq7p7m5.js} +0 -0
  727. /package/dist/chunks/{model-resolver-bkyjaxrp.js → instance-bkyjaxrp.js} +0 -0
  728. /package/dist/chunks/{model-resolver-bmr6ed5q.js → instance-bmr6ed5q.js} +0 -0
  729. /package/dist/chunks/{model-resolver-bw78ga2c.js → instance-bw78ga2c.js} +0 -0
  730. /package/dist/chunks/{model-resolver-cf4snx6d.js → instance-cf4snx6d.js} +0 -0
  731. /package/dist/chunks/{model-resolver-cvy3z8tj.js → instance-cvy3z8tj.js} +0 -0
  732. /package/dist/chunks/{model-resolver-d9fn303g.js → instance-d9fn303g.js} +0 -0
  733. /package/dist/chunks/{model-resolver-d9jj8t3e.js → instance-d9jj8t3e.js} +0 -0
  734. /package/dist/chunks/{model-resolver-dajrwvna.js → instance-dajrwvna.js} +0 -0
  735. /package/dist/chunks/{model-resolver-dap0rakb.js → instance-dap0rakb.js} +0 -0
  736. /package/dist/chunks/{model-resolver-df08tz66.js → instance-df08tz66.js} +0 -0
  737. /package/dist/chunks/{model-resolver-dy18nga0.js → instance-dy18nga0.js} +0 -0
  738. /package/dist/chunks/{model-resolver-e5kj55wp.js → instance-e5kj55wp.js} +0 -0
  739. /package/dist/chunks/{model-resolver-e73j6tqm.js → instance-e73j6tqm.js} +0 -0
  740. /package/dist/chunks/{model-resolver-ec1grn59.js → instance-ec1grn59.js} +0 -0
  741. /package/dist/chunks/{model-resolver-eh3zwz77.js → instance-eh3zwz77.js} +0 -0
  742. /package/dist/chunks/{model-resolver-emrn6kk6.js → instance-emrn6kk6.js} +0 -0
  743. /package/dist/chunks/{model-resolver-f0mxakyp.js → instance-f0mxakyp.js} +0 -0
  744. /package/dist/chunks/{model-resolver-f6n9ztr4.js → instance-f6n9ztr4.js} +0 -0
  745. /package/dist/chunks/{model-resolver-faypxj3z.js → instance-faypxj3z.js} +0 -0
  746. /package/dist/chunks/{model-resolver-fd410y7t.js → instance-fd410y7t.js} +0 -0
  747. /package/dist/chunks/{model-resolver-g4wezp1m.js → instance-g4wezp1m.js} +0 -0
  748. /package/dist/chunks/{model-resolver-g86h250q.js → instance-g86h250q.js} +0 -0
  749. /package/dist/chunks/{model-resolver-gebd4c9n.js → instance-gebd4c9n.js} +0 -0
  750. /package/dist/chunks/{model-resolver-gftt206x.js → instance-gftt206x.js} +0 -0
  751. /package/dist/chunks/{model-resolver-hk9envan.js → instance-hk9envan.js} +0 -0
  752. /package/dist/chunks/{model-resolver-j2ntwpah.js → instance-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{model-resolver-j5zkgpj8.js → instance-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{model-resolver-jjkms2e6.js → instance-jjkms2e6.js} +0 -0
  755. /package/dist/chunks/{model-resolver-jr7sbwjy.js → instance-jr7sbwjy.js} +0 -0
  756. /package/dist/chunks/{model-resolver-jwfs4k6c.js → instance-jwfs4k6c.js} +0 -0
  757. /package/dist/chunks/{model-resolver-jze0r7bz.js → instance-jze0r7bz.js} +0 -0
  758. /package/dist/chunks/{model-resolver-jzg6c2d5.js → instance-jzg6c2d5.js} +0 -0
  759. /package/dist/chunks/{model-resolver-m18g726c.js → instance-m18g726c.js} +0 -0
  760. /package/dist/chunks/{model-resolver-mp448xyj.js → instance-mp448xyj.js} +0 -0
  761. /package/dist/chunks/{model-resolver-msx8hqn2.js → instance-msx8hqn2.js} +0 -0
  762. /package/dist/chunks/{model-resolver-n05xt0ee.js → instance-n05xt0ee.js} +0 -0
  763. /package/dist/chunks/{model-resolver-n3j8tn72.js → instance-n3j8tn72.js} +0 -0
  764. /package/dist/chunks/{model-resolver-njntx4h6.js → instance-njntx4h6.js} +0 -0
  765. /package/dist/chunks/{model-resolver-pkyv6v7h.js → instance-pkyv6v7h.js} +0 -0
  766. /package/dist/chunks/{model-resolver-pyv0edze.js → instance-pyv0edze.js} +0 -0
  767. /package/dist/chunks/{model-resolver-q3sfg36h.js → instance-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{model-resolver-q74kybfr.js → instance-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{model-resolver-qaymkmh1.js → instance-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{model-resolver-qb87gjwd.js → instance-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{model-resolver-qfa1cgps.js → instance-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{model-resolver-qg3g05ea.js → instance-qg3g05ea.js} +0 -0
  773. /package/dist/chunks/{model-resolver-qrg20bc0.js → instance-qrg20bc0.js} +0 -0
  774. /package/dist/chunks/{model-resolver-rcb2kzg1.js → instance-rcb2kzg1.js} +0 -0
  775. /package/dist/chunks/{model-resolver-sdp7kfr6.js → instance-sdp7kfr6.js} +0 -0
  776. /package/dist/chunks/{model-resolver-ssg3fenm.js → instance-ssg3fenm.js} +0 -0
  777. /package/dist/chunks/{model-resolver-ve7vex1e.js → instance-ve7vex1e.js} +0 -0
  778. /package/dist/chunks/{model-resolver-w803qqfp.js → instance-w803qqfp.js} +0 -0
  779. /package/dist/chunks/{model-resolver-wc3fc9cn.js → instance-wc3fc9cn.js} +0 -0
  780. /package/dist/chunks/{model-resolver-wer8tq1h.js → instance-wer8tq1h.js} +0 -0
  781. /package/dist/chunks/{model-resolver-wtztk69x.js → instance-wtztk69x.js} +0 -0
  782. /package/dist/chunks/{model-resolver-x0ckcb58.js → instance-x0ckcb58.js} +0 -0
  783. /package/dist/chunks/{model-resolver-x61499pn.js → instance-x61499pn.js} +0 -0
  784. /package/dist/chunks/{model-resolver-y44na4kk.js → instance-y44na4kk.js} +0 -0
  785. /package/dist/chunks/{model-resolver-y8f7s663.js → instance-y8f7s663.js} +0 -0
  786. /package/dist/chunks/{model-resolver-ygaqb7jw.js → instance-ygaqb7jw.js} +0 -0
  787. /package/dist/chunks/{model-resolver-ym463w8f.js → instance-ym463w8f.js} +0 -0
  788. /package/dist/chunks/{model-resolver-z5v4ffb3.js → instance-z5v4ffb3.js} +0 -0
  789. /package/dist/chunks/{model-resolver-z9919s4g.js → instance-z9919s4g.js} +0 -0
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  makeWithDefaults2
3
- } from "./model-resolver-4qaehj67.js";
3
+ } from "./instance-3mtcg1ph.js";
4
4
  import {
5
5
  apply3
6
- } from "./model-resolver-0epwncsf.js";
6
+ } from "./instance-5kbwm9w7.js";
7
7
  import {
8
8
  __export
9
- } from "./model-resolver-9rqn6x4v.js";
9
+ } from "./instance-9rqn6x4v.js";
10
10
 
11
11
  // src/database/database.ts
12
12
  var exports_database = {};
13
13
  __export(exports_database, {
14
14
  Database: () => exports_database,
15
15
  Options: () => Options11,
16
- Service: () => Service85,
16
+ Service: () => Service82,
17
17
  configured: () => configured13,
18
18
  configuredClient: () => configuredClient2,
19
19
  layer: () => layer28,
20
20
  layerFromClient: () => layerFromClient2,
21
- node: () => node89
21
+ node: () => node86
22
22
  });
23
23
  import { sqliteLayer, supportsForeignKeyToggle, supportsTuningPragmas } from "#sqlite";
24
24
  import { Context, Effect, Layer, Schema, Semaphore } from "effect";
@@ -32,9 +32,9 @@ var Options11 = Schema.Struct({
32
32
  path: Schema.optional(Schema.String)
33
33
  });
34
34
 
35
- class Service85 extends Context.Service()("@opencode/storage/Database") {
35
+ class Service82 extends Context.Service()("@opencode/storage/Database") {
36
36
  }
37
- var databaseLayer = (lock) => Layer.effect(Service85, Effect.gen(function* () {
37
+ var databaseLayer = (lock) => Layer.effect(Service82, Effect.gen(function* () {
38
38
  const db = yield* makeDatabase;
39
39
  if (supportsTuningPragmas) {
40
40
  yield* db.run("PRAGMA journal_mode = WAL");
@@ -82,15 +82,15 @@ async function restrictToOwner(filename) {
82
82
  }
83
83
  var layerFromClient2 = databaseLayer(Semaphore.make(1));
84
84
  function configured13(options) {
85
- return makeGlobalNode({ service: Service85, layer: layer28(options), deps: [Global.node] });
85
+ return makeGlobalNode({ service: Service82, layer: layer28(options), deps: [Global.node] });
86
86
  }
87
87
  function configuredClient2(client) {
88
88
  return makeGlobalNode({
89
- service: Service85,
89
+ service: Service82,
90
90
  layer: layerFromClient2.pipe(Layer.provide(client)),
91
91
  deps: [Global.node]
92
92
  });
93
93
  }
94
- var node89 = configured13({ path: ":memory:" });
94
+ var node86 = configured13({ path: ":memory:" });
95
95
 
96
- export { Options11, Service85, layer28, layerFromClient2, configured13, configuredClient2, node89, exports_database };
96
+ export { Options11, Service82, layer28, layerFromClient2, configured13, configuredClient2, node86, exports_database };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service85,
3
- node89
4
- } from "./model-resolver-8zda0nf7.js";
2
+ Service82,
3
+ node86
4
+ } from "./instance-dpwn1cem.js";
5
5
  import {
6
6
  SessionTable2,
7
7
  SessionMessageTable2
8
- } from "./model-resolver-es1vcfrp.js";
8
+ } from "./instance-es1vcfrp.js";
9
9
  import {
10
10
  decodeMessageRow2,
11
- load5
12
- } from "./model-resolver-pm617sjb.js";
11
+ load4
12
+ } from "./instance-q1tvsmm7.js";
13
13
  import {
14
14
  fromRow2
15
- } from "./model-resolver-drnf6xwf.js";
15
+ } from "./instance-vjjaysxc.js";
16
16
  import {
17
17
  __export
18
- } from "./model-resolver-9rqn6x4v.js";
18
+ } from "./instance-9rqn6x4v.js";
19
19
 
20
20
  // src/session/store.ts
21
21
  var exports_store = {};
22
22
  __export(exports_store, {
23
- ListInput: () => ListInput5,
24
- Service: () => Service68,
23
+ ListInput: () => ListInput4,
24
+ Service: () => Service44,
25
25
  SessionStore: () => exports_store,
26
- node: () => node72
26
+ node: () => node46
27
27
  });
28
28
  import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
29
29
  import { Context, Effect, Layer, Schema } from "effect";
@@ -50,13 +50,13 @@ var ListProjectInput = Schema.Struct({
50
50
  subpath: RelativePath.pipe(Schema.optional)
51
51
  });
52
52
  var ListAllInput = Schema.Struct(ListInputBase);
53
- var ListInput5 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
53
+ var ListInput4 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
54
54
 
55
- class Service68 extends Context.Service()("@opencode/SessionStore") {
55
+ class Service44 extends Context.Service()("@opencode/SessionStore") {
56
56
  }
57
- var layer = Layer.effect(Service68, Effect.gen(function* () {
58
- const { db } = yield* Service85;
59
- return Service68.of({
57
+ var layer = Layer.effect(Service44, Effect.gen(function* () {
58
+ const { db } = yield* Service82;
59
+ return Service44.of({
60
60
  get: Effect.fnUntraced(function* (sessionID) {
61
61
  const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
62
62
  return row ? fromRow2(row) : undefined;
@@ -98,7 +98,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
98
98
  const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
99
99
  return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
100
100
  }),
101
- context: Effect.fn("SessionStore.context")((sessionID) => load5(db, sessionID, "latest")),
101
+ context: Effect.fn("SessionStore.context")((sessionID) => load4(db, sessionID, "latest")),
102
102
  message: Effect.fn("SessionStore.message")(function* (messageID) {
103
103
  const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
104
104
  return row ? {
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
125
125
  })
126
126
  });
127
127
  }));
128
- var node72 = makeGlobalNode({ service: Service68, layer, deps: [node89] });
128
+ var node46 = makeGlobalNode({ service: Service44, layer, deps: [node86] });
129
129
 
130
- export { ListInput5, Service68, node72, exports_store };
130
+ export { ListInput4, Service44, node46, exports_store };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./instance-9rqn6x4v.js";
4
4
 
5
5
  // src/session/system-prompt.ts
6
6
  var exports_system_prompt = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./model-resolver-gd4qta3r.js";
3
+ } from "./instance-gd4qta3r.js";
4
4
  import {
5
5
  create3
6
- } from "./model-resolver-rdw6cm16.js";
6
+ } from "./instance-rdw6cm16.js";
7
7
  import {
8
8
  __export
9
- } from "./model-resolver-9rqn6x4v.js";
9
+ } from "./instance-9rqn6x4v.js";
10
10
 
11
11
  // src/tool-output.ts
12
12
  var exports_tool_output2 = {};
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
15
15
  MAX_BYTES: () => MAX_BYTES2,
16
16
  MAX_LINES: () => MAX_LINES2,
17
17
  RETENTION: () => RETENTION3,
18
- Service: () => Service38,
18
+ Service: () => Service63,
19
19
  ToolOutput: () => exports_tool_output2,
20
20
  fileName: () => fileName2,
21
- node: () => node41
21
+ node: () => node66
22
22
  });
23
23
  import path from "path";
24
24
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
32
32
  var DIRECTORY3 = "tool-output";
33
33
  var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
34
34
 
35
- class Service38 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service63 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service38, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service63, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
116
116
  metadata: { ...result.metadata, truncated: true, outputPath: file }
117
117
  };
118
118
  });
119
- return Service38.of({
119
+ return Service63.of({
120
120
  transform: state.transform,
121
121
  reload: state.reload,
122
122
  truncate,
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
133
133
  layer: cleanupLayer,
134
134
  deps: [FSUtil.node, Global.node]
135
135
  });
136
- var node41 = makeLocationNode({
137
- service: Service38,
136
+ var node66 = makeLocationNode({
137
+ service: Service63,
138
138
  layer,
139
139
  deps: [FSUtil.node, Global.node, cleanupNode]
140
140
  });
141
141
 
142
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service38, node41, exports_tool_output2 };
142
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service63, node66, exports_tool_output2 };
@@ -1,9 +1,9 @@
1
1
  // src/filesystem/watcher-binding.ts
2
2
  import { createRequire } from "node:module";
3
- function load4() {
3
+ function load5() {
4
4
  const require2 = createRequire(import.meta.url);
5
5
  const libc = typeof OPENCODE_LIBC === "undefined" ? undefined : OPENCODE_LIBC;
6
6
  return require2(process.env.OPENCODE_PARCEL_WATCHER_PATH ?? `@parcel/watcher-${process.platform}-${process.arch}${process.platform === "linux" ? `-${libc || "glibc"}` : ""}`);
7
7
  }
8
8
 
9
- export { load4 };
9
+ export { load5 };
@@ -1,17 +1,17 @@
1
1
  import {
2
- ID11,
2
+ ID7,
3
3
  Name3,
4
4
  defaultID2
5
- } from "./model-resolver-btz0t88h.js";
5
+ } from "./instance-gmxdk168.js";
6
6
  import {
7
7
  __export
8
- } from "./model-resolver-9rqn6x4v.js";
8
+ } from "./instance-9rqn6x4v.js";
9
9
 
10
10
  // src/plugin/agent.ts
11
11
  var exports_agent = {};
12
12
  __export(exports_agent, {
13
13
  AgentPlugin: () => exports_agent,
14
- Plugin: () => Plugin14
14
+ Plugin: () => Plugin17
15
15
  });
16
16
  import { define } from "@opencode/plugin/effect/plugin";
17
17
  import { Effect } from "effect";
@@ -81,7 +81,7 @@ Rules:
81
81
  - Never ask questions or add new questions
82
82
  - If the conversation ends with an unanswered question to the user, preserve that exact question
83
83
  - If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
84
- var Plugin14 = define({
84
+ var Plugin17 = define({
85
85
  id: "opencode.agent",
86
86
  effect: Effect.fn(function* (ctx) {
87
87
  yield* ctx.agent.transform((editor) => {
@@ -91,32 +91,32 @@ var Plugin14 = define({
91
91
  item.mode = "primary";
92
92
  item.permissions.push({ action: "question", resource: "*", effect: "allow" });
93
93
  });
94
- editor.update(ID11.make("general"), (item) => {
94
+ editor.update(ID7.make("general"), (item) => {
95
95
  item.name = Name3.make("General");
96
96
  item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
97
97
  item.mode = "subagent";
98
98
  item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
99
99
  });
100
- editor.update(ID11.make("explore"), (item) => {
100
+ editor.update(ID7.make("explore"), (item) => {
101
101
  item.name = Name3.make("Explore");
102
102
  item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
103
103
  item.system = PROMPT_EXPLORE;
104
104
  item.mode = "subagent";
105
105
  item.permissions.push({ action: "*", resource: "*", effect: "deny" }, { action: "shell", resource: "*", effect: "allow" }, { action: "grep", resource: "*", effect: "allow" }, { action: "glob", resource: "*", effect: "allow" }, { action: "webfetch", resource: "*", effect: "allow" }, { action: "websearch", resource: "*", effect: "allow" }, { action: "read", resource: "*", effect: "allow" }, { action: "read", resource: "*.env", effect: "ask" }, { action: "read", resource: "*.env.*", effect: "ask" }, { action: "read", resource: "*.env.example", effect: "allow" }, { action: "subagent", resource: "*", effect: "deny" }, { action: "external_directory", resource: "*", effect: "allow" });
106
106
  });
107
- editor.update(ID11.make("compaction"), (item) => {
107
+ editor.update(ID7.make("compaction"), (item) => {
108
108
  item.name = Name3.make("Compaction");
109
109
  item.mode = "primary";
110
110
  item.hidden = true;
111
111
  });
112
- editor.update(ID11.make("title"), (item) => {
112
+ editor.update(ID7.make("title"), (item) => {
113
113
  item.name = Name3.make("Title");
114
114
  item.mode = "primary";
115
115
  item.hidden = true;
116
116
  item.system = PROMPT_TITLE;
117
117
  item.permissions.push({ action: "*", resource: "*", effect: "deny" });
118
118
  });
119
- editor.update(ID11.make("summary"), (item) => {
119
+ editor.update(ID7.make("summary"), (item) => {
120
120
  item.name = Name3.make("Summary");
121
121
  item.mode = "primary";
122
122
  item.hidden = true;
@@ -127,4 +127,4 @@ var Plugin14 = define({
127
127
  })
128
128
  });
129
129
 
130
- export { Plugin14, exports_agent };
130
+ export { Plugin17, exports_agent };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./instance-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/identity.ts
6
6
  var exports_identity = {};
7
7
  __export(exports_identity, {
8
8
  IdentityPlugin: () => exports_identity,
9
- Plugin: () => Plugin12,
9
+ Plugin: () => Plugin11,
10
10
  identity: () => identity2
11
11
  });
12
12
  import { SystemPart } from "@opencode/ai";
@@ -22,7 +22,7 @@ function identity2(model) {
22
22
  ].join(`
23
23
  `);
24
24
  }
25
- var Plugin12 = define({
25
+ var Plugin11 = define({
26
26
  id: "opencode.prompt.identity",
27
27
  effect: Effect.fn("IdentityPlugin")(function* (ctx) {
28
28
  const hook = (event) => Effect.gen(function* () {
@@ -35,4 +35,4 @@ var Plugin12 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { identity2, Plugin12, exports_identity };
38
+ export { identity2, Plugin11, exports_identity };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./model-resolver-88xbtdfr.js";
3
+ } from "./instance-88xbtdfr.js";
4
4
  import {
5
- load4
6
- } from "./model-resolver-5qd3pb7m.js";
5
+ load5
6
+ } from "./instance-e3qxr5gk.js";
7
7
  import {
8
8
  __export
9
- } from "./model-resolver-9rqn6x4v.js";
9
+ } from "./instance-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event5,
14
+ Event: () => Event12,
15
15
  Native: () => Native3,
16
- Options: () => Options5,
17
- Service: () => Service40,
16
+ Options: () => Options8,
17
+ Service: () => Service61,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
- configured: () => configured5,
20
+ configured: () => configured8,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer17,
22
+ layer: () => layer25,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node43,
25
+ node: () => node64,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -33,10 +33,10 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
33
33
  import { watch } from "node:fs";
34
34
  import path from "path";
35
35
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
36
- var Event5 = { Updated: FileSystem.Event.Changed };
36
+ var Event12 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
- return createWrapper(load4());
39
+ return createWrapper(load5());
40
40
  } catch {
41
41
  return;
42
42
  }
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
53
53
 
54
54
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
55
55
  }
56
- var Options5 = Schema.Struct({
56
+ var Options8 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service40 extends Context.Service()("@opencode/Watcher") {
60
+ class Service61 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer17 = (options) => Layer.effect(Service40, Effect.gen(function* () {
65
+ var layer25 = (options) => Layer.effect(Service61, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service40.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service61.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer17 = (options) => Layer.effect(Service40, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service40.of({ subscribe });
108
+ return Service61.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer17().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer25().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service40).subscribe,
134
+ subscribe: Context.get(context, Service61).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service40, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service61, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
164
164
  }
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
- function configured5(options) {
168
- return makeGlobalNode({ service: Service40, layer: layer17(options), deps: [nativeNode2] });
167
+ function configured8(options) {
168
+ return makeGlobalNode({ service: Service61, layer: layer25(options), deps: [nativeNode2] });
169
169
  }
170
- var node43 = configured5();
170
+ var node64 = configured8();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event5, hasNativeBinding2, Native3, Options5, Service40, Test3, layer17, testLayer3, nativeLayer2, nativeNode2, configured5, node43, exports_watcher };
190
+ export { Event12, hasNativeBinding2, Native3, Options8, Service61, Test3, layer25, testLayer3, nativeLayer2, nativeNode2, configured8, node64, exports_watcher };
@@ -1,36 +1,36 @@
1
1
  import {
2
- Service66
3
- } from "./model-resolver-3j5kk4r4.js";
2
+ Service42
3
+ } from "./instance-p8kjk1y4.js";
4
4
  import {
5
5
  ID4,
6
6
  Name2,
7
7
  toModelOutput3,
8
8
  prepare3,
9
- Service43
10
- } from "./model-resolver-g3pjsnhq.js";
9
+ Service41
10
+ } from "./instance-j3gj8bpw.js";
11
11
  import {
12
12
  __export
13
- } from "./model-resolver-9rqn6x4v.js";
13
+ } from "./instance-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/skill.ts
16
- var exports_skill2 = {};
17
- __export(exports_skill2, {
18
- Input: () => Input5,
19
- Output: () => Output5,
20
- Plugin: () => Plugin21,
21
- SkillTool: () => exports_skill2,
16
+ var exports_skill3 = {};
17
+ __export(exports_skill3, {
18
+ Input: () => Input3,
19
+ Output: () => Output3,
20
+ Plugin: () => Plugin37,
21
+ SkillTool: () => exports_skill3,
22
22
  description: () => description2,
23
- name: () => name5,
23
+ name: () => name3,
24
24
  toModelOutput: () => toModelOutput2
25
25
  });
26
26
  import { ToolFailure } from "@opencode/ai";
27
27
  import { Effect, Schema } from "effect";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
- var name5 = "skill";
30
- var Input5 = Schema.Struct({
29
+ var name3 = "skill";
30
+ var Input3 = Schema.Struct({
31
31
  id: ID4.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
32
32
  });
33
- var Output5 = Schema.Struct({
33
+ var Output3 = Schema.Struct({
34
34
  name: Name2,
35
35
  directory: Schema.String,
36
36
  output: Schema.String
@@ -43,25 +43,25 @@ var description2 = [
43
43
  `);
44
44
  var toModelOutput2 = toModelOutput3;
45
45
  var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
46
- var Plugin21 = {
46
+ var Plugin37 = {
47
47
  id: "opencode.tool.skill",
48
48
  effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
49
49
  const fs = yield* FSUtil.Service;
50
- const skills = yield* Service43;
51
- const permission = yield* Service66;
50
+ const skills = yield* Service41;
51
+ const permission = yield* Service42;
52
52
  yield* ctx.tool.transform((editor) => editor.add({
53
- name: name5,
53
+ name: name3,
54
54
  options: { codemode: false },
55
55
  description: description2,
56
- input: Input5,
57
- output: Output5,
56
+ input: Input3,
57
+ output: Output3,
58
58
  execute: (input, context) => Effect.gen(function* () {
59
59
  const skill = yield* skills.get(input.id);
60
60
  if (!skill)
61
61
  return yield* unableToLoad(input.id);
62
62
  return yield* Effect.gen(function* () {
63
63
  yield* permission.assert({
64
- action: name5,
64
+ action: name3,
65
65
  resources: [skill.id],
66
66
  save: [skill.id],
67
67
  sessionID: context.sessionID,
@@ -79,4 +79,4 @@ var Plugin21 = {
79
79
  })
80
80
  };
81
81
 
82
- export { name5, Input5, Output5, description2, toModelOutput2, Plugin21, exports_skill2 };
82
+ export { name3, Input3, Output3, description2, toModelOutput2, Plugin37, exports_skill3 };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound3,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./model-resolver-hgz4x7wa.js";
5
+ } from "./instance-hgz4x7wa.js";
6
6
  import {
7
7
  __export
8
- } from "./model-resolver-9rqn6x4v.js";
8
+ } from "./instance-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/exec-defaults.ts
11
11
  var exports_exec_defaults = {};