@opencode/core 0.0.0-dev-19487 → 0.0.0-dev-19488

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 (781) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +78 -78
  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 +74 -74
  7. package/dist/catalog.js +82 -82
  8. package/dist/chunks/{job-016mssr3.js → model-resolver-021ffpa0.js} +15 -15
  9. package/dist/chunks/{job-gbt6w4kb.js → model-resolver-02nrjc1r.js} +4 -4
  10. package/dist/chunks/{job-0334ef0p.js → model-resolver-0334ef0p.js} +1 -1
  11. package/dist/chunks/{job-pckpcj9e.js → model-resolver-03s1nxke.js} +11 -11
  12. package/dist/chunks/{job-pfpaa7gq.js → model-resolver-079cv0ze.js} +24 -24
  13. package/dist/chunks/{job-s05sf1tc.js → model-resolver-07cx4w7f.js} +6 -6
  14. package/dist/chunks/{job-h0hvpq87.js → model-resolver-0g6mfyfr.js} +53 -53
  15. package/dist/chunks/{job-yksgcse8.js → model-resolver-0hf448nj.js} +8 -8
  16. package/dist/chunks/{job-mze1hm6s.js → model-resolver-0jwvfzzp.js} +20 -20
  17. package/dist/chunks/{job-bzr0sxqf.js → model-resolver-0k7hqrra.js} +24 -24
  18. package/dist/chunks/{job-7apzd9ry.js → model-resolver-0mywzg06.js} +28 -28
  19. package/dist/chunks/{job-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
  20. package/dist/chunks/{job-fs2ha3h3.js → model-resolver-0pm1m3w8.js} +13 -13
  21. package/dist/chunks/{job-0q0f95c6.js → model-resolver-0q0f95c6.js} +1 -1
  22. package/dist/chunks/{job-d4d7sqaq.js → model-resolver-0sp60s5d.js} +18 -18
  23. package/dist/chunks/{job-e3jaaymy.js → model-resolver-0vvagabw.js} +18 -18
  24. package/dist/chunks/{job-b6grb5b4.js → model-resolver-0wbgnjtz.js} +5 -5
  25. package/dist/chunks/{job-ct5xa07p.js → model-resolver-0wmmprtc.js} +32 -32
  26. package/dist/chunks/{job-2vnwx32a.js → model-resolver-121k57vw.js} +8 -8
  27. package/dist/chunks/{job-f2n192rq.js → model-resolver-1acjjqhc.js} +4 -4
  28. package/dist/chunks/{job-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
  29. package/dist/chunks/{job-9e5dy72e.js → model-resolver-1gqabzhy.js} +18 -18
  30. package/dist/chunks/{job-1hc11dc4.js → model-resolver-1hc11dc4.js} +1 -1
  31. package/dist/chunks/{job-1ptmpf20.js → model-resolver-1ptmpf20.js} +1 -1
  32. package/dist/chunks/{job-56gdpj1q.js → model-resolver-1ygqh575.js} +9 -9
  33. package/dist/chunks/{job-n063jy51.js → model-resolver-1zkr721w.js} +14 -14
  34. package/dist/chunks/{job-21r38tys.js → model-resolver-21r38tys.js} +1 -1
  35. package/dist/chunks/{job-bdqrk2vk.js → model-resolver-23sxaqwc.js} +6 -6
  36. package/dist/chunks/{job-2402vzrj.js → model-resolver-2402vzrj.js} +1 -1
  37. package/dist/chunks/{job-xg16tf7s.js → model-resolver-24e6cc3r.js} +7 -7
  38. package/dist/chunks/{job-b6wa0xdw.js → model-resolver-26jcn8kh.js} +12 -12
  39. package/dist/chunks/{job-zc3syjba.js → model-resolver-27596drg.js} +26 -26
  40. package/dist/chunks/{job-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
  41. package/dist/chunks/{job-eppb4xhf.js → model-resolver-2cshb6bs.js} +22 -22
  42. package/dist/chunks/{job-2k8khapm.js → model-resolver-2k8khapm.js} +1 -1
  43. package/dist/chunks/{job-y86jz6cx.js → model-resolver-2verbhpp.js} +40 -40
  44. package/dist/chunks/{job-evbgk2k8.js → model-resolver-37s12vcn.js} +5 -5
  45. package/dist/chunks/{job-j0az6fzh.js → model-resolver-3gjfrb28.js} +25 -25
  46. package/dist/chunks/{job-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
  47. package/dist/chunks/{job-jpydvnf6.js → model-resolver-3hgg98pr.js} +27 -27
  48. package/dist/chunks/{job-6vn5aqap.js → model-resolver-3kafhsr8.js} +13 -13
  49. package/dist/chunks/{job-cd2pp6xd.js → model-resolver-3nxeqbj3.js} +15 -15
  50. package/dist/chunks/{job-3q1jyqhd.js → model-resolver-3q1jyqhd.js} +1 -1
  51. package/dist/chunks/{job-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
  52. package/dist/chunks/{job-v9hk8qjj.js → model-resolver-3tq8bdpm.js} +13 -13
  53. package/dist/chunks/{job-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
  54. package/dist/chunks/{job-gytvbqcp.js → model-resolver-4bfepadc.js} +2 -2
  55. package/dist/chunks/{job-4grgn5v0.js → model-resolver-4grgn5v0.js} +3 -3
  56. package/dist/chunks/{job-960nq3qx.js → model-resolver-4kmhmgeg.js} +149 -149
  57. package/dist/chunks/{job-0ajdgxne.js → model-resolver-4y66k410.js} +5 -5
  58. package/dist/chunks/{job-nva8wjnn.js → model-resolver-532bqssk.js} +18 -18
  59. package/dist/chunks/{job-fak5es0b.js → model-resolver-581kfnqp.js} +18 -18
  60. package/dist/chunks/{job-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
  61. package/dist/chunks/{job-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
  62. package/dist/chunks/{job-hdns3422.js → model-resolver-5v1cn1j1.js} +18 -18
  63. package/dist/chunks/{job-n2q21gfy.js → model-resolver-5v85fpgj.js} +25 -25
  64. package/dist/chunks/{job-975m2nqr.js → model-resolver-64at0fy0.js} +8 -8
  65. package/dist/chunks/{job-669tq793.js → model-resolver-669tq793.js} +1 -1
  66. package/dist/chunks/{job-hvskjtw3.js → model-resolver-6fvs6bkh.js} +43 -43
  67. package/dist/chunks/{job-7042fqc6.js → model-resolver-6hzp91we.js} +5 -5
  68. package/dist/chunks/{job-ks0rcgdg.js → model-resolver-6jcw83n3.js} +47 -47
  69. package/dist/chunks/{job-eraanh1f.js → model-resolver-6kyz0a76.js} +8 -8
  70. package/dist/chunks/{job-6msgmcgs.js → model-resolver-6msgmcgs.js} +1 -1
  71. package/dist/chunks/{job-q9f0v3wn.js → model-resolver-6wxzvafn.js} +11 -11
  72. package/dist/chunks/{job-pgp2hfz4.js → model-resolver-6xt4p4wv.js} +9 -9
  73. package/dist/chunks/{job-pchzg8ns.js → model-resolver-70xr52zc.js} +26 -26
  74. package/dist/chunks/{job-71q4at8m.js → model-resolver-71q4at8m.js} +1 -1
  75. package/dist/chunks/{job-35rskkd2.js → model-resolver-74w3tna1.js} +17 -17
  76. package/dist/chunks/{job-9fysaab4.js → model-resolver-75evgfh8.js} +13 -13
  77. package/dist/chunks/{job-5vktnwp6.js → model-resolver-774n8a20.js} +9 -9
  78. package/dist/chunks/{job-p00s7hra.js → model-resolver-789bpvq4.js} +8 -8
  79. package/dist/chunks/{job-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
  80. package/dist/chunks/{job-bz2rv8bn.js → model-resolver-7cwz0yjz.js} +15 -15
  81. package/dist/chunks/{job-92e5p8bq.js → model-resolver-7fys8geh.js} +9 -9
  82. package/dist/chunks/{job-d8nc1xcx.js → model-resolver-7z7az0f5.js} +4 -4
  83. package/dist/chunks/{job-akrnn5pm.js → model-resolver-818pfwc9.js} +8 -8
  84. package/dist/chunks/{job-czd1pfv4.js → model-resolver-87mnny1s.js} +14 -14
  85. package/dist/chunks/{job-ayrtc4c9.js → model-resolver-87qnmf38.js} +21 -21
  86. package/dist/chunks/{job-q3abdj65.js → model-resolver-8abbabsk.js} +18 -18
  87. package/dist/chunks/{job-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
  88. package/dist/chunks/{job-a2x7snvw.js → model-resolver-8p2zvf0d.js} +28 -28
  89. package/dist/chunks/{job-8p4f9s12.js → model-resolver-8p4f9s12.js} +2 -2
  90. package/dist/chunks/{job-s9qt3hf0.js → model-resolver-8p8b376s.js} +25 -25
  91. package/dist/chunks/{job-xyjz5whv.js → model-resolver-8y92rm17.js} +6 -6
  92. package/dist/chunks/{job-ks0ppd3e.js → model-resolver-8yrnm0fa.js} +18 -18
  93. package/dist/chunks/{job-27cdan57.js → model-resolver-942176fc.js} +11 -11
  94. package/dist/chunks/{job-98a0b00a.js → model-resolver-98a0b00a.js} +4 -4
  95. package/dist/chunks/{job-98kgw1j6.js → model-resolver-98kgw1j6.js} +1 -1
  96. package/dist/chunks/{job-9rzqjwaz.js → model-resolver-9rzqjwaz.js} +1 -1
  97. package/dist/chunks/{job-nfj88d5v.js → model-resolver-9stj6zpb.js} +29 -29
  98. package/dist/chunks/{job-bq30ykdz.js → model-resolver-9y7khav7.js} +13 -13
  99. package/dist/chunks/{job-a1bz86dw.js → model-resolver-a1bz86dw.js} +3 -3
  100. package/dist/chunks/{job-cbpfqknj.js → model-resolver-a2cfvfg1.js} +14 -14
  101. package/dist/chunks/{job-28018db5.js → model-resolver-a4vx34cq.js} +14 -14
  102. package/dist/chunks/{job-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
  103. package/dist/chunks/{job-ts63n6kh.js → model-resolver-aczsg4vg.js} +28 -28
  104. package/dist/chunks/{job-g1rawmwq.js → model-resolver-am89cgs6.js} +13 -13
  105. package/dist/chunks/{job-n2jnf84z.js → model-resolver-atny4vj3.js} +11 -11
  106. package/dist/chunks/{job-mqy8ygtd.js → model-resolver-aztjpt51.js} +15 -15
  107. package/dist/chunks/{job-j7ptesvn.js → model-resolver-b22gj5xn.js} +30 -30
  108. package/dist/chunks/{job-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
  109. package/dist/chunks/{job-qe294mrs.js → model-resolver-b77arecc.js} +24 -24
  110. package/dist/chunks/{job-fdftw564.js → model-resolver-bcbgj7m0.js} +16 -16
  111. package/dist/chunks/{job-w39664cx.js → model-resolver-bq4vzaks.js} +40 -40
  112. package/dist/chunks/{job-cbg8bv93.js → model-resolver-cbg8bv93.js} +2 -2
  113. package/dist/chunks/{job-cfpkc3c9.js → model-resolver-cfpkc3c9.js} +2 -2
  114. package/dist/chunks/{job-cgy8tn69.js → model-resolver-ck6gmqc6.js} +41 -41
  115. package/dist/chunks/{job-j7fvxq13.js → model-resolver-csz41kxq.js} +5 -5
  116. package/dist/chunks/{job-dvam00rs.js → model-resolver-csz4k5km.js} +18 -18
  117. package/dist/chunks/{job-af04s6ss.js → model-resolver-d2aac7k2.js} +5 -5
  118. package/dist/chunks/{job-n32rgk8k.js → model-resolver-d2fv866c.js} +13 -13
  119. package/dist/chunks/{job-p5cpys3w.js → model-resolver-d880b0y6.js} +26 -26
  120. package/dist/chunks/{job-rq6e4y8a.js → model-resolver-djmbsxn3.js} +9 -9
  121. package/dist/chunks/{job-s10w6b6d.js → model-resolver-djqd3v5p.js} +29 -29
  122. package/dist/chunks/{job-vvjnvqyt.js → model-resolver-dkck3j8g.js} +8 -8
  123. package/dist/chunks/{job-rsyc5np9.js → model-resolver-dktryzc1.js} +21 -21
  124. package/dist/chunks/{job-y71avatq.js → model-resolver-dpkg50ah.js} +4 -4
  125. package/dist/chunks/{job-dqyg47hv.js → model-resolver-dqyg47hv.js} +1 -1
  126. package/dist/chunks/{job-zt5dmdf8.js → model-resolver-drknmmyh.js} +9 -9
  127. package/dist/chunks/{job-p42hj8p8.js → model-resolver-dv1qgsyq.js} +8 -8
  128. package/dist/chunks/{job-prny519s.js → model-resolver-e6fygs6z.js} +25 -25
  129. package/dist/chunks/{job-nhy5jxhy.js → model-resolver-e82z9tr0.js} +7 -7
  130. package/dist/chunks/{job-t5bnx55r.js → model-resolver-e86807kd.js} +88 -88
  131. package/dist/chunks/{job-rv0xef65.js → model-resolver-epzffrx8.js} +23 -23
  132. package/dist/chunks/{job-w1h7xv3a.js → model-resolver-erhkyex8.js} +4 -4
  133. package/dist/chunks/{job-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
  134. package/dist/chunks/{job-j7vx2ayd.js → model-resolver-ewbqqj16.js} +13 -13
  135. package/dist/chunks/{job-f828m53h.js → model-resolver-f828m53h.js} +2 -2
  136. package/dist/chunks/{job-gwae7e2k.js → model-resolver-f8xc4yre.js} +25 -25
  137. package/dist/chunks/{job-csdbkttg.js → model-resolver-f8zs2stk.js} +9 -9
  138. package/dist/chunks/model-resolver-fbf46f8y.js +462 -0
  139. package/dist/chunks/{job-czr633w7.js → model-resolver-fdc0z0c3.js} +2 -2
  140. package/dist/chunks/{job-y2pvr2pg.js → model-resolver-fvf9sjjr.js} +43 -43
  141. package/dist/chunks/{job-fxbjtjnd.js → model-resolver-fxbjtjnd.js} +1 -1
  142. package/dist/chunks/{job-vyy6cxw9.js → model-resolver-fxqygnfa.js} +4 -4
  143. package/dist/chunks/{job-qj8eh1ht.js → model-resolver-g190xswt.js} +4 -4
  144. package/dist/chunks/{job-1c9z29md.js → model-resolver-g53r2hff.js} +36 -36
  145. package/dist/chunks/{job-g5rnekq0.js → model-resolver-g5rnekq0.js} +2 -2
  146. package/dist/chunks/{job-x8vsyjqh.js → model-resolver-g6fkknnq.js} +27 -27
  147. package/dist/chunks/{job-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
  148. package/dist/chunks/{job-3fc6dm20.js → model-resolver-gdvy8fx6.js} +4 -4
  149. package/dist/chunks/{job-pvhztgmx.js → model-resolver-ggj3dvvh.js} +9 -9
  150. package/dist/chunks/{job-rryrtn54.js → model-resolver-ghej9zy6.js} +17 -17
  151. package/dist/chunks/{job-dj7fnf18.js → model-resolver-gkv3re89.js} +8 -8
  152. package/dist/chunks/{job-th5km1p3.js → model-resolver-gv6a8nnw.js} +5 -5
  153. package/dist/chunks/{job-8w9gnpm0.js → model-resolver-gw82nkc3.js} +34 -34
  154. package/dist/chunks/{job-800537fc.js → model-resolver-gwfcx2m0.js} +13 -13
  155. package/dist/chunks/{job-xyrwsz6e.js → model-resolver-gwnxf6ch.js} +4 -4
  156. package/dist/chunks/{job-h03wrkyp.js → model-resolver-h03wrkyp.js} +2 -2
  157. package/dist/chunks/{job-c8bet9nv.js → model-resolver-h2fnsspk.js} +11 -11
  158. package/dist/chunks/{job-8p1w9ks5.js → model-resolver-h3k867zz.js} +5 -5
  159. package/dist/chunks/{job-7srnc09m.js → model-resolver-h4q9s1ny.js} +17 -17
  160. package/dist/chunks/{job-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
  161. package/dist/chunks/{job-m2d0j7c0.js → model-resolver-h7ygw6q4.js} +9 -9
  162. package/dist/chunks/model-resolver-hjw1g3kj.js +247 -0
  163. package/dist/chunks/{job-g3ehx1y8.js → model-resolver-htk69tte.js} +7 -7
  164. package/dist/chunks/{job-6emw3fyj.js → model-resolver-htx7jtvk.js} +22 -22
  165. package/dist/chunks/{job-hsmzemxh.js → model-resolver-hwap2x7x.js} +17 -17
  166. package/dist/chunks/{job-bpe29dc4.js → model-resolver-hwxt52gm.js} +8 -8
  167. package/dist/chunks/{job-08zzd022.js → model-resolver-hya8ywrc.js} +71 -71
  168. package/dist/chunks/{job-8aazadz7.js → model-resolver-j12k6d1r.js} +34 -34
  169. package/dist/chunks/model-resolver-j2k1bkn8.js +22 -0
  170. package/dist/chunks/{job-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
  171. package/dist/chunks/{job-377tdzm5.js → model-resolver-j7wq2tw5.js} +2 -2
  172. package/dist/chunks/{job-j2a1h892.js → model-resolver-jbe1bvhn.js} +26 -26
  173. package/dist/chunks/{job-h565xqw1.js → model-resolver-jwazx1ed.js} +30 -30
  174. package/dist/chunks/{job-14rg6w4j.js → model-resolver-k6556a45.js} +6 -6
  175. package/dist/chunks/{job-wh1vm43f.js → model-resolver-k6h76ggr.js} +21 -21
  176. package/dist/chunks/{job-94efgcc8.js → model-resolver-kbn8346a.js} +11 -11
  177. package/dist/chunks/{job-kg06axw8.js → model-resolver-kg06axw8.js} +1 -1
  178. package/dist/chunks/{job-7dbmnfn4.js → model-resolver-kk8h1mek.js} +8 -8
  179. package/dist/chunks/{job-c412qydp.js → model-resolver-kvffe9p6.js} +17 -17
  180. package/dist/chunks/{job-1azx31sp.js → model-resolver-kx6yd4vg.js} +33 -33
  181. package/dist/chunks/{job-r33ff4dw.js → model-resolver-kxpygcw9.js} +6 -6
  182. package/dist/chunks/{job-0hbv93n8.js → model-resolver-m4hypjkm.js} +11 -11
  183. package/dist/chunks/{job-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{job-c9vkqdxg.js → model-resolver-mb5a7wwz.js} +10 -10
  185. package/dist/chunks/{job-9mkexxhe.js → model-resolver-me88hgte.js} +21 -21
  186. package/dist/chunks/{job-cwscbyeb.js → model-resolver-mg5mchpt.js} +23 -23
  187. package/dist/chunks/{job-y4y3k3t7.js → model-resolver-mhdwrqr0.js} +3 -3
  188. package/dist/chunks/{job-j028xdjb.js → model-resolver-mhkvc446.js} +3 -3
  189. package/dist/chunks/{job-7c513k2d.js → model-resolver-mrsqtdpn.js} +34 -34
  190. package/dist/chunks/{job-ns20stt6.js → model-resolver-mwnd972w.js} +33 -33
  191. package/dist/chunks/{job-hf73vpjv.js → model-resolver-mz60zy6e.js} +18 -18
  192. package/dist/chunks/{job-x0rttjh5.js → model-resolver-mz65vdgf.js} +22 -22
  193. package/dist/chunks/{job-h71w788e.js → model-resolver-n37c4crj.js} +9 -9
  194. package/dist/chunks/{job-jz5ydzs3.js → model-resolver-nv6fkpt4.js} +17 -17
  195. package/dist/chunks/{job-gpf6czhb.js → model-resolver-p52p41ww.js} +11 -11
  196. package/dist/chunks/{job-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
  197. package/dist/chunks/{job-pknna89w.js → model-resolver-pknna89w.js} +1 -1
  198. package/dist/chunks/{job-smgfxgse.js → model-resolver-pm4pe4yk.js} +29 -29
  199. package/dist/chunks/{job-qe66dmzf.js → model-resolver-pqg5898n.js} +12 -12
  200. package/dist/chunks/{job-b9a7j5xm.js → model-resolver-prp52c5q.js} +11 -11
  201. package/dist/chunks/{job-31wx1hcs.js → model-resolver-psjem9sa.js} +9 -9
  202. package/dist/chunks/{job-jkms49ey.js → model-resolver-pvvs7m8f.js} +11 -11
  203. package/dist/chunks/{job-bpsxkzdm.js → model-resolver-q87s0xy8.js} +41 -41
  204. package/dist/chunks/{job-0hy8bs71.js → model-resolver-q91t8a1k.js} +14 -14
  205. package/dist/chunks/{job-e47h9b4b.js → model-resolver-qa6ytjmd.js} +13 -13
  206. package/dist/chunks/model-resolver-qapv375x.js +4 -0
  207. package/dist/chunks/{job-qdcfe15v.js → model-resolver-qdcfe15v.js} +1 -1
  208. package/dist/chunks/model-resolver-qdyb70sk.js +18 -0
  209. package/dist/chunks/{job-hcz3zddy.js → model-resolver-qn4ba14w.js} +5 -5
  210. package/dist/chunks/{job-qn8ypmg1.js → model-resolver-qn8ypmg1.js} +3 -3
  211. package/dist/chunks/{job-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
  212. package/dist/chunks/{job-jzy4mkh2.js → model-resolver-qwkytnft.js} +6 -6
  213. package/dist/chunks/{job-qyxt0tsw.js → model-resolver-qyxt0tsw.js} +2 -2
  214. package/dist/chunks/{job-2dt14bzc.js → model-resolver-r532bney.js} +4 -4
  215. package/dist/chunks/{job-8jw7hv5g.js → model-resolver-r9ghxtsk.js} +6 -6
  216. package/dist/chunks/{job-r9mregkx.js → model-resolver-r9mregkx.js} +2 -2
  217. package/dist/chunks/{job-mw934p8z.js → model-resolver-rav9e4bf.js} +8 -8
  218. package/dist/chunks/{job-gxh0jpkt.js → model-resolver-rctyp4y4.js} +23 -23
  219. package/dist/chunks/{job-ybd67v2t.js → model-resolver-rd8pgjwx.js} +23 -23
  220. package/dist/chunks/{job-8pnjmg4v.js → model-resolver-rj9a996t.js} +7 -7
  221. package/dist/chunks/{job-2kcnh9zr.js → model-resolver-rq6dswfj.js} +8 -8
  222. package/dist/chunks/{job-pjmw00w1.js → model-resolver-rsym84ch.js} +9 -9
  223. package/dist/chunks/{job-52nzjj7h.js → model-resolver-rtkh6q4b.js} +11 -11
  224. package/dist/chunks/{job-806j49yq.js → model-resolver-ryr25ayn.js} +4 -4
  225. package/dist/chunks/{job-yvn7dgj6.js → model-resolver-s1vvg2cq.js} +7 -7
  226. package/dist/chunks/{job-3yej498q.js → model-resolver-s2whfhf8.js} +27 -27
  227. package/dist/chunks/{job-zfznrpx1.js → model-resolver-s534qmrw.js} +4 -4
  228. package/dist/chunks/{job-tecjnr7a.js → model-resolver-s5wnyv46.js} +32 -32
  229. package/dist/chunks/{job-arhw5g4g.js → model-resolver-s72x8wcp.js} +21 -21
  230. package/dist/chunks/{job-eyg8j8pe.js → model-resolver-sdcezsxk.js} +19 -19
  231. package/dist/chunks/{job-3yw4yvqj.js → model-resolver-shqnjwtb.js} +21 -21
  232. package/dist/chunks/{job-he05hy2a.js → model-resolver-sph8ksss.js} +9 -9
  233. package/dist/chunks/{job-t82v98bg.js → model-resolver-spr8pf2r.js} +9 -9
  234. package/dist/chunks/{job-0mvdwv34.js → model-resolver-t6gatd88.js} +44 -44
  235. package/dist/chunks/{job-hn57h045.js → model-resolver-t7n9q6bq.js} +4 -4
  236. package/dist/chunks/{job-n8pffdcp.js → model-resolver-t82489yp.js} +33 -33
  237. package/dist/chunks/{job-38v7nz88.js → model-resolver-t9e5d74p.js} +9 -9
  238. package/dist/chunks/{job-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
  239. package/dist/chunks/{job-tcezcvh9.js → model-resolver-tcezcvh9.js} +1 -1
  240. package/dist/chunks/{job-tdstcens.js → model-resolver-tdstcens.js} +1 -1
  241. package/dist/chunks/{job-rnqexz4a.js → model-resolver-tp3xxvx5.js} +44 -44
  242. package/dist/chunks/{job-bj71w5n9.js → model-resolver-trk3y68z.js} +57 -57
  243. package/dist/chunks/{job-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
  244. package/dist/chunks/{job-94np39z2.js → model-resolver-twy35tz0.js} +9 -9
  245. package/dist/chunks/{job-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
  246. package/dist/chunks/{job-gmpe3tq0.js → model-resolver-vhj1rs6k.js} +24 -24
  247. package/dist/chunks/{job-vncycja5.js → model-resolver-vncycja5.js} +1 -1
  248. package/dist/chunks/{job-mhjy9geh.js → model-resolver-vnv2t9ht.js} +4 -4
  249. package/dist/chunks/{job-3c1tgrea.js → model-resolver-vvccsdf3.js} +6 -6
  250. package/dist/chunks/{job-t71v2ka4.js → model-resolver-vxp3kcg3.js} +5 -5
  251. package/dist/chunks/{job-g27009tp.js → model-resolver-vy514hgv.js} +7 -7
  252. package/dist/chunks/{job-vzcthcp8.js → model-resolver-vzcthcp8.js} +1 -1
  253. package/dist/chunks/{job-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{job-wd87259q.js → model-resolver-wd87259q.js} +1 -1
  255. package/dist/chunks/{job-7y8hdne7.js → model-resolver-wf4bebac.js} +16 -16
  256. package/dist/chunks/{job-5rwse2qc.js → model-resolver-wgf958fy.js} +16 -16
  257. package/dist/chunks/{job-fb38brhg.js → model-resolver-wj9n5p3k.js} +3 -3
  258. package/dist/chunks/{job-wrjeysgp.js → model-resolver-wrjeysgp.js} +2 -2
  259. package/dist/chunks/{job-d6zg86dd.js → model-resolver-wwmx33bt.js} +5 -5
  260. package/dist/chunks/{job-1vcb4nww.js → model-resolver-x1avke2d.js} +87 -87
  261. package/dist/chunks/{job-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
  262. package/dist/chunks/{job-x6geafsy.js → model-resolver-x6geafsy.js} +1 -1
  263. package/dist/chunks/{job-1e9w7pgh.js → model-resolver-x940zq77.js} +6 -6
  264. package/dist/chunks/{job-xdk7tsve.js → model-resolver-xdk7tsve.js} +1 -1
  265. package/dist/chunks/{job-d16qd7aj.js → model-resolver-xg9t41r3.js} +2 -2
  266. package/dist/chunks/{job-hbtzg4zn.js → model-resolver-xs8g0vg3.js} +4 -4
  267. package/dist/chunks/{job-pmdxe22d.js → model-resolver-xtzwr8pq.js} +9 -9
  268. package/dist/chunks/{job-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{job-whw47krc.js → model-resolver-y3fea29m.js} +14 -14
  270. package/dist/chunks/{job-wdxm8kpp.js → model-resolver-y94qkjj7.js} +8 -8
  271. package/dist/chunks/{job-mvfdckk2.js → model-resolver-ydgy0jv4.js} +4 -4
  272. package/dist/chunks/{job-2fha9ajs.js → model-resolver-yjv2keaj.js} +34 -34
  273. package/dist/chunks/{job-yrhqyw5v.js → model-resolver-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{job-yrznvahk.js → model-resolver-yrznvahk.js} +2 -2
  275. package/dist/chunks/{job-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{job-agx5abm4.js → model-resolver-z2b5d6zb.js} +6 -6
  277. package/dist/chunks/{job-9qmd3adp.js → model-resolver-z2kz5700.js} +17 -17
  278. package/dist/chunks/{job-b5bw01np.js → model-resolver-z2qr9twd.js} +1 -1
  279. package/dist/chunks/{job-z63w68vq.js → model-resolver-z63w68vq.js} +2 -2
  280. package/dist/chunks/{job-6sjc8c0h.js → model-resolver-z7dhx1kn.js} +22 -22
  281. package/dist/chunks/{job-pg9v6hcz.js → model-resolver-zceb237h.js} +13 -13
  282. package/dist/chunks/{job-zeh9ct20.js → model-resolver-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{job-742m8jm9.js → model-resolver-zf0svfz5.js} +18 -18
  284. package/dist/chunks/{job-hhfgyk26.js → model-resolver-zpkbxaqd.js} +4 -4
  285. package/dist/chunks/{job-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{job-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
  287. package/dist/codemode/catalog.js +3 -3
  288. package/dist/codemode/instructions.js +11 -11
  289. package/dist/codemode/tool.js +2 -2
  290. package/dist/command.js +82 -82
  291. package/dist/config/discovery.js +78 -78
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +19 -19
  294. package/dist/config/plugin/agent.js +118 -118
  295. package/dist/config/plugin/command.js +210 -210
  296. package/dist/config/plugin/compaction.js +156 -156
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +118 -118
  299. package/dist/config/plugin/image.js +116 -116
  300. package/dist/config/plugin/instruction.js +86 -86
  301. package/dist/config/plugin/location-watcher.js +116 -116
  302. package/dist/config/plugin/mcp.js +127 -127
  303. package/dist/config/plugin/policy.js +115 -115
  304. package/dist/config/plugin/provider.js +114 -114
  305. package/dist/config/plugin/reference.js +118 -118
  306. package/dist/config/plugin/shell.js +119 -119
  307. package/dist/config/plugin/skill-file.js +98 -98
  308. package/dist/config/plugin/skill.js +135 -135
  309. package/dist/config/plugin/snapshot.js +116 -116
  310. package/dist/config/plugin/source.js +118 -118
  311. package/dist/config/plugin/tool-output.js +118 -118
  312. package/dist/config/plugin/websearch.js +116 -116
  313. package/dist/config/plugin/worktree.js +119 -119
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +116 -116
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +82 -82
  319. package/dist/database/database.js +69 -69
  320. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +15 -15
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +16 -16
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration.gen.js +48 -48
  384. package/dist/database/migration.js +50 -50
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +78 -78
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +361 -361
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +3 -3
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +89 -89
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +91 -91
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +73 -73
  408. package/dist/file-access.js +100 -100
  409. package/dist/file-mutation.js +90 -90
  410. package/dist/file-retention.js +1 -1
  411. package/dist/file.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/ignore.js +1 -1
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +217 -217
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +100 -100
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +11 -11
  423. package/dist/filesystem.js +101 -101
  424. package/dist/form.js +81 -81
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +83 -83
  427. package/dist/generate.js +92 -92
  428. package/dist/git.js +5 -5
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +3 -3
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/id/id.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +352 -352
  453. package/dist/instruction-discovery.js +80 -80
  454. package/dist/instructions/builtins.js +83 -83
  455. package/dist/instructions/index.js +3 -3
  456. package/dist/integration/connection.js +1 -1
  457. package/dist/integration.js +83 -83
  458. package/dist/job.js +78 -78
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +72 -72
  461. package/dist/location-activity.js +134 -134
  462. package/dist/location-mutation.js +100 -100
  463. package/dist/location-service-map.js +84 -84
  464. package/dist/location-services.js +349 -349
  465. package/dist/location.js +81 -81
  466. package/dist/mcp/client.js +87 -87
  467. package/dist/mcp/index.js +106 -106
  468. package/dist/mcp/instructions.js +123 -123
  469. package/dist/mcp/oauth.js +3 -3
  470. package/dist/mcp/stdio.js +86 -86
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +3 -3
  473. package/dist/model-resolver.js +87 -87
  474. package/dist/model.js +2 -2
  475. package/dist/models-dev.js +87 -87
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +79 -79
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +103 -103
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +85 -85
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +74 -74
  485. package/dist/plugin/agent.js +100 -100
  486. package/dist/plugin/command.js +97 -97
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +214 -214
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +323 -323
  491. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  492. package/dist/plugin/models-dev.js +76 -76
  493. package/dist/plugin/module.js +7 -7
  494. package/dist/plugin/optimize.js +4 -4
  495. package/dist/plugin/plan.js +98 -98
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/alibaba.js +2 -2
  498. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  499. package/dist/plugin/provider/azure.js +119 -119
  500. package/dist/plugin/provider/cerebras.js +2 -2
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +115 -115
  505. package/dist/plugin/provider/digitalocean.js +80 -80
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/gateway.js +2 -2
  509. package/dist/plugin/provider/github-copilot.js +81 -81
  510. package/dist/plugin/provider/gitlab.js +3 -3
  511. package/dist/plugin/provider/google-vertex.js +2 -2
  512. package/dist/plugin/provider/kilo.js +2 -2
  513. package/dist/plugin/provider/llmgateway.js +77 -77
  514. package/dist/plugin/provider/lmstudio.js +116 -116
  515. package/dist/plugin/provider/modal.js +80 -80
  516. package/dist/plugin/provider/nvidia.js +2 -2
  517. package/dist/plugin/provider/ollama.js +118 -118
  518. package/dist/plugin/provider/openai-compatible.js +1 -1
  519. package/dist/plugin/provider/openai.js +81 -81
  520. package/dist/plugin/provider/opencode.js +80 -80
  521. package/dist/plugin/provider/openrouter.js +3 -3
  522. package/dist/plugin/provider/perplexity.js +2 -2
  523. package/dist/plugin/provider/poe.js +77 -77
  524. package/dist/plugin/provider/sap-ai-core.js +3 -3
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +118 -118
  527. package/dist/plugin/provider/venice.js +2 -2
  528. package/dist/plugin/provider/vercel.js +2 -2
  529. package/dist/plugin/provider/vllm.js +118 -118
  530. package/dist/plugin/provider/xai.js +78 -78
  531. package/dist/plugin/provider/zenmux.js +2 -2
  532. package/dist/plugin/provider.js +157 -157
  533. package/dist/plugin/sdk.js +75 -75
  534. package/dist/plugin/service.js +3 -3
  535. package/dist/plugin/skill.js +134 -134
  536. package/dist/plugin/source-directory.js +1 -1
  537. package/dist/plugin/supervisor.js +338 -338
  538. package/dist/plugin/update.js +6 -6
  539. package/dist/plugin/variant.js +4 -4
  540. package/dist/plugin/vcs/git.js +83 -83
  541. package/dist/plugin/vcs/hg.js +83 -83
  542. package/dist/plugin/warming.js +113 -113
  543. package/dist/plugin/websearch/exa.js +7 -7
  544. package/dist/plugin/websearch/firecrawl.js +8 -8
  545. package/dist/plugin/websearch/index.js +8 -8
  546. package/dist/plugin/websearch/mcp.js +6 -6
  547. package/dist/plugin/websearch/parallel.js +8 -8
  548. package/dist/plugin/websearch/tavily.js +6 -6
  549. package/dist/plugin.js +225 -225
  550. package/dist/project/schema.js +8 -8
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +82 -82
  553. package/dist/provider.js +1 -1
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/schema.js +3 -3
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +93 -93
  558. package/dist/reference/instructions.js +85 -85
  559. package/dist/reference.js +85 -85
  560. package/dist/repository-cache.js +77 -77
  561. package/dist/repository.js +1 -1
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +94 -94
  564. package/dist/rpc.js +82 -82
  565. package/dist/schema.js +1 -1
  566. package/dist/session/command.js +73 -73
  567. package/dist/session/compaction.js +128 -128
  568. package/dist/session/context.js +148 -148
  569. package/dist/session/environment.js +5 -5
  570. package/dist/session/error.js +5 -5
  571. package/dist/session/event.js +1 -1
  572. package/dist/session/execution/restart.js +220 -220
  573. package/dist/session/execution.js +125 -125
  574. package/dist/session/generate.js +149 -149
  575. package/dist/session/history.js +13 -13
  576. package/dist/session/inbox.js +85 -85
  577. package/dist/session/info.js +3 -3
  578. package/dist/session/instruction-entry.js +78 -78
  579. package/dist/session/instruction-state.js +8 -8
  580. package/dist/session/instructions.js +89 -89
  581. package/dist/session/message-updater.js +4 -4
  582. package/dist/session/message.js +1 -1
  583. package/dist/session/model-request.js +114 -114
  584. package/dist/session/model-transport.js +9 -9
  585. package/dist/session/move.js +127 -127
  586. package/dist/session/projector.js +85 -85
  587. package/dist/session/prompt.js +101 -101
  588. package/dist/session/provider-context.js +1 -1
  589. package/dist/session/revert.js +86 -86
  590. package/dist/session/run-coordinator.js +3 -3
  591. package/dist/session/runner/index.js +3 -3
  592. package/dist/session/runner/llm.js +226 -226
  593. package/dist/session/runner/max-steps.js +1 -1
  594. package/dist/session/runner/model.js +87 -87
  595. package/dist/session/runner/publish-llm-event.js +3 -3
  596. package/dist/session/runner/retry.js +111 -111
  597. package/dist/session/runner/step.js +122 -122
  598. package/dist/session/runner/to-llm-message.js +2 -2
  599. package/dist/session/schema.js +3 -3
  600. package/dist/session/session.js +168 -168
  601. package/dist/session/shell.js +132 -132
  602. package/dist/session/skill.js +99 -99
  603. package/dist/session/sql.js +5 -5
  604. package/dist/session/stats.js +74 -74
  605. package/dist/session/store.js +86 -86
  606. package/dist/session/subagent-completion.js +1 -1
  607. package/dist/session/subagent-job.js +204 -204
  608. package/dist/session/system-prompt.js +5 -5
  609. package/dist/session/title.js +152 -152
  610. package/dist/session/to-session-error.js +108 -108
  611. package/dist/session/transfer.js +215 -215
  612. package/dist/session/usage.js +1 -1
  613. package/dist/session.js +212 -212
  614. package/dist/shell/parse.js +6 -6
  615. package/dist/shell/result.js +1 -1
  616. package/dist/shell/scan.js +1 -1
  617. package/dist/shell/select.js +11 -11
  618. package/dist/shell.js +132 -132
  619. package/dist/skill/discovery.js +6 -6
  620. package/dist/skill/instructions.js +101 -101
  621. package/dist/skill.js +106 -106
  622. package/dist/snapshot.js +87 -87
  623. package/dist/state.js +1 -1
  624. package/dist/tool/html-markdown.js +1 -1
  625. package/dist/tool/http-body.js +1 -1
  626. package/dist/tool/mcp.js +120 -120
  627. package/dist/tool/plugin/edit.js +116 -116
  628. package/dist/tool/plugin/file-diff.js +1 -1
  629. package/dist/tool/plugin/glob.js +117 -117
  630. package/dist/tool/plugin/grep.js +121 -121
  631. package/dist/tool/plugin/opencode.js +3 -3
  632. package/dist/tool/plugin/patch.js +118 -118
  633. package/dist/tool/plugin/question.js +99 -99
  634. package/dist/tool/plugin/read.js +122 -122
  635. package/dist/tool/plugin/shell.js +213 -213
  636. package/dist/tool/plugin/skill.js +109 -109
  637. package/dist/tool/plugin/subagent.js +213 -213
  638. package/dist/tool/plugin/webfetch.js +108 -108
  639. package/dist/tool/plugin/websearch.js +110 -110
  640. package/dist/tool/plugin/write.js +116 -116
  641. package/dist/tool/read-filesystem.js +97 -97
  642. package/dist/tool/runtime.js +1 -1
  643. package/dist/tool-output.js +8 -8
  644. package/dist/tool.js +15 -15
  645. package/dist/util/error-summary.js +1 -1
  646. package/dist/util/error.js +1 -1
  647. package/dist/util/iife.js +1 -1
  648. package/dist/util/lazy.js +1 -1
  649. package/dist/util/slug.js +1 -1
  650. package/dist/util/token.js +1 -1
  651. package/dist/util/which.js +1 -1
  652. package/dist/util/wildcard.js +1 -1
  653. package/dist/v1/config/agent.js +5 -5
  654. package/dist/v1/config/attachment.js +4 -4
  655. package/dist/v1/config/command.js +3 -3
  656. package/dist/v1/config/config.js +16 -16
  657. package/dist/v1/config/error.js +2 -2
  658. package/dist/v1/config/formatter.js +5 -5
  659. package/dist/v1/config/layout.js +1 -1
  660. package/dist/v1/config/lsp.js +5 -5
  661. package/dist/v1/config/mcp.js +4 -4
  662. package/dist/v1/config/migrate.js +4 -4
  663. package/dist/v1/config/permission.js +3 -3
  664. package/dist/v1/config/plugin.js +1 -1
  665. package/dist/v1/config/provider-options.js +1 -1
  666. package/dist/v1/config/provider.js +4 -4
  667. package/dist/v1/config/server.js +2 -2
  668. package/dist/v1/config/skills.js +1 -1
  669. package/dist/v1/permission.js +1 -1
  670. package/dist/vcs/patch.js +1 -1
  671. package/dist/vcs.js +86 -86
  672. package/dist/websearch.js +81 -81
  673. package/dist/wellknown/plugin.js +75 -75
  674. package/dist/wellknown.js +78 -78
  675. package/dist/workspace/driver.js +3 -3
  676. package/dist/workspace/sql.js +1 -1
  677. package/dist/workspace.js +79 -79
  678. package/dist/worktree/directory.js +4 -4
  679. package/dist/worktree/git.js +7 -7
  680. package/dist/worktree/refresh.js +339 -339
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree.js +90 -90
  683. package/package.json +8 -8
  684. package/dist/chunks/job-0mesazry.js +0 -4
  685. package/dist/chunks/job-836wzxkm.js +0 -462
  686. package/dist/chunks/job-k40hr7sr.js +0 -247
  687. package/dist/chunks/job-v1faaxn9.js +0 -18
  688. package/dist/chunks/job-x96azzxd.js +0 -22
  689. /package/dist/chunks/{job-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{job-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{job-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{job-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{job-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{job-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{job-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{job-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
  697. /package/dist/chunks/{job-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
  698. /package/dist/chunks/{job-3asan66x.js → model-resolver-3asan66x.js} +0 -0
  699. /package/dist/chunks/{job-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
  700. /package/dist/chunks/{job-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
  701. /package/dist/chunks/{job-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{job-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{job-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{job-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
  705. /package/dist/chunks/{job-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{job-53557ph1.js → model-resolver-53557ph1.js} +0 -0
  707. /package/dist/chunks/{job-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{job-6prwharc.js → model-resolver-6prwharc.js} +0 -0
  709. /package/dist/chunks/{job-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{job-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{job-822emrt2.js → model-resolver-822emrt2.js} +0 -0
  712. /package/dist/chunks/{job-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{job-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{job-922hggd3.js → model-resolver-922hggd3.js} +0 -0
  715. /package/dist/chunks/{job-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{job-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{job-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{job-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{job-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{job-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{job-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{job-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{job-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{job-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{job-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{job-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{job-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{job-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{job-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{job-df08tz66.js → model-resolver-df08tz66.js} +0 -0
  731. /package/dist/chunks/{job-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{job-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{job-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{job-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{job-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{job-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{job-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{job-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{job-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{job-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{job-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{job-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{job-g86h250q.js → model-resolver-g86h250q.js} +0 -0
  744. /package/dist/chunks/{job-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{job-gftt206x.js → model-resolver-gftt206x.js} +0 -0
  746. /package/dist/chunks/{job-hjbc5kem.js → model-resolver-hjbc5kem.js} +0 -0
  747. /package/dist/chunks/{job-hk9envan.js → model-resolver-hk9envan.js} +0 -0
  748. /package/dist/chunks/{job-hrnqkpcd.js → model-resolver-hrnqkpcd.js} +0 -0
  749. /package/dist/chunks/{job-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
  750. /package/dist/chunks/{job-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
  751. /package/dist/chunks/{job-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
  752. /package/dist/chunks/{job-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
  753. /package/dist/chunks/{job-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
  754. /package/dist/chunks/{job-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
  755. /package/dist/chunks/{job-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
  756. /package/dist/chunks/{job-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
  757. /package/dist/chunks/{job-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
  758. /package/dist/chunks/{job-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
  759. /package/dist/chunks/{job-paphc93g.js → model-resolver-paphc93g.js} +0 -0
  760. /package/dist/chunks/{job-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
  761. /package/dist/chunks/{job-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
  762. /package/dist/chunks/{job-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
  763. /package/dist/chunks/{job-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
  764. /package/dist/chunks/{job-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
  765. /package/dist/chunks/{job-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
  766. /package/dist/chunks/{job-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
  767. /package/dist/chunks/{job-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
  768. /package/dist/chunks/{job-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
  769. /package/dist/chunks/{job-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
  770. /package/dist/chunks/{job-twg0f83k.js → model-resolver-twg0f83k.js} +0 -0
  771. /package/dist/chunks/{job-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
  772. /package/dist/chunks/{job-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
  773. /package/dist/chunks/{job-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
  774. /package/dist/chunks/{job-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
  775. /package/dist/chunks/{job-x61499pn.js → model-resolver-x61499pn.js} +0 -0
  776. /package/dist/chunks/{job-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
  777. /package/dist/chunks/{job-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
  778. /package/dist/chunks/{job-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
  779. /package/dist/chunks/{job-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
  780. /package/dist/chunks/{job-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
  781. /package/dist/chunks/{job-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
@@ -1,24 +1,24 @@
1
1
  import {
2
- Service79
3
- } from "./job-dvam00rs.js";
2
+ Service77
3
+ } from "./model-resolver-csz4k5km.js";
4
4
  import {
5
5
  OAuth3,
6
- Event16
7
- } from "./job-ns20stt6.js";
6
+ Event15
7
+ } from "./model-resolver-mwnd972w.js";
8
8
  import {
9
- ID7,
9
+ ID6,
10
10
  MethodID2
11
- } from "./job-gwae7e2k.js";
11
+ } from "./model-resolver-f8xc4yre.js";
12
12
  import {
13
13
  ID10,
14
14
  mergeOverlay2,
15
15
  mergeHeaders2
16
- } from "./job-1ptmpf20.js";
16
+ } from "./model-resolver-1ptmpf20.js";
17
17
  import {
18
18
  ID4,
19
- Input13,
19
+ Input14,
20
20
  Response2
21
- } from "./job-cwscbyeb.js";
21
+ } from "./model-resolver-mg5mchpt.js";
22
22
 
23
23
  // src/plugin/provider/opencode.ts
24
24
  import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
@@ -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: ID7.make("opencode"),
57
+ integrationID: ID6.make("opencode"),
58
58
  method: {
59
59
  id: methodID,
60
60
  type: "oauth",
@@ -99,7 +99,7 @@ function oauth(http) {
99
99
  var OpencodePlugin2 = define({
100
100
  id: "opencode.provider.opencode",
101
101
  effect: Effect.fn(function* (ctx) {
102
- const bus = yield* Service79;
102
+ const bus = yield* Service77;
103
103
  const http = yield* HttpClient.HttpClient;
104
104
  const loading = Semaphore.makeUnsafe(1);
105
105
  let snapshot = { config: undefined, connection: undefined };
@@ -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 = ID7.make("opencode");
128
+ provider.integrationID = ID6.make("opencode");
129
129
  if (item.canonical !== undefined)
130
130
  provider.canonical = item.canonical;
131
131
  if (item.name !== undefined)
@@ -228,7 +228,7 @@ var OpencodePlugin2 = define({
228
228
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
229
229
  const token = credential.type === "oauth" ? credential.access : credential.key;
230
230
  const server = yield* normalizeServer(serverUrl(credential));
231
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
231
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
232
232
  query: input.query,
233
233
  providerID: descriptor.providerID
234
234
  }));
@@ -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(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
252
+ yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID6.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,13 +1,13 @@
1
1
  import {
2
2
  ID9,
3
3
  Family2
4
- } from "./job-cbg8bv93.js";
4
+ } from "./model-resolver-cbg8bv93.js";
5
5
  import {
6
- Service60
7
- } from "./job-w39664cx.js";
6
+ Service53
7
+ } from "./model-resolver-bq4vzaks.js";
8
8
  import {
9
9
  foldSettings2
10
- } from "./job-g3ehx1y8.js";
10
+ } from "./model-resolver-htk69tte.js";
11
11
 
12
12
  // src/plugin/provider/ollama.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -45,12 +45,12 @@ var ShowResponse = Schema.Struct({
45
45
  });
46
46
  var discovery = new Map;
47
47
  var discoveryLock = Semaphore.makeUnsafe(1);
48
- function make5(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
48
+ function make4(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
49
49
  return define({
50
50
  id: "opencode.provider.ollama",
51
51
  effect: Effect.fn(function* (ctx) {
52
52
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
53
- const config = yield* Service60;
53
+ const config = yield* Service53;
54
54
  const source = { current: configured(yield* config.entries(), origin) };
55
55
  const loaded = { models: [], hash: "[]" };
56
56
  yield* ctx.integration.transform((integrations) => {
@@ -151,7 +151,7 @@ function make5(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
151
151
  })
152
152
  });
153
153
  }
154
- var OllamaPlugin2 = make5();
154
+ var OllamaPlugin2 = make4();
155
155
  function configured(entries, origin) {
156
156
  const settings = foldSettings2(entries, providerID, undefined);
157
157
  const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
@@ -170,4 +170,4 @@ function configured(entries, origin) {
170
170
  return { baseURL, apiKey, tagsEndpoint, showEndpoint: url.toString() };
171
171
  }
172
172
 
173
- export { make5, OllamaPlugin2 };
173
+ export { make4, OllamaPlugin2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./job-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/workspace/driver.ts
6
6
  var exports_driver = {};
@@ -11,7 +11,7 @@ __export(exports_driver, {
11
11
  RegistryService: () => RegistryService2,
12
12
  WorkspaceDriver: () => exports_driver,
13
13
  make: () => make21,
14
- node: () => node75,
14
+ node: () => node83,
15
15
  registry: () => registry2,
16
16
  registryNode: () => registryNode2
17
17
  });
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
44
44
  layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
45
45
  deps: []
46
46
  });
47
- var node75 = registryNode2({});
47
+ var node83 = registryNode2({});
48
48
 
49
- export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2, node75, exports_driver };
49
+ export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2, node83, exports_driver };
@@ -1,57 +1,57 @@
1
- import {
2
- Service80
3
- } from "./job-n2jnf84z.js";
4
1
  import {
5
2
  Service79
6
- } from "./job-dvam00rs.js";
3
+ } from "./model-resolver-atny4vj3.js";
4
+ import {
5
+ Service77
6
+ } from "./model-resolver-csz4k5km.js";
7
7
  import {
8
- Service41
9
- } from "./job-3c1tgrea.js";
8
+ Service47
9
+ } from "./model-resolver-vvccsdf3.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./job-fxbjtjnd.js";
12
+ } from "./model-resolver-fxbjtjnd.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./job-gftt206x.js";
15
+ } from "./model-resolver-gftt206x.js";
16
16
  import {
17
- NotFoundError8,
17
+ NotFoundError9,
18
18
  PromptConflictError2,
19
19
  SyntheticConflictError2,
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./job-jzy4mkh2.js";
23
+ } from "./model-resolver-qwkytnft.js";
24
24
  import {
25
25
  SessionEvent2
26
- } from "./job-ec1grn59.js";
26
+ } from "./model-resolver-ec1grn59.js";
27
27
  import {
28
- Service65
29
- } from "./job-jz5ydzs3.js";
28
+ Service70
29
+ } from "./model-resolver-nv6fkpt4.js";
30
30
  import {
31
31
  Delivery2,
32
32
  SyntheticPayload2,
33
- Service40
34
- } from "./job-pfpaa7gq.js";
33
+ Service44
34
+ } from "./model-resolver-079cv0ze.js";
35
35
  import {
36
- Service37
37
- } from "./job-hvskjtw3.js";
36
+ Service43
37
+ } from "./model-resolver-6fvs6bkh.js";
38
38
  import {
39
39
  prepare2
40
- } from "./job-7y8hdne7.js";
40
+ } from "./model-resolver-wf4bebac.js";
41
41
  import {
42
42
  stage2,
43
43
  clear2,
44
44
  commit2
45
- } from "./job-wh1vm43f.js";
45
+ } from "./model-resolver-k6h76ggr.js";
46
46
  import {
47
47
  start2
48
- } from "./job-pgp2hfz4.js";
48
+ } from "./model-resolver-6xt4p4wv.js";
49
49
  import {
50
50
  get4
51
- } from "./job-5vktnwp6.js";
51
+ } from "./model-resolver-774n8a20.js";
52
52
  import {
53
53
  __export
54
- } from "./job-9rqn6x4v.js";
54
+ } from "./model-resolver-9rqn6x4v.js";
55
55
 
56
56
  // src/session/session.ts
57
57
  var exports_session2 = {};
@@ -63,18 +63,18 @@ import { DateTime, Effect, Fiber, Scope } from "effect";
63
63
  import { Event } from "@opencode/schema/event";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
65
  var make12 = Effect.fn("Session.make")(function* () {
66
- const bus = yield* Service79;
67
- const database = yield* Service80;
68
- const store = yield* Service65;
69
- const instances = yield* Service41;
70
- const execution = yield* Service37;
71
- const admission = yield* Service40;
66
+ const bus = yield* Service77;
67
+ const database = yield* Service79;
68
+ const store = yield* Service70;
69
+ const instances = yield* Service47;
70
+ const execution = yield* Service43;
71
+ const admission = yield* Service44;
72
72
  const fs = yield* FSUtil.Service;
73
73
  const scope = yield* Scope.Scope;
74
74
  const get = Effect.fn("Session.get")(function* (sessionID) {
75
75
  const session = yield* store.get(sessionID);
76
76
  if (!session)
77
- return yield* new NotFoundError8({ sessionID });
77
+ return yield* new NotFoundError9({ sessionID });
78
78
  return session;
79
79
  });
80
80
  const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
@@ -131,7 +131,7 @@ var make12 = Effect.fn("Session.make")(function* () {
131
131
  });
132
132
  if (existing)
133
133
  return existing;
134
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service41, instances), Effect.provideService(FSUtil.Service, fs)));
134
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service47, instances), Effect.provideService(FSUtil.Service, fs)));
135
135
  if (session.revert)
136
136
  yield* commit2(bus, session);
137
137
  return yield* admission.admit({
@@ -147,7 +147,7 @@ var make12 = Effect.fn("Session.make")(function* () {
147
147
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
148
148
  const session = yield* get(sessionID);
149
149
  const running = yield* Effect.gen(function* () {
150
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service41, instances), Effect.tapError((error) => synthetic(sessionID, {
150
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service47, instances), Effect.tapError((error) => synthetic(sessionID, {
151
151
  text: `User shell command failed to start:
152
152
  ${input.command}
153
153
 
@@ -176,7 +176,7 @@ ${error.message}`,
176
176
  });
177
177
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
178
178
  const session = yield* get(sessionID);
179
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service41, instances));
179
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service47, instances));
180
180
  yield* bus.publish(SessionEvent2.Skill.Activated, {
181
181
  sessionID,
182
182
  id: skill.id,
@@ -233,13 +233,13 @@ ${error.message}`,
233
233
  const session = yield* get(sessionID);
234
234
  if (yield* execution.isActive(sessionID))
235
235
  return yield* new BusyError2({ sessionID });
236
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service41, instances), Effect.provideService(Service80, database), Effect.provideService(Service79, bus));
236
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service47, instances), Effect.provideService(Service79, database), Effect.provideService(Service77, bus));
237
237
  });
238
238
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
239
239
  const session = yield* get(sessionID);
240
240
  if (yield* execution.isActive(sessionID))
241
241
  return yield* new BusyError2({ sessionID });
242
- yield* clear2(session).pipe(Effect.provideService(Service41, instances), Effect.provideService(Service79, bus));
242
+ yield* clear2(session).pipe(Effect.provideService(Service47, instances), Effect.provideService(Service77, bus));
243
243
  return yield* execution.wake(sessionID);
244
244
  });
245
245
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./job-ym463w8f.js";
3
+ } from "./model-resolver-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/venice.ts
6
6
  var VenicePlugin2 = createProviderPlugin2({
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  InvalidError2
3
- } from "./job-z63w68vq.js";
3
+ } from "./model-resolver-z63w68vq.js";
4
4
  import {
5
5
  __export
6
- } from "./job-9rqn6x4v.js";
6
+ } from "./model-resolver-9rqn6x4v.js";
7
7
 
8
8
  // src/config/variable.ts
9
9
  var exports_variable = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./job-ym463w8f.js";
3
+ } from "./model-resolver-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/cohere.ts
6
6
  var CoherePlugin2 = createProviderPlugin2({
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  parseOption2
3
- } from "./job-5daktx2q.js";
3
+ } from "./model-resolver-5daktx2q.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./job-922hggd3.js";
6
+ } from "./model-resolver-922hggd3.js";
7
7
  import {
8
- ID6,
8
+ ID11,
9
9
  Name2
10
- } from "./job-zc3syjba.js";
10
+ } from "./model-resolver-27596drg.js";
11
11
  import {
12
12
  __export
13
- } from "./job-9rqn6x4v.js";
13
+ } from "./model-resolver-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/skill-file.ts
16
16
  var exports_skill_file = {};
@@ -57,7 +57,7 @@ function parse2(directory, filepath, content) {
57
57
  return {
58
58
  _tag: "Parsed",
59
59
  skill: {
60
- id: ID6.make(id),
60
+ id: ID11.make(id),
61
61
  name: Name2.make(frontmatter.name ?? id),
62
62
  ...frontmatter.description === undefined ? {} : { description: frontmatter.description },
63
63
  ...slash === undefined ? {} : { slash },
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./job-922hggd3.js";
5
+ } from "./model-resolver-922hggd3.js";
6
6
  import {
7
- Service69,
8
- node73
9
- } from "./job-6sjc8c0h.js";
7
+ Service56,
8
+ node59
9
+ } from "./model-resolver-z7dhx1kn.js";
10
10
  import {
11
- Content2
12
- } from "./job-rv0xef65.js";
11
+ Content3
12
+ } from "./model-resolver-epzffrx8.js";
13
13
  import {
14
14
  detect2
15
- } from "./job-3smtnn6g.js";
15
+ } from "./model-resolver-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./job-9rqn6x4v.js";
18
+ } from "./model-resolver-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service4,
36
+ Service: () => Service11,
37
37
  TextPage: () => TextPage2,
38
- node: () => node6,
38
+ node: () => node14,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
89
89
  });
90
90
  var FileContent2 = Schema.Struct({
91
91
  type: Schema.Literal("file"),
92
- ...Content2.fields
92
+ ...Content3.fields
93
93
  }).annotate({ identifier: "ReadTool.FileContent" });
94
94
 
95
95
  class TextPage2 extends Schema.Class("ReadTool.TextPage")({
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service4 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service11 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
326
326
  return index + 1;
327
327
  }
328
328
  };
329
- var layer = Layer.effect(Service4, Effect.gen(function* () {
330
- const environment = yield* Service69;
331
- return Service4.of({
329
+ var layer = Layer.effect(Service11, Effect.gen(function* () {
330
+ const environment = yield* Service56;
331
+ return Service11.of({
332
332
  list: environment.files.list,
333
333
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
334
334
  });
335
335
  }));
336
- var node6 = makeLocationNode({ service: Service4, layer, deps: [node73] });
336
+ var node14 = makeLocationNode({ service: Service11, layer, deps: [node59] });
337
337
 
338
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service4, read2, node6, exports_read_filesystem };
338
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service11, read2, node14, exports_read_filesystem };
@@ -2,7 +2,7 @@ import {
2
2
  SQLiteEffectPreparedQuery2,
3
3
  SQLiteEffectSession2,
4
4
  SQLiteEffectTransaction2
5
- } from "./job-czr633w7.js";
5
+ } from "./model-resolver-fdc0z0c3.js";
6
6
 
7
7
  // src/database/drizzle/effect-sqlite/session.ts
8
8
  import * as Context from "effect/Context";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  NamedError2
3
- } from "./job-2axfhc9x.js";
3
+ } from "./model-resolver-2axfhc9x.js";
4
4
  import {
5
5
  __export
6
- } from "./job-9rqn6x4v.js";
6
+ } from "./model-resolver-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/error.ts
9
9
  var exports_error = {};
@@ -3,34 +3,34 @@ import {
3
3
  WrongKind2,
4
4
  Failed2,
5
5
  typeFollowing2
6
- } from "./job-2a5m3afh.js";
6
+ } from "./model-resolver-2a5m3afh.js";
7
7
  import {
8
8
  execDefaults2
9
- } from "./job-1dazxqgg.js";
9
+ } from "./model-resolver-1dazxqgg.js";
10
10
  import {
11
11
  makeLocalDriver2
12
- } from "./job-b6gygkdw.js";
12
+ } from "./model-resolver-b6gygkdw.js";
13
13
  import {
14
14
  makeMemoryDriver2
15
- } from "./job-aaet6srn.js";
15
+ } from "./model-resolver-aaet6srn.js";
16
16
  import {
17
17
  Service74,
18
- node79
19
- } from "./job-92e5p8bq.js";
18
+ node78
19
+ } from "./model-resolver-7fys8geh.js";
20
20
  import {
21
- Service70,
22
- node74
23
- } from "./job-smgfxgse.js";
21
+ Service78,
22
+ node82
23
+ } from "./model-resolver-pm4pe4yk.js";
24
24
  import {
25
25
  __export
26
- } from "./job-9rqn6x4v.js";
26
+ } from "./model-resolver-9rqn6x4v.js";
27
27
 
28
28
  // src/environment/environment.ts
29
29
  var exports_environment2 = {};
30
30
  __export(exports_environment2, {
31
31
  EnvironmentService: () => exports_environment2,
32
- Service: () => Service69,
33
- node: () => node73
32
+ Service: () => Service56,
33
+ node: () => node59
34
34
  });
35
35
  import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -43,13 +43,13 @@ __export(exports_environment3, {
43
43
  Environment: () => exports_environment3,
44
44
  Failed: () => Failed2,
45
45
  NotFound: () => NotFound2,
46
- Service: () => Service69,
46
+ Service: () => Service56,
47
47
  WrongKind: () => WrongKind2,
48
48
  execDefaults: () => execDefaults2,
49
49
  makeFiles: () => makeFiles2,
50
50
  makeLocalDriver: () => makeLocalDriver2,
51
51
  makeMemoryDriver: () => makeMemoryDriver2,
52
- node: () => node73,
52
+ node: () => node59,
53
53
  typeFollowing: () => typeFollowing2
54
54
  });
55
55
  var makeFiles2 = (driver) => ({
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
58
58
  });
59
59
 
60
60
  // src/environment/environment.ts
61
- class Service69 extends Context.Service()("@opencode/Environment") {
61
+ class Service56 extends Context.Service()("@opencode/Environment") {
62
62
  }
63
- var layer = Layer.effect(Service69, Effect.gen(function* () {
63
+ var layer = Layer.effect(Service56, Effect.gen(function* () {
64
64
  const spawner = yield* ChildProcessSpawner;
65
65
  const location = yield* Service74;
66
- const workspace = yield* Service70;
66
+ const workspace = yield* Service78;
67
67
  const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
68
- return Service69.of({ files: makeFiles2(driver), spawner: driver.spawner });
68
+ return Service56.of({ files: makeFiles2(driver), spawner: driver.spawner });
69
69
  }));
70
- var node73 = makeLocationNode({
71
- service: Service69,
70
+ var node59 = makeLocationNode({
71
+ service: Service56,
72
72
  layer,
73
- deps: [CrossSpawnSpawner.node, node79, node74]
73
+ deps: [CrossSpawnSpawner.node, node78, node82]
74
74
  });
75
75
 
76
- export { Service69, node73, exports_environment2, makeFiles2, exports_environment3 };
76
+ export { Service56, node59, exports_environment2, makeFiles2, exports_environment3 };
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service79,
4
- node84
5
- } from "./job-dvam00rs.js";
3
+ Service77,
4
+ node81
5
+ } from "./model-resolver-csz4k5km.js";
6
6
  import {
7
7
  __export
8
- } from "./job-9rqn6x4v.js";
8
+ } from "./model-resolver-9rqn6x4v.js";
9
9
 
10
10
  // src/plugin/sdk.ts
11
11
  var exports_sdk = {};
12
12
  __export(exports_sdk, {
13
13
  SdkPlugins: () => exports_sdk,
14
- Service: () => Service8,
14
+ Service: () => Service5,
15
15
  Updated: () => Updated2,
16
- layer: () => layer5,
17
- node: () => node10
16
+ layer: () => layer4,
17
+ node: () => node7
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
21
21
  var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
22
22
 
23
- class Service8 extends Context.Service()("@opencode/SdkPlugins") {
23
+ class Service5 extends Context.Service()("@opencode/SdkPlugins") {
24
24
  }
25
- var layer5 = Layer.effect(Service8, Effect.gen(function* () {
26
- const bus = yield* Service79;
25
+ var layer4 = Layer.effect(Service5, Effect.gen(function* () {
26
+ const bus = yield* Service77;
27
27
  const plugins = new Map;
28
28
  let revision = 0;
29
- return Service8.of({
29
+ return Service5.of({
30
30
  register: (plugin) => Effect.sync(() => {
31
31
  plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
32
32
  }).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
33
33
  all: () => [...plugins.values()]
34
34
  });
35
35
  }));
36
- var node10 = makeGlobalNode({ service: Service8, layer: layer5, deps: [node84] });
36
+ var node7 = makeGlobalNode({ service: Service5, layer: layer4, deps: [node81] });
37
37
 
38
- export { Updated2, Service8, layer5, node10, exports_sdk };
38
+ export { Updated2, Service5, layer4, node7, exports_sdk };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./job-922hggd3.js";
3
+ } from "./model-resolver-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./job-9rqn6x4v.js";
6
+ } from "./model-resolver-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/server.ts
9
9
  var exports_server = {};