@opencode/core 0.0.0-dev-20393 → 0.0.0-dev-20397

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 (799) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{mime-msy2rgsh.js → snapshot-043b8jmc.js} +13 -13
  8. package/dist/chunks/{mime-ve9ezft4.js → snapshot-07sbefbg.js} +15 -15
  9. package/dist/chunks/{mime-y57d52xy.js → snapshot-09dx82ap.js} +15 -15
  10. package/dist/chunks/{mime-w9240f5c.js → snapshot-0aw1xztx.js} +46 -46
  11. package/dist/chunks/{mime-5anqqasm.js → snapshot-0cz9evgw.js} +4 -4
  12. package/dist/chunks/{mime-p6mf65cc.js → snapshot-0dtbrg7g.js} +5 -5
  13. package/dist/chunks/{mime-0paq2nw3.js → snapshot-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{mime-5h9rbjnk.js → snapshot-0td4cz49.js} +3 -3
  15. package/dist/chunks/{mime-t9zs3egg.js → snapshot-0v53mg2y.js} +4 -4
  16. package/dist/chunks/{mime-23g4r3va.js → snapshot-0zn0kjyp.js} +17 -17
  17. package/dist/chunks/{mime-rbwnvwzh.js → snapshot-152bgcwg.js} +30 -30
  18. package/dist/chunks/{mime-0j93mhnt.js → snapshot-19yc5jyw.js} +8 -8
  19. package/dist/chunks/{mime-88navb5x.js → snapshot-1ayffp7r.js} +5 -5
  20. package/dist/chunks/{mime-1dazxqgg.js → snapshot-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{mime-hvnby5xe.js → snapshot-1jds0x1c.js} +11 -11
  22. package/dist/chunks/{mime-he57e8mw.js → snapshot-1maxcqmc.js} +23 -23
  23. package/dist/chunks/{mime-9jb3rc6z.js → snapshot-1me4e2bc.js} +15 -15
  24. package/dist/chunks/{mime-vps92m75.js → snapshot-1rh4yqvv.js} +9 -9
  25. package/dist/chunks/{mime-56gdpj1q.js → snapshot-1ygqh575.js} +9 -9
  26. package/dist/chunks/{mime-21r38tys.js → snapshot-21r38tys.js} +1 -1
  27. package/dist/chunks/{mime-m5sjgbag.js → snapshot-22mj29h5.js} +13 -13
  28. package/dist/chunks/{mime-358k9xws.js → snapshot-26j5hc29.js} +33 -33
  29. package/dist/chunks/{mime-sv1gstgh.js → snapshot-27j20s2s.js} +22 -22
  30. package/dist/chunks/{mime-ns9jctd6.js → snapshot-284ar0kx.js} +26 -26
  31. package/dist/chunks/{mime-z63w68vq.js → snapshot-29x78va6.js} +6 -6
  32. package/dist/chunks/{mime-2a5m3afh.js → snapshot-2a5m3afh.js} +1 -1
  33. package/dist/chunks/{mime-qgn6gcr1.js → snapshot-2k8khapm.js} +5 -5
  34. package/dist/chunks/{mime-0qdzfzxk.js → snapshot-2zf1cg0m.js} +5 -5
  35. package/dist/chunks/{mime-zmg70wsx.js → snapshot-316ce7zz.js} +18 -18
  36. package/dist/chunks/{mime-0czrhqsb.js → snapshot-35ffvvnr.js} +6 -6
  37. package/dist/chunks/{mime-7fn7d9n4.js → snapshot-36p16jwq.js} +6 -6
  38. package/dist/chunks/{mime-fznk35sy.js → snapshot-3f66xjad.js} +39 -39
  39. package/dist/chunks/{mime-3fc6dm20.js → snapshot-3fc6dm20.js} +1 -1
  40. package/dist/chunks/{mime-dwhvgp4n.js → snapshot-3gvbhe7n.js} +12 -12
  41. package/dist/chunks/{mime-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{mime-n1653fzn.js → snapshot-3kftmf95.js} +25 -25
  43. package/dist/chunks/{mime-7erv94d8.js → snapshot-3nnasa8h.js} +9 -9
  44. package/dist/chunks/{mime-3smtnn6g.js → snapshot-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{mime-3tvqynh2.js → snapshot-3tvqynh2.js} +1 -1
  46. package/dist/chunks/{mime-zpcwkct1.js → snapshot-3vyd6h80.js} +4 -4
  47. package/dist/chunks/{mime-4aghrqms.js → snapshot-3vypprt0.js} +22 -22
  48. package/dist/chunks/{mime-evbgk2k8.js → snapshot-3w2b2yj4.js} +5 -5
  49. package/dist/chunks/{mime-3zsf4n22.js → snapshot-3zsf4n22.js} +1 -1
  50. package/dist/chunks/{mime-xyzcznm8.js → snapshot-40vnhj6t.js} +13 -13
  51. package/dist/chunks/{mime-eg7hgdws.js → snapshot-41wvazb7.js} +35 -35
  52. package/dist/chunks/{mime-3pbjq009.js → snapshot-49w8mb30.js} +11 -11
  53. package/dist/chunks/{mime-7b34ea7d.js → snapshot-49z3e3xs.js} +13 -13
  54. package/dist/chunks/{mime-f502d9mk.js → snapshot-4asdasf1.js} +23 -23
  55. package/dist/chunks/{mime-a70nmnzh.js → snapshot-4gj1at3e.js} +17 -17
  56. package/dist/chunks/{mime-909p1r3q.js → snapshot-4mwpykj0.js} +6 -6
  57. package/dist/chunks/{mime-cm1dq7vh.js → snapshot-4qfzqxz8.js} +14 -14
  58. package/dist/chunks/{mime-c3swec1a.js → snapshot-4t7rh4ap.js} +18 -18
  59. package/dist/chunks/snapshot-4v7qdvcn.js +18 -0
  60. package/dist/chunks/{mime-ybf8remy.js → snapshot-4vhm1j57.js} +23 -23
  61. package/dist/chunks/{mime-gfdgk92a.js → snapshot-50h1eett.js} +3 -3
  62. package/dist/chunks/{mime-hnr5yq9h.js → snapshot-510m7gjw.js} +5 -5
  63. package/dist/chunks/{mime-xm7se6xx.js → snapshot-51eqdrz1.js} +22 -22
  64. package/dist/chunks/{mime-54ma36ye.js → snapshot-54ma36ye.js} +1 -1
  65. package/dist/chunks/{mime-jeapb223.js → snapshot-54whtckx.js} +329 -329
  66. package/dist/chunks/{mime-akhct6dk.js → snapshot-5768agz8.js} +178 -178
  67. package/dist/chunks/{mime-57ez7d0k.js → snapshot-57ez7d0k.js} +2 -2
  68. package/dist/chunks/{mime-e2s3qw3n.js → snapshot-5d7szfme.js} +45 -45
  69. package/dist/chunks/{mime-5daktx2q.js → snapshot-5daktx2q.js} +1 -1
  70. package/dist/chunks/{mime-jf35p79e.js → snapshot-5g9cra57.js} +11 -11
  71. package/dist/chunks/{mime-qvc4myq7.js → snapshot-5ga8gx0r.js} +36 -36
  72. package/dist/chunks/{mime-9k8khh75.js → snapshot-5ngaw42y.js} +9 -9
  73. package/dist/chunks/{mime-81qjtn11.js → snapshot-5r8gz6ch.js} +14 -14
  74. package/dist/chunks/{mime-5t3nmthw.js → snapshot-5t3nmthw.js} +2 -2
  75. package/dist/chunks/{mime-5xpznt2d.js → snapshot-5xpznt2d.js} +4 -4
  76. package/dist/chunks/{mime-bhr83ndh.js → snapshot-6053qjfn.js} +30 -30
  77. package/dist/chunks/{mime-99ra6rqj.js → snapshot-62svdpq9.js} +13 -13
  78. package/dist/chunks/{mime-669tq793.js → snapshot-669tq793.js} +1 -1
  79. package/dist/chunks/{mime-kjrtwbw3.js → snapshot-6b427hxb.js} +23 -23
  80. package/dist/chunks/{mime-6msgmcgs.js → snapshot-6msgmcgs.js} +1 -1
  81. package/dist/chunks/{mime-7st4gwze.js → snapshot-6rxkb1t6.js} +8 -8
  82. package/dist/chunks/{mime-v27fpk8w.js → snapshot-75bnt70h.js} +20 -20
  83. package/dist/chunks/{mime-nv7vmh1y.js → snapshot-79v4fztp.js} +27 -27
  84. package/dist/chunks/{mime-z7at6nk5.js → snapshot-7a36j1ta.js} +11 -11
  85. package/dist/chunks/{mime-v5wqe57t.js → snapshot-7a61m52j.js} +9 -9
  86. package/dist/chunks/{mime-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
  87. package/dist/chunks/{mime-67h83v8z.js → snapshot-7j2sq87m.js} +28 -28
  88. package/dist/chunks/{mime-fcacqew5.js → snapshot-7nbv2x26.js} +14 -14
  89. package/dist/chunks/{mime-273t9hh8.js → snapshot-80xs58hn.js} +8 -8
  90. package/dist/chunks/{mime-7bsvt23f.js → snapshot-814r7t0m.js} +27 -27
  91. package/dist/chunks/{mime-w1eejvng.js → snapshot-84txncab.js} +5 -5
  92. package/dist/chunks/{mime-psg0frg4.js → snapshot-89zefzxw.js} +14 -14
  93. package/dist/chunks/{mime-5bf5dgsk.js → snapshot-8c40j54z.js} +16 -16
  94. package/dist/chunks/{mime-8d7r5vzw.js → snapshot-8d7r5vzw.js} +1 -1
  95. package/dist/chunks/snapshot-8n1b7jj6.js +252 -0
  96. package/dist/chunks/{mime-am2zpr9s.js → snapshot-8ngsk90k.js} +10 -10
  97. package/dist/chunks/{mime-n5v3de6n.js → snapshot-8p038cpw.js} +15 -15
  98. package/dist/chunks/{mime-89bb6baa.js → snapshot-8s1fj8xg.js} +8 -8
  99. package/dist/chunks/{mime-ptvmqjgg.js → snapshot-8ttbyern.js} +5 -5
  100. package/dist/chunks/{mime-46s1n5mw.js → snapshot-8w929ddg.js} +18 -18
  101. package/dist/chunks/{mime-74t4jwhn.js → snapshot-8xyzaf4c.js} +13 -13
  102. package/dist/chunks/{mime-aj9wrhbp.js → snapshot-91qsytyh.js} +9 -9
  103. package/dist/chunks/{mime-xxynqx5z.js → snapshot-93hpb89x.js} +3 -3
  104. package/dist/chunks/{mime-94ek1h2f.js → snapshot-94ek1h2f.js} +2 -2
  105. package/dist/chunks/{mime-pwa5kwbs.js → snapshot-98pm09xw.js} +17 -17
  106. package/dist/chunks/{mime-y9xvf0be.js → snapshot-9btp0wgx.js} +18 -18
  107. package/dist/chunks/{mime-4vz2qtz6.js → snapshot-9e1qne40.js} +32 -32
  108. package/dist/chunks/{mime-p42hj8p8.js → snapshot-9hn6k4tm.js} +8 -8
  109. package/dist/chunks/{mime-fbhxxfyt.js → snapshot-9s1nteyj.js} +26 -26
  110. package/dist/chunks/{mime-mvfsc1pv.js → snapshot-a1gpj94z.js} +3 -3
  111. package/dist/chunks/{mime-7w3ydhtt.js → snapshot-a2stqqyr.js} +3 -3
  112. package/dist/chunks/{mime-x2py03wj.js → snapshot-a634wwcc.js} +4 -4
  113. package/dist/chunks/{mime-n7syd17k.js → snapshot-a9mvht4x.js} +25 -25
  114. package/dist/chunks/{mime-yvwv9m92.js → snapshot-aaa8vv05.js} +16 -16
  115. package/dist/chunks/{mime-aaet6srn.js → snapshot-aaet6srn.js} +2 -2
  116. package/dist/chunks/{mime-6ecqnzwj.js → snapshot-ajwegkqv.js} +32 -32
  117. package/dist/chunks/{mime-v5dkyp31.js → snapshot-b27vhd2z.js} +4 -4
  118. package/dist/chunks/{mime-b4twkq7r.js → snapshot-b4twkq7r.js} +2 -2
  119. package/dist/chunks/{mime-bqcvb6f3.js → snapshot-b68k1fjk.js} +8 -8
  120. package/dist/chunks/{mime-b6gygkdw.js → snapshot-b6gygkdw.js} +2 -2
  121. package/dist/chunks/{mime-xbq57sr8.js → snapshot-b72deqvz.js} +48 -48
  122. package/dist/chunks/{mime-ama2bat5.js → snapshot-bbewqfp5.js} +20 -20
  123. package/dist/chunks/{mime-ky3seynh.js → snapshot-be40ghdv.js} +2 -2
  124. package/dist/chunks/{mime-gmkrgdn0.js → snapshot-be6z6n5p.js} +11 -11
  125. package/dist/chunks/{mime-b6q4wftx.js → snapshot-bq7xdv31.js} +24 -24
  126. package/dist/chunks/{mime-0b2e6j34.js → snapshot-bt7w8xbn.js} +20 -20
  127. package/dist/chunks/{mime-kcfw7csr.js → snapshot-bx8mrgdk.js} +5 -5
  128. package/dist/chunks/{mime-m8yq9q72.js → snapshot-cg6e4qvp.js} +9 -9
  129. package/dist/chunks/{mime-ckecvw8r.js → snapshot-ckecvw8r.js} +2 -2
  130. package/dist/chunks/{mime-5qkxfyep.js → snapshot-cmbqfntm.js} +6 -6
  131. package/dist/chunks/{mime-za7yn6by.js → snapshot-cndcjvqj.js} +38 -38
  132. package/dist/chunks/{mime-tct4sm9h.js → snapshot-ctpwagsm.js} +10 -10
  133. package/dist/chunks/{mime-nxhqveyz.js → snapshot-d2aac7k2.js} +5 -5
  134. package/dist/chunks/{mime-3xqprepe.js → snapshot-dh7fttfm.js} +12 -12
  135. package/dist/chunks/{mime-cwa6csj7.js → snapshot-djszqvmq.js} +9 -9
  136. package/dist/chunks/{mime-xkntkrq7.js → snapshot-dmqcgk4z.js} +5 -5
  137. package/dist/chunks/{mime-mpk0rfs5.js → snapshot-dnxkq42g.js} +4 -4
  138. package/dist/chunks/{mime-xej7w1hz.js → snapshot-dtsstbtj.js} +33 -33
  139. package/dist/chunks/{mime-ytkgah7c.js → snapshot-dvmx0296.js} +5 -5
  140. package/dist/chunks/{mime-npm9dbmd.js → snapshot-dz0rf8v5.js} +29 -29
  141. package/dist/chunks/{mime-vws0mh8y.js → snapshot-e0ceaeyx.js} +7 -7
  142. package/dist/chunks/{mime-2mp3mppm.js → snapshot-e0mh0qs5.js} +19 -19
  143. package/dist/chunks/{mime-2735jr6x.js → snapshot-e30mydyk.js} +12 -12
  144. package/dist/chunks/{mime-5qd3pb7m.js → snapshot-e3qxr5gk.js} +2 -2
  145. package/dist/chunks/{mime-wdy2r7yw.js → snapshot-eaarnncb.js} +15 -15
  146. package/dist/chunks/{mime-6609w7ea.js → snapshot-ed6w8k85.js} +35 -35
  147. package/dist/chunks/{mime-ef5x83kb.js → snapshot-ef5x83kb.js} +1 -1
  148. package/dist/chunks/{mime-37v1eyhb.js → snapshot-eskx6s4t.js} +35 -35
  149. package/dist/chunks/{mime-g2rwenqd.js → snapshot-etjd6qr8.js} +11 -11
  150. package/dist/chunks/{mime-etq0c3wd.js → snapshot-etq0c3wd.js} +1 -1
  151. package/dist/chunks/{mime-hmeqr42r.js → snapshot-ey2qf0wj.js} +48 -48
  152. package/dist/chunks/{mime-6v857xcd.js → snapshot-fekt7vvr.js} +17 -17
  153. package/dist/chunks/{mime-34yg2f8r.js → snapshot-fk6v6yp5.js} +27 -27
  154. package/dist/chunks/{mime-1fw2a5v8.js → snapshot-fqq9xsk7.js} +13 -13
  155. package/dist/chunks/{mime-f5gy8qwh.js → snapshot-fw2v9256.js} +8 -8
  156. package/dist/chunks/{mime-5xa07e5v.js → snapshot-fza3nsvy.js} +37 -37
  157. package/dist/chunks/{mime-kjt0hna9.js → snapshot-fzw1xykq.js} +38 -38
  158. package/dist/chunks/{mime-k3x97e16.js → snapshot-g31myzr9.js} +12 -12
  159. package/dist/chunks/{mime-g5w8qwbj.js → snapshot-g5w8qwbj.js} +1 -1
  160. package/dist/chunks/{mime-gd4qta3r.js → snapshot-gd4qta3r.js} +1 -1
  161. package/dist/chunks/{mime-49q3m3qv.js → snapshot-gf3ncq70.js} +11 -11
  162. package/dist/chunks/{mime-rmk2c50f.js → snapshot-gfhhve88.js} +5 -5
  163. package/dist/chunks/{mime-z5wgdwfs.js → snapshot-gpqtbvrs.js} +33 -33
  164. package/dist/chunks/{mime-gv6a8nnw.js → snapshot-gv6a8nnw.js} +2 -2
  165. package/dist/chunks/{mime-1wa534rs.js → snapshot-gvdtgxnw.js} +25 -25
  166. package/dist/chunks/{mime-gk21fmqr.js → snapshot-h4q8tfed.js} +6 -6
  167. package/dist/chunks/{mime-knevfgda.js → snapshot-h6310vsd.js} +4 -4
  168. package/dist/chunks/{mime-h6vf3j39.js → snapshot-h6vf3j39.js} +1 -1
  169. package/dist/chunks/{mime-f29mbr7f.js → snapshot-h9wp8z5w.js} +4 -4
  170. package/dist/chunks/{mime-kkq0ewjq.js → snapshot-hbey94jb.js} +9 -9
  171. package/dist/chunks/{mime-v8ftz6x4.js → snapshot-hd8sdafz.js} +28 -28
  172. package/dist/chunks/{mime-brskvj7t.js → snapshot-hrcmt3m6.js} +3 -3
  173. package/dist/chunks/{mime-ae1n2vcd.js → snapshot-hsv2efhq.js} +4 -4
  174. package/dist/chunks/{mime-h6nje0xe.js → snapshot-j3ss35a9.js} +32 -32
  175. package/dist/chunks/{mime-z8fpd02g.js → snapshot-j4k4fmtd.js} +8 -8
  176. package/dist/chunks/{mime-j56e64zr.js → snapshot-j56e64zr.js} +1 -1
  177. package/dist/chunks/{mime-rfvg1fny.js → snapshot-jd7tpdv6.js} +22 -22
  178. package/dist/chunks/{mime-a5zqc5k5.js → snapshot-jk8em1h8.js} +62 -62
  179. package/dist/chunks/{mime-a4vyvdaw.js → snapshot-jnh5bw3x.js} +44 -44
  180. package/dist/chunks/{mime-hc60ef2e.js → snapshot-jxqj1pxj.js} +24 -24
  181. package/dist/chunks/{mime-ndmtxqj7.js → snapshot-jy3q8cv1.js} +11 -11
  182. package/dist/chunks/{mime-k3c624dm.js → snapshot-k3c624dm.js} +3 -3
  183. package/dist/chunks/{mime-fsh9jmhz.js → snapshot-kp95tmt8.js} +11 -11
  184. package/dist/chunks/{mime-gyn306pg.js → snapshot-kpt54jka.js} +24 -24
  185. package/dist/chunks/{mime-ba2xj7kr.js → snapshot-krfbp5s5.js} +13 -13
  186. package/dist/chunks/{mime-0k4k1txe.js → snapshot-ky8wwzrv.js} +22 -22
  187. package/dist/chunks/{mime-czh3ewfp.js → snapshot-m09x4zgs.js} +3 -3
  188. package/dist/chunks/{mime-m3fdjcah.js → snapshot-m3fdjcah.js} +1 -1
  189. package/dist/chunks/{mime-m58kmhef.js → snapshot-m58kmhef.js} +2 -2
  190. package/dist/chunks/{mime-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
  191. package/dist/chunks/{mime-42x3169a.js → snapshot-mdzxpjrf.js} +31 -31
  192. package/dist/chunks/{mime-vt6zkvw9.js → snapshot-mfrzaj7b.js} +13 -13
  193. package/dist/chunks/{mime-ra7reznk.js → snapshot-mgg2v3xv.js} +42 -42
  194. package/dist/chunks/{mime-bqds8fwq.js → snapshot-mkqsqhtw.js} +24 -24
  195. package/dist/chunks/snapshot-mxeyzb01.js +26 -0
  196. package/dist/chunks/{mime-ep28x8fd.js → snapshot-n0w21gj8.js} +5 -5
  197. package/dist/chunks/{mime-68b7s2z5.js → snapshot-n5g04frr.js} +26 -26
  198. package/dist/chunks/{mime-bpbzmbw3.js → snapshot-nfj3m07c.js} +10 -10
  199. package/dist/chunks/{mime-d7112bbx.js → snapshot-nkkxcf99.js} +1 -1
  200. package/dist/chunks/{mime-txv3w884.js → snapshot-npvv29c9.js} +22 -22
  201. package/dist/chunks/{mime-jjs74g98.js → snapshot-nq7qbqzc.js} +9 -9
  202. package/dist/chunks/{mime-dpkg50ah.js → snapshot-nxm207yx.js} +4 -4
  203. package/dist/chunks/{mime-fm781dj8.js → snapshot-pevdf72a.js} +10 -10
  204. package/dist/chunks/{mime-kkp8zx71.js → snapshot-ph842b28.js} +4 -4
  205. package/dist/chunks/{mime-pjvnvgmy.js → snapshot-pjvnvgmy.js} +1 -1
  206. package/dist/chunks/{mime-pknna89w.js → snapshot-pknna89w.js} +1 -1
  207. package/dist/chunks/{mime-gvvt6b7j.js → snapshot-psv8fdh5.js} +14 -14
  208. package/dist/chunks/{mime-gmt6yt6e.js → snapshot-pvttss56.js} +26 -26
  209. package/dist/chunks/{mime-zd30eb5w.js → snapshot-qdbakdjh.js} +5 -5
  210. package/dist/chunks/{mime-f0y3twfb.js → snapshot-qg8fr7dx.js} +3 -3
  211. package/dist/chunks/{mime-ab9238g2.js → snapshot-qqtwvk4z.js} +6 -6
  212. package/dist/chunks/{mime-qsdy395h.js → snapshot-qsdy395h.js} +1 -1
  213. package/dist/chunks/{mime-6a3czsa1.js → snapshot-qyj5w459.js} +16 -16
  214. package/dist/chunks/{mime-1acjjqhc.js → snapshot-r8xr0va3.js} +4 -4
  215. package/dist/chunks/{mime-rdw6cm16.js → snapshot-rdw6cm16.js} +1 -1
  216. package/dist/chunks/{mime-qzy1x8zb.js → snapshot-rfepttty.js} +6 -6
  217. package/dist/chunks/{mime-dqs70hbj.js → snapshot-ryv6qtp6.js} +16 -16
  218. package/dist/chunks/{mime-t3wpcfc0.js → snapshot-s0bjf473.js} +24 -24
  219. package/dist/chunks/{mime-ezn2h652.js → snapshot-s0hdgv6r.js} +18 -18
  220. package/dist/chunks/{mime-yn9h7jnh.js → snapshot-s43e8fnf.js} +7 -7
  221. package/dist/chunks/{mime-yrznvahk.js → snapshot-s4enseaf.js} +2 -2
  222. package/dist/chunks/{mime-307pg6fz.js → snapshot-s589y4yc.js} +12 -12
  223. package/dist/chunks/{mime-s8d7rejh.js → snapshot-s8d7rejh.js} +1 -1
  224. package/dist/chunks/{mime-2ddytahh.js → snapshot-sgqa7ttb.js} +20 -20
  225. package/dist/chunks/{mime-1pvhv2xq.js → snapshot-sjffceq3.js} +37 -37
  226. package/dist/chunks/{mime-nh4rgqnt.js → snapshot-sp62m1hk.js} +23 -23
  227. package/dist/chunks/{mime-wc84jsc1.js → snapshot-sta4ktta.js} +73 -73
  228. package/dist/chunks/{mime-7fgjfznh.js → snapshot-sy5v20eg.js} +5 -5
  229. package/dist/chunks/{mime-d96kp2s5.js → snapshot-t0jagft1.js} +22 -22
  230. package/dist/chunks/{mime-f3ngv102.js → snapshot-t51qk8jz.js} +21 -21
  231. package/dist/chunks/{mime-vfnexndp.js → snapshot-t6msp11s.js} +6 -6
  232. package/dist/chunks/{mime-tazgh4e4.js → snapshot-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{mime-tcezcvh9.js → snapshot-tcezcvh9.js} +1 -1
  234. package/dist/chunks/{mime-tdstcens.js → snapshot-tdstcens.js} +1 -1
  235. package/dist/chunks/{mime-0w1gqsy8.js → snapshot-tea830r9.js} +6 -6
  236. package/dist/chunks/{mime-jyynsmrb.js → snapshot-tg3avkgr.js} +40 -40
  237. package/dist/chunks/{mime-k6bsaq2v.js → snapshot-trc87syc.js} +29 -29
  238. package/dist/chunks/{mime-wf91zk3h.js → snapshot-tsxvngeh.js} +15 -15
  239. package/dist/chunks/{mime-tvtrv512.js → snapshot-tvtrv512.js} +1 -1
  240. package/dist/chunks/{mime-cmmdg65p.js → snapshot-tx9w5tca.js} +8 -8
  241. package/dist/chunks/{mime-pmqad4rv.js → snapshot-v606x47v.js} +6 -6
  242. package/dist/chunks/{mime-kkwefjp4.js → snapshot-v829nrsn.js} +11 -11
  243. package/dist/chunks/{mime-7pr2hkwv.js → snapshot-vd7rzxqf.js} +5 -5
  244. package/dist/chunks/{mime-veqvce7d.js → snapshot-veqvce7d.js} +1 -1
  245. package/dist/chunks/{mime-a44te84x.js → snapshot-vr5gng7d.js} +58 -58
  246. package/dist/chunks/{mime-nfvr6b7c.js → snapshot-vxbp0t1j.js} +9 -9
  247. package/dist/chunks/{mime-gps30gkr.js → snapshot-vyer9fvq.js} +19 -19
  248. package/dist/chunks/{mime-vzcthcp8.js → snapshot-vzcthcp8.js} +1 -1
  249. package/dist/chunks/{mime-vzs5sf6e.js → snapshot-vzs5sf6e.js} +1 -1
  250. package/dist/chunks/{mime-98zdmzn1.js → snapshot-w0bb3aaj.js} +5 -5
  251. package/dist/chunks/{mime-533t3k18.js → snapshot-w1ad28wa.js} +5 -5
  252. package/dist/chunks/{mime-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{mime-d5jqda9g.js → snapshot-w4d186nr.js} +9 -9
  254. package/dist/chunks/{mime-q2mwwyxw.js → snapshot-w7bfg73m.js} +43 -43
  255. package/dist/chunks/{mime-455c909g.js → snapshot-wa95v5q1.js} +4 -4
  256. package/dist/chunks/{mime-tf94wysx.js → snapshot-wb6xtyp7.js} +1 -1
  257. package/dist/chunks/{mime-wd3x2cqz.js → snapshot-wd3x2cqz.js} +2 -2
  258. package/dist/chunks/{mime-wd87259q.js → snapshot-wd87259q.js} +1 -1
  259. package/dist/chunks/{mime-d3jb63yq.js → snapshot-we9s68w7.js} +35 -35
  260. package/dist/chunks/{mime-bdmy50mw.js → snapshot-wgxh2d88.js} +10 -10
  261. package/dist/chunks/{mime-d18akb0w.js → snapshot-x12ccqf6.js} +11 -11
  262. package/dist/chunks/{mime-x1ezjp6w.js → snapshot-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{mime-sa4vrjjn.js → snapshot-x2kchej3.js} +12 -12
  264. package/dist/chunks/{mime-hgrb6hk1.js → snapshot-x6vc2g7j.js} +15 -15
  265. package/dist/chunks/{mime-ngvtg2hh.js → snapshot-x7q82ccb.js} +10 -10
  266. package/dist/chunks/{mime-5v9f52wg.js → snapshot-xazx0yrz.js} +11 -11
  267. package/dist/chunks/{mime-xb50yt4b.js → snapshot-xb50yt4b.js} +1 -1
  268. package/dist/chunks/{mime-pnqhmayw.js → snapshot-xch80j94.js} +2 -2
  269. package/dist/chunks/{mime-84z7ydcc.js → snapshot-xj2q361d.js} +21 -21
  270. package/dist/chunks/{mime-bnjw33a9.js → snapshot-xtp80gnm.js} +31 -31
  271. package/dist/chunks/{mime-77k2q0r1.js → snapshot-xv2rj9s2.js} +36 -36
  272. package/dist/chunks/{mime-zw419psw.js → snapshot-xvw86k2z.js} +11 -11
  273. package/dist/chunks/{mime-nv3ykw2b.js → snapshot-xx0efrt7.js} +8 -8
  274. package/dist/chunks/{mime-y1fvbwt7.js → snapshot-y1fvbwt7.js} +1 -1
  275. package/dist/chunks/{mime-qatsk4rf.js → snapshot-ya7pybyk.js} +19 -19
  276. package/dist/chunks/{mime-7j7zzrbv.js → snapshot-yg0cp2fk.js} +15 -15
  277. package/dist/chunks/{mime-2mh0qf3p.js → snapshot-ygx8er06.js} +13 -13
  278. package/dist/chunks/{mime-n37c4crj.js → snapshot-yr715y08.js} +5 -5
  279. package/dist/chunks/{mime-yrhqyw5v.js → snapshot-yrhqyw5v.js} +1 -1
  280. package/dist/chunks/{mime-z07pqspn.js → snapshot-z07pqspn.js} +3 -3
  281. package/dist/chunks/{mime-z0bkrqjs.js → snapshot-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{mime-9abtanff.js → snapshot-z4zazqnp.js} +22 -22
  283. package/dist/chunks/{mime-gxk89abf.js → snapshot-z7z0em5z.js} +87 -87
  284. package/dist/chunks/{mime-4mvefedb.js → snapshot-zchqraft.js} +5 -5
  285. package/dist/chunks/{mime-zvt5dnpc.js → snapshot-zcrspsvn.js} +4 -4
  286. package/dist/chunks/{mime-be482kdc.js → snapshot-zdfwzf06.js} +10 -10
  287. package/dist/chunks/{mime-zeh9ct20.js → snapshot-zeh9ct20.js} +2 -2
  288. package/dist/chunks/{mime-dhkk2kzs.js → snapshot-zhb36em6.js} +51 -51
  289. package/dist/chunks/{mime-wgdhnvhw.js → snapshot-zm0epfsh.js} +94 -94
  290. package/dist/chunks/{mime-rk1r2hx8.js → snapshot-znsx74x0.js} +1 -1
  291. package/dist/chunks/{mime-zr2ceqn5.js → snapshot-zr2ceqn5.js} +1 -1
  292. package/dist/chunks/{mime-zxq2ej10.js → snapshot-zxq2ej10.js} +1 -1
  293. package/dist/chunks/{mime-8xky6wx1.js → snapshot-zya8mb4y.js} +22 -22
  294. package/dist/codemode/catalog.js +1 -1
  295. package/dist/codemode/instructions.js +7 -7
  296. package/dist/codemode/tool.js +3 -3
  297. package/dist/codemode/web.js +1 -1
  298. package/dist/command.js +83 -83
  299. package/dist/config/discovery.js +82 -82
  300. package/dist/config/markdown.js +1 -1
  301. package/dist/config/normalize.js +106 -106
  302. package/dist/config/plugin/agent.js +125 -125
  303. package/dist/config/plugin/command.js +215 -215
  304. package/dist/config/plugin/compaction.js +161 -161
  305. package/dist/config/plugin/compatibility.js +141 -141
  306. package/dist/config/plugin/entry-observer.js +1 -1
  307. package/dist/config/plugin/formatter.js +124 -124
  308. package/dist/config/plugin/image.js +123 -123
  309. package/dist/config/plugin/instruction.js +90 -90
  310. package/dist/config/plugin/location-watcher.js +125 -125
  311. package/dist/config/plugin/mcp.js +132 -132
  312. package/dist/config/plugin/policy.js +124 -124
  313. package/dist/config/plugin/provider.js +123 -123
  314. package/dist/config/plugin/reference.js +125 -125
  315. package/dist/config/plugin/shell.js +125 -125
  316. package/dist/config/plugin/skill-file.js +102 -102
  317. package/dist/config/plugin/skill.js +144 -144
  318. package/dist/config/plugin/snapshot.js +123 -123
  319. package/dist/config/plugin/source.js +126 -126
  320. package/dist/config/plugin/tool-output.js +125 -125
  321. package/dist/config/plugin/websearch.js +124 -124
  322. package/dist/config/plugin/worktree.js +125 -125
  323. package/dist/config/variable.js +3 -3
  324. package/dist/config/watch.js +1 -1
  325. package/dist/config.js +126 -126
  326. package/dist/credential/sql.js +2 -2
  327. package/dist/credential.js +81 -81
  328. package/dist/database/database.js +66 -66
  329. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  330. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  331. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  332. package/dist/database/drizzle/index.js +15 -15
  333. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  336. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  341. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  342. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  343. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  344. package/dist/database/drizzle.js +16 -16
  345. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  346. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  347. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  348. package/dist/database/migration/20260225215848_workspace.js +1 -1
  349. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  350. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  351. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  352. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  353. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  354. package/dist/database/migration/20260323234822_events.js +1 -1
  355. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  356. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  357. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  358. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  359. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  360. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  361. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  362. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  363. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  364. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  365. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  366. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  367. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  368. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  369. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  370. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  371. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  372. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  373. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  374. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  375. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  376. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  377. package/dist/database/migration/20260611035744_credential.js +1 -1
  378. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  379. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  380. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  381. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  382. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  383. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  384. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  385. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  386. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  387. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  388. package/dist/database/migration/20260812213948_worktree.js +1 -1
  389. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  390. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  391. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  392. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  393. package/dist/database/migration.gen.js +49 -49
  394. package/dist/database/migration.js +51 -51
  395. package/dist/database/path.js +2 -2
  396. package/dist/database/schema.gen.js +1 -1
  397. package/dist/database/schema.sql.js +1 -1
  398. package/dist/database/sqlite.bun.js +1 -1
  399. package/dist/database/sqlite.js +1 -1
  400. package/dist/database/sqlite.node.js +1 -1
  401. package/dist/database/sqlite.workerd.js +1 -1
  402. package/dist/database/v1-migration.bun.js +76 -76
  403. package/dist/database/v1-migration.js +1 -1
  404. package/dist/effect/app-node-builder.js +372 -372
  405. package/dist/effect/app-node-platform.js +2 -2
  406. package/dist/effect/keyed-mutex.js +3 -3
  407. package/dist/effect/websocket-constructor.js +1 -1
  408. package/dist/environment/driver.js +1 -1
  409. package/dist/environment/environment.js +93 -93
  410. package/dist/environment/exec-defaults.js +2 -2
  411. package/dist/environment/files.js +1 -1
  412. package/dist/environment/index.js +95 -95
  413. package/dist/environment/local.js +2 -2
  414. package/dist/environment/memory.js +2 -2
  415. package/dist/environment/unavailable.js +1 -1
  416. package/dist/event/sql.js +1 -1
  417. package/dist/event-logger.js +74 -74
  418. package/dist/file-access.js +104 -104
  419. package/dist/file-mutation.js +94 -94
  420. package/dist/file-retention.js +1 -1
  421. package/dist/filesystem/fff.bun.js +2 -2
  422. package/dist/filesystem/fff.js +1 -1
  423. package/dist/filesystem/fff.node.js +2 -2
  424. package/dist/filesystem/fff.workerd.js +2 -2
  425. package/dist/filesystem/ignore.js +1 -1
  426. package/dist/filesystem/location-watcher-policy.js +6 -6
  427. package/dist/filesystem/location-watcher.js +228 -228
  428. package/dist/filesystem/protected.js +1 -1
  429. package/dist/filesystem/search.js +103 -103
  430. package/dist/filesystem/watcher-binding.js +3 -3
  431. package/dist/filesystem/watcher.js +15 -15
  432. package/dist/filesystem.js +104 -104
  433. package/dist/form.js +80 -80
  434. package/dist/formatter/builtins.js +4 -4
  435. package/dist/formatter.js +87 -87
  436. package/dist/generate.js +101 -101
  437. package/dist/git.js +10 -10
  438. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  439. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  440. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  442. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  443. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  444. package/dist/github-copilot/copilot-provider.js +17 -17
  445. package/dist/github-copilot/models.js +99 -99
  446. package/dist/github-copilot/openai-compatible-error.js +1 -1
  447. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  448. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  449. package/dist/github-copilot/responses/openai-error.js +1 -1
  450. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  451. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  452. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  453. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  454. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  456. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  457. package/dist/id/id.js +1 -1
  458. package/dist/image/photon.js +2 -2
  459. package/dist/image.js +6 -6
  460. package/dist/instance/service.js +5 -5
  461. package/dist/instance.js +363 -363
  462. package/dist/instruction-discovery.js +85 -85
  463. package/dist/instructions/builtins.js +87 -87
  464. package/dist/instructions/index.js +1 -1
  465. package/dist/integration/connection.js +3 -3
  466. package/dist/integration.js +85 -85
  467. package/dist/job.js +77 -77
  468. package/dist/kv/sql.js +2 -2
  469. package/dist/kv.js +73 -73
  470. package/dist/location-activity.js +135 -135
  471. package/dist/location-lifecycle.js +107 -107
  472. package/dist/location-service-map.js +86 -86
  473. package/dist/location-services.js +360 -360
  474. package/dist/location.js +85 -85
  475. package/dist/managed-policy.js +5 -5
  476. package/dist/mcp/client.js +91 -91
  477. package/dist/mcp/index.js +109 -109
  478. package/dist/mcp/instructions.js +127 -127
  479. package/dist/mcp/oauth.js +75 -75
  480. package/dist/mcp/stdio.js +90 -90
  481. package/dist/mime.js +1 -1
  482. package/dist/modal/models.js +99 -99
  483. package/dist/model-resolver.js +98 -98
  484. package/dist/model.js +102 -102
  485. package/dist/models-dev.js +107 -107
  486. package/dist/oauth/page.js +1 -1
  487. package/dist/permission/saved.js +80 -80
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +117 -117
  490. package/dist/persistent-pty/binary.bun.js +1 -1
  491. package/dist/persistent-pty/daemon.js +1 -1
  492. package/dist/persistent-pty/index.js +86 -86
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +75 -75
  495. package/dist/plugin/agent.js +104 -104
  496. package/dist/plugin/command.js +102 -102
  497. package/dist/plugin/hooks.js +5 -5
  498. package/dist/plugin/host.js +219 -219
  499. package/dist/plugin/identity.js +3 -3
  500. package/dist/plugin/instance.js +5 -5
  501. package/dist/plugin/internal.js +335 -335
  502. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  503. package/dist/plugin/models-dev.js +96 -96
  504. package/dist/plugin/module.js +7 -7
  505. package/dist/plugin/optimize.js +2 -2
  506. package/dist/plugin/plan.js +102 -102
  507. package/dist/plugin/promise.js +1 -1
  508. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  509. package/dist/plugin/provider/azure.js +124 -124
  510. package/dist/plugin/provider/cerebras.js +1 -1
  511. package/dist/plugin/provider/chatgpt.js +93 -93
  512. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  513. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  514. package/dist/plugin/provider/cohere.js +2 -2
  515. package/dist/plugin/provider/configured.js +119 -119
  516. package/dist/plugin/provider/digitalocean.js +93 -93
  517. package/dist/plugin/provider/dynamic.js +2 -2
  518. package/dist/plugin/provider/factory.js +1 -1
  519. package/dist/plugin/provider/gateway.js +2 -2
  520. package/dist/plugin/provider/github-copilot.js +95 -95
  521. package/dist/plugin/provider/gitlab.js +93 -93
  522. package/dist/plugin/provider/google-vertex.js +90 -90
  523. package/dist/plugin/provider/kilo.js +1 -1
  524. package/dist/plugin/provider/llmgateway.js +78 -78
  525. package/dist/plugin/provider/lmstudio.js +122 -122
  526. package/dist/plugin/provider/modal.js +92 -92
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +122 -122
  529. package/dist/plugin/provider/openai.js +93 -93
  530. package/dist/plugin/provider/opencode.js +95 -95
  531. package/dist/plugin/provider/openrouter.js +91 -91
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +79 -79
  534. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  535. package/dist/plugin/provider/sap-ai-core.js +91 -91
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  538. package/dist/plugin/provider/venice.js +2 -2
  539. package/dist/plugin/provider/vercel.js +90 -90
  540. package/dist/plugin/provider/vllm.js +122 -122
  541. package/dist/plugin/provider/xai.js +91 -91
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +163 -163
  544. package/dist/plugin/sdk.js +76 -76
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +141 -141
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +354 -354
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +4 -4
  551. package/dist/plugin/vcs/git.js +86 -86
  552. package/dist/plugin/vcs/hg.js +86 -86
  553. package/dist/plugin/verbosity.js +93 -93
  554. package/dist/plugin/warming.js +121 -121
  555. package/dist/plugin/websearch/exa.js +5 -5
  556. package/dist/plugin/websearch/firecrawl.js +8 -8
  557. package/dist/plugin/websearch/index.js +9 -9
  558. package/dist/plugin/websearch/mcp.js +6 -6
  559. package/dist/plugin/websearch/parallel.js +6 -6
  560. package/dist/plugin/websearch/tavily.js +6 -6
  561. package/dist/plugin/websearch/tinyfish.js +6 -6
  562. package/dist/plugin.js +226 -226
  563. package/dist/project/schema.js +2 -2
  564. package/dist/project/sql.js +4 -4
  565. package/dist/project.js +84 -84
  566. package/dist/provider.js +101 -101
  567. package/dist/pty/protocol.js +1 -1
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +99 -99
  570. package/dist/reference/instructions.js +87 -87
  571. package/dist/reference.js +91 -91
  572. package/dist/repository-cache.js +81 -81
  573. package/dist/repository.js +3 -3
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +95 -95
  576. package/dist/rpc.js +86 -86
  577. package/dist/schema.js +1 -1
  578. package/dist/session/affinity.js +1 -1
  579. package/dist/session/command.js +74 -74
  580. package/dist/session/compaction.js +135 -135
  581. package/dist/session/context.js +153 -153
  582. package/dist/session/diff.js +88 -88
  583. package/dist/session/environment.js +5 -5
  584. package/dist/session/error.js +7 -7
  585. package/dist/session/event.js +1 -1
  586. package/dist/session/execution/restart.js +225 -225
  587. package/dist/session/execution.js +124 -124
  588. package/dist/session/generate.js +152 -152
  589. package/dist/session/history.js +15 -15
  590. package/dist/session/inbox.js +86 -86
  591. package/dist/session/info.js +3 -3
  592. package/dist/session/instruction-entry.js +79 -79
  593. package/dist/session/instruction-state.js +8 -8
  594. package/dist/session/instructions.js +97 -97
  595. package/dist/session/message-updater.js +4 -4
  596. package/dist/session/message.js +1 -1
  597. package/dist/session/model-request.js +120 -120
  598. package/dist/session/model-transport.js +9 -9
  599. package/dist/session/move.js +130 -130
  600. package/dist/session/projector.js +86 -86
  601. package/dist/session/prompt.js +105 -105
  602. package/dist/session/provider-context.js +3 -3
  603. package/dist/session/revert.js +90 -90
  604. package/dist/session/run-coordinator.js +3 -3
  605. package/dist/session/runner/index.js +3 -3
  606. package/dist/session/runner/llm.js +232 -232
  607. package/dist/session/runner/max-steps.js +1 -1
  608. package/dist/session/runner/model.js +98 -98
  609. package/dist/session/runner/publish-llm-event.js +3 -3
  610. package/dist/session/runner/retry.js +4 -4
  611. package/dist/session/runner/step.js +126 -126
  612. package/dist/session/runner/to-llm-message.js +2 -2
  613. package/dist/session/schema.js +5 -5
  614. package/dist/session/session.js +172 -172
  615. package/dist/session/shell.js +138 -138
  616. package/dist/session/skill.js +103 -103
  617. package/dist/session/sql.js +5 -5
  618. package/dist/session/stats.js +73 -73
  619. package/dist/session/store.js +85 -85
  620. package/dist/session/subagent-completion.js +1 -1
  621. package/dist/session/subagent-job.js +211 -211
  622. package/dist/session/system-prompt.js +1 -1
  623. package/dist/session/title.js +157 -157
  624. package/dist/session/to-session-error.js +111 -111
  625. package/dist/session/transfer.js +221 -221
  626. package/dist/session/usage.js +1 -1
  627. package/dist/session.js +219 -219
  628. package/dist/shell/parse.js +6 -6
  629. package/dist/shell/result.js +1 -1
  630. package/dist/shell/scan.js +1 -1
  631. package/dist/shell/select.js +9 -9
  632. package/dist/shell.js +140 -140
  633. package/dist/skill/discovery.js +6 -6
  634. package/dist/skill/instructions.js +105 -105
  635. package/dist/skill.js +110 -110
  636. package/dist/snapshot.js +89 -89
  637. package/dist/state.js +1 -1
  638. package/dist/tool/html-markdown.js +1 -1
  639. package/dist/tool/http-body.js +1 -1
  640. package/dist/tool/mcp.js +128 -128
  641. package/dist/tool/plugin/edit.js +120 -120
  642. package/dist/tool/plugin/file-diff.js +1 -1
  643. package/dist/tool/plugin/glob.js +124 -124
  644. package/dist/tool/plugin/grep.js +120 -120
  645. package/dist/tool/plugin/mcp-resource.js +117 -117
  646. package/dist/tool/plugin/opencode.js +1 -1
  647. package/dist/tool/plugin/patch.js +120 -120
  648. package/dist/tool/plugin/question.js +103 -103
  649. package/dist/tool/plugin/read.js +123 -123
  650. package/dist/tool/plugin/shell.js +218 -218
  651. package/dist/tool/plugin/skill.js +109 -109
  652. package/dist/tool/plugin/subagent.js +216 -216
  653. package/dist/tool/plugin/webfetch.js +110 -110
  654. package/dist/tool/plugin/websearch.js +108 -108
  655. package/dist/tool/plugin/write.js +120 -120
  656. package/dist/tool/read-filesystem.js +100 -100
  657. package/dist/tool/runtime.js +1 -1
  658. package/dist/tool-output.js +8 -8
  659. package/dist/tool.js +14 -14
  660. package/dist/util/error-summary.js +1 -1
  661. package/dist/util/error.js +1 -1
  662. package/dist/util/git-executable.js +2 -2
  663. package/dist/util/iife.js +1 -1
  664. package/dist/util/lazy.js +1 -1
  665. package/dist/util/slug.js +1 -1
  666. package/dist/util/token.js +1 -1
  667. package/dist/util/which.js +1 -1
  668. package/dist/util/wildcard.js +1 -1
  669. package/dist/v1/config/agent.js +7 -7
  670. package/dist/v1/config/attachment.js +4 -4
  671. package/dist/v1/config/command.js +3 -3
  672. package/dist/v1/config/config.js +16 -16
  673. package/dist/v1/config/error.js +4 -4
  674. package/dist/v1/config/formatter.js +5 -5
  675. package/dist/v1/config/layout.js +1 -1
  676. package/dist/v1/config/lsp.js +5 -5
  677. package/dist/v1/config/mcp.js +4 -4
  678. package/dist/v1/config/migrate.js +92 -92
  679. package/dist/v1/config/permission.js +7 -7
  680. package/dist/v1/config/plugin.js +3 -3
  681. package/dist/v1/config/provider-options.js +1 -1
  682. package/dist/v1/config/provider.js +4 -4
  683. package/dist/v1/config/server.js +2 -2
  684. package/dist/v1/config/skills.js +3 -3
  685. package/dist/v1/permission.js +1 -1
  686. package/dist/variant.js +91 -91
  687. package/dist/vcs/patch.js +1 -1
  688. package/dist/vcs.js +89 -89
  689. package/dist/websearch.js +76 -76
  690. package/dist/wellknown/plugin.js +76 -76
  691. package/dist/wellknown.js +79 -79
  692. package/dist/workspace/driver.js +5 -5
  693. package/dist/workspace/sql.js +1 -1
  694. package/dist/workspace.js +80 -80
  695. package/dist/worktree/directory.js +2 -2
  696. package/dist/worktree/git.js +8 -8
  697. package/dist/worktree/sql.js +5 -5
  698. package/dist/worktree/strategies.js +89 -89
  699. package/dist/worktree.js +96 -96
  700. package/package.json +8 -8
  701. package/dist/chunks/mime-973x470y.js +0 -252
  702. package/dist/chunks/mime-ctefx7dc.js +0 -18
  703. package/dist/chunks/mime-wd51j5pa.js +0 -26
  704. /package/dist/chunks/{mime-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
  705. /package/dist/chunks/{mime-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
  706. /package/dist/chunks/{mime-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
  707. /package/dist/chunks/{mime-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
  708. /package/dist/chunks/{mime-1kg9ymc8.js → snapshot-1kg9ymc8.js} +0 -0
  709. /package/dist/chunks/{mime-24dcb14g.js → snapshot-24dcb14g.js} +0 -0
  710. /package/dist/chunks/{mime-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
  711. /package/dist/chunks/{mime-2axfhc9x.js → snapshot-2axfhc9x.js} +0 -0
  712. /package/dist/chunks/{mime-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
  713. /package/dist/chunks/{mime-34c7v6d4.js → snapshot-34c7v6d4.js} +0 -0
  714. /package/dist/chunks/{mime-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
  715. /package/dist/chunks/{mime-3asan66x.js → snapshot-3asan66x.js} +0 -0
  716. /package/dist/chunks/{mime-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
  717. /package/dist/chunks/{mime-3w5fmr99.js → snapshot-3w5fmr99.js} +0 -0
  718. /package/dist/chunks/{mime-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
  719. /package/dist/chunks/{mime-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
  720. /package/dist/chunks/{mime-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
  721. /package/dist/chunks/{mime-4vcrnpx2.js → snapshot-4vcrnpx2.js} +0 -0
  722. /package/dist/chunks/{mime-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
  723. /package/dist/chunks/{mime-53557ph1.js → snapshot-53557ph1.js} +0 -0
  724. /package/dist/chunks/{mime-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
  725. /package/dist/chunks/{mime-6prwharc.js → snapshot-6prwharc.js} +0 -0
  726. /package/dist/chunks/{mime-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
  727. /package/dist/chunks/{mime-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
  728. /package/dist/chunks/{mime-822emrt2.js → snapshot-822emrt2.js} +0 -0
  729. /package/dist/chunks/{mime-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
  730. /package/dist/chunks/{mime-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
  731. /package/dist/chunks/{mime-8wj87zfr.js → snapshot-8wj87zfr.js} +0 -0
  732. /package/dist/chunks/{mime-922hggd3.js → snapshot-922hggd3.js} +0 -0
  733. /package/dist/chunks/{mime-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
  734. /package/dist/chunks/{mime-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
  735. /package/dist/chunks/{mime-a6k6eb26.js → snapshot-a6k6eb26.js} +0 -0
  736. /package/dist/chunks/{mime-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
  737. /package/dist/chunks/{mime-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
  738. /package/dist/chunks/{mime-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
  739. /package/dist/chunks/{mime-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
  740. /package/dist/chunks/{mime-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
  741. /package/dist/chunks/{mime-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
  742. /package/dist/chunks/{mime-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
  743. /package/dist/chunks/{mime-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
  744. /package/dist/chunks/{mime-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
  745. /package/dist/chunks/{mime-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
  746. /package/dist/chunks/{mime-dajrwvna.js → snapshot-dajrwvna.js} +0 -0
  747. /package/dist/chunks/{mime-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
  748. /package/dist/chunks/{mime-df08tz66.js → snapshot-df08tz66.js} +0 -0
  749. /package/dist/chunks/{mime-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
  750. /package/dist/chunks/{mime-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
  751. /package/dist/chunks/{mime-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
  752. /package/dist/chunks/{mime-ec1grn59.js → snapshot-ec1grn59.js} +0 -0
  753. /package/dist/chunks/{mime-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
  754. /package/dist/chunks/{mime-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
  755. /package/dist/chunks/{mime-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
  756. /package/dist/chunks/{mime-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
  757. /package/dist/chunks/{mime-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
  758. /package/dist/chunks/{mime-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
  759. /package/dist/chunks/{mime-fxgpk5d8.js → snapshot-fxgpk5d8.js} +0 -0
  760. /package/dist/chunks/{mime-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
  761. /package/dist/chunks/{mime-g86h250q.js → snapshot-g86h250q.js} +0 -0
  762. /package/dist/chunks/{mime-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
  763. /package/dist/chunks/{mime-gftt206x.js → snapshot-gftt206x.js} +0 -0
  764. /package/dist/chunks/{mime-hjbc5kem.js → snapshot-hjbc5kem.js} +0 -0
  765. /package/dist/chunks/{mime-hk9envan.js → snapshot-hk9envan.js} +0 -0
  766. /package/dist/chunks/{mime-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
  767. /package/dist/chunks/{mime-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
  768. /package/dist/chunks/{mime-jjkms2e6.js → snapshot-jjkms2e6.js} +0 -0
  769. /package/dist/chunks/{mime-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
  770. /package/dist/chunks/{mime-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
  771. /package/dist/chunks/{mime-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
  772. /package/dist/chunks/{mime-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
  773. /package/dist/chunks/{mime-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
  774. /package/dist/chunks/{mime-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
  775. /package/dist/chunks/{mime-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
  776. /package/dist/chunks/{mime-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
  777. /package/dist/chunks/{mime-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
  778. /package/dist/chunks/{mime-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
  779. /package/dist/chunks/{mime-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
  780. /package/dist/chunks/{mime-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
  781. /package/dist/chunks/{mime-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
  782. /package/dist/chunks/{mime-qg3g05ea.js → snapshot-qg3g05ea.js} +0 -0
  783. /package/dist/chunks/{mime-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
  784. /package/dist/chunks/{mime-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
  785. /package/dist/chunks/{mime-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
  786. /package/dist/chunks/{mime-sk3qaz4a.js → snapshot-sk3qaz4a.js} +0 -0
  787. /package/dist/chunks/{mime-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
  788. /package/dist/chunks/{mime-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
  789. /package/dist/chunks/{mime-wc3fc9cn.js → snapshot-wc3fc9cn.js} +0 -0
  790. /package/dist/chunks/{mime-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
  791. /package/dist/chunks/{mime-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
  792. /package/dist/chunks/{mime-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
  793. /package/dist/chunks/{mime-x61499pn.js → snapshot-x61499pn.js} +0 -0
  794. /package/dist/chunks/{mime-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
  795. /package/dist/chunks/{mime-y8cydn3q.js → snapshot-y8cydn3q.js} +0 -0
  796. /package/dist/chunks/{mime-y8f7s663.js → snapshot-y8f7s663.js} +0 -0
  797. /package/dist/chunks/{mime-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
  798. /package/dist/chunks/{mime-ym463w8f.js → snapshot-ym463w8f.js} +0 -0
  799. /package/dist/chunks/{mime-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
@@ -2,18 +2,18 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./mime-922hggd3.js";
5
+ } from "./snapshot-922hggd3.js";
6
6
  import {
7
- Service79,
8
- node83
9
- } from "./mime-fcacqew5.js";
7
+ Service80,
8
+ node84
9
+ } from "./snapshot-7nbv2x26.js";
10
10
  import {
11
- Service16,
12
- node18
13
- } from "./mime-rbwnvwzh.js";
11
+ Service38,
12
+ node41
13
+ } from "./snapshot-152bgcwg.js";
14
14
  import {
15
15
  __export
16
- } from "./mime-9rqn6x4v.js";
16
+ } from "./snapshot-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
@@ -22,20 +22,20 @@ __export(exports_filesystem, {
22
22
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
23
23
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
24
24
  Entry: () => Entry2,
25
- Event: () => Event2,
25
+ Event: () => Event8,
26
26
  FileSystem: () => exports_filesystem,
27
27
  FindInput: () => FindInput2,
28
28
  GlobInput: () => GlobInput2,
29
29
  GrepInput: () => GrepInput2,
30
- ListInput: () => ListInput2,
30
+ ListInput: () => ListInput3,
31
31
  Match: () => Match2,
32
- NotFoundError: () => NotFoundError2,
32
+ NotFoundError: () => NotFoundError5,
33
33
  ReadInput: () => ReadInput2,
34
- Service: () => Service15,
34
+ Service: () => Service37,
35
35
  Submatch: () => Submatch2,
36
36
  Write: () => Write2,
37
37
  WriteInput: () => WriteInput2,
38
- node: () => node17
38
+ node: () => node40
39
39
  });
40
40
  import { makeLocationNode } from "@opencode/util/effect/app-node";
41
41
  import path from "path";
@@ -51,7 +51,7 @@ var WriteInput2 = Schema.Struct({
51
51
  data: Schema.Uint8Array
52
52
  });
53
53
 
54
- class NotFoundError2 extends Schema.TaggedError()("FileSystem.NotFoundError", {
54
+ class NotFoundError5 extends Schema.TaggedError()("FileSystem.NotFoundError", {
55
55
  path: RelativePath2
56
56
  }) {
57
57
  }
@@ -62,7 +62,7 @@ var Content2 = Schema.Struct({
62
62
  encoding: Schema.Literals(["utf8", "base64"]),
63
63
  mime: Schema.String
64
64
  }).annotate({ identifier: "FileSystem.Content" });
65
- var ListInput2 = Schema.Struct({
65
+ var ListInput3 = Schema.Struct({
66
66
  path: Schema.String.pipe(Schema.optional)
67
67
  });
68
68
  var DEFAULT_SEARCH_LIMIT2 = 100;
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
85
85
  limit: Schema.optionalKey(PositiveInt2)
86
86
  }) {
87
87
  }
88
- var Event2 = FileSystem.Event;
88
+ var Event8 = FileSystem.Event;
89
89
 
90
- class Service15 extends Context.Service()("@opencode/FileSystem") {
90
+ class Service37 extends Context.Service()("@opencode/FileSystem") {
91
91
  }
92
- var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
92
+ var baseLayer = Layer.effect(Service37, Effect.gen(function* () {
93
93
  const fs = yield* FSUtil.Service;
94
- const location = yield* Service79;
95
- const search = yield* Service16;
94
+ const location = yield* Service80;
95
+ const search = yield* Service38;
96
96
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
97
97
  const resolve = Effect.fnUntraced(function* (input) {
98
98
  const absolute = path.resolve(location.directory, input ?? ".");
@@ -103,15 +103,15 @@ var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
103
103
  return yield* Effect.die(new Error("Path escapes the location"));
104
104
  return { absolute, real, directory: location.directory };
105
105
  });
106
- return Service15.of({
106
+ return Service37.of({
107
107
  find: search.find,
108
108
  read: Effect.fn("FileSystem.read")(function* (input) {
109
- const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
110
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
109
+ const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError5({ path: input.path })), (_, error) => Effect.die(error)));
110
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError5({ path: input.path })), (_, error) => Effect.die(error)));
111
111
  if (info.type !== "File")
112
112
  return yield* Effect.die(new Error("Path is not a file"));
113
113
  return {
114
- content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error))),
114
+ content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError5({ path: input.path })), (_, error) => Effect.die(error))),
115
115
  mime: FSUtil.mimeType(target.real)
116
116
  };
117
117
  }),
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
140
140
  })
141
141
  });
142
142
  }));
143
- var node17 = makeLocationNode({
144
- service: Service15,
143
+ var node40 = makeLocationNode({
144
+ service: Service37,
145
145
  layer: baseLayer,
146
- deps: [FSUtil.node, node83, node18]
146
+ deps: [FSUtil.node, node84, node41]
147
147
  });
148
148
 
149
- export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service15, node17, exports_filesystem, Entry2, Match2, Submatch2 };
149
+ export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError5, Content2, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event8, Service37, node40, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service80,
3
- node84
4
- } from "./mime-xm7se6xx.js";
2
+ Service81,
3
+ node85
4
+ } from "./snapshot-51eqdrz1.js";
5
5
  import {
6
6
  __export
7
- } from "./mime-9rqn6x4v.js";
7
+ } from "./snapshot-9rqn6x4v.js";
8
8
 
9
9
  // src/location.ts
10
10
  var exports_location = {};
@@ -12,22 +12,22 @@ __export(exports_location, {
12
12
  Info: () => Info32,
13
13
  Location: () => exports_location,
14
14
  Ref: () => Ref4,
15
- Service: () => Service79,
15
+ Service: () => Service80,
16
16
  boundNode: () => boundNode2,
17
- node: () => node83,
17
+ node: () => node84,
18
18
  response: () => response2
19
19
  });
20
20
  import { Context, Effect, Layer } from "effect";
21
21
  import { Info as Info32, Ref as Ref4, response as response2 } from "@opencode/schema/location";
22
22
  import { LayerNode } from "@opencode/util/effect/layer-node";
23
23
  import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
24
- class Service79 extends Context.Service()("@opencode/Location") {
24
+ class Service80 extends Context.Service()("@opencode/Location") {
25
25
  }
26
- var node83 = LayerNode.unbound(Service79, tags.values.location);
27
- var layer = (ref) => Layer.effect(Service79, Effect.gen(function* () {
28
- const project = yield* Service80;
26
+ var node84 = LayerNode.unbound(Service80, tags.values.location);
27
+ var layer = (ref) => Layer.effect(Service80, Effect.gen(function* () {
28
+ const project = yield* Service81;
29
29
  const resolved = yield* project.resolve(ref.directory);
30
- return Service79.of({
30
+ return Service80.of({
31
31
  directory: ref.directory,
32
32
  workspaceID: ref.workspaceID,
33
33
  project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
@@ -35,9 +35,9 @@ var layer = (ref) => Layer.effect(Service79, Effect.gen(function* () {
35
35
  });
36
36
  }));
37
37
  var boundNode2 = (ref) => makeLocationNode({
38
- service: Service79,
38
+ service: Service80,
39
39
  layer: layer(ref),
40
- deps: [node84]
40
+ deps: [node85]
41
41
  });
42
42
 
43
- export { Info32, Ref4, response2, Service79, node83, boundNode2, exports_location };
43
+ export { Info32, Ref4, response2, Service80, node84, boundNode2, exports_location };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  useragent2
3
- } from "./mime-nv3ykw2b.js";
3
+ } from "./snapshot-xx0efrt7.js";
4
4
  import {
5
5
  __export
6
- } from "./mime-9rqn6x4v.js";
6
+ } from "./snapshot-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/tavily.ts
9
9
  var exports_tavily = {};
10
10
  __export(exports_tavily, {
11
- Plugin: () => Plugin37,
11
+ Plugin: () => Plugin4,
12
12
  WebSearchTavily: () => exports_tavily,
13
- endpoint: () => endpoint2
13
+ endpoint: () => endpoint4
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Duration, Effect, Schema } from "effect";
17
17
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
18
- var endpoint2 = "https://api.tavily.com/search";
18
+ var endpoint4 = "https://api.tavily.com/search";
19
19
  var SearchRequest = Schema.Struct({
20
20
  query: Schema.String,
21
21
  search_depth: Schema.Literal("basic"),
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
29
29
  content: Schema.String
30
30
  }))
31
31
  });
32
- var Plugin37 = define({
32
+ var Plugin4 = define({
33
33
  id: "opencode.websearch.tavily",
34
34
  effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
35
35
  const http = yield* HttpClient.HttpClient;
@@ -51,7 +51,7 @@ var Plugin37 = define({
51
51
  execute: (input) => Effect.gen(function* () {
52
52
  const connection = yield* ctx.integration.connection.active("tavily");
53
53
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
54
- const request = yield* HttpClientRequest.post(endpoint2).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
54
+ const request = yield* HttpClientRequest.post(endpoint4).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
55
55
  "User-Agent": useragent2(ctx.app),
56
56
  "X-Client-Name": "opencode2",
57
57
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
@@ -77,4 +77,4 @@ var Plugin37 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint2, Plugin37, exports_tavily };
80
+ export { endpoint4, Plugin4, exports_tavily };
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./mime-gfdgk92a.js";
4
+ } from "./snapshot-50h1eett.js";
5
5
  import {
6
- Service82,
7
- node86
8
- } from "./mime-3xqprepe.js";
6
+ Service83,
7
+ node87
8
+ } from "./snapshot-dh7fttfm.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./mime-pknna89w.js";
11
+ } from "./snapshot-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./mime-3zsf4n22.js";
14
+ } from "./snapshot-3zsf4n22.js";
15
15
  import {
16
16
  __export
17
- } from "./mime-9rqn6x4v.js";
17
+ } from "./snapshot-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event19,
24
- ID: () => ID14,
25
- Info: () => Info29,
23
+ Event: () => Event20,
24
+ ID: () => ID16,
25
+ Info: () => Info31,
26
26
  Key: () => Key4,
27
27
  OAuth: () => OAuth3,
28
28
  Service: () => Service75,
29
29
  Value: () => Value2,
30
- node: () => node78
30
+ node: () => node79
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
34
34
  import { Credential } from "@opencode/schema/credential";
35
35
  import { Integration } from "@opencode/schema/integration";
36
36
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
37
- var ID14 = Credential.ID;
37
+ var ID16 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
39
  var Key4 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event19 = Credential.Event;
41
+ var Event20 = Credential.Event;
42
42
 
43
- class Info29 extends Schema.Class("Credential.Info")({
44
- id: ID14,
43
+ class Info31 extends Schema.Class("Credential.Info")({
44
+ id: ID16,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
@@ -52,12 +52,12 @@ class Service75 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
53
  var layer = Layer.effect(Service75, Effect.gen(function* () {
54
54
  const db = (yield* Service84).db;
55
- const bus = yield* Service82;
55
+ const bus = yield* Service83;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info29({
60
+ return new Info31({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
76
76
  return row ? stored(row) : undefined;
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
- const credential = new Info29({
80
- id: input.id ?? ID14.create(),
79
+ const credential = new Info31({
80
+ id: input.id ?? ID16.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -108,9 +108,9 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
108
108
  type: credential.value.type,
109
109
  active: activated
110
110
  });
111
- yield* bus.publish(Event19.Updated, {}, { global: true });
111
+ yield* bus.publish(Event20.Updated, {}, { global: true });
112
112
  if (activated)
113
- yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
113
+ yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
114
114
  return credential;
115
115
  }),
116
116
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
130
130
  })), Effect.orDie);
131
131
  if (integrationID) {
132
132
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
133
- yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
133
+ yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
134
134
  }
135
135
  }),
136
136
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -162,7 +162,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
162
162
  labelChanged: updates.label !== undefined && updates.label !== credential.label
163
163
  });
164
164
  if (updates.label !== undefined && updates.label !== credential.label)
165
- yield* bus.publish(Event19.Updated, {}, { global: true });
165
+ yield* bus.publish(Event20.Updated, {}, { global: true });
166
166
  }),
167
167
  remove: Effect.fn("Credential.remove")(function* (id) {
168
168
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -195,12 +195,12 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
195
195
  active: removed.switched,
196
196
  ...removed.switched ? { replacementID: removed.credentialID } : {}
197
197
  });
198
- yield* bus.publish(Event19.Updated, {}, { global: true });
198
+ yield* bus.publish(Event20.Updated, {}, { global: true });
199
199
  if (removed.switched)
200
- yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
200
+ yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
201
201
  })
202
202
  });
203
203
  }));
204
- var node78 = makeGlobalNode({ service: Service75, layer, deps: [node88, node86] });
204
+ var node79 = makeGlobalNode({ service: Service75, layer, deps: [node88, node87] });
205
205
 
206
- export { ID14, OAuth3, Key4, Value2, Event19, Info29, Service75, node78, exports_credential };
206
+ export { ID16, OAuth3, Key4, Value2, Event20, Info31, Service75, node79, exports_credential };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./mime-9rqn6x4v.js";
3
+ } from "./snapshot-9rqn6x4v.js";
4
4
 
5
5
  // src/repository.ts
6
6
  var exports_repository = {};
@@ -13,7 +13,7 @@ __export(exports_repository, {
13
13
  cachePath: () => cachePath2,
14
14
  isFile: () => isFile2,
15
15
  isRemote: () => isRemote2,
16
- parse: () => parse5,
16
+ parse: () => parse4,
17
17
  parseRemote: () => parseRemote2,
18
18
  same: () => same2,
19
19
  validateBranch: () => validateBranch3
@@ -39,7 +39,7 @@ class InvalidBranchError3 extends Schema.TaggedError()("RepositoryInvalidBranchE
39
39
  message: Schema.String
40
40
  }) {
41
41
  }
42
- function parse5(input) {
42
+ function parse4(input) {
43
43
  const cleaned = normalizeInput(input);
44
44
  if (!cleaned)
45
45
  return;
@@ -72,7 +72,7 @@ function parse5(input) {
72
72
  }
73
73
  }
74
74
  function parseRemote2(input) {
75
- const reference = parse5(input);
75
+ const reference = parse4(input);
76
76
  if (!reference) {
77
77
  throw new InvalidReferenceError2({
78
78
  repository: input,
@@ -172,4 +172,4 @@ function buildFile(input) {
172
172
  };
173
173
  }
174
174
 
175
- export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse5, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
175
+ export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse4, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
@@ -2,17 +2,17 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./mime-922hggd3.js";
5
+ } from "./snapshot-922hggd3.js";
6
6
  import {
7
- Service77,
8
- node80
9
- } from "./mime-b6q4wftx.js";
7
+ Service66,
8
+ node69
9
+ } from "./snapshot-bq7xdv31.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./mime-8d7r5vzw.js";
12
+ } from "./snapshot-8d7r5vzw.js";
13
13
  import {
14
14
  __export
15
- } from "./mime-9rqn6x4v.js";
15
+ } from "./snapshot-9rqn6x4v.js";
16
16
 
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
20
20
  Error: () => Error2,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service17,
24
- node: () => node19
23
+ Service: () => Service48,
24
+ node: () => node50
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/unstable/process";
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
58
58
  }) {
59
59
  }
60
60
 
61
- class Service17 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service48 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
63
  var failure = (message, cause) => new Error2({ message, cause });
64
64
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
65
65
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
66
- var layer = Layer.effect(Service17, Effect.gen(function* () {
67
- const environment = yield* Service77;
66
+ var layer = Layer.effect(Service48, Effect.gen(function* () {
67
+ const environment = yield* Service66;
68
68
  const binary = yield* RipgrepBinary2.Service;
69
69
  const run = (input) => {
70
70
  const program = Effect.scoped(Effect.gen(function* () {
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
92
92
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
93
93
  return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service17.of({
95
+ return Service48.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
175
175
  }))))
176
176
  });
177
177
  }));
178
- var node19 = makeLocationNode({ service: Service17, layer, deps: [node80, RipgrepBinary2.node] });
178
+ var node50 = makeLocationNode({ service: Service48, layer, deps: [node69, RipgrepBinary2.node] });
179
179
 
180
- export { Error2, InvalidPatternError2, Service17, node19, exports_ripgrep };
180
+ export { Error2, InvalidPatternError2, Service48, node50, exports_ripgrep };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service72
3
- } from "./mime-vps92m75.js";
2
+ Service77
3
+ } from "./snapshot-1rh4yqvv.js";
4
4
  import {
5
- Service46
6
- } from "./mime-909p1r3q.js";
5
+ Service43
6
+ } from "./snapshot-4mwpykj0.js";
7
7
  import {
8
8
  detect2
9
- } from "./mime-3smtnn6g.js";
9
+ } from "./snapshot-3smtnn6g.js";
10
10
  import {
11
11
  awaitActivation2
12
- } from "./mime-ctefx7dc.js";
12
+ } from "./snapshot-4v7qdvcn.js";
13
13
  import {
14
- Service73
15
- } from "./mime-cmmdg65p.js";
14
+ Service78
15
+ } from "./snapshot-tx9w5tca.js";
16
16
  import {
17
17
  AttachmentError2,
18
18
  SkillNotFoundError2
19
- } from "./mime-aj9wrhbp.js";
19
+ } from "./snapshot-91qsytyh.js";
20
20
  import {
21
21
  prepare3,
22
- Service60
23
- } from "./mime-68b7s2z5.js";
22
+ Service39
23
+ } from "./snapshot-n5g04frr.js";
24
24
  import {
25
25
  __export
26
- } from "./mime-9rqn6x4v.js";
26
+ } from "./snapshot-9rqn6x4v.js";
27
27
 
28
28
  // src/session/prompt.ts
29
29
  var exports_prompt = {};
@@ -39,10 +39,10 @@ import path from "path";
39
39
  import { fileURLToPath } from "url";
40
40
  var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
41
41
  const fs = yield* FSUtil.Service;
42
- const instances = yield* Service46;
42
+ const instances = yield* Service43;
43
43
  return yield* Effect.gen(function* () {
44
44
  yield* awaitActivation2;
45
- const hooks = yield* Service73;
45
+ const hooks = yield* Service78;
46
46
  const event = yield* hooks.trigger("session", "prompt", {
47
47
  sessionID: request.session.id,
48
48
  messageID: request.messageID,
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
61
61
  const selected = yield* Effect.gen(function* () {
62
62
  if (!requested?.length)
63
63
  return;
64
- const skillService = yield* Service60;
64
+ const skillService = yield* Service39;
65
65
  const prepared = new Map;
66
66
  return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
67
67
  const name = prepared.get(attachment.id);
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
126
126
  var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
127
127
  if (!mime.startsWith("image/"))
128
128
  return { data: Base64.make(data), mime };
129
- const image = yield* Service72;
129
+ const image = yield* Service77;
130
130
  const label = attachmentLabel(input);
131
131
  const content = { uri: label, content: data, encoding: "base64", mime };
132
132
  const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./mime-qaymkmh1.js";
3
+ } from "./snapshot-qaymkmh1.js";
4
4
 
5
5
  // src/ripgrep/binary.ts
6
6
  import path from "path";