@opencode/core 0.0.0-dev-20643 → 0.0.0-dev-20644

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 (779) 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 +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{repository-cjwramev.js → reference-04j0x0ww.js} +6 -6
  8. package/dist/chunks/{repository-gc135ar8.js → reference-05xfxpq7.js} +8 -8
  9. package/dist/chunks/{repository-b751st24.js → reference-0aacj8rv.js} +3 -3
  10. package/dist/chunks/{repository-8ee403vh.js → reference-0anetptk.js} +11 -11
  11. package/dist/chunks/{repository-chyvjp63.js → reference-0ev02b6f.js} +10 -10
  12. package/dist/chunks/{repository-tdpndm1c.js → reference-0nde5ztd.js} +5 -5
  13. package/dist/chunks/{repository-0paq2nw3.js → reference-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{repository-hryrsgw2.js → reference-0skng5dr.js} +7 -7
  15. package/dist/chunks/{repository-0vbcp93d.js → reference-0vbcp93d.js} +2 -2
  16. package/dist/chunks/{repository-f6sbv01c.js → reference-10pc31tr.js} +44 -44
  17. package/dist/chunks/{repository-4344f0hm.js → reference-1a1xd1b3.js} +31 -31
  18. package/dist/chunks/{repository-1dazxqgg.js → reference-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{repository-h2yw0gk4.js → reference-1et4t6yv.js} +22 -22
  20. package/dist/chunks/reference-1sb9m88v.js +253 -0
  21. package/dist/chunks/{repository-fjts330j.js → reference-1xmbdwss.js} +5 -5
  22. package/dist/chunks/{repository-56gdpj1q.js → reference-1ygqh575.js} +9 -9
  23. package/dist/chunks/{repository-2455wr4j.js → reference-2194chap.js} +13 -13
  24. package/dist/chunks/{repository-2a5m3afh.js → reference-2a5m3afh.js} +1 -1
  25. package/dist/chunks/{repository-483p8dcw.js → reference-2avx1wba.js} +11 -11
  26. package/dist/chunks/{repository-1gfgk62c.js → reference-2eegacq4.js} +8 -8
  27. package/dist/chunks/{repository-j2htzqze.js → reference-2mq34jqw.js} +2 -2
  28. package/dist/chunks/{repository-6cfn1t67.js → reference-2p2thyt8.js} +11 -11
  29. package/dist/chunks/{repository-ajh7mqgq.js → reference-2wgr0bg0.js} +28 -28
  30. package/dist/chunks/{repository-ce3pkz8w.js → reference-2zztsz65.js} +8 -8
  31. package/dist/chunks/{repository-6r4hjhnf.js → reference-3470gd9h.js} +20 -20
  32. package/dist/chunks/{repository-zd30eb5w.js → reference-3801kdgp.js} +5 -5
  33. package/dist/chunks/{repository-h2b79v29.js → reference-3cegwx68.js} +2 -2
  34. package/dist/chunks/{repository-wc5p7jf8.js → reference-3eescsqs.js} +43 -43
  35. package/dist/chunks/{repository-3fc6dm20.js → reference-3fc6dm20.js} +1 -1
  36. package/dist/chunks/{repository-fj3b7143.js → reference-3g9wyfya.js} +23 -23
  37. package/dist/chunks/{repository-3hepkmqq.js → reference-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{repository-3smtnn6g.js → reference-3smtnn6g.js} +1 -1
  39. package/dist/chunks/{repository-3tvqynh2.js → reference-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{repository-3zsf4n22.js → reference-3zsf4n22.js} +1 -1
  41. package/dist/chunks/{repository-t5483b9c.js → reference-4dz5bemh.js} +4 -4
  42. package/dist/chunks/{repository-a6rczh0a.js → reference-4eekcfr3.js} +42 -42
  43. package/dist/chunks/{repository-yqt58wae.js → reference-4qyddrjz.js} +11 -11
  44. package/dist/chunks/{repository-32xj3ztx.js → reference-4qzt904k.js} +29 -29
  45. package/dist/chunks/{repository-zk46kswf.js → reference-4r3amq6s.js} +15 -15
  46. package/dist/chunks/{repository-2ccvkpx1.js → reference-4ts7tf6z.js} +2 -2
  47. package/dist/chunks/{repository-qv02qg64.js → reference-50eqagw9.js} +5 -5
  48. package/dist/chunks/{repository-f8tnf7f1.js → reference-52jg0a30.js} +15 -15
  49. package/dist/chunks/{repository-54ma36ye.js → reference-54ma36ye.js} +1 -1
  50. package/dist/chunks/{repository-66bhq6pp.js → reference-5c42fwyc.js} +13 -13
  51. package/dist/chunks/{repository-5daktx2q.js → reference-5daktx2q.js} +1 -1
  52. package/dist/chunks/{repository-5m9w47nd.js → reference-5m9w47nd.js} +1 -1
  53. package/dist/chunks/{repository-e3qxr5gk.js → reference-5qd3pb7m.js} +2 -2
  54. package/dist/chunks/{repository-5t3nmthw.js → reference-5t3nmthw.js} +2 -2
  55. package/dist/chunks/{repository-p42hj8p8.js → reference-5xtgfte3.js} +8 -8
  56. package/dist/chunks/reference-619r8v3y.js +18 -0
  57. package/dist/chunks/{repository-yf33k1p3.js → reference-61q39vzt.js} +24 -24
  58. package/dist/chunks/{repository-drnf6xwf.js → reference-63db42yp.js} +2 -2
  59. package/dist/chunks/{repository-s8v3amej.js → reference-6c09zaff.js} +1 -1
  60. package/dist/chunks/{repository-4y69v0zr.js → reference-6jc1b2h3.js} +13 -13
  61. package/dist/chunks/{repository-pkct850y.js → reference-6jsvsf2v.js} +40 -40
  62. package/dist/chunks/{repository-djyq2zct.js → reference-6t2k45be.js} +15 -15
  63. package/dist/chunks/{repository-gkcjs2dn.js → reference-6v23mrsw.js} +11 -11
  64. package/dist/chunks/{repository-6xb47vfp.js → reference-6xb47vfp.js} +1 -1
  65. package/dist/chunks/{repository-2wredcz9.js → reference-6zr4h8f4.js} +20 -20
  66. package/dist/chunks/{repository-fbefb913.js → reference-7223d1z5.js} +13 -13
  67. package/dist/chunks/{repository-5e49akah.js → reference-72kjf32t.js} +43 -43
  68. package/dist/chunks/{repository-1bbkgx8g.js → reference-73tb2d7t.js} +3 -3
  69. package/dist/chunks/{repository-ntaqe8vs.js → reference-76kk80dz.js} +21 -21
  70. package/dist/chunks/{repository-g69c5a8v.js → reference-7aj7xv8n.js} +16 -16
  71. package/dist/chunks/{repository-7bmhse3q.js → reference-7bmhse3q.js} +1 -1
  72. package/dist/chunks/{repository-vngdzw63.js → reference-7rpx7sq4.js} +16 -16
  73. package/dist/chunks/{repository-yn96zvvk.js → reference-7sq9ks3h.js} +11 -11
  74. package/dist/chunks/{repository-c9vhjpyr.js → reference-7zpbt3aj.js} +9 -9
  75. package/dist/chunks/{repository-jnevnthy.js → reference-83t40xbf.js} +22 -22
  76. package/dist/chunks/{repository-erq8vxjr.js → reference-83xsvayb.js} +3 -3
  77. package/dist/chunks/{repository-y6brtjeh.js → reference-84gzjtx2.js} +37 -37
  78. package/dist/chunks/{repository-1dvck2a7.js → reference-84h8c373.js} +2 -2
  79. package/dist/chunks/{repository-84txncab.js → reference-84txncab.js} +1 -1
  80. package/dist/chunks/{repository-8tsdq50x.js → reference-86qzxe6p.js} +4 -4
  81. package/dist/chunks/{repository-ve1j3q85.js → reference-87jy24nc.js} +11 -11
  82. package/dist/chunks/{repository-wnfszx78.js → reference-88ywh4qk.js} +10 -10
  83. package/dist/chunks/{repository-f0pfhw3c.js → reference-8bdbvaz4.js} +4 -4
  84. package/dist/chunks/{repository-8d7r5vzw.js → reference-8d7r5vzw.js} +1 -1
  85. package/dist/chunks/{repository-y1w7bwtd.js → reference-8mwpm1an.js} +21 -21
  86. package/dist/chunks/{repository-wnh11861.js → reference-8t7rhgz3.js} +15 -15
  87. package/dist/chunks/{repository-h6c2yg5r.js → reference-8tqdxazn.js} +8 -8
  88. package/dist/chunks/{repository-f0qf0nex.js → reference-94xjc4x3.js} +27 -27
  89. package/dist/chunks/{repository-s8qvywtq.js → reference-9angfs7f.js} +12 -12
  90. package/dist/chunks/{repository-5ng375bv.js → reference-9edtgxtv.js} +30 -30
  91. package/dist/chunks/{repository-tzy9a5tv.js → reference-9k28mjf9.js} +29 -29
  92. package/dist/chunks/{repository-7d05dvcz.js → reference-9vqr2gqg.js} +11 -11
  93. package/dist/chunks/{repository-espax8zg.js → reference-a3c7ahw6.js} +4 -4
  94. package/dist/chunks/{repository-c20khjev.js → reference-a8bn8zg0.js} +21 -21
  95. package/dist/chunks/{repository-pgze7171.js → reference-aabqg1yt.js} +5 -5
  96. package/dist/chunks/{repository-aaet6srn.js → reference-aaet6srn.js} +2 -2
  97. package/dist/chunks/{repository-embw8kgh.js → reference-afdssyjb.js} +4 -4
  98. package/dist/chunks/{repository-1hp58pw3.js → reference-ag4901q7.js} +6 -6
  99. package/dist/chunks/{repository-bzadqhw2.js → reference-ajgzqw9a.js} +4 -4
  100. package/dist/chunks/{repository-5t80mpw4.js → reference-amzhydp5.js} +19 -19
  101. package/dist/chunks/{repository-8jg22brg.js → reference-b251r90g.js} +317 -317
  102. package/dist/chunks/{repository-jbmm1708.js → reference-b64x0h7w.js} +56 -56
  103. package/dist/chunks/{repository-b6gygkdw.js → reference-b6gygkdw.js} +2 -2
  104. package/dist/chunks/{repository-q1srvr66.js → reference-b7mddd13.js} +45 -45
  105. package/dist/chunks/{repository-mpd66srn.js → reference-b8cf1jne.js} +1 -1
  106. package/dist/chunks/{repository-dbp4m4ge.js → reference-bpmpjnmg.js} +30 -30
  107. package/dist/chunks/{repository-hw3ewgqj.js → reference-bpy139ph.js} +11 -11
  108. package/dist/chunks/{repository-s4075y1x.js → reference-bvc4cg79.js} +5 -5
  109. package/dist/chunks/{repository-qne3fa44.js → reference-bx0gyb4h.js} +5 -5
  110. package/dist/chunks/{repository-yprc5htm.js → reference-by0ebg82.js} +21 -21
  111. package/dist/chunks/{repository-h4jx6m0r.js → reference-bzh6v3xd.js} +11 -11
  112. package/dist/chunks/{repository-4z7pkycv.js → reference-c5pjp08j.js} +16 -16
  113. package/dist/chunks/{repository-9mhtj97w.js → reference-cag15tqf.js} +13 -13
  114. package/dist/chunks/{repository-cfsekr6v.js → reference-cfsekr6v.js} +2 -2
  115. package/dist/chunks/{repository-6c2ypm1v.js → reference-cftre4vt.js} +39 -39
  116. package/dist/chunks/{repository-zvjhkatg.js → reference-cq9vh2fv.js} +8 -8
  117. package/dist/chunks/{repository-jnpqgtt0.js → reference-cqdnmg2r.js} +11 -11
  118. package/dist/chunks/{repository-j3pg2mx4.js → reference-cvnd2j5s.js} +3 -3
  119. package/dist/chunks/{repository-tarna68p.js → reference-cyya37fe.js} +9 -9
  120. package/dist/chunks/{repository-4cw36es0.js → reference-cznc04wa.js} +9 -9
  121. package/dist/chunks/{repository-x4k83k5f.js → reference-d3tcrfr2.js} +11 -11
  122. package/dist/chunks/{repository-eqh5fpv6.js → reference-d8h4y8x2.js} +11 -11
  123. package/dist/chunks/{repository-16558gs3.js → reference-db7cgdsw.js} +44 -44
  124. package/dist/chunks/{repository-q0cdrezg.js → reference-dcb7qyjw.js} +14 -14
  125. package/dist/chunks/{repository-vp0q13q8.js → reference-defjrdcv.js} +73 -73
  126. package/dist/chunks/{repository-xhv84ab7.js → reference-dkg05a5w.js} +28 -28
  127. package/dist/chunks/{repository-b3cm3psy.js → reference-dppwmjh0.js} +7 -7
  128. package/dist/chunks/{repository-mxr1v1s0.js → reference-dvc89yjx.js} +8 -8
  129. package/dist/chunks/{repository-k37ga4vh.js → reference-dwajttkg.js} +8 -8
  130. package/dist/chunks/{repository-ef5x83kb.js → reference-ef5x83kb.js} +1 -1
  131. package/dist/chunks/{repository-etq0c3wd.js → reference-etq0c3wd.js} +1 -1
  132. package/dist/chunks/{repository-4z58m4b4.js → reference-f29mbr7f.js} +4 -4
  133. package/dist/chunks/{repository-7z6z4pna.js → reference-f3bkb0dd.js} +26 -26
  134. package/dist/chunks/{repository-aqryd466.js → reference-f43c2727.js} +24 -24
  135. package/dist/chunks/{repository-71az546q.js → reference-f75zav2x.js} +2 -2
  136. package/dist/chunks/{repository-9yaf30yb.js → reference-fhyq4rkh.js} +37 -37
  137. package/dist/chunks/{repository-8hjmwb77.js → reference-fpswryxc.js} +13 -13
  138. package/dist/chunks/{repository-j58c5xyq.js → reference-ftjf86m5.js} +9 -9
  139. package/dist/chunks/{repository-3cde4f3q.js → reference-fvqj4f3c.js} +8 -8
  140. package/dist/chunks/{repository-g5w8qwbj.js → reference-g5w8qwbj.js} +1 -1
  141. package/dist/chunks/{repository-s9nwmxxs.js → reference-g9s62h09.js} +29 -29
  142. package/dist/chunks/{repository-qy0n8417.js → reference-g9y2cd3z.js} +26 -26
  143. package/dist/chunks/{repository-2z7ddzwf.js → reference-gcrbmep4.js} +7 -7
  144. package/dist/chunks/{repository-gd4qta3r.js → reference-gd4qta3r.js} +1 -1
  145. package/dist/chunks/{repository-k70p9jzb.js → reference-gh5z95q3.js} +9 -9
  146. package/dist/chunks/{repository-t406fhy5.js → reference-gjnvnc4y.js} +24 -24
  147. package/dist/chunks/{repository-56gyfky0.js → reference-gpp0brcr.js} +3 -3
  148. package/dist/chunks/{repository-addxnjmp.js → reference-gqtdsdt7.js} +4 -4
  149. package/dist/chunks/{repository-00e0wh3q.js → reference-gtzbc217.js} +24 -24
  150. package/dist/chunks/{repository-w5ystqj3.js → reference-gvt3vmzy.js} +5 -5
  151. package/dist/chunks/{repository-tbs2jyb2.js → reference-gwzp9a94.js} +7 -7
  152. package/dist/chunks/{repository-7c08hygz.js → reference-h4ckqw4f.js} +11 -11
  153. package/dist/chunks/{repository-fe9ffm0w.js → reference-h5brs6ad.js} +18 -18
  154. package/dist/chunks/{repository-zhwzkc0c.js → reference-h6d45qjv.js} +15 -15
  155. package/dist/chunks/{repository-h6vf3j39.js → reference-h6vf3j39.js} +1 -1
  156. package/dist/chunks/reference-hbxrrpsy.js +26 -0
  157. package/dist/chunks/{repository-9yxvhatz.js → reference-he0vrkkp.js} +4 -4
  158. package/dist/chunks/{repository-kxam66j6.js → reference-hgc4p3n8.js} +13 -13
  159. package/dist/chunks/{repository-5k54pn5m.js → reference-hgvy4kar.js} +10 -10
  160. package/dist/chunks/{repository-f8xdbq78.js → reference-hndc3k9c.js} +6 -6
  161. package/dist/chunks/{repository-h6yzxz9r.js → reference-ht8cmbj4.js} +15 -15
  162. package/dist/chunks/{repository-j56e64zr.js → reference-j56e64zr.js} +1 -1
  163. package/dist/chunks/{repository-atwht7h8.js → reference-jc4g2yrv.js} +9 -9
  164. package/dist/chunks/{repository-kfj4fg87.js → reference-je2kf47w.js} +5 -5
  165. package/dist/chunks/{repository-mfct962c.js → reference-jnrqkn6c.js} +30 -30
  166. package/dist/chunks/{repository-cs63tcvs.js → reference-jnvd0kyr.js} +7 -7
  167. package/dist/chunks/{repository-23294nz8.js → reference-jpdp1vnh.js} +24 -24
  168. package/dist/chunks/{repository-ywf1kxhz.js → reference-k6tv6mb5.js} +4 -4
  169. package/dist/chunks/{repository-9e5bzkjp.js → reference-kb9j3d72.js} +3 -3
  170. package/dist/chunks/{repository-q7ngdz78.js → reference-kvffqfe9.js} +18 -18
  171. package/dist/chunks/{repository-05t95569.js → reference-m2wppme0.js} +8 -8
  172. package/dist/chunks/{repository-ecwx0042.js → reference-m39cm8ca.js} +8 -8
  173. package/dist/chunks/{repository-m3fdjcah.js → reference-m3fdjcah.js} +1 -1
  174. package/dist/chunks/{repository-cb3fgacg.js → reference-m4c3aw93.js} +29 -29
  175. package/dist/chunks/{repository-r3c58j5g.js → reference-m6rwzraj.js} +3 -3
  176. package/dist/chunks/{repository-m9w0rfyh.js → reference-m9w0rfyh.js} +1 -1
  177. package/dist/chunks/{repository-ry0xagvq.js → reference-mhb1xyd0.js} +24 -24
  178. package/dist/chunks/{repository-q7jxq9y7.js → reference-mp7381ha.js} +18 -18
  179. package/dist/chunks/{repository-wb70vhte.js → reference-mszqqr5a.js} +11 -11
  180. package/dist/chunks/{repository-t8n7ymvq.js → reference-nbgrff9b.js} +6 -6
  181. package/dist/chunks/{repository-vdf83yyz.js → reference-nfpgxjj6.js} +12 -12
  182. package/dist/chunks/{repository-68ga000j.js → reference-nhsamrrc.js} +44 -44
  183. package/dist/chunks/{repository-7wnc14t4.js → reference-nk5qe5vz.js} +14 -14
  184. package/dist/chunks/{repository-1acjjqhc.js → reference-nkf980df.js} +4 -4
  185. package/dist/chunks/{repository-rm4s95e7.js → reference-ns7haffg.js} +65 -65
  186. package/dist/chunks/{repository-rk3ekeb4.js → reference-nx7bjzyg.js} +5 -5
  187. package/dist/chunks/{repository-dpkg50ah.js → reference-nxm207yx.js} +4 -4
  188. package/dist/chunks/{repository-vt8dt6j6.js → reference-p9yds72b.js} +30 -30
  189. package/dist/chunks/{repository-xpwv3d90.js → reference-pakybbh2.js} +17 -17
  190. package/dist/chunks/{repository-pg4zag0e.js → reference-pg4qvhje.js} +22 -22
  191. package/dist/chunks/{repository-h16n41p4.js → reference-pgp5awqq.js} +25 -25
  192. package/dist/chunks/{repository-xv90jz4c.js → reference-pj60644h.js} +11 -11
  193. package/dist/chunks/{repository-pjvnvgmy.js → reference-pjvnvgmy.js} +1 -1
  194. package/dist/chunks/{repository-pknna89w.js → reference-pknna89w.js} +1 -1
  195. package/dist/chunks/{repository-qy06s429.js → reference-pqwyxwmm.js} +13 -13
  196. package/dist/chunks/{repository-5r637m3f.js → reference-prryrcpd.js} +57 -57
  197. package/dist/chunks/{repository-0j77ygfz.js → reference-q0xm7vwc.js} +6 -6
  198. package/dist/chunks/{repository-9mxexfbd.js → reference-q3m1smny.js} +14 -14
  199. package/dist/chunks/{repository-8e4wx4g3.js → reference-q538z9pc.js} +18 -18
  200. package/dist/chunks/{repository-2t9hnq90.js → reference-qbe3snec.js} +10 -10
  201. package/dist/chunks/{repository-q76xcmv9.js → reference-qc6fgdwa.js} +16 -16
  202. package/dist/chunks/{repository-2k8khapm.js → reference-qgn6gcr1.js} +5 -5
  203. package/dist/chunks/{repository-6vnaqa0k.js → reference-qjeyhcp2.js} +30 -30
  204. package/dist/chunks/{repository-d4he2qe1.js → reference-qmqgtz8f.js} +9 -9
  205. package/dist/chunks/{repository-042aawn8.js → reference-qmrj7qv4.js} +23 -23
  206. package/dist/chunks/{repository-qnc92qwc.js → reference-qnc92qwc.js} +1 -1
  207. package/dist/chunks/{repository-qsdy395h.js → reference-qsdy395h.js} +1 -1
  208. package/dist/chunks/{repository-qxjc9qry.js → reference-qxjc9qry.js} +3 -3
  209. package/dist/chunks/{repository-zyk1yjk8.js → reference-qygbw77c.js} +5 -5
  210. package/dist/chunks/{repository-w7a2abxy.js → reference-r0xwa5b9.js} +9 -9
  211. package/dist/chunks/{repository-1cw3fj19.js → reference-r0yjwmba.js} +6 -6
  212. package/dist/chunks/{repository-ya6jwxb4.js → reference-r656bzgr.js} +4 -4
  213. package/dist/chunks/{repository-z6zb16gf.js → reference-r8kdp16q.js} +30 -30
  214. package/dist/chunks/{repository-t7wcnk30.js → reference-rb1fbfth.js} +11 -11
  215. package/dist/chunks/{repository-rdw6cm16.js → reference-rdw6cm16.js} +1 -1
  216. package/dist/chunks/{repository-3556dn8t.js → reference-rk1r2hx8.js} +1 -1
  217. package/dist/chunks/{repository-xmy45d6e.js → reference-rkekhv0x.js} +23 -23
  218. package/dist/chunks/{repository-m44fkk4m.js → reference-rm3eewz3.js} +6 -6
  219. package/dist/chunks/{repository-d73ss8bd.js → reference-rmg5xfkv.js} +20 -20
  220. package/dist/chunks/{repository-vfzczaj5.js → reference-rnht7zsd.js} +20 -20
  221. package/dist/chunks/{repository-hdjgtqrb.js → reference-rpqbf71x.js} +20 -20
  222. package/dist/chunks/{repository-0f0pgr2e.js → reference-rpwhq6pb.js} +3 -3
  223. package/dist/chunks/{repository-9815d8pv.js → reference-rrk1042z.js} +29 -29
  224. package/dist/chunks/{repository-41h22fg8.js → reference-s3pmgr9t.js} +41 -41
  225. package/dist/chunks/{repository-mn0942hp.js → reference-s8w3rjvj.js} +19 -19
  226. package/dist/chunks/{repository-mjqndqed.js → reference-scsdzjr7.js} +12 -12
  227. package/dist/chunks/{repository-6x4qebe7.js → reference-sgdqa063.js} +30 -30
  228. package/dist/chunks/{repository-2m8jawch.js → reference-sqvzcy4n.js} +4 -4
  229. package/dist/chunks/{repository-my4zabxr.js → reference-ss358qx3.js} +3 -3
  230. package/dist/chunks/{repository-5pptr25h.js → reference-t11fnep0.js} +4 -4
  231. package/dist/chunks/{repository-a2ew8a62.js → reference-t2fc4mz5.js} +4 -4
  232. package/dist/chunks/{repository-1wb0x8n3.js → reference-t2ykdevs.js} +8 -8
  233. package/dist/chunks/{repository-gry8sgkd.js → reference-tah2dmcr.js} +15 -15
  234. package/dist/chunks/{repository-tazgh4e4.js → reference-tazgh4e4.js} +1 -1
  235. package/dist/chunks/{repository-tcezcvh9.js → reference-tcezcvh9.js} +1 -1
  236. package/dist/chunks/{repository-ef2cw19s.js → reference-td55a9w2.js} +12 -12
  237. package/dist/chunks/{repository-tdstcens.js → reference-tdstcens.js} +1 -1
  238. package/dist/chunks/{repository-yfe405ny.js → reference-tdw7b37v.js} +13 -13
  239. package/dist/chunks/{repository-c8bydgjz.js → reference-tegs1ycp.js} +6 -6
  240. package/dist/chunks/{repository-4azg6a58.js → reference-tmcwaswb.js} +8 -8
  241. package/dist/chunks/{repository-hffth77f.js → reference-tqcqmy0z.js} +167 -167
  242. package/dist/chunks/{repository-vqkmcgyv.js → reference-tvy4pmrp.js} +3 -3
  243. package/dist/chunks/{repository-azmfd98g.js → reference-ty1kjgn1.js} +27 -27
  244. package/dist/chunks/{repository-etdaqrbr.js → reference-tyvap7pe.js} +29 -29
  245. package/dist/chunks/{repository-0h1qn0y5.js → reference-v01fwtwf.js} +10 -10
  246. package/dist/chunks/{repository-v0es1rhs.js → reference-v0es1rhs.js} +2 -2
  247. package/dist/chunks/{repository-hkgfm0m5.js → reference-v9bgj935.js} +21 -21
  248. package/dist/chunks/{repository-56a9smke.js → reference-veanqdwt.js} +20 -20
  249. package/dist/chunks/{repository-veqvce7d.js → reference-veqvce7d.js} +1 -1
  250. package/dist/chunks/{repository-ccn600g9.js → reference-vpt24r21.js} +11 -11
  251. package/dist/chunks/{repository-9pymkw0x.js → reference-vptjzd05.js} +11 -11
  252. package/dist/chunks/{repository-tg6e69q8.js → reference-vvx487fg.js} +5 -5
  253. package/dist/chunks/{repository-j4g697yf.js → reference-vyfd576n.js} +20 -20
  254. package/dist/chunks/{repository-vzs5sf6e.js → reference-vzs5sf6e.js} +1 -1
  255. package/dist/chunks/{repository-57myy5jh.js → reference-w39jehkq.js} +5 -5
  256. package/dist/chunks/{repository-w3wsvvr9.js → reference-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{repository-5w6ne2rj.js → reference-w4xhwz3h.js} +11 -11
  258. package/dist/chunks/{repository-t7y8x8j8.js → reference-w62h0ejf.js} +9 -9
  259. package/dist/chunks/{repository-2tyga0yy.js → reference-wbtfkyzq.js} +19 -19
  260. package/dist/chunks/{repository-wd87259q.js → reference-wd87259q.js} +1 -1
  261. package/dist/chunks/{repository-8kys6q5k.js → reference-wfb8b895.js} +9 -9
  262. package/dist/chunks/{repository-t550f9t1.js → reference-wv396vej.js} +8 -8
  263. package/dist/chunks/{repository-g34b934z.js → reference-wz3q2ckh.js} +22 -22
  264. package/dist/chunks/{repository-w6gqnbcy.js → reference-x0agx93m.js} +5 -5
  265. package/dist/chunks/{repository-96ctqc5x.js → reference-xf0nr9dv.js} +4 -4
  266. package/dist/chunks/{repository-xkntkrq7.js → reference-xkntkrq7.js} +2 -2
  267. package/dist/chunks/{repository-6cdwq03r.js → reference-xm3t5kx7.js} +4 -4
  268. package/dist/chunks/{repository-rjsk0n41.js → reference-xrzsv9ds.js} +9 -9
  269. package/dist/chunks/{repository-27bkxtjt.js → reference-y07dqpd7.js} +11 -11
  270. package/dist/chunks/{repository-89za3yyg.js → reference-y0ty5fha.js} +9 -9
  271. package/dist/chunks/{repository-y16p1w2y.js → reference-y15vpdnr.js} +9 -9
  272. package/dist/chunks/{repository-y1fvbwt7.js → reference-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{repository-rpp7c75e.js → reference-yaj5ebgj.js} +48 -48
  274. package/dist/chunks/{repository-65967rh2.js → reference-ybdpay6p.js} +17 -17
  275. package/dist/chunks/{repository-a2dv4dac.js → reference-yfs5p2ka.js} +4 -4
  276. package/dist/chunks/{repository-2texf5vf.js → reference-ykw2g6qf.js} +20 -20
  277. package/dist/chunks/{repository-b5f9cqb8.js → reference-yt62qj12.js} +27 -27
  278. package/dist/chunks/{repository-15q89ad0.js → reference-yww0r5a3.js} +11 -11
  279. package/dist/chunks/{repository-4ege8dpt.js → reference-yy493xsn.js} +20 -20
  280. package/dist/chunks/{repository-z0bkrqjs.js → reference-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{repository-a199weyn.js → reference-za77p82n.js} +6 -6
  282. package/dist/chunks/{repository-zr2ceqn5.js → reference-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{repository-zxq2ej10.js → reference-zxq2ej10.js} +1 -1
  284. package/dist/chunks/{repository-gpng080p.js → reference-zzpvks7y.js} +32 -32
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +5 -5
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +83 -83
  290. package/dist/config/discovery.js +82 -82
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +99 -99
  293. package/dist/config/plugin/agent.js +118 -118
  294. package/dist/config/plugin/command.js +207 -207
  295. package/dist/config/plugin/compaction.js +154 -154
  296. package/dist/config/plugin/compatibility.js +134 -134
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +117 -117
  299. package/dist/config/plugin/image.js +116 -116
  300. package/dist/config/plugin/instruction.js +90 -90
  301. package/dist/config/plugin/location-watcher.js +116 -116
  302. package/dist/config/plugin/mcp.js +125 -125
  303. package/dist/config/plugin/policy.js +117 -117
  304. package/dist/config/plugin/provider.js +116 -116
  305. package/dist/config/plugin/reference.js +118 -118
  306. package/dist/config/plugin/shell.js +116 -116
  307. package/dist/config/plugin/skill-file.js +102 -102
  308. package/dist/config/plugin/skill.js +137 -137
  309. package/dist/config/plugin/snapshot.js +116 -116
  310. package/dist/config/plugin/source.js +119 -119
  311. package/dist/config/plugin/tool-output.js +117 -117
  312. package/dist/config/plugin/websearch.js +115 -115
  313. package/dist/config/plugin/worktree.js +118 -118
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +121 -121
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +85 -85
  319. package/dist/database/database.js +66 -66
  320. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +15 -15
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +16 -16
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration.gen.js +49 -49
  385. package/dist/database/migration.js +51 -51
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +76 -76
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +363 -363
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +93 -93
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +95 -95
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +70 -70
  409. package/dist/file-access.js +104 -104
  410. package/dist/file-mutation.js +94 -94
  411. package/dist/file-retention.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +218 -218
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +97 -97
  420. package/dist/filesystem/watcher-binding.js +3 -3
  421. package/dist/filesystem/watcher.js +15 -15
  422. package/dist/filesystem.js +98 -98
  423. package/dist/form.js +86 -86
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +87 -87
  426. package/dist/generate.js +103 -103
  427. package/dist/git.js +10 -10
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +91 -91
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.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 -354
  451. package/dist/instruction-discovery.js +81 -81
  452. package/dist/instructions/builtins.js +83 -83
  453. package/dist/instructions/index.js +5 -5
  454. package/dist/integration/connection.js +3 -3
  455. package/dist/integration.js +87 -87
  456. package/dist/job.js +78 -78
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +73 -73
  459. package/dist/location-activity.js +131 -131
  460. package/dist/location-lifecycle.js +107 -107
  461. package/dist/location-service-map.js +86 -86
  462. package/dist/location-services.js +351 -351
  463. package/dist/location.js +83 -83
  464. package/dist/managed-policy.js +5 -5
  465. package/dist/mcp/client.js +91 -91
  466. package/dist/mcp/index.js +105 -105
  467. package/dist/mcp/instructions.js +129 -129
  468. package/dist/mcp/oauth.js +78 -78
  469. package/dist/mcp/stdio.js +90 -90
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +91 -91
  472. package/dist/model-resolver.js +98 -98
  473. package/dist/model.js +100 -100
  474. package/dist/models-dev.js +107 -107
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +80 -80
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +117 -117
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +90 -90
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +75 -75
  484. package/dist/plugin/agent.js +104 -104
  485. package/dist/plugin/command.js +102 -102
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +211 -211
  488. package/dist/plugin/identity.js +3 -3
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +326 -326
  491. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  492. package/dist/plugin/models-dev.js +96 -96
  493. package/dist/plugin/module.js +7 -7
  494. package/dist/plugin/optimize.js +2 -2
  495. package/dist/plugin/plan.js +102 -102
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  498. package/dist/plugin/provider/azure.js +117 -117
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/chatgpt.js +93 -93
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +112 -112
  505. package/dist/plugin/provider/digitalocean.js +93 -93
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/github-copilot.js +95 -95
  509. package/dist/plugin/provider/gitlab.js +93 -93
  510. package/dist/plugin/provider/google-vertex.js +90 -90
  511. package/dist/plugin/provider/kilo.js +1 -1
  512. package/dist/plugin/provider/llmgateway.js +78 -78
  513. package/dist/plugin/provider/lmstudio.js +116 -116
  514. package/dist/plugin/provider/local.js +113 -113
  515. package/dist/plugin/provider/modal.js +92 -92
  516. package/dist/plugin/provider/nvidia.js +1 -1
  517. package/dist/plugin/provider/ollama.js +116 -116
  518. package/dist/plugin/provider/openai.js +93 -93
  519. package/dist/plugin/provider/opencode.js +96 -96
  520. package/dist/plugin/provider/openrouter.js +91 -91
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +79 -79
  523. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  524. package/dist/plugin/provider/sap-ai-core.js +91 -91
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  527. package/dist/plugin/provider/vercel.js +90 -90
  528. package/dist/plugin/provider/vllm.js +116 -116
  529. package/dist/plugin/provider/xai.js +91 -91
  530. package/dist/plugin/provider/zenmux.js +1 -1
  531. package/dist/plugin/provider.js +155 -155
  532. package/dist/plugin/sdk.js +76 -76
  533. package/dist/plugin/service.js +3 -3
  534. package/dist/plugin/skill.js +134 -134
  535. package/dist/plugin/source-directory.js +1 -1
  536. package/dist/plugin/supervisor.js +343 -343
  537. package/dist/plugin/tool-input-repair.js +4 -4
  538. package/dist/plugin/update.js +6 -6
  539. package/dist/plugin/vcs/git.js +86 -86
  540. package/dist/plugin/vcs/hg.js +86 -86
  541. package/dist/plugin/verbosity.js +93 -93
  542. package/dist/plugin/warming.js +114 -114
  543. package/dist/plugin/websearch/exa.js +7 -7
  544. package/dist/plugin/websearch/firecrawl.js +8 -8
  545. package/dist/plugin/websearch/index.js +9 -9
  546. package/dist/plugin/websearch/mcp.js +6 -6
  547. package/dist/plugin/websearch/parallel.js +6 -6
  548. package/dist/plugin/websearch/tavily.js +6 -6
  549. package/dist/plugin/websearch/tinyfish.js +8 -8
  550. package/dist/plugin.js +222 -222
  551. package/dist/project/schema.js +2 -2
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +86 -86
  554. package/dist/provider.js +101 -101
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +97 -97
  558. package/dist/reference/instructions.js +89 -89
  559. package/dist/reference.js +89 -89
  560. package/dist/repository-cache.js +81 -81
  561. package/dist/repository.js +1 -1
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +95 -95
  564. package/dist/rpc.js +86 -86
  565. package/dist/schema.js +1 -1
  566. package/dist/session/affinity.js +1 -1
  567. package/dist/session/command.js +74 -74
  568. package/dist/session/compaction.js +133 -133
  569. package/dist/session/context.js +149 -149
  570. package/dist/session/diff.js +88 -88
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +7 -7
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +211 -211
  575. package/dist/session/execution.js +127 -127
  576. package/dist/session/generate.js +152 -152
  577. package/dist/session/history.js +15 -15
  578. package/dist/session/inbox.js +88 -88
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +73 -73
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +97 -97
  583. package/dist/session/message-updater.js +2 -2
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +120 -120
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +125 -125
  588. package/dist/session/projector.js +84 -84
  589. package/dist/session/prompt.js +105 -105
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +90 -90
  592. package/dist/session/run-coordinator.js +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +222 -222
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +98 -98
  597. package/dist/session/runner/publish-llm-event.js +113 -113
  598. package/dist/session/runner/retry.js +4 -4
  599. package/dist/session/runner/step.js +123 -123
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +162 -162
  603. package/dist/session/shell.js +130 -130
  604. package/dist/session/skill.js +103 -103
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +73 -73
  607. package/dist/session/store.js +85 -85
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +203 -203
  610. package/dist/session/system-prompt.js +1 -1
  611. package/dist/session/title.js +151 -151
  612. package/dist/session/to-session-error.js +111 -111
  613. package/dist/session/transfer.js +207 -207
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +207 -207
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +13 -13
  620. package/dist/shell.js +132 -132
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +105 -105
  623. package/dist/skill.js +112 -112
  624. package/dist/snapshot.js +89 -89
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +128 -128
  629. package/dist/tool/plugin/edit.js +120 -120
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +122 -122
  632. package/dist/tool/plugin/grep.js +122 -122
  633. package/dist/tool/plugin/mcp-resource.js +117 -117
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +120 -120
  636. package/dist/tool/plugin/question.js +103 -103
  637. package/dist/tool/plugin/read.js +123 -123
  638. package/dist/tool/plugin/shell.js +208 -208
  639. package/dist/tool/plugin/skill.js +113 -113
  640. package/dist/tool/plugin/subagent.js +212 -212
  641. package/dist/tool/plugin/webfetch.js +112 -112
  642. package/dist/tool/plugin/websearch.js +108 -108
  643. package/dist/tool/plugin/write.js +120 -120
  644. package/dist/tool/read-filesystem.js +100 -100
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +7 -7
  647. package/dist/tool.js +12 -12
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/git-executable.js +2 -2
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +7 -7
  658. package/dist/v1/config/command.js +3 -3
  659. package/dist/v1/config/error.js +4 -4
  660. package/dist/v1/config/mcp.js +4 -4
  661. package/dist/v1/config/migrate.js +92 -92
  662. package/dist/v1/config/permission.js +7 -7
  663. package/dist/v1/config/plugin.js +3 -3
  664. package/dist/v1/config/provider-options.js +1 -1
  665. package/dist/v1/config/provider.js +4 -4
  666. package/dist/variant.js +93 -93
  667. package/dist/vcs/patch.js +1 -1
  668. package/dist/vcs.js +87 -87
  669. package/dist/websearch.js +82 -82
  670. package/dist/wellknown/plugin.js +76 -76
  671. package/dist/wellknown.js +79 -79
  672. package/dist/workspace/driver.js +5 -5
  673. package/dist/workspace/sql.js +1 -1
  674. package/dist/workspace.js +80 -80
  675. package/dist/worktree/directory.js +2 -2
  676. package/dist/worktree/git.js +8 -8
  677. package/dist/worktree/sql.js +5 -5
  678. package/dist/worktree/strategies.js +85 -85
  679. package/dist/worktree.js +94 -94
  680. package/package.json +8 -8
  681. package/dist/chunks/repository-45085rbj.js +0 -26
  682. package/dist/chunks/repository-bpqsrde8.js +0 -253
  683. package/dist/chunks/repository-jqh9b0xq.js +0 -18
  684. /package/dist/chunks/{repository-0qkdqm5v.js → reference-0qkdqm5v.js} +0 -0
  685. /package/dist/chunks/{repository-0zkw76rk.js → reference-0zkw76rk.js} +0 -0
  686. /package/dist/chunks/{repository-17cy0kzp.js → reference-17cy0kzp.js} +0 -0
  687. /package/dist/chunks/{repository-1cnp2v09.js → reference-1cnp2v09.js} +0 -0
  688. /package/dist/chunks/{repository-1kg9ymc8.js → reference-1kg9ymc8.js} +0 -0
  689. /package/dist/chunks/{repository-24dcb14g.js → reference-24dcb14g.js} +0 -0
  690. /package/dist/chunks/{repository-2710q6r3.js → reference-2710q6r3.js} +0 -0
  691. /package/dist/chunks/{repository-2axfhc9x.js → reference-2axfhc9x.js} +0 -0
  692. /package/dist/chunks/{repository-2c3vjs8z.js → reference-2c3vjs8z.js} +0 -0
  693. /package/dist/chunks/{repository-34c7v6d4.js → reference-34c7v6d4.js} +0 -0
  694. /package/dist/chunks/{repository-359p4xyc.js → reference-359p4xyc.js} +0 -0
  695. /package/dist/chunks/{repository-3asan66x.js → reference-3asan66x.js} +0 -0
  696. /package/dist/chunks/{repository-3t0ybcrp.js → reference-3t0ybcrp.js} +0 -0
  697. /package/dist/chunks/{repository-3v8g72cx.js → reference-3v8g72cx.js} +0 -0
  698. /package/dist/chunks/{repository-3w5fmr99.js → reference-3w5fmr99.js} +0 -0
  699. /package/dist/chunks/{repository-3wcehsnq.js → reference-3wcehsnq.js} +0 -0
  700. /package/dist/chunks/{repository-43n2bw4t.js → reference-43n2bw4t.js} +0 -0
  701. /package/dist/chunks/{repository-4knz6hnm.js → reference-4knz6hnm.js} +0 -0
  702. /package/dist/chunks/{repository-4vcrnpx2.js → reference-4vcrnpx2.js} +0 -0
  703. /package/dist/chunks/{repository-4y7fprxs.js → reference-4y7fprxs.js} +0 -0
  704. /package/dist/chunks/{repository-53557ph1.js → reference-53557ph1.js} +0 -0
  705. /package/dist/chunks/{repository-550bvhaj.js → reference-550bvhaj.js} +0 -0
  706. /package/dist/chunks/{repository-6prwharc.js → reference-6prwharc.js} +0 -0
  707. /package/dist/chunks/{repository-6q2bdcd1.js → reference-6q2bdcd1.js} +0 -0
  708. /package/dist/chunks/{repository-7akdwqpd.js → reference-7akdwqpd.js} +0 -0
  709. /package/dist/chunks/{repository-7m9af43g.js → reference-7m9af43g.js} +0 -0
  710. /package/dist/chunks/{repository-822emrt2.js → reference-822emrt2.js} +0 -0
  711. /package/dist/chunks/{repository-88xbtdfr.js → reference-88xbtdfr.js} +0 -0
  712. /package/dist/chunks/{repository-8n3pysct.js → reference-8n3pysct.js} +0 -0
  713. /package/dist/chunks/{repository-8wj87zfr.js → reference-8wj87zfr.js} +0 -0
  714. /package/dist/chunks/{repository-9a4afbnw.js → reference-9a4afbnw.js} +0 -0
  715. /package/dist/chunks/{repository-9rqn6x4v.js → reference-9rqn6x4v.js} +0 -0
  716. /package/dist/chunks/{repository-a6k6eb26.js → reference-a6k6eb26.js} +0 -0
  717. /package/dist/chunks/{repository-af5trqkr.js → reference-af5trqkr.js} +0 -0
  718. /package/dist/chunks/{repository-afrmfg78.js → reference-afrmfg78.js} +0 -0
  719. /package/dist/chunks/{repository-aqzs7mqg.js → reference-aqzs7mqg.js} +0 -0
  720. /package/dist/chunks/{repository-atq7p7m5.js → reference-atq7p7m5.js} +0 -0
  721. /package/dist/chunks/{repository-bkyjaxrp.js → reference-bkyjaxrp.js} +0 -0
  722. /package/dist/chunks/{repository-bmr6ed5q.js → reference-bmr6ed5q.js} +0 -0
  723. /package/dist/chunks/{repository-cf4snx6d.js → reference-cf4snx6d.js} +0 -0
  724. /package/dist/chunks/{repository-cvy3z8tj.js → reference-cvy3z8tj.js} +0 -0
  725. /package/dist/chunks/{repository-d9fn303g.js → reference-d9fn303g.js} +0 -0
  726. /package/dist/chunks/{repository-d9jj8t3e.js → reference-d9jj8t3e.js} +0 -0
  727. /package/dist/chunks/{repository-dajrwvna.js → reference-dajrwvna.js} +0 -0
  728. /package/dist/chunks/{repository-dap0rakb.js → reference-dap0rakb.js} +0 -0
  729. /package/dist/chunks/{repository-df08tz66.js → reference-df08tz66.js} +0 -0
  730. /package/dist/chunks/{repository-dy18nga0.js → reference-dy18nga0.js} +0 -0
  731. /package/dist/chunks/{repository-e5kj55wp.js → reference-e5kj55wp.js} +0 -0
  732. /package/dist/chunks/{repository-e73j6tqm.js → reference-e73j6tqm.js} +0 -0
  733. /package/dist/chunks/{repository-ec1grn59.js → reference-ec1grn59.js} +0 -0
  734. /package/dist/chunks/{repository-eh3zwz77.js → reference-eh3zwz77.js} +0 -0
  735. /package/dist/chunks/{repository-emrn6kk6.js → reference-emrn6kk6.js} +0 -0
  736. /package/dist/chunks/{repository-f0mxakyp.js → reference-f0mxakyp.js} +0 -0
  737. /package/dist/chunks/{repository-f6n9ztr4.js → reference-f6n9ztr4.js} +0 -0
  738. /package/dist/chunks/{repository-faypxj3z.js → reference-faypxj3z.js} +0 -0
  739. /package/dist/chunks/{repository-fd410y7t.js → reference-fd410y7t.js} +0 -0
  740. /package/dist/chunks/{repository-fxgpk5d8.js → reference-fxgpk5d8.js} +0 -0
  741. /package/dist/chunks/{repository-g4wezp1m.js → reference-g4wezp1m.js} +0 -0
  742. /package/dist/chunks/{repository-g86h250q.js → reference-g86h250q.js} +0 -0
  743. /package/dist/chunks/{repository-gebd4c9n.js → reference-gebd4c9n.js} +0 -0
  744. /package/dist/chunks/{repository-gftt206x.js → reference-gftt206x.js} +0 -0
  745. /package/dist/chunks/{repository-hk9envan.js → reference-hk9envan.js} +0 -0
  746. /package/dist/chunks/{repository-j2ntwpah.js → reference-j2ntwpah.js} +0 -0
  747. /package/dist/chunks/{repository-j5zkgpj8.js → reference-j5zkgpj8.js} +0 -0
  748. /package/dist/chunks/{repository-jjkms2e6.js → reference-jjkms2e6.js} +0 -0
  749. /package/dist/chunks/{repository-jr7sbwjy.js → reference-jr7sbwjy.js} +0 -0
  750. /package/dist/chunks/{repository-jwfs4k6c.js → reference-jwfs4k6c.js} +0 -0
  751. /package/dist/chunks/{repository-jzg6c2d5.js → reference-jzg6c2d5.js} +0 -0
  752. /package/dist/chunks/{repository-mp448xyj.js → reference-mp448xyj.js} +0 -0
  753. /package/dist/chunks/{repository-msx8hqn2.js → reference-msx8hqn2.js} +0 -0
  754. /package/dist/chunks/{repository-n05xt0ee.js → reference-n05xt0ee.js} +0 -0
  755. /package/dist/chunks/{repository-n3j8tn72.js → reference-n3j8tn72.js} +0 -0
  756. /package/dist/chunks/{repository-njntx4h6.js → reference-njntx4h6.js} +0 -0
  757. /package/dist/chunks/{repository-q3sfg36h.js → reference-q3sfg36h.js} +0 -0
  758. /package/dist/chunks/{repository-q74kybfr.js → reference-q74kybfr.js} +0 -0
  759. /package/dist/chunks/{repository-qaymkmh1.js → reference-qaymkmh1.js} +0 -0
  760. /package/dist/chunks/{repository-qb87gjwd.js → reference-qb87gjwd.js} +0 -0
  761. /package/dist/chunks/{repository-qfa1cgps.js → reference-qfa1cgps.js} +0 -0
  762. /package/dist/chunks/{repository-qg3g05ea.js → reference-qg3g05ea.js} +0 -0
  763. /package/dist/chunks/{repository-qrg20bc0.js → reference-qrg20bc0.js} +0 -0
  764. /package/dist/chunks/{repository-rcb2kzg1.js → reference-rcb2kzg1.js} +0 -0
  765. /package/dist/chunks/{repository-sdp7kfr6.js → reference-sdp7kfr6.js} +0 -0
  766. /package/dist/chunks/{repository-ssg3fenm.js → reference-ssg3fenm.js} +0 -0
  767. /package/dist/chunks/{repository-w803qqfp.js → reference-w803qqfp.js} +0 -0
  768. /package/dist/chunks/{repository-wc3fc9cn.js → reference-wc3fc9cn.js} +0 -0
  769. /package/dist/chunks/{repository-wer8tq1h.js → reference-wer8tq1h.js} +0 -0
  770. /package/dist/chunks/{repository-wtztk69x.js → reference-wtztk69x.js} +0 -0
  771. /package/dist/chunks/{repository-x0ckcb58.js → reference-x0ckcb58.js} +0 -0
  772. /package/dist/chunks/{repository-x61499pn.js → reference-x61499pn.js} +0 -0
  773. /package/dist/chunks/{repository-y44na4kk.js → reference-y44na4kk.js} +0 -0
  774. /package/dist/chunks/{repository-y8cydn3q.js → reference-y8cydn3q.js} +0 -0
  775. /package/dist/chunks/{repository-y8f7s663.js → reference-y8f7s663.js} +0 -0
  776. /package/dist/chunks/{repository-ygaqb7jw.js → reference-ygaqb7jw.js} +0 -0
  777. /package/dist/chunks/{repository-ym463w8f.js → reference-ym463w8f.js} +0 -0
  778. /package/dist/chunks/{repository-z5v4ffb3.js → reference-z5v4ffb3.js} +0 -0
  779. /package/dist/chunks/{repository-z9919s4g.js → reference-z9919s4g.js} +0 -0
@@ -1,102 +1,102 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./repository-b751st24.js";
4
+ } from "./reference-0aacj8rv.js";
5
5
  import {
6
6
  Service83,
7
7
  node87
8
- } from "./repository-9yxvhatz.js";
8
+ } from "./reference-he0vrkkp.js";
9
9
  import {
10
10
  SessionMessage2
11
- } from "./repository-gftt206x.js";
11
+ } from "./reference-gftt206x.js";
12
12
  import {
13
13
  StepFailedError2
14
- } from "./repository-89za3yyg.js";
14
+ } from "./reference-y0ty5fha.js";
15
15
  import {
16
16
  SessionEvent2
17
- } from "./repository-ec1grn59.js";
17
+ } from "./reference-ec1grn59.js";
18
18
  import {
19
19
  SessionMessageTable2
20
- } from "./repository-9e5bzkjp.js";
20
+ } from "./reference-kb9j3d72.js";
21
21
  import {
22
22
  prepare4
23
- } from "./repository-2m8jawch.js";
23
+ } from "./reference-sqvzcy4n.js";
24
24
  import {
25
25
  provenance2
26
- } from "./repository-4z58m4b4.js";
26
+ } from "./reference-f29mbr7f.js";
27
27
  import {
28
28
  decodeMessageRow2,
29
29
  preview2
30
- } from "./repository-yn96zvvk.js";
30
+ } from "./reference-7sq9ks3h.js";
31
31
  import {
32
- Service57,
33
- node59
34
- } from "./repository-q0cdrezg.js";
32
+ Service74,
33
+ node78
34
+ } from "./reference-dcb7qyjw.js";
35
35
  import {
36
- Service16,
37
- node18
38
- } from "./repository-s9nwmxxs.js";
36
+ Service20,
37
+ node23
38
+ } from "./reference-g9s62h09.js";
39
39
  import {
40
40
  llmClient2
41
- } from "./repository-5t3nmthw.js";
41
+ } from "./reference-5t3nmthw.js";
42
42
  import {
43
- Service35,
44
- node39
45
- } from "./repository-eqh5fpv6.js";
43
+ Service41,
44
+ node44
45
+ } from "./reference-d8h4y8x2.js";
46
46
  import {
47
47
  baseTranscript2
48
- } from "./repository-32xj3ztx.js";
48
+ } from "./reference-4qzt904k.js";
49
49
  import {
50
- make5
51
- } from "./repository-zyk1yjk8.js";
50
+ make11
51
+ } from "./reference-qygbw77c.js";
52
52
  import {
53
53
  toSessionError2
54
- } from "./repository-qv02qg64.js";
54
+ } from "./reference-50eqagw9.js";
55
55
  import {
56
- Service7,
57
- node9,
56
+ Service11,
57
+ node13,
58
58
  estimatePrompt2
59
- } from "./repository-a6rczh0a.js";
59
+ } from "./reference-4eekcfr3.js";
60
60
  import {
61
61
  Service30,
62
62
  node33
63
- } from "./repository-rm4s95e7.js";
63
+ } from "./reference-ns7haffg.js";
64
64
  import {
65
65
  serialized2,
66
66
  nextPromotable2,
67
67
  promote2
68
- } from "./repository-2texf5vf.js";
68
+ } from "./reference-ykw2g6qf.js";
69
69
  import {
70
70
  Service2,
71
71
  isUntitled2,
72
72
  node3
73
- } from "./repository-9mhtj97w.js";
73
+ } from "./reference-cag15tqf.js";
74
74
  import {
75
75
  DrainResult2,
76
- Service47
77
- } from "./repository-embw8kgh.js";
76
+ Service58
77
+ } from "./reference-afdssyjb.js";
78
78
  import {
79
79
  node53
80
- } from "./repository-hdjgtqrb.js";
80
+ } from "./reference-rpqbf71x.js";
81
81
  import {
82
- node75
83
- } from "./repository-gkcjs2dn.js";
82
+ node55
83
+ } from "./reference-6v23mrsw.js";
84
84
  import {
85
85
  Outcome2,
86
86
  make3
87
- } from "./repository-h6yzxz9r.js";
87
+ } from "./reference-ht8cmbj4.js";
88
88
  import {
89
- Service36
90
- } from "./repository-jqh9b0xq.js";
89
+ Service35
90
+ } from "./reference-619r8v3y.js";
91
91
  import {
92
- node22
93
- } from "./repository-vfzczaj5.js";
92
+ node19
93
+ } from "./reference-rnht7zsd.js";
94
94
  import {
95
95
  MAX_STEPS_PROMPT2
96
- } from "./repository-y44na4kk.js";
96
+ } from "./reference-y44na4kk.js";
97
97
  import {
98
98
  __export
99
- } from "./repository-9rqn6x4v.js";
99
+ } from "./reference-9rqn6x4v.js";
100
100
 
