@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,38 +1,38 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service81,
3
+ Service82,
4
4
  node85
5
- } from "./repository-8dbdhz5n.js";
5
+ } from "./file-p0rshxbh.js";
6
6
  import {
7
7
  __export
8
- } from "./repository-9rqn6x4v.js";
8
+ } from "./file-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: () => Service5,
14
+ Service: () => Service12,
15
15
  Updated: () => Updated2,
16
- layer: () => layer6,
17
- node: () => node7
16
+ layer: () => layer7,
17
+ node: () => node14
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 Service5 extends Context.Service()("@opencode/SdkPlugins") {
23
+ class Service12 extends Context.Service()("@opencode/SdkPlugins") {
24
24
  }
25
- var layer6 = Layer.effect(Service5, Effect.gen(function* () {
26
- const bus = yield* Service81;
25
+ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
26
+ const bus = yield* Service82;
27
27
  const plugins = new Map;
28
28
  let revision = 0;
29
- return Service5.of({
29
+ return Service12.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 node7 = makeGlobalNode({ service: Service5, layer: layer6, deps: [node85] });
36
+ var node14 = makeGlobalNode({ service: Service12, layer: layer7, deps: [node85] });
37
37
 
38
- export { Updated2, Service5, layer6, node7, exports_sdk };
38
+ export { Updated2, Service12, layer7, node14, exports_sdk };
@@ -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/config/markdown.ts
6
6
  var exports_markdown = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  create3
3
- } from "./repository-rdw6cm16.js";
3
+ } from "./file-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./repository-9rqn6x4v.js";
6
+ } from "./file-9rqn6x4v.js";
7
7
 
8
8
  // src/image.ts
9
9
  var exports_image2 = {};
@@ -11,9 +11,9 @@ __export(exports_image2, {
11
11
  DecodeError: () => DecodeError2,
12
12
  Image: () => exports_image2,
13
13
  ResizerUnavailableError: () => ResizerUnavailableError2,
14
- Service: () => Service56,
14
+ Service: () => Service55,
15
15
  SizeError: () => SizeError2,
16
- node: () => node59
16
+ node: () => node57
17
17
  });
18
18
  import { makeLocationNode } from "@opencode/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
42
42
  }
43
43
  }
44
44
 
45
- class Service56 extends Context.Service()("@opencode/Image") {
45
+ class Service55 extends Context.Service()("@opencode/Image") {
46
46
  }
47
- var layer = Layer.effect(Service56, Effect.gen(function* () {
47
+ var layer = Layer.effect(Service55, Effect.gen(function* () {
48
48
  const state = create3({
49
49
  name: "image",
50
50
  initial: () => ({
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
74
74
  const normalize = yield* loadAdapter;
75
75
  return yield* normalize(resource, content, state.get());
76
76
  });
77
- return Service56.of({ transform: state.transform, reload: state.reload, normalize });
77
+ return Service55.of({ transform: state.transform, reload: state.reload, normalize });
78
78
  }));
79
- var node59 = makeLocationNode({ service: Service56, layer, deps: [] });
79
+ var node57 = makeLocationNode({ service: Service55, layer, deps: [] });
80
80
 
81
- export { ResizerUnavailableError2, DecodeError2, SizeError2, Service56, node59, exports_image2 };
81
+ export { ResizerUnavailableError2, DecodeError2, SizeError2, Service55, node57, exports_image2 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  ID9
3
- } from "./repository-8sp84cjn.js";
3
+ } from "./file-g7z2c8ev.js";
4
4
  import {
5
5
  iife2
6
- } from "./repository-1kg9ymc8.js";
6
+ } from "./file-1kg9ymc8.js";
7
7
  import {
8
8
  configuredSettings2
9
- } from "./repository-j7j31x51.js";
9
+ } from "./file-tz2j9nz1.js";
10
10
 
11
11
  // src/plugin/provider/cloudflare-ai-gateway.ts
12
12
  import { Effect } from "effect";
@@ -1,34 +1,34 @@
1
1
  import {
2
- Service82
3
- } from "./repository-3gq312nc.js";
2
+ Service83
3
+ } from "./file-bpnjy3z7.js";
4
4
  import {
5
- Service81
6
- } from "./repository-8dbdhz5n.js";
5
+ Service82
6
+ } from "./file-p0rshxbh.js";
7
7
  import {
8
- Service52
9
- } from "./repository-xcd0eash.js";
8
+ Service50
9
+ } from "./file-h896pcm5.js";
10
10
  import {
11
11
  RelativePath2
12
- } from "./repository-922hggd3.js";
12
+ } from "./file-922hggd3.js";
13
13
  import {
14
14
  ID5,
15
15
  Service42
16
- } from "./repository-rz6nd0at.js";
16
+ } from "./file-wkmpenx3.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./repository-ec1grn59.js";
19
+ } from "./file-ec1grn59.js";
20
20
  import {
21
21
  SessionMessage2
22
- } from "./repository-gftt206x.js";
22
+ } from "./file-gftt206x.js";
23
23
  import {
24
24
  MessageNotFoundError2
25
- } from "./repository-1vr0zdnx.js";
25
+ } from "./file-y8n92kwn.js";
26
26
  import {
27
27
  SessionMessageTable2
28
- } from "./repository-5c4hm403.js";
28
+ } from "./file-a1bz86dw.js";
29
29
  import {
30
30
  __export
31
- } from "./repository-9rqn6x4v.js";
31
+ } from "./file-9rqn6x4v.js";
32
32
 
