@opencode/core 0.0.0-dev-19474 → 0.0.0-dev-19482

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 (784) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{model-resolver-cgjzvrd1.js → shell-04n8fpsx.js} +4 -4
  9. package/dist/chunks/{model-resolver-hpbp79y9.js → shell-0cy5jdh3.js} +13 -13
  10. package/dist/chunks/{model-resolver-d7x23225.js → shell-0dyc37yz.js} +38 -38
  11. package/dist/chunks/{model-resolver-fzg3jfb5.js → shell-0fn5g1dw.js} +32 -32
  12. package/dist/chunks/{model-resolver-bpjrb39m.js → shell-0gm9s4gg.js} +16 -16
  13. package/dist/chunks/{model-resolver-awv0a4ej.js → shell-0nmk1nfg.js} +15 -15
  14. package/dist/chunks/{model-resolver-0paq2nw3.js → shell-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{model-resolver-0q0f95c6.js → shell-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{model-resolver-wxkbw7hj.js → shell-0w0gm0da.js} +13 -13
  17. package/dist/chunks/{model-resolver-xe7kt75t.js → shell-191q2am9.js} +15 -15
  18. package/dist/chunks/{model-resolver-5ffz19ez.js → shell-1b9za8k8.js} +4 -4
  19. package/dist/chunks/{model-resolver-1dazxqgg.js → shell-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{model-resolver-jma8tnnp.js → shell-1jbxxpzt.js} +13 -13
  21. package/dist/chunks/{model-resolver-r923tw61.js → shell-1v0k12rn.js} +16 -16
  22. package/dist/chunks/{model-resolver-sddf70q5.js → shell-1vqdrp7h.js} +30 -30
  23. package/dist/chunks/{model-resolver-21r38tys.js → shell-21r38tys.js} +1 -1
  24. package/dist/chunks/{model-resolver-0ft9cg2j.js → shell-23pqda6t.js} +4 -4
  25. package/dist/chunks/{model-resolver-b1ff9g5c.js → shell-23xgc4jt.js} +43 -43
  26. package/dist/chunks/{model-resolver-2402vzrj.js → shell-2402vzrj.js} +1 -1
  27. package/dist/chunks/{model-resolver-qeq2as15.js → shell-259cm5a5.js} +10 -10
  28. package/dist/chunks/{model-resolver-5jtdmvnp.js → shell-29mdqam5.js} +3 -3
  29. package/dist/chunks/{model-resolver-tgdpgsda.js → shell-29wksdc9.js} +13 -13
  30. package/dist/chunks/{model-resolver-2a5m3afh.js → shell-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{model-resolver-h7ygw6q4.js → shell-2bt6bea8.js} +9 -9
  32. package/dist/chunks/{model-resolver-2k8khapm.js → shell-2k8khapm.js} +1 -1
  33. package/dist/chunks/{model-resolver-r8hmb8zk.js → shell-2rkdvd01.js} +9 -9
  34. package/dist/chunks/{model-resolver-q11vjga9.js → shell-2x9qsqkq.js} +9 -9
  35. package/dist/chunks/{model-resolver-974632ct.js → shell-31y3jm9t.js} +15 -15
  36. package/dist/chunks/{model-resolver-e247w57y.js → shell-332whr7y.js} +24 -24
  37. package/dist/chunks/{model-resolver-bb6zzzcx.js → shell-36cew03x.js} +30 -30
  38. package/dist/chunks/{model-resolver-5j49wdc0.js → shell-389yrpaj.js} +21 -21
  39. package/dist/chunks/{model-resolver-mr1m7qeg.js → shell-3anxtp47.js} +53 -53
  40. package/dist/chunks/{model-resolver-m25txnps.js → shell-3f7mbqst.js} +8 -8
  41. package/dist/chunks/{model-resolver-3fc6dm20.js → shell-3fc6dm20.js} +1 -1
  42. package/dist/chunks/{model-resolver-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{model-resolver-r7v31dyt.js → shell-3hktcy2m.js} +15 -15
  44. package/dist/chunks/{model-resolver-01ydd4ra.js → shell-3kq47whm.js} +20 -20
  45. package/dist/chunks/{model-resolver-ten6cnga.js → shell-3m27cd08.js} +32 -32
  46. package/dist/chunks/{model-resolver-18cztcj7.js → shell-3rx2nwvc.js} +3 -3
  47. package/dist/chunks/{model-resolver-3smtnn6g.js → shell-3smtnn6g.js} +1 -1
  48. package/dist/chunks/{model-resolver-f3ngv102.js → shell-3t8eac1t.js} +4 -4
  49. package/dist/chunks/{model-resolver-3tvqynh2.js → shell-3tvqynh2.js} +1 -1
  50. package/dist/chunks/{model-resolver-384xx92k.js → shell-42xebk03.js} +20 -20
  51. package/dist/chunks/{model-resolver-7zv106jr.js → shell-4861qdfa.js} +11 -11
  52. package/dist/chunks/{model-resolver-7ctecs4h.js → shell-4aebnyy9.js} +11 -11
  53. package/dist/chunks/{model-resolver-ka6sy1db.js → shell-4q01a3y3.js} +16 -16
  54. package/dist/chunks/shell-4v7qdvcn.js +18 -0
  55. package/dist/chunks/{model-resolver-081edkx6.js → shell-4vxtq0ga.js} +19 -19
  56. package/dist/chunks/{model-resolver-raxz102y.js → shell-4w1d5wb3.js} +14 -14
  57. package/dist/chunks/{model-resolver-4y66k410.js → shell-4y66k410.js} +2 -2
  58. package/dist/chunks/{model-resolver-4yg7xpeb.js → shell-512rfa6p.js} +2 -2
  59. package/dist/chunks/{model-resolver-1ygqh575.js → shell-56gdpj1q.js} +9 -9
  60. package/dist/chunks/{model-resolver-5daktx2q.js → shell-5daktx2q.js} +1 -1
  61. package/dist/chunks/{model-resolver-7gjbp4rv.js → shell-5ffkwt1e.js} +22 -22
  62. package/dist/chunks/{model-resolver-5t3nmthw.js → shell-5t3nmthw.js} +2 -2
  63. package/dist/chunks/{model-resolver-pp153bpn.js → shell-5vn45h4e.js} +24 -24
  64. package/dist/chunks/{model-resolver-6bgtpqqk.js → shell-61jgdnn9.js} +6 -6
  65. package/dist/chunks/{model-resolver-1cbphejb.js → shell-654qzmht.js} +11 -11
  66. package/dist/chunks/{model-resolver-669tq793.js → shell-669tq793.js} +1 -1
  67. package/dist/chunks/{model-resolver-gch0jwjg.js → shell-672zjrs9.js} +11 -11
  68. package/dist/chunks/{model-resolver-xsxczyrz.js → shell-6djc8d4v.js} +57 -57
  69. package/dist/chunks/{model-resolver-bqszwq89.js → shell-6ea2fwcg.js} +6 -6
  70. package/dist/chunks/{model-resolver-6s4mdh3z.js → shell-6ec7m0j6.js} +28 -28
  71. package/dist/chunks/{model-resolver-15ss9vvc.js → shell-6j93tkf6.js} +23 -23
  72. package/dist/chunks/{model-resolver-6msgmcgs.js → shell-6msgmcgs.js} +1 -1
  73. package/dist/chunks/{model-resolver-ef26z15c.js → shell-6paxgs6k.js} +9 -9
  74. package/dist/chunks/{model-resolver-z7kbq8xp.js → shell-6w2332aj.js} +10 -10
  75. package/dist/chunks/{model-resolver-v1b2z47c.js → shell-715pgvxv.js} +13 -13
  76. package/dist/chunks/{model-resolver-kzz8qpg6.js → shell-71b9e1h9.js} +17 -17
  77. package/dist/chunks/{model-resolver-71q4at8m.js → shell-71q4at8m.js} +1 -1
  78. package/dist/chunks/{model-resolver-ewxn3t1h.js → shell-73n9zkes.js} +11 -11
  79. package/dist/chunks/{model-resolver-73tb2d7t.js → shell-73tb2d7t.js} +1 -1
  80. package/dist/chunks/{model-resolver-jypjtz10.js → shell-757464b7.js} +8 -8
  81. package/dist/chunks/shell-75fbrjyy.js +462 -0
  82. package/dist/chunks/{model-resolver-hk91r49k.js → shell-7a14zr6p.js} +11 -11
  83. package/dist/chunks/{model-resolver-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
  84. package/dist/chunks/{model-resolver-ter7srct.js → shell-7bsq4hvy.js} +86 -86
  85. package/dist/chunks/{model-resolver-xf505np6.js → shell-7gtrf76q.js} +20 -20
  86. package/dist/chunks/{model-resolver-nxhqveyz.js → shell-7gvwkz6m.js} +5 -5
  87. package/dist/chunks/{model-resolver-2d6j2h4j.js → shell-7ny3kv6n.js} +8 -8
  88. package/dist/chunks/{model-resolver-gvg5cn6x.js → shell-7x5zvdqa.js} +21 -21
  89. package/dist/chunks/{model-resolver-938kn445.js → shell-7y5sgbz2.js} +16 -16
  90. package/dist/chunks/{model-resolver-qkmgaxj3.js → shell-8377ydh1.js} +10 -10
  91. package/dist/chunks/{model-resolver-8d7r5vzw.js → shell-8d7r5vzw.js} +1 -1
  92. package/dist/chunks/{model-resolver-8p4f9s12.js → shell-8p4f9s12.js} +2 -2
  93. package/dist/chunks/{model-resolver-5ygf5p0f.js → shell-8wmav03j.js} +5 -5
  94. package/dist/chunks/{model-resolver-2gx6be01.js → shell-8xy1g1m8.js} +15 -15
  95. package/dist/chunks/{model-resolver-vxspkmm6.js → shell-938d64v3.js} +6 -6
  96. package/dist/chunks/{model-resolver-05xfxpq7.js → shell-97h7kfy1.js} +5 -5
  97. package/dist/chunks/{model-resolver-s61ystkj.js → shell-9cp1yb9s.js} +4 -4
  98. package/dist/chunks/{model-resolver-904fgqb1.js → shell-9ejs86te.js} +29 -29
  99. package/dist/chunks/{model-resolver-kxtas730.js → shell-9fgx6pd5.js} +16 -16
  100. package/dist/chunks/{model-resolver-qmr73083.js → shell-9h3amn4q.js} +1 -1
  101. package/dist/chunks/{model-resolver-5eqjzb86.js → shell-9wc1evxj.js} +22 -22
  102. package/dist/chunks/{model-resolver-a1bz86dw.js → shell-a1bz86dw.js} +3 -3
  103. package/dist/chunks/{model-resolver-dsdk9taj.js → shell-a4nqgkt6.js} +2 -2
  104. package/dist/chunks/{model-resolver-0mvbtnre.js → shell-a4x50hwg.js} +25 -25
  105. package/dist/chunks/{model-resolver-aaet6srn.js → shell-aaet6srn.js} +2 -2
  106. package/dist/chunks/{model-resolver-tk010cav.js → shell-adhzpfb7.js} +32 -32
  107. package/dist/chunks/{model-resolver-80e0yyk8.js → shell-ak72jphr.js} +10 -10
  108. package/dist/chunks/{model-resolver-hnyxbczk.js → shell-amj36hnk.js} +16 -16
  109. package/dist/chunks/{model-resolver-7b15y959.js → shell-asmz7wyz.js} +8 -8
  110. package/dist/chunks/{model-resolver-tdaw2k4j.js → shell-b19dgzvs.js} +1 -1
  111. package/dist/chunks/{model-resolver-1cjw44t7.js → shell-b1sq7v9m.js} +33 -33
  112. package/dist/chunks/{model-resolver-b6gygkdw.js → shell-b6gygkdw.js} +2 -2
  113. package/dist/chunks/{model-resolver-xhmq8qgk.js → shell-b8b3f19r.js} +9 -9
  114. package/dist/chunks/{model-resolver-bajakh74.js → shell-bha4atvq.js} +4 -4
  115. package/dist/chunks/{model-resolver-8k1nt5tz.js → shell-bjke5af1.js} +14 -14
  116. package/dist/chunks/{model-resolver-z32mnbb1.js → shell-bw668rws.js} +22 -22
  117. package/dist/chunks/{model-resolver-6mw0j0te.js → shell-bx61q0p6.js} +22 -22
  118. package/dist/chunks/{model-resolver-nkdjmw8b.js → shell-c156ep7e.js} +11 -11
  119. package/dist/chunks/{model-resolver-kjk16mqf.js → shell-c255b86t.js} +20 -20
  120. package/dist/chunks/{model-resolver-a4exdnt3.js → shell-c3w8sn3d.js} +4 -4
  121. package/dist/chunks/{model-resolver-f9bavhm2.js → shell-cek2cznd.js} +1 -1
  122. package/dist/chunks/{model-resolver-cfpkc3c9.js → shell-cfpkc3c9.js} +2 -2
  123. package/dist/chunks/{model-resolver-gph83kaa.js → shell-cjmk82ph.js} +47 -47
  124. package/dist/chunks/{model-resolver-81swgkk7.js → shell-cntxze1n.js} +9 -9
  125. package/dist/chunks/{model-resolver-devrjb14.js → shell-csveq9pc.js} +27 -27
  126. package/dist/chunks/{model-resolver-x2phbg5e.js → shell-cxq7hy6v.js} +22 -22
  127. package/dist/chunks/{model-resolver-p0pyvfsv.js → shell-d52p5a3y.js} +15 -15
  128. package/dist/chunks/{model-resolver-x0511brf.js → shell-d8nc1xcx.js} +4 -4
  129. package/dist/chunks/shell-dad7qjyt.js +22 -0
  130. package/dist/chunks/{model-resolver-ps9g5bz5.js → shell-dghm81pm.js} +54 -54
  131. package/dist/chunks/{model-resolver-009h91p9.js → shell-dhtqz3j8.js} +23 -23
  132. package/dist/chunks/{model-resolver-y71avatq.js → shell-dpkg50ah.js} +4 -4
  133. package/dist/chunks/{model-resolver-fyjrpq2n.js → shell-dya1x8f2.js} +8 -8
  134. package/dist/chunks/{model-resolver-fnhymeek.js → shell-e119c6wb.js} +4 -4
  135. package/dist/chunks/{model-resolver-t550f9t1.js → shell-eaj1djv9.js} +8 -8
  136. package/dist/chunks/{model-resolver-crg5gc3d.js → shell-ekj7r0kp.js} +10 -10
  137. package/dist/chunks/{model-resolver-k80z9tbh.js → shell-enq4mbeq.js} +25 -25
  138. package/dist/chunks/{model-resolver-a4dh9d11.js → shell-epxwh5rt.js} +30 -30
  139. package/dist/chunks/{model-resolver-etq0c3wd.js → shell-etq0c3wd.js} +1 -1
  140. package/dist/chunks/{model-resolver-3cfzdc8e.js → shell-evbgk2k8.js} +5 -5
  141. package/dist/chunks/{model-resolver-qfqvyrqy.js → shell-f0fgzphd.js} +9 -9
  142. package/dist/chunks/{model-resolver-1acjjqhc.js → shell-f2n192rq.js} +4 -4
  143. package/dist/chunks/{model-resolver-9gcqzv5v.js → shell-f3rhz1g8.js} +83 -83
  144. package/dist/chunks/{model-resolver-t9svpfj6.js → shell-f40x834m.js} +16 -16
  145. package/dist/chunks/{model-resolver-f828m53h.js → shell-f828m53h.js} +2 -2
  146. package/dist/chunks/{model-resolver-vdqjg1m3.js → shell-fdeq67q0.js} +7 -7
  147. package/dist/chunks/{model-resolver-gvphacjb.js → shell-fe9854a7.js} +12 -12
  148. package/dist/chunks/{model-resolver-6hh8tjw2.js → shell-fm2qvscf.js} +4 -4
  149. package/dist/chunks/{model-resolver-sv9bpgvh.js → shell-fmxbrafm.js} +5 -5
  150. package/dist/chunks/{model-resolver-fxbjtjnd.js → shell-fxbjtjnd.js} +1 -1
  151. package/dist/chunks/{model-resolver-q54c8873.js → shell-fzgk925k.js} +11 -11
  152. package/dist/chunks/{model-resolver-ehpz93s6.js → shell-fzmz3zsx.js} +4 -4
  153. package/dist/chunks/{model-resolver-9a63yes8.js → shell-g0jbyvt7.js} +10 -10
  154. package/dist/chunks/{model-resolver-29bs6vrv.js → shell-gb75dd12.js} +9 -9
  155. package/dist/chunks/{model-resolver-gd4qta3r.js → shell-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{model-resolver-75mgaf8d.js → shell-gdbnz73m.js} +11 -11
  157. package/dist/chunks/{model-resolver-gxqvm3vh.js → shell-gjmwt3yh.js} +18 -18
  158. package/dist/chunks/{model-resolver-g62st3z5.js → shell-gm14zrge.js} +3 -3
  159. package/dist/chunks/{model-resolver-ge043nsr.js → shell-gnp2cdh9.js} +11 -11
  160. package/dist/chunks/{model-resolver-efmhwa42.js → shell-gqcgtd7m.js} +12 -12
  161. package/dist/chunks/{model-resolver-ttqh24zm.js → shell-gst7axd9.js} +4 -4
  162. package/dist/chunks/{model-resolver-gv6a8nnw.js → shell-gv6a8nnw.js} +2 -2
  163. package/dist/chunks/{model-resolver-j3wpmvzh.js → shell-gvmwhjkb.js} +46 -46
  164. package/dist/chunks/{model-resolver-h03wrkyp.js → shell-h03wrkyp.js} +2 -2
  165. package/dist/chunks/{model-resolver-p78yc9pn.js → shell-h5mtjt0m.js} +33 -33
  166. package/dist/chunks/{model-resolver-3z8scj2k.js → shell-h6mds1av.js} +38 -38
  167. package/dist/chunks/{model-resolver-h6vf3j39.js → shell-h6vf3j39.js} +1 -1
  168. package/dist/chunks/{model-resolver-5stvhfem.js → shell-h8aw6exk.js} +8 -8
  169. package/dist/chunks/{model-resolver-yjptyezs.js → shell-hnr5yq9h.js} +5 -5
  170. package/dist/chunks/{model-resolver-p1gtkzqj.js → shell-hr0by3dc.js} +24 -24
  171. package/dist/chunks/{model-resolver-6221mqag.js → shell-hvgm9eqs.js} +41 -41
  172. package/dist/chunks/{model-resolver-r0kdz9g5.js → shell-hxqw5f62.js} +5 -5
  173. package/dist/chunks/{model-resolver-k07nk2cj.js → shell-hz0670sp.js} +11 -11
  174. package/dist/chunks/{model-resolver-020dgfr3.js → shell-j2x4pfpm.js} +8 -8
  175. package/dist/chunks/{model-resolver-36ksw53k.js → shell-j3gzjeh1.js} +15 -15
  176. package/dist/chunks/{model-resolver-7nnj4kk9.js → shell-j4xvd28z.js} +24 -24
  177. package/dist/chunks/{model-resolver-j56e64zr.js → shell-j56e64zr.js} +1 -1
  178. package/dist/chunks/{model-resolver-k6yq57aq.js → shell-j7wq2tw5.js} +3 -3
  179. package/dist/chunks/{model-resolver-4jv7e9dq.js → shell-j8zzr2am.js} +7 -7
  180. package/dist/chunks/{model-resolver-dx1bz9gv.js → shell-jmm61hn9.js} +35 -35
  181. package/dist/chunks/{model-resolver-jgeage2f.js → shell-jq0xap4z.js} +9 -9
  182. package/dist/chunks/{model-resolver-xb8jw6fx.js → shell-jte6my49.js} +8 -8
  183. package/dist/chunks/{model-resolver-22q0q0f5.js → shell-jvcjtfdj.js} +5 -5
  184. package/dist/chunks/{model-resolver-fnc95cqt.js → shell-jx9pvz9q.js} +20 -20
  185. package/dist/chunks/{model-resolver-vpq3xcjn.js → shell-jyf8w563.js} +28 -28
  186. package/dist/chunks/{model-resolver-mgx963cj.js → shell-ka2k270b.js} +8 -8
  187. package/dist/chunks/{model-resolver-kg06axw8.js → shell-kg06axw8.js} +1 -1
  188. package/dist/chunks/{model-resolver-qr27hz8v.js → shell-knd1qvh0.js} +4 -4
  189. package/dist/chunks/{model-resolver-v8ch97zc.js → shell-m43qeqsy.js} +1 -1
  190. package/dist/chunks/{model-resolver-2m5ja96p.js → shell-m9j2dexz.js} +6 -6
  191. package/dist/chunks/{model-resolver-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
  192. package/dist/chunks/{model-resolver-mkcjrzeh.js → shell-mkcjrzeh.js} +1 -1
  193. package/dist/chunks/{model-resolver-mg5d68k4.js → shell-mme1bqhm.js} +29 -29
  194. package/dist/chunks/{model-resolver-5qwnehpy.js → shell-mvvn0xpn.js} +43 -43
  195. package/dist/chunks/{model-resolver-m7kk9p21.js → shell-mypwhdkk.js} +6 -6
  196. package/dist/chunks/{model-resolver-yq8ea3vq.js → shell-n47h4z4n.js} +19 -19
  197. package/dist/chunks/{model-resolver-wwg77xe7.js → shell-n9bzgvrq.js} +17 -17
  198. package/dist/chunks/{model-resolver-bsrard2b.js → shell-nbegex03.js} +8 -8
  199. package/dist/chunks/shell-nbtt6k6e.js +247 -0
  200. package/dist/chunks/{model-resolver-jy16bfac.js → shell-nc3fjawf.js} +1 -1
  201. package/dist/chunks/{model-resolver-hjt4xg1x.js → shell-nhy5jxhy.js} +4 -4
  202. package/dist/chunks/{model-resolver-a1bjq33w.js → shell-nsnmc6vq.js} +4 -4
  203. package/dist/chunks/{model-resolver-vr6gkzwk.js → shell-nv5vn7qx.js} +8 -8
  204. package/dist/chunks/{model-resolver-jjgr0rxr.js → shell-nx3vg62n.js} +10 -10
  205. package/dist/chunks/{model-resolver-5x0jn38e.js → shell-p5zja7w3.js} +20 -20
  206. package/dist/chunks/{model-resolver-yeq7vpcg.js → shell-p688tfyr.js} +17 -17
  207. package/dist/chunks/{model-resolver-y0n2m4xg.js → shell-pck3w1ab.js} +4 -4
  208. package/dist/chunks/{model-resolver-dhjen1r5.js → shell-pe83jqzf.js} +11 -11
  209. package/dist/chunks/{model-resolver-rmm45jmv.js → shell-pfq1ksym.js} +5 -5
  210. package/dist/chunks/{model-resolver-pjvnvgmy.js → shell-pjvnvgmy.js} +1 -1
  211. package/dist/chunks/{model-resolver-pknna89w.js → shell-pknna89w.js} +1 -1
  212. package/dist/chunks/{model-resolver-qqdydr84.js → shell-ppkgn7jr.js} +7 -7
  213. package/dist/chunks/{model-resolver-3n92rxfz.js → shell-q0jfp978.js} +18 -18
  214. package/dist/chunks/{model-resolver-zr1qynpk.js → shell-q95phfw2.js} +5 -5
  215. package/dist/chunks/{model-resolver-py6vs3y2.js → shell-qfcxkg9x.js} +3 -3
  216. package/dist/chunks/{model-resolver-869d1136.js → shell-qfehbndj.js} +20 -20
  217. package/dist/chunks/{model-resolver-edbfpfck.js → shell-qfzde7bh.js} +6 -6
  218. package/dist/chunks/{model-resolver-ag0sxk10.js → shell-qm9qwyxs.js} +37 -37
  219. package/dist/chunks/{model-resolver-qsdy395h.js → shell-qsdy395h.js} +1 -1
  220. package/dist/chunks/{model-resolver-r57he8ke.js → shell-qse8x9va.js} +42 -42
  221. package/dist/chunks/{model-resolver-2khzfaxq.js → shell-qwkytnft.js} +6 -6
  222. package/dist/chunks/{model-resolver-nhg5jbpm.js → shell-qyxzwjwr.js} +11 -11
  223. package/dist/chunks/{model-resolver-wh9ejbvr.js → shell-r4gvnsqg.js} +19 -19
  224. package/dist/chunks/{model-resolver-r9mregkx.js → shell-r9mregkx.js} +2 -2
  225. package/dist/chunks/{model-resolver-p33ejz0k.js → shell-rfnzy394.js} +1 -1
  226. package/dist/chunks/{model-resolver-j2vpgszb.js → shell-rfwb5caz.js} +11 -11
  227. package/dist/chunks/{model-resolver-5b7494hf.js → shell-rgzjdtpz.js} +8 -8
  228. package/dist/chunks/{model-resolver-z36j2jb8.js → shell-rkgfyfhg.js} +26 -26
  229. package/dist/chunks/{model-resolver-57vq7pq6.js → shell-rs9gpnz9.js} +9 -9
  230. package/dist/chunks/{model-resolver-kxzw7ywv.js → shell-ryq1d4nq.js} +5 -5
  231. package/dist/chunks/{model-resolver-d869rdc4.js → shell-s3p732vg.js} +25 -25
  232. package/dist/chunks/{model-resolver-12drz8m0.js → shell-see2wqs9.js} +6 -6
  233. package/dist/chunks/{model-resolver-c1495ybz.js → shell-srhw5zxk.js} +8 -8
  234. package/dist/chunks/{model-resolver-hr92tm7k.js → shell-ss07yt36.js} +9 -9
  235. package/dist/chunks/{model-resolver-e4qvdkf2.js → shell-sykm9ny3.js} +14 -14
  236. package/dist/chunks/{model-resolver-p1wf2k30.js → shell-t0x5rdq8.js} +9 -9
  237. package/dist/chunks/{model-resolver-2pttksap.js → shell-t2js6s8h.js} +7 -7
  238. package/dist/chunks/{model-resolver-zmk9zzxp.js → shell-t4mdcchx.js} +6 -6
  239. package/dist/chunks/{model-resolver-1317bwmc.js → shell-t7m3zm2g.js} +46 -46
  240. package/dist/chunks/{model-resolver-n2dd2pyx.js → shell-t89hfesc.js} +9 -9
  241. package/dist/chunks/{model-resolver-vr7gxye5.js → shell-t97t2t7r.js} +13 -13
  242. package/dist/chunks/{model-resolver-tazgh4e4.js → shell-tazgh4e4.js} +1 -1
  243. package/dist/chunks/{model-resolver-tcezcvh9.js → shell-tcezcvh9.js} +1 -1
  244. package/dist/chunks/{model-resolver-tdstcens.js → shell-tdstcens.js} +1 -1
  245. package/dist/chunks/{model-resolver-tvtrv512.js → shell-tvtrv512.js} +1 -1
  246. package/dist/chunks/{model-resolver-2m08xxyc.js → shell-tyxx41mz.js} +24 -24
  247. package/dist/chunks/{model-resolver-zk0mmm3v.js → shell-v0rxpvp8.js} +33 -33
  248. package/dist/chunks/{model-resolver-t8hgxyak.js → shell-v76skvps.js} +17 -17
  249. package/dist/chunks/{model-resolver-rm2yqhr0.js → shell-v7sgzh50.js} +17 -17
  250. package/dist/chunks/{model-resolver-pykwhchm.js → shell-v9dy98q8.js} +27 -27
  251. package/dist/chunks/{model-resolver-j83byb14.js → shell-ve4pfa0n.js} +4 -4
  252. package/dist/chunks/{model-resolver-veqvce7d.js → shell-veqvce7d.js} +1 -1
  253. package/dist/chunks/{model-resolver-xyxvhn55.js → shell-vjvqmxr3.js} +28 -28
  254. package/dist/chunks/{model-resolver-zf903971.js → shell-vs31b0rs.js} +26 -26
  255. package/dist/chunks/{model-resolver-vzcthcp8.js → shell-vzcthcp8.js} +1 -1
  256. package/dist/chunks/{model-resolver-msq0jde0.js → shell-w1k39n5e.js} +4 -4
  257. package/dist/chunks/{model-resolver-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{model-resolver-vn159p31.js → shell-w79gqzfd.js} +27 -27
  259. package/dist/chunks/{model-resolver-wd87259q.js → shell-wd87259q.js} +1 -1
  260. package/dist/chunks/{model-resolver-h8qwp7cq.js → shell-wf190fkx.js} +20 -20
  261. package/dist/chunks/{model-resolver-qynmxvpw.js → shell-wpvxq4mk.js} +5 -5
  262. package/dist/chunks/{model-resolver-31dz7cp4.js → shell-wyam1r5m.js} +1 -1
  263. package/dist/chunks/{model-resolver-x1ezjp6w.js → shell-x1ezjp6w.js} +1 -1
  264. package/dist/chunks/{model-resolver-bj57yt8b.js → shell-x3vadacb.js} +13 -13
  265. package/dist/chunks/{model-resolver-e1pdz8et.js → shell-x56sq1v7.js} +26 -26
  266. package/dist/chunks/{model-resolver-wqc6684y.js → shell-xg9t41r3.js} +2 -2
  267. package/dist/chunks/{model-resolver-rdp6edmz.js → shell-xkpcsvae.js} +20 -20
  268. package/dist/chunks/{model-resolver-nka8pza6.js → shell-xpky65xt.js} +6 -6
  269. package/dist/chunks/{model-resolver-rwy4x1xm.js → shell-xtwh079d.js} +14 -14
  270. package/dist/chunks/{model-resolver-1ah30sey.js → shell-xvs1sa11.js} +5 -5
  271. package/dist/chunks/{model-resolver-y1fvbwt7.js → shell-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{model-resolver-z2njxqb1.js → shell-y2d29fce.js} +22 -22
  273. package/dist/chunks/{model-resolver-61aebzdy.js → shell-yb9t9wk7.js} +18 -18
  274. package/dist/chunks/{model-resolver-6bxcf4ek.js → shell-ycbn6r48.js} +41 -41
  275. package/dist/chunks/{model-resolver-6pythytf.js → shell-ydpamykn.js} +6 -6
  276. package/dist/chunks/{model-resolver-hg3kwj6p.js → shell-yj9j0m2y.js} +169 -169
  277. package/dist/chunks/{model-resolver-jefma2gq.js → shell-yjqv8qmq.js} +10 -10
  278. package/dist/chunks/{model-resolver-7z4t0b39.js → shell-ymem0t2p.js} +27 -27
  279. package/dist/chunks/{model-resolver-yrhqyw5v.js → shell-yrhqyw5v.js} +1 -1
  280. package/dist/chunks/{model-resolver-yrznvahk.js → shell-yrznvahk.js} +2 -2
  281. package/dist/chunks/{model-resolver-14xw559s.js → shell-yxdv66k0.js} +15 -15
  282. package/dist/chunks/{model-resolver-zh4wspwp.js → shell-yxq5295s.js} +30 -30
  283. package/dist/chunks/{model-resolver-z0bkrqjs.js → shell-z0bkrqjs.js} +1 -1
  284. package/dist/chunks/{model-resolver-z63w68vq.js → shell-z63w68vq.js} +2 -2
  285. package/dist/chunks/{model-resolver-zeh9ct20.js → shell-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{model-resolver-zr2ceqn5.js → shell-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{model-resolver-zxq2ej10.js → shell-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +7 -7
  290. package/dist/codemode/tool.js +2 -2
  291. package/dist/command.js +82 -82
  292. package/dist/config/discovery.js +78 -78
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +19 -19
  295. package/dist/config/plugin/agent.js +118 -118
  296. package/dist/config/plugin/command.js +210 -210
  297. package/dist/config/plugin/compaction.js +156 -156
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +118 -118
  300. package/dist/config/plugin/image.js +116 -116
  301. package/dist/config/plugin/instruction.js +86 -86
  302. package/dist/config/plugin/location-watcher.js +116 -116
  303. package/dist/config/plugin/mcp.js +127 -127
  304. package/dist/config/plugin/policy.js +115 -115
  305. package/dist/config/plugin/provider.js +114 -114
  306. package/dist/config/plugin/reference.js +118 -118
  307. package/dist/config/plugin/shell.js +119 -119
  308. package/dist/config/plugin/skill-file.js +98 -98
  309. package/dist/config/plugin/skill.js +137 -137
  310. package/dist/config/plugin/snapshot.js +116 -116
  311. package/dist/config/plugin/source.js +118 -118
  312. package/dist/config/plugin/tool-output.js +118 -118
  313. package/dist/config/plugin/websearch.js +116 -116
  314. package/dist/config/plugin/worktree.js +119 -119
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +118 -118
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +84 -84
  320. package/dist/database/database.js +65 -65
  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.gen.js +48 -48
  385. package/dist/database/migration.js +50 -50
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +75 -75
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +363 -363
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +89 -89
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +91 -91
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +69 -69
  409. package/dist/file-access.js +100 -100
  410. package/dist/file-mutation.js +90 -90
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +221 -221
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +90 -90
  422. package/dist/filesystem/watcher-binding.js +1 -1
  423. package/dist/filesystem/watcher.js +13 -13
  424. package/dist/filesystem.js +91 -91
  425. package/dist/form.js +85 -85
  426. package/dist/formatter/builtins.js +2 -2
  427. package/dist/formatter.js +85 -85
  428. package/dist/generate.js +92 -92
  429. package/dist/git.js +7 -7
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +3 -3
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.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 +354 -354
  454. package/dist/instruction-discovery.js +80 -80
  455. package/dist/instructions/builtins.js +83 -83
  456. package/dist/instructions/index.js +5 -5
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +85 -85
  459. package/dist/job.js +78 -78
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +72 -72
  462. package/dist/location-activity.js +129 -129
  463. package/dist/location-mutation.js +100 -100
  464. package/dist/location-service-map.js +82 -82
  465. package/dist/location-services.js +351 -351
  466. package/dist/location.js +83 -83
  467. package/dist/mcp/client.js +87 -87
  468. package/dist/mcp/index.js +98 -98
  469. package/dist/mcp/instructions.js +123 -123
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +86 -86
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +3 -3
  474. package/dist/model-resolver.js +87 -87
  475. package/dist/model.js +6 -6
  476. package/dist/models-dev.js +81 -81
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +81 -81
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +109 -109
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +85 -85
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +74 -74
  486. package/dist/plugin/agent.js +100 -100
  487. package/dist/plugin/command.js +97 -97
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +214 -214
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +325 -325
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +76 -76
  494. package/dist/plugin/module.js +7 -7
  495. package/dist/plugin/optimize.js +6 -6
  496. package/dist/plugin/plan.js +98 -98
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/alibaba.js +2 -2
  499. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  500. package/dist/plugin/provider/anthropic.js +4 -4
  501. package/dist/plugin/provider/azure.js +119 -119
  502. package/dist/plugin/provider/cerebras.js +2 -2
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +115 -115
  507. package/dist/plugin/provider/digitalocean.js +80 -80
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/gateway.js +2 -2
  511. package/dist/plugin/provider/github-copilot.js +81 -81
  512. package/dist/plugin/provider/gitlab.js +3 -3
  513. package/dist/plugin/provider/google-vertex.js +2 -2
  514. package/dist/plugin/provider/kilo.js +2 -2
  515. package/dist/plugin/provider/llmgateway.js +77 -77
  516. package/dist/plugin/provider/lmstudio.js +118 -118
  517. package/dist/plugin/provider/mistral.js +2 -2
  518. package/dist/plugin/provider/modal.js +80 -80
  519. package/dist/plugin/provider/nvidia.js +2 -2
  520. package/dist/plugin/provider/ollama.js +118 -118
  521. package/dist/plugin/provider/openai-compatible.js +1 -1
  522. package/dist/plugin/provider/openai.js +81 -81
  523. package/dist/plugin/provider/opencode.js +80 -80
  524. package/dist/plugin/provider/openrouter.js +3 -3
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +77 -77
  527. package/dist/plugin/provider/sap-ai-core.js +3 -3
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +118 -118
  530. package/dist/plugin/provider/venice.js +2 -2
  531. package/dist/plugin/provider/vercel.js +2 -2
  532. package/dist/plugin/provider/vllm.js +118 -118
  533. package/dist/plugin/provider/xai.js +78 -78
  534. package/dist/plugin/provider/zenmux.js +2 -2
  535. package/dist/plugin/provider.js +159 -159
  536. package/dist/plugin/sdk.js +75 -75
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +134 -134
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +340 -340
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/variant.js +4 -4
  543. package/dist/plugin/vcs/git.js +83 -83
  544. package/dist/plugin/vcs/hg.js +83 -83
  545. package/dist/plugin/warming.js +113 -113
  546. package/dist/plugin/websearch/exa.js +5 -5
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +8 -8
  549. package/dist/plugin/websearch/mcp.js +6 -6
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +4 -4
  552. package/dist/plugin.js +219 -219
  553. package/dist/project/schema.js +8 -8
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +84 -84
  556. package/dist/provider.js +7 -7
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/schema.js +1 -1
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +89 -89
  561. package/dist/reference/instructions.js +85 -85
  562. package/dist/reference.js +87 -87
  563. package/dist/repository-cache.js +77 -77
  564. package/dist/repository.js +1 -1
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +88 -88
  567. package/dist/rpc.js +82 -82
  568. package/dist/schema.js +1 -1
  569. package/dist/session/command.js +73 -73
  570. package/dist/session/compaction.js +130 -130
  571. package/dist/session/context.js +148 -148
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +5 -5
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +217 -217
  576. package/dist/session/execution.js +123 -123
  577. package/dist/session/generate.js +149 -149
  578. package/dist/session/history.js +13 -13
  579. package/dist/session/inbox.js +87 -87
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +78 -78
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +93 -93
  584. package/dist/session/message-updater.js +2 -2
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +114 -114
  587. package/dist/session/model-transport.js +9 -9
  588. package/dist/session/move.js +127 -127
  589. package/dist/session/projector.js +85 -85
  590. package/dist/session/prompt.js +101 -101
  591. package/dist/session/provider-context.js +3 -3
  592. package/dist/session/revert.js +86 -86
  593. package/dist/session/run-coordinator.js +3 -3
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +224 -224
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +87 -87
  598. package/dist/session/runner/publish-llm-event.js +3 -3
  599. package/dist/session/runner/retry.js +111 -111
  600. package/dist/session/runner/step.js +120 -120
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +5 -5
  603. package/dist/session/session.js +170 -170
  604. package/dist/session/shell.js +132 -132
  605. package/dist/session/skill.js +99 -99
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +72 -72
  608. package/dist/session/store.js +86 -86
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +206 -206
  611. package/dist/session/system-prompt.js +3 -3
  612. package/dist/session/title.js +148 -148
  613. package/dist/session/to-session-error.js +108 -108
  614. package/dist/session/transfer.js +213 -213
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +212 -212
  617. package/dist/shell/parse.js +6 -6
  618. package/dist/shell/result.js +1 -1
  619. package/dist/shell/scan.js +1 -1
  620. package/dist/shell/select.js +11 -11
  621. package/dist/shell.js +134 -134
  622. package/dist/skill/discovery.js +6 -6
  623. package/dist/skill/instructions.js +103 -103
  624. package/dist/skill.js +108 -108
  625. package/dist/snapshot.js +85 -85
  626. package/dist/state.js +1 -1
  627. package/dist/tool/html-markdown.js +1 -1
  628. package/dist/tool/http-body.js +1 -1
  629. package/dist/tool/mcp.js +122 -122
  630. package/dist/tool/plugin/edit.js +116 -116
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +121 -121
  633. package/dist/tool/plugin/grep.js +121 -121
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +114 -114
  636. package/dist/tool/plugin/question.js +99 -99
  637. package/dist/tool/plugin/read.js +122 -122
  638. package/dist/tool/plugin/shell.js +213 -213
  639. package/dist/tool/plugin/skill.js +107 -107
  640. package/dist/tool/plugin/subagent.js +215 -215
  641. package/dist/tool/plugin/webfetch.js +106 -106
  642. package/dist/tool/plugin/websearch.js +110 -110
  643. package/dist/tool/plugin/write.js +118 -118
  644. package/dist/tool/read-filesystem.js +97 -97
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +8 -8
  647. package/dist/tool.js +11 -11
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +5 -5
  657. package/dist/v1/config/attachment.js +4 -4
  658. package/dist/v1/config/command.js +3 -3
  659. package/dist/v1/config/config.js +16 -16
  660. package/dist/v1/config/error.js +2 -2
  661. package/dist/v1/config/formatter.js +5 -5
  662. package/dist/v1/config/layout.js +1 -1
  663. package/dist/v1/config/lsp.js +3 -3
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +4 -4
  666. package/dist/v1/config/permission.js +3 -3
  667. package/dist/v1/config/plugin.js +1 -1
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/v1/config/server.js +2 -2
  671. package/dist/v1/config/skills.js +3 -3
  672. package/dist/v1/permission.js +1 -1
  673. package/dist/vcs/patch.js +1 -1
  674. package/dist/vcs.js +84 -84
  675. package/dist/websearch.js +81 -81
  676. package/dist/wellknown/plugin.js +75 -75
  677. package/dist/wellknown.js +80 -80
  678. package/dist/workspace/driver.js +5 -5
  679. package/dist/workspace/sql.js +1 -1
  680. package/dist/workspace.js +79 -79
  681. package/dist/worktree/directory.js +2 -2
  682. package/dist/worktree/git.js +7 -7
  683. package/dist/worktree/refresh.js +343 -343
  684. package/dist/worktree/sql.js +5 -5
  685. package/dist/worktree.js +90 -90
  686. package/package.json +8 -8
  687. package/dist/chunks/model-resolver-3evemhrx.js +0 -22
  688. package/dist/chunks/model-resolver-96f7b8wk.js +0 -247
  689. package/dist/chunks/model-resolver-bk30tq9n.js +0 -462
  690. package/dist/chunks/model-resolver-ht5y0zrb.js +0 -18
  691. /package/dist/chunks/{model-resolver-0mesazry.js → shell-0mesazry.js} +0 -0
  692. /package/dist/chunks/{model-resolver-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{model-resolver-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{model-resolver-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{model-resolver-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{model-resolver-1kg9ymc8.js → shell-1kg9ymc8.js} +0 -0
  697. /package/dist/chunks/{model-resolver-2710q6r3.js → shell-2710q6r3.js} +0 -0
  698. /package/dist/chunks/{model-resolver-2axfhc9x.js → shell-2axfhc9x.js} +0 -0
  699. /package/dist/chunks/{model-resolver-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{model-resolver-359p4xyc.js → shell-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{model-resolver-3asan66x.js → shell-3asan66x.js} +0 -0
  702. /package/dist/chunks/{model-resolver-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{model-resolver-3w5fmr99.js → shell-3w5fmr99.js} +0 -0
  704. /package/dist/chunks/{model-resolver-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{model-resolver-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{model-resolver-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{model-resolver-4vcrnpx2.js → shell-4vcrnpx2.js} +0 -0
  708. /package/dist/chunks/{model-resolver-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
  709. /package/dist/chunks/{model-resolver-53557ph1.js → shell-53557ph1.js} +0 -0
  710. /package/dist/chunks/{model-resolver-550bvhaj.js → shell-550bvhaj.js} +0 -0
  711. /package/dist/chunks/{model-resolver-6prwharc.js → shell-6prwharc.js} +0 -0
  712. /package/dist/chunks/{model-resolver-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{model-resolver-7m9af43g.js → shell-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{model-resolver-822emrt2.js → shell-822emrt2.js} +0 -0
  715. /package/dist/chunks/{model-resolver-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{model-resolver-8n3pysct.js → shell-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{model-resolver-922hggd3.js → shell-922hggd3.js} +0 -0
  718. /package/dist/chunks/{model-resolver-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{model-resolver-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{model-resolver-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{model-resolver-af5trqkr.js → shell-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{model-resolver-afrmfg78.js → shell-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{model-resolver-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{model-resolver-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{model-resolver-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{model-resolver-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{model-resolver-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{model-resolver-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{model-resolver-d9fn303g.js → shell-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{model-resolver-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{model-resolver-dajrwvna.js → shell-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{model-resolver-dap0rakb.js → shell-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{model-resolver-df08tz66.js → shell-df08tz66.js} +0 -0
  734. /package/dist/chunks/{model-resolver-dy18nga0.js → shell-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{model-resolver-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{model-resolver-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{model-resolver-ec1grn59.js → shell-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{model-resolver-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{model-resolver-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{model-resolver-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{model-resolver-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{model-resolver-faypxj3z.js → shell-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{model-resolver-fd410y7t.js → shell-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{model-resolver-fxgpk5d8.js → shell-fxgpk5d8.js} +0 -0
  745. /package/dist/chunks/{model-resolver-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{model-resolver-g86h250q.js → shell-g86h250q.js} +0 -0
  747. /package/dist/chunks/{model-resolver-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{model-resolver-gftt206x.js → shell-gftt206x.js} +0 -0
  749. /package/dist/chunks/{model-resolver-hjbc5kem.js → shell-hjbc5kem.js} +0 -0
  750. /package/dist/chunks/{model-resolver-hk9envan.js → shell-hk9envan.js} +0 -0
  751. /package/dist/chunks/{model-resolver-hrnqkpcd.js → shell-hrnqkpcd.js} +0 -0
  752. /package/dist/chunks/{model-resolver-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{model-resolver-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{model-resolver-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{model-resolver-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{model-resolver-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{model-resolver-mp448xyj.js → shell-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{model-resolver-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{model-resolver-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{model-resolver-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{model-resolver-njntx4h6.js → shell-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{model-resolver-paphc93g.js → shell-paphc93g.js} +0 -0
  763. /package/dist/chunks/{model-resolver-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
  764. /package/dist/chunks/{model-resolver-q74kybfr.js → shell-q74kybfr.js} +0 -0
  765. /package/dist/chunks/{model-resolver-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
  766. /package/dist/chunks/{model-resolver-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
  767. /package/dist/chunks/{model-resolver-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
  768. /package/dist/chunks/{model-resolver-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
  769. /package/dist/chunks/{model-resolver-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
  770. /package/dist/chunks/{model-resolver-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
  771. /package/dist/chunks/{model-resolver-sk3qaz4a.js → shell-sk3qaz4a.js} +0 -0
  772. /package/dist/chunks/{model-resolver-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
  773. /package/dist/chunks/{model-resolver-twg0f83k.js → shell-twg0f83k.js} +0 -0
  774. /package/dist/chunks/{model-resolver-w803qqfp.js → shell-w803qqfp.js} +0 -0
  775. /package/dist/chunks/{model-resolver-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
  776. /package/dist/chunks/{model-resolver-wtztk69x.js → shell-wtztk69x.js} +0 -0
  777. /package/dist/chunks/{model-resolver-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
  778. /package/dist/chunks/{model-resolver-x61499pn.js → shell-x61499pn.js} +0 -0
  779. /package/dist/chunks/{model-resolver-y44na4kk.js → shell-y44na4kk.js} +0 -0
  780. /package/dist/chunks/{model-resolver-y8cydn3q.js → shell-y8cydn3q.js} +0 -0
  781. /package/dist/chunks/{model-resolver-y8f7s663.js → shell-y8f7s663.js} +0 -0
  782. /package/dist/chunks/{model-resolver-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
  783. /package/dist/chunks/{model-resolver-ym463w8f.js → shell-ym463w8f.js} +0 -0
  784. /package/dist/chunks/{model-resolver-z9919s4g.js → shell-z9919s4g.js} +0 -0
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./model-resolver-g62st3z5.js";
4
+ } from "./shell-gm14zrge.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./model-resolver-y71avatq.js";
7
+ } from "./shell-dpkg50ah.js";
8
8
  import {
9
9
  Binding2,
10
10
  RegistryService2,
11
- node78
12
- } from "./model-resolver-bqszwq89.js";
11
+ node70
12
+ } from "./shell-6ea2fwcg.js";
13
13
  import {
14
14
  WorkspaceTable2
15
- } from "./model-resolver-faypxj3z.js";
15
+ } from "./shell-faypxj3z.js";
16
16
  import {
17
17
  __export
18
- } from "./model-resolver-9rqn6x4v.js";
18
+ } from "./shell-9rqn6x4v.js";
19
19
 
20
20
  // src/workspace.ts
21
21
  var exports_workspace = {};
22
22
  __export(exports_workspace, {
23
23
  CreateConflict: () => CreateConflict2,
24
- ID: () => ID16,
25
- Info: () => Info30,
24
+ ID: () => ID10,
25
+ Info: () => Info24,
26
26
  NotFound: () => NotFound3,
27
- Service: () => Service73,
27
+ Service: () => Service66,
28
28
  Workspace: () => exports_workspace,
29
- configured: () => configured11,
30
- node: () => node77
29
+ configured: () => configured10,
30
+ node: () => node69
31
31
  });
32
32
  import { Workspace } from "@opencode/schema/workspace";
33
33
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
35
35
  import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
36
36
  import { systemError } from "effect/PlatformError";
37
37
  import { make } from "effect/unstable/process/ChildProcessSpawner";
38
- var ID16 = Workspace.ID;
38
+ var ID10 = Workspace.ID;
39
39
 
40
- class Info30 extends Schema.Class("Workspace.Info")({
41
- id: ID16,
40
+ class Info24 extends Schema.Class("Workspace.Info")({
41
+ id: ID10,
42
42
  provider: Schema.String,
43
43
  binding: Binding2,
44
44
  createdAt: Schema.Number,
@@ -46,24 +46,24 @@ class Info30 extends Schema.Class("Workspace.Info")({
46
46
  }) {
47
47
  }
48
48
 
49
- class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID16 }) {
49
+ class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID10 }) {
50
50
  }
51
51
 
52
52
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
53
- workspaceID: ID16,
53
+ workspaceID: ID10,
54
54
  provider: Schema.String,
55
55
  existingProvider: Schema.String
56
56
  }) {
57
57
  }
58
58
 
59
- class Service73 extends Context.Service()("@opencode/Workspace") {
59
+ class Service66 extends Context.Service()("@opencode/Workspace") {
60
60
  }
61
- var configured11 = (options = {}) => makeGlobalNode({
62
- service: Service73,
61
+ var configured10 = (options = {}) => makeGlobalNode({
62
+ service: Service66,
63
63
  layer: layer(options),
64
- deps: [node85, node78]
64
+ deps: [node85, node70]
65
65
  });
66
- var layer = (options) => Layer.effect(Service73, Effect.gen(function* () {
66
+ var layer = (options) => Layer.effect(Service66, Effect.gen(function* () {
67
67
  const db = (yield* Service80).db;
68
68
  const registry = yield* RegistryService2;
69
69
  const lifetime = yield* Scope.Scope;
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service73, Effect.gen(function* () {
80
80
  return row;
81
81
  });
82
82
  const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
83
- const info = (row, binding) => new Info30({
83
+ const info = (row, binding) => new Info24({
84
84
  id: row.id,
85
85
  provider: row.provider,
86
86
  binding,
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service73, Effect.gen(function* () {
154
154
  yield* Scope.close(connection.scope, Exit.void);
155
155
  }).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
156
156
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
157
- return Service73.of({
157
+ return Service66.of({
158
158
  create: Effect.fn("Workspace.create")(function* (input) {
159
- const workspaceID = input.id ?? ID16.create();
159
+ const workspaceID = input.id ?? ID10.create();
160
160
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
161
161
  if (existing) {
162
162
  if (existing.provider === input.provider)
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service73, Effect.gen(function* () {
221
221
  })
222
222
  });
223
223
  }));
224
- var node77 = configured11();
224
+ var node69 = configured10();
225
225
 
226
- export { ID16, Info30, NotFound3, CreateConflict2, Service73, configured11, node77, exports_workspace };
226
+ export { ID10, Info24, NotFound3, CreateConflict2, Service66, configured10, node69, exports_workspace };
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2
4
- } from "./model-resolver-2d6j2h4j.js";
4
+ } from "./shell-7ny3kv6n.js";
5
5
  import {
6
6
  latest2,
7
- Service43
8
- } from "./model-resolver-6bxcf4ek.js";
7
+ Service61
8
+ } from "./shell-ycbn6r48.js";
9
9
  import {
10
10
  observe2
11
- } from "./model-resolver-qsdy395h.js";
11
+ } from "./shell-qsdy395h.js";
12
12
  import {
13
13
  __export
14
- } from "./model-resolver-9rqn6x4v.js";
14
+ } from "./shell-9rqn6x4v.js";
15
15
 
16
16
  // src/config/plugin/provider.ts
17
17
  var exports_provider = {};
18
18
  __export(exports_provider, {
19
19
  ConfigProviderPlugin: () => exports_provider,
20
- Plugin: () => Plugin36
20
+ Plugin: () => Plugin5
21
21
  });
22
22
  import { define } from "@opencode/plugin/effect/plugin";
23
23
  import { Money } from "@opencode/schema/money";
24
24
  import { Effect } from "effect";
25
- var Plugin36 = define({
25
+ var Plugin5 = define({
26
26
  id: "opencode.config.provider",
27
27
  effect: Effect.fn(function* (ctx) {
28
- const config = yield* Service43;
28
+ const config = yield* Service61;
29
29
  const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.catalog.reload())));
30
30
  yield* ctx.integration.transform((integrations) => {
31
31
  for (const [id, provider] of configuredProviders(loaded.entries)) {
@@ -159,4 +159,4 @@ function configuredProviders(entries) {
159
159
  return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
160
160
  }
161
161
 
162
- export { Plugin36, exports_provider };
162
+ export { Plugin5, exports_provider };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  BlockedError2
3
- } from "./model-resolver-mr1m7qeg.js";
3
+ } from "./shell-3anxtp47.js";
4
4
  import {
5
5
  __export
6
- } from "./model-resolver-9rqn6x4v.js";
6
+ } from "./shell-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/plan.ts
9
9
  var exports_plan = {};
10
10
  __export(exports_plan, {
11
11
  PlanPlugin: () => exports_plan,
12
- Plugin: () => Plugin13
12
+ Plugin: () => Plugin41
13
13
  });
14
14
  import { Message, ToolFailure } from "@opencode/ai";
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
29
29
  var leave = `<system-reminder>
30
30
  You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
31
31
  </system-reminder>`;
32
- var Plugin13 = define({
32
+ var Plugin41 = define({
33
33
  id: "opencode.plan",
34
34
  effect: Effect.fn(function* (ctx) {
35
35
  const global = yield* Global.Service;
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
106
106
  }, undefined);
107
107
  }
108
108
 
109
- export { Plugin13, exports_plan };
109
+ export { Plugin41, exports_plan };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Key3,
2
+ Key4,
3
3
  removed2,
4
4
  empty3,
5
- make19,
5
+ make21,
6
6
  diffByKey2
7
- } from "./model-resolver-t550f9t1.js";
7
+ } from "./shell-eaj1djv9.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./model-resolver-mr1m7qeg.js";
10
+ } from "./shell-3anxtp47.js";
11
11
  import {
12
- Service33,
13
- node37
14
- } from "./model-resolver-5qwnehpy.js";
12
+ Service30,
13
+ node34
14
+ } from "./shell-mvvn0xpn.js";
15
15
  import {
16
16
  namespace2,
17
- name13
18
- } from "./model-resolver-mg5d68k4.js";
17
+ name14
18
+ } from "./shell-mme1bqhm.js";
19
19
  import {
20
20
  __export
21
- } from "./model-resolver-9rqn6x4v.js";
21
+ } from "./shell-9rqn6x4v.js";
22
22
 
23
23
  // src/mcp/instructions.ts
24
- var exports_instructions4 = {};
25
- __export(exports_instructions4, {
26
- McpInstructions: () => exports_instructions4,
27
- Service: () => Service29,
28
- layer: () => layer11,
29
- node: () => node33
24
+ var exports_instructions2 = {};
25
+ __export(exports_instructions2, {
26
+ McpInstructions: () => exports_instructions2,
27
+ Service: () => Service21,
28
+ layer: () => layer10,
29
+ node: () => node25
30
30
  });
31
31
  import { makeLocationNode } from "@opencode/util/effect/app-node";
32
32
  import { Context, Effect, Layer, Schema } from "effect";
@@ -62,17 +62,17 @@ var update = (previous, current) => {
62
62
  `);
63
63
  };
64
64
 
65
- class Service29 extends Context.Service()("@opencode/McpInstructions") {
65
+ class Service21 extends Context.Service()("@opencode/McpInstructions") {
66
66
  }
67
- var layer11 = Layer.effect(Service29, Effect.gen(function* () {
68
- const mcp = yield* Service33;
69
- return Service29.of({
67
+ var layer10 = Layer.effect(Service21, Effect.gen(function* () {
68
+ const mcp = yield* Service30;
69
+ return Service21.of({
70
70
  load: Effect.fn("McpInstructions.load")(function* (selection) {
71
71
  const agent = selection.info;
72
72
  if (!agent)
73
73
  return empty3;
74
- const source = (value) => make19({
75
- key: Key3.make("core/mcp-guidance"),
74
+ const source = (value) => make21({
75
+ key: Key4.make("core/mcp-guidance"),
76
76
  codec: Schema.toCodecJson(Schema.Array(Summary)),
77
77
  read: Effect.succeed(value),
78
78
  render: {
@@ -90,7 +90,7 @@ var layer11 = Layer.effect(Service29, Effect.gen(function* () {
90
90
  const codemode = owned[0]?.codemode !== false;
91
91
  if (codemode && !canExecute)
92
92
  return [];
93
- if (!owned.some((tool) => evaluate2(name13(tool.server, tool.name), "*", agent.permissions).effect !== "deny"))
93
+ if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", agent.permissions).effect !== "deny"))
94
94
  return [];
95
95
  return [
96
96
  codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
@@ -100,6 +100,6 @@ var layer11 = Layer.effect(Service29, Effect.gen(function* () {
100
100
  })
101
101
  });
102
102
  }));
103
- var node33 = makeLocationNode({ service: Service29, layer: layer11, deps: [node37] });
103
+ var node25 = makeLocationNode({ service: Service21, layer: layer10, deps: [node34] });
104
104
 
105
- export { Service29, layer11, node33, exports_instructions4 };
105
+ export { Service21, layer10, node25, exports_instructions2 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  useragent2
3
- } from "./model-resolver-dhjen1r5.js";
3
+ } from "./shell-pe83jqzf.js";
4
4
  import {
5
- ID15
6
- } from "./model-resolver-2d6j2h4j.js";
5
+ ID9
6
+ } from "./shell-7ny3kv6n.js";
7
7
  import {
8
8
  iife2
9
- } from "./model-resolver-1kg9ymc8.js";
9
+ } from "./shell-1kg9ymc8.js";
10
10
  import {
11
11
  configuredSettings2
12
- } from "./model-resolver-qqdydr84.js";
12
+ } from "./shell-ppkgn7jr.js";
13
13
 
14
14
  // src/plugin/provider/cloudflare-ai-gateway.ts
15
15
  import os from "os";
16
16
  import { Effect, Option, Schema } from "effect";
17
17
  import { define } from "@opencode/plugin/effect/plugin";
18
18
  import { Form } from "@opencode/schema/form";
19
- var providerID = ID15.make("cloudflare-ai-gateway");
19
+ var providerID = ID9.make("cloudflare-ai-gateway");
20
20
  var CloudflareAIGatewayPlugin2 = define({
21
21
  id: "opencode.provider.cloudflare.ai.gateway",
22
22
  effect: Effect.fn(function* (ctx) {
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./model-resolver-922hggd3.js";
3
+ } from "./shell-922hggd3.js";
4
4
  import {
5
- Info18
6
- } from "./model-resolver-f3ngv102.js";
5
+ Info21
6
+ } from "./shell-3t8eac1t.js";
7
7
  import {
8
8
  __export
9
- } from "./model-resolver-9rqn6x4v.js";
9
+ } from "./shell-9rqn6x4v.js";
10
10
 
11
11
  // src/v1/config/agent.ts
12
12
  var exports_agent3 = {};
13
13
  __export(exports_agent3, {
14
14
  ConfigAgentV1: () => exports_agent3,
15
- Info: () => Info14
15
+ Info: () => Info20
16
16
  });
17
17
  import { Schema, SchemaGetter } from "effect";
18
18
  var Color = Schema.Union([
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
44
44
  description: "Maximum number of agentic iterations before forcing text-only response"
45
45
  }),
46
46
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
47
- permission: Schema.optional(Info18)
47
+ permission: Schema.optional(Info21)
48
48
  }), [Schema.Record(Schema.String, Schema.Any)]);
49
49
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
50
50
  var normalize = (agent) => {
@@ -66,9 +66,9 @@ var normalize = (agent) => {
66
66
  const steps = agent.steps ?? agent.maxSteps;
67
67
  return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
68
68
  };
69
- var Info14 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
69
+ var Info20 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
70
70
  decode: SchemaGetter.transform(normalize),
71
71
  encode: SchemaGetter.passthrough({ strict: false })
72
72
  })).annotate({ identifier: "AgentConfig" });
73
73
 
74
- export { Info14, exports_agent3 };
74
+ export { Info20, exports_agent3 };
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service43
3
- } from "./model-resolver-6bxcf4ek.js";
2
+ Service61
3
+ } from "./shell-ycbn6r48.js";
4
4
  import {
5
5
  match2
6
- } from "./model-resolver-y1fvbwt7.js";
6
+ } from "./shell-y1fvbwt7.js";
7
7
  import {
8
8
  observe2
9
- } from "./model-resolver-qsdy395h.js";
9
+ } from "./shell-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./model-resolver-9rqn6x4v.js";
12
+ } from "./shell-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/policy.ts
15
15
  var exports_policy = {};
16
16
  __export(exports_policy, {
17
17
  ConfigPolicyPlugin: () => exports_policy,
18
- Plugin: () => Plugin43
18
+ Plugin: () => Plugin2
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin43 = define({
22
+ var Plugin2 = define({
23
23
  id: "opencode.config.policy",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service43;
25
+ const config = yield* Service61;
26
26
  const loaded = yield* observe2(config, ctx.event, ctx.catalog.reload());
27
27
  yield* ctx.catalog.transform((catalog) => {
28
28
  const policies = loaded.entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.experimental?.policies ?? []);
@@ -35,4 +35,4 @@ var Plugin43 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin43, exports_policy };
38
+ export { Plugin2, exports_policy };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  Service79
3
- } from "./model-resolver-a1bjq33w.js";
3
+ } from "./shell-nsnmc6vq.js";
4
4
  import {
5
5
  OAuth3,
6
- Event19
7
- } from "./model-resolver-bb6zzzcx.js";
6
+ Event15
7
+ } from "./shell-36cew03x.js";
8
8
  import {
9
- ID11,
9
+ ID5,
10
10
  MethodID2
11
- } from "./model-resolver-xyxvhn55.js";
11
+ } from "./shell-vjvqmxr3.js";
12
12
  import {
13
- ID15,
13
+ ID9,
14
14
  mergeOverlay2,
15
15
  mergeHeaders2
16
- } from "./model-resolver-2d6j2h4j.js";
16
+ } from "./shell-7ny3kv6n.js";
17
17
  import {
18
- ID5,
18
+ ID7,
19
19
  Input14,
20
20
  Response2
21
- } from "./model-resolver-009h91p9.js";
21
+ } from "./shell-dhtqz3j8.js";
22
22
 
23
23
  // src/plugin/provider/opencode.ts
24
24
  import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
32
32
  var RemoteResponse = Schema.Struct({
33
33
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
34
34
  websearch: Schema.Struct({
35
- providerID: ID5
35
+ providerID: ID7
36
36
  }).pipe(Schema.optional)
37
37
  });
38
38
  var Device = Schema.Struct({
@@ -54,7 +54,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
54
54
  var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
55
55
  function oauth(http) {
56
56
  return {
57
- integrationID: ID11.make("opencode"),
57
+ integrationID: ID5.make("opencode"),
58
58
  method: {
59
59
  id: methodID,
60
60
  type: "oauth",
@@ -125,7 +125,7 @@ var OpencodePlugin2 = define({
125
125
  catalog.provider.update(providerID, (provider) => {
126
126
  if (source && source.provider !== provider)
127
127
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
128
- provider.integrationID = ID11.make("opencode");
128
+ provider.integrationID = ID5.make("opencode");
129
129
  if (item.canonical !== undefined)
130
130
  provider.canonical = item.canonical;
131
131
  if (item.name !== undefined)
@@ -188,7 +188,7 @@ var OpencodePlugin2 = define({
188
188
  });
189
189
  }
190
190
  }
191
- const item = catalog.provider.get(ID15.opencode);
191
+ const item = catalog.provider.get(ID9.opencode);
192
192
  if (!item)
193
193
  return;
194
194
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -249,7 +249,7 @@ var OpencodePlugin2 = define({
249
249
  yield* Effect.all([ctx.catalog.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
250
250
  });
251
251
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
252
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID11.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
252
+ yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID5.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
253
253
  yield* Effect.sleep(Duration.minutes(10)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
254
254
  })
255
255
  });
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  create3
3
- } from "./model-resolver-kg06axw8.js";
3
+ } from "./shell-kg06axw8.js";
4
4
  import {
5
5
  __export
6
- } from "./model-resolver-9rqn6x4v.js";
6
+ } from "./shell-9rqn6x4v.js";
7
7
 
8
8
  // src/filesystem/location-watcher-policy.ts
9
9
  var exports_location_watcher_policy = {};
10
10
  __export(exports_location_watcher_policy, {
11
11
  LocationWatcherPolicy: () => exports_location_watcher_policy,
12
- Service: () => Service9,
13
- node: () => node12
12
+ Service: () => Service12,
13
+ node: () => node15
14
14
  });
15
15
  import { makeLocationNode } from "@opencode/util/effect/app-node";
16
16
  import { Context, Effect, Layer, Scope } from "effect";
17
- class Service9 extends Context.Service()("@opencode/LocationWatcherPolicy") {
17
+ class Service12 extends Context.Service()("@opencode/LocationWatcherPolicy") {
18
18
  }
19
- var layer = Layer.effect(Service9, Effect.gen(function* () {
19
+ var layer = Layer.effect(Service12, Effect.gen(function* () {
20
20
  const listeners = new Set;
21
21
  const state = create3({
22
22
  name: "location-watcher-policy",
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service9, Effect.gen(function* () {
41
41
  yield* Scope.addFinalizer(scope, dispose);
42
42
  return { dispose };
43
43
  });
44
- return Service9.of({
44
+ return Service12.of({
45
45
  transform: state.transform,
46
46
  reload: state.reload,
47
47
  current,
48
48
  observe
49
49
  });
50
50
  }));
51
- var node12 = makeLocationNode({ service: Service9, layer, deps: [] });
51
+ var node15 = makeLocationNode({ service: Service12, layer, deps: [] });
52
52
 
53
- export { Service9, node12, exports_location_watcher_policy };
53
+ export { Service12, node15, exports_location_watcher_policy };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  SQLiteEffectCountBuilder2
3
- } from "./model-resolver-f0mxakyp.js";
3
+ } from "./shell-f0mxakyp.js";
4
4
  import {
5
5
  SQLiteEffectDeleteBase2
6
- } from "./model-resolver-w3wsvvr9.js";
6
+ } from "./shell-w3wsvvr9.js";
7
7
  import {
8
8
  SQLiteEffectInsertBuilder2
9
- } from "./model-resolver-7bmhse3q.js";
9
+ } from "./shell-7bmhse3q.js";
10
10
  import {
11
11
  SQLiteEffectRelationalQueryBuilder2
12
- } from "./model-resolver-cf4snx6d.js";
12
+ } from "./shell-cf4snx6d.js";
13
13
  import {
14
14
  SQLiteEffectRaw2
15
- } from "./model-resolver-822emrt2.js";
15
+ } from "./shell-822emrt2.js";
16
16
  import {
17
17
  SQLiteEffectSelectBuilder2
18
- } from "./model-resolver-wd87259q.js";
18
+ } from "./shell-wd87259q.js";
19
19
  import {
20
20
  SQLiteEffectUpdateBuilder2
21
- } from "./model-resolver-m9w0rfyh.js";
21
+ } from "./shell-m9w0rfyh.js";
22
22
 
23
23
  // src/database/drizzle/sqlite-core/effect/db.ts
24
24
  import { Effect } from "effect";
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./model-resolver-ec1grn59.js";
3
+ } from "./shell-ec1grn59.js";
4
4
  import {
5
5
  toSessionError2
6
- } from "./model-resolver-fnhymeek.js";
6
+ } from "./shell-e119c6wb.js";
7
7
  import {
8
8
  __export
9
- } from "./model-resolver-9rqn6x4v.js";
9
+ } from "./shell-9rqn6x4v.js";
10
10
 
11
11
  // src/session/runner/retry.ts
12
12
  var exports_retry = {};
13
13
  __export(exports_retry, {
14
14
  SessionRunnerRetry: () => exports_retry,
15
15
  isRetryable: () => isRetryable2,
16
- make: () => make9,
16
+ make: () => make5,
17
17
  policy: () => policy2,
18
18
  transient: () => transient2
19
19
  });
@@ -96,7 +96,7 @@ var transient2 = (decide, input) => (effect) => Effect.retry(effect, {
96
96
  return true;
97
97
  })
98
98
  });
99
- var make9 = (bus, sessionID) => Effect.gen(function* () {
99
+ var make5 = (bus, sessionID) => Effect.gen(function* () {
100
100
  const decide = yield* policy2(sessionID);
101
101
  const wait = (input) => Effect.gen(function* () {
102
102
  const scheduled = yield* Clock.currentTimeMillis;
@@ -113,4 +113,4 @@ var make9 = (bus, sessionID) => Effect.gen(function* () {
113
113
  return { decide, wait };
114
114
  });
115
115
 
116
- export { isRetryable2, policy2, transient2, make9, exports_retry };
116
+ export { isRetryable2, policy2, transient2, make5, exports_retry };