101
101
  // src/session/runner/llm.ts
102
102
  var exports_llm = {};
@@ -109,15 +109,15 @@ import { and, desc, eq, sql } from "drizzle-orm";
109
109
  import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
110
110
  import { makeLocationNode } from "@opencode/util/effect/app-node";
111
111
  var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
112
- var layer = Layer.effect(Service47, Effect.gen(function* () {
112
+ var layer = Layer.effect(Service58, Effect.gen(function* () {
113
113
  const bus = yield* Service83;
114
- const lifecycle = yield* Service16;
115
- const store = yield* Service57;
114
+ const lifecycle = yield* Service20;
115
+ const store = yield* Service74;
116
116
  const context = yield* Service30;
117
- const modelTransport = yield* Service35;
117
+ const modelTransport = yield* Service41;
118
118
  const db = (yield* Service84).db;
119
- const compaction = yield* Service7;
120
- const plugins = yield* Service36;
119
+ const compaction = yield* Service11;
120
+ const plugins = yield* Service35;
121
121
  const title = yield* Service2;
122
122
  const steps = yield* make3;
123
123
  const titles = yield* FiberMap.make();
@@ -240,7 +240,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
240
240
  const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
241
241
  const sessionID = first.session.id;
242
242
  let assistantMessageID = SessionMessage2.ID.create();
243
- const retry = yield* make5(bus, sessionID);
243
+ const retry = yield* make11(bus, sessionID);
244
244
  let initial = first;
245
245
  let recoverOverflow = true;
246
246
  let recoverContinuation = true;
@@ -356,23 +356,23 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
356
356
  }
357
357
  }
358
358
  });
359
- return Service47.of({ drain });
359
+ return Service58.of({ drain });
360
360
  }));