33
33
  // src/session/revert.ts
34
34
  var exports_revert = {};
@@ -42,9 +42,9 @@ __export(exports_revert, {
42
42
  import { and, asc, eq, gt } from "drizzle-orm";
43
43
  import { Effect, Schema } from "effect";
44
44
  var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
45
- const instances = yield* Service52;
46
- const database = yield* Service82;
47
- const bus = yield* Service81;
45
+ const instances = yield* Service50;
46
+ const database = yield* Service83;
47
+ const bus = yield* Service82;
48
48
  return yield* Effect.gen(function* () {
49
49
  const snapshot = yield* Service42;
50
50
  const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
@@ -74,8 +74,8 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
74
74
  }).pipe(instances.provide(input.session));
75
75
  });
76
76
  var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
77
- const instances = yield* Service52;
78
- const bus = yield* Service81;
77
+ const instances = yield* Service50;
78
+ const bus = yield* Service82;
79
79
  yield* Effect.gen(function* () {
80
80
  const snapshot = yield* Service42;
81
81
  if (!session.revert)
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service81,
2
+ Service82,
3
3
  node85
4
- } from "./repository-8dbdhz5n.js";
4
+ } from "./file-p0rshxbh.js";
5
5
  import {
6
- Service76,
6
+ Service77,
7
7
  node80
8
- } from "./repository-rkhtkbzg.js";
8
+ } from "./file-fpkmmq0f.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./repository-ec1grn59.js";
11
+ } from "./file-ec1grn59.js";
12
12
  import {
13
- Service72,
13
+ Service73,
14
14
  node76
15
- } from "./repository-122dvtp1.js";
15
+ } from "./file-6grmf33y.js";
16
16
  import {
17
17
  __export
18
- } from "./repository-9rqn6x4v.js";
18
+ } from "./file-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instructions.ts
21
21
  var exports_instructions = {};
22
22
  __export(exports_instructions, {
23
- Service: () => Service9,
23
+ Service: () => Service8,
24
24
  SessionInstructions: () => exports_instructions,
25
- node: () => node11
25
+ node: () => node10
26
26
  });
27
27
  import { relative } from "path";
28
28
  import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
32
32
  instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
33
33
  });
34
34
 
