@opencode/core 0.0.0-dev-20439 → 0.0.0-dev-20440

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 (797) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{variant-qvf13fnr.js → location-03qkt8xx.js} +11 -11
  8. package/dist/chunks/{variant-q0xm7vwc.js → location-0j77ygfz.js} +6 -6
  9. package/dist/chunks/{variant-25a4t902.js → location-0p1ba10h.js} +18 -18
  10. package/dist/chunks/{variant-0paq2nw3.js → location-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{variant-k86ryq5x.js → location-0q7vd0e7.js} +14 -14
  12. package/dist/chunks/{variant-c73eachg.js → location-0qyf8xfc.js} +6 -6
  13. package/dist/chunks/{variant-50bj4n03.js → location-0sprneqr.js} +22 -22
  14. package/dist/chunks/{variant-0vbcp93d.js → location-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{variant-v54kchrq.js → location-12g5858n.js} +11 -11
  16. package/dist/chunks/{variant-weg9ntdf.js → location-1645hs46.js} +9 -9
  17. package/dist/chunks/{variant-kqsbn90b.js → location-16hw9d12.js} +48 -48
  18. package/dist/chunks/{variant-1acjjqhc.js → location-1acjjqhc.js} +1 -1
  19. package/dist/chunks/{variant-p6wxjpka.js → location-1b4m0bzf.js} +4 -4
  20. package/dist/chunks/{variant-517vs525.js → location-1dangqhw.js} +8 -8
  21. package/dist/chunks/{variant-1dazxqgg.js → location-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{variant-1dvck2a7.js → location-1dvck2a7.js} +2 -2
  23. package/dist/chunks/{variant-07q3v8ms.js → location-1gb3jw67.js} +37 -37
  24. package/dist/chunks/{variant-6szg9m6g.js → location-1tdzqxb9.js} +28 -28
  25. package/dist/chunks/{variant-1f3k22r2.js → location-1w9zpvw0.js} +11 -11
  26. package/dist/chunks/{variant-yy9wtzs9.js → location-1zd5t2vq.js} +25 -25
  27. package/dist/chunks/{variant-tk612nqt.js → location-217k1aq0.js} +5 -5
  28. package/dist/chunks/{variant-21r38tys.js → location-21r38tys.js} +1 -1
  29. package/dist/chunks/{variant-tdjsa322.js → location-22kmp0xz.js} +27 -27
  30. package/dist/chunks/{variant-yf6pnrx7.js → location-23z2s8ty.js} +34 -34
  31. package/dist/chunks/{variant-fvxg17y2.js → location-256nx13v.js} +3 -3
  32. package/dist/chunks/{variant-2a5m3afh.js → location-2a5m3afh.js} +1 -1
  33. package/dist/chunks/{variant-2v8pqagd.js → location-2aqr678w.js} +330 -330
  34. package/dist/chunks/{variant-4ts7tf6z.js → location-2ccvkpx1.js} +2 -2
  35. package/dist/chunks/{variant-ajwerf3h.js → location-2tcky1mt.js} +8 -8
  36. package/dist/chunks/{variant-y6kgs8hj.js → location-3124xjv5.js} +5 -5
  37. package/dist/chunks/{variant-hekxc47r.js → location-325sge2s.js} +1 -1
  38. package/dist/chunks/{variant-mfqp6xfm.js → location-33w4ejhs.js} +9 -9
  39. package/dist/chunks/{variant-p0b4ytnr.js → location-35agz59w.js} +6 -6
  40. package/dist/chunks/{variant-3fc6dm20.js → location-3fc6dm20.js} +1 -1
  41. package/dist/chunks/{variant-f3sqmsb9.js → location-3fm26c60.js} +15 -15
  42. package/dist/chunks/{variant-3hepkmqq.js → location-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{variant-3smtnn6g.js → location-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{variant-3tvqynh2.js → location-3tvqynh2.js} +1 -1
  45. package/dist/chunks/{variant-3zsf4n22.js → location-3zsf4n22.js} +1 -1
  46. package/dist/chunks/{variant-xjza7kx6.js → location-42by9dkz.js} +11 -11
  47. package/dist/chunks/{variant-6nd6aznx.js → location-4aqnkmwy.js} +23 -23
  48. package/dist/chunks/{variant-pcxghkgz.js → location-4eq8w0dz.js} +4 -4
  49. package/dist/chunks/{variant-16w9ecqz.js → location-4r508d4e.js} +11 -11
  50. package/dist/chunks/{variant-g0cknp2d.js → location-4s3tpmrn.js} +13 -13
  51. package/dist/chunks/{variant-z4ym9awj.js → location-4x12h4qm.js} +46 -46
  52. package/dist/chunks/{variant-cann05ez.js → location-4yp603wd.js} +42 -42
  53. package/dist/chunks/{variant-aacyrw2e.js → location-56pbwxwa.js} +33 -33
  54. package/dist/chunks/{variant-5daktx2q.js → location-5daktx2q.js} +1 -1
  55. package/dist/chunks/{variant-5t3nmthw.js → location-5t3nmthw.js} +2 -2
  56. package/dist/chunks/{variant-a72r2k07.js → location-5y599e6r.js} +17 -17
  57. package/dist/chunks/{variant-669tq793.js → location-669tq793.js} +1 -1
  58. package/dist/chunks/{variant-tfwvc9sw.js → location-67dtadj1.js} +5 -5
  59. package/dist/chunks/{variant-8j08zm4r.js → location-68kk42m8.js} +16 -16
  60. package/dist/chunks/{variant-tkx9gh3c.js → location-6dcrc66s.js} +9 -9
  61. package/dist/chunks/{variant-c0yg3yaa.js → location-6f7g1gep.js} +27 -27
  62. package/dist/chunks/{variant-svb96c7g.js → location-6hjx5zpb.js} +9 -9
  63. package/dist/chunks/{variant-41czef58.js → location-6rm5yzkt.js} +4 -4
  64. package/dist/chunks/{variant-6qmtfge3.js → location-6tp2e4nh.js} +14 -14
  65. package/dist/chunks/{variant-g8pm3x4z.js → location-6wpq4p86.js} +21 -21
  66. package/dist/chunks/{variant-3kcc9g8w.js → location-6yzh683s.js} +23 -23
  67. package/dist/chunks/{variant-zw6qz0tx.js → location-6z9mwsmt.js} +24 -24
  68. package/dist/chunks/{variant-71az546q.js → location-71az546q.js} +2 -2
  69. package/dist/chunks/{variant-vskqw7qy.js → location-75djp3vm.js} +29 -29
  70. package/dist/chunks/{variant-7bmhse3q.js → location-7bmhse3q.js} +1 -1
  71. package/dist/chunks/{variant-2k8khapm.js → location-7dqw4kz8.js} +5 -5
  72. package/dist/chunks/location-7fj5dwt0.js +18 -0
  73. package/dist/chunks/{variant-0g91z8as.js → location-7kxjkgp1.js} +12 -12
  74. package/dist/chunks/{variant-vj9qpvrk.js → location-7n68x724.js} +3 -3
  75. package/dist/chunks/{variant-0z8vjex2.js → location-7sd9q442.js} +9 -9
  76. package/dist/chunks/{variant-y6mhz57t.js → location-80scg3y3.js} +4 -4
  77. package/dist/chunks/{variant-hry7yjep.js → location-813cbmj3.js} +20 -20
  78. package/dist/chunks/{variant-84txncab.js → location-84txncab.js} +1 -1
  79. package/dist/chunks/{variant-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
  80. package/dist/chunks/{variant-14v92p14.js → location-8eh0rnbq.js} +23 -23
  81. package/dist/chunks/{variant-z2zv94aj.js → location-8nzm4pg7.js} +31 -31
  82. package/dist/chunks/{variant-fd4k4kgm.js → location-8py83gfk.js} +5 -5
  83. package/dist/chunks/{variant-b53k4bdr.js → location-8t7qd4rg.js} +26 -26
  84. package/dist/chunks/{variant-5bgh4dzz.js → location-8wc3wjta.js} +8 -8
  85. package/dist/chunks/{variant-mc5axvaa.js → location-90qvvky9.js} +4 -4
  86. package/dist/chunks/{variant-rpnewtr1.js → location-90zqzmt2.js} +35 -35
  87. package/dist/chunks/{variant-c0d2pnej.js → location-992hz17m.js} +27 -27
  88. package/dist/chunks/{variant-t89fqycx.js → location-9c3np669.js} +8 -8
  89. package/dist/chunks/{variant-7r87hsp1.js → location-9d02ejc3.js} +13 -13
  90. package/dist/chunks/{variant-9e5bzkjp.js → location-9e5bzkjp.js} +3 -3
  91. package/dist/chunks/{variant-5xesbvpt.js → location-9xg80nvy.js} +10 -10
  92. package/dist/chunks/{variant-8kq48qmj.js → location-9yc87yg7.js} +11 -11
  93. package/dist/chunks/{variant-px5nxgea.js → location-a1w0edtg.js} +7 -7
  94. package/dist/chunks/{variant-gr8khd20.js → location-a5kvvdnp.js} +20 -20
  95. package/dist/chunks/{variant-w3jg838k.js → location-a881zpfh.js} +9 -9
  96. package/dist/chunks/{variant-aaet6srn.js → location-aaet6srn.js} +2 -2
  97. package/dist/chunks/{variant-xeav5w26.js → location-adxtbyr6.js} +8 -8
  98. package/dist/chunks/{variant-1hzkdvcb.js → location-af43y7nd.js} +26 -26
  99. package/dist/chunks/{variant-398qtpyw.js → location-ag8xxyx6.js} +16 -16
  100. package/dist/chunks/{variant-mzseknbn.js → location-ank5f68a.js} +9 -9
  101. package/dist/chunks/{variant-vxmbdp5g.js → location-apg4zytr.js} +2 -2
  102. package/dist/chunks/{variant-mkfpjzad.js → location-asbmekhj.js} +15 -15
  103. package/dist/chunks/{variant-scgrse2b.js → location-b3f8fkhc.js} +5 -5
  104. package/dist/chunks/{variant-b6gygkdw.js → location-b6gygkdw.js} +2 -2
  105. package/dist/chunks/{variant-bcrgek8j.js → location-b86tfdzm.js} +11 -11
  106. package/dist/chunks/{variant-skgznvtr.js → location-b9rwv01j.js} +12 -12
  107. package/dist/chunks/{variant-9tcgwzn8.js → location-bnd5ydr3.js} +23 -23
  108. package/dist/chunks/{variant-ynpe6tcd.js → location-c0ke6nr1.js} +12 -12
  109. package/dist/chunks/{variant-vtfaj6fm.js → location-c1rz9jmh.js} +5 -5
  110. package/dist/chunks/{variant-zkr7fetz.js → location-cjvftz2e.js} +20 -20
  111. package/dist/chunks/{variant-cwa6csj7.js → location-cwa6csj7.js} +2 -2
  112. package/dist/chunks/{variant-wtas89nq.js → location-czb31bpy.js} +16 -16
  113. package/dist/chunks/{variant-qkn9jtjt.js → location-d74mdtkm.js} +11 -11
  114. package/dist/chunks/{variant-t2kw1cd0.js → location-d75b88se.js} +11 -11
  115. package/dist/chunks/{variant-shp9g25n.js → location-d8jzy0c0.js} +6 -6
  116. package/dist/chunks/{variant-cx4dwxh6.js → location-da6w1prp.js} +30 -30
  117. package/dist/chunks/{variant-dfe8djrf.js → location-dfe8djrf.js} +1 -1
  118. package/dist/chunks/{variant-ctmr8zqa.js → location-dhmh7aw6.js} +4 -4
  119. package/dist/chunks/{variant-32grcv6n.js → location-dmxvvwbd.js} +3 -3
  120. package/dist/chunks/{variant-5w4kbhzj.js → location-dnpvkg52.js} +36 -36
  121. package/dist/chunks/{variant-srjtz9mv.js → location-dqx71bew.js} +36 -36
  122. package/dist/chunks/{variant-9hwaqfsw.js → location-dsr2y3g9.js} +5 -5
  123. package/dist/chunks/{variant-m6pcnaq2.js → location-dx6krq16.js} +20 -20
  124. package/dist/chunks/{variant-8arhm12g.js → location-e1wndh8r.js} +24 -24
  125. package/dist/chunks/{variant-hfgwpwpp.js → location-e241tn6m.js} +9 -9
  126. package/dist/chunks/{variant-5qd3pb7m.js → location-e3qxr5gk.js} +2 -2
  127. package/dist/chunks/{variant-cjg42c8t.js → location-e6cr48re.js} +29 -29
  128. package/dist/chunks/{variant-xzrre6xp.js → location-e6hkw39t.js} +4 -4
  129. package/dist/chunks/{variant-ef5x83kb.js → location-ef5x83kb.js} +1 -1
  130. package/dist/chunks/{variant-q6gppffy.js → location-eg94g7be.js} +22 -22
  131. package/dist/chunks/{variant-vcgjavzm.js → location-em2dyr67.js} +15 -15
  132. package/dist/chunks/{variant-7ph72h93.js → location-emg0brma.js} +16 -16
  133. package/dist/chunks/{variant-c2cehf6b.js → location-emwyyrd1.js} +7 -7
  134. package/dist/chunks/{variant-z01wj9c4.js → location-enwhk1j2.js} +18 -18
  135. package/dist/chunks/{variant-a1gpj94z.js → location-eq1pz5kg.js} +3 -3
  136. package/dist/chunks/{variant-kpbb4v73.js → location-eq65txyb.js} +19 -19
  137. package/dist/chunks/{variant-p4zjnn1b.js → location-etf6549t.js} +32 -32
  138. package/dist/chunks/{variant-etq0c3wd.js → location-etq0c3wd.js} +1 -1
  139. package/dist/chunks/{variant-1qrvjt31.js → location-extssn6f.js} +18 -18
  140. package/dist/chunks/{variant-8vtqv0ab.js → location-f3zzdq7f.js} +33 -33
  141. package/dist/chunks/{variant-xs9h3ep0.js → location-f94a1y6m.js} +38 -38
  142. package/dist/chunks/{variant-jh4mddbt.js → location-f9nqsp9x.js} +14 -14
  143. package/dist/chunks/{variant-xrsga2b8.js → location-fy4vq0cf.js} +32 -32
  144. package/dist/chunks/{variant-p37cw4rj.js → location-g0445xdp.js} +8 -8
  145. package/dist/chunks/{variant-vxby77fw.js → location-g1sxm558.js} +8 -8
  146. package/dist/chunks/{variant-m359rxbq.js → location-g60b13bx.js} +24 -24
  147. package/dist/chunks/{variant-xzfnxand.js → location-gb1t5ear.js} +22 -22
  148. package/dist/chunks/{variant-gd4qta3r.js → location-gd4qta3r.js} +1 -1
  149. package/dist/chunks/{variant-djsestcq.js → location-ge91jyf8.js} +33 -33
  150. package/dist/chunks/{variant-n8sna2wb.js → location-gh5z95q3.js} +9 -9
  151. package/dist/chunks/{variant-pp48bh1f.js → location-gp6frtdn.js} +185 -185
  152. package/dist/chunks/{variant-84gad1zv.js → location-gpnawc23.js} +12 -12
  153. package/dist/chunks/{variant-x8a719yx.js → location-gxp16drv.js} +13 -13
  154. package/dist/chunks/{variant-h2b79v29.js → location-h2b79v29.js} +2 -2
  155. package/dist/chunks/{variant-10cxjgch.js → location-h5je9f4x.js} +5 -5
  156. package/dist/chunks/{variant-qfb0b5c2.js → location-h6jz5xhf.js} +1 -1
  157. package/dist/chunks/{variant-h6vf3j39.js → location-h6vf3j39.js} +1 -1
  158. package/dist/chunks/{variant-wh6zw745.js → location-h83xjv7f.js} +5 -5
  159. package/dist/chunks/{variant-eymke9sh.js → location-h9phamz0.js} +2 -2
  160. package/dist/chunks/{variant-32jztgwf.js → location-hc3dhjeq.js} +23 -23
  161. package/dist/chunks/{variant-6xwnd5n0.js → location-hfx60ehd.js} +54 -54
  162. package/dist/chunks/{variant-abp7q8sa.js → location-hpa0c1fz.js} +5 -5
  163. package/dist/chunks/{variant-4k5wkrh9.js → location-j2fqgjg4.js} +33 -33
  164. package/dist/chunks/{variant-j56e64zr.js → location-j56e64zr.js} +1 -1
  165. package/dist/chunks/{variant-9gn2e1q5.js → location-j8pqfbxb.js} +63 -63
  166. package/dist/chunks/{variant-pfj2krk7.js → location-jcbq1zyg.js} +15 -15
  167. package/dist/chunks/{variant-tdpndm1c.js → location-jgttmm4a.js} +5 -5
  168. package/dist/chunks/{variant-py3kkmfq.js → location-jktqzjpa.js} +8 -8
  169. package/dist/chunks/{variant-fhw597r0.js → location-jss687sr.js} +14 -14
  170. package/dist/chunks/{variant-17bspyb1.js → location-jtqztzh3.js} +50 -50
  171. package/dist/chunks/{variant-p226k876.js → location-jzhw4a2s.js} +6 -6
  172. package/dist/chunks/{variant-fqj9nv8j.js → location-k5m0fz1p.js} +6 -6
  173. package/dist/chunks/{variant-qr0tztqq.js → location-k6z6f32a.js} +36 -36
  174. package/dist/chunks/{variant-3v5tjer0.js → location-kgh2b2bb.js} +7 -7
  175. package/dist/chunks/{variant-396xe5we.js → location-kgxa73cw.js} +3 -3
  176. package/dist/chunks/{variant-7cx9cvsh.js → location-kj77vvpy.js} +1 -1
  177. package/dist/chunks/{variant-atg4dcqk.js → location-kqz56n1q.js} +4 -4
  178. package/dist/chunks/{variant-19wa5dg2.js → location-krj0eg2e.js} +6 -6
  179. package/dist/chunks/{variant-g1r7w4ks.js → location-krndrss9.js} +4 -4
  180. package/dist/chunks/{variant-dmsv4044.js → location-kxccgd9w.js} +22 -22
  181. package/dist/chunks/{variant-m3fdjcah.js → location-m3fdjcah.js} +1 -1
  182. package/dist/chunks/{variant-94svnpff.js → location-m8jsr5mr.js} +5 -5
  183. package/dist/chunks/{variant-qdp2stk8.js → location-m9gf3t53.js} +15 -15
  184. package/dist/chunks/{variant-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
  185. package/dist/chunks/{variant-kyd65svd.js → location-m9xh08tq.js} +27 -27
  186. package/dist/chunks/{variant-mazbtkaa.js → location-mazbtkaa.js} +2 -2
  187. package/dist/chunks/{variant-2y89dd9a.js → location-mb00kzbv.js} +15 -15
  188. package/dist/chunks/{variant-zfyd4z1t.js → location-mmawpaae.js} +11 -11
  189. package/dist/chunks/{variant-ypqp8gqh.js → location-mmd0gw8c.js} +28 -28
  190. package/dist/chunks/{variant-addxnjmp.js → location-mpk0rfs5.js} +4 -4
  191. package/dist/chunks/{variant-7wdw4sn7.js → location-mqjsfeb3.js} +16 -16
  192. package/dist/chunks/{variant-2g5mhw7z.js → location-mv09mkpd.js} +26 -26
  193. package/dist/chunks/{variant-trf9v1m0.js → location-netcfpy4.js} +10 -10
  194. package/dist/chunks/{variant-x9m4a9xf.js → location-nhb2zym4.js} +41 -41
  195. package/dist/chunks/{variant-hdtje8j6.js → location-nmpkdpqb.js} +9 -9
  196. package/dist/chunks/{variant-01n0fn3n.js → location-nn7fcnbv.js} +5 -5
  197. package/dist/chunks/{variant-6d98qxkn.js → location-np8489tv.js} +19 -19
  198. package/dist/chunks/{variant-pzw80991.js → location-npqbz8a8.js} +5 -5
  199. package/dist/chunks/{variant-ag3xtcd7.js → location-nqpfe4yw.js} +35 -35
  200. package/dist/chunks/{variant-baqpbr50.js → location-nsvjz0cs.js} +9 -9
  201. package/dist/chunks/{variant-fyqce8v0.js → location-nwephgj9.js} +13 -13
  202. package/dist/chunks/{variant-k3c624dm.js → location-nzks3jc8.js} +3 -3
  203. package/dist/chunks/location-p23xwksy.js +26 -0
  204. package/dist/chunks/{variant-18126dgn.js → location-p7stdnfg.js} +27 -27
  205. package/dist/chunks/{variant-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
  206. package/dist/chunks/{variant-e30mydyk.js → location-pjx5ckar.js} +12 -12
  207. package/dist/chunks/{variant-pknna89w.js → location-pknna89w.js} +1 -1
  208. package/dist/chunks/{variant-predqs4e.js → location-pvpsxjwk.js} +23 -23
  209. package/dist/chunks/{variant-t62k6cwy.js → location-pwqr2q9q.js} +18 -18
  210. package/dist/chunks/{variant-x7kbtnka.js → location-px1tv9jh.js} +12 -12
  211. package/dist/chunks/{variant-2fhv8f0b.js → location-q0bh82a3.js} +44 -44
  212. package/dist/chunks/{variant-brp8zeym.js → location-q5xvhvda.js} +6 -6
  213. package/dist/chunks/{variant-qnc92qwc.js → location-qnc92qwc.js} +1 -1
  214. package/dist/chunks/{variant-qsdy395h.js → location-qsdy395h.js} +1 -1
  215. package/dist/chunks/{variant-atm978tp.js → location-qtdzdy31.js} +15 -15
  216. package/dist/chunks/{variant-10zwexjt.js → location-qxjhtxm0.js} +18 -18
  217. package/dist/chunks/{variant-k844m94c.js → location-r083r3aj.js} +71 -71
  218. package/dist/chunks/location-r0x0b8pt.js +252 -0
  219. package/dist/chunks/{variant-qqtgdjgj.js → location-r21rr99m.js} +3 -3
  220. package/dist/chunks/{variant-vj7qk97t.js → location-r7bddz8h.js} +13 -13
  221. package/dist/chunks/{variant-54ma36ye.js → location-r94pvvab.js} +4 -4
  222. package/dist/chunks/{variant-rdw6cm16.js → location-rdw6cm16.js} +1 -1
  223. package/dist/chunks/{variant-1qfm3kg7.js → location-re14xf2b.js} +88 -88
  224. package/dist/chunks/{variant-v86rjf98.js → location-rfrg8xj3.js} +16 -16
  225. package/dist/chunks/{variant-pgbadr74.js → location-rpfnbr88.js} +9 -9
  226. package/dist/chunks/{variant-b9dr4ekr.js → location-rsc5nvjd.js} +22 -22
  227. package/dist/chunks/{variant-9jgd0g1z.js → location-ryq0szgz.js} +8 -8
  228. package/dist/chunks/{variant-eaj1djv9.js → location-s8d7rejh.js} +6 -6
  229. package/dist/chunks/{variant-0sep86pb.js → location-sm3wmrvw.js} +58 -58
  230. package/dist/chunks/{variant-9a5pyt9z.js → location-svhm0fyq.js} +4 -4
  231. package/dist/chunks/{variant-sf4zj9sn.js → location-sxchd0y6.js} +10 -10
  232. package/dist/chunks/{variant-367xe4pb.js → location-t09n1j92.js} +21 -21
  233. package/dist/chunks/{variant-vd86y6dk.js → location-t56z8npx.js} +17 -17
  234. package/dist/chunks/{variant-nz6s4zm9.js → location-t7h9p78s.js} +17 -17
  235. package/dist/chunks/{variant-awte1d78.js → location-t90zj35m.js} +36 -36
  236. package/dist/chunks/{variant-tazgh4e4.js → location-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{variant-2myva995.js → location-tcay1cqt.js} +6 -6
  238. package/dist/chunks/{variant-tcezcvh9.js → location-tcezcvh9.js} +1 -1
  239. package/dist/chunks/{variant-tdstcens.js → location-tdstcens.js} +1 -1
  240. package/dist/chunks/{variant-y1jyntcw.js → location-te5fms12.js} +42 -42
  241. package/dist/chunks/{variant-qd6m6a6s.js → location-thwpkt87.js} +20 -20
  242. package/dist/chunks/{variant-pmtnnnej.js → location-tmf6w2rh.js} +11 -11
  243. package/dist/chunks/{variant-49d935aw.js → location-tnd5nfdf.js} +6 -6
  244. package/dist/chunks/{variant-qkcvdzb0.js → location-tq5pwzt5.js} +15 -15
  245. package/dist/chunks/{variant-886x1de6.js → location-tqgzeth9.js} +29 -29
  246. package/dist/chunks/{variant-tvtrv512.js → location-tvtrv512.js} +1 -1
  247. package/dist/chunks/{variant-c5xf5z0j.js → location-tz3yymxp.js} +8 -8
  248. package/dist/chunks/{variant-3160htdx.js → location-v0c4n2cp.js} +5 -5
  249. package/dist/chunks/{variant-67h7xkhv.js → location-v79tvran.js} +23 -23
  250. package/dist/chunks/{variant-y0z8gwh2.js → location-vbzg75yf.js} +10 -10
  251. package/dist/chunks/{variant-d5fw341f.js → location-vemxbn5z.js} +18 -18
  252. package/dist/chunks/{variant-veqvce7d.js → location-veqvce7d.js} +1 -1
  253. package/dist/chunks/{variant-4erxxbbf.js → location-vg61vdbq.js} +35 -35
  254. package/dist/chunks/{variant-yt6cqe55.js → location-vj3r3k01.js} +11 -11
  255. package/dist/chunks/{variant-zc3c5803.js → location-vpkc3sbb.js} +35 -35
  256. package/dist/chunks/{variant-aj7xgpkt.js → location-vryj651x.js} +9 -9
  257. package/dist/chunks/{variant-dss9tgbb.js → location-vx27faas.js} +24 -24
  258. package/dist/chunks/{variant-vzcthcp8.js → location-vzcthcp8.js} +1 -1
  259. package/dist/chunks/{variant-vzs5sf6e.js → location-vzs5sf6e.js} +1 -1
  260. package/dist/chunks/{variant-xfkkasph.js → location-w19d8598.js} +5 -5
  261. package/dist/chunks/{variant-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
  262. package/dist/chunks/{variant-wd87259q.js → location-wd87259q.js} +1 -1
  263. package/dist/chunks/{variant-6abt9vd9.js → location-wkpd98kw.js} +13 -13
  264. package/dist/chunks/{variant-zxgz6j12.js → location-wnf0vmz9.js} +7 -7
  265. package/dist/chunks/{variant-75dbh3sm.js → location-wnn0w2aw.js} +26 -26
  266. package/dist/chunks/{variant-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
  267. package/dist/chunks/{variant-6hh8tjw2.js → location-xb02k0wq.js} +4 -4
  268. package/dist/chunks/{variant-g190xswt.js → location-xdk9p2qn.js} +21 -21
  269. package/dist/chunks/{variant-dmqcgk4z.js → location-xkntkrq7.js} +5 -5
  270. package/dist/chunks/{variant-28m0ec4d.js → location-xnvw6qay.js} +41 -41
  271. package/dist/chunks/{variant-ydr4sfaa.js → location-xq8mjgp9.js} +11 -11
  272. package/dist/chunks/{variant-qy1zqqd8.js → location-xqbw3ymd.js} +3 -3
  273. package/dist/chunks/{variant-97ch1fd3.js → location-xqsnpyss.js} +24 -24
  274. package/dist/chunks/{variant-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
  275. package/dist/chunks/{variant-tjx3ap9d.js → location-y4709w2r.js} +40 -40
  276. package/dist/chunks/{variant-fw852r6x.js → location-y5nkv4ac.js} +10 -10
  277. package/dist/chunks/{variant-nxm207yx.js → location-y71avatq.js} +4 -4
  278. package/dist/chunks/{variant-hfa8a3rd.js → location-y71hsdwf.js} +22 -22
  279. package/dist/chunks/{variant-5gd79jxb.js → location-y878aysx.js} +8 -8
  280. package/dist/chunks/{variant-qxz90s08.js → location-y8mggemk.js} +21 -21
  281. package/dist/chunks/{variant-1d10jwk2.js → location-yc68shpb.js} +13 -13
  282. package/dist/chunks/{variant-bq6v1dby.js → location-yenj50gr.js} +93 -93
  283. package/dist/chunks/{variant-reg6q42h.js → location-yq14pbr7.js} +5 -5
  284. package/dist/chunks/{variant-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
  285. package/dist/chunks/{variant-x1fg9w2t.js → location-ytkyka6t.js} +23 -23
  286. package/dist/chunks/{variant-mads3xza.js → location-yyg6k5dk.js} +12 -12
  287. package/dist/chunks/{variant-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
  288. package/dist/chunks/{variant-yqwyk71w.js → location-z7zmhm1c.js} +11 -11
  289. package/dist/chunks/{variant-jkvxnthz.js → location-zfs4r4te.js} +3 -3
  290. package/dist/chunks/{variant-pgsrtt9v.js → location-zfs8ae4p.js} +4 -4
  291. package/dist/chunks/{variant-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
  292. package/dist/chunks/{variant-1brx5qyk.js → location-zs1a0fk2.js} +37 -37
  293. package/dist/chunks/{variant-zxq2ej10.js → location-zxq2ej10.js} +1 -1
  294. package/dist/codemode/catalog.js +1 -1
  295. package/dist/codemode/instructions.js +11 -11
  296. package/dist/codemode/tool.js +3 -3
  297. package/dist/codemode/web.js +1 -1
  298. package/dist/command.js +81 -81
  299. package/dist/config/discovery.js +82 -82
  300. package/dist/config/markdown.js +1 -1
  301. package/dist/config/normalize.js +106 -106
  302. package/dist/config/plugin/agent.js +125 -125
  303. package/dist/config/plugin/command.js +215 -215
  304. package/dist/config/plugin/compaction.js +161 -161
  305. package/dist/config/plugin/compatibility.js +141 -141
  306. package/dist/config/plugin/entry-observer.js +1 -1
  307. package/dist/config/plugin/formatter.js +124 -124
  308. package/dist/config/plugin/image.js +123 -123
  309. package/dist/config/plugin/instruction.js +90 -90
  310. package/dist/config/plugin/location-watcher.js +123 -123
  311. package/dist/config/plugin/mcp.js +132 -132
  312. package/dist/config/plugin/policy.js +124 -124
  313. package/dist/config/plugin/provider.js +123 -123
  314. package/dist/config/plugin/reference.js +125 -125
  315. package/dist/config/plugin/shell.js +125 -125
  316. package/dist/config/plugin/skill-file.js +102 -102
  317. package/dist/config/plugin/skill.js +144 -144
  318. package/dist/config/plugin/snapshot.js +123 -123
  319. package/dist/config/plugin/source.js +126 -126
  320. package/dist/config/plugin/tool-output.js +125 -125
  321. package/dist/config/plugin/websearch.js +124 -124
  322. package/dist/config/plugin/worktree.js +125 -125
  323. package/dist/config/variable.js +3 -3
  324. package/dist/config/watch.js +1 -1
  325. package/dist/config.js +128 -128
  326. package/dist/credential/sql.js +2 -2
  327. package/dist/credential.js +85 -85
  328. package/dist/database/database.js +66 -66
  329. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  330. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  331. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  332. package/dist/database/drizzle/index.js +15 -15
  333. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  336. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  341. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  342. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  343. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  344. package/dist/database/drizzle.js +16 -16
  345. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  346. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  347. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  348. package/dist/database/migration/20260225215848_workspace.js +1 -1
  349. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  350. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  351. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  352. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  353. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  354. package/dist/database/migration/20260323234822_events.js +1 -1
  355. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  356. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  357. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  358. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  359. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  360. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  361. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  362. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  363. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  364. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  365. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  366. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  367. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  368. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  369. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  370. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  371. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  372. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  373. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  374. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  375. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  376. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  377. package/dist/database/migration/20260611035744_credential.js +1 -1
  378. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  379. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  380. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  381. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  382. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  383. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  384. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  385. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  386. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  387. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  388. package/dist/database/migration/20260812213948_worktree.js +1 -1
  389. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  390. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  391. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  392. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  393. package/dist/database/migration.gen.js +49 -49
  394. package/dist/database/migration.js +51 -51
  395. package/dist/database/path.js +2 -2
  396. package/dist/database/schema.gen.js +1 -1
  397. package/dist/database/schema.sql.js +1 -1
  398. package/dist/database/sqlite.bun.js +1 -1
  399. package/dist/database/sqlite.js +1 -1
  400. package/dist/database/sqlite.node.js +1 -1
  401. package/dist/database/sqlite.workerd.js +1 -1
  402. package/dist/database/v1-migration.bun.js +76 -76
  403. package/dist/database/v1-migration.js +1 -1
  404. package/dist/effect/app-node-builder.js +372 -372
  405. package/dist/effect/app-node-platform.js +2 -2
  406. package/dist/effect/keyed-mutex.js +3 -3
  407. package/dist/effect/websocket-constructor.js +1 -1
  408. package/dist/environment/driver.js +1 -1
  409. package/dist/environment/environment.js +93 -93
  410. package/dist/environment/exec-defaults.js +2 -2
  411. package/dist/environment/files.js +1 -1
  412. package/dist/environment/index.js +95 -95
  413. package/dist/environment/local.js +2 -2
  414. package/dist/environment/memory.js +2 -2
  415. package/dist/environment/unavailable.js +1 -1
  416. package/dist/event/sql.js +1 -1
  417. package/dist/event-logger.js +74 -74
  418. package/dist/file-access.js +104 -104
  419. package/dist/file-mutation.js +94 -94
  420. package/dist/file-retention.js +1 -1
  421. package/dist/filesystem/fff.bun.js +2 -2
  422. package/dist/filesystem/fff.js +1 -1
  423. package/dist/filesystem/fff.node.js +2 -2
  424. package/dist/filesystem/fff.workerd.js +2 -2
  425. package/dist/filesystem/location-watcher-policy.js +2 -2
  426. package/dist/filesystem/location-watcher.js +222 -222
  427. package/dist/filesystem/protected.js +1 -1
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +3 -3
  430. package/dist/filesystem/watcher.js +15 -15
  431. package/dist/filesystem.js +102 -102
  432. package/dist/form.js +84 -84
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +89 -89
  435. package/dist/generate.js +103 -103
  436. package/dist/git.js +10 -10
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +91 -91
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +363 -363
  461. package/dist/instruction-discovery.js +81 -81
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +3 -3
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +87 -87
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +135 -135
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-service-map.js +86 -86
  472. package/dist/location-services.js +360 -360
  473. package/dist/location.js +87 -87
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +109 -109
  477. package/dist/mcp/instructions.js +129 -129
  478. package/dist/mcp/oauth.js +78 -78
  479. package/dist/mcp/stdio.js +90 -90
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +91 -91
  482. package/dist/model-resolver.js +96 -96
  483. package/dist/model.js +100 -100
  484. package/dist/models-dev.js +107 -107
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +80 -80
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +117 -117
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +78 -78
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +75 -75
  494. package/dist/plugin/agent.js +104 -104
  495. package/dist/plugin/command.js +102 -102
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +219 -219
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +335 -335
  501. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  502. package/dist/plugin/models-dev.js +96 -96
  503. package/dist/plugin/module.js +5 -5
  504. package/dist/plugin/optimize.js +4 -4
  505. package/dist/plugin/plan.js +102 -102
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  508. package/dist/plugin/provider/azure.js +122 -122
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/chatgpt.js +93 -93
  511. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  512. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  513. package/dist/plugin/provider/cohere.js +2 -2
  514. package/dist/plugin/provider/configured.js +119 -119
  515. package/dist/plugin/provider/digitalocean.js +93 -93
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/gateway.js +2 -2
  519. package/dist/plugin/provider/github-copilot.js +95 -95
  520. package/dist/plugin/provider/gitlab.js +93 -93
  521. package/dist/plugin/provider/google-vertex.js +90 -90
  522. package/dist/plugin/provider/kilo.js +1 -1
  523. package/dist/plugin/provider/llmgateway.js +78 -78
  524. package/dist/plugin/provider/lmstudio.js +120 -120
  525. package/dist/plugin/provider/modal.js +92 -92
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +122 -122
  528. package/dist/plugin/provider/openai.js +95 -95
  529. package/dist/plugin/provider/opencode.js +96 -96
  530. package/dist/plugin/provider/openrouter.js +91 -91
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +79 -79
  533. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  534. package/dist/plugin/provider/sap-ai-core.js +91 -91
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  537. package/dist/plugin/provider/venice.js +2 -2
  538. package/dist/plugin/provider/vercel.js +90 -90
  539. package/dist/plugin/provider/vllm.js +122 -122
  540. package/dist/plugin/provider/xai.js +91 -91
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +163 -163
  543. package/dist/plugin/sdk.js +76 -76
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +139 -139
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +350 -350
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +86 -86
  551. package/dist/plugin/vcs/hg.js +86 -86
  552. package/dist/plugin/verbosity.js +93 -93
  553. package/dist/plugin/warming.js +121 -121
  554. package/dist/plugin/websearch/exa.js +5 -5
  555. package/dist/plugin/websearch/firecrawl.js +8 -8
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +6 -6
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +224 -224
  562. package/dist/project/schema.js +6 -6
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +88 -88
  565. package/dist/provider.js +101 -101
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +89 -89
  569. package/dist/reference/instructions.js +89 -89
  570. package/dist/reference.js +89 -89
  571. package/dist/repository-cache.js +81 -81
  572. package/dist/repository.js +1 -1
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +95 -95
  575. package/dist/rpc.js +86 -86
  576. package/dist/schema.js +1 -1
  577. package/dist/session/affinity.js +3 -3
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +135 -135
  580. package/dist/session/context.js +153 -153
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +7 -7
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +225 -225
  586. package/dist/session/execution.js +126 -126
  587. package/dist/session/generate.js +154 -154
  588. package/dist/session/history.js +15 -15
  589. package/dist/session/inbox.js +88 -88
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +79 -79
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +97 -97
  594. package/dist/session/message-updater.js +4 -4
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +120 -120
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +130 -130
  599. package/dist/session/projector.js +86 -86
  600. package/dist/session/prompt.js +105 -105
  601. package/dist/session/provider-context.js +3 -3
  602. package/dist/session/revert.js +90 -90
  603. package/dist/session/run-coordinator.js +1 -1
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +230 -230
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +98 -98
  608. package/dist/session/runner/publish-llm-event.js +113 -113
  609. package/dist/session/runner/retry.js +4 -4
  610. package/dist/session/runner/step.js +126 -126
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +172 -172
  614. package/dist/session/shell.js +138 -138
  615. package/dist/session/skill.js +105 -105
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +73 -73
  618. package/dist/session/store.js +85 -85
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +211 -211
  621. package/dist/session/system-prompt.js +3 -3
  622. package/dist/session/title.js +157 -157
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +221 -221
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +221 -221
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +13 -13
  631. package/dist/shell.js +140 -140
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +107 -107
  634. package/dist/skill.js +110 -110
  635. package/dist/snapshot.js +89 -89
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +128 -128
  640. package/dist/tool/plugin/edit.js +120 -120
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +124 -124
  643. package/dist/tool/plugin/grep.js +124 -124
  644. package/dist/tool/plugin/mcp-resource.js +117 -117
  645. package/dist/tool/plugin/opencode.js +3 -3
  646. package/dist/tool/plugin/patch.js +122 -122
  647. package/dist/tool/plugin/question.js +105 -105
  648. package/dist/tool/plugin/read.js +125 -125
  649. package/dist/tool/plugin/shell.js +214 -214
  650. package/dist/tool/plugin/skill.js +111 -111
  651. package/dist/tool/plugin/subagent.js +218 -218
  652. package/dist/tool/plugin/webfetch.js +112 -112
  653. package/dist/tool/plugin/websearch.js +114 -114
  654. package/dist/tool/plugin/write.js +120 -120
  655. package/dist/tool/read-filesystem.js +100 -100
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +8 -8
  658. package/dist/tool.js +12 -12
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/error.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/iife.js +1 -1
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +7 -7
  669. package/dist/v1/config/attachment.js +4 -4
  670. package/dist/v1/config/command.js +3 -3
  671. package/dist/v1/config/config.js +16 -16
  672. package/dist/v1/config/error.js +4 -4
  673. package/dist/v1/config/formatter.js +7 -7
  674. package/dist/v1/config/layout.js +1 -1
  675. package/dist/v1/config/lsp.js +5 -5
  676. package/dist/v1/config/mcp.js +4 -4
  677. package/dist/v1/config/migrate.js +92 -92
  678. package/dist/v1/config/permission.js +7 -7
  679. package/dist/v1/config/plugin.js +3 -3
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +4 -4
  682. package/dist/v1/config/server.js +2 -2
  683. package/dist/v1/config/skills.js +1 -1
  684. package/dist/variant.js +93 -93
  685. package/dist/vcs/patch.js +1 -1
  686. package/dist/vcs.js +89 -89
  687. package/dist/websearch.js +84 -84
  688. package/dist/wellknown/plugin.js +76 -76
  689. package/dist/wellknown.js +81 -81
  690. package/dist/workspace/driver.js +5 -5
  691. package/dist/workspace/sql.js +1 -1
  692. package/dist/workspace.js +80 -80
  693. package/dist/worktree/directory.js +2 -2
  694. package/dist/worktree/git.js +10 -10
  695. package/dist/worktree/sql.js +5 -5
  696. package/dist/worktree/strategies.js +89 -89
  697. package/dist/worktree.js +96 -96
  698. package/package.json +8 -8
  699. package/dist/chunks/variant-611kkatt.js +0 -252
  700. package/dist/chunks/variant-hgd4btym.js +0 -18
  701. package/dist/chunks/variant-w191f00y.js +0 -26
  702. /package/dist/chunks/{variant-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
  703. /package/dist/chunks/{variant-0zkw76rk.js → location-0zkw76rk.js} +0 -0
  704. /package/dist/chunks/{variant-17cy0kzp.js → location-17cy0kzp.js} +0 -0
  705. /package/dist/chunks/{variant-1cnp2v09.js → location-1cnp2v09.js} +0 -0
  706. /package/dist/chunks/{variant-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
  707. /package/dist/chunks/{variant-24dcb14g.js → location-24dcb14g.js} +0 -0
  708. /package/dist/chunks/{variant-2710q6r3.js → location-2710q6r3.js} +0 -0
  709. /package/dist/chunks/{variant-2axfhc9x.js → location-2axfhc9x.js} +0 -0
  710. /package/dist/chunks/{variant-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
  711. /package/dist/chunks/{variant-34c7v6d4.js → location-34c7v6d4.js} +0 -0
  712. /package/dist/chunks/{variant-359p4xyc.js → location-359p4xyc.js} +0 -0
  713. /package/dist/chunks/{variant-3asan66x.js → location-3asan66x.js} +0 -0
  714. /package/dist/chunks/{variant-3v8g72cx.js → location-3v8g72cx.js} +0 -0
  715. /package/dist/chunks/{variant-3w5fmr99.js → location-3w5fmr99.js} +0 -0
  716. /package/dist/chunks/{variant-3wcehsnq.js → location-3wcehsnq.js} +0 -0
  717. /package/dist/chunks/{variant-43n2bw4t.js → location-43n2bw4t.js} +0 -0
  718. /package/dist/chunks/{variant-4knz6hnm.js → location-4knz6hnm.js} +0 -0
  719. /package/dist/chunks/{variant-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
  720. /package/dist/chunks/{variant-4y7fprxs.js → location-4y7fprxs.js} +0 -0
  721. /package/dist/chunks/{variant-53557ph1.js → location-53557ph1.js} +0 -0
  722. /package/dist/chunks/{variant-550bvhaj.js → location-550bvhaj.js} +0 -0
  723. /package/dist/chunks/{variant-6prwharc.js → location-6prwharc.js} +0 -0
  724. /package/dist/chunks/{variant-7akdwqpd.js → location-7akdwqpd.js} +0 -0
  725. /package/dist/chunks/{variant-7m9af43g.js → location-7m9af43g.js} +0 -0
  726. /package/dist/chunks/{variant-822emrt2.js → location-822emrt2.js} +0 -0
  727. /package/dist/chunks/{variant-88xbtdfr.js → location-88xbtdfr.js} +0 -0
  728. /package/dist/chunks/{variant-8n3pysct.js → location-8n3pysct.js} +0 -0
  729. /package/dist/chunks/{variant-8wj87zfr.js → location-8wj87zfr.js} +0 -0
  730. /package/dist/chunks/{variant-9a4afbnw.js → location-9a4afbnw.js} +0 -0
  731. /package/dist/chunks/{variant-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
  732. /package/dist/chunks/{variant-a6k6eb26.js → location-a6k6eb26.js} +0 -0
  733. /package/dist/chunks/{variant-af5trqkr.js → location-af5trqkr.js} +0 -0
  734. /package/dist/chunks/{variant-afrmfg78.js → location-afrmfg78.js} +0 -0
  735. /package/dist/chunks/{variant-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
  736. /package/dist/chunks/{variant-atq7p7m5.js → location-atq7p7m5.js} +0 -0
  737. /package/dist/chunks/{variant-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
  738. /package/dist/chunks/{variant-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
  739. /package/dist/chunks/{variant-cf4snx6d.js → location-cf4snx6d.js} +0 -0
  740. /package/dist/chunks/{variant-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
  741. /package/dist/chunks/{variant-d9fn303g.js → location-d9fn303g.js} +0 -0
  742. /package/dist/chunks/{variant-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
  743. /package/dist/chunks/{variant-dajrwvna.js → location-dajrwvna.js} +0 -0
  744. /package/dist/chunks/{variant-dap0rakb.js → location-dap0rakb.js} +0 -0
  745. /package/dist/chunks/{variant-df08tz66.js → location-df08tz66.js} +0 -0
  746. /package/dist/chunks/{variant-dy18nga0.js → location-dy18nga0.js} +0 -0
  747. /package/dist/chunks/{variant-e5kj55wp.js → location-e5kj55wp.js} +0 -0
  748. /package/dist/chunks/{variant-e73j6tqm.js → location-e73j6tqm.js} +0 -0
  749. /package/dist/chunks/{variant-ec1grn59.js → location-ec1grn59.js} +0 -0
  750. /package/dist/chunks/{variant-eh3zwz77.js → location-eh3zwz77.js} +0 -0
  751. /package/dist/chunks/{variant-emrn6kk6.js → location-emrn6kk6.js} +0 -0
  752. /package/dist/chunks/{variant-f0mxakyp.js → location-f0mxakyp.js} +0 -0
  753. /package/dist/chunks/{variant-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
  754. /package/dist/chunks/{variant-faypxj3z.js → location-faypxj3z.js} +0 -0
  755. /package/dist/chunks/{variant-fd410y7t.js → location-fd410y7t.js} +0 -0
  756. /package/dist/chunks/{variant-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
  757. /package/dist/chunks/{variant-g4wezp1m.js → location-g4wezp1m.js} +0 -0
  758. /package/dist/chunks/{variant-g86h250q.js → location-g86h250q.js} +0 -0
  759. /package/dist/chunks/{variant-gebd4c9n.js → location-gebd4c9n.js} +0 -0
  760. /package/dist/chunks/{variant-gftt206x.js → location-gftt206x.js} +0 -0
  761. /package/dist/chunks/{variant-hjbc5kem.js → location-hjbc5kem.js} +0 -0
  762. /package/dist/chunks/{variant-hk9envan.js → location-hk9envan.js} +0 -0
  763. /package/dist/chunks/{variant-j2ntwpah.js → location-j2ntwpah.js} +0 -0
  764. /package/dist/chunks/{variant-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
  765. /package/dist/chunks/{variant-jjkms2e6.js → location-jjkms2e6.js} +0 -0
  766. /package/dist/chunks/{variant-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
  767. /package/dist/chunks/{variant-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
  768. /package/dist/chunks/{variant-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
  769. /package/dist/chunks/{variant-mp448xyj.js → location-mp448xyj.js} +0 -0
  770. /package/dist/chunks/{variant-msx8hqn2.js → location-msx8hqn2.js} +0 -0
  771. /package/dist/chunks/{variant-n05xt0ee.js → location-n05xt0ee.js} +0 -0
  772. /package/dist/chunks/{variant-n3j8tn72.js → location-n3j8tn72.js} +0 -0
  773. /package/dist/chunks/{variant-njntx4h6.js → location-njntx4h6.js} +0 -0
  774. /package/dist/chunks/{variant-q3sfg36h.js → location-q3sfg36h.js} +0 -0
  775. /package/dist/chunks/{variant-q74kybfr.js → location-q74kybfr.js} +0 -0
  776. /package/dist/chunks/{variant-qaymkmh1.js → location-qaymkmh1.js} +0 -0
  777. /package/dist/chunks/{variant-qb87gjwd.js → location-qb87gjwd.js} +0 -0
  778. /package/dist/chunks/{variant-qfa1cgps.js → location-qfa1cgps.js} +0 -0
  779. /package/dist/chunks/{variant-qg3g05ea.js → location-qg3g05ea.js} +0 -0
  780. /package/dist/chunks/{variant-qrg20bc0.js → location-qrg20bc0.js} +0 -0
  781. /package/dist/chunks/{variant-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
  782. /package/dist/chunks/{variant-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
  783. /package/dist/chunks/{variant-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
  784. /package/dist/chunks/{variant-ssg3fenm.js → location-ssg3fenm.js} +0 -0
  785. /package/dist/chunks/{variant-w803qqfp.js → location-w803qqfp.js} +0 -0
  786. /package/dist/chunks/{variant-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
  787. /package/dist/chunks/{variant-wer8tq1h.js → location-wer8tq1h.js} +0 -0
  788. /package/dist/chunks/{variant-wtztk69x.js → location-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{variant-x0ckcb58.js → location-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{variant-x61499pn.js → location-x61499pn.js} +0 -0
  791. /package/dist/chunks/{variant-y44na4kk.js → location-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{variant-y8cydn3q.js → location-y8cydn3q.js} +0 -0
  793. /package/dist/chunks/{variant-y8f7s663.js → location-y8f7s663.js} +0 -0
  794. /package/dist/chunks/{variant-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
  795. /package/dist/chunks/{variant-ym463w8f.js → location-ym463w8f.js} +0 -0
  796. /package/dist/chunks/{variant-z5v4ffb3.js → location-z5v4ffb3.js} +0 -0
  797. /package/dist/chunks/{variant-z9919s4g.js → location-z9919s4g.js} +0 -0
@@ -1,70 +1,70 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./variant-x7kbtnka.js";
2
+ Service81,
3
+ node85
4
+ } from "./location-px1tv9jh.js";
5
5
  import {
6
- Service80,
7
- node84
8
- } from "./variant-7ph72h93.js";
6
+ Service78,
7
+ node82
8
+ } from "./location-emg0brma.js";
9
9
  import {
10
- ID13,
11
- Service74,
12
- node77
13
- } from "./variant-c0yg3yaa.js";
10
+ ID10,
11
+ Service68,
12
+ node72
13
+ } from "./location-6f7g1gep.js";
14
14
  import {
15
- NotFoundError10
16
- } from "./variant-mzseknbn.js";
15
+ NotFoundError9
16
+ } from "./location-ank5f68a.js";
17
17
  import {
18
- Service73,
19
- node76
20
- } from "./variant-k86ryq5x.js";
18
+ Service66,
19
+ node70
20
+ } from "./location-0q7vd0e7.js";
21
21
  import {
22
22
  match2
23
- } from "./variant-y1fvbwt7.js";
23
+ } from "./location-y1fvbwt7.js";
24
24
  import {
25
- Service72,
26
- node75
27
- } from "./variant-qkcvdzb0.js";
25
+ Service65,
26
+ node69
27
+ } from "./location-tq5pwzt5.js";
28
28
  import {
29
- Service75,
30
- node78
31
- } from "./variant-vxby77fw.js";
29
+ Service67,
30
+ node71
31
+ } from "./location-g1sxm558.js";
32
32
  import {
33
33
  __export
34
- } from "./variant-9rqn6x4v.js";
34
+ } from "./location-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
- var exports_permission2 = {};
38
- __export(exports_permission2, {
37
+ var exports_permission = {};
38
+ __export(exports_permission, {
39
39
  AskResult: () => AskResult2,
40
40
  AssertInput: () => AssertInput2,
41
41
  BlockedError: () => BlockedError2,
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event19,
46
- ID: () => ID11,
47
- NotFoundError: () => NotFoundError9,
48
- Permission: () => exports_permission2,
49
- Reply: () => Reply3,
45
+ Event: () => Event12,
46
+ ID: () => ID8,
47
+ NotFoundError: () => NotFoundError8,
48
+ Permission: () => exports_permission,
49
+ Reply: () => Reply2,
50
50
  ReplyInput: () => ReplyInput2,
51
- Request: () => Request3,
52
- Rule: () => Rule3,
51
+ Request: () => Request2,
52
+ Rule: () => Rule2,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service71,
54
+ Service: () => Service64,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node74
58
+ node: () => node68
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
- import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event19 } from "@opencode/schema/permission";
63
+ import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
+ import { Event as Event12 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID11 = Permission.ID;
67
+ var ID8 = Permission.ID;
68
68
  var Source5 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
@@ -74,20 +74,20 @@ var RequestFields = {
74
74
  metadata: Permission.Request.fields.metadata,
75
75
  source: Permission.Request.fields.source
76
76
  };
77
- var Request3 = Permission.Request;
78
- var Reply3 = Permission.Reply;
77
+ var Request2 = Permission.Request;
78
+ var Reply2 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID11.pipe(Schema.optional),
80
+ id: ID8.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID13.pipe(Schema.optional)
82
+ agent: ID10.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID11,
86
- reply: Reply3,
85
+ requestID: ID8,
86
+ reply: Reply2,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID11,
90
+ id: ID8,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
110
110
  }
111
111
  }
112
112
 
113
- class NotFoundError9 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID11
113
+ class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
114
+ requestID: ID8
115
115
  }) {
116
116
  }
117
117
  function evaluate2(action, resource, ...rulesets) {
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service71 extends Context.Service()("@opencode/Permission") {
128
+ class Service64 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service71, Effect.gen(function* () {
131
- const bus = yield* Service83;
132
- const location = yield* Service80;
133
- const agents = yield* Service74;
134
- const sessions = yield* Service73;
135
- const saved = yield* Service72;
136
- const hooks = yield* Service75;
130
+ var layer = Layer.effect(Service64, Effect.gen(function* () {
131
+ const bus = yield* Service81;
132
+ const location = yield* Service78;
133
+ const agents = yield* Service68;
134
+ const sessions = yield* Service66;
135
+ const saved = yield* Service65;
136
+ const hooks = yield* Service67;
137
137
  const pending = new Map;
138
138
  let closed = false;
139
139
  const close = Effect.gen(function* () {
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
156
156
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
157
157
  const session = yield* sessions.get(sessionID);
158
158
  if (!session)
159
- return yield* new NotFoundError10({ sessionID });
159
+ return yield* new NotFoundError9({ sessionID });
160
160
  const agent = yield* agents.resolve(agentID ?? session.agent);
161
161
  return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
162
162
  });
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
186
186
  });
187
187
  function request(input, message) {
188
188
  return {
189
- id: input.id ?? ID11.create(),
189
+ id: input.id ?? ID8.create(),
190
190
  sessionID: input.sessionID,
191
191
  action: input.action,
192
192
  resources: input.resources,
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
211
211
  }));
212
212
  const ask = Effect.fn("Permission.ask")(function* (input) {
213
213
  if (closed)
214
- return { id: input.id ?? ID11.create(), effect: "deny" };
214
+ return { id: input.id ?? ID8.create(), effect: "deny" };
215
215
  const result = yield* evaluateInput(input);
216
216
  const value = request(input, result.message);
217
217
  if (result.effect === "ask")
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
242
242
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
243
243
  const existing = pending.get(input.requestID);
244
244
  if (!existing)
245
- return yield* new NotFoundError9({ requestID: input.requestID });
245
+ return yield* new NotFoundError8({ requestID: input.requestID });
246
246
  yield* bus.publish(Permission.Event.Replied, {
247
247
  sessionID: existing.request.sessionID,
248
248
  requestID: existing.request.id,
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
297
297
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
298
298
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
299
299
  });
300
- return Service71.of({ ask, assert, reply, get, forSession, list, close });
300
+ return Service64.of({ ask, assert, reply, get, forSession, list, close });
301
301
  }));
302
- var node74 = makeLocationNode({
303
- service: Service71,
302
+ var node68 = makeLocationNode({
303
+ service: Service64,
304
304
  layer,
305
- deps: [node87, node84, node77, node76, node75, node78]
305
+ deps: [node85, node82, node72, node70, node69, node71]
306
306
  });
307
307
 
308
- export { PermissionEffect, ID11, Source5, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError9, evaluate2, merge2, Service71, node74, exports_permission2, Rule3, Ruleset2, Event19 };
308
+ export { PermissionEffect, ID8, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service64, node68, exports_permission, Rule2, Ruleset2, Event12 };
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./variant-z5v4ffb3.js";
5
+ } from "./location-z5v4ffb3.js";
6
6
  import {
7
- Service77,
8
- node80
9
- } from "./variant-8arhm12g.js";
7
+ Service57,
8
+ node59
9
+ } from "./location-e1wndh8r.js";
10
10
  import {
11
11
  Content2
12
- } from "./variant-1hzkdvcb.js";
12
+ } from "./location-af43y7nd.js";
13
13
  import {
14
14
  detect2
15
- } from "./variant-3smtnn6g.js";
15
+ } from "./location-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./variant-9rqn6x4v.js";
18
+ } from "./location-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: () => Service10,
36
+ Service: () => Service3,
37
37
  TextPage: () => TextPage2,
38
- node: () => node12,
38
+ node: () => node4,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service10 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service3 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 = {}) {
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
330
330
  return index + 1;
331
331
  }
332
332
  };
333
- var layer = Layer.effect(Service10, Effect.gen(function* () {
334
- const environment = yield* Service77;
335
- return Service10.of({
333
+ var layer = Layer.effect(Service3, Effect.gen(function* () {
334
+ const environment = yield* Service57;
335
+ return Service3.of({
336
336
  list: environment.files.list,
337
337
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
338
338
  });
339
339
  }));
340
- var node12 = makeLocationNode({ service: Service10, layer, deps: [node80] });
340
+ var node4 = makeLocationNode({ service: Service3, layer, deps: [node59] });
341
341
 
342
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service10, read2, node12, exports_read_filesystem };
342
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service3, read2, node4, exports_read_filesystem };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  codeInterpreterArgsSchema2
3
- } from "./variant-eh3zwz77.js";
3
+ } from "./location-eh3zwz77.js";
4
4
  import {
5
5
  fileSearchArgsSchema2
6
- } from "./variant-e73j6tqm.js";
6
+ } from "./location-e73j6tqm.js";
7
7
  import {
8
8
  webSearchArgsSchema2
9
- } from "./variant-3wcehsnq.js";
9
+ } from "./location-3wcehsnq.js";
10
10
  import {
11
11
  webSearchPreviewArgsSchema2
12
- } from "./variant-dap0rakb.js";
12
+ } from "./location-dap0rakb.js";
13
13
  import {
14
14
  imageGenerationArgsSchema2
15
- } from "./variant-4y7fprxs.js";
15
+ } from "./location-4y7fprxs.js";
16
16
 
17
17
  // src/github-copilot/responses/openai-responses-prepare-tools.ts
18
18
  import {
@@ -1,9 +1,9 @@
1
1
  import {
2
- render3
3
- } from "./variant-xfkkasph.js";
2
+ render2
3
+ } from "./location-w19d8598.js";
4
4
  import {
5
5
  __export
6
- } from "./variant-9rqn6x4v.js";
6
+ } from "./location-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/optimize.ts
9
9
  var exports_optimize = {};
@@ -13,7 +13,7 @@ __export(exports_optimize, {
13
13
  ArceePlugin: () => ArceePlugin2,
14
14
  KimiPlugin: () => KimiPlugin2,
15
15
  MetaPlugin: () => MetaPlugin2,
16
- OpenAIPlugin: () => OpenAIPlugin3,
16
+ OpenAIPlugin: () => OpenAIPlugin2,
17
17
  OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
18
18
  OptimizePlugin: () => exports_optimize,
19
19
  Plugins: () => Plugins2
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
374
374
  `;
375
375
 
376
376
  // src/plugin/optimize.ts
377
- var OpenAIPlugin3 = make("opencode.prompt.openai", (model) => {
377
+ var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
378
378
  const id = model.id.toLowerCase();
379
379
  if (!id.includes("gpt"))
380
380
  return;
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
409
409
  return;
410
410
  return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
411
411
  });
412
- var Plugins2 = [OpenAIPlugin3, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
412
+ var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
413
413
  function make(id, optimize, mode = "override") {
414
414
  return define({
415
415
  id,
@@ -424,7 +424,7 @@ function make(id, optimize, mode = "override") {
424
424
  const system = event.system[0];
425
425
  if (!system)
426
426
  return;
427
- const rendered = render3(template, Object.keys(event.tools));
427
+ const rendered = render2(template, Object.keys(event.tools));
428
428
  const text = mode === "append" ? `${system.text}
429
429
 
430
430
  ${rendered}` : rendered;
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
437
437
  });
438
438
  }
439
439
 
440
- export { OpenAIPlugin3, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
440
+ export { OpenAIPlugin2, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service70
3
- } from "./variant-ypqp8gqh.js";
2
+ Service77
3
+ } from "./location-mmd0gw8c.js";
4
4
  import {
5
- Service71
6
- } from "./variant-9gn2e1q5.js";
5
+ Service64
6
+ } from "./location-j8pqfbxb.js";
7
7
  import {
8
8
  __export
9
- } from "./variant-9rqn6x4v.js";
9
+ } from "./location-9rqn6x4v.js";
10
10
 
11
11
  // src/tool/plugin/question.ts
12
12
  var exports_question = {};
13
13
  __export(exports_question, {
14
14
  CancelledError: () => CancelledError2,
15
- Input: () => Input13,
15
+ Input: () => Input14,
16
16
  Output: () => Output9,
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
@@ -34,7 +34,7 @@ Usage notes:
34
34
  - A "Type your own answer" option is added automatically; don't include a separate option for free form answers
35
35
  - Set \`multiple: true\` to allow selecting more than one option
36
36
  - If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
37
- var Input13 = Schema.Struct({
37
+ var Input14 = Schema.Struct({
38
38
  questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
39
39
  });
40
40
  var Output9 = Schema.Struct({
@@ -53,13 +53,13 @@ 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* Service70;
57
- const permission = yield* Service71;
56
+ const forms = yield* Service77;
57
+ const permission = yield* Service64;
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
- input: Input13,
62
+ input: Input14,
63
63
  output: Output9,
64
64
  execute: (input, context) => permission.assert({
65
65
  action: "question",
@@ -117,4 +117,4 @@ function toField(question, index) {
117
117
  };
118
118
  }
119
119
 
120
- export { name13, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
120
+ export { name14, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
@@ -1,57 +1,57 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./variant-x7kbtnka.js";
2
+ Service81,
3
+ node85
4
+ } from "./location-px1tv9jh.js";
5
5
  import {
6
- Service80,
7
- node84
8
- } from "./variant-7ph72h93.js";
6
+ Service78,
7
+ node82
8
+ } from "./location-emg0brma.js";
9
9
  import {
10
- Service77,
11
- node80
12
- } from "./variant-8arhm12g.js";
10
+ Service57,
11
+ node59
12
+ } from "./location-e1wndh8r.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./variant-gd4qta3r.js";
15
+ } from "./location-gd4qta3r.js";
16
16
  import {
17
- Service51,
17
+ Service52,
18
18
  args2,
19
- node53
20
- } from "./variant-6d98qxkn.js";
19
+ node54
20
+ } from "./location-np8489tv.js";
21
21
  import {
22
- Service75,
23
- node78
24
- } from "./variant-vxby77fw.js";
22
+ Service67,
23
+ node71
24
+ } from "./location-g1sxm558.js";
25
25
  import {
26
- Service50,
27
- node52
28
- } from "./variant-t89fqycx.js";
26
+ Service42,
27
+ node45
28
+ } from "./location-9c3np669.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./variant-fvxg17y2.js";
31
+ } from "./location-256nx13v.js";
32
32
  import {
33
33
  latest2,
34
- Service52,
35
- node54
36
- } from "./variant-z4ym9awj.js";
34
+ Service70,
35
+ node74
36
+ } from "./location-4x12h4qm.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./variant-e30mydyk.js";
40
+ } from "./location-pjx5ckar.js";
41
41
  import {
42
42
  __export
43
- } from "./variant-9rqn6x4v.js";
43
+ } from "./location-9rqn6x4v.js";
44
44
 
45
45
  // src/shell.ts
46
46
  var exports_shell4 = {};
47
47
  __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
- NotFoundError: () => NotFoundError7,
49
+ NotFoundError: () => NotFoundError6,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service49,
51
+ Service: () => Service41,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node51
54
+ node: () => node44
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
63
63
  import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
65
  import { Global } from "@opencode/util/global";
66
- class NotFoundError7 extends Schema.TaggedError()("Shell.NotFoundError", {
66
+ class NotFoundError6 extends Schema.TaggedError()("Shell.NotFoundError", {
67
67
  id: Shell.ID
68
68
  }) {
69
69
  }
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
71
71
  var RETENTION2 = Duration.days(7);
72
72
  var DIRECTORY2 = "shell";
73
73
 
74
- class Service49 extends Context.Service()("@opencode/Shell") {
74
+ class Service41 extends Context.Service()("@opencode/Shell") {
75
75
  }
76
76
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
77
77
  const fs = yield* FSUtil.Service;
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
87
87
  layer: cleanupLayer,
88
88
  deps: [FSUtil.node, Global.node]
89
89
  });
90
- var layer = () => Layer.effect(Service49, Effect.gen(function* () {
91
- const bus = yield* Service83;
92
- const location = yield* Service80;
90
+ var layer = () => Layer.effect(Service41, Effect.gen(function* () {
91
+ const bus = yield* Service81;
92
+ const location = yield* Service78;
93
93
  const global = yield* Global.Service;
94
- const shell = yield* Service51;
95
- const environment = yield* Service77;
96
- const hooks = yield* Service75;
97
- const environments = yield* Service50;
98
- const config = yield* Service52;
94
+ const shell = yield* Service52;
95
+ const environment = yield* Service57;
96
+ const hooks = yield* Service67;
97
+ const environments = yield* Service42;
98
+ const config = yield* Service70;
99
99
  const context = yield* Effect.context();
100
100
  const runFork = Effect.runForkWith(context);
101
101
  const commands = new Map;
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service49, Effect.gen(function* () {
116
116
  const require2 = Effect.fnUntraced(function* (id) {
117
117
  const command = commands.get(id);
118
118
  if (!command)
119
- return yield* new NotFoundError7({ id });
119
+ return yield* new NotFoundError6({ id });
120
120
  return command;
121
121
  });
122
122
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service49, Effect.gen(function* () {
129
129
  commands.delete(id);
130
130
  if (command.timeoutFiber)
131
131
  yield* Fiber.interrupt(command.timeoutFiber);
132
- yield* Deferred.fail(command.done, new NotFoundError7({ id }));
132
+ yield* Deferred.fail(command.done, new NotFoundError6({ id }));
133
133
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
134
134
  yield* bus.publish(Shell.Event.Deleted, { id });
135
135
  });
@@ -323,22 +323,22 @@ var layer = () => Layer.effect(Service49, Effect.gen(function* () {
323
323
  const command = yield* Deferred.await(ready);
324
324
  return command.info;
325
325
  });
326
- return Service49.of({ create, list, get, wait, result, timeout, output, remove });
326
+ return Service41.of({ create, list, get, wait, result, timeout, output, remove });
327
327
  }));
328
- var node51 = makeLocationNode({
329
- service: Service49,
328
+ var node44 = makeLocationNode({
329
+ service: Service41,
330
330
  layer: layer(),
331
331
  deps: [
332
- node87,
333
- node84,
332
+ node85,
333
+ node82,
334
334
  Global.node,
335
- node53,
336
- node80,
337
- node78,
338
- node52,
339
335
  node54,
336
+ node59,
337
+ node71,
338
+ node45,
339
+ node74,
340
340
  cleanupNode
341
341
  ]
342
342
  });
343
343
 
344
- export { NotFoundError7, RETENTION2, DIRECTORY2, Service49, cleanup2, node51, exports_shell4 };
344
+ export { NotFoundError6, RETENTION2, DIRECTORY2, Service41, cleanup2, node44, exports_shell4 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  jitCompatCheck2
3
- } from "./variant-emrn6kk6.js";
3
+ } from "./location-emrn6kk6.js";
4
4
  import {
5
5
  SQLiteEffectDatabase2
6
- } from "./variant-c2cehf6b.js";
6
+ } from "./location-emwyyrd1.js";
7
7
  import {
8
8
  EffectSQLiteSession2
9
- } from "./variant-7cx9cvsh.js";
9
+ } from "./location-kj77vvpy.js";
10
10
 
11
11
  // src/database/drizzle/effect-sqlite/driver.ts
12
12
  import * as Effect from "effect/Effect";
@@ -20,7 +20,7 @@ class EffectSQLiteDatabase2 extends SQLiteEffectDatabase2 {
20
20
  static [entityKind] = "EffectSQLiteDatabase";
21
21
  }
22
22
  var DefaultServices2 = Layer.merge(EffectCache.Default, EffectLogger.Default);
23
- var make23 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
23
+ var make24 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
24
24
  const client = yield* SqlClient;
25
25
  const cache = yield* EffectCache;
26
26
  const logger = yield* EffectLogger;
@@ -37,6 +37,6 @@ var make23 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
37
37
  db.$cache.invalidate = cache.onMutate;
38
38
  return db;
39
39
  });
40
- var makeWithDefaults2 = (config = {}) => make23(config).pipe(Effect.provide(DefaultServices2));
40
+ var makeWithDefaults2 = (config = {}) => make24(config).pipe(Effect.provide(DefaultServices2));
41
41
 
42
- export { EffectSQLiteDatabase2, DefaultServices2, make23, makeWithDefaults2 };
42
+ export { EffectSQLiteDatabase2, DefaultServices2, make24, makeWithDefaults2 };