361
361
  var node2 = makeLocationNode({
362
- service: Service47,
362
+ service: Service58,
363
363
  layer,
364
364
  deps: [
365
365
  node87,
366
- node18,
366
+ node23,
367
367
  llmClient2,
368
368
  node33,
369
- node39,
370
- node59,
371
- node9,
372
- node22,
369
+ node44,
370
+ node78,
371
+ node13,
372
+ node19,
373
373
  node3,
374
374
  node53,
375
- node75,
375
+ node55,
376
376
  node88
377
377
  ]
378
378
  });
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./repository-2a5m3afh.js";
5
+ } from "./reference-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./repository-9rqn6x4v.js";
8
+ } from "./reference-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/local.ts
11
11
  var exports_local = {};
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  useragent2
3
- } from "./repository-5w6ne2rj.js";
3
+ } from "./reference-w4xhwz3h.js";
4
4
  import {
5
5
  Service83
6
- } from "./repository-9yxvhatz.js";
6
+ } from "./reference-he0vrkkp.js";
7
7
  import {
8
- ID15,
8
+ ID10,
9
9
  OAuth3,
10
- Event19,
11
- Service77
12
- } from "./repository-5ng375bv.js";
10
+ Event16,
11
+ Service70
12
+ } from "./reference-9edtgxtv.js";
13
13
  import {
14
14
  key2
15
- } from "./repository-addxnjmp.js";
15
+ } from "./reference-gqtdsdt7.js";
16
16
  import {
17
- ID14,
17
+ ID9,
18
18
  MethodID2
19
- } from "./repository-mfct962c.js";
19
+ } from "./reference-jnrqkn6c.js";
20
20
  import {
21
21
  which2
22
- } from "./repository-qaymkmh1.js";
22
+ } from "./reference-qaymkmh1.js";
23
23
  import {
24
- ID13,
25
- Service75
26
- } from "./repository-9815d8pv.js";
24
+ ID8,
25
+ Service68
26
+ } from "./reference-rrk1042z.js";
27
27
  import {
28
- ID12
29
- } from "./repository-b5f9cqb8.js";
28
+ ID7
29
+ } from "./reference-yt62qj12.js";
30
30
  import {
31
31
  iife2
32
- } from "./repository-1kg9ymc8.js";
32
+ } from "./reference-1kg9ymc8.js";
33
33
  import {
34
34
  configuredSettings2
35
- } from "./repository-1hp58pw3.js";
35
+ } from "./reference-ag4901q7.js";
36
36
 
