@opencode/core 0.0.0-dev-19769 → 0.0.0-dev-19772

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (789) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +78 -78
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{repository-3srb4c33.js → file-018x1ems.js} +15 -15
  8. package/dist/chunks/{repository-eaj1djv9.js → file-02nrjc1r.js} +4 -4
  9. package/dist/chunks/{repository-85ph882g.js → file-0777derp.js} +2 -2
  10. package/dist/chunks/{repository-0paq2nw3.js → file-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{repository-0q0f95c6.js → file-0q0f95c6.js} +1 -1
  12. package/dist/chunks/{repository-vxd5ygdv.js → file-12fxvqn6.js} +29 -29
  13. package/dist/chunks/{repository-1dazxqgg.js → file-1dazxqgg.js} +2 -2
  14. package/dist/chunks/{repository-vd6cqa4j.js → file-1gp0z8vk.js} +8 -8
  15. package/dist/chunks/{repository-paegk39x.js → file-1hc11dc4.js} +4 -4
  16. package/dist/chunks/{repository-818pfwc9.js → file-1qg96azw.js} +8 -8
  17. package/dist/chunks/file-1x11rq2a.js +18 -0
  18. package/dist/chunks/{repository-21r38tys.js → file-21r38tys.js} +1 -1
  19. package/dist/chunks/{repository-tz3nmx0j.js → file-22br4zbr.js} +29 -29
  20. package/dist/chunks/{repository-fkd8950d.js → file-22wh6ycc.js} +20 -20
  21. package/dist/chunks/{repository-rbsrykmc.js → file-23bnecbk.js} +20 -20
  22. package/dist/chunks/{repository-mmvpf3z9.js → file-263r72ym.js} +20 -20
  23. package/dist/chunks/{repository-2a5m3afh.js → file-2a5m3afh.js} +1 -1
  24. package/dist/chunks/{repository-wnbgtmcr.js → file-2dvm09dd.js} +24 -24
  25. package/dist/chunks/{repository-tcg29b4q.js → file-2jz473v5.js} +1 -1
  26. package/dist/chunks/{repository-2m6tdwb7.js → file-2rx2wg8g.js} +1 -1
  27. package/dist/chunks/{repository-23sxaqwc.js → file-2y34zzjz.js} +6 -6
  28. package/dist/chunks/{repository-k8374c5q.js → file-2zzhbfmj.js} +1 -1
  29. package/dist/chunks/{repository-xv0a7vy5.js → file-304h1yg1.js} +27 -27
  30. package/dist/chunks/{repository-ej74qwfk.js → file-31wqgk5p.js} +10 -10
  31. package/dist/chunks/{repository-se91gbej.js → file-361xm3ya.js} +33 -33
  32. package/dist/chunks/file-3cg6k2ga.js +252 -0
  33. package/dist/chunks/{repository-3fc6dm20.js → file-3fc6dm20.js} +1 -1
  34. package/dist/chunks/{repository-ayec40qr.js → file-3fhknkx8.js} +20 -20
  35. package/dist/chunks/{repository-3hepkmqq.js → file-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{repository-5bgvk8my.js → file-3kke03kt.js} +146 -146
  37. package/dist/chunks/{repository-8gtmmj3e.js → file-3my6v4az.js} +30 -30
  38. package/dist/chunks/{repository-yqgrxd6e.js → file-3qzhexf6.js} +15 -15
  39. package/dist/chunks/{repository-3smtnn6g.js → file-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{repository-3tvqynh2.js → file-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{repository-gyk8a0b3.js → file-41verw56.js} +28 -28
  42. package/dist/chunks/{repository-7c3st4jz.js → file-42mthp08.js} +26 -26
  43. package/dist/chunks/{repository-4qkvfqqk.js → file-46zss07m.js} +28 -28
  44. package/dist/chunks/{repository-rqx49y6e.js → file-4938m1cx.js} +280 -280
  45. package/dist/chunks/{repository-v1nykaf9.js → file-4dnw4fzb.js} +22 -22
  46. package/dist/chunks/{repository-an855pfc.js → file-4ghcrmft.js} +26 -26
  47. package/dist/chunks/{repository-95nee50p.js → file-4qenbd9f.js} +1 -1
  48. package/dist/chunks/{repository-98bk4qe8.js → file-4wywpd95.js} +7 -7
  49. package/dist/chunks/{repository-02cs18yf.js → file-4y2x8jxf.js} +42 -42
  50. package/dist/chunks/{repository-0r7yqxbf.js → file-510m7gjw.js} +5 -5
  51. package/dist/chunks/{repository-80783bh5.js → file-55j2v9k6.js} +20 -20
  52. package/dist/chunks/{repository-56gdpj1q.js → file-56gdpj1q.js} +2 -2
  53. package/dist/chunks/{repository-81swgkk7.js → file-57ez7d0k.js} +7 -7
  54. package/dist/chunks/{repository-vk6zr57k.js → file-58vybx2g.js} +12 -12
  55. package/dist/chunks/{repository-5daktx2q.js → file-5daktx2q.js} +1 -1
  56. package/dist/chunks/{repository-scv7p57g.js → file-5e1pzs32.js} +9 -9
  57. package/dist/chunks/{repository-rwtc3fw1.js → file-5fkxaj5s.js} +3 -3
  58. package/dist/chunks/{repository-qyzwb919.js → file-5gwdj91r.js} +18 -18
  59. package/dist/chunks/{repository-7arn502q.js → file-5jsx19yx.js} +18 -18
  60. package/dist/chunks/{repository-5t3nmthw.js → file-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{repository-e188km2a.js → file-5vx8nhhg.js} +11 -11
  62. package/dist/chunks/{repository-669tq793.js → file-669tq793.js} +1 -1
  63. package/dist/chunks/{repository-p1dtcdn6.js → file-66rhs1hf.js} +38 -38
  64. package/dist/chunks/{repository-122dvtp1.js → file-6grmf33y.js} +13 -13
  65. package/dist/chunks/{repository-6h73sxmp.js → file-6h73sxmp.js} +1 -1
  66. package/dist/chunks/{repository-6msgmcgs.js → file-6msgmcgs.js} +1 -1
  67. package/dist/chunks/{repository-cc3rhb19.js → file-6mypyd4y.js} +55 -55
  68. package/dist/chunks/{repository-btjhzyrj.js → file-6r536pd1.js} +50 -50
  69. package/dist/chunks/{repository-9gzsgfm4.js → file-6v4peh9p.js} +16 -16
  70. package/dist/chunks/{repository-7g7gx5pj.js → file-702gse62.js} +15 -15
  71. package/dist/chunks/{repository-9ws33mfb.js → file-73cb9t05.js} +5 -5
  72. package/dist/chunks/{repository-7bmhse3q.js → file-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{repository-6y44j97d.js → file-7bzk74m1.js} +18 -18
  74. package/dist/chunks/{repository-2k8khapm.js → file-7dqw4kz8.js} +5 -5
  75. package/dist/chunks/{repository-7j2qha59.js → file-7sbn2nrf.js} +8 -8
  76. package/dist/chunks/{repository-9ppytv0z.js → file-7xps8bb1.js} +27 -27
  77. package/dist/chunks/{repository-73tb2d7t.js → file-7yh4e7ss.js} +3 -3
  78. package/dist/chunks/{repository-qb3z2rd2.js → file-81tjde9w.js} +3 -3
  79. package/dist/chunks/{repository-8d7r5vzw.js → file-8d7r5vzw.js} +1 -1
  80. package/dist/chunks/{repository-3j8q1kjc.js → file-8nkxt6xp.js} +34 -34
  81. package/dist/chunks/{repository-dj2t23y0.js → file-8p4f9s12.js} +2 -2
  82. package/dist/chunks/{repository-yexpv489.js → file-8xbbjbhd.js} +35 -35
  83. package/dist/chunks/{repository-1hgfyhjr.js → file-8y3wyrth.js} +13 -13
  84. package/dist/chunks/{repository-9b1atvvx.js → file-8zvwwgc2.js} +20 -20
  85. package/dist/chunks/{repository-yn2ye6x1.js → file-91342nd3.js} +25 -25
  86. package/dist/chunks/{repository-9b6r1n9h.js → file-94s2pdns.js} +43 -43
  87. package/dist/chunks/{repository-851wtqqf.js → file-956z8k1a.js} +2 -2
  88. package/dist/chunks/{repository-2z51qmx0.js → file-9eyeqmd2.js} +24 -24
  89. package/dist/chunks/{repository-2tfmgkzg.js → file-9gr8y5ys.js} +4 -4
  90. package/dist/chunks/{repository-pwb6zpac.js → file-9xbxnfqb.js} +18 -18
  91. package/dist/chunks/{repository-5c4hm403.js → file-a1bz86dw.js} +3 -3
  92. package/dist/chunks/{repository-kj2sv36s.js → file-a6f6mbr6.js} +3 -3
  93. package/dist/chunks/{repository-aaet6srn.js → file-aaet6srn.js} +2 -2
  94. package/dist/chunks/{repository-4gawe8x4.js → file-ac8gkyem.js} +9 -9
  95. package/dist/chunks/{repository-s9kcfb9z.js → file-ad2z09fz.js} +1 -1
  96. package/dist/chunks/{repository-7k43vd6t.js → file-ame7p0bf.js} +39 -39
  97. package/dist/chunks/{repository-4jnysezt.js → file-az4c37nw.js} +20 -20
  98. package/dist/chunks/{repository-bydnjh3t.js → file-b0dgvpy7.js} +9 -9
  99. package/dist/chunks/{repository-b6gygkdw.js → file-b6gygkdw.js} +2 -2
  100. package/dist/chunks/{repository-jywznmgw.js → file-b9ahwkd2.js} +9 -9
  101. package/dist/chunks/{repository-tbmac1c7.js → file-bacyadyn.js} +4 -4
  102. package/dist/chunks/{repository-sx1n432n.js → file-bct739vz.js} +4 -4
  103. package/dist/chunks/{repository-2wb81fjp.js → file-bj93k3jd.js} +12 -12
  104. package/dist/chunks/{repository-nw2nz702.js → file-bjn91642.js} +4 -4
  105. package/dist/chunks/{repository-3gq312nc.js → file-bpnjy3z7.js} +14 -14
  106. package/dist/chunks/{repository-p6z56n1j.js → file-by1dj0rw.js} +10 -10
  107. package/dist/chunks/{repository-t0fxg8b9.js → file-c78bbtc9.js} +5 -5
  108. package/dist/chunks/{repository-fbw0vhp1.js → file-cb7w9rn9.js} +6 -6
  109. package/dist/chunks/{repository-e36qgvhn.js → file-cd9my3v1.js} +11 -11
  110. package/dist/chunks/{repository-m0jqrx5p.js → file-cfpkc3c9.js} +2 -2
  111. package/dist/chunks/{repository-5xtgfte3.js → file-cmwkp3r5.js} +8 -8
  112. package/dist/chunks/{repository-5pdbn9ps.js → file-csk5y31k.js} +17 -17
  113. package/dist/chunks/{repository-m2542dxt.js → file-d1mbserq.js} +4 -4
  114. package/dist/chunks/{repository-qpbc7zwf.js → file-d383cjmk.js} +8 -8
  115. package/dist/chunks/{repository-1tmm29rr.js → file-dgf6d44x.js} +6 -6
  116. package/dist/chunks/{repository-57b9ws8p.js → file-drwq78ky.js} +5 -5
  117. package/dist/chunks/{repository-sfkj0ta1.js → file-dtqg9ce1.js} +5 -5
  118. package/dist/chunks/{repository-1c6rvf29.js → file-dv7aa87v.js} +37 -37
  119. package/dist/chunks/{repository-ejwr8mgp.js → file-e34x8y7p.js} +12 -12
  120. package/dist/chunks/{repository-dzrcb86n.js → file-e3fp033c.js} +26 -26
  121. package/dist/chunks/{repository-ef5x83kb.js → file-ef5x83kb.js} +1 -1
  122. package/dist/chunks/{repository-3jmhxbye.js → file-ehy7cw58.js} +10 -10
  123. package/dist/chunks/{repository-8gxqpgph.js → file-embw8kgh.js} +4 -4
  124. package/dist/chunks/{repository-erw5rpbs.js → file-erw5rpbs.js} +2 -2
  125. package/dist/chunks/{repository-etq0c3wd.js → file-etq0c3wd.js} +1 -1
  126. package/dist/chunks/{repository-pyx37xrr.js → file-f6jg9yks.js} +26 -26
  127. package/dist/chunks/{repository-hdnk95c8.js → file-f828m53h.js} +2 -2
  128. package/dist/chunks/{repository-vd3gnyv8.js → file-ff3zbyyz.js} +9 -9
  129. package/dist/chunks/{repository-tehh278v.js → file-fgrqxmc5.js} +13 -13
  130. package/dist/chunks/{repository-hrsq9gd1.js → file-fhmyd1cc.js} +9 -9
  131. package/dist/chunks/{repository-bbtvb4qv.js → file-fjtsztdw.js} +6 -6
  132. package/dist/chunks/{repository-3tq5qxbk.js → file-fkjmw100.js} +4 -4
  133. package/dist/chunks/{repository-rkhtkbzg.js → file-fpkmmq0f.js} +15 -15
  134. package/dist/chunks/{repository-g8atgw3j.js → file-ftdzjz2b.js} +6 -6
  135. package/dist/chunks/{repository-gbgzsaak.js → file-fvbnea60.js} +37 -37
  136. package/dist/chunks/{repository-qdakzt9p.js → file-fwcvyjm4.js} +9 -9
  137. package/dist/chunks/{repository-fxbjtjnd.js → file-fxbjtjnd.js} +1 -1
  138. package/dist/chunks/{repository-fxmgg4aj.js → file-fxmgg4aj.js} +1 -1
  139. package/dist/chunks/{repository-k12tcn4w.js → file-fxzbpcn9.js} +9 -9
  140. package/dist/chunks/{repository-7bz5ees8.js → file-g5fh27jm.js} +27 -27
  141. package/dist/chunks/{repository-jef2745y.js → file-g6mb1r40.js} +13 -13
  142. package/dist/chunks/{repository-cwa6csj7.js → file-g6q9qykm.js} +9 -9
  143. package/dist/chunks/{repository-e248x3jn.js → file-g7jvb7c9.js} +12 -12
  144. package/dist/chunks/{repository-8sp84cjn.js → file-g7z2c8ev.js} +18 -18
  145. package/dist/chunks/{repository-gd4qta3r.js → file-gd4qta3r.js} +1 -1
  146. package/dist/chunks/{repository-wdw0r690.js → file-gq8aqzna.js} +8 -8
  147. package/dist/chunks/{repository-v4hmrze8.js → file-gr0d3prr.js} +10 -10
  148. package/dist/chunks/{repository-gv6a8nnw.js → file-gv6a8nnw.js} +2 -2
  149. package/dist/chunks/{repository-z73117hq.js → file-gwyevam5.js} +6 -6
  150. package/dist/chunks/{repository-n8a799tr.js → file-h0jmq7yk.js} +24 -24
  151. package/dist/chunks/{repository-6ymf14rh.js → file-h0zs8ypv.js} +10 -10
  152. package/dist/chunks/{repository-xrpj31b0.js → file-h36v7wj5.js} +5 -5
  153. package/dist/chunks/{repository-h6vf3j39.js → file-h6vf3j39.js} +1 -1
  154. package/dist/chunks/{repository-xcd0eash.js → file-h896pcm5.js} +6 -6
  155. package/dist/chunks/{repository-64ec3t10.js → file-h9bw0csn.js} +15 -15
  156. package/dist/chunks/{repository-dv9a7byg.js → file-hah04hfd.js} +1 -1
  157. package/dist/chunks/{repository-w6xp1hem.js → file-hhvxj0xs.js} +2 -2
  158. package/dist/chunks/{repository-0f9afca0.js → file-hkfg6fzm.js} +5 -5
  159. package/dist/chunks/{repository-ne89hd12.js → file-hmwvdnz2.js} +62 -62
  160. package/dist/chunks/{repository-cefpf2j3.js → file-hphfs7r7.js} +17 -17
  161. package/dist/chunks/{repository-wdy8ayv0.js → file-hqfwp6f0.js} +31 -31
  162. package/dist/chunks/{repository-328cx775.js → file-hxzqr5y1.js} +46 -46
  163. package/dist/chunks/{repository-aejz0fra.js → file-hywk6jf9.js} +17 -17
  164. package/dist/chunks/{repository-vqxaxcf1.js → file-hz1es13a.js} +13 -13
  165. package/dist/chunks/{repository-2wk1s5ej.js → file-j18yem6v.js} +9 -9
  166. package/dist/chunks/{repository-a04068z3.js → file-j55ehytx.js} +30 -30
  167. package/dist/chunks/{repository-j56e64zr.js → file-j56e64zr.js} +1 -1
  168. package/dist/chunks/{repository-21yy59vd.js → file-j6vme8qb.js} +17 -17
  169. package/dist/chunks/{repository-74zwf8gc.js → file-ja67c5z9.js} +86 -86
  170. package/dist/chunks/{repository-m4x4s9k7.js → file-jh2tjjwa.js} +8 -8
  171. package/dist/chunks/{repository-xkz7c9k1.js → file-k1324ekq.js} +22 -22
  172. package/dist/chunks/{repository-nzks3jc8.js → file-k3c624dm.js} +3 -3
  173. package/dist/chunks/{repository-yaamm28n.js → file-k83v2y4t.js} +27 -27
  174. package/dist/chunks/{repository-11faaktz.js → file-kbhnhzqb.js} +15 -15
  175. package/dist/chunks/{repository-f0173z6s.js → file-kewrzfp7.js} +4 -4
  176. package/dist/chunks/{repository-6brvp8jk.js → file-kjesn8ee.js} +8 -8
  177. package/dist/chunks/{repository-h196rex3.js → file-kynetcxa.js} +28 -28
  178. package/dist/chunks/{repository-fhqgz6t0.js → file-kz33qt24.js} +28 -28
  179. package/dist/chunks/{repository-m3fdjcah.js → file-m3fdjcah.js} +1 -1
  180. package/dist/chunks/{repository-2rt9jbq4.js → file-m3pxzh9s.js} +3 -3
  181. package/dist/chunks/{repository-m9w0rfyh.js → file-m9w0rfyh.js} +1 -1
  182. package/dist/chunks/{repository-g190xswt.js → file-magykp64.js} +4 -4
  183. package/dist/chunks/{repository-ryr25ayn.js → file-mtq6xxnx.js} +7 -7
  184. package/dist/chunks/{repository-3pvrcrbr.js → file-mw9xfcqs.js} +13 -13
  185. package/dist/chunks/{repository-at1kfnmk.js → file-n0tq777j.js} +8 -8
  186. package/dist/chunks/{repository-21418s17.js → file-n1jh56hb.js} +22 -22
  187. package/dist/chunks/{repository-1ax7tqy2.js → file-n31hfr13.js} +12 -12
  188. package/dist/chunks/{repository-z9jh4hq6.js → file-n5fr74k4.js} +10 -10
  189. package/dist/chunks/{repository-dkepx75h.js → file-n86jpvhn.js} +11 -11
  190. package/dist/chunks/{repository-ppqt0576.js → file-nb532tg8.js} +11 -11
  191. package/dist/chunks/{repository-xx5d256e.js → file-nbpc3svs.js} +10 -10
  192. package/dist/chunks/{repository-n6wrsq7f.js → file-nk46f8av.js} +6 -6
  193. package/dist/chunks/{repository-3f29nsc9.js → file-nqjmnyjs.js} +11 -11
  194. package/dist/chunks/{repository-qss189bp.js → file-nqsne9m4.js} +10 -10
  195. package/dist/chunks/file-nvdf328w.js +26 -0
  196. package/dist/chunks/{repository-nzyhnfxz.js → file-nzyhnfxz.js} +1 -1
  197. package/dist/chunks/{repository-w4arg62q.js → file-p0b4ytnr.js} +6 -6
  198. package/dist/chunks/{repository-8dbdhz5n.js → file-p0rshxbh.js} +15 -15
  199. package/dist/chunks/{repository-5v1trjgx.js → file-p244d6rq.js} +16 -16
  200. package/dist/chunks/{repository-p28j5sbe.js → file-p28j5sbe.js} +2 -2
  201. package/dist/chunks/{repository-nms28mnr.js → file-p8pa7sfy.js} +11 -11
  202. package/dist/chunks/{repository-c9thm2jp.js → file-pht2kxnm.js} +26 -22
  203. package/dist/chunks/{repository-pjvnvgmy.js → file-pjvnvgmy.js} +1 -1
  204. package/dist/chunks/{repository-pknna89w.js → file-pknna89w.js} +1 -1
  205. package/dist/chunks/{repository-zbx1chvt.js → file-px5sh37w.js} +11 -11
  206. package/dist/chunks/{repository-tmrdwbct.js → file-q4629ca0.js} +13 -13
  207. package/dist/chunks/{repository-fhs97t90.js → file-qg0jgkcp.js} +9 -9
  208. package/dist/chunks/{repository-1fg9yqa8.js → file-qjbq15hs.js} +4 -4
  209. package/dist/chunks/{repository-qsdy395h.js → file-qsdy395h.js} +1 -1
  210. package/dist/chunks/{repository-k73yd5yd.js → file-r3pg8356.js} +3 -3
  211. package/dist/chunks/{repository-m8akdy0v.js → file-r7nh0yvy.js} +24 -24
  212. package/dist/chunks/{repository-5w45afp5.js → file-r8cnjpdy.js} +3 -3
  213. package/dist/chunks/{repository-rdw6cm16.js → file-rdw6cm16.js} +1 -1
  214. package/dist/chunks/{repository-3sz2bchy.js → file-rmkrm11x.js} +15 -15
  215. package/dist/chunks/{repository-5zhg5203.js → file-rtbbky2x.js} +7 -7
  216. package/dist/chunks/{repository-99e2g3zc.js → file-rtqwcmtr.js} +35 -35
  217. package/dist/chunks/{repository-38d1cmqw.js → file-s56qzf8n.js} +23 -23
  218. package/dist/chunks/{repository-s5erq2b1.js → file-s5e6zdc6.js} +15 -15
  219. package/dist/chunks/{repository-mt8rgcqf.js → file-s6j88jt8.js} +3 -3
  220. package/dist/chunks/{repository-pjy5167v.js → file-sez37x1t.js} +26 -26
  221. package/dist/chunks/{repository-qdvbds2a.js → file-sp8y8b7b.js} +20 -20
  222. package/dist/chunks/{repository-6gcwrvb4.js → file-t44gpkd9.js} +9 -9
  223. package/dist/chunks/{repository-snkcc4fb.js → file-t7ffcjc5.js} +4 -4
  224. package/dist/chunks/{repository-1z7773kr.js → file-t8t6b7x0.js} +10 -10
  225. package/dist/chunks/{repository-tqd2p7vb.js → file-t9s0mbhm.js} +15 -15
  226. package/dist/chunks/{repository-tazgh4e4.js → file-tazgh4e4.js} +1 -1
  227. package/dist/chunks/{repository-tcezcvh9.js → file-tcezcvh9.js} +1 -1
  228. package/dist/chunks/{repository-tdstcens.js → file-tdstcens.js} +1 -1
  229. package/dist/chunks/{repository-y4e3v118.js → file-tkd8wqpt.js} +18 -18
  230. package/dist/chunks/{repository-tvtrv512.js → file-tvtrv512.js} +1 -1
  231. package/dist/chunks/{repository-j7j31x51.js → file-tz2j9nz1.js} +6 -6
  232. package/dist/chunks/{repository-hmc4zdtv.js → file-tz47dz5v.js} +2 -2
  233. package/dist/chunks/{repository-xwfaabrj.js → file-v23xd7nj.js} +6 -6
  234. package/dist/chunks/{repository-zd485wpt.js → file-v53gfhad.js} +7 -7
  235. package/dist/chunks/{repository-spdwqtpn.js → file-v5brccvm.js} +9 -9
  236. package/dist/chunks/{repository-krbqxjpe.js → file-v9qkps81.js} +8 -8
  237. package/dist/chunks/{repository-aj9sfs2c.js → file-vcewcf3p.js} +7 -7
  238. package/dist/chunks/{repository-xetzeabr.js → file-vcnb347p.js} +21 -21
  239. package/dist/chunks/{repository-veqvce7d.js → file-veqvce7d.js} +1 -1
  240. package/dist/chunks/{repository-7ns1f3fm.js → file-vtede9h4.js} +5 -5
  241. package/dist/chunks/{repository-vzcthcp8.js → file-vzcthcp8.js} +1 -1
  242. package/dist/chunks/{repository-w3wsvvr9.js → file-w3wsvvr9.js} +1 -1
  243. package/dist/chunks/{repository-29eh7px0.js → file-w418y777.js} +15 -15
  244. package/dist/chunks/{repository-ccs15j7g.js → file-w676f2yv.js} +22 -22
  245. package/dist/chunks/{repository-0294hark.js → file-w6dmyrhq.js} +88 -88
  246. package/dist/chunks/{repository-tgyp3sag.js → file-w7bw98z6.js} +30 -30
  247. package/dist/chunks/{repository-wd87259q.js → file-wd87259q.js} +1 -1
  248. package/dist/chunks/{repository-xv28g7bs.js → file-wf1szsxf.js} +4 -4
  249. package/dist/chunks/{repository-ce65tj11.js → file-wj40hwr9.js} +43 -43
  250. package/dist/chunks/{repository-rz6nd0at.js → file-wkmpenx3.js} +20 -20
  251. package/dist/chunks/{repository-kypwaetd.js → file-ws1k4zdc.js} +14 -14
  252. package/dist/chunks/{repository-aqcfb23j.js → file-wvp89zrt.js} +9 -9
  253. package/dist/chunks/{repository-etckb5nd.js → file-wxsy39h8.js} +24 -24
  254. package/dist/chunks/{repository-x1ezjp6w.js → file-x1ezjp6w.js} +1 -1
  255. package/dist/chunks/{repository-pnstgbf5.js → file-x2dr3d7k.js} +16 -16
  256. package/dist/chunks/{repository-96r3cgq7.js → file-x3rxtwc7.js} +9 -9
  257. package/dist/chunks/{repository-vm6v9059.js → file-xfzgb354.js} +11 -11
  258. package/dist/chunks/{repository-xg9t41r3.js → file-xg9t41r3.js} +2 -2
  259. package/dist/chunks/{repository-7a8n5hjw.js → file-xgt31tjm.js} +8 -8
  260. package/dist/chunks/{repository-zqkcer71.js → file-xshcj497.js} +27 -27
  261. package/dist/chunks/{repository-j7d6k5qg.js → file-xsqcdhn5.js} +3 -3
  262. package/dist/chunks/{repository-y1fvbwt7.js → file-y1fvbwt7.js} +1 -1
  263. package/dist/chunks/{repository-dpkg50ah.js → file-y71avatq.js} +4 -4
  264. package/dist/chunks/{repository-1vr0zdnx.js → file-y8n92kwn.js} +6 -6
  265. package/dist/chunks/{repository-k7smy2rd.js → file-ya5dy726.js} +6 -6
  266. package/dist/chunks/{repository-89avhe1g.js → file-ydt9pqf5.js} +11 -11
  267. package/dist/chunks/{repository-tf0sfjy1.js → file-yebv8twa.js} +13 -13
  268. package/dist/chunks/{repository-yp2x3t23.js → file-yp2x3t23.js} +1 -1
  269. package/dist/chunks/{repository-fn8r46yt.js → file-yqcj9em5.js} +23 -23
  270. package/dist/chunks/{repository-sfq66c4x.js → file-yr29whj8.js} +27 -27
  271. package/dist/chunks/{repository-yrhqyw5v.js → file-yrhqyw5v.js} +1 -1
  272. package/dist/chunks/{repository-yrznvahk.js → file-yrznvahk.js} +2 -2
  273. package/dist/chunks/{repository-e48wdnmq.js → file-yt24apy5.js} +15 -15
  274. package/dist/chunks/{repository-z0bkrqjs.js → file-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{repository-3pkejnne.js → file-z2yza9q7.js} +26 -26
  276. package/dist/chunks/{repository-jp1thbes.js → file-z3nk8zw6.js} +36 -36
  277. package/dist/chunks/{repository-c2d5mwvj.js → file-z3v71fe4.js} +47 -47
  278. package/dist/chunks/{repository-z63w68vq.js → file-z63w68vq.js} +2 -2
  279. package/dist/chunks/{repository-zeh9ct20.js → file-zeh9ct20.js} +2 -2
  280. package/dist/chunks/{repository-qmyzm461.js → file-zen0tk5x.js} +12 -12
  281. package/dist/chunks/{repository-kjczd05a.js → file-zg8bah5t.js} +19 -19
  282. package/dist/chunks/{repository-s9a2knzy.js → file-zhvjewb1.js} +8 -8
  283. package/dist/chunks/{repository-zr2ceqn5.js → file-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{repository-zxq2ej10.js → file-zxq2ej10.js} +1 -1
  285. package/dist/chunks/{repository-1z0t5xwh.js → file-zyfew8ns.js} +24 -24
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +9 -9
  288. package/dist/codemode/tool.js +3 -3
  289. package/dist/codemode/web.js +1 -1
  290. package/dist/command.js +84 -84
  291. package/dist/config/discovery.js +81 -81
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +105 -105
  294. package/dist/config/plugin/agent.js +122 -122
  295. package/dist/config/plugin/command.js +211 -211
  296. package/dist/config/plugin/compaction.js +159 -159
  297. package/dist/config/plugin/compatibility.js +138 -138
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +123 -123
  300. package/dist/config/plugin/image.js +122 -122
  301. package/dist/config/plugin/instruction.js +89 -89
  302. package/dist/config/plugin/location-watcher.js +124 -124
  303. package/dist/config/plugin/mcp.js +129 -129
  304. package/dist/config/plugin/policy.js +120 -120
  305. package/dist/config/plugin/provider.js +122 -122
  306. package/dist/config/plugin/reference.js +124 -124
  307. package/dist/config/plugin/shell.js +122 -122
  308. package/dist/config/plugin/skill-file.js +101 -101
  309. package/dist/config/plugin/skill.js +141 -141
  310. package/dist/config/plugin/snapshot.js +122 -122
  311. package/dist/config/plugin/source.js +123 -123
  312. package/dist/config/plugin/tool-output.js +124 -124
  313. package/dist/config/plugin/websearch.js +121 -121
  314. package/dist/config/plugin/worktree.js +124 -124
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +127 -127
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +74 -74
  320. package/dist/database/database.js +71 -71
  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 +78 -78
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +366 -366
  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 +92 -92
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +92 -92
  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 +71 -71
  409. package/dist/file-access.js +103 -103
  410. package/dist/file-mutation.js +89 -89
  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 +226 -226
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +102 -102
  422. package/dist/filesystem/watcher-binding.js +1 -1
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +103 -103
  425. package/dist/form.js +85 -85
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +86 -86
  428. package/dist/generate.js +102 -102
  429. package/dist/git.js +10 -10
  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 +90 -90
  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 +357 -357
  454. package/dist/instruction-discovery.js +84 -84
  455. package/dist/instructions/builtins.js +86 -86
  456. package/dist/instructions/index.js +3 -3
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +77 -77
  459. package/dist/job.js +76 -76
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +72 -72
  462. package/dist/location-activity.js +132 -132
  463. package/dist/location-lifecycle.js +105 -105
  464. package/dist/location-mutation.js +103 -103
  465. package/dist/location-service-map.js +85 -85
  466. package/dist/location-services.js +354 -354
  467. package/dist/location.js +84 -84
  468. package/dist/mcp/client.js +90 -90
  469. package/dist/mcp/index.js +107 -107
  470. package/dist/mcp/instructions.js +127 -127
  471. package/dist/mcp/oauth.js +77 -77
  472. package/dist/mcp/stdio.js +89 -89
  473. package/dist/mime.js +1 -1
  474. package/dist/modal/models.js +90 -90
  475. package/dist/model-resolver.js +97 -97
  476. package/dist/model.js +97 -97
  477. package/dist/models-dev.js +98 -98
  478. package/dist/oauth/page.js +1 -1
  479. package/dist/permission/saved.js +77 -77
  480. package/dist/permission/sql.js +5 -5
  481. package/dist/permission.js +110 -110
  482. package/dist/persistent-pty/binary.bun.js +1 -1
  483. package/dist/persistent-pty/daemon.js +1 -1
  484. package/dist/persistent-pty/index.js +85 -85
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +74 -74
  487. package/dist/plugin/agent.js +101 -101
  488. package/dist/plugin/command.js +98 -98
  489. package/dist/plugin/hooks.js +5 -5
  490. package/dist/plugin/host.js +217 -217
  491. package/dist/plugin/identity.js +3 -3
  492. package/dist/plugin/instance.js +5 -5
  493. package/dist/plugin/internal.js +328 -328
  494. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  495. package/dist/plugin/models-dev.js +95 -95
  496. package/dist/plugin/module.js +5 -5
  497. package/dist/plugin/optimize.js +2 -2
  498. package/dist/plugin/plan.js +99 -99
  499. package/dist/plugin/promise.js +1 -1
  500. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  501. package/dist/plugin/provider/azure.js +121 -121
  502. package/dist/plugin/provider/cerebras.js +1 -1
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +118 -118
  507. package/dist/plugin/provider/digitalocean.js +92 -92
  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 +92 -92
  512. package/dist/plugin/provider/gitlab.js +90 -90
  513. package/dist/plugin/provider/google-vertex.js +89 -89
  514. package/dist/plugin/provider/kilo.js +1 -1
  515. package/dist/plugin/provider/llmgateway.js +76 -76
  516. package/dist/plugin/provider/lmstudio.js +119 -119
  517. package/dist/plugin/provider/modal.js +91 -91
  518. package/dist/plugin/provider/nvidia.js +1 -1
  519. package/dist/plugin/provider/ollama.js +121 -121
  520. package/dist/plugin/provider/openai.js +91 -91
  521. package/dist/plugin/provider/opencode.js +92 -92
  522. package/dist/plugin/provider/openrouter.js +90 -90
  523. package/dist/plugin/provider/perplexity.js +2 -2
  524. package/dist/plugin/provider/poe.js +77 -77
  525. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  526. package/dist/plugin/provider/sap-ai-core.js +90 -90
  527. package/dist/plugin/provider/sdk-factory.js +1 -1
  528. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  529. package/dist/plugin/provider/venice.js +2 -2
  530. package/dist/plugin/provider/vercel.js +89 -89
  531. package/dist/plugin/provider/vllm.js +121 -121
  532. package/dist/plugin/provider/xai.js +90 -90
  533. package/dist/plugin/provider/zenmux.js +1 -1
  534. package/dist/plugin/provider.js +158 -158
  535. package/dist/plugin/sdk.js +75 -75
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +136 -136
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +345 -345
  540. package/dist/plugin/update.js +6 -6
  541. package/dist/plugin/vcs/git.js +85 -85
  542. package/dist/plugin/vcs/hg.js +85 -85
  543. package/dist/plugin/warming.js +120 -120
  544. package/dist/plugin/websearch/exa.js +7 -7
  545. package/dist/plugin/websearch/firecrawl.js +8 -8
  546. package/dist/plugin/websearch/index.js +9 -9
  547. package/dist/plugin/websearch/mcp.js +2 -2
  548. package/dist/plugin/websearch/parallel.js +8 -8
  549. package/dist/plugin/websearch/tavily.js +6 -6
  550. package/dist/plugin/websearch/tinyfish.js +8 -8
  551. package/dist/plugin.js +224 -224
  552. package/dist/project/schema.js +6 -6
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +85 -85
  555. package/dist/provider.js +90 -90
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/schema.js +1 -1
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +89 -89
  560. package/dist/reference/instructions.js +88 -88
  561. package/dist/reference.js +90 -90
  562. package/dist/repository-cache.js +80 -80
  563. package/dist/repository.js +1 -1
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +96 -96
  566. package/dist/rpc.js +85 -85
  567. package/dist/schema.js +1 -1
  568. package/dist/session/command.js +73 -73
  569. package/dist/session/compaction.js +129 -129
  570. package/dist/session/context.js +151 -151
  571. package/dist/session/diff.js +87 -87
  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 +221 -221
  576. package/dist/session/execution.js +125 -125
  577. package/dist/session/generate.js +152 -152
  578. package/dist/session/history.js +13 -13
  579. package/dist/session/inbox.js +85 -85
  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 +96 -96
  584. package/dist/session/message-updater.js +2 -2
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +118 -118
  587. package/dist/session/model-transport.js +9 -9
  588. package/dist/session/move.js +129 -129
  589. package/dist/session/projector.js +85 -85
  590. package/dist/session/prompt.js +104 -104
  591. package/dist/session/provider-context.js +3 -3
  592. package/dist/session/revert.js +89 -89
  593. package/dist/session/run-coordinator.js +1 -1
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +230 -230
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +97 -97
  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 +123 -123
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +1 -1
  603. package/dist/session/session.js +171 -171
  604. package/dist/session/shell.js +137 -137
  605. package/dist/session/skill.js +102 -102
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +74 -74
  608. package/dist/session/store.js +82 -82
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +209 -209
  611. package/dist/session/system-prompt.js +3 -3
  612. package/dist/session/title.js +153 -153
  613. package/dist/session/to-session-error.js +110 -110
  614. package/dist/session/transfer.js +218 -218
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +215 -215
  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 +9 -9
  621. package/dist/shell.js +137 -137
  622. package/dist/skill/discovery.js +6 -6
  623. package/dist/skill/instructions.js +106 -106
  624. package/dist/skill.js +111 -111
  625. package/dist/snapshot.js +84 -84
  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 +124 -124
  630. package/dist/tool/plugin/edit.js +119 -119
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +123 -123
  633. package/dist/tool/plugin/grep.js +123 -123
  634. package/dist/tool/plugin/opencode.js +1 -1
  635. package/dist/tool/plugin/patch.js +117 -117
  636. package/dist/tool/plugin/question.js +102 -102
  637. package/dist/tool/plugin/read.js +124 -124
  638. package/dist/tool/plugin/shell.js +208 -208
  639. package/dist/tool/plugin/skill.js +110 -110
  640. package/dist/tool/plugin/subagent.js +218 -218
  641. package/dist/tool/plugin/webfetch.js +109 -109
  642. package/dist/tool/plugin/websearch.js +111 -111
  643. package/dist/tool/plugin/write.js +119 -119
  644. package/dist/tool/read-filesystem.js +99 -99
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +8 -8
  647. package/dist/tool.js +14 -14
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/git-executable.js +2 -2
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +5 -5
  658. package/dist/v1/config/attachment.js +4 -4
  659. package/dist/v1/config/command.js +5 -5
  660. package/dist/v1/config/config.js +16 -16
  661. package/dist/v1/config/error.js +2 -2
  662. package/dist/v1/config/formatter.js +5 -5
  663. package/dist/v1/config/layout.js +1 -1
  664. package/dist/v1/config/lsp.js +5 -5
  665. package/dist/v1/config/mcp.js +4 -4
  666. package/dist/v1/config/migrate.js +91 -91
  667. package/dist/v1/config/permission.js +3 -3
  668. package/dist/v1/config/plugin.js +3 -3
  669. package/dist/v1/config/provider-options.js +1 -1
  670. package/dist/v1/config/provider.js +4 -4
  671. package/dist/v1/config/server.js +2 -2
  672. package/dist/v1/config/skills.js +3 -3
  673. package/dist/v1/permission.js +1 -1
  674. package/dist/variant.js +90 -90
  675. package/dist/vcs/patch.js +1 -1
  676. package/dist/vcs.js +88 -88
  677. package/dist/websearch.js +83 -83
  678. package/dist/wellknown/plugin.js +75 -75
  679. package/dist/wellknown.js +76 -76
  680. package/dist/workspace/driver.js +5 -5
  681. package/dist/workspace/sql.js +1 -1
  682. package/dist/workspace.js +79 -79
  683. package/dist/worktree/directory.js +2 -2
  684. package/dist/worktree/git.js +10 -10
  685. package/dist/worktree/sql.js +5 -5
  686. package/dist/worktree/strategies.js +88 -88
  687. package/dist/worktree.js +93 -93
  688. package/package.json +8 -8
  689. package/dist/chunks/repository-by5v678g.js +0 -18
  690. package/dist/chunks/repository-e83h8wp6.js +0 -252
  691. package/dist/chunks/repository-p7df8h7a.js +0 -26
  692. /package/dist/chunks/{repository-0mesazry.js → file-0mesazry.js} +0 -0
  693. /package/dist/chunks/{repository-0qkdqm5v.js → file-0qkdqm5v.js} +0 -0
  694. /package/dist/chunks/{repository-0zkw76rk.js → file-0zkw76rk.js} +0 -0
  695. /package/dist/chunks/{repository-17cy0kzp.js → file-17cy0kzp.js} +0 -0
  696. /package/dist/chunks/{repository-1cnp2v09.js → file-1cnp2v09.js} +0 -0
  697. /package/dist/chunks/{repository-1kg9ymc8.js → file-1kg9ymc8.js} +0 -0
  698. /package/dist/chunks/{repository-24dcb14g.js → file-24dcb14g.js} +0 -0
  699. /package/dist/chunks/{repository-2710q6r3.js → file-2710q6r3.js} +0 -0
  700. /package/dist/chunks/{repository-2axfhc9x.js → file-2axfhc9x.js} +0 -0
  701. /package/dist/chunks/{repository-2c3vjs8z.js → file-2c3vjs8z.js} +0 -0
  702. /package/dist/chunks/{repository-359p4xyc.js → file-359p4xyc.js} +0 -0
  703. /package/dist/chunks/{repository-3asan66x.js → file-3asan66x.js} +0 -0
  704. /package/dist/chunks/{repository-3v8g72cx.js → file-3v8g72cx.js} +0 -0
  705. /package/dist/chunks/{repository-3w5fmr99.js → file-3w5fmr99.js} +0 -0
  706. /package/dist/chunks/{repository-3wcehsnq.js → file-3wcehsnq.js} +0 -0
  707. /package/dist/chunks/{repository-43n2bw4t.js → file-43n2bw4t.js} +0 -0
  708. /package/dist/chunks/{repository-4knz6hnm.js → file-4knz6hnm.js} +0 -0
  709. /package/dist/chunks/{repository-4vcrnpx2.js → file-4vcrnpx2.js} +0 -0
  710. /package/dist/chunks/{repository-4y7fprxs.js → file-4y7fprxs.js} +0 -0
  711. /package/dist/chunks/{repository-53557ph1.js → file-53557ph1.js} +0 -0
  712. /package/dist/chunks/{repository-550bvhaj.js → file-550bvhaj.js} +0 -0
  713. /package/dist/chunks/{repository-5qd3pb7m.js → file-5qd3pb7m.js} +0 -0
  714. /package/dist/chunks/{repository-6prwharc.js → file-6prwharc.js} +0 -0
  715. /package/dist/chunks/{repository-7akdwqpd.js → file-7akdwqpd.js} +0 -0
  716. /package/dist/chunks/{repository-7m9af43g.js → file-7m9af43g.js} +0 -0
  717. /package/dist/chunks/{repository-822emrt2.js → file-822emrt2.js} +0 -0
  718. /package/dist/chunks/{repository-88xbtdfr.js → file-88xbtdfr.js} +0 -0
  719. /package/dist/chunks/{repository-8n3pysct.js → file-8n3pysct.js} +0 -0
  720. /package/dist/chunks/{repository-922hggd3.js → file-922hggd3.js} +0 -0
  721. /package/dist/chunks/{repository-9a4afbnw.js → file-9a4afbnw.js} +0 -0
  722. /package/dist/chunks/{repository-9rqn6x4v.js → file-9rqn6x4v.js} +0 -0
  723. /package/dist/chunks/{repository-a6k6eb26.js → file-a6k6eb26.js} +0 -0
  724. /package/dist/chunks/{repository-af5trqkr.js → file-af5trqkr.js} +0 -0
  725. /package/dist/chunks/{repository-afrmfg78.js → file-afrmfg78.js} +0 -0
  726. /package/dist/chunks/{repository-aqzs7mqg.js → file-aqzs7mqg.js} +0 -0
  727. /package/dist/chunks/{repository-atq7p7m5.js → file-atq7p7m5.js} +0 -0
  728. /package/dist/chunks/{repository-bkyjaxrp.js → file-bkyjaxrp.js} +0 -0
  729. /package/dist/chunks/{repository-bmr6ed5q.js → file-bmr6ed5q.js} +0 -0
  730. /package/dist/chunks/{repository-cf4snx6d.js → file-cf4snx6d.js} +0 -0
  731. /package/dist/chunks/{repository-cvy3z8tj.js → file-cvy3z8tj.js} +0 -0
  732. /package/dist/chunks/{repository-d9fn303g.js → file-d9fn303g.js} +0 -0
  733. /package/dist/chunks/{repository-d9jj8t3e.js → file-d9jj8t3e.js} +0 -0
  734. /package/dist/chunks/{repository-dajrwvna.js → file-dajrwvna.js} +0 -0
  735. /package/dist/chunks/{repository-dap0rakb.js → file-dap0rakb.js} +0 -0
  736. /package/dist/chunks/{repository-df08tz66.js → file-df08tz66.js} +0 -0
  737. /package/dist/chunks/{repository-dy18nga0.js → file-dy18nga0.js} +0 -0
  738. /package/dist/chunks/{repository-e5kj55wp.js → file-e5kj55wp.js} +0 -0
  739. /package/dist/chunks/{repository-e73j6tqm.js → file-e73j6tqm.js} +0 -0
  740. /package/dist/chunks/{repository-ec1grn59.js → file-ec1grn59.js} +0 -0
  741. /package/dist/chunks/{repository-eh3zwz77.js → file-eh3zwz77.js} +0 -0
  742. /package/dist/chunks/{repository-emrn6kk6.js → file-emrn6kk6.js} +0 -0
  743. /package/dist/chunks/{repository-f0mxakyp.js → file-f0mxakyp.js} +0 -0
  744. /package/dist/chunks/{repository-f6n9ztr4.js → file-f6n9ztr4.js} +0 -0
  745. /package/dist/chunks/{repository-faypxj3z.js → file-faypxj3z.js} +0 -0
  746. /package/dist/chunks/{repository-fd410y7t.js → file-fd410y7t.js} +0 -0
  747. /package/dist/chunks/{repository-fxgpk5d8.js → file-fxgpk5d8.js} +0 -0
  748. /package/dist/chunks/{repository-g4wezp1m.js → file-g4wezp1m.js} +0 -0
  749. /package/dist/chunks/{repository-g86h250q.js → file-g86h250q.js} +0 -0
  750. /package/dist/chunks/{repository-gebd4c9n.js → file-gebd4c9n.js} +0 -0
  751. /package/dist/chunks/{repository-gftt206x.js → file-gftt206x.js} +0 -0
  752. /package/dist/chunks/{repository-hjbc5kem.js → file-hjbc5kem.js} +0 -0
  753. /package/dist/chunks/{repository-hk9envan.js → file-hk9envan.js} +0 -0
  754. /package/dist/chunks/{repository-j2ntwpah.js → file-j2ntwpah.js} +0 -0
  755. /package/dist/chunks/{repository-j5zkgpj8.js → file-j5zkgpj8.js} +0 -0
  756. /package/dist/chunks/{repository-j7wq2tw5.js → file-j7wq2tw5.js} +0 -0
  757. /package/dist/chunks/{repository-jjkms2e6.js → file-jjkms2e6.js} +0 -0
  758. /package/dist/chunks/{repository-jr7sbwjy.js → file-jr7sbwjy.js} +0 -0
  759. /package/dist/chunks/{repository-jwfs4k6c.js → file-jwfs4k6c.js} +0 -0
  760. /package/dist/chunks/{repository-jzg6c2d5.js → file-jzg6c2d5.js} +0 -0
  761. /package/dist/chunks/{repository-mp448xyj.js → file-mp448xyj.js} +0 -0
  762. /package/dist/chunks/{repository-msx8hqn2.js → file-msx8hqn2.js} +0 -0
  763. /package/dist/chunks/{repository-n05xt0ee.js → file-n05xt0ee.js} +0 -0
  764. /package/dist/chunks/{repository-n3j8tn72.js → file-n3j8tn72.js} +0 -0
  765. /package/dist/chunks/{repository-njntx4h6.js → file-njntx4h6.js} +0 -0
  766. /package/dist/chunks/{repository-q3sfg36h.js → file-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{repository-q74kybfr.js → file-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{repository-qaymkmh1.js → file-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{repository-qb87gjwd.js → file-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{repository-qfa1cgps.js → file-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{repository-qg3g05ea.js → file-qg3g05ea.js} +0 -0
  772. /package/dist/chunks/{repository-qrg20bc0.js → file-qrg20bc0.js} +0 -0
  773. /package/dist/chunks/{repository-rcb2kzg1.js → file-rcb2kzg1.js} +0 -0
  774. /package/dist/chunks/{repository-sdp7kfr6.js → file-sdp7kfr6.js} +0 -0
  775. /package/dist/chunks/{repository-sk3qaz4a.js → file-sk3qaz4a.js} +0 -0
  776. /package/dist/chunks/{repository-ssg3fenm.js → file-ssg3fenm.js} +0 -0
  777. /package/dist/chunks/{repository-twg0f83k.js → file-twg0f83k.js} +0 -0
  778. /package/dist/chunks/{repository-w803qqfp.js → file-w803qqfp.js} +0 -0
  779. /package/dist/chunks/{repository-wc3fc9cn.js → file-wc3fc9cn.js} +0 -0
  780. /package/dist/chunks/{repository-wer8tq1h.js → file-wer8tq1h.js} +0 -0
  781. /package/dist/chunks/{repository-wtztk69x.js → file-wtztk69x.js} +0 -0
  782. /package/dist/chunks/{repository-x0ckcb58.js → file-x0ckcb58.js} +0 -0
  783. /package/dist/chunks/{repository-x61499pn.js → file-x61499pn.js} +0 -0
  784. /package/dist/chunks/{repository-y44na4kk.js → file-y44na4kk.js} +0 -0
  785. /package/dist/chunks/{repository-y8cydn3q.js → file-y8cydn3q.js} +0 -0
  786. /package/dist/chunks/{repository-y8f7s663.js → file-y8f7s663.js} +0 -0
  787. /package/dist/chunks/{repository-ygaqb7jw.js → file-ygaqb7jw.js} +0 -0
  788. /package/dist/chunks/{repository-ym463w8f.js → file-ym463w8f.js} +0 -0
  789. /package/dist/chunks/{repository-z9919s4g.js → file-z9919s4g.js} +0 -0
@@ -1,72 +1,72 @@
1
1
  import {
2
- Service63
3
- } from "./repository-38d1cmqw.js";
2
+ Service62
3
+ } from "./file-s56qzf8n.js";
4
4
  import {
5
5
  Service15,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./repository-aj9sfs2c.js";
8
+ } from "./file-vcewcf3p.js";
9
9
  import {
10
- Service20
11
- } from "./repository-jef2745y.js";
10
+ Service40
11
+ } from "./file-g6mb1r40.js";
12
12
  import {
13
- Service71
14
- } from "./repository-btjhzyrj.js";
13
+ Service72
14
+ } from "./file-6r536pd1.js";
15
15
  import {
16
- Service70
17
- } from "./repository-9gzsgfm4.js";
16
+ Service41
17
+ } from "./file-6v4peh9p.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./repository-6prwharc.js";
20
+ } from "./file-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./repository-9rqn6x4v.js";
23
+ } from "./file-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input2,
29
- Output: () => Output2,
30
- Plugin: () => Plugin21,
28
+ Input: () => Input3,
29
+ Output: () => Output3,
30
+ Plugin: () => Plugin22,
31
31
  WriteTool: () => exports_write,
32
- name: () => name2,
32
+ name: () => name3,
33
33
  toModelContent: () => toModelContent2
34
34
  });
35
35
  import { ToolFailure } from "@opencode/ai";
36
36
  import { Effect, Schema } from "effect";
37
37
  import { Bom } from "@opencode/util/bom";
38
- var name2 = "write";
39
- var Input2 = Schema.Struct({
38
+ var name3 = "write";
39
+ var Input3 = Schema.Struct({
40
40
  path: Schema.String.annotate({
41
41
  description: "Path to the file to write to"
42
42
  }),
43
43
  content: Schema.String.annotate({ description: "Content to write to the file" })
44
44
  });
45
- var Output2 = Schema.Struct({
45
+ var Output3 = Schema.Struct({
46
46
  operation: Schema.Literal("write"),
47
47
  target: Schema.String,
48
48
  resource: Schema.String,
49
49
  existed: Schema.Boolean
50
50
  });
51
51
  var toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin21 = {
52
+ var Plugin22 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service70;
55
+ const access = yield* Service41;
56
56
  const fileMutation = yield* Service15;
57
- const environment = yield* Service63;
58
- const formatter = yield* Service20;
59
- const permission = yield* Service71;
57
+ const environment = yield* Service62;
58
+ const formatter = yield* Service40;
59
+ const permission = yield* Service72;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name2,
61
+ name: name3,
62
62
  options: { codemode: false, permission: "edit" },
63
63
  description: `Writes a file to the local filesystem, overwriting if one exists.
64
64
 
65
65
  Missing parent directories are created automatically.
66
66
 
67
67
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
68
- input: Input2,
69
- output: Output2,
68
+ input: Input3,
69
+ output: Output3,
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  const source = {
72
72
  type: "tool",
@@ -98,4 +98,4 @@ Use this tool to create new files or overwrite existing files. For partial chang
98
98
  })
99
99
  };
100
100
 
101
- export { name2, Input2, Output2, toModelContent2, Plugin21, exports_write };
101
+ export { name3, Input3, Output3, toModelContent2, Plugin22, exports_write };
@@ -1,13 +1,13 @@
1
1
  import {
2
- ID7,
2
+ ID8,
3
3
  Family2
4
- } from "./repository-2z51qmx0.js";
4
+ } from "./file-9eyeqmd2.js";
5
5
  import {
6
- Service46
7
- } from "./repository-7k43vd6t.js";
6
+ Service58
7
+ } from "./file-ame7p0bf.js";
8
8
  import {
9
9
  foldSettings2
10
- } from "./repository-j7j31x51.js";
10
+ } from "./file-tz2j9nz1.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 make7(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
48
+ function make9(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* Service46;
53
+ const config = yield* Service58;
54
54
  const source = { current: configured(yield* config.entries(), origin) };
55
55
  const loaded = { models: [], hash: "[]" };
56
56
  yield* ctx.integration.transform((integrations) => {
@@ -77,7 +77,7 @@ function make7(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
77
77
  });
78
78
  for (const item of loaded.models) {
79
79
  providers.models.update(providerID, item.model, (model) => {
80
- model.modelID = ID7.make(item.model);
80
+ model.modelID = ID8.make(item.model);
81
81
  model.name = item.name || item.model;
82
82
  model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
83
83
  model.capabilities = {
@@ -151,7 +151,7 @@ function make7(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
151
151
  })
152
152
  });
153
153
  }
154
- var OllamaPlugin2 = make7();
154
+ var OllamaPlugin2 = make9();
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 { make7, OllamaPlugin2 };
173
+ export { make9, OllamaPlugin2 };
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  ID10,
3
- Service67,
3
+ Service68,
4
4
  node71
5
- } from "./repository-yqgrxd6e.js";
5
+ } from "./file-3qzhexf6.js";
6
6
  import {
7
7
  ID9,
8
8
  isAISDK2,
@@ -11,23 +11,23 @@ import {
11
11
  nativeSettings2,
12
12
  mergeOverlay2,
13
13
  mergeHeaders2,
14
- Service66,
14
+ Service67,
15
15
  node70
16
- } from "./repository-8sp84cjn.js";
16
+ } from "./file-g7z2c8ev.js";
17
17
  import {
18
- Service65,
19
- node69
20
- } from "./repository-aqcfb23j.js";
18
+ Service54,
19
+ node56
20
+ } from "./file-wvp89zrt.js";
21
21
  import {
22
- ID7,
22
+ ID8,
23
23
  VariantID2,
24
24
  Ref2,
25
- Service59,
26
- node62
27
- } from "./repository-2z51qmx0.js";
25
+ Service66,
26
+ node69
27
+ } from "./file-9eyeqmd2.js";
28
28
  import {
29
29
  __export
30
- } from "./repository-9rqn6x4v.js";
30
+ } from "./file-9rqn6x4v.js";
31
31
 
32
32
  // src/model-resolver.ts
33
33
  var exports_model_resolver = {};
@@ -36,15 +36,15 @@ __export(exports_model_resolver, {
36
36
  ModelConfigurationError: () => ModelConfigurationError3,
37
37
  ModelInitializationError: () => ModelInitializationError3,
38
38
  ModelResolver: () => exports_model_resolver,
39
- Service: () => Service58,
39
+ Service: () => Service52,
40
40
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
41
41
  UnsupportedCompactionError: () => UnsupportedCompactionError3,
42
42
  UnsupportedPackageError: () => UnsupportedPackageError3,
43
43
  VariantUnavailableError: () => VariantUnavailableError3,
44
44
  fromCatalogModel: () => fromCatalogModel2,
45
45
  hasPackage: () => hasPackage2,
46
- layer: () => layer23,
47
- node: () => node61,
46
+ layer: () => layer20,
47
+ node: () => node54,
48
48
  resolveModel: () => resolveModel2,
49
49
  withVariant: () => withVariant2
50
50
  });
@@ -55,7 +55,7 @@ import { Context, Effect, Layer, Schema, Struct } from "effect";
55
55
  import { Npm } from "@opencode/util/npm";
56
56
  class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
57
57
  providerID: ID9,
58
- modelID: ID7,
58
+ modelID: ID8,
59
59
  variant: VariantID2
60
60
  }) {
61
61
  get message() {
@@ -65,7 +65,7 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
65
65
 
66
66
  class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
67
67
  providerID: ID9,
68
- modelID: ID7,
68
+ modelID: ID8,
69
69
  package: Schema.String
70
70
  }) {
71
71
  get message() {
@@ -76,7 +76,7 @@ var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
76
76
 
77
77
  class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
78
78
  providerID: ID9,
79
- modelID: ID7,
79
+ modelID: ID8,
80
80
  package: Schema.String,
81
81
  detail: Schema.String
82
82
  }) {
@@ -87,7 +87,7 @@ class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.
87
87
 
88
88
  class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
89
89
  providerID: ID9,
90
- modelID: ID7,
90
+ modelID: ID8,
91
91
  package: Schema.String,
92
92
  phase: InitializationPhase2,
93
93
  detail: Schema.String
@@ -99,7 +99,7 @@ class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel
99
99
 
100
100
  class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
101
101
  providerID: ID9,
102
- modelID: ID7,
102
+ modelID: ID8,
103
103
  variables: Schema.Array(Schema.String)
104
104
  }) {
105
105
  get message() {
@@ -109,7 +109,7 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
109
109
 
110
110
  class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
111
111
  providerID: ID9,
112
- modelID: ID7,
112
+ modelID: ID8,
113
113
  route: Schema.String
114
114
  }) {
115
115
  get message() {
@@ -117,7 +117,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
117
117
  }
118
118
  }
119
119
 
120
- class Service58 extends Context.Service()("@opencode/ModelResolver") {
120
+ class Service52 extends Context.Service()("@opencode/ModelResolver") {
121
121
  }
122
122
  var withVariant2 = (model, variantID) => {
123
123
  const id = variantID === "default" ? undefined : variantID;
@@ -257,12 +257,12 @@ var causeMessage = (cause) => {
257
257
  };
258
258
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
259
259
  var hasPackage2 = (model) => Boolean(model.package);
260
- var layer23 = Layer.effect(Service58, Effect.gen(function* () {
261
- const providers = yield* Service66;
262
- const models = yield* Service59;
263
- const integrations = yield* Service67;
260
+ var layer20 = Layer.effect(Service52, Effect.gen(function* () {
261
+ const providers = yield* Service67;
262
+ const models = yield* Service66;
263
+ const integrations = yield* Service68;
264
264
  const npm = yield* Npm.Service;
265
- const aisdk = yield* Service65;
265
+ const aisdk = yield* Service54;
266
266
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
267
267
  const provider = yield* providers.get(selected.providerID);
268
268
  const connection = yield* integrations.connection.active(provider?.integrationID ?? ID10.make(selected.providerID));
@@ -287,7 +287,7 @@ var layer23 = Layer.effect(Service58, Effect.gen(function* () {
287
287
  transport: selected.transport
288
288
  };
289
289
  });
290
- return Service58.of({
290
+ return Service52.of({
291
291
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
292
292
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
293
293
  if (!selected)
@@ -304,10 +304,10 @@ function usesAPIKeyAuth(packageName) {
304
304
  const name = packageName2(packageName);
305
305
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
306
306
  }
307
- var node61 = makeLocationNode({
308
- service: Service58,
309
- layer: layer23,
310
- deps: [node70, node62, node71, Npm.node, node69]
307
+ var node54 = makeLocationNode({
308
+ service: Service52,
309
+ layer: layer20,
310
+ deps: [node70, node69, node71, Npm.node, node56]
311
311
  });
312
312
 
313
- export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service58, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer23, node61, exports_model_resolver };
313
+ export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service52, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer20, node54, exports_model_resolver };
@@ -0,0 +1,252 @@
1
+ import {
2
+ node78
3
+ } from "./file-zg8bah5t.js";
4
+ import {
5
+ node81
6
+ } from "./file-kynetcxa.js";
7
+ import {
8
+ node71
9
+ } from "./file-3qzhexf6.js";
10
+ import {
11
+ node80,
12
+ boundNode2
13
+ } from "./file-fpkmmq0f.js";
14
+ import {
15
+ node70
16
+ } from "./file-g7z2c8ev.js";
17
+ import {
18
+ node56
19
+ } from "./file-wvp89zrt.js";
20
+ import {
21
+ node69
22
+ } from "./file-9eyeqmd2.js";
23
+ import {
24
+ node82
25
+ } from "./file-z2yza9q7.js";
26
+ import {
27
+ configured7,
28
+ node60
29
+ } from "./file-ame7p0bf.js";
30
+ import {
31
+ node64
32
+ } from "./file-s56qzf8n.js";
33
+ import {
34
+ node17
35
+ } from "./file-vcewcf3p.js";
36
+ import {
37
+ node43
38
+ } from "./file-g6mb1r40.js";
39
+ import {
40
+ node40
41
+ } from "./file-22br4zbr.js";
42
+ import {
43
+ node39
44
+ } from "./file-xshcj497.js";
45
+ import {
46
+ node54
47
+ } from "./file-361xm3ya.js";
48
+ import {
49
+ node34
50
+ } from "./file-22wh6ycc.js";
51
+ import {
52
+ node57
53
+ } from "./file-5e1pzs32.js";
54
+ import {
55
+ node31
56
+ } from "./file-hxzqr5y1.js";
57
+ import {
58
+ Service50,
59
+ node52
60
+ } from "./file-h896pcm5.js";
61
+ import {
62
+ node23
63
+ } from "./file-hphfs7r7.js";
64
+ import {
65
+ node79
66
+ } from "./file-n0tq777j.js";
67
+ import {
68
+ node75
69
+ } from "./file-6r536pd1.js";
70
+ import {
71
+ node51
72
+ } from "./file-hz1es13a.js";
73
+ import {
74
+ configured4,
75
+ node33
76
+ } from "./file-sez37x1t.js";
77
+ import {
78
+ node27
79
+ } from "./file-rmkrm11x.js";
80
+ import {
81
+ node41
82
+ } from "./file-h0jmq7yk.js";
83
+ import {
84
+ node28
85
+ } from "./file-e3fp033c.js";
86
+ import {
87
+ node37
88
+ } from "./file-kz33qt24.js";
89
+ import {
90
+ node30
91
+ } from "./file-9xbxnfqb.js";
92
+ import {
93
+ node42
94
+ } from "./file-42mthp08.js";
95
+ import {
96
+ node29
97
+ } from "./file-az4c37nw.js";
98
+ import {
99
+ node21
100
+ } from "./file-ja67c5z9.js";
101
+ import {
102
+ node45
103
+ } from "./file-wkmpenx3.js";
104
+ import {
105
+ node63
106
+ } from "./file-8y3wyrth.js";
107
+ import {
108
+ node67
109
+ } from "./file-g7jvb7c9.js";
110
+ import {
111
+ node58
112
+ } from "./file-wj40hwr9.js";
113
+ import {
114
+ node74
115
+ } from "./file-x2dr3d7k.js";
116
+ import {
117
+ node32
118
+ } from "./file-263r72ym.js";
119
+ import {
120
+ node48
121
+ } from "./file-k83v2y4t.js";
122
+ import {
123
+ node36
124
+ } from "./file-sp8y8b7b.js";
125
+ import {
126
+ node18
127
+ } from "./file-3fhknkx8.js";
128
+ import {
129
+ node2
130
+ } from "./file-8nkxt6xp.js";
131
+ import {
132
+ Service70,
133
+ node73
134
+ } from "./file-yr29whj8.js";
135
+ import {
136
+ node44
137
+ } from "./file-6v4peh9p.js";
138
+ import {
139
+ node7,
140
+ bound2
141
+ } from "./file-cmwkp3r5.js";
142
+ import {
143
+ node9
144
+ } from "./file-w676f2yv.js";
145
+ import {
146
+ node10
147
+ } from "./file-5jsx19yx.js";
148
+ import {
149
+ node11
150
+ } from "./file-t9s0mbhm.js";
151
+ import {
152
+ node5
153
+ } from "./file-z3nk8zw6.js";
154
+ import {
155
+ node15
156
+ } from "./file-n1jh56hb.js";
157
+ import {
158
+ node4
159
+ } from "./file-g5fh27jm.js";
160
+ import {
161
+ node3
162
+ } from "./file-hmwvdnz2.js";
163
+ import {
164
+ __export
165
+ } from "./file-9rqn6x4v.js";
166
+
167
+ // src/instance.ts
168
+ var exports_instance = {};
169
+ __export(exports_instance, {
170
+ Instance: () => exports_instance,
171
+ Service: () => Service50,
172
+ graph: () => graph2,
173
+ layer: () => layer2,
174
+ node: () => node52
175
+ });
176
+ import { Context, Effect, Layer } from "effect";
177
+ import { LayerNode } from "@opencode/util/effect/layer-node";
178
+ import { Node } from "@opencode/util/effect/app-node";
179
+ var nodes = [
180
+ node80,
181
+ node73,
182
+ node64,
183
+ node60,
184
+ node78,
185
+ node82,
186
+ node37,
187
+ node74,
188
+ node48,
189
+ node71,
190
+ node70,
191
+ node69,
192
+ node54,
193
+ node56,
194
+ node18,
195
+ node79,
196
+ node7,
197
+ node5,
198
+ node36,
199
+ node40,
200
+ node39,
201
+ node63,
202
+ node15,
203
+ node58,
204
+ node42,
205
+ node27,
206
+ node33,
207
+ node44,
208
+ node17,
209
+ node43,
210
+ node31,
211
+ node75,
212
+ node41,
213
+ node67,
214
+ node57,
215
+ node29,
216
+ node30,
217
+ node23,
218
+ node81,
219
+ node34,
220
+ node11,
221
+ node28,
222
+ node10,
223
+ node51,
224
+ node9,
225
+ node4,
226
+ node21,
227
+ node45,
228
+ node3,
229
+ node32,
230
+ node2
231
+ ];
232
+ var graph2 = LayerNode.group(nodes);
233
+ var vanillaReplacements = [
234
+ node60.replace(configured7({ project: false, global: false })),
235
+ node33.replace(configured4({ project: false, global: false }))
236
+ ];
237
+ function layer2(ref, options = {}) {
238
+ const startedAt = performance.now();
239
+ const replacements = [
240
+ ...options.discovery === false ? vanillaReplacements : [],
241
+ ...options.replacements ?? [],
242
+ node80.replace(boundNode2(ref, { discovery: options.discovery })),
243
+ node7.replace(bound2(options.plugins ?? []))
244
+ ];
245
+ return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.orDie, Layer.tap((context) => Effect.addFinalizer(() => Context.get(context, Service70).shutdown)), Layer.tap(() => Effect.logInfo("location services booted", {
246
+ directory: ref.directory,
247
+ workspaceID: ref.workspaceID,
248
+ durationMs: Math.round(performance.now() - startedAt)
249
+ })));
250
+ }
251
+
252
+ export { graph2, layer2, exports_instance };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-9rqn6x4v.js";
3
+ } from "./file-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/catalog.ts
6
6
  var exports_catalog = {};
@@ -1,48 +1,48 @@
1
1
  import {
2
- Service81
3
- } from "./repository-8dbdhz5n.js";
2
+ Service82
3
+ } from "./file-p0rshxbh.js";
4
4
  import {
5
- Service80
6
- } from "./repository-1ax7tqy2.js";
5
+ Service65
6
+ } from "./file-n31hfr13.js";
7
7
  import {
8
8
  group2,
9
9
  batch2,
10
10
  shutdown2,
11
11
  inherit2
12
- } from "./repository-rdw6cm16.js";
12
+ } from "./file-rdw6cm16.js";
13
13
  import {
14
- Service34,
14
+ Service27,
15
15
  awaitActivation2
16
- } from "./repository-by5v678g.js";
16
+ } from "./file-1x11rq2a.js";
17
17
  import {
18
18
  make11,
19
19
  requirements3,
20
20
  storage2
21
- } from "./repository-5bgvk8my.js";
21
+ } from "./file-3kke03kt.js";
22
22
  import {
23
23
  __export
24
- } from "./repository-9rqn6x4v.js";
24
+ } from "./file-9rqn6x4v.js";
25
25
 
26
26
  // src/plugin.ts
27
27
  var exports_plugin2 = {};
28
28
  __export(exports_plugin2, {
29
- Event: () => Event5,
29
+ Event: () => Event4,
30
30
  ID: () => ID3,
31
31
  Info: () => Info3,
32
32
  Plugin: () => exports_plugin2,
33
- Service: () => Service34,
33
+ Service: () => Service27,
34
34
  Source: () => Source2,
35
35
  State: () => State2,
36
36
  awaitActivation: () => awaitActivation2,
37
- node: () => node23
37
+ node: () => node18
38
38
  });
39
- import { Event as Event5, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
39
+ import { Event as Event4, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
40
40
  import { Plugin } from "@opencode/schema/plugin";
41
41
  import { Node } from "@opencode/util/effect/app-node";
42
42
  import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
43
- var layer = Layer.effect(Service34, Effect.gen(function* () {
44
- const bus = yield* Service81;
45
- const kv = yield* Service80;
43
+ var layer = Layer.effect(Service27, Effect.gen(function* () {
44
+ const bus = yield* Service82;
45
+ const kv = yield* Service65;
46
46
  const scope = yield* Scope.make();
47
47
  const active = new Map;
48
48
  const lock = Semaphore.makeUnsafe(1);
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
205
205
  yield* shutdown2(Scope.close(scope, exit));
206
206
  }));
207
207
  yield* Effect.addFinalizer(close);
208
- return Service34.of({
208
+ return Service27.of({
209
209
  activate,
210
210
  close,
211
211
  awaitActivation: ready.await,
@@ -222,10 +222,10 @@ function slotInfo(slot) {
222
222
  features: { server: true, ...slot.plugin.features }
223
223
  };
224
224
  }
225
- var node23 = Node.makeLocationNode({
226
- service: Service34,
225
+ var node18 = Node.makeLocationNode({
226
+ service: Service27,
227
227
  layer,
228
228
  deps: [requirements3]
229
229
  });
230
230
 
231
- export { node23, exports_plugin2, Event5, ID3, Info3, Source2, State2 };
231
+ export { node18, exports_plugin2, Event4, ID3, Info3, Source2, State2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./repository-qfa1cgps.js";
3
+ } from "./file-qfa1cgps.js";
4
4
 
5
5
  // src/kv/sql.ts
6
6
  import { sqliteTable, text } from "drizzle-orm/sqlite-core";