@opencode/core 0.0.0-dev-19636 → 0.0.0-dev-19638

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (789) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{filesystem-4ne2b2yw.js → file-access-01bhhyb7.js} +3 -3
  8. package/dist/chunks/{filesystem-eaj1djv9.js → file-access-02nrjc1r.js} +4 -4
  9. package/dist/chunks/{filesystem-v1e70071.js → file-access-0hnxfn8s.js} +18 -18
  10. package/dist/chunks/{filesystem-3r886gma.js → file-access-0j8y3tn5.js} +17 -17
  11. package/dist/chunks/file-access-0mesazry.js +4 -0
  12. package/dist/chunks/{filesystem-0paq2nw3.js → file-access-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{filesystem-0q0f95c6.js → file-access-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{filesystem-d79nh3qx.js → file-access-0tg58rzn.js} +11 -11
  15. package/dist/chunks/{filesystem-tjfjg9xy.js → file-access-1bz55dqa.js} +84 -84
  16. package/dist/chunks/{filesystem-1dazxqgg.js → file-access-1dazxqgg.js} +2 -2
  17. package/dist/chunks/{filesystem-pgeqw9gz.js → file-access-1h5aw7tx.js} +32 -32
  18. package/dist/chunks/{filesystem-s70r0d8a.js → file-access-1r6cykv1.js} +4 -4
  19. package/dist/chunks/{filesystem-21r38tys.js → file-access-21r38tys.js} +1 -1
  20. package/dist/chunks/{filesystem-rttadtrv.js → file-access-22xdy94t.js} +21 -21
  21. package/dist/chunks/{filesystem-6h73sxmp.js → file-access-2402vzrj.js} +5 -5
  22. package/dist/chunks/{filesystem-3dgjdry5.js → file-access-25fjjxm2.js} +29 -29
  23. package/dist/chunks/{filesystem-2a5m3afh.js → file-access-2a5m3afh.js} +1 -1
  24. package/dist/chunks/{filesystem-ghnetwzt.js → file-access-2j0dgarf.js} +20 -20
  25. package/dist/chunks/{filesystem-6f67xk9m.js → file-access-2js99wz0.js} +14 -14
  26. package/dist/chunks/{filesystem-6hcnmam1.js → file-access-2wts5qzq.js} +6 -6
  27. package/dist/chunks/{filesystem-cbc0wxnt.js → file-access-32x43b5h.js} +4 -4
  28. package/dist/chunks/{filesystem-2b0awdga.js → file-access-33c2t3mm.js} +18 -18
  29. package/dist/chunks/{filesystem-3fc6dm20.js → file-access-3fc6dm20.js} +1 -1
  30. package/dist/chunks/{filesystem-3hepkmqq.js → file-access-3hepkmqq.js} +1 -1
  31. package/dist/chunks/{filesystem-4br0erxd.js → file-access-3knnkrdf.js} +20 -20
  32. package/dist/chunks/{filesystem-gmjjhz4f.js → file-access-3ktbe3hf.js} +6 -6
  33. package/dist/chunks/{filesystem-6ehbgqat.js → file-access-3ppptnan.js} +6 -6
  34. package/dist/chunks/{filesystem-3smtnn6g.js → file-access-3smtnn6g.js} +1 -1
  35. package/dist/chunks/{filesystem-5sb5x7cf.js → file-access-3stbjpb0.js} +20 -20
  36. package/dist/chunks/{filesystem-3tvqynh2.js → file-access-3tvqynh2.js} +1 -1
  37. package/dist/chunks/{filesystem-mpkxj448.js → file-access-3zdwcfwy.js} +9 -9
  38. package/dist/chunks/{filesystem-a32yec29.js → file-access-3zrjs6f3.js} +9 -9
  39. package/dist/chunks/{filesystem-texzw661.js → file-access-46hd3f0f.js} +5 -5
  40. package/dist/chunks/{filesystem-nhy5jxhy.js → file-access-47gsdddb.js} +5 -5
  41. package/dist/chunks/{filesystem-we45q118.js → file-access-4cmr76fd.js} +3 -3
  42. package/dist/chunks/{filesystem-4xzs0z00.js → file-access-4hxfx086.js} +9 -9
  43. package/dist/chunks/{filesystem-tcg29b4q.js → file-access-4jc5c4h4.js} +1 -1
  44. package/dist/chunks/{filesystem-rjq70d1v.js → file-access-4nfbas15.js} +11 -11
  45. package/dist/chunks/{filesystem-pcefftg5.js → file-access-4vb1y0qz.js} +9 -9
  46. package/dist/chunks/{filesystem-dg2gp1rn.js → file-access-4wrt768g.js} +4 -4
  47. package/dist/chunks/{filesystem-1h3h6ne9.js → file-access-50hk1gym.js} +17 -17
  48. package/dist/chunks/{filesystem-tw0jddzq.js → file-access-56rycjvn.js} +31 -31
  49. package/dist/chunks/{filesystem-2fjrq4z2.js → file-access-5apets8e.js} +8 -8
  50. package/dist/chunks/{filesystem-5c4hm403.js → file-access-5c4hm403.js} +3 -3
  51. package/dist/chunks/{filesystem-5daktx2q.js → file-access-5daktx2q.js} +1 -1
  52. package/dist/chunks/{filesystem-hdthj1pw.js → file-access-5n7sh86d.js} +6 -6
  53. package/dist/chunks/{filesystem-5w5asw02.js → file-access-5srkf7nd.js} +12 -12
  54. package/dist/chunks/{filesystem-5t3nmthw.js → file-access-5t3nmthw.js} +2 -2
  55. package/dist/chunks/{filesystem-294fw6fk.js → file-access-62agcz7g.js} +20 -20
  56. package/dist/chunks/{filesystem-669tq793.js → file-access-669tq793.js} +1 -1
  57. package/dist/chunks/{filesystem-g7k1gdmz.js → file-access-6jft8mvs.js} +20 -20
  58. package/dist/chunks/{filesystem-hb4ygmza.js → file-access-6m499kzd.js} +36 -32
  59. package/dist/chunks/{filesystem-6msgmcgs.js → file-access-6msgmcgs.js} +1 -1
  60. package/dist/chunks/{filesystem-cg3fyqky.js → file-access-6snq9ewv.js} +45 -45
  61. package/dist/chunks/{filesystem-084qjam6.js → file-access-6ycvbcht.js} +16 -16
  62. package/dist/chunks/{filesystem-3g6gd80t.js → file-access-6ykthspn.js} +6 -6
  63. package/dist/chunks/{filesystem-3brweq1y.js → file-access-6ywjc070.js} +24 -24
  64. package/dist/chunks/{filesystem-ng7a4pcr.js → file-access-76jmq1mn.js} +167 -167
  65. package/dist/chunks/{filesystem-yvpfa4rd.js → file-access-76xmbs1m.js} +15 -15
  66. package/dist/chunks/{filesystem-7bmhse3q.js → file-access-7bmhse3q.js} +1 -1
  67. package/dist/chunks/{filesystem-e5epjp6e.js → file-access-7dcaf0ce.js} +21 -21
  68. package/dist/chunks/{filesystem-s194k709.js → file-access-7h1ryc6p.js} +18 -15
  69. package/dist/chunks/{filesystem-jzw9fxht.js → file-access-7heb594d.js} +28 -28
  70. package/dist/chunks/{filesystem-4ttgz70x.js → file-access-7n0p62ew.js} +11 -11
  71. package/dist/chunks/{filesystem-w7ar50ta.js → file-access-7tcrqq4t.js} +7 -7
  72. package/dist/chunks/{filesystem-6xdccknh.js → file-access-7tdtfp7b.js} +20 -20
  73. package/dist/chunks/{filesystem-1bbkgx8g.js → file-access-7yh4e7ss.js} +3 -3
  74. package/dist/chunks/{filesystem-9wvh8z56.js → file-access-812zr1rk.js} +10 -10
  75. package/dist/chunks/{filesystem-ytg5f91j.js → file-access-8526r7vx.js} +39 -39
  76. package/dist/chunks/{filesystem-e52vsy5d.js → file-access-8602h8p3.js} +8 -8
  77. package/dist/chunks/{filesystem-3fqm51rm.js → file-access-86jfkp86.js} +28 -28
  78. package/dist/chunks/{filesystem-fqtvmpfq.js → file-access-8ank75fn.js} +8 -8
  79. package/dist/chunks/{filesystem-b6zq1b9v.js → file-access-8b68vhre.js} +17 -17
  80. package/dist/chunks/{filesystem-8d7r5vzw.js → file-access-8d7r5vzw.js} +1 -1
  81. package/dist/chunks/{filesystem-hngmebnz.js → file-access-8kckztxt.js} +23 -23
  82. package/dist/chunks/file-access-8r5sxhkv.js +38 -0
  83. package/dist/chunks/{filesystem-v54d4zy3.js → file-access-8snetkfr.js} +5 -5
  84. package/dist/chunks/{filesystem-fq9618wy.js → file-access-8y62cfgq.js} +6 -6
  85. package/dist/chunks/{filesystem-reyjqdga.js → file-access-8yph952s.js} +4 -4
  86. package/dist/chunks/{filesystem-xb46sqya.js → file-access-8yppv9j5.js} +22 -22
  87. package/dist/chunks/{filesystem-bxf23pqh.js → file-access-917gka4z.js} +14 -14
  88. package/dist/chunks/{filesystem-11eespba.js → file-access-92f8rgp2.js} +24 -24
  89. package/dist/chunks/{filesystem-361qychh.js → file-access-99xay3p1.js} +8 -8
  90. package/dist/chunks/{filesystem-2begppk9.js → file-access-9ancjmj9.js} +34 -30
  91. package/dist/chunks/{filesystem-2tfmgkzg.js → file-access-9b36z5yg.js} +4 -4
  92. package/dist/chunks/{filesystem-kcnfxn04.js → file-access-9bkgmrac.js} +3 -3
  93. package/dist/chunks/{filesystem-g0avntpg.js → file-access-9ev53f4q.js} +16 -16
  94. package/dist/chunks/{filesystem-8r7v4pv1.js → file-access-9rrc34ns.js} +26 -26
  95. package/dist/chunks/{filesystem-r397h8mg.js → file-access-9s92gzw6.js} +24 -24
  96. package/dist/chunks/{filesystem-w60r9xev.js → file-access-a3dkvnxb.js} +35 -35
  97. package/dist/chunks/{filesystem-6hjx5zpb.js → file-access-a3ftg8j6.js} +9 -9
  98. package/dist/chunks/{filesystem-jfsctkpn.js → file-access-a46e93d3.js} +6 -6
  99. package/dist/chunks/{filesystem-cnrkenzz.js → file-access-a6kbnp9r.js} +6 -6
  100. package/dist/chunks/{filesystem-s3v9fbv9.js → file-access-a97f1kxr.js} +32 -32
  101. package/dist/chunks/{filesystem-aaet6srn.js → file-access-aaet6srn.js} +2 -2
  102. package/dist/chunks/{filesystem-9xnb7hyj.js → file-access-ajk9kppy.js} +20 -20
  103. package/dist/chunks/{filesystem-pqgd01zc.js → file-access-andt55zn.js} +46 -46
  104. package/dist/chunks/{filesystem-xdww2rec.js → file-access-ashkezcm.js} +27 -27
  105. package/dist/chunks/{filesystem-gw2kccs8.js → file-access-avs77xrm.js} +5 -5
  106. package/dist/chunks/{filesystem-712r6eb2.js → file-access-azvx9vjt.js} +15 -15
  107. package/dist/chunks/{filesystem-6hh8tjw2.js → file-access-b27vhd2z.js} +4 -4
  108. package/dist/chunks/{filesystem-1nr6pf8e.js → file-access-b2gch9fn.js} +25 -25
  109. package/dist/chunks/{filesystem-pzcfktq3.js → file-access-b2jj88ef.js} +18 -18
  110. package/dist/chunks/{filesystem-628568aw.js → file-access-b5j16w9d.js} +12 -12
  111. package/dist/chunks/{filesystem-c5b9ks87.js → file-access-b5jkzqy2.js} +37 -37
  112. package/dist/chunks/{filesystem-b6gygkdw.js → file-access-b6gygkdw.js} +2 -2
  113. package/dist/chunks/{filesystem-rba8598g.js → file-access-bbfsgge0.js} +22 -22
  114. package/dist/chunks/{filesystem-rsj9y6gb.js → file-access-be47w3k3.js} +15 -15
  115. package/dist/chunks/{filesystem-9ngxpv4m.js → file-access-bhqn7aj9.js} +11 -11
  116. package/dist/chunks/{filesystem-48egeg7n.js → file-access-bj5hbc59.js} +4 -4
  117. package/dist/chunks/file-access-by5v678g.js +18 -0
  118. package/dist/chunks/{filesystem-474v7c4x.js → file-access-by9rpdtw.js} +14 -14
  119. package/dist/chunks/{filesystem-5qcj4ksz.js → file-access-c1661jpf.js} +1 -1
  120. package/dist/chunks/{filesystem-5yzzbxa7.js → file-access-cmwkp3r5.js} +8 -8
  121. package/dist/chunks/{filesystem-cpj0znwe.js → file-access-cpj0znwe.js} +1 -1
  122. package/dist/chunks/{filesystem-h9h4rw0b.js → file-access-cy2r3qg1.js} +36 -36
  123. package/dist/chunks/{filesystem-2fgn2we9.js → file-access-d9s573fh.js} +9 -9
  124. package/dist/chunks/{filesystem-kqg5mzr3.js → file-access-dbtyj0an.js} +4 -4
  125. package/dist/chunks/{filesystem-dj2t23y0.js → file-access-dj2t23y0.js} +2 -2
  126. package/dist/chunks/{filesystem-yx9n7fpe.js → file-access-dpcqhtkn.js} +17 -17
  127. package/dist/chunks/{filesystem-jre2exce.js → file-access-dsyvch4e.js} +18 -18
  128. package/dist/chunks/{filesystem-b6pmepta.js → file-access-dthhqzns.js} +12 -12
  129. package/dist/chunks/{filesystem-s97q8wmc.js → file-access-dy562txv.js} +14 -14
  130. package/dist/chunks/{filesystem-dc8590hs.js → file-access-e2e34s5q.js} +26 -26
  131. package/dist/chunks/{filesystem-tk8b1eqd.js → file-access-e2qab2dq.js} +5 -5
  132. package/dist/chunks/{filesystem-t7w8wthg.js → file-access-e3adyxrg.js} +26 -26
  133. package/dist/chunks/{filesystem-e5nv3ght.js → file-access-e5nv3ght.js} +2 -2
  134. package/dist/chunks/{filesystem-9f7wwfw1.js → file-access-e64xqjet.js} +6 -6
  135. package/dist/chunks/{filesystem-nq29vp8n.js → file-access-ea3fxjgj.js} +21 -21
  136. package/dist/chunks/{filesystem-z9dqtg9m.js → file-access-eahf1j6r.js} +24 -24
  137. package/dist/chunks/{filesystem-ef5x83kb.js → file-access-ef5x83kb.js} +1 -1
  138. package/dist/chunks/{filesystem-6r95854g.js → file-access-enbnvbva.js} +37 -37
  139. package/dist/chunks/{filesystem-9rf1zay2.js → file-access-et8mzwyf.js} +11 -11
  140. package/dist/chunks/{filesystem-etq0c3wd.js → file-access-etq0c3wd.js} +1 -1
  141. package/dist/chunks/{filesystem-fhrwyyh1.js → file-access-ewwzb6sv.js} +5 -5
  142. package/dist/chunks/{filesystem-yfe53vnj.js → file-access-f3k401ar.js} +22 -22
  143. package/dist/chunks/{filesystem-f3ngv102.js → file-access-f3ngv102.js} +1 -1
  144. package/dist/chunks/{filesystem-81k51azh.js → file-access-f60890a8.js} +7 -7
  145. package/dist/chunks/{filesystem-xvcyhft3.js → file-access-f6fgfmmn.js} +33 -33
  146. package/dist/chunks/{filesystem-g0kf9mz8.js → file-access-fak7xqqt.js} +16 -16
  147. package/dist/chunks/{filesystem-z0065k1n.js → file-access-fc4nsy51.js} +38 -38
  148. package/dist/chunks/{filesystem-fxbjtjnd.js → file-access-fxbjtjnd.js} +1 -1
  149. package/dist/chunks/{filesystem-ex0pka66.js → file-access-fyjp43ss.js} +5 -5
  150. package/dist/chunks/{filesystem-df21te9f.js → file-access-g00jty2v.js} +16 -16
  151. package/dist/chunks/{filesystem-8bcx3nez.js → file-access-g0r62mbx.js} +4 -4
  152. package/dist/chunks/{filesystem-gd4qta3r.js → file-access-gd4qta3r.js} +1 -1
  153. package/dist/chunks/{filesystem-3w0fmcng.js → file-access-gqchpbtd.js} +5 -5
  154. package/dist/chunks/{filesystem-mn8cph46.js → file-access-gsj5sv52.js} +11 -11
  155. package/dist/chunks/{filesystem-h03wrkyp.js → file-access-h03wrkyp.js} +2 -2
  156. package/dist/chunks/file-access-h2q74avv.js +26 -0
  157. package/dist/chunks/{filesystem-h6vf3j39.js → file-access-h6vf3j39.js} +1 -1
  158. package/dist/chunks/{filesystem-hdnk95c8.js → file-access-hdnk95c8.js} +2 -2
  159. package/dist/chunks/{filesystem-mxxp51f6.js → file-access-he2x7e7z.js} +3 -3
  160. package/dist/chunks/{filesystem-6r8wc0ff.js → file-access-hftty0sn.js} +42 -25
  161. package/dist/chunks/{filesystem-wgwsgwdw.js → file-access-hg4hxzv1.js} +25 -25
  162. package/dist/chunks/{filesystem-0e31t5vv.js → file-access-hm7xtcxq.js} +13 -13
  163. package/dist/chunks/{filesystem-ag4rn41e.js → file-access-hn57h045.js} +4 -4
  164. package/dist/chunks/{filesystem-46qxp0cq.js → file-access-hpe0ccrg.js} +37 -37
  165. package/dist/chunks/{filesystem-d7124rbf.js → file-access-hwr433ds.js} +10 -10
  166. package/dist/chunks/{filesystem-zs77z4r0.js → file-access-j03d6hs6.js} +20 -20
  167. package/dist/chunks/{filesystem-c3st1rh6.js → file-access-j0vfj7ky.js} +13 -13
  168. package/dist/chunks/{filesystem-rp8jz6x1.js → file-access-j15mfg1p.js} +6 -6
  169. package/dist/chunks/{filesystem-j56e64zr.js → file-access-j56e64zr.js} +1 -1
  170. package/dist/chunks/{filesystem-jca4demv.js → file-access-jca4demv.js} +2 -2
  171. package/dist/chunks/{filesystem-x1xcpfha.js → file-access-jgv4nkbw.js} +15 -15
  172. package/dist/chunks/{filesystem-r2pbn9ew.js → file-access-jjefk1kz.js} +46 -46
  173. package/dist/chunks/{filesystem-24aj2vr8.js → file-access-js4k7t4e.js} +19 -19
  174. package/dist/chunks/{filesystem-spgtr7wt.js → file-access-k31cg7qp.js} +20 -20
  175. package/dist/chunks/{filesystem-p0r075tw.js → file-access-k33y0e94.js} +41 -41
  176. package/dist/chunks/{filesystem-nrck5rh0.js → file-access-ke9sk9ax.js} +16 -16
  177. package/dist/chunks/{filesystem-k5xj2xmh.js → file-access-km5njsm9.js} +11 -11
  178. package/dist/chunks/{filesystem-tqzhfmjj.js → file-access-kr9cqyf0.js} +8 -8
  179. package/dist/chunks/{filesystem-zvwz45r0.js → file-access-kw9xdzv2.js} +9 -9
  180. package/dist/chunks/{filesystem-m0jqrx5p.js → file-access-m0jqrx5p.js} +2 -2
  181. package/dist/chunks/{filesystem-36sxhdsk.js → file-access-m3kws1jr.js} +47 -47
  182. package/dist/chunks/{filesystem-g61ycw3s.js → file-access-m6gy85y0.js} +23 -23
  183. package/dist/chunks/{filesystem-m9w0rfyh.js → file-access-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{filesystem-drh00dzc.js → file-access-mby8mxat.js} +10 -10
  185. package/dist/chunks/{filesystem-33w4ejhs.js → file-access-mfqp6xfm.js} +9 -9
  186. package/dist/chunks/{filesystem-swvck4sd.js → file-access-mmy2zf88.js} +15 -15
  187. package/dist/chunks/{filesystem-2zyp5ek9.js → file-access-mrxfpjcs.js} +5 -5
  188. package/dist/chunks/{filesystem-24dd53tp.js → file-access-mvn2r3z4.js} +9 -9
  189. package/dist/chunks/{filesystem-cwfnw5hm.js → file-access-mxyhxd0t.js} +10 -10
  190. package/dist/chunks/{filesystem-jbpnby0z.js → file-access-mzrp1fyr.js} +13 -13
  191. package/dist/chunks/{filesystem-hzyv0aq5.js → file-access-n9y08rq6.js} +15 -15
  192. package/dist/chunks/{filesystem-e8340df8.js → file-access-ngdt5g2x.js} +8 -8
  193. package/dist/chunks/{filesystem-eshk1mrn.js → file-access-njqgj7qg.js} +11 -11
  194. package/dist/chunks/{filesystem-zgy1cjmt.js → file-access-nzha355v.js} +13 -13
  195. package/dist/chunks/{filesystem-crka0j56.js → file-access-p2f255ct.js} +4 -4
  196. package/dist/chunks/{filesystem-ze5y8rs0.js → file-access-p5599t8k.js} +8 -8
  197. package/dist/chunks/{filesystem-w2pmhvrv.js → file-access-pdd0bbjk.js} +14 -14
  198. package/dist/chunks/{filesystem-sd0hh66t.js → file-access-pfz3dw98.js} +26 -26
  199. package/dist/chunks/file-access-phnkt68t.js +474 -0
  200. package/dist/chunks/{filesystem-8we8r4vx.js → file-access-pj43p8qp.js} +10 -10
  201. package/dist/chunks/{filesystem-pjvnvgmy.js → file-access-pjvnvgmy.js} +1 -1
  202. package/dist/chunks/{filesystem-pknna89w.js → file-access-pknna89w.js} +1 -1
  203. package/dist/chunks/{filesystem-ahzc4xqv.js → file-access-pr444p5c.js} +15 -15
  204. package/dist/chunks/{filesystem-nc3pr63t.js → file-access-q12jtckr.js} +10 -10
  205. package/dist/chunks/{filesystem-sjbhawkw.js → file-access-qfjwnv02.js} +1 -1
  206. package/dist/chunks/{filesystem-0jwsre1p.js → file-access-qgn6gcr1.js} +5 -5
  207. package/dist/chunks/{filesystem-gjwgx2c5.js → file-access-qmqgtz8f.js} +5 -5
  208. package/dist/chunks/{filesystem-qsdy395h.js → file-access-qsdy395h.js} +1 -1
  209. package/dist/chunks/{filesystem-wfjzk575.js → file-access-qv9gx9bg.js} +41 -41
  210. package/dist/chunks/{filesystem-5dgzn4tn.js → file-access-qx87dfmj.js} +16 -16
  211. package/dist/chunks/{filesystem-bwza20cw.js → file-access-r4ck6ye8.js} +13 -13
  212. package/dist/chunks/{filesystem-r9mregkx.js → file-access-r9mregkx.js} +2 -2
  213. package/dist/chunks/{filesystem-1rxs6y3d.js → file-access-rds37zvx.js} +19 -19
  214. package/dist/chunks/{filesystem-rdw6cm16.js → file-access-rdw6cm16.js} +1 -1
  215. package/dist/chunks/{filesystem-k191nb18.js → file-access-rgp511zr.js} +2 -2
  216. package/dist/chunks/{filesystem-z6tazwav.js → file-access-rj5xkaak.js} +15 -15
  217. package/dist/chunks/{filesystem-zeh9ct20.js → file-access-rq775frq.js} +2 -2
  218. package/dist/chunks/{filesystem-5h05hjvz.js → file-access-rsk3jvy7.js} +11 -11
  219. package/dist/chunks/{filesystem-gma20p0b.js → file-access-rtxak1ft.js} +13 -13
  220. package/dist/chunks/{filesystem-egza69qx.js → file-access-rw8kjknk.js} +5 -5
  221. package/dist/chunks/{filesystem-yt0fqk68.js → file-access-s587y4ee.js} +5 -5
  222. package/dist/chunks/{filesystem-p1cpmwyf.js → file-access-s6jatava.js} +19 -19
  223. package/dist/chunks/{filesystem-qe4fvz1x.js → file-access-s7769g1c.js} +22 -22
  224. package/dist/chunks/{filesystem-ysstqnzc.js → file-access-s8j3dq9b.js} +3 -3
  225. package/dist/chunks/{filesystem-jr7kwrkh.js → file-access-snmjhvm7.js} +15 -15
  226. package/dist/chunks/{filesystem-68cg48z6.js → file-access-spqgdpza.js} +20 -20
  227. package/dist/chunks/{filesystem-j4450fcx.js → file-access-sstmea9h.js} +20 -20
  228. package/dist/chunks/{filesystem-msqsbnvg.js → file-access-sve5t580.js} +54 -54
  229. package/dist/chunks/{filesystem-yjx4qmbw.js → file-access-sxd752g3.js} +8 -8
  230. package/dist/chunks/{filesystem-yjptyezs.js → file-access-t3swkhbg.js} +5 -5
  231. package/dist/chunks/{filesystem-cackw8yz.js → file-access-t7e0y256.js} +9 -9
  232. package/dist/chunks/{filesystem-zp6zzbwt.js → file-access-t9kha2ca.js} +16 -16
  233. package/dist/chunks/{filesystem-tazgh4e4.js → file-access-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{filesystem-89znhe33.js → file-access-tcezcvh9.js} +4 -4
  235. package/dist/chunks/{filesystem-m1548a0r.js → file-access-tdbakys2.js} +25 -25
  236. package/dist/chunks/{filesystem-tdstcens.js → file-access-tdstcens.js} +1 -1
  237. package/dist/chunks/{filesystem-tvtrv512.js → file-access-tvtrv512.js} +1 -1
  238. package/dist/chunks/{filesystem-jsvb6vsn.js → file-access-v24739yc.js} +12 -12
  239. package/dist/chunks/{filesystem-13b2ng85.js → file-access-v65pmyz7.js} +3 -3
  240. package/dist/chunks/{filesystem-vmd137xr.js → file-access-vbmkf8sa.js} +65 -65
  241. package/dist/chunks/{filesystem-veqvce7d.js → file-access-veqvce7d.js} +1 -1
  242. package/dist/chunks/{filesystem-82qkcyg7.js → file-access-vfp4enkz.js} +11 -11
  243. package/dist/chunks/{filesystem-jdyy8xf0.js → file-access-vhfq0sg5.js} +9 -9
  244. package/dist/chunks/{filesystem-msngqtw6.js → file-access-vmgcxazz.js} +3 -3
  245. package/dist/chunks/{filesystem-bct739vz.js → file-access-vncycja5.js} +4 -4
  246. package/dist/chunks/{filesystem-che44dvv.js → file-access-vpgyrhve.js} +44 -44
  247. package/dist/chunks/{filesystem-4541pte3.js → file-access-vyqn3nqs.js} +6 -6
  248. package/dist/chunks/{filesystem-vzcthcp8.js → file-access-vzcthcp8.js} +1 -1
  249. package/dist/chunks/{filesystem-paegk39x.js → file-access-w1k39n5e.js} +4 -4
  250. package/dist/chunks/{filesystem-w3wsvvr9.js → file-access-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{filesystem-1fmrbde1.js → file-access-w4axh9wz.js} +6 -6
  252. package/dist/chunks/{filesystem-caj0q3k9.js → file-access-wc8ptzv7.js} +29 -29
  253. package/dist/chunks/{filesystem-wd87259q.js → file-access-wd87259q.js} +1 -1
  254. package/dist/chunks/{filesystem-c86vv8em.js → file-access-wvxf6pmh.js} +10 -10
  255. package/dist/chunks/{filesystem-x1ezjp6w.js → file-access-x1ezjp6w.js} +1 -1
  256. package/dist/chunks/{filesystem-d4xtzqw3.js → file-access-xsyev9bv.js} +17 -17
  257. package/dist/chunks/file-access-xv4gw76e.js +247 -0
  258. package/dist/chunks/{filesystem-y1fvbwt7.js → file-access-y1fvbwt7.js} +1 -1
  259. package/dist/chunks/{filesystem-1bdj34ne.js → file-access-y3d0z3tn.js} +27 -27
  260. package/dist/chunks/{filesystem-122hfxms.js → file-access-y3ye89br.js} +41 -41
  261. package/dist/chunks/{filesystem-y71avatq.js → file-access-y71avatq.js} +1 -1
  262. package/dist/chunks/{filesystem-2a7p2dsd.js → file-access-yb8fj77w.js} +32 -32
  263. package/dist/chunks/{filesystem-cmzp0t9y.js → file-access-ycrw32xq.js} +14 -14
  264. package/dist/chunks/{filesystem-f2n192rq.js → file-access-yp2x3t23.js} +4 -4
  265. package/dist/chunks/{filesystem-0dfh98b5.js → file-access-ypyq2zsn.js} +10 -10
  266. package/dist/chunks/{filesystem-yrhqyw5v.js → file-access-yrhqyw5v.js} +1 -1
  267. package/dist/chunks/{filesystem-yrznvahk.js → file-access-yrznvahk.js} +2 -2
  268. package/dist/chunks/{filesystem-ha93k7pw.js → file-access-ys2m57fz.js} +37 -37
  269. package/dist/chunks/{filesystem-gv6a8nnw.js → file-access-yyb7tjpc.js} +2 -2
  270. package/dist/chunks/{filesystem-z0bkrqjs.js → file-access-z0bkrqjs.js} +1 -1
  271. package/dist/chunks/{filesystem-bd2g5bk9.js → file-access-z12cg9p1.js} +9 -9
  272. package/dist/chunks/{filesystem-nwh98khw.js → file-access-z25b1m8j.js} +37 -37
  273. package/dist/chunks/{filesystem-z63w68vq.js → file-access-z63w68vq.js} +2 -2
  274. package/dist/chunks/{filesystem-aar5tqjz.js → file-access-z6q28316.js} +34 -34
  275. package/dist/chunks/{filesystem-8393f43m.js → file-access-z6t9vx1b.js} +11 -11
  276. package/dist/chunks/{filesystem-m4m2egqz.js → file-access-zetsppkw.js} +21 -21
  277. package/dist/chunks/{filesystem-e9vx22h1.js → file-access-zf9pbwsw.js} +88 -88
  278. package/dist/chunks/{filesystem-h6z8d5tn.js → file-access-zj09a0ew.js} +4 -4
  279. package/dist/chunks/{filesystem-xkhxx58a.js → file-access-zmk6j7b1.js} +13 -13
  280. package/dist/chunks/{filesystem-zr2ceqn5.js → file-access-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{filesystem-f3w2w69r.js → file-access-zsn07k7j.js} +11 -11
  282. package/dist/chunks/{filesystem-sdkze8v1.js → file-access-zw6dtez5.js} +4 -4
  283. package/dist/chunks/{filesystem-zxq2ej10.js → file-access-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +9 -9
  286. package/dist/codemode/tool.js +2 -2
  287. package/dist/command.js +82 -82
  288. package/dist/config/discovery.js +83 -83
  289. package/dist/config/markdown.js +1 -1
  290. package/dist/config/normalize.js +105 -105
  291. package/dist/config/plugin/agent.js +124 -124
  292. package/dist/config/plugin/command.js +212 -212
  293. package/dist/config/plugin/compaction.js +158 -158
  294. package/dist/config/plugin/compatibility.js +140 -140
  295. package/dist/config/plugin/entry-observer.js +1 -1
  296. package/dist/config/plugin/formatter.js +123 -123
  297. package/dist/config/plugin/image.js +122 -122
  298. package/dist/config/plugin/instruction.js +89 -89
  299. package/dist/config/plugin/location-watcher.js +124 -124
  300. package/dist/config/plugin/mcp.js +131 -131
  301. package/dist/config/plugin/policy.js +122 -122
  302. package/dist/config/plugin/provider.js +122 -122
  303. package/dist/config/plugin/reference.js +124 -124
  304. package/dist/config/plugin/shell.js +124 -124
  305. package/dist/config/plugin/skill-file.js +101 -101
  306. package/dist/config/plugin/skill.js +143 -143
  307. package/dist/config/plugin/snapshot.js +122 -122
  308. package/dist/config/plugin/source.js +123 -123
  309. package/dist/config/plugin/tool-output.js +124 -124
  310. package/dist/config/plugin/websearch.js +123 -123
  311. package/dist/config/plugin/worktree.js +124 -124
  312. package/dist/config/variable.js +3 -3
  313. package/dist/config/watch.js +1 -1
  314. package/dist/config.js +127 -127
  315. package/dist/credential/sql.js +2 -2
  316. package/dist/credential.js +78 -78
  317. package/dist/database/database.js +65 -65
  318. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  319. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  321. package/dist/database/drizzle/index.js +13 -13
  322. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  323. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  325. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  326. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  327. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  333. package/dist/database/drizzle.js +14 -14
  334. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  335. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  336. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  337. package/dist/database/migration/20260225215848_workspace.js +1 -1
  338. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  339. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  340. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  341. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  342. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  343. package/dist/database/migration/20260323234822_events.js +1 -1
  344. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  345. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  346. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  347. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  348. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  349. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  350. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  351. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  352. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  353. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  354. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  355. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  356. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  357. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  358. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  359. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  360. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  361. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  362. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  363. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  364. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  365. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  366. package/dist/database/migration/20260611035744_credential.js +1 -1
  367. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  368. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  369. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  370. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  371. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  372. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  373. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  374. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  375. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  376. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  377. package/dist/database/migration/20260812213948_worktree.js +1 -1
  378. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  379. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  380. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  381. package/dist/database/migration.gen.js +48 -48
  382. package/dist/database/migration.js +50 -50
  383. package/dist/database/path.js +2 -2
  384. package/dist/database/schema.gen.js +1 -1
  385. package/dist/database/schema.sql.js +1 -1
  386. package/dist/database/sqlite.bun.js +1 -1
  387. package/dist/database/sqlite.js +1 -1
  388. package/dist/database/sqlite.node.js +1 -1
  389. package/dist/database/sqlite.workerd.js +1 -1
  390. package/dist/database/v1-migration.bun.js +75 -75
  391. package/dist/database/v1-migration.js +1 -1
  392. package/dist/effect/app-node-builder.js +363 -362
  393. package/dist/effect/app-node-platform.js +2 -2
  394. package/dist/effect/keyed-mutex.js +1 -1
  395. package/dist/effect/websocket-constructor.js +1 -1
  396. package/dist/environment/driver.js +1 -1
  397. package/dist/environment/environment.js +92 -92
  398. package/dist/environment/exec-defaults.js +2 -2
  399. package/dist/environment/files.js +1 -1
  400. package/dist/environment/index.js +94 -94
  401. package/dist/environment/local.js +2 -2
  402. package/dist/environment/memory.js +2 -2
  403. package/dist/environment/unavailable.js +1 -1
  404. package/dist/event/sql.js +1 -1
  405. package/dist/event-logger.js +69 -69
  406. package/dist/file-access.js +103 -103
  407. package/dist/file-mutation.js +93 -93
  408. package/dist/file-retention.js +1 -1
  409. package/dist/file.js +1 -1
  410. package/dist/filesystem/fff.bun.js +2 -2
  411. package/dist/filesystem/fff.js +1 -1
  412. package/dist/filesystem/fff.node.js +2 -2
  413. package/dist/filesystem/fff.workerd.js +2 -2
  414. package/dist/filesystem/ignore.js +1 -1
  415. package/dist/filesystem/location-watcher-policy.js +4 -4
  416. package/dist/filesystem/location-watcher.js +225 -225
  417. package/dist/filesystem/protected.js +3 -3
  418. package/dist/filesystem/search.js +102 -102
  419. package/dist/filesystem/watcher-binding.js +1 -1
  420. package/dist/filesystem/watcher.js +13 -13
  421. package/dist/filesystem.js +107 -107
  422. package/dist/form.js +83 -83
  423. package/dist/formatter/builtins.js +4 -4
  424. package/dist/formatter.js +86 -86
  425. package/dist/generate.js +104 -104
  426. package/dist/git.js +10 -10
  427. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  428. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  429. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  431. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  433. package/dist/github-copilot/copilot-provider.js +17 -17
  434. package/dist/github-copilot/models.js +98 -98
  435. package/dist/github-copilot/openai-compatible-error.js +1 -1
  436. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  437. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  438. package/dist/github-copilot/responses/openai-error.js +1 -1
  439. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  440. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  441. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  442. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  443. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  446. package/dist/id/id.js +1 -1
  447. package/dist/image/photon.js +2 -2
  448. package/dist/image.js +6 -6
  449. package/dist/instance/service.js +5 -5
  450. package/dist/instance.js +354 -353
  451. package/dist/instruction-discovery.js +84 -84
  452. package/dist/instructions/builtins.js +86 -86
  453. package/dist/instructions/index.js +3 -3
  454. package/dist/integration/connection.js +1 -1
  455. package/dist/integration.js +79 -79
  456. package/dist/job.js +78 -78
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +72 -72
  459. package/dist/location-activity.js +131 -131
  460. package/dist/location-mutation.js +103 -103
  461. package/dist/location-service-map.js +85 -85
  462. package/dist/location-services.js +351 -350
  463. package/dist/location.js +86 -86
  464. package/dist/mcp/client.js +90 -90
  465. package/dist/mcp/index.js +107 -107
  466. package/dist/mcp/instructions.js +124 -124
  467. package/dist/mcp/oauth.js +77 -77
  468. package/dist/mcp/stdio.js +89 -89
  469. package/dist/mime.js +1 -1
  470. package/dist/modal/models.js +98 -98
  471. package/dist/model-resolver.js +97 -97
  472. package/dist/model.js +95 -95
  473. package/dist/models-dev.js +106 -106
  474. package/dist/oauth/page.js +1 -1
  475. package/dist/permission/saved.js +81 -81
  476. package/dist/permission/sql.js +5 -5
  477. package/dist/permission.js +108 -108
  478. package/dist/persistent-pty/binary.bun.js +1 -1
  479. package/dist/persistent-pty/daemon.js +1 -1
  480. package/dist/persistent-pty/index.js +87 -87
  481. package/dist/persistent-pty/pty-binding.js +1 -1
  482. package/dist/persistent-pty.js +74 -74
  483. package/dist/plugin/agent.js +103 -103
  484. package/dist/plugin/command.js +100 -100
  485. package/dist/plugin/hooks.js +5 -5
  486. package/dist/plugin/host.js +216 -216
  487. package/dist/plugin/instance.js +5 -5
  488. package/dist/plugin/internal.js +326 -325
  489. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  490. package/dist/plugin/models-dev.js +95 -95
  491. package/dist/plugin/module.js +7 -7
  492. package/dist/plugin/optimize.js +4 -4
  493. package/dist/plugin/plan.js +101 -101
  494. package/dist/plugin/promise.js +1 -1
  495. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  496. package/dist/plugin/provider/azure.js +121 -121
  497. package/dist/plugin/provider/cerebras.js +1 -1
  498. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  499. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  500. package/dist/plugin/provider/cohere.js +2 -2
  501. package/dist/plugin/provider/configured.js +118 -118
  502. package/dist/plugin/provider/digitalocean.js +92 -92
  503. package/dist/plugin/provider/dynamic.js +2 -2
  504. package/dist/plugin/provider/factory.js +1 -1
  505. package/dist/plugin/provider/gateway.js +2 -2
  506. package/dist/plugin/provider/github-copilot.js +92 -92
  507. package/dist/plugin/provider/gitlab.js +90 -90
  508. package/dist/plugin/provider/google-vertex.js +89 -89
  509. package/dist/plugin/provider/kilo.js +1 -1
  510. package/dist/plugin/provider/llmgateway.js +76 -76
  511. package/dist/plugin/provider/lmstudio.js +121 -121
  512. package/dist/plugin/provider/modal.js +91 -91
  513. package/dist/plugin/provider/nvidia.js +1 -1
  514. package/dist/plugin/provider/ollama.js +121 -121
  515. package/dist/plugin/provider/openai.js +93 -93
  516. package/dist/plugin/provider/opencode.js +92 -92
  517. package/dist/plugin/provider/openrouter.js +90 -90
  518. package/dist/plugin/provider/perplexity.js +2 -2
  519. package/dist/plugin/provider/poe.js +77 -77
  520. package/dist/plugin/provider/prompt-cache-key.js +94 -0
  521. package/dist/plugin/provider/sap-ai-core.js +90 -90
  522. package/dist/plugin/provider/sdk-factory.js +1 -1
  523. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  524. package/dist/plugin/provider/venice.js +2 -2
  525. package/dist/plugin/provider/vercel.js +89 -89
  526. package/dist/plugin/provider/vllm.js +121 -121
  527. package/dist/plugin/provider/xai.js +90 -90
  528. package/dist/plugin/provider/zenmux.js +1 -1
  529. package/dist/plugin/provider.js +158 -157
  530. package/dist/plugin/sdk.js +75 -75
  531. package/dist/plugin/service.js +3 -3
  532. package/dist/plugin/skill.js +138 -138
  533. package/dist/plugin/source-directory.js +1 -1
  534. package/dist/plugin/supervisor.js +345 -344
  535. package/dist/plugin/update.js +6 -6
  536. package/dist/plugin/vcs/git.js +85 -85
  537. package/dist/plugin/vcs/hg.js +85 -85
  538. package/dist/plugin/warming.js +120 -120
  539. package/dist/plugin/websearch/exa.js +5 -5
  540. package/dist/plugin/websearch/firecrawl.js +8 -8
  541. package/dist/plugin/websearch/index.js +9 -9
  542. package/dist/plugin/websearch/mcp.js +6 -6
  543. package/dist/plugin/websearch/parallel.js +8 -8
  544. package/dist/plugin/websearch/tavily.js +4 -4
  545. package/dist/plugin/websearch/tinyfish.js +8 -8
  546. package/dist/plugin.js +227 -227
  547. package/dist/project/schema.js +8 -8
  548. package/dist/project/sql.js +4 -4
  549. package/dist/project.js +89 -89
  550. package/dist/provider.js +92 -92
  551. package/dist/pty/protocol.js +1 -1
  552. package/dist/pty/schema.js +3 -3
  553. package/dist/pty/ticket.js +1 -1
  554. package/dist/pty.js +97 -97
  555. package/dist/reference/instructions.js +88 -88
  556. package/dist/reference.js +88 -88
  557. package/dist/repository-cache.js +80 -80
  558. package/dist/repository.js +3 -3
  559. package/dist/ripgrep/binary.js +2 -2
  560. package/dist/ripgrep.js +94 -94
  561. package/dist/rpc.js +85 -85
  562. package/dist/schema.js +1 -1
  563. package/dist/session/command.js +73 -73
  564. package/dist/session/compaction.js +130 -130
  565. package/dist/session/context.js +150 -150
  566. package/dist/session/diff.js +87 -87
  567. package/dist/session/environment.js +5 -5
  568. package/dist/session/error.js +5 -5
  569. package/dist/session/event.js +1 -1
  570. package/dist/session/execution/restart.js +219 -219
  571. package/dist/session/execution.js +125 -125
  572. package/dist/session/generate.js +151 -151
  573. package/dist/session/history.js +13 -13
  574. package/dist/session/inbox.js +87 -87
  575. package/dist/session/info.js +3 -3
  576. package/dist/session/instruction-entry.js +78 -78
  577. package/dist/session/instruction-state.js +8 -8
  578. package/dist/session/instructions.js +96 -96
  579. package/dist/session/message-updater.js +2 -2
  580. package/dist/session/message.js +1 -1
  581. package/dist/session/model-request.js +117 -117
  582. package/dist/session/model-transport.js +9 -9
  583. package/dist/session/move.js +129 -129
  584. package/dist/session/projector.js +85 -85
  585. package/dist/session/prompt.js +104 -104
  586. package/dist/session/provider-context.js +3 -3
  587. package/dist/session/revert.js +89 -89
  588. package/dist/session/run-coordinator.js +3 -3
  589. package/dist/session/runner/index.js +3 -3
  590. package/dist/session/runner/llm.js +228 -228
  591. package/dist/session/runner/max-steps.js +1 -1
  592. package/dist/session/runner/model.js +97 -97
  593. package/dist/session/runner/publish-llm-event.js +3 -3
  594. package/dist/session/runner/retry.js +113 -113
  595. package/dist/session/runner/step.js +124 -124
  596. package/dist/session/runner/to-llm-message.js +2 -2
  597. package/dist/session/schema.js +1 -1
  598. package/dist/session/session.js +171 -171
  599. package/dist/session/shell.js +137 -137
  600. package/dist/session/skill.js +102 -102
  601. package/dist/session/sql.js +5 -5
  602. package/dist/session/stats.js +72 -72
  603. package/dist/session/store.js +86 -86
  604. package/dist/session/subagent-completion.js +1 -1
  605. package/dist/session/subagent-job.js +208 -208
  606. package/dist/session/system-prompt.js +3 -3
  607. package/dist/session/title.js +154 -154
  608. package/dist/session/to-session-error.js +110 -110
  609. package/dist/session/transfer.js +213 -213
  610. package/dist/session/usage.js +1 -1
  611. package/dist/session.js +212 -212
  612. package/dist/shell/parse.js +6 -6
  613. package/dist/shell/result.js +1 -1
  614. package/dist/shell/scan.js +1 -1
  615. package/dist/shell/select.js +13 -13
  616. package/dist/shell.js +139 -139
  617. package/dist/skill/discovery.js +6 -6
  618. package/dist/skill/instructions.js +104 -104
  619. package/dist/skill.js +109 -109
  620. package/dist/snapshot.js +88 -88
  621. package/dist/state.js +1 -1
  622. package/dist/tool/html-markdown.js +1 -1
  623. package/dist/tool/http-body.js +1 -1
  624. package/dist/tool/mcp.js +125 -125
  625. package/dist/tool/plugin/edit.js +117 -117
  626. package/dist/tool/plugin/file-diff.js +1 -1
  627. package/dist/tool/plugin/glob.js +123 -123
  628. package/dist/tool/plugin/grep.js +123 -123
  629. package/dist/tool/plugin/opencode.js +3 -3
  630. package/dist/tool/plugin/patch.js +121 -121
  631. package/dist/tool/plugin/question.js +102 -102
  632. package/dist/tool/plugin/read.js +118 -118
  633. package/dist/tool/plugin/shell.js +211 -211
  634. package/dist/tool/plugin/skill.js +112 -112
  635. package/dist/tool/plugin/subagent.js +217 -217
  636. package/dist/tool/plugin/webfetch.js +109 -109
  637. package/dist/tool/plugin/websearch.js +111 -111
  638. package/dist/tool/plugin/write.js +121 -121
  639. package/dist/tool/read-filesystem.js +99 -99
  640. package/dist/tool/runtime.js +1 -1
  641. package/dist/tool-output.js +8 -8
  642. package/dist/tool.js +13 -13
  643. package/dist/types/model.d.ts +3 -0
  644. package/dist/types/plugin/provider/prompt-cache-key.d.ts +1 -0
  645. package/dist/types/session/model-transport.d.ts +6 -1
  646. package/dist/types/v1/config/migrate.d.ts +1 -0
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/git-executable.js +2 -2
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +5 -5
  657. package/dist/v1/config/attachment.js +4 -4
  658. package/dist/v1/config/command.js +3 -3
  659. package/dist/v1/config/config.js +14 -14
  660. package/dist/v1/config/error.js +2 -2
  661. package/dist/v1/config/formatter.js +5 -5
  662. package/dist/v1/config/layout.js +1 -1
  663. package/dist/v1/config/lsp.js +5 -5
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +91 -91
  666. package/dist/v1/config/permission.js +1 -1
  667. package/dist/v1/config/plugin.js +3 -3
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/v1/config/server.js +2 -2
  671. package/dist/v1/config/skills.js +3 -3
  672. package/dist/v1/permission.js +1 -1
  673. package/dist/variant.js +92 -92
  674. package/dist/vcs/patch.js +1 -1
  675. package/dist/vcs.js +88 -88
  676. package/dist/websearch.js +81 -81
  677. package/dist/wellknown/plugin.js +75 -75
  678. package/dist/wellknown.js +80 -80
  679. package/dist/workspace/driver.js +5 -5
  680. package/dist/workspace/sql.js +1 -1
  681. package/dist/workspace.js +79 -79
  682. package/dist/worktree/directory.js +2 -2
  683. package/dist/worktree/git.js +10 -10
  684. package/dist/worktree/sql.js +5 -5
  685. package/dist/worktree/strategies.js +88 -88
  686. package/dist/worktree.js +95 -95
  687. package/package.json +8 -8
  688. package/dist/chunks/filesystem-70jsskm8.js +0 -18
  689. package/dist/chunks/filesystem-99bpcqdd.js +0 -26
  690. package/dist/chunks/filesystem-ga2889bp.js +0 -474
  691. package/dist/chunks/filesystem-hr9dp009.js +0 -4
  692. package/dist/chunks/filesystem-js7vje5a.js +0 -247
  693. /package/dist/chunks/{filesystem-0qkdqm5v.js → file-access-0qkdqm5v.js} +0 -0
  694. /package/dist/chunks/{filesystem-0zkw76rk.js → file-access-0zkw76rk.js} +0 -0
  695. /package/dist/chunks/{filesystem-17cy0kzp.js → file-access-17cy0kzp.js} +0 -0
  696. /package/dist/chunks/{filesystem-1cnp2v09.js → file-access-1cnp2v09.js} +0 -0
  697. /package/dist/chunks/{filesystem-1kg9ymc8.js → file-access-1kg9ymc8.js} +0 -0
  698. /package/dist/chunks/{filesystem-24dcb14g.js → file-access-24dcb14g.js} +0 -0
  699. /package/dist/chunks/{filesystem-2710q6r3.js → file-access-2710q6r3.js} +0 -0
  700. /package/dist/chunks/{filesystem-2axfhc9x.js → file-access-2axfhc9x.js} +0 -0
  701. /package/dist/chunks/{filesystem-2c3vjs8z.js → file-access-2c3vjs8z.js} +0 -0
  702. /package/dist/chunks/{filesystem-359p4xyc.js → file-access-359p4xyc.js} +0 -0
  703. /package/dist/chunks/{filesystem-3asan66x.js → file-access-3asan66x.js} +0 -0
  704. /package/dist/chunks/{filesystem-3v8g72cx.js → file-access-3v8g72cx.js} +0 -0
  705. /package/dist/chunks/{filesystem-3w5fmr99.js → file-access-3w5fmr99.js} +0 -0
  706. /package/dist/chunks/{filesystem-3wcehsnq.js → file-access-3wcehsnq.js} +0 -0
  707. /package/dist/chunks/{filesystem-43n2bw4t.js → file-access-43n2bw4t.js} +0 -0
  708. /package/dist/chunks/{filesystem-4knz6hnm.js → file-access-4knz6hnm.js} +0 -0
  709. /package/dist/chunks/{filesystem-4vcrnpx2.js → file-access-4vcrnpx2.js} +0 -0
  710. /package/dist/chunks/{filesystem-4y7fprxs.js → file-access-4y7fprxs.js} +0 -0
  711. /package/dist/chunks/{filesystem-53557ph1.js → file-access-53557ph1.js} +0 -0
  712. /package/dist/chunks/{filesystem-550bvhaj.js → file-access-550bvhaj.js} +0 -0
  713. /package/dist/chunks/{filesystem-5qd3pb7m.js → file-access-5qd3pb7m.js} +0 -0
  714. /package/dist/chunks/{filesystem-6prwharc.js → file-access-6prwharc.js} +0 -0
  715. /package/dist/chunks/{filesystem-7akdwqpd.js → file-access-7akdwqpd.js} +0 -0
  716. /package/dist/chunks/{filesystem-7m9af43g.js → file-access-7m9af43g.js} +0 -0
  717. /package/dist/chunks/{filesystem-822emrt2.js → file-access-822emrt2.js} +0 -0
  718. /package/dist/chunks/{filesystem-88xbtdfr.js → file-access-88xbtdfr.js} +0 -0
  719. /package/dist/chunks/{filesystem-8n3pysct.js → file-access-8n3pysct.js} +0 -0
  720. /package/dist/chunks/{filesystem-922hggd3.js → file-access-922hggd3.js} +0 -0
  721. /package/dist/chunks/{filesystem-9a4afbnw.js → file-access-9a4afbnw.js} +0 -0
  722. /package/dist/chunks/{filesystem-9rqn6x4v.js → file-access-9rqn6x4v.js} +0 -0
  723. /package/dist/chunks/{filesystem-a6k6eb26.js → file-access-a6k6eb26.js} +0 -0
  724. /package/dist/chunks/{filesystem-af5trqkr.js → file-access-af5trqkr.js} +0 -0
  725. /package/dist/chunks/{filesystem-afrmfg78.js → file-access-afrmfg78.js} +0 -0
  726. /package/dist/chunks/{filesystem-aqzs7mqg.js → file-access-aqzs7mqg.js} +0 -0
  727. /package/dist/chunks/{filesystem-atq7p7m5.js → file-access-atq7p7m5.js} +0 -0
  728. /package/dist/chunks/{filesystem-bkyjaxrp.js → file-access-bkyjaxrp.js} +0 -0
  729. /package/dist/chunks/{filesystem-bmr6ed5q.js → file-access-bmr6ed5q.js} +0 -0
  730. /package/dist/chunks/{filesystem-cf4snx6d.js → file-access-cf4snx6d.js} +0 -0
  731. /package/dist/chunks/{filesystem-cvy3z8tj.js → file-access-cvy3z8tj.js} +0 -0
  732. /package/dist/chunks/{filesystem-d9fn303g.js → file-access-d9fn303g.js} +0 -0
  733. /package/dist/chunks/{filesystem-d9jj8t3e.js → file-access-d9jj8t3e.js} +0 -0
  734. /package/dist/chunks/{filesystem-dajrwvna.js → file-access-dajrwvna.js} +0 -0
  735. /package/dist/chunks/{filesystem-dap0rakb.js → file-access-dap0rakb.js} +0 -0
  736. /package/dist/chunks/{filesystem-df08tz66.js → file-access-df08tz66.js} +0 -0
  737. /package/dist/chunks/{filesystem-dy18nga0.js → file-access-dy18nga0.js} +0 -0
  738. /package/dist/chunks/{filesystem-e5kj55wp.js → file-access-e5kj55wp.js} +0 -0
  739. /package/dist/chunks/{filesystem-e73j6tqm.js → file-access-e73j6tqm.js} +0 -0
  740. /package/dist/chunks/{filesystem-ec1grn59.js → file-access-ec1grn59.js} +0 -0
  741. /package/dist/chunks/{filesystem-eh3zwz77.js → file-access-eh3zwz77.js} +0 -0
  742. /package/dist/chunks/{filesystem-emrn6kk6.js → file-access-emrn6kk6.js} +0 -0
  743. /package/dist/chunks/{filesystem-f0mxakyp.js → file-access-f0mxakyp.js} +0 -0
  744. /package/dist/chunks/{filesystem-f6n9ztr4.js → file-access-f6n9ztr4.js} +0 -0
  745. /package/dist/chunks/{filesystem-faypxj3z.js → file-access-faypxj3z.js} +0 -0
  746. /package/dist/chunks/{filesystem-fd410y7t.js → file-access-fd410y7t.js} +0 -0
  747. /package/dist/chunks/{filesystem-fxgpk5d8.js → file-access-fxgpk5d8.js} +0 -0
  748. /package/dist/chunks/{filesystem-g4wezp1m.js → file-access-g4wezp1m.js} +0 -0
  749. /package/dist/chunks/{filesystem-g86h250q.js → file-access-g86h250q.js} +0 -0
  750. /package/dist/chunks/{filesystem-gebd4c9n.js → file-access-gebd4c9n.js} +0 -0
  751. /package/dist/chunks/{filesystem-gftt206x.js → file-access-gftt206x.js} +0 -0
  752. /package/dist/chunks/{filesystem-hjbc5kem.js → file-access-hjbc5kem.js} +0 -0
  753. /package/dist/chunks/{filesystem-hk9envan.js → file-access-hk9envan.js} +0 -0
  754. /package/dist/chunks/{filesystem-j2ntwpah.js → file-access-j2ntwpah.js} +0 -0
  755. /package/dist/chunks/{filesystem-j5zkgpj8.js → file-access-j5zkgpj8.js} +0 -0
  756. /package/dist/chunks/{filesystem-jjkms2e6.js → file-access-jjkms2e6.js} +0 -0
  757. /package/dist/chunks/{filesystem-jr7sbwjy.js → file-access-jr7sbwjy.js} +0 -0
  758. /package/dist/chunks/{filesystem-jwfs4k6c.js → file-access-jwfs4k6c.js} +0 -0
  759. /package/dist/chunks/{filesystem-jzg6c2d5.js → file-access-jzg6c2d5.js} +0 -0
  760. /package/dist/chunks/{filesystem-mp448xyj.js → file-access-mp448xyj.js} +0 -0
  761. /package/dist/chunks/{filesystem-msx8hqn2.js → file-access-msx8hqn2.js} +0 -0
  762. /package/dist/chunks/{filesystem-n05xt0ee.js → file-access-n05xt0ee.js} +0 -0
  763. /package/dist/chunks/{filesystem-n3j8tn72.js → file-access-n3j8tn72.js} +0 -0
  764. /package/dist/chunks/{filesystem-njntx4h6.js → file-access-njntx4h6.js} +0 -0
  765. /package/dist/chunks/{filesystem-q3sfg36h.js → file-access-q3sfg36h.js} +0 -0
  766. /package/dist/chunks/{filesystem-q3t37ft6.js → file-access-q3t37ft6.js} +0 -0
  767. /package/dist/chunks/{filesystem-q74kybfr.js → file-access-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{filesystem-qaymkmh1.js → file-access-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{filesystem-qb87gjwd.js → file-access-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{filesystem-qfa1cgps.js → file-access-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{filesystem-qg3g05ea.js → file-access-qg3g05ea.js} +0 -0
  772. /package/dist/chunks/{filesystem-qrg20bc0.js → file-access-qrg20bc0.js} +0 -0
  773. /package/dist/chunks/{filesystem-rcb2kzg1.js → file-access-rcb2kzg1.js} +0 -0
  774. /package/dist/chunks/{filesystem-sdp7kfr6.js → file-access-sdp7kfr6.js} +0 -0
  775. /package/dist/chunks/{filesystem-sk3qaz4a.js → file-access-sk3qaz4a.js} +0 -0
  776. /package/dist/chunks/{filesystem-ssg3fenm.js → file-access-ssg3fenm.js} +0 -0
  777. /package/dist/chunks/{filesystem-twg0f83k.js → file-access-twg0f83k.js} +0 -0
  778. /package/dist/chunks/{filesystem-w803qqfp.js → file-access-w803qqfp.js} +0 -0
  779. /package/dist/chunks/{filesystem-wc3fc9cn.js → file-access-wc3fc9cn.js} +0 -0
  780. /package/dist/chunks/{filesystem-wer8tq1h.js → file-access-wer8tq1h.js} +0 -0
  781. /package/dist/chunks/{filesystem-wtztk69x.js → file-access-wtztk69x.js} +0 -0
  782. /package/dist/chunks/{filesystem-x0ckcb58.js → file-access-x0ckcb58.js} +0 -0
  783. /package/dist/chunks/{filesystem-x61499pn.js → file-access-x61499pn.js} +0 -0
  784. /package/dist/chunks/{filesystem-y44na4kk.js → file-access-y44na4kk.js} +0 -0
  785. /package/dist/chunks/{filesystem-y8cydn3q.js → file-access-y8cydn3q.js} +0 -0
  786. /package/dist/chunks/{filesystem-y8f7s663.js → file-access-y8f7s663.js} +0 -0
  787. /package/dist/chunks/{filesystem-ygaqb7jw.js → file-access-ygaqb7jw.js} +0 -0
  788. /package/dist/chunks/{filesystem-ym463w8f.js → file-access-ym463w8f.js} +0 -0
  789. /package/dist/chunks/{filesystem-z9919s4g.js → file-access-z9919s4g.js} +0 -0
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./filesystem-922hggd3.js";
5
+ } from "./file-access-922hggd3.js";
6
6
  import {
7
- Service65,
8
- node68
9
- } from "./filesystem-z9dqtg9m.js";
7
+ Service76,
8
+ node79
9
+ } from "./file-access-eahf1j6r.js";
10
10
  import {
11
- Content3
12
- } from "./filesystem-pgeqw9gz.js";
11
+ Content2
12
+ } from "./file-access-1h5aw7tx.js";
13
13
  import {
14
14
  detect2
15
- } from "./filesystem-3smtnn6g.js";
15
+ } from "./file-access-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./filesystem-9rqn6x4v.js";
18
+ } from "./file-access-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service5,
36
+ Service: () => Service12,
37
37
  TextPage: () => TextPage2,
38
- node: () => node6,
38
+ node: () => node14,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
89
89
  });
90
90
  var FileContent2 = Schema.Struct({
91
91
  type: Schema.Literal("file"),
92
- ...Content3.fields
92
+ ...Content2.fields
93
93
  }).annotate({ identifier: "ReadTool.FileContent" });
94
94
 
95
95
  class TextPage2 extends Schema.Class("ReadTool.TextPage")({
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service5 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service12 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
326
326
  return index + 1;
327
327
  }
328
328
  };
329
- var layer = Layer.effect(Service5, Effect.gen(function* () {
330
- const environment = yield* Service65;
331
- return Service5.of({
329
+ var layer = Layer.effect(Service12, Effect.gen(function* () {
330
+ const environment = yield* Service76;
331
+ return Service12.of({
332
332
  list: environment.files.list,
333
333
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
334
334
  });
335
335
  }));
336
- var node6 = makeLocationNode({ service: Service5, layer, deps: [node68] });
336
+ var node14 = makeLocationNode({ service: Service12, layer, deps: [node79] });
337
337
 
338
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service5, read2, node6, exports_read_filesystem };
338
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service12, read2, node14, exports_read_filesystem };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service38,
3
- node40
4
- } from "./filesystem-sd0hh66t.js";
2
+ Service44,
3
+ node46
4
+ } from "./file-access-pfz3dw98.js";
5
5
  import {
6
6
  Key4,
7
7
  removed2,
8
- make21,
8
+ make20,
9
9
  diffByKey2
10
- } from "./filesystem-eaj1djv9.js";
10
+ } from "./file-access-02nrjc1r.js";
11
11
  import {
12
12
  __export
13
- } from "./filesystem-9rqn6x4v.js";
13
+ } from "./file-access-9rqn6x4v.js";
14
14
 
15
15
  // src/reference/instructions.ts
16
- var exports_instructions5 = {};
17
- __export(exports_instructions5, {
18
- ReferenceInstructions: () => exports_instructions5,
19
- Service: () => Service23,
20
- node: () => node26
16
+ var exports_instructions3 = {};
17
+ __export(exports_instructions3, {
18
+ ReferenceInstructions: () => exports_instructions3,
19
+ Service: () => Service29,
20
+ node: () => node33
21
21
  });
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -57,18 +57,18 @@ var update = (previous, current) => {
57
57
  `);
58
58
  };
59
59
 
60
- class Service23 extends Context.Service()("@opencode/ReferenceInstructions") {
60
+ class Service29 extends Context.Service()("@opencode/ReferenceInstructions") {
61
61
  }
62
- var layer = Layer.effect(Service23, Effect.gen(function* () {
63
- const references = yield* Service38;
64
- return Service23.of({
62
+ var layer = Layer.effect(Service29, Effect.gen(function* () {
63
+ const references = yield* Service44;
64
+ return Service29.of({
65
65
  load: Effect.fn("ReferenceInstructions.load")(function* () {
66
66
  const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
67
67
  name: reference.name,
68
68
  path: reference.path,
69
69
  description: reference.description
70
70
  })).toSorted((a, b) => a.name.localeCompare(b.name));
71
- return make21({
71
+ return make20({
72
72
  key: Key4.make("core/reference-guidance"),
73
73
  codec: Schema.toCodecJson(Schema.Array(Summary)),
74
74
  read: Effect.succeed(available.length === 0 ? removed2 : available),
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
81
81
  })
82
82
  });
83
83
  }));
84
- var node26 = makeLocationNode({ service: Service23, layer, deps: [node40] });
84
+ var node33 = makeLocationNode({ service: Service29, layer, deps: [node46] });
85
85
 
86
- export { Service23, node26, exports_instructions5 };
86
+ export { Service29, node33, exports_instructions3 };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2
4
- } from "./filesystem-1rxs6y3d.js";
4
+ } from "./file-access-rds37zvx.js";
5
5
  import {
6
6
  latest2,
7
- Service50
8
- } from "./filesystem-che44dvv.js";
7
+ Service51
8
+ } from "./file-access-vpgyrhve.js";
9
9
  import {
10
- resolve3
11
- } from "./filesystem-cnrkenzz.js";
10
+ resolve2
11
+ } from "./file-access-a6kbnp9r.js";
12
12
  import {
13
13
  observe2
14
- } from "./filesystem-qsdy395h.js";
14
+ } from "./file-access-qsdy395h.js";
15
15
  import {
16
16
  __export
17
- } from "./filesystem-9rqn6x4v.js";
17
+ } from "./file-access-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: () => Plugin36
23
+ Plugin: () => Plugin4
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 Plugin36 = define({
28
+ var Plugin4 = define({
29
29
  id: "opencode.config.provider",
30
30
  effect: Effect.fn(function* (ctx) {
31
- const config = yield* Service50;
31
+ const config = yield* Service51;
32
32
  const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
33
33
  yield* ctx.integration.transform((integrations) => {
34
34
  for (const [id, provider] of configuredProviders(loaded.entries)) {
@@ -185,7 +185,7 @@ var Plugin36 = define({
185
185
  if (config.variants === undefined && !source?.base)
186
186
  models.update(providerID, id, (model) => {
187
187
  model.variants = [
188
- ...resolve3({
188
+ ...resolve2({
189
189
  ...model,
190
190
  package: model.package ?? models.provider.get(providerID)?.provider.package
191
191
  })
@@ -200,4 +200,4 @@ function configuredProviders(entries) {
200
200
  return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
201
201
  }
202
202
 
203
- export { Plugin36, exports_provider };
203
+ export { Plugin4, exports_provider };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  Service81
3
- } from "./filesystem-sdkze8v1.js";
3
+ } from "./file-access-zw6dtez5.js";
4
4
  import {
5
5
  OAuth3,
6
6
  Event15
7
- } from "./filesystem-g0kf9mz8.js";
7
+ } from "./file-access-fak7xqqt.js";
8
8
  import {
9
- ID8,
9
+ ID7,
10
10
  MethodID2
11
- } from "./filesystem-swvck4sd.js";
11
+ } from "./file-access-mmy2zf88.js";
12
12
  import {
13
- ID7,
13
+ ID6,
14
14
  mergeOverlay2,
15
15
  mergeHeaders2
16
- } from "./filesystem-1rxs6y3d.js";
16
+ } from "./file-access-rds37zvx.js";
17
17
  import {
18
- ID5,
18
+ ID10,
19
19
  Input14,
20
20
  Response2
21
- } from "./filesystem-hngmebnz.js";
21
+ } from "./file-access-8kckztxt.js";
22
22
 
23
23
  // src/plugin/provider/opencode.ts
24
24
  import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
32
32
  var RemoteResponse = Schema.Struct({
33
33
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
34
34
  websearch: Schema.Struct({
35
- providerID: ID5
35
+ providerID: ID10
36
36
  }).pipe(Schema.optional)
37
37
  });
38
38
  var Device = Schema.Struct({
@@ -54,7 +54,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
54
54
  var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
55
55
  function oauth(http) {
56
56
  return {
57
- integrationID: ID8.make("opencode"),
57
+ integrationID: ID7.make("opencode"),
58
58
  method: {
59
59
  id: methodID,
60
60
  type: "oauth",
@@ -125,7 +125,7 @@ var OpencodePlugin2 = define({
125
125
  providers.update(providerID, (provider) => {
126
126
  if (source && source.provider !== provider)
127
127
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
128
- provider.integrationID = ID8.make("opencode");
128
+ provider.integrationID = ID7.make("opencode");
129
129
  if (item.canonical !== undefined)
130
130
  provider.canonical = item.canonical;
131
131
  if (item.name !== undefined)
@@ -195,7 +195,7 @@ var OpencodePlugin2 = define({
195
195
  sourceConnection: snapshot.connection
196
196
  });
197
197
  }
198
- const item = providers.get(ID7.opencode);
198
+ const item = providers.get(ID6.opencode);
199
199
  if (!item)
200
200
  return;
201
201
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -207,7 +207,7 @@ var OpencodePlugin2 = define({
207
207
  });
208
208
  });
209
209
  yield* ctx.model.transform((models) => {
210
- const item = models.provider.get(ID7.opencode);
210
+ const item = models.provider.get(ID6.opencode);
211
211
  if (!item)
212
212
  return;
213
213
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -262,7 +262,7 @@ var OpencodePlugin2 = define({
262
262
  yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
263
263
  });
264
264
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
265
- yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
265
+ yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
266
266
  yield* Effect.sleep(Duration.minutes(10)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
267
267
  })
268
268
  });
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./filesystem-ysstqnzc.js";
4
+ } from "./file-access-s8j3dq9b.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./filesystem-y71avatq.js";
7
+ } from "./file-access-y71avatq.js";
8
8
  import {
9
9
  Binding2,
10
10
  RegistryService2,
11
- node70
12
- } from "./filesystem-1fmrbde1.js";
11
+ node81
12
+ } from "./file-access-w4axh9wz.js";
13
13
  import {
14
14
  WorkspaceTable2
15
- } from "./filesystem-faypxj3z.js";
15
+ } from "./file-access-faypxj3z.js";
16
16
  import {
17
17
  __export
18
- } from "./filesystem-9rqn6x4v.js";
18
+ } from "./file-access-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: () => ID10,
25
- Info: () => Info25,
24
+ ID: () => ID16,
25
+ Info: () => Info31,
26
26
  NotFound: () => NotFound3,
27
- Service: () => Service66,
27
+ Service: () => Service77,
28
28
  Workspace: () => exports_workspace,
29
- configured: () => configured9,
30
- node: () => node69
29
+ configured: () => configured11,
30
+ node: () => node80
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 ID10 = Workspace.ID;
38
+ var ID16 = Workspace.ID;
39
39
 
40
- class Info25 extends Schema.Class("Workspace.Info")({
41
- id: ID10,
40
+ class Info31 extends Schema.Class("Workspace.Info")({
41
+ id: ID16,
42
42
  provider: Schema.String,
43
43
  binding: Binding2,
44
44
  createdAt: Schema.Number,
@@ -46,24 +46,24 @@ class Info25 extends Schema.Class("Workspace.Info")({
46
46
  }) {
47
47
  }
48
48
 
49
- class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID10 }) {
49
+ class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID16 }) {
50
50
  }
51
51
 
52
52
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
53
- workspaceID: ID10,
53
+ workspaceID: ID16,
54
54
  provider: Schema.String,
55
55
  existingProvider: Schema.String
56
56
  }) {
57
57
  }
58
58
 
59
- class Service66 extends Context.Service()("@opencode/Workspace") {
59
+ class Service77 extends Context.Service()("@opencode/Workspace") {
60
60
  }
61
- var configured9 = (options = {}) => makeGlobalNode({
62
- service: Service66,
61
+ var configured11 = (options = {}) => makeGlobalNode({
62
+ service: Service77,
63
63
  layer: layer(options),
64
- deps: [node86, node70]
64
+ deps: [node86, node81]
65
65
  });
66
- var layer = (options) => Layer.effect(Service66, Effect.gen(function* () {
66
+ var layer = (options) => Layer.effect(Service77, Effect.gen(function* () {
67
67
  const db = (yield* Service82).db;
68
68
  const registry = yield* RegistryService2;
69
69
  const lifetime = yield* Scope.Scope;
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service66, 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 Info25({
83
+ const info = (row, binding) => new Info31({
84
84
  id: row.id,
85
85
  provider: row.provider,
86
86
  binding,
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service66, 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 Service66.of({
157
+ return Service77.of({
158
158
  create: Effect.fn("Workspace.create")(function* (input) {
159
- const workspaceID = input.id ?? ID10.create();
159
+ const workspaceID = input.id ?? ID16.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(Service66, Effect.gen(function* () {
221
221
  })
222
222
  });
223
223
  }));
224
- var node69 = configured9();
224
+ var node80 = configured11();
225
225
 
226
- export { ID10, Info25, NotFound3, CreateConflict2, Service66, configured9, node69, exports_workspace };
226
+ export { ID16, Info31, NotFound3, CreateConflict2, Service77, configured11, node80, exports_workspace };
@@ -1,18 +1,18 @@
1
1
  import {
2
- ID7
3
- } from "./filesystem-1rxs6y3d.js";
2
+ ID6
3
+ } from "./file-access-rds37zvx.js";
4
4
  import {
5
5
  iife2
6
- } from "./filesystem-1kg9ymc8.js";
6
+ } from "./file-access-1kg9ymc8.js";
7
7
  import {
8
8
  configuredSettings2
9
- } from "./filesystem-kqg5mzr3.js";
9
+ } from "./file-access-dbtyj0an.js";
10
10
 
11
11
  // src/plugin/provider/cloudflare-workers-ai.ts
12
12
  import { Effect } from "effect";
13
13
  import { define } from "@opencode/plugin/effect/plugin";
14
14
  import { Form } from "@opencode/schema/form";
15
- var providerID = ID7.make("cloudflare-workers-ai");
15
+ var providerID = ID6.make("cloudflare-workers-ai");
16
16
  var CloudflareWorkersAIPlugin2 = define({
17
17
  id: "opencode.provider.cloudflare.workers.ai",
18
18
  effect: Effect.fn(function* (ctx) {
@@ -1,35 +1,35 @@
1
1
  import {
2
- Service80
3
- } from "./filesystem-wgwsgwdw.js";
2
+ Service61
3
+ } from "./file-access-hg4hxzv1.js";
4
4
  import {
5
- Service72
6
- } from "./filesystem-cg3fyqky.js";
5
+ Service70
6
+ } from "./file-access-6snq9ewv.js";
7
7
  import {
8
- ID5,
8
+ ID10,
9
9
  Result2,
10
10
  ProviderRequiredError2,
11
11
  DisabledError2,
12
12
  RequestError2,
13
- Service53
14
- } from "./filesystem-hngmebnz.js";
13
+ Service66
14
+ } from "./file-access-8kckztxt.js";
15
15
  import {
16
16
  __export
17
- } from "./filesystem-9rqn6x4v.js";
17
+ } from "./file-access-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/websearch.ts
20
- var exports_websearch = {};
21
- __export(exports_websearch, {
22
- Input: () => Input8,
20
+ var exports_websearch2 = {};
21
+ __export(exports_websearch2, {
22
+ Input: () => Input9,
23
23
  NO_RESULTS: () => NO_RESULTS2,
24
- Plugin: () => Plugin8,
25
- WebSearchTool: () => exports_websearch,
24
+ Plugin: () => Plugin42,
25
+ WebSearchTool: () => exports_websearch2,
26
26
  description: () => description4,
27
- name: () => name8
27
+ name: () => name9
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Effect, Schema, Semaphore } from "effect";
31
31
  import { HttpClientError } from "effect/unstable/http";
32
- var name8 = "websearch";
32
+ var name9 = "websearch";
33
33
  var NO_RESULTS2 = "No search results found. Please try a different query.";
34
34
  var providerSelectionLock = Semaphore.makeUnsafe(1);
35
35
  var httpErrors = new Map([
@@ -39,28 +39,28 @@ var httpErrors = new Map([
39
39
  var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
40
40
 
41
41
  The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
42
- var Input8 = Schema.Struct({
42
+ var Input9 = Schema.Struct({
43
43
  query: Schema.String.annotate({ description: "Websearch query" })
44
44
  });
45
45
  var Output = Schema.Struct({
46
- provider: ID5,
46
+ provider: ID10,
47
47
  results: Schema.Array(Result2)
48
48
  });
49
- var Plugin8 = {
49
+ var Plugin42 = {
50
50
  id: "opencode.tool.websearch",
51
51
  effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
52
- const permission = yield* Service72;
53
- const forms = yield* Service80;
54
- const websearch = yield* Service53;
52
+ const permission = yield* Service70;
53
+ const forms = yield* Service61;
54
+ const websearch = yield* Service66;
55
55
  yield* ctx.tool.transform((editor) => editor.add({
56
- name: name8,
56
+ name: name9,
57
57
  options: { codemode: false },
58
58
  description: description4,
59
- input: Input8,
59
+ input: Input9,
60
60
  output: Output,
61
61
  execute: (input, context) => Effect.gen(function* () {
62
62
  yield* permission.assert({
63
- action: name8,
63
+ action: name9,
64
64
  resources: [input.query],
65
65
  save: ["*"],
66
66
  metadata: input,
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
176
176
  const hook = (event) => Effect.gen(function* () {
177
177
  const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
178
178
  if (disabled)
179
- delete event.tools[name8];
179
+ delete event.tools[name9];
180
180
  });
181
181
  yield* ctx.session.hook("context", hook);
182
182
  yield* ctx.session.hook("compaction", hook);
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
184
184
  })
185
185
  };
186
186
 
187
- export { name8, NO_RESULTS2, description4, Input8, Plugin8, exports_websearch };
187
+ export { name9, NO_RESULTS2, description4, Input9, Plugin42, exports_websearch2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./filesystem-gftt206x.js";
3
+ } from "./file-access-gftt206x.js";
4
4
  import {
5
5
  __export
6
- } from "./filesystem-9rqn6x4v.js";
6
+ } from "./file-access-9rqn6x4v.js";
7
7
 
8
8
  // src/session/message-updater.ts
9
9
  var exports_message_updater = {};
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service81
3
- } from "./filesystem-sdkze8v1.js";
3
+ } from "./file-access-zw6dtez5.js";
4
4
  import {
5
- Service48,
6
- Event8
7
- } from "./filesystem-c5b9ks87.js";
5
+ Service18,
6
+ Event4
7
+ } from "./file-access-b5jkzqy2.js";
8
8
 
9
9
  // src/plugin/models-dev.ts
10
10
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,7 +29,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
29
29
  var ModelsDevPlugin2 = define({
30
30
  id: "opencode.models.dev",
31
31
  effect: Effect.fn(function* (ctx) {
32
- const modelsDev = yield* Service48;
32
+ const modelsDev = yield* Service18;
33
33
  const bus = yield* Service81;
34
34
  const loaded = { data: snapshots(yield* modelsDev.get()) };
35
35
  yield* ctx.integration.transform((integrations) => {
@@ -59,7 +59,7 @@ var ModelsDevPlugin2 = define({
59
59
  });
60
60
  }
61
61
  });
62
- yield* bus.subscribe(Event8.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.tap((data) => Effect.sync(() => loaded.data = snapshots(data))), Effect.andThen(ctx.integration.reload()), Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
62
+ yield* bus.subscribe(Event4.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.tap((data) => Effect.sync(() => loaded.data = snapshots(data))), Effect.andThen(ctx.integration.reload()), Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
63
63
  })
64
64
  });
65
65
  function environmentNames(provider) {