37
37
  // src/plugin/provider/azure.ts
38
38
  import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
@@ -67,18 +67,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
67
67
  }));
68
68
  var ResourceQuery = Schema.Struct({ query: Schema.String });
69
69
  var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
70
- function make11(endpoints = {
70
+ function make6(endpoints = {
71
71
  resource: (name) => `https://${name}.openai.azure.com/openai`,
72
72
  management: "https://management.azure.com"
73
73
  }) {
74
74
  return define({
75
75
  id: "opencode.provider.azure",
76
76
  effect: Effect.fn(function* (ctx) {
77
- const configured = yield* configuredSettings2(ID13.azure);
77
+ const configured = yield* configuredSettings2(ID8.azure);
78
78
  const processes = yield* AppProcess.Service;
79
79
  const bus = yield* Service83;
80
- const credentials = yield* Service77;
81
- const providers = yield* Service75;
80
+ const credentials = yield* Service70;
81
+ const providers = yield* Service68;
82
82
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
83
83
  const tokens = new Map;
84
84
  const resourceIDs = new Map;
@@ -116,13 +116,13 @@ function make11(endpoints = {
116
116
  });
117
117
  yield* ctx.integration.transform((editor) => {
118
118
  editor.method.update({
119
- integrationID: ID13.azure,
119
+ integrationID: ID8.azure,
120
120
  method: { type: "key", label: "API key", form: form() }
121
121
  });
122
122
  if (!available)
123
123
  return;
124
124
  editor.method.update({
125
- integrationID: ID13.azure,
125
+ integrationID: ID8.azure,
126
126
  method: {
127
127
  id: methodID,
128
128
  type: "oauth",
@@ -152,8 +152,8 @@ function make11(endpoints = {
152
152
  });
153
153
  });
154
154
  const load = Effect.fn("AzurePlugin.load")(function* () {
155
- const connection = yield* ctx.integration.connection.active(ID13.azure);
156
- const stored = connection?.type === "credential" ? yield* credentials.get(ID15.make(connection.id)) : undefined;
155
+ const connection = yield* ctx.integration.connection.active(ID8.azure);
156
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID10.make(connection.id)) : undefined;
157
157
  return { connection, resource: credentialResource(stored?.value) };
158
158
  });
159
159
  const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
@@ -192,7 +192,7 @@ function make11(endpoints = {
192
192
  }));
193
193
  const discover = Effect.fn("AzurePlugin.discover")(function* () {
194
194
  const connection = loaded.connection;
195
- const settings = (yield* providers.get(ID13.azure))?.settings;
195
+ const settings = (yield* providers.get(ID8.azure))?.settings;
196
196
  const name = loaded.resource ?? resolveResourceName(settings);
197
197
  const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
198
198
  if (loaded.connection !== connection)
@@ -214,11 +214,11 @@ function make11(endpoints = {
214
214
  const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
215
215
  if (!found)
216
216
  return;
217
- if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID13.azure)))
217
+ if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID8.azure)))
218
218
  return;
219
219
  if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
220
220
  return;
221
- const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID13.azure)?.models.keys() ?? [], (id) => [
221
+ const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID8.azure)?.models.keys() ?? [], (id) => [
222
222
  id.toLowerCase(),
223
223
  id
224
224
  ]));
@@ -231,11 +231,11 @@ function make11(endpoints = {
231
231
  yield* ctx.model.reload();
232
232
  });
233
233
  const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
234
- const resourceFor = (provider) => provider.id === ID13.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
234
+ const resourceFor = (provider) => provider.id === ID8.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
235
235
  Object.assign(loaded, yield* load());
236
236
  yield* ctx.provider.transform((evt) => {
237
237
  for (const item of evt.list()) {
238
- if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
238
+ if (item.provider.id !== ID8.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
239
239
  continue;
240
240
  const resourceName = resourceFor(item.provider);
241
241
  const websocket = responsesWebSocketCapable(item.provider);
@@ -250,7 +250,7 @@ function make11(endpoints = {
250
250
  };
251
251
  });
252
252
  }
253
- const item = evt.get(ID13.azure);
253
+ const item = evt.get(ID8.azure);
254
254
  if (!item)
255
255
  return;
256
256
  evt.add({
@@ -261,7 +261,7 @@ function make11(endpoints = {
261
261
  });
262
262
  yield* ctx.model.transform((models) => {
263
263
  for (const item of models.provider.list()) {
264
- if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
264
+ if (item.provider.id !== ID8.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
265
265
  continue;
266
266
  const resourceName = resourceFor(item.provider);
267
267
  for (const model of models.list(item.provider.id)) {
@@ -273,20 +273,20 @@ function make11(endpoints = {
273
273
  }
274
274
  if (!loaded.deployments)
275
275
  return;
276
- const catalog = models.list(ID13.azure);
276
+ const catalog = models.list(ID8.azure);
277
277
  const deployed = deployedModels(loaded.deployments, catalog);
278
278
  for (const model of catalog) {
279
279
  if (!deployed.has(model.id))
280
- models.remove(ID13.azure, model.id);
280
+ models.remove(ID8.azure, model.id);
281
281
  }
282
282
  for (const [id, model] of deployed) {
283
- models.update(ID13.azure, id, (draft) => Object.assign(draft, model));
283
+ models.update(ID8.azure, id, (draft) => Object.assign(draft, model));
284
284
  }
285
285
  });
286
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
286
+ yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
287
287
  yield* refresh().pipe(Effect.forkScoped);
288
288
  const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
289
- const connection = yield* ctx.integration.connection.active(ID13.azure);
289
+ const connection = yield* ctx.integration.connection.active(ID8.azure);
290
290
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
291
291
  return;
292
292
  })) : undefined;
@@ -298,7 +298,7 @@ function make11(endpoints = {
298
298
  return `Bearer ${current.access}`;
299
299
  });
300
300
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
301
- if (evt.model.providerID !== ID13.azure)
301
+ if (evt.model.providerID !== ID8.azure)
302
302
  return;
303
303
  const authorization = yield* bearer(evt.request.url);
304
304
  if (!authorization)
@@ -307,9 +307,9 @@ function make11(endpoints = {
307
307
  evt.request.headers.delete("x-api-key");
308
308
  evt.request.headers.set("authorization", authorization);
309
309
  evt.request.headers.set("user-agent", useragent2(ctx.app));
310
- }), { providerID: ID13.azure });
310
+ }), { providerID: ID8.azure });
311
311
  yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
312
- if (evt.model.providerID !== ID13.azure)
312
+ if (evt.model.providerID !== ID8.azure)
313
313
  return;
314
314
  const authorization = yield* bearer(evt.url);
315
315
  if (!authorization)
@@ -318,11 +318,11 @@ function make11(endpoints = {
318
318
  delete evt.headers["x-api-key"];
319
319
  evt.headers.authorization = authorization;
320
320
  evt.headers["user-agent"] = useragent2(ctx.app);
321
- }), { providerID: ID13.azure });
321
+ }), { providerID: ID8.azure });
322
322
  })
