@opencode/core 0.0.0-dev-19861 → 0.0.0-dev-19862

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 (793) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +91 -91
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{app-2geg2a1k.js → image-00qecwt6.js} +20 -20
  8. package/dist/chunks/{app-mc6hyre0.js → image-017kf9ys.js} +10 -10
  9. package/dist/chunks/{app-k4bsvsx7.js → image-03bdbrz9.js} +9 -9
  10. package/dist/chunks/{app-2cvq1298.js → image-067aw8zg.js} +11 -11
  11. package/dist/chunks/{app-26k5bknw.js → image-06dxphr1.js} +4 -4
  12. package/dist/chunks/{app-6zpck6fb.js → image-06pxfyz9.js} +19 -19
  13. package/dist/chunks/{app-5mcxd2xw.js → image-0835j86p.js} +18 -18
  14. package/dist/chunks/{app-nsjkyrtc.js → image-0da5p1c1.js} +6 -6
  15. package/dist/chunks/{app-p7nsp59h.js → image-0gr7cw0d.js} +4 -4
  16. package/dist/chunks/{app-0ft9cg2j.js → image-0jk763hn.js} +6 -6
  17. package/dist/chunks/{app-2vfzc3td.js → image-0k7qqwr6.js} +14 -14
  18. package/dist/chunks/{app-0paq2nw3.js → image-0paq2nw3.js} +1 -1
  19. package/dist/chunks/{app-0q0f95c6.js → image-0q0f95c6.js} +1 -1
  20. package/dist/chunks/{app-eq23s0y6.js → image-0r7yqxbf.js} +5 -5
  21. package/dist/chunks/{app-mtt68vmf.js → image-0vhbx82e.js} +25 -25
  22. package/dist/chunks/{app-fd7vcark.js → image-0vrssnk3.js} +9 -9
  23. package/dist/chunks/{app-vvzdbbdm.js → image-0yqcp4rf.js} +5 -5
  24. package/dist/chunks/{app-4sms2kqp.js → image-139d9d1s.js} +11 -11
  25. package/dist/chunks/{app-4zgg82rk.js → image-13w8yp4j.js} +26 -26
  26. package/dist/chunks/{app-x7hpp0cz.js → image-15ys8njn.js} +12 -12
  27. package/dist/chunks/{app-1dazxqgg.js → image-1dazxqgg.js} +2 -2
  28. package/dist/chunks/{app-a7bdh8gz.js → image-1gsqt67b.js} +71 -71
  29. package/dist/chunks/{app-bvp4gths.js → image-1hc7fkrj.js} +9 -9
  30. package/dist/chunks/{app-p68jy0p0.js → image-1nnxksmf.js} +47 -47
  31. package/dist/chunks/{app-x2ksegs4.js → image-1wwfc5vj.js} +32 -32
  32. package/dist/chunks/{app-mfqp6xfm.js → image-1ygqh575.js} +6 -6
  33. package/dist/chunks/{app-21r38tys.js → image-21r38tys.js} +1 -1
  34. package/dist/chunks/{app-6h73sxmp.js → image-2402vzrj.js} +5 -5
  35. package/dist/chunks/{app-2a5m3afh.js → image-2a5m3afh.js} +1 -1
  36. package/dist/chunks/{app-ekpey0w2.js → image-2dtaqj3b.js} +35 -35
  37. package/dist/chunks/{app-g6q9qykm.js → image-2sejkfem.js} +9 -9
  38. package/dist/chunks/{app-jsze95va.js → image-392652w7.js} +32 -32
  39. package/dist/chunks/{app-gyv5e7s4.js → image-3aa5s156.js} +8 -8
  40. package/dist/chunks/{app-3fc6dm20.js → image-3fc6dm20.js} +1 -1
  41. package/dist/chunks/{app-3hepkmqq.js → image-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{app-rp6k66e5.js → image-3kkyct8v.js} +20 -20
  43. package/dist/chunks/{app-vvysgjv5.js → image-3mqaq5np.js} +10 -10
  44. package/dist/chunks/{app-38wzhxwb.js → image-3r85b2d0.js} +4 -4
  45. package/dist/chunks/{app-3smtnn6g.js → image-3smtnn6g.js} +1 -1
  46. package/dist/chunks/{app-3tvqynh2.js → image-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{app-sg8pmkre.js → image-3yt543f6.js} +23 -23
  48. package/dist/chunks/{app-389ykwvm.js → image-4hka8bb7.js} +85 -85
  49. package/dist/chunks/{app-9e4kz7m2.js → image-4na7n5g4.js} +11 -11
  50. package/dist/chunks/{app-mxn8exwt.js → image-54mjtcx2.js} +20 -20
  51. package/dist/chunks/{app-57ez7d0k.js → image-57ez7d0k.js} +2 -2
  52. package/dist/chunks/{app-a1bz86dw.js → image-5c4hm403.js} +3 -3
  53. package/dist/chunks/{app-wte5xypw.js → image-5d0yg4wn.js} +14 -14
  54. package/dist/chunks/{app-5daktx2q.js → image-5daktx2q.js} +1 -1
  55. package/dist/chunks/{app-7v4vhntb.js → image-5g8m5wq5.js} +19 -19
  56. package/dist/chunks/{app-jqmhvstb.js → image-5gjsyccn.js} +20 -20
  57. package/dist/chunks/{app-853r27ye.js → image-5j3zvexf.js} +8 -8
  58. package/dist/chunks/{app-5t3nmthw.js → image-5t3nmthw.js} +2 -2
  59. package/dist/chunks/{app-4fra59pm.js → image-5z7jsfn8.js} +22 -22
  60. package/dist/chunks/{app-nsvybq32.js → image-638tecg7.js} +40 -40
  61. package/dist/chunks/{app-j9ntjbjw.js → image-63t418ew.js} +7 -7
  62. package/dist/chunks/{app-bhkcwbjr.js → image-63zzvet4.js} +5 -5
  63. package/dist/chunks/{app-669tq793.js → image-669tq793.js} +1 -1
  64. package/dist/chunks/{app-tvm0x603.js → image-68cpew65.js} +18 -18
  65. package/dist/chunks/{app-6msgmcgs.js → image-6msgmcgs.js} +1 -1
  66. package/dist/chunks/{app-tvc1wdcr.js → image-6nt0tvrw.js} +15 -15
  67. package/dist/chunks/{app-112vf93d.js → image-6sw2gfph.js} +84 -84
  68. package/dist/chunks/{app-2qamff3n.js → image-6tz160f2.js} +32 -32
  69. package/dist/chunks/{app-ncjkz9z1.js → image-6vjyz34s.js} +31 -31
  70. package/dist/chunks/{app-73tb2d7t.js → image-73tb2d7t.js} +1 -1
  71. package/dist/chunks/{app-f5sa8sd6.js → image-75m48y27.js} +14 -14
  72. package/dist/chunks/{app-av28j1w8.js → image-7aedyf8y.js} +16 -16
  73. package/dist/chunks/{app-7bmhse3q.js → image-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{app-hb9jrkjm.js → image-7d2amvh8.js} +35 -35
  75. package/dist/chunks/{app-chgm6g41.js → image-7hed1pqr.js} +6 -6
  76. package/dist/chunks/{app-6cbv7e1m.js → image-80xnw93e.js} +29 -29
  77. package/dist/chunks/{app-0abjdy6r.js → image-83v9k6gb.js} +18 -18
  78. package/dist/chunks/{app-fmbxdm3g.js → image-85v7x7ja.js} +6 -6
  79. package/dist/chunks/{app-8d7r5vzw.js → image-8d7r5vzw.js} +1 -1
  80. package/dist/chunks/{app-28h5rqes.js → image-8m5p3kak.js} +29 -29
  81. package/dist/chunks/{app-b9czjycg.js → image-8n5c03n1.js} +33 -33
  82. package/dist/chunks/{app-t1h7jwac.js → image-8nf7zb52.js} +5 -5
  83. package/dist/chunks/{app-2wxycwcj.js → image-939qrfm7.js} +4 -4
  84. package/dist/chunks/{app-dkhfw37f.js → image-99rss5sz.js} +9 -9
  85. package/dist/chunks/{app-7z8cwmc8.js → image-9ad2hkyv.js} +9 -9
  86. package/dist/chunks/{app-1s6r0m01.js → image-9ce3ycbs.js} +17 -17
  87. package/dist/chunks/{app-yz0qd2c9.js → image-9qe4ywed.js} +7 -7
  88. package/dist/chunks/{app-58g4rptp.js → image-9r51n9hr.js} +6 -6
  89. package/dist/chunks/{app-zpaje10v.js → image-a2kgmd7p.js} +9 -9
  90. package/dist/chunks/{app-zv0ss7ka.js → image-a5tpsryw.js} +22 -22
  91. package/dist/chunks/{app-fqgzk7pv.js → image-aa59mvw4.js} +5 -5
  92. package/dist/chunks/{app-aaet6srn.js → image-aaet6srn.js} +2 -2
  93. package/dist/chunks/{app-x40kz2n8.js → image-achqs0ef.js} +41 -41
  94. package/dist/chunks/{app-w34drh26.js → image-af4zwpq7.js} +20 -20
  95. package/dist/chunks/{app-xtc9razg.js → image-ajycawkw.js} +5 -5
  96. package/dist/chunks/{app-rf46get4.js → image-am6ahzm8.js} +13 -13
  97. package/dist/chunks/{app-22ad72dw.js → image-b07nf375.js} +8 -8
  98. package/dist/chunks/{app-738nz2x0.js → image-b28k5m4e.js} +6 -6
  99. package/dist/chunks/{app-b6gygkdw.js → image-b6gygkdw.js} +2 -2
  100. package/dist/chunks/{app-5k0e0nr1.js → image-b6xhrpje.js} +6 -6
  101. package/dist/chunks/{app-f8m84gb8.js → image-b8f7f8xf.js} +10 -10
  102. package/dist/chunks/{app-9y617vrz.js → image-b92qxpxf.js} +5 -5
  103. package/dist/chunks/{app-2ac6pq5r.js → image-b93h32n1.js} +39 -39
  104. package/dist/chunks/{app-kwpbznt7.js → image-bakjtvbk.js} +29 -29
  105. package/dist/chunks/{app-wxv7zk66.js → image-bernzkb8.js} +5 -5
  106. package/dist/chunks/{app-cq4zkgfg.js → image-bfxp4173.js} +4 -4
  107. package/dist/chunks/{app-dschqtcd.js → image-bm9qws1e.js} +35 -35
  108. package/dist/chunks/{app-m6r2z606.js → image-bqc3tr0a.js} +4 -4
  109. package/dist/chunks/{app-f1nv3393.js → image-brs92t9y.js} +1 -1
  110. package/dist/chunks/{app-r8pm2v0t.js → image-bs4dv3xv.js} +4 -4
  111. package/dist/chunks/image-bva6afj8.js +252 -0
  112. package/dist/chunks/{app-b97cbvw3.js → image-bz85s9hh.js} +1 -1
  113. package/dist/chunks/{app-j9swzztf.js → image-c08p7789.js} +42 -42
  114. package/dist/chunks/{app-mqt5419d.js → image-c488s98d.js} +5 -5
  115. package/dist/chunks/{app-85xe0f8m.js → image-c6s8nrx6.js} +25 -25
  116. package/dist/chunks/{app-0mdd29xx.js → image-cd64px2y.js} +21 -21
  117. package/dist/chunks/{app-k9av316b.js → image-cejtc14z.js} +58 -58
  118. package/dist/chunks/{app-4at0py5f.js → image-ck7eh7w1.js} +3 -3
  119. package/dist/chunks/{app-ka94gqqd.js → image-cnnrtqe3.js} +4 -4
  120. package/dist/chunks/{app-4n86frb8.js → image-dc3m2m7k.js} +18 -18
  121. package/dist/chunks/{app-8p4f9s12.js → image-dj2t23y0.js} +2 -2
  122. package/dist/chunks/{app-zsby4d12.js → image-dq8pkjkv.js} +5 -5
  123. package/dist/chunks/{app-tgkpsbpf.js → image-dqswddfv.js} +11 -11
  124. package/dist/chunks/{app-57b9ws8p.js → image-drwq78ky.js} +5 -5
  125. package/dist/chunks/{app-9c7b93gn.js → image-e0t237xz.js} +22 -22
  126. package/dist/chunks/{app-wkv4p1cn.js → image-e1fwdt11.js} +13 -13
  127. package/dist/chunks/{app-d216944b.js → image-edrmdtr5.js} +4 -4
  128. package/dist/chunks/{app-ef5x83kb.js → image-ef5x83kb.js} +1 -1
  129. package/dist/chunks/{app-erw5rpbs.js → image-erw5rpbs.js} +2 -2
  130. package/dist/chunks/{app-etq0c3wd.js → image-etq0c3wd.js} +1 -1
  131. package/dist/chunks/{app-evbgk2k8.js → image-evbgk2k8.js} +2 -2
  132. package/dist/chunks/{app-yp2x3t23.js → image-f2n192rq.js} +4 -4
  133. package/dist/chunks/{app-qvreyy9g.js → image-f62qkzqr.js} +5 -5
  134. package/dist/chunks/{app-xf8yqmad.js → image-fdms3n6w.js} +9 -9
  135. package/dist/chunks/{app-xfdrc2qg.js → image-fkjmw100.js} +8 -8
  136. package/dist/chunks/{app-eag6ew45.js → image-fqzse3my.js} +5 -5
  137. package/dist/chunks/{app-qaqrrstf.js → image-fx36as45.js} +9 -9
  138. package/dist/chunks/{app-fxbjtjnd.js → image-fxbjtjnd.js} +1 -1
  139. package/dist/chunks/{app-2q6kkxxq.js → image-fxmgg4aj.js} +4 -4
  140. package/dist/chunks/{app-166kng33.js → image-g1sxm558.js} +8 -8
  141. package/dist/chunks/{app-gd4qta3r.js → image-gd4qta3r.js} +1 -1
  142. package/dist/chunks/{app-n010fk1p.js → image-ghg8jnyk.js} +22 -22
  143. package/dist/chunks/{app-e5p9gmcw.js → image-gnf9d3h8.js} +47 -47
  144. package/dist/chunks/{app-gv6a8nnw.js → image-gv6a8nnw.js} +2 -2
  145. package/dist/chunks/{app-epkvv2f5.js → image-gxhy3et5.js} +22 -22
  146. package/dist/chunks/{app-cpj0znwe.js → image-h6r3nrb9.js} +4 -4
  147. package/dist/chunks/{app-h6vf3j39.js → image-h6vf3j39.js} +1 -1
  148. package/dist/chunks/{app-xfc78b52.js → image-h9q6ezy0.js} +8 -8
  149. package/dist/chunks/{app-f828m53h.js → image-hdnk95c8.js} +2 -2
  150. package/dist/chunks/{app-eyq5w0tx.js → image-he6r5g0j.js} +316 -316
  151. package/dist/chunks/{app-ee831jk2.js → image-hebcgj7p.js} +22 -22
  152. package/dist/chunks/{app-qnzzh3bs.js → image-hgbj0d9k.js} +27 -27
  153. package/dist/chunks/{app-ndb5d06d.js → image-hh7bdvx5.js} +45 -45
  154. package/dist/chunks/{app-b33ezyym.js → image-hmfwemxz.js} +24 -24
  155. package/dist/chunks/{app-2a16gamj.js → image-htj8j8jj.js} +9 -9
  156. package/dist/chunks/{app-j56e64zr.js → image-j56e64zr.js} +1 -1
  157. package/dist/chunks/{app-q2b1ymqp.js → image-j83byb14.js} +4 -4
  158. package/dist/chunks/{app-zcbk9ecm.js → image-j88pc17k.js} +2 -2
  159. package/dist/chunks/{app-0g0hpnxh.js → image-jcm0a15m.js} +13 -13
  160. package/dist/chunks/{app-46jhmsf5.js → image-jh2v76ff.js} +23 -23
  161. package/dist/chunks/{app-szkxvq7w.js → image-jhgm4sfk.js} +17 -17
  162. package/dist/chunks/{app-0w62qmxp.js → image-k18ytf7m.js} +6 -6
  163. package/dist/chunks/{app-0yfh2cv4.js → image-k3myxckw.js} +13 -13
  164. package/dist/chunks/{app-b778p09a.js → image-k7w7z65h.js} +27 -27
  165. package/dist/chunks/{app-a29a0jzg.js → image-kad21c22.js} +22 -22
  166. package/dist/chunks/{app-kne8f3cn.js → image-kne8f3cn.js} +1 -1
  167. package/dist/chunks/{app-fmcqyzhx.js → image-kvjzkr2v.js} +9 -9
  168. package/dist/chunks/{app-50mzsvk4.js → image-kvvk39gs.js} +4 -4
  169. package/dist/chunks/{app-awyb8gv9.js → image-kxftmbpv.js} +9 -9
  170. package/dist/chunks/{app-qakm37pj.js → image-kxr8hxb3.js} +40 -40
  171. package/dist/chunks/{app-vmgq4x8b.js → image-ky3seynh.js} +2 -2
  172. package/dist/chunks/{app-cfpkc3c9.js → image-m0jqrx5p.js} +2 -2
  173. package/dist/chunks/{app-m3fdjcah.js → image-m3fdjcah.js} +1 -1
  174. package/dist/chunks/{app-m9w0rfyh.js → image-m9w0rfyh.js} +1 -1
  175. package/dist/chunks/{app-ctezbzm4.js → image-mfqth6d2.js} +29 -29
  176. package/dist/chunks/{app-3m48w42r.js → image-mjqa8qhd.js} +11 -11
  177. package/dist/chunks/{app-ns15zm60.js → image-mqxcq9ag.js} +6 -6
  178. package/dist/chunks/{app-mx9vqzsb.js → image-mx9vqzsb.js} +1 -1
  179. package/dist/chunks/{app-5g373dvk.js → image-mz8r1y5r.js} +24 -24
  180. package/dist/chunks/{app-r9763r4t.js → image-n3z0jc6w.js} +10 -10
  181. package/dist/chunks/{app-sbxv4cwa.js → image-n58zg6xk.js} +4 -4
  182. package/dist/chunks/{app-04rey2jp.js → image-n6m7m23y.js} +28 -28
  183. package/dist/chunks/{app-kyrzxw1k.js → image-nfq1y937.js} +13 -13
  184. package/dist/chunks/{app-35gwdmsd.js → image-ngbz3444.js} +17 -17
  185. package/dist/chunks/{app-jnsj711q.js → image-nh62er5d.js} +1 -1
  186. package/dist/chunks/image-nnk2tvfv.js +26 -0
  187. package/dist/chunks/{app-bfwz5rjc.js → image-nrjct5b1.js} +5 -5
  188. package/dist/chunks/{app-tvshepj5.js → image-nrth0by3.js} +26 -26
  189. package/dist/chunks/{app-ga3zpfks.js → image-nrzntby6.js} +32 -32
  190. package/dist/chunks/{app-64cefnnt.js → image-nswb885p.js} +23 -23
  191. package/dist/chunks/{app-nzks3jc8.js → image-nzks3jc8.js} +3 -3
  192. package/dist/chunks/{app-phstrbs2.js → image-p37cw4rj.js} +8 -8
  193. package/dist/chunks/{app-0n8krxan.js → image-p6ztvwk7.js} +26 -26
  194. package/dist/chunks/{app-xam4y82e.js → image-pgj5ednv.js} +25 -25
  195. package/dist/chunks/{app-pjvnvgmy.js → image-pjvnvgmy.js} +1 -1
  196. package/dist/chunks/{app-fvfb3fd0.js → image-pkjmx7wp.js} +26 -26
  197. package/dist/chunks/{app-pknna89w.js → image-pknna89w.js} +1 -1
  198. package/dist/chunks/{app-tv3z4kj6.js → image-pkww5a5n.js} +20 -20
  199. package/dist/chunks/{app-7v9wscx3.js → image-pm6agkr2.js} +31 -31
  200. package/dist/chunks/{app-90dayy4w.js → image-pnjgrh73.js} +6 -6
  201. package/dist/chunks/{app-yq2cczkq.js → image-pt3jfr41.js} +9 -9
  202. package/dist/chunks/{app-wes8p5ff.js → image-pwh698z3.js} +181 -181
  203. package/dist/chunks/{app-b589hzzy.js → image-q00xwa84.js} +42 -42
  204. package/dist/chunks/{app-gb5spw7h.js → image-q0sffv6r.js} +10 -10
  205. package/dist/chunks/{app-4rep1cc0.js → image-q2r517dv.js} +29 -29
  206. package/dist/chunks/{app-ktcan3rf.js → image-q400cd05.js} +18 -18
  207. package/dist/chunks/{app-9ywxax6f.js → image-q4w4v6pe.js} +24 -24
  208. package/dist/chunks/{app-zk19rc5h.js → image-q7h916em.js} +20 -20
  209. package/dist/chunks/{app-cx4wm8ch.js → image-qeyp0y11.js} +22 -22
  210. package/dist/chunks/{app-m2d0j7c0.js → image-qg0jgkcp.js} +9 -9
  211. package/dist/chunks/{app-qgn6gcr1.js → image-qgn6gcr1.js} +1 -1
  212. package/dist/chunks/{app-jnt1kwnr.js → image-qrwkhvtb.js} +3 -3
  213. package/dist/chunks/{app-qsdy395h.js → image-qsdy395h.js} +1 -1
  214. package/dist/chunks/{app-mvtp2pry.js → image-r3qstv61.js} +13 -13
  215. package/dist/chunks/{app-p7kkfgfy.js → image-r4f58m0w.js} +7 -7
  216. package/dist/chunks/{app-5749a7rt.js → image-r9ajpy6d.js} +23 -23
  217. package/dist/chunks/{app-03s1nxke.js → image-ran5413e.js} +11 -11
  218. package/dist/chunks/{app-rdw6cm16.js → image-rdw6cm16.js} +1 -1
  219. package/dist/chunks/{app-a3kq1sqa.js → image-rg7f2efc.js} +11 -11
  220. package/dist/chunks/{app-eaj1djv9.js → image-rhjbct0v.js} +8 -8
  221. package/dist/chunks/{app-qjymz4e2.js → image-rjmnh9z2.js} +3 -3
  222. package/dist/chunks/{app-29eh7px0.js → image-rp8s9nv0.js} +17 -17
  223. package/dist/chunks/{app-dz7gaz91.js → image-rt3jmkn7.js} +43 -43
  224. package/dist/chunks/{app-jkwh4gcj.js → image-rvtsy6rd.js} +32 -32
  225. package/dist/chunks/{app-cr07tj7n.js → image-s8zy8myc.js} +5 -5
  226. package/dist/chunks/{app-cz0bpax2.js → image-sacqr7ez.js} +7 -7
  227. package/dist/chunks/{app-pdcy4k2y.js → image-sbprf0jz.js} +9 -9
  228. package/dist/chunks/{app-gwsdqkfn.js → image-sfky6qr3.js} +28 -28
  229. package/dist/chunks/{app-k94qrc8k.js → image-skc6rhzm.js} +35 -35
  230. package/dist/chunks/{app-rzs3gq0x.js → image-sm965ndy.js} +8 -8
  231. package/dist/chunks/{app-3a3k705c.js → image-sv75xz9r.js} +4 -4
  232. package/dist/chunks/{app-ry3kwg5r.js → image-sxec3bmh.js} +35 -35
  233. package/dist/chunks/{app-jent2as2.js → image-sxzca6gj.js} +30 -30
  234. package/dist/chunks/{app-91dks806.js → image-t07e46qc.js} +7 -7
  235. package/dist/chunks/{app-1yn5b54x.js → image-t0jj3952.js} +15 -15
  236. package/dist/chunks/{app-z1n384xa.js → image-t1kw6d74.js} +19 -19
  237. package/dist/chunks/{app-w8xr7nv8.js → image-t71v2ka4.js} +5 -5
  238. package/dist/chunks/{app-tazgh4e4.js → image-tazgh4e4.js} +1 -1
  239. package/dist/chunks/{app-p28j5sbe.js → image-tbz0fdvh.js} +5 -5
  240. package/dist/chunks/{app-tcezcvh9.js → image-tcezcvh9.js} +1 -1
  241. package/dist/chunks/{app-ahp8ypm5.js → image-tdak43y4.js} +3 -3
  242. package/dist/chunks/{app-tdstcens.js → image-tdstcens.js} +1 -1
  243. package/dist/chunks/{app-1mr1eyme.js → image-tf68swts.js} +12 -12
  244. package/dist/chunks/{app-q80qg22r.js → image-tgf2ymth.js} +16 -16
  245. package/dist/chunks/{app-z0aj456m.js → image-tjedn1bk.js} +4 -4
  246. package/dist/chunks/{app-q2xng7e1.js → image-tv92y52x.js} +30 -30
  247. package/dist/chunks/{app-tvtrv512.js → image-tvtrv512.js} +1 -1
  248. package/dist/chunks/{app-gb4d8a14.js → image-tyn1d5dz.js} +20 -20
  249. package/dist/chunks/image-v1faaxn9.js +18 -0
  250. package/dist/chunks/{app-rzter2vb.js → image-v2zqrnxe.js} +18 -18
  251. package/dist/chunks/{app-67d9h72z.js → image-vasy7518.js} +42 -42
  252. package/dist/chunks/{app-veqvce7d.js → image-veqvce7d.js} +1 -1
  253. package/dist/chunks/{app-v9a8k35b.js → image-vkw8r1eq.js} +29 -29
  254. package/dist/chunks/{app-1n7xfp7c.js → image-vkxy7ybf.js} +8 -8
  255. package/dist/chunks/{app-k3jwnc6w.js → image-vn3t7c0f.js} +30 -30
  256. package/dist/chunks/{app-azgxc740.js → image-vnbqqzsm.js} +19 -19
  257. package/dist/chunks/{app-gehb6127.js → image-vsdc7arw.js} +13 -13
  258. package/dist/chunks/{app-vzcthcp8.js → image-vzcthcp8.js} +1 -1
  259. package/dist/chunks/{app-w3wsvvr9.js → image-w3wsvvr9.js} +1 -1
  260. package/dist/chunks/{app-n6d4p8nj.js → image-w6ngjk0y.js} +32 -32
  261. package/dist/chunks/{app-bha4atvq.js → image-wcge806m.js} +4 -4
  262. package/dist/chunks/{app-wd87259q.js → image-wd87259q.js} +1 -1
  263. package/dist/chunks/{app-vmwh049b.js → image-wxffcvth.js} +6 -6
  264. package/dist/chunks/{app-x1ezjp6w.js → image-x1ezjp6w.js} +1 -1
  265. package/dist/chunks/{app-15ghn61v.js → image-xg72hxr1.js} +9 -9
  266. package/dist/chunks/{app-s9mmsqrc.js → image-xgge5cv0.js} +15 -15
  267. package/dist/chunks/{app-y3q03scc.js → image-xn9jxgmv.js} +8 -8
  268. package/dist/chunks/{app-66jergzr.js → image-xq3m7g0t.js} +12 -12
  269. package/dist/chunks/{app-za4cqae4.js → image-xsc8q09n.js} +7 -7
  270. package/dist/chunks/{app-5cmxdwv8.js → image-xxynqx5z.js} +3 -3
  271. package/dist/chunks/{app-y1fvbwt7.js → image-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{app-dpkg50ah.js → image-y71avatq.js} +4 -4
  273. package/dist/chunks/{app-bgewb51p.js → image-yhywrrja.js} +15 -15
  274. package/dist/chunks/{app-yrhqyw5v.js → image-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{app-yrznvahk.js → image-yrznvahk.js} +2 -2
  276. package/dist/chunks/{app-gv0f11kb.js → image-ytcdzptk.js} +30 -30
  277. package/dist/chunks/{app-rp4sb7ft.js → image-yzagyf8k.js} +26 -26
  278. package/dist/chunks/{app-z0bkrqjs.js → image-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{app-z63w68vq.js → image-z63w68vq.js} +2 -2
  280. package/dist/chunks/{app-myefbstp.js → image-z87bkmq3.js} +18 -18
  281. package/dist/chunks/{app-2js3mcp4.js → image-z8vpew82.js} +5 -5
  282. package/dist/chunks/{app-7r28xmed.js → image-zas2m743.js} +16 -16
  283. package/dist/chunks/{app-7f85ph34.js → image-ze5v0a14.js} +8 -8
  284. package/dist/chunks/{app-zeh9ct20.js → image-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{app-kdjmvqve.js → image-zmwmypjm.js} +8 -8
  286. package/dist/chunks/{app-f4cksbqy.js → image-znaqxw55.js} +36 -36
  287. package/dist/chunks/{app-zr2ceqn5.js → image-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{app-zxq2ej10.js → image-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +9 -9
  291. package/dist/codemode/tool.js +3 -3
  292. package/dist/codemode/web.js +1 -1
  293. package/dist/command.js +82 -82
  294. package/dist/config/discovery.js +81 -81
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +105 -105
  297. package/dist/config/plugin/agent.js +124 -124
  298. package/dist/config/plugin/command.js +213 -213
  299. package/dist/config/plugin/compaction.js +161 -161
  300. package/dist/config/plugin/compatibility.js +140 -140
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +123 -123
  303. package/dist/config/plugin/image.js +122 -122
  304. package/dist/config/plugin/instruction.js +89 -89
  305. package/dist/config/plugin/location-watcher.js +122 -122
  306. package/dist/config/plugin/mcp.js +131 -131
  307. package/dist/config/plugin/policy.js +122 -122
  308. package/dist/config/plugin/provider.js +122 -122
  309. package/dist/config/plugin/reference.js +124 -124
  310. package/dist/config/plugin/shell.js +124 -124
  311. package/dist/config/plugin/skill-file.js +101 -101
  312. package/dist/config/plugin/skill.js +143 -143
  313. package/dist/config/plugin/snapshot.js +122 -122
  314. package/dist/config/plugin/source.js +125 -125
  315. package/dist/config/plugin/tool-output.js +124 -124
  316. package/dist/config/plugin/websearch.js +123 -123
  317. package/dist/config/plugin/worktree.js +124 -124
  318. package/dist/config/variable.js +3 -3
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +119 -119
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +84 -84
  323. package/dist/database/database.js +69 -69
  324. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +15 -15
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +16 -16
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration.gen.js +48 -48
  388. package/dist/database/migration.js +50 -50
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +78 -78
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +362 -362
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +3 -3
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +92 -92
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +94 -94
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +1 -1
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +73 -73
  412. package/dist/file-access.js +103 -103
  413. package/dist/file-mutation.js +93 -93
  414. package/dist/file-retention.js +1 -1
  415. package/dist/file.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/ignore.js +1 -1
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +224 -224
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +102 -102
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +5 -5
  427. package/dist/filesystem.js +101 -101
  428. package/dist/form.js +85 -85
  429. package/dist/formatter/builtins.js +2 -2
  430. package/dist/formatter.js +88 -88
  431. package/dist/generate.js +102 -102
  432. package/dist/git.js +6 -6
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +98 -98
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/id/id.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +1 -1
  456. package/dist/instance.js +355 -355
  457. package/dist/instruction-discovery.js +84 -84
  458. package/dist/instructions/builtins.js +86 -86
  459. package/dist/instructions/index.js +5 -5
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +85 -85
  462. package/dist/job.js +76 -76
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +72 -72
  465. package/dist/location-activity.js +131 -131
  466. package/dist/location-lifecycle.js +105 -105
  467. package/dist/location-mutation.js +103 -103
  468. package/dist/location-service-map.js +85 -85
  469. package/dist/location-services.js +356 -356
  470. package/dist/location.js +84 -84
  471. package/dist/mcp/client.js +90 -90
  472. package/dist/mcp/index.js +101 -101
  473. package/dist/mcp/instructions.js +127 -127
  474. package/dist/mcp/oauth.js +77 -77
  475. package/dist/mcp/stdio.js +89 -89
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +98 -98
  478. package/dist/model-resolver.js +97 -97
  479. package/dist/model.js +101 -101
  480. package/dist/models-dev.js +106 -106
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +79 -79
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +112 -112
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +85 -85
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +74 -74
  490. package/dist/plugin/agent.js +103 -103
  491. package/dist/plugin/command.js +100 -100
  492. package/dist/plugin/compaction.js +132 -132
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +217 -217
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +5 -5
  497. package/dist/plugin/internal.js +330 -330
  498. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  499. package/dist/plugin/models-dev.js +95 -95
  500. package/dist/plugin/module.js +7 -7
  501. package/dist/plugin/optimize.js +4 -4
  502. package/dist/plugin/plan.js +101 -101
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  505. package/dist/plugin/provider/azure.js +121 -121
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +118 -118
  511. package/dist/plugin/provider/digitalocean.js +92 -92
  512. package/dist/plugin/provider/dynamic.js +2 -2
  513. package/dist/plugin/provider/factory.js +1 -1
  514. package/dist/plugin/provider/gateway.js +2 -2
  515. package/dist/plugin/provider/github-copilot.js +92 -92
  516. package/dist/plugin/provider/gitlab.js +90 -90
  517. package/dist/plugin/provider/google-vertex.js +89 -89
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +76 -76
  520. package/dist/plugin/provider/lmstudio.js +121 -121
  521. package/dist/plugin/provider/modal.js +91 -91
  522. package/dist/plugin/provider/nvidia.js +1 -1
  523. package/dist/plugin/provider/ollama.js +119 -119
  524. package/dist/plugin/provider/openai.js +93 -93
  525. package/dist/plugin/provider/opencode.js +92 -92
  526. package/dist/plugin/provider/openrouter.js +90 -90
  527. package/dist/plugin/provider/perplexity.js +2 -2
  528. package/dist/plugin/provider/poe.js +77 -77
  529. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  530. package/dist/plugin/provider/sap-ai-core.js +90 -90
  531. package/dist/plugin/provider/sdk-factory.js +1 -1
  532. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  533. package/dist/plugin/provider/venice.js +2 -2
  534. package/dist/plugin/provider/vercel.js +89 -89
  535. package/dist/plugin/provider/vllm.js +121 -121
  536. package/dist/plugin/provider/xai.js +90 -90
  537. package/dist/plugin/provider/zenmux.js +1 -1
  538. package/dist/plugin/provider.js +158 -158
  539. package/dist/plugin/sdk.js +75 -75
  540. package/dist/plugin/service.js +3 -3
  541. package/dist/plugin/skill.js +140 -140
  542. package/dist/plugin/source-directory.js +1 -1
  543. package/dist/plugin/supervisor.js +349 -349
  544. package/dist/plugin/tool-input-repair.js +4 -4
  545. package/dist/plugin/update.js +6 -6
  546. package/dist/plugin/vcs/git.js +85 -85
  547. package/dist/plugin/vcs/hg.js +85 -85
  548. package/dist/plugin/warming.js +120 -120
  549. package/dist/plugin/websearch/exa.js +7 -7
  550. package/dist/plugin/websearch/firecrawl.js +6 -6
  551. package/dist/plugin/websearch/index.js +9 -9
  552. package/dist/plugin/websearch/mcp.js +4 -4
  553. package/dist/plugin/websearch/parallel.js +8 -8
  554. package/dist/plugin/websearch/tavily.js +6 -6
  555. package/dist/plugin/websearch/tinyfish.js +8 -8
  556. package/dist/plugin.js +222 -222
  557. package/dist/project/schema.js +2 -2
  558. package/dist/project/sql.js +4 -4
  559. package/dist/project.js +83 -83
  560. package/dist/provider.js +100 -100
  561. package/dist/pty/protocol.js +1 -1
  562. package/dist/pty/schema.js +1 -1
  563. package/dist/pty/ticket.js +1 -1
  564. package/dist/pty.js +93 -93
  565. package/dist/reference/instructions.js +88 -88
  566. package/dist/reference.js +90 -90
  567. package/dist/repository-cache.js +80 -80
  568. package/dist/repository.js +3 -3
  569. package/dist/ripgrep/binary.js +2 -2
  570. package/dist/ripgrep.js +96 -96
  571. package/dist/rpc.js +85 -85
  572. package/dist/schema.js +1 -1
  573. package/dist/session/command.js +73 -73
  574. package/dist/session/compaction.js +133 -133
  575. package/dist/session/context.js +149 -149
  576. package/dist/session/diff.js +87 -87
  577. package/dist/session/environment.js +5 -5
  578. package/dist/session/error.js +5 -5
  579. package/dist/session/event.js +1 -1
  580. package/dist/session/execution/restart.js +220 -220
  581. package/dist/session/execution.js +121 -121
  582. package/dist/session/generate.js +152 -152
  583. package/dist/session/history.js +13 -13
  584. package/dist/session/inbox.js +81 -81
  585. package/dist/session/info.js +3 -3
  586. package/dist/session/instruction-entry.js +78 -78
  587. package/dist/session/instruction-state.js +8 -8
  588. package/dist/session/instructions.js +96 -96
  589. package/dist/session/message-updater.js +4 -4
  590. package/dist/session/message.js +1 -1
  591. package/dist/session/model-request.js +116 -116
  592. package/dist/session/model-transport.js +7 -7
  593. package/dist/session/move.js +129 -129
  594. package/dist/session/projector.js +85 -85
  595. package/dist/session/prompt.js +104 -104
  596. package/dist/session/provider-context.js +3 -3
  597. package/dist/session/revert.js +89 -89
  598. package/dist/session/run-coordinator.js +3 -3
  599. package/dist/session/runner/index.js +1 -1
  600. package/dist/session/runner/llm.js +230 -230
  601. package/dist/session/runner/max-steps.js +1 -1
  602. package/dist/session/runner/model.js +93 -93
  603. package/dist/session/runner/publish-llm-event.js +3 -3
  604. package/dist/session/runner/retry.js +113 -113
  605. package/dist/session/runner/step.js +125 -125
  606. package/dist/session/runner/to-llm-message.js +2 -2
  607. package/dist/session/schema.js +5 -5
  608. package/dist/session/session.js +171 -171
  609. package/dist/session/shell.js +137 -137
  610. package/dist/session/skill.js +102 -102
  611. package/dist/session/sql.js +5 -5
  612. package/dist/session/stats.js +74 -74
  613. package/dist/session/store.js +84 -84
  614. package/dist/session/subagent-completion.js +1 -1
  615. package/dist/session/subagent-job.js +209 -209
  616. package/dist/session/system-prompt.js +3 -3
  617. package/dist/session/title.js +155 -155
  618. package/dist/session/to-session-error.js +110 -110
  619. package/dist/session/transfer.js +222 -222
  620. package/dist/session/usage.js +1 -1
  621. package/dist/session.js +215 -215
  622. package/dist/shell/parse.js +6 -6
  623. package/dist/shell/result.js +1 -1
  624. package/dist/shell/scan.js +1 -1
  625. package/dist/shell/select.js +11 -11
  626. package/dist/shell.js +137 -137
  627. package/dist/skill/discovery.js +6 -6
  628. package/dist/skill/instructions.js +106 -106
  629. package/dist/skill.js +109 -109
  630. package/dist/snapshot.js +92 -92
  631. package/dist/state.js +1 -1
  632. package/dist/tool/html-markdown.js +1 -1
  633. package/dist/tool/http-body.js +1 -1
  634. package/dist/tool/mcp.js +126 -126
  635. package/dist/tool/plugin/edit.js +119 -119
  636. package/dist/tool/plugin/file-diff.js +1 -1
  637. package/dist/tool/plugin/glob.js +123 -123
  638. package/dist/tool/plugin/grep.js +123 -123
  639. package/dist/tool/plugin/opencode.js +3 -3
  640. package/dist/tool/plugin/patch.js +121 -121
  641. package/dist/tool/plugin/question.js +104 -104
  642. package/dist/tool/plugin/read.js +124 -124
  643. package/dist/tool/plugin/shell.js +216 -216
  644. package/dist/tool/plugin/skill.js +112 -112
  645. package/dist/tool/plugin/subagent.js +216 -216
  646. package/dist/tool/plugin/webfetch.js +107 -107
  647. package/dist/tool/plugin/websearch.js +113 -113
  648. package/dist/tool/plugin/write.js +121 -121
  649. package/dist/tool/read-filesystem.js +99 -99
  650. package/dist/tool/runtime.js +1 -1
  651. package/dist/tool-output.js +8 -8
  652. package/dist/tool.js +12 -12
  653. package/dist/util/error-summary.js +1 -1
  654. package/dist/util/error.js +1 -1
  655. package/dist/util/git-executable.js +2 -2
  656. package/dist/util/iife.js +1 -1
  657. package/dist/util/lazy.js +1 -1
  658. package/dist/util/slug.js +1 -1
  659. package/dist/util/token.js +1 -1
  660. package/dist/util/which.js +1 -1
  661. package/dist/util/wildcard.js +1 -1
  662. package/dist/v1/config/agent.js +5 -5
  663. package/dist/v1/config/attachment.js +2 -2
  664. package/dist/v1/config/command.js +3 -3
  665. package/dist/v1/config/config.js +16 -16
  666. package/dist/v1/config/error.js +2 -2
  667. package/dist/v1/config/formatter.js +7 -7
  668. package/dist/v1/config/layout.js +1 -1
  669. package/dist/v1/config/lsp.js +5 -5
  670. package/dist/v1/config/mcp.js +4 -4
  671. package/dist/v1/config/migrate.js +91 -91
  672. package/dist/v1/config/permission.js +3 -3
  673. package/dist/v1/config/plugin.js +1 -1
  674. package/dist/v1/config/provider-options.js +1 -1
  675. package/dist/v1/config/provider.js +4 -4
  676. package/dist/v1/config/server.js +2 -2
  677. package/dist/v1/config/skills.js +3 -3
  678. package/dist/v1/permission.js +1 -1
  679. package/dist/variant.js +92 -92
  680. package/dist/vcs/patch.js +1 -1
  681. package/dist/vcs.js +88 -88
  682. package/dist/websearch.js +83 -83
  683. package/dist/wellknown/plugin.js +73 -73
  684. package/dist/wellknown.js +80 -80
  685. package/dist/workspace/driver.js +5 -5
  686. package/dist/workspace/sql.js +1 -1
  687. package/dist/workspace.js +79 -79
  688. package/dist/worktree/directory.js +2 -2
  689. package/dist/worktree/git.js +10 -10
  690. package/dist/worktree/sql.js +5 -5
  691. package/dist/worktree/strategies.js +88 -88
  692. package/dist/worktree.js +95 -95
  693. package/package.json +8 -8
  694. package/dist/chunks/app-9zdhvgqs.js +0 -18
  695. package/dist/chunks/app-b2bj7c3q.js +0 -26
  696. package/dist/chunks/app-rzsdpbyf.js +0 -252
  697. /package/dist/chunks/{app-0mesazry.js → image-0mesazry.js} +0 -0
  698. /package/dist/chunks/{app-0qkdqm5v.js → image-0qkdqm5v.js} +0 -0
  699. /package/dist/chunks/{app-0zkw76rk.js → image-0zkw76rk.js} +0 -0
  700. /package/dist/chunks/{app-17cy0kzp.js → image-17cy0kzp.js} +0 -0
  701. /package/dist/chunks/{app-1cnp2v09.js → image-1cnp2v09.js} +0 -0
  702. /package/dist/chunks/{app-1kg9ymc8.js → image-1kg9ymc8.js} +0 -0
  703. /package/dist/chunks/{app-24dcb14g.js → image-24dcb14g.js} +0 -0
  704. /package/dist/chunks/{app-2710q6r3.js → image-2710q6r3.js} +0 -0
  705. /package/dist/chunks/{app-2axfhc9x.js → image-2axfhc9x.js} +0 -0
  706. /package/dist/chunks/{app-2c3vjs8z.js → image-2c3vjs8z.js} +0 -0
  707. /package/dist/chunks/{app-359p4xyc.js → image-359p4xyc.js} +0 -0
  708. /package/dist/chunks/{app-3asan66x.js → image-3asan66x.js} +0 -0
  709. /package/dist/chunks/{app-3v8g72cx.js → image-3v8g72cx.js} +0 -0
  710. /package/dist/chunks/{app-3w5fmr99.js → image-3w5fmr99.js} +0 -0
  711. /package/dist/chunks/{app-3wcehsnq.js → image-3wcehsnq.js} +0 -0
  712. /package/dist/chunks/{app-43n2bw4t.js → image-43n2bw4t.js} +0 -0
  713. /package/dist/chunks/{app-4knz6hnm.js → image-4knz6hnm.js} +0 -0
  714. /package/dist/chunks/{app-4vcrnpx2.js → image-4vcrnpx2.js} +0 -0
  715. /package/dist/chunks/{app-4y7fprxs.js → image-4y7fprxs.js} +0 -0
  716. /package/dist/chunks/{app-53557ph1.js → image-53557ph1.js} +0 -0
  717. /package/dist/chunks/{app-550bvhaj.js → image-550bvhaj.js} +0 -0
  718. /package/dist/chunks/{app-5qd3pb7m.js → image-5qd3pb7m.js} +0 -0
  719. /package/dist/chunks/{app-6prwharc.js → image-6prwharc.js} +0 -0
  720. /package/dist/chunks/{app-7akdwqpd.js → image-7akdwqpd.js} +0 -0
  721. /package/dist/chunks/{app-7m9af43g.js → image-7m9af43g.js} +0 -0
  722. /package/dist/chunks/{app-822emrt2.js → image-822emrt2.js} +0 -0
  723. /package/dist/chunks/{app-88xbtdfr.js → image-88xbtdfr.js} +0 -0
  724. /package/dist/chunks/{app-8n3pysct.js → image-8n3pysct.js} +0 -0
  725. /package/dist/chunks/{app-922hggd3.js → image-922hggd3.js} +0 -0
  726. /package/dist/chunks/{app-9a4afbnw.js → image-9a4afbnw.js} +0 -0
  727. /package/dist/chunks/{app-9rqn6x4v.js → image-9rqn6x4v.js} +0 -0
  728. /package/dist/chunks/{app-a6k6eb26.js → image-a6k6eb26.js} +0 -0
  729. /package/dist/chunks/{app-af5trqkr.js → image-af5trqkr.js} +0 -0
  730. /package/dist/chunks/{app-afrmfg78.js → image-afrmfg78.js} +0 -0
  731. /package/dist/chunks/{app-aqzs7mqg.js → image-aqzs7mqg.js} +0 -0
  732. /package/dist/chunks/{app-atq7p7m5.js → image-atq7p7m5.js} +0 -0
  733. /package/dist/chunks/{app-bkyjaxrp.js → image-bkyjaxrp.js} +0 -0
  734. /package/dist/chunks/{app-bmr6ed5q.js → image-bmr6ed5q.js} +0 -0
  735. /package/dist/chunks/{app-cf4snx6d.js → image-cf4snx6d.js} +0 -0
  736. /package/dist/chunks/{app-cvy3z8tj.js → image-cvy3z8tj.js} +0 -0
  737. /package/dist/chunks/{app-d9fn303g.js → image-d9fn303g.js} +0 -0
  738. /package/dist/chunks/{app-d9jj8t3e.js → image-d9jj8t3e.js} +0 -0
  739. /package/dist/chunks/{app-dajrwvna.js → image-dajrwvna.js} +0 -0
  740. /package/dist/chunks/{app-dap0rakb.js → image-dap0rakb.js} +0 -0
  741. /package/dist/chunks/{app-df08tz66.js → image-df08tz66.js} +0 -0
  742. /package/dist/chunks/{app-dy18nga0.js → image-dy18nga0.js} +0 -0
  743. /package/dist/chunks/{app-e5kj55wp.js → image-e5kj55wp.js} +0 -0
  744. /package/dist/chunks/{app-e73j6tqm.js → image-e73j6tqm.js} +0 -0
  745. /package/dist/chunks/{app-ec1grn59.js → image-ec1grn59.js} +0 -0
  746. /package/dist/chunks/{app-eh3zwz77.js → image-eh3zwz77.js} +0 -0
  747. /package/dist/chunks/{app-emrn6kk6.js → image-emrn6kk6.js} +0 -0
  748. /package/dist/chunks/{app-f0mxakyp.js → image-f0mxakyp.js} +0 -0
  749. /package/dist/chunks/{app-f6n9ztr4.js → image-f6n9ztr4.js} +0 -0
  750. /package/dist/chunks/{app-faypxj3z.js → image-faypxj3z.js} +0 -0
  751. /package/dist/chunks/{app-fd410y7t.js → image-fd410y7t.js} +0 -0
  752. /package/dist/chunks/{app-fxgpk5d8.js → image-fxgpk5d8.js} +0 -0
  753. /package/dist/chunks/{app-g4wezp1m.js → image-g4wezp1m.js} +0 -0
  754. /package/dist/chunks/{app-g86h250q.js → image-g86h250q.js} +0 -0
  755. /package/dist/chunks/{app-gebd4c9n.js → image-gebd4c9n.js} +0 -0
  756. /package/dist/chunks/{app-gftt206x.js → image-gftt206x.js} +0 -0
  757. /package/dist/chunks/{app-hjbc5kem.js → image-hjbc5kem.js} +0 -0
  758. /package/dist/chunks/{app-hk9envan.js → image-hk9envan.js} +0 -0
  759. /package/dist/chunks/{app-j2ntwpah.js → image-j2ntwpah.js} +0 -0
  760. /package/dist/chunks/{app-j5zkgpj8.js → image-j5zkgpj8.js} +0 -0
  761. /package/dist/chunks/{app-jjkms2e6.js → image-jjkms2e6.js} +0 -0
  762. /package/dist/chunks/{app-jr7sbwjy.js → image-jr7sbwjy.js} +0 -0
  763. /package/dist/chunks/{app-jwfs4k6c.js → image-jwfs4k6c.js} +0 -0
  764. /package/dist/chunks/{app-jzg6c2d5.js → image-jzg6c2d5.js} +0 -0
  765. /package/dist/chunks/{app-mp448xyj.js → image-mp448xyj.js} +0 -0
  766. /package/dist/chunks/{app-msx8hqn2.js → image-msx8hqn2.js} +0 -0
  767. /package/dist/chunks/{app-n05xt0ee.js → image-n05xt0ee.js} +0 -0
  768. /package/dist/chunks/{app-n3j8tn72.js → image-n3j8tn72.js} +0 -0
  769. /package/dist/chunks/{app-njntx4h6.js → image-njntx4h6.js} +0 -0
  770. /package/dist/chunks/{app-q3sfg36h.js → image-q3sfg36h.js} +0 -0
  771. /package/dist/chunks/{app-q74kybfr.js → image-q74kybfr.js} +0 -0
  772. /package/dist/chunks/{app-qaymkmh1.js → image-qaymkmh1.js} +0 -0
  773. /package/dist/chunks/{app-qb87gjwd.js → image-qb87gjwd.js} +0 -0
  774. /package/dist/chunks/{app-qfa1cgps.js → image-qfa1cgps.js} +0 -0
  775. /package/dist/chunks/{app-qg3g05ea.js → image-qg3g05ea.js} +0 -0
  776. /package/dist/chunks/{app-qrg20bc0.js → image-qrg20bc0.js} +0 -0
  777. /package/dist/chunks/{app-rcb2kzg1.js → image-rcb2kzg1.js} +0 -0
  778. /package/dist/chunks/{app-sdp7kfr6.js → image-sdp7kfr6.js} +0 -0
  779. /package/dist/chunks/{app-sk3qaz4a.js → image-sk3qaz4a.js} +0 -0
  780. /package/dist/chunks/{app-ssg3fenm.js → image-ssg3fenm.js} +0 -0
  781. /package/dist/chunks/{app-twg0f83k.js → image-twg0f83k.js} +0 -0
  782. /package/dist/chunks/{app-w803qqfp.js → image-w803qqfp.js} +0 -0
  783. /package/dist/chunks/{app-wc3fc9cn.js → image-wc3fc9cn.js} +0 -0
  784. /package/dist/chunks/{app-wer8tq1h.js → image-wer8tq1h.js} +0 -0
  785. /package/dist/chunks/{app-wtztk69x.js → image-wtztk69x.js} +0 -0
  786. /package/dist/chunks/{app-x0ckcb58.js → image-x0ckcb58.js} +0 -0
  787. /package/dist/chunks/{app-x61499pn.js → image-x61499pn.js} +0 -0
  788. /package/dist/chunks/{app-y44na4kk.js → image-y44na4kk.js} +0 -0
  789. /package/dist/chunks/{app-y8cydn3q.js → image-y8cydn3q.js} +0 -0
  790. /package/dist/chunks/{app-y8f7s663.js → image-y8f7s663.js} +0 -0
  791. /package/dist/chunks/{app-ygaqb7jw.js → image-ygaqb7jw.js} +0 -0
  792. /package/dist/chunks/{app-ym463w8f.js → image-ym463w8f.js} +0 -0
  793. /package/dist/chunks/{app-z9919s4g.js → image-z9919s4g.js} +0 -0
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./app-922hggd3.js";
3
+ } from "./image-922hggd3.js";
4
4
  import {
5
5
  latest2,
6
6
  Service39
7
- } from "./app-n6d4p8nj.js";
7
+ } from "./image-w6ngjk0y.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./app-2a5m3afh.js";
10
+ } from "./image-2a5m3afh.js";
11
11
  import {
12
- Service68
13
- } from "./app-5g373dvk.js";
12
+ Service58
13
+ } from "./image-mz8r1y5r.js";
14
14
  import {
15
- Service55
16
- } from "./app-s9mmsqrc.js";
15
+ Service51
16
+ } from "./image-xgge5cv0.js";
17
17
  import {
18
- Service71
19
- } from "./app-k9av316b.js";
18
+ Service64
19
+ } from "./image-cejtc14z.js";
20
20
  import {
21
- Service65,
21
+ Service17,
22
22
  resolvePath2
23
- } from "./app-5mcxd2xw.js";
23
+ } from "./image-0835j86p.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./app-fxbjtjnd.js";
29
+ } from "./image-fxbjtjnd.js";
30
30
  import {
31
- Service63,
31
+ Service53,
32
32
  name15
33
- } from "./app-szkxvq7w.js";
33
+ } from "./image-jhgm4sfk.js";
34
34
  import {
35
35
  NotFoundError5,
36
- Service36
37
- } from "./app-j9swzztf.js";
36
+ Service37
37
+ } from "./image-c08p7789.js";
38
38
  import {
39
- Service22
40
- } from "./app-389ykwvm.js";
39
+ Service23
40
+ } from "./image-4hka8bb7.js";
41
41
  import {
42
42
  scan2
43
- } from "./app-sbxv4cwa.js";
43
+ } from "./image-n58zg6xk.js";
44
44
  import {
45
45
  __export
46
- } from "./app-9rqn6x4v.js";
46
+ } from "./image-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
- var exports_shell2 = {};
50
- __export(exports_shell2, {
49
+ var exports_shell = {};
50
+ __export(exports_shell, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input8,
53
- Plugin: () => Plugin42,
54
- ShellTool: () => exports_shell2,
55
- name: () => name8
52
+ Input: () => Input3,
53
+ Plugin: () => Plugin19,
54
+ ShellTool: () => exports_shell,
55
+ name: () => name3
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name8 = "shell";
59
+ var name3 = "shell";
60
60
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
61
61
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
62
62
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -70,7 +70,7 @@ var description = (shell) => [
70
70
  "Commands accept an optional timeout, background commands have no timeout by default.",
71
71
  "Background commands return immediately, and you will be notified when they complete."
72
72
  ].join(" ");
73
- var Input8 = Schema.Struct({
73
+ var Input3 = Schema.Struct({
74
74
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
75
75
  workdir: Schema.optionalKey(Schema.String).annotate({
76
76
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -115,18 +115,18 @@ Output is streaming to: ${file}`,
115
115
  truncated: false,
116
116
  status: "running"
117
117
  });
118
- var Plugin42 = {
118
+ var Plugin19 = {
119
119
  id: "opencode.tool.shell",
120
120
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
121
- const sessions = yield* Service22;
122
- const jobs = yield* Service55;
121
+ const sessions = yield* Service23;
122
+ const jobs = yield* Service51;
123
123
  const scope = yield* Scope.Scope;
124
- const environment = yield* Service68;
125
- const access = yield* Service65;
126
- const shell = yield* Service36;
127
- const shellSelect = yield* Service63;
124
+ const environment = yield* Service58;
125
+ const access = yield* Service17;
126
+ const shell = yield* Service37;
127
+ const shellSelect = yield* Service53;
128
128
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
129
- const permission = yield* Service71;
129
+ const permission = yield* Service64;
130
130
  const config = yield* Service39;
131
131
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
132
132
  const source = {
@@ -146,7 +146,7 @@ var Plugin42 = {
146
146
  yield* access.authorizeExternal([target, ...directories], context);
147
147
  if (parsed.commands.length > 0)
148
148
  yield* permission.assert({
149
- action: name8,
149
+ action: name3,
150
150
  resources: parsed.commands.map((command) => command.resource),
151
151
  save: parsed.commands.map((command) => command.save),
152
152
  sessionID: context.sessionID,
@@ -183,10 +183,10 @@ var Plugin42 = {
183
183
  yield* jobs.completeBackground(info.notificationID);
184
184
  }, Effect.forkIn(scope, { startImmediately: true }));
185
185
  yield* ctx.tool.transform((editor) => editor.add({
186
- name: name8,
186
+ name: name3,
187
187
  options: { codemode: false },
188
188
  description: description(),
189
- input: Input8,
189
+ input: Input3,
190
190
  output: Output,
191
191
  execute: (input, context) => Effect.gen(function* () {
192
192
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
219
219
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
220
220
  const job = yield* jobs.start({
221
221
  id: info.id,
222
- type: name8,
222
+ type: name3,
223
223
  title: info.command,
224
224
  metadata: { sessionID: context.sessionID, shellID: info.id },
225
225
  recovery: {
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
249
249
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
250
250
  })).pipe(Effect.orDie);
251
251
  const hook = (event) => Effect.gen(function* () {
252
- const tool = event.tools[name8];
252
+ const tool = event.tools[name3];
253
253
  if (!tool)
254
254
  return;
255
255
  tool.description = description(name15(yield* compatibleShell));
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
260
260
  })
261
261
  };
262
262
 
263
- export { name8, DEFAULT_TIMEOUT_MS2, Input8, Plugin42, exports_shell2 };
263
+ export { name3, DEFAULT_TIMEOUT_MS2, Input3, Plugin19, exports_shell };
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2
4
- } from "./app-ry3kwg5r.js";
4
+ } from "./image-sxec3bmh.js";
5
5
  import {
6
6
  latest2,
7
7
  Service39
8
- } from "./app-n6d4p8nj.js";
8
+ } from "./image-w6ngjk0y.js";
9
9
  import {
10
- resolve2
11
- } from "./app-5k0e0nr1.js";
10
+ resolve4
11
+ } from "./image-b6xhrpje.js";
12
12
  import {
13
13
  observe2
14
- } from "./app-qsdy395h.js";
14
+ } from "./image-qsdy395h.js";
15
15
  import {
16
16
  __export
17
- } from "./app-9rqn6x4v.js";
17
+ } from "./image-9rqn6x4v.js";
18
18
 
19
19
  // src/config/plugin/provider.ts
20
20
  var exports_provider = {};
21
21
  __export(exports_provider, {
22
22
  ConfigProviderPlugin: () => exports_provider,
23
- Plugin: () => Plugin5
23
+ Plugin: () => Plugin42
24
24
  });
25
25
  import { define } from "@opencode/plugin/effect/plugin";
26
26
  import { Money } from "@opencode/schema/money";
27
27
  import { Effect } from "effect";
28
- var Plugin5 = define({
28
+ var Plugin42 = define({
29
29
  id: "opencode.config.provider",
30
30
  effect: Effect.fn(function* (ctx) {
31
31
  const config = yield* Service39;
@@ -177,7 +177,7 @@ var Plugin5 = define({
177
177
  if (config.variants === undefined && !source?.base)
178
178
  models.update(providerID, id, (model) => {
179
179
  model.variants = [
180
- ...resolve2({
180
+ ...resolve4({
181
181
  ...model,
182
182
  package: model.package ?? models.provider.get(providerID)?.provider.package
183
183
  })
@@ -192,4 +192,4 @@ function configuredProviders(entries) {
192
192
  return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
193
193
  }
194
194
 
195
- export { Plugin5, exports_provider };
195
+ export { Plugin42, exports_provider };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./app-2cvq1298.js";
2
+ Service83,
3
+ node87
4
+ } from "./image-067aw8zg.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./app-dpkg50ah.js";
7
+ } from "./image-y71avatq.js";
8
8
  import {
9
9
  Binding2,
10
10
  RegistryService2,
11
- node73
12
- } from "./app-0w62qmxp.js";
11
+ node63
12
+ } from "./image-k18ytf7m.js";
13
13
  import {
14
14
  WorkspaceTable2
15
- } from "./app-faypxj3z.js";
15
+ } from "./image-faypxj3z.js";
16
16
  import {
17
17
  __export
18
- } from "./app-9rqn6x4v.js";
18
+ } from "./image-9rqn6x4v.js";
19
19
 
20
20
  // src/workspace.ts
21
21
  var exports_workspace = {};
22
22
  __export(exports_workspace, {
23
23
  CreateConflict: () => CreateConflict2,
24
- ID: () => ID11,
25
- Info: () => Info27,
24
+ ID: () => ID7,
25
+ Info: () => Info19,
26
26
  NotFound: () => NotFound3,
27
- Service: () => Service69,
27
+ Service: () => Service59,
28
28
  Workspace: () => exports_workspace,
29
- configured: () => configured11,
30
- node: () => node72
29
+ configured: () => configured10,
30
+ node: () => node62
31
31
  });
32
32
  import { Workspace } from "@opencode/schema/workspace";
33
33
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
35
35
  import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
36
36
  import { systemError } from "effect/PlatformError";
37
37
  import { make } from "effect/unstable/process/ChildProcessSpawner";
38
- var ID11 = Workspace.ID;
38
+ var ID7 = Workspace.ID;
39
39
 
40
- class Info27 extends Schema.Class("Workspace.Info")({
41
- id: ID11,
40
+ class Info19 extends Schema.Class("Workspace.Info")({
41
+ id: ID7,
42
42
  provider: Schema.String,
43
43
  binding: Binding2,
44
44
  createdAt: Schema.Number,
@@ -46,25 +46,25 @@ class Info27 extends Schema.Class("Workspace.Info")({
46
46
  }) {
47
47
  }
48
48
 
49
- class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID11 }) {
49
+ class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID7 }) {
50
50
  }
51
51
 
52
52
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
53
- workspaceID: ID11,
53
+ workspaceID: ID7,
54
54
  provider: Schema.String,
55
55
  existingProvider: Schema.String
56
56
  }) {
57
57
  }
58
58
 
59
- class Service69 extends Context.Service()("@opencode/Workspace") {
59
+ class Service59 extends Context.Service()("@opencode/Workspace") {
60
60
  }
61
- var configured11 = (options = {}) => makeGlobalNode({
62
- service: Service69,
61
+ var configured10 = (options = {}) => makeGlobalNode({
62
+ service: Service59,
63
63
  layer: layer(options),
64
- deps: [node86, node73]
64
+ deps: [node87, node63]
65
65
  });
66
- var layer = (options) => Layer.effect(Service69, Effect.gen(function* () {
67
- const db = (yield* Service82).db;
66
+ var layer = (options) => Layer.effect(Service59, Effect.gen(function* () {
67
+ const db = (yield* Service83).db;
68
68
  const registry = yield* RegistryService2;
69
69
  const lifetime = yield* Scope.Scope;
70
70
  const connections = new Map;
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service69, Effect.gen(function* () {
80
80
  return row;
81
81
  });
82
82
  const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
83
- const info = (row, binding) => new Info27({
83
+ const info = (row, binding) => new Info19({
84
84
  id: row.id,
85
85
  provider: row.provider,
86
86
  binding,
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service69, Effect.gen(function* () {
154
154
  yield* Scope.close(connection.scope, Exit.void);
155
155
  }).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
156
156
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
157
- return Service69.of({
157
+ return Service59.of({
158
158
  create: Effect.fn("Workspace.create")(function* (input) {
159
- const workspaceID = input.id ?? ID11.create();
159
+ const workspaceID = input.id ?? ID7.create();
160
160
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
161
161
  if (existing) {
162
162
  if (existing.provider === input.provider)
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service69, Effect.gen(function* () {
221
221
  })
222
222
  });
223
223
  }));
224
- var node72 = configured11();
224
+ var node62 = configured10();
225
225
 
226
- export { ID11, Info27, NotFound3, CreateConflict2, Service69, configured11, node72, exports_workspace };
226
+ export { ID7, Info19, NotFound3, CreateConflict2, Service59, configured10, node62, exports_workspace };
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service76,
3
- node80
4
- } from "./app-wte5xypw.js";
2
+ Service79,
3
+ node83
4
+ } from "./image-5d0yg4wn.js";
5
5
  import {
6
6
  create3
7
- } from "./app-rdw6cm16.js";
7
+ } from "./image-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./app-9rqn6x4v.js";
10
+ } from "./image-9rqn6x4v.js";
11
11
 
12
12
  // src/formatter.ts
13
- var exports_formatter3 = {};
14
- __export(exports_formatter3, {
15
- Formatter: () => exports_formatter3,
16
- Service: () => Service66,
17
- node: () => node68
13
+ var exports_formatter2 = {};
14
+ __export(exports_formatter2, {
15
+ Formatter: () => exports_formatter2,
16
+ Service: () => Service15,
17
+ node: () => node17
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { ChildProcess } from "effect/unstable/process";
21
21
  import path from "path";
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { AppProcess } from "@opencode/util/process";
24
- class Service66 extends Context.Service()("@opencode/v2/Formatter") {
24
+ class Service15 extends Context.Service()("@opencode/v2/Formatter") {
25
25
  }
26
- var layer = Layer.effect(Service66, Effect.gen(function* () {
27
- const location = yield* Service76;
26
+ var layer = Layer.effect(Service15, Effect.gen(function* () {
27
+ const location = yield* Service79;
28
28
  const processes = yield* AppProcess.Service;
29
29
  const commands = new WeakMap;
30
30
  const state = create3({
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
85
85
  }
86
86
  return false;
87
87
  });
88
- return Service66.of({ transform: state.transform, reload: state.reload, file });
88
+ return Service15.of({ transform: state.transform, reload: state.reload, file });
89
89
  }));
90
- var node68 = makeLocationNode({
91
- service: Service66,
90
+ var node17 = makeLocationNode({
91
+ service: Service15,
92
92
  layer,
93
- deps: [node80, AppProcess.node]
93
+ deps: [node83, AppProcess.node]
94
94
  });
95
95
 
96
- export { Service66, node68, exports_formatter3 };
96
+ export { Service15, node17, exports_formatter2 };
@@ -1,61 +1,61 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./app-2cvq1298.js";
2
+ Service83,
3
+ node87
4
+ } from "./image-067aw8zg.js";
5
5
  import {
6
6
  reserveSequence2,
7
- Service78,
8
- node82
9
- } from "./app-q80qg22r.js";
7
+ Service82,
8
+ node86
9
+ } from "./image-tgf2ymth.js";
10
10
  import {
11
11
  SessionEvent2
12
- } from "./app-ec1grn59.js";
12
+ } from "./image-ec1grn59.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./app-gftt206x.js";
15
+ } from "./image-gftt206x.js";
16
16
  import {
17
- update2
18
- } from "./app-p28j5sbe.js";
17
+ update3
18
+ } from "./image-tbz0fdvh.js";
19
19
  import {
20
20
  AbsolutePath2,
21
21
  RelativePath2
22
- } from "./app-922hggd3.js";
22
+ } from "./image-922hggd3.js";
23
23
  import {
24
24
  ProjectTable2
25
- } from "./app-8p4f9s12.js";
25
+ } from "./image-dj2t23y0.js";
26
26
  import {
27
27
  SessionTable2,
28
28
  SessionMessageTable2,
29
29
  SessionInboxTable2
30
- } from "./app-a1bz86dw.js";
30
+ } from "./image-5c4hm403.js";
31
31
  import {
32
32
  projectAdmitted2,
33
33
  projectDelivered2,
34
34
  projectCancelled2,
35
35
  projectDeliveryChanged2
36
- } from "./app-zv0ss7ka.js";
36
+ } from "./image-a5tpsryw.js";
37
37
  import {
38
38
  apply2,
39
39
  initialize3,
40
40
  advanceEpoch2,
41
41
  reset2
42
- } from "./app-bha4atvq.js";
42
+ } from "./image-wcge806m.js";
43
43
  import {
44
44
  initialize2
45
- } from "./app-w34drh26.js";
45
+ } from "./image-af4zwpq7.js";
46
46
  import {
47
47
  Slug2
48
- } from "./app-gebd4c9n.js";
48
+ } from "./image-gebd4c9n.js";
49
49
  import {
50
50
  __export
51
- } from "./app-9rqn6x4v.js";
51
+ } from "./image-9rqn6x4v.js";
52
52
 
53
53
  // src/session/projector.ts
54
54
  var exports_projector = {};
55
55
  __export(exports_projector, {
56
56
  SessionAlreadyProjected: () => SessionAlreadyProjected2,
57
57
  SessionProjector: () => exports_projector,
58
- node: () => node30
58
+ node: () => node34
59
59
  });
60
60
  import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
61
61
  import { DateTime, Effect, Layer, Schema, Stream } from "effect";
@@ -246,7 +246,7 @@ function run(db, event) {
246
246
  updateCompaction: updateMessage,
247
247
  appendMessage
248
248
  };
249
- yield* update2(adapter, event);
249
+ yield* update3(adapter, event);
250
250
  });
251
251
  }
252
252
  function insertMessage(db, event, message) {
@@ -276,8 +276,8 @@ function projectIdle(db, event) {
276
276
  });
277
277
  }
278
278
  var layer = Layer.effectDiscard(Effect.gen(function* () {
279
- const bus = yield* Service78;
280
- const db = (yield* Service82).db;
279
+ const bus = yield* Service82;
280
+ const db = (yield* Service83).db;
281
281
  yield* bus.project(SessionEvent2.Created, (event) => Effect.gen(function* () {
282
282
  const stored = yield* db.insert(SessionTable2).values({
283
283
  id: event.data.sessionID,
@@ -458,6 +458,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
458
458
  return publishSessionUsage(db, bus, event.data.sessionID);
459
459
  }), Effect.forkScoped({ startImmediately: true }));
460
460
  }));
461
- var node30 = makeGlobalNode({ name: "session-projector", layer, deps: [node82, node86] });
461
+ var node34 = makeGlobalNode({ name: "session-projector", layer, deps: [node86, node87] });
462
462
 
463
- export { SessionAlreadyProjected2, node30, exports_projector };
463
+ export { SessionAlreadyProjected2, node34, exports_projector };
@@ -1,27 +1,27 @@
1
1
  import {
2
- Key4,
2
+ Key3,
3
3
  removed2,
4
4
  empty3,
5
- make21,
5
+ make20,
6
6
  diffByKey2
7
- } from "./app-eaj1djv9.js";
7
+ } from "./image-rhjbct0v.js";
8
8
  import {
9
9
  ID5,
10
10
  Name2,
11
11
  available2,
12
- Service51,
13
- node53
14
- } from "./app-a29a0jzg.js";
12
+ Service49,
13
+ node51
14
+ } from "./image-kad21c22.js";
15
15
  import {
16
16
  __export
17
- } from "./app-9rqn6x4v.js";
17
+ } from "./image-9rqn6x4v.js";
18
18
 
19
19
  // src/skill/instructions.ts
20
- var exports_instructions3 = {};
21
- __export(exports_instructions3, {
22
- Service: () => Service26,
23
- SkillInstructions: () => exports_instructions3,
24
- node: () => node29
20
+ var exports_instructions4 = {};
21
+ __export(exports_instructions4, {
22
+ Service: () => Service29,
23
+ SkillInstructions: () => exports_instructions4,
24
+ node: () => node31
25
25
  });
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Context, Effect, Layer, Schema } from "effect";
@@ -61,18 +61,18 @@ var update = (previous, current) => {
61
61
  `);
62
62
  };
63
63
 
64
- class Service26 extends Context.Service()("@opencode/SkillInstructions") {
64
+ class Service29 extends Context.Service()("@opencode/SkillInstructions") {
65
65
  }
66
- var layer = Layer.effect(Service26, Effect.gen(function* () {
67
- const skills = yield* Service51;
68
- return Service26.of({
66
+ var layer = Layer.effect(Service29, Effect.gen(function* () {
67
+ const skills = yield* Service49;
68
+ return Service29.of({
69
69
  load: Effect.fn("SkillInstructions.load")(function* (selection) {
70
70
  const agent = selection.info;
71
71
  if (!agent)
72
72
  return empty3;
73
73
  const available = available2(yield* skills.list(), agent).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
74
- return make21({
75
- key: Key4.make("core/skill-guidance"),
74
+ return make20({
75
+ key: Key3.make("core/skill-guidance"),
76
76
  codec: Schema.toCodecJson(Schema.Array(Summary)),
77
77
  read: Effect.succeed(available.length === 0 ? removed2 : available),
78
78
  render: {
@@ -84,6 +84,6 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
84
84
  })
85
85
  });
86
86
  }));
87
- var node29 = makeLocationNode({ service: Service26, layer, deps: [node53] });
87
+ var node31 = makeLocationNode({ service: Service29, layer, deps: [node51] });
88
88
 
89
- export { Service26, node29, exports_instructions3 };
89
+ export { Service29, node31, exports_instructions4 };