35
- class Service9 extends Context.Service()("@opencode/SessionInstructions") {
35
+ class Service8 extends Context.Service()("@opencode/SessionInstructions") {
36
36
  }
37
- var layer = Layer.effect(Service9, Effect.gen(function* () {
38
- const bus = yield* Service81;
37
+ var layer = Layer.effect(Service8, Effect.gen(function* () {
38
+ const bus = yield* Service82;
39
39
  const fs = yield* FSUtil.Service;
40
- const store = yield* Service72;
41
- const location = yield* Service76;
40
+ const store = yield* Service73;
41
+ const location = yield* Service77;
42
42
  const root = yield* fs.resolve(location.project.directory);
43
43
  const inFlight = yield* Ref.make(new Map);
44
44
  const load = Effect.fn("SessionInstructions.load")(function* (input) {
@@ -84,7 +84,7 @@ ${file.content}`).join(`
84
84
  return next;
85
85
  })));
86
86
  });
87
- return Service9.of({ load });
87
+ return Service8.of({ load });
88
88
  }));
89
89
  function previouslyInjected(store, sessionID) {
90
90
  return Effect.gen(function* () {
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
95
95
  function describePath(root, path) {
96
96
  return FSUtil.contains(root, path) ? relative(root, path) : path;
97
97
  }
98
- var node11 = makeLocationNode({
98
+ var node10 = makeLocationNode({
99
99
  name: "session-instructions",
100
100
  layer,
101
101
  deps: [node85, FSUtil.node, node80, node76]
102
102
  });
103
103
 
104
- export { Service9, node11, exports_instructions };
104
+ export { Service8, node10, exports_instructions };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  WebSocketConstructor2
3
- } from "./repository-y8cydn3q.js";
3
+ } from "./file-y8cydn3q.js";
4
4
  import {
5
5
  __export
6
- } from "./repository-9rqn6x4v.js";
6
+ } from "./file-9rqn6x4v.js";
7
7
 
8
8
  // src/effect/app-node-platform.ts
9
9
  var exports_app_node_platform = {};
@@ -1,24 +1,24 @@
1
1
  import {
2
- Service81
3
- } from "./repository-8dbdhz5n.js";
2
+ Service82
3
+ } from "./file-p0rshxbh.js";
4
4
  import {
5
5
  OAuth3,
6
6
  Event16
7
- } from "./repository-3srb4c33.js";
7
+ } from "./file-018x1ems.js";
8
8
  import {
9
9
  ID10,
10
10
  MethodID2
11
- } from "./repository-yqgrxd6e.js";
11
+ } from "./file-3qzhexf6.js";
12
12
  import {
13
13
  ID9,
14
14
  mergeOverlay2,
15
15
  mergeHeaders2
16
- } from "./repository-8sp84cjn.js";
16
+ } from "./file-g7z2c8ev.js";
17
17
  import {
18
- ID4,
19
- Input13,
18
+ ID6,
19
+ Input14,
20
20
  Response2
21
- } from "./repository-yaamm28n.js";
21
+ } from "./file-k83v2y4t.js";
22
22
 
23
23
  // src/plugin/provider/opencode.ts
24
24
  import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
32
32
  var RemoteResponse = Schema.Struct({
33
33
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
34
34
  websearch: Schema.Struct({
35
- providerID: ID4
35
+ providerID: ID6
36
36
  }).pipe(Schema.optional)
37
37
  });