323
323
  });
324
324
  }
325
- var AzurePlugin2 = make11();
325
+ var AzurePlugin2 = make6();
326
326
  function resolveResourceName(settings, fallback) {
327
327
  const configured = settings?.resourceName;
328
328
  if (typeof configured === "string" && configured.trim() !== "")
@@ -352,11 +352,11 @@ function deployedModels(deployments, catalog) {
352
352
  const model = catalogModel(models, deployment);
353
353
  if (!model)
354
354
  return [];
355
- const id = ID12.make(deployment.name.toLowerCase());
355
+ const id = ID7.make(deployment.name.toLowerCase());
356
356
  const info = {
357
357
  ...structuredClone(model),
358
358
  id,
359
- modelID: ID12.make(deployment.name),
359
+ modelID: ID7.make(deployment.name),
360
360
  name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
361
361
  };
362
362
  return [[id, info]];
@@ -378,4 +378,4 @@ function responsesWebSocketCapable(provider) {
378
378
  return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
379
379
  }
380
380
 
381
- export { make11, AzurePlugin2 };
381
+ export { make6, AzurePlugin2 };
@@ -2,7 +2,7 @@ import {
2
2
  SQLiteEffectPreparedQuery2,
3
3
  SQLiteEffectSession2,
4
4
  SQLiteEffectTransaction2
5
- } from "./repository-j2htzqze.js";
5
+ } from "./reference-2mq34jqw.js";
6
6
 
7
7
  // src/database/drizzle/effect-sqlite/session.ts
8
8
  import * as Context from "effect/Context";
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./repository-2a5m3afh.js";
3
+ } from "./reference-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./repository-z5v4ffb3.js";
6
+ } from "./reference-z5v4ffb3.js";
7
7
  import {
8
8
  Service78
9
- } from "./repository-w7a2abxy.js";
9
+ } from "./reference-r0xwa5b9.js";
10
10
  import {
11
- Service66
12
- } from "./repository-hkgfm0m5.js";
11
+ Service52
12
+ } from "./reference-v9bgj935.js";
13
13
  import {
14
- Service17
15
- } from "./repository-9mxexfbd.js";
14
+ Service28
15
+ } from "./reference-q3m1smny.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
20
  Entry2
21
- } from "./repository-vngdzw63.js";
21
+ } from "./reference-7rpx7sq4.js";
22
22
  import {
23
- Service56
24
- } from "./repository-5r637m3f.js";
23
+ Service73
24
+ } from "./reference-prryrcpd.js";
25
25
  import {
26
- Service19
27
- } from "./repository-zhwzkc0c.js";
26
+ Service13
27
+ } from "./reference-h6d45qjv.js";
28
28
  import {
29
29
  __export
30
- } from "./repository-9rqn6x4v.js";
30
+ } from "./reference-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/glob.ts
33
33
  var exports_glob = {};
34
34
  __export(exports_glob, {
35
35
  GlobTool: () => exports_glob,
36
- Input: () => Input5,
37
- Output: () => Output4,
38
- Plugin: () => Plugin5,
39
- name: () => name5,
36
+ Input: () => Input4,
37
+ Output: () => Output3,
38
+ Plugin: () => Plugin20,
39
+ name: () => name4,
40
40
  toModelContent: () => toModelContent2
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import path from "path";
45
- var name5 = "glob";
46
- var Input5 = Schema.Struct({
45
+ var name4 = "glob";
46
+ var Input4 = Schema.Struct({
47
47
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
48
48
  path: Schema.optionalKey(RelativePath2).annotate({
49
49
  description: "Directory to search. Defaults to the current working directory."
@@ -55,7 +55,7 @@ var Input5 = Schema.Struct({
55
55
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
56
56
  })
57
57
  });
58
- var Output4 = Schema.Array(Entry2);
58
+ var Output3 = Schema.Array(Entry2);
59
59
  var toModelContent2 = (entries, truncated = false) => {
60
60
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
61
61
  if (truncated)
@@ -63,27 +63,27 @@ var toModelContent2 = (entries, truncated = false) => {
63
63
  return lines.join(`
64
64
  `);
65
65
  };
66
- var Plugin5 = {
66
+ var Plugin20 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service66;
70
- const ripgrep = yield* Service17;
69
+ const environment = yield* Service52;
70
+ const ripgrep = yield* Service28;
71
71
  const location = yield* Service78;
72
- const access = yield* Service19;
73
- const permission = yield* Service56;
72
+ const access = yield* Service13;
73
+ const permission = yield* Service73;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
- name: name5,
75
+ name: name4,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
- input: Input5,
79
- output: Output4,
78
+ input: Input4,
79
+ output: Output3,
80
80
  execute: (input, context) => Effect.gen(function* () {
81
81
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
82
82
  const source = { type: "tool", messageID: context.messageID, id: context.id };
83
83
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
84
84
  yield* access.authorizeExternal([target], context);
85
85
  yield* permission.assert({
86
- action: name5,
86
+ action: name4,
87
87
  resources: [input.pattern],
88
88
  save: ["*"],
89
89
  metadata: {
@@ -125,4 +125,4 @@ var Plugin5 = {
125
125
  })
126
126
  };
127
127
 
128
- export { name5, Input5, Output4, toModelContent2, Plugin5, exports_glob };
128
+ export { name4, Input4, Output3, toModelContent2, Plugin20, exports_glob };
@@ -1,12 +1,12 @@
1
1
  import {
2
- Service79
3
- } from "./repository-7z6z4pna.js";
2
+ Service71
3
+ } from "./reference-f3bkb0dd.js";
4
4
  import {
5
- Service56
6
- } from "./repository-5r637m3f.js";
5
+ Service73
6
+ } from "./reference-prryrcpd.js";
7
7
  import {
8
8
  __export
9
- } from "./repository-9rqn6x4v.js";
9
+ } from "./reference-9rqn6x4v.js";
10
10
 
11
11
  // src/tool/plugin/question.ts
12
12
  var exports_question = {};
@@ -17,13 +17,13 @@ __export(exports_question, {
17
17
  Plugin: () => Plugin50,
18
18
  QuestionTool: () => exports_question,
19
19
  description: () => description6,
20
- name: () => name13,
20
+ name: () => name14,
21
21
  toModelContent: () => toModelContent7
22
22
  });
23
23
  import { ToolFailure } from "@opencode/ai";
24
24
  import { Effect, Schema } from "effect";
25
25
  import { Question } from "@opencode/schema/question";
26
- var name13 = "question";
26
+ var name14 = "question";
27
27
  var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
28
28
  1. Gather user preferences or requirements
29
29
  2. Clarify ambiguous instructions
@@ -53,10 +53,10 @@ var toModelContent7 = (questions, answers) => {
53
53
  var Plugin50 = {
54
54
  id: "opencode.tool.question",
55
55
  effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
56
- const forms = yield* Service79;
57
- const permission = yield* Service56;
56
+ const forms = yield* Service71;
57
+ const permission = yield* Service73;
58
58
  yield* ctx.tool.transform((editor) => editor.add({
59
- name: name13,
59
+ name: name14,
60
60
  options: { codemode: false },
61
61
  description: description6,
62
62
  input: Input14,
@@ -117,4 +117,4 @@ function toField(question, index) {
117
117
  };
118
118
  }
119
119
 
120
- export { name13, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
120
+ export { name14, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  OAuth3
3
- } from "./repository-5ng375bv.js";
3
+ } from "./reference-9edtgxtv.js";
4
4
  import {
5
- ID14,
5
+ ID9,
6
6
  MethodID2
7
- } from "./repository-mfct962c.js";
7
+ } from "./reference-jnrqkn6c.js";
8
8
  import {
9
9
  success2,
10
10
  error2
11
- } from "./repository-pjvnvgmy.js";
11
+ } from "./reference-pjvnvgmy.js";
12
12
 
13
13
  // src/plugin/provider/poe.ts
14
14
  import { define } from "@opencode/plugin/effect/plugin";
15
15
  import { Clock, Deferred, Effect, Option, Schema } from "effect";
16
16
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
17
- var integrationID = ID14.make("poe");
17
+ var integrationID = ID9.make("poe");
18
18
  var methodID = MethodID2.make("browser");
19
19
  var clientID = "client_728290227fc048cc9262091a1ea197ea";
20
20
  var issuer = "https://poe.com";