38
38
  var Device = Schema.Struct({
@@ -108,7 +108,7 @@ function oauth(http) {
108
108
  var OpencodePlugin2 = define({
109
109
  id: "opencode.provider.opencode",
110
110
  effect: Effect.fn(function* (ctx) {
111
- const bus = yield* Service81;
111
+ const bus = yield* Service82;
112
112
  const http = yield* HttpClient.HttpClient;
113
113
  const loading = Semaphore.makeUnsafe(1);
114
114
  let snapshot = { config: undefined, connection: undefined };
@@ -250,7 +250,7 @@ var OpencodePlugin2 = define({
250
250
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
251
251
  const token = credential.type === "oauth" ? credential.access : credential.key;
252
252
  const server = yield* normalizeServer(serverUrl(credential));
253
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
253
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
254
254
  query: input.query,
255
255
  providerID: descriptor.providerID
256
256
  }));
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./repository-ym463w8f.js";
3
+ } from "./file-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/gateway.ts
6
6
  var GatewayPlugin2 = createProviderPlugin2({
@@ -1,59 +1,59 @@
1
1
  import {
2
- Service82,
2
+ Service83,
3
3
  node86
4
- } from "./repository-3gq312nc.js";
4
+ } from "./file-bpnjy3z7.js";
5
5
  import {
6
- Service81,
6
+ Service82,
7
7
  node85
8
- } from "./repository-8dbdhz5n.js";
8
+ } from "./file-p0rshxbh.js";
9
9
  import {
10
- Service53,
11
- node55
12
- } from "./repository-s5erq2b1.js";
10
+ Service51,
11
+ node53
12
+ } from "./file-s5e6zdc6.js";
13
13
  import {
14
- Service52,
15
- node54
16
- } from "./repository-xcd0eash.js";
14
+ Service50,
15
+ node52
16
+ } from "./file-h896pcm5.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./repository-ec1grn59.js";
19
+ } from "./file-ec1grn59.js";
20
20
  import {
21
21
  make16
22
- } from "./repository-yp2x3t23.js";
22
+ } from "./file-yp2x3t23.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service49
26
- } from "./repository-8gxqpgph.js";
25
+ Service47
26
+ } from "./file-embw8kgh.js";
27
27
  import {
28
28
  UserInterruptedError2
29
- } from "./repository-1vr0zdnx.js";
29
+ } from "./file-y8n92kwn.js";
30
30
  import {
31
- Service72,
31
+ Service73,
32
32
  node76
33
- } from "./repository-122dvtp1.js";
33
+ } from "./file-6grmf33y.js";
34
34
  import {
35
35
  toSessionError2
36
- } from "./repository-m2542dxt.js";
36
+ } from "./file-d1mbserq.js";
37
37
  import {
38
38
  nextPromotable2
39
- } from "./repository-v1nykaf9.js";
39
+ } from "./file-4dnw4fzb.js";
40
40
  import {
41
41
  __export
42
- } from "./repository-9rqn6x4v.js";
42
+ } from "./file-9rqn6x4v.js";
43
43
 
44
44
  // src/session/execution.ts
45
45
  var exports_execution = {};
46
46
  __export(exports_execution, {
47
- Service: () => Service48,
47
+ Service: () => Service46,
48
48
  SessionExecution: () => exports_execution,
49
- layer: () => layer20,
50
- node: () => node51,
49
+ layer: () => layer18,
50
+ node: () => node49,
51
51
  noopLayer: () => noopLayer3,
52
52
  terminal: () => terminal2
53
53
  });
54
54
  import { Cause, Context, Effect, Exit, Layer } from "effect";
55
55
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
56
- class Service48 extends Context.Service()("@opencode/SessionExecution") {
56
+ class Service46 extends Context.Service()("@opencode/SessionExecution") {
57
57
  }
58
58
  function terminal2(exit, reason) {
59
59
  if (Exit.isSuccess(exit))
@@ -65,12 +65,12 @@ function terminal2(exit, reason) {
65
65
  return { type: "interrupted", reason: "user" };
66
66
  return { type: "failed", error: toSessionError2(failure) };
67
67
  }
68
- var layer20 = Layer.effect(Service48, Effect.gen(function* () {
69
- const store = yield* Service72;
70
- const instances = yield* Service52;
71
- const bus = yield* Service81;
72
- const jobs = yield* Service53;
73
- const db = (yield* Service82).db;
68
+ var layer18 = Layer.effect(Service46, Effect.gen(function* () {
69
+ const store = yield* Service73;
70
+ const instances = yield* Service50;
71
+ const bus = yield* Service82;
72
+ const jobs = yield* Service51;
73
+ const db = (yield* Service83).db;
74
74
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
75
75
  const claimOnCommit = (sessionID) => ({
76
76
  commit: () => store.claim(sessionID)
@@ -82,7 +82,7 @@ var layer20 = Layer.effect(Service48, Effect.gen(function* () {
82
82
  const session = yield* store.get(sessionID);
83
83
  if (!session)
84
84
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
85
- const result = yield* Service49.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
85
+ const result = yield* Service47.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
86
86
  return yield* DrainResult2.$match(result, {
87
87
  Complete: () => Effect.void,
88
88
  Moved: (result) => drain(sessionID, false, result.continuation, promotable),
@@ -110,7 +110,7 @@ var layer20 = Layer.effect(Service48, Effect.gen(function* () {
110
110
  }, releaseOnCommit(sessionID));
111
111
  }))
112
112
  });
113
- return Service48.of({
113
+ return Service46.of({
114
114
  active: coordinator.active,
115
115
  isActive: coordinator.isActive,
116
116
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -129,12 +129,12 @@ var layer20 = Layer.effect(Service48, Effect.gen(function* () {
129
129
  awaitIdle: coordinator.awaitIdle
130
130
  });
131
131
  }));
132
- var node51 = makeGlobalNode({
133
- service: Service48,
134
- layer: layer20,
135
- deps: [node76, node54, node85, node86, node55]
132
+ var node49 = makeGlobalNode({
133
+ service: Service46,
134
+ layer: layer18,
135
+ deps: [node76, node52, node85, node86, node53]
136
136
  });
137
- var noopLayer3 = Layer.succeed(Service48, Service48.of({
137
+ var noopLayer3 = Layer.succeed(Service46, Service46.of({
138
138
  active: Effect.succeed(new Set),
139
139
  isActive: () => Effect.succeed(false),
140
140
  resume: () => Effect.void,
@@ -143,4 +143,4 @@ var noopLayer3 = Layer.succeed(Service48, Service48.of({
143
143
  awaitIdle: () => Effect.void
144
144
  }));
145
145
 
146
- export { Service48, terminal2, layer20, node51, noopLayer3, exports_execution };
146
+ export { Service46, terminal2, layer18, node49, noopLayer3, exports_execution };
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service82,
2
+ Service83,
3
3
  node86
4
- } from "./repository-3gq312nc.js";
4
+ } from "./file-bpnjy3z7.js";
5
5
  import {
6
6
  SessionTable2,
7
7
  SessionMessageTable2
8
- } from "./repository-5c4hm403.js";
8
+ } from "./file-a1bz86dw.js";
9
9
  import {
10
10
  decodeMessageRow2,
11
11
  load5
12
- } from "./repository-m4x4s9k7.js";
12
+ } from "./file-jh2tjjwa.js";
13
13
  import {
14
14
  fromRow2
15
- } from "./repository-xg9t41r3.js";
15
+ } from "./file-xg9t41r3.js";
16
16
  import {
17
17
  __export
18
- } from "./repository-9rqn6x4v.js";
18
+ } from "./file-9rqn6x4v.js";
19
19
 
20
20
  // src/session/store.ts
21
21
  var exports_store = {};
22
22
  __export(exports_store, {
23
23
  ListInput: () => ListInput4,
24
- Service: () => Service72,
24
+ Service: () => Service73,
25
25
  SessionStore: () => exports_store,
26
26
  node: () => node76
27
27
  });
@@ -52,11 +52,11 @@ var ListProjectInput = Schema.Struct({
52
52
  var ListAllInput = Schema.Struct(ListInputBase);
53
53
  var ListInput4 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
54
54
 
55
- class Service72 extends Context.Service()("@opencode/SessionStore") {
55
+ class Service73 extends Context.Service()("@opencode/SessionStore") {
56
56
  }
57
- var layer = Layer.effect(Service72, Effect.gen(function* () {
58
- const { db } = yield* Service82;
59
- return Service72.of({
57
+ var layer = Layer.effect(Service73, Effect.gen(function* () {
58
+ const { db } = yield* Service83;
59
+ return Service73.of({
60
60
  get: Effect.fnUntraced(function* (sessionID) {
61
61
  const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
62
62
  return row ? fromRow2(row) : undefined;
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
125
125
  })
126
126
  });
127
127
  }));
128
- var node76 = makeGlobalNode({ service: Service72, layer, deps: [node86] });
128
+ var node76 = makeGlobalNode({ service: Service73, layer, deps: [node86] });
129
129
 
130
- export { ListInput4, Service72, node76, exports_store };
130
+ export { ListInput4, Service73, node76, exports_store };
@@ -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/repository.ts
6
6
  var exports_repository = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./repository-922hggd3.js";
3
+ } from "./file-922hggd3.js";
4
4
 
5
5
  // src/database/path.ts
6
6
  import nodePath from "path";