@opencode/core 0.0.0-dev-20115 → 0.0.0-dev-20116

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 (801) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +92 -92
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{generate-yxn70j2j.js → location-01f4j364.js} +48 -48
  8. package/dist/chunks/{generate-htfm5hm2.js → location-03t2qqvv.js} +13 -13
  9. package/dist/chunks/{generate-ydpvnw0r.js → location-0aj75bwd.js} +10 -10
  10. package/dist/chunks/{generate-5c9sd73s.js → location-0fx1c86e.js} +8 -8
  11. package/dist/chunks/{generate-0paq2nw3.js → location-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{generate-n78y29v0.js → location-0pj7r3g9.js} +6 -6
  13. package/dist/chunks/{generate-3v0kbfet.js → location-19xkyn56.js} +6 -6
  14. package/dist/chunks/{generate-yp2x3t23.js → location-1acjjqhc.js} +4 -4
  15. package/dist/chunks/{generate-tv09qagv.js → location-1ck5k8kv.js} +54 -54
  16. package/dist/chunks/{generate-1dazxqgg.js → location-1dazxqgg.js} +2 -2
  17. package/dist/chunks/{generate-wq4mmp7m.js → location-1ed2t66p.js} +4 -4
  18. package/dist/chunks/{generate-mg9my19h.js → location-1fw2a5v8.js} +19 -19
  19. package/dist/chunks/{generate-wtgzqz62.js → location-1fw2j5nt.js} +15 -15
  20. package/dist/chunks/{generate-2z03bkx6.js → location-1k0gwr79.js} +5 -5
  21. package/dist/chunks/{generate-gghkw5p5.js → location-1mmj9ptd.js} +21 -21
  22. package/dist/chunks/{generate-ebhw3mq4.js → location-1p1pkch2.js} +4 -4
  23. package/dist/chunks/{generate-s26hbv8p.js → location-1y283654.js} +4 -4
  24. package/dist/chunks/{generate-21r38tys.js → location-21r38tys.js} +1 -1
  25. package/dist/chunks/{generate-vyqn3nqs.js → location-23sxaqwc.js} +6 -6
  26. package/dist/chunks/{generate-2402vzrj.js → location-2402vzrj.js} +1 -1
  27. package/dist/chunks/{generate-3bw4v39f.js → location-297fvhht.js} +6 -6
  28. package/dist/chunks/{generate-2a5m3afh.js → location-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{generate-7dqw4kz8.js → location-2k8khapm.js} +5 -5
  30. package/dist/chunks/{generate-8bpcqbtr.js → location-2nm881nd.js} +36 -36
  31. package/dist/chunks/{generate-3dx765w3.js → location-2sdsg8hd.js} +4 -4
  32. package/dist/chunks/{generate-tcdcapjr.js → location-2vwytvym.js} +3 -3
  33. package/dist/chunks/{generate-na4s0x3w.js → location-2xyf62b8.js} +18 -18
  34. package/dist/chunks/{generate-7p3fcf52.js → location-3b3sjaea.js} +26 -26
  35. package/dist/chunks/{generate-vek5t477.js → location-3b7yp3yb.js} +9 -9
  36. package/dist/chunks/{generate-3fc6dm20.js → location-3fc6dm20.js} +1 -1
  37. package/dist/chunks/{generate-r03v0hjj.js → location-3geshwka.js} +39 -39
  38. package/dist/chunks/{generate-2qd48t7m.js → location-3h2v8zyx.js} +14 -14
  39. package/dist/chunks/{generate-3hepkmqq.js → location-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{generate-bfhawprk.js → location-3qz3cqmw.js} +9 -9
  41. package/dist/chunks/{generate-3smtnn6g.js → location-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{generate-3tvqynh2.js → location-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{generate-z2wn3pyy.js → location-3x01x5fw.js} +33 -33
  44. package/dist/chunks/{generate-7d7mc7nn.js → location-3xhamg8z.js} +22 -22
  45. package/dist/chunks/{generate-3zsf4n22.js → location-3zsf4n22.js} +1 -1
  46. package/dist/chunks/{generate-kmdz5r4y.js → location-4ac1m1qr.js} +16 -16
  47. package/dist/chunks/{generate-sve65ey2.js → location-4av968fa.js} +11 -11
  48. package/dist/chunks/{generate-nnh0aynp.js → location-4bp3k7wq.js} +22 -22
  49. package/dist/chunks/{generate-kw185j9a.js → location-4c1rxfbw.js} +28 -28
  50. package/dist/chunks/{generate-3ka6c8fj.js → location-4k8s27v0.js} +46 -46
  51. package/dist/chunks/{generate-2fghpfkp.js → location-4nxzd025.js} +37 -37
  52. package/dist/chunks/{generate-z8m5seqj.js → location-4swmeq5r.js} +20 -20
  53. package/dist/chunks/{generate-hehaxqkv.js → location-4wwqnvbr.js} +4 -4
  54. package/dist/chunks/{generate-ey7ggjjv.js → location-4y0r7mzr.js} +30 -30
  55. package/dist/chunks/{generate-1wqg2ck8.js → location-4zc4m5x1.js} +20 -20
  56. package/dist/chunks/{generate-0cgtmc8a.js → location-507seqed.js} +12 -12
  57. package/dist/chunks/{generate-kwrf6mrp.js → location-53fyba40.js} +4 -4
  58. package/dist/chunks/{generate-ckecvw8r.js → location-54tcyq79.js} +2 -2
  59. package/dist/chunks/{generate-33w4ejhs.js → location-56gdpj1q.js} +6 -6
  60. package/dist/chunks/{generate-2fgn2we9.js → location-57ez7d0k.js} +9 -9
  61. package/dist/chunks/{generate-q3t37ft6.js → location-5cmxdwv8.js} +3 -3
  62. package/dist/chunks/{generate-5daktx2q.js → location-5daktx2q.js} +1 -1
  63. package/dist/chunks/{generate-5ekn9679.js → location-5ekn9679.js} +1 -1
  64. package/dist/chunks/{generate-q4fmv0xv.js → location-5hx7d1d6.js} +5 -5
  65. package/dist/chunks/{generate-5t3nmthw.js → location-5t3nmthw.js} +2 -2
  66. package/dist/chunks/{generate-pmw6zdhr.js → location-60a7aq3m.js} +4 -4
  67. package/dist/chunks/{generate-zcjrg8ya.js → location-65r5fmg1.js} +3 -3
  68. package/dist/chunks/{generate-669tq793.js → location-669tq793.js} +1 -1
  69. package/dist/chunks/{generate-vzbekny8.js → location-6bbptzqx.js} +10 -10
  70. package/dist/chunks/{generate-gcqgchj4.js → location-6eh7mf2d.js} +45 -45
  71. package/dist/chunks/{generate-0rkxpd3w.js → location-6h3d6agz.js} +16 -16
  72. package/dist/chunks/{generate-bt5w0njk.js → location-6kjm4skb.js} +30 -30
  73. package/dist/chunks/{generate-6msgmcgs.js → location-6msgmcgs.js} +1 -1
  74. package/dist/chunks/{generate-txcvczgx.js → location-6nwf24cr.js} +25 -25
  75. package/dist/chunks/{generate-135dqwpd.js → location-6xsq0j7c.js} +11 -11
  76. package/dist/chunks/{generate-hzp6wvvn.js → location-74pmmvr2.js} +18 -18
  77. package/dist/chunks/{generate-q8n9d2sh.js → location-768gsh1v.js} +8 -8
  78. package/dist/chunks/{generate-7bmhse3q.js → location-7bmhse3q.js} +1 -1
  79. package/dist/chunks/{generate-8aaqm6qj.js → location-7dbmnfn4.js} +8 -8
  80. package/dist/chunks/location-7fj5dwt0.js +18 -0
  81. package/dist/chunks/{generate-a22s65z7.js → location-7k3q3d83.js} +25 -25
  82. package/dist/chunks/{generate-y4n2nqts.js → location-7kk85578.js} +10 -10
  83. package/dist/chunks/{generate-vnpwkwtz.js → location-7m8brd3v.js} +25 -25
  84. package/dist/chunks/{generate-pbt7bx9c.js → location-7sd0c8rg.js} +20 -20
  85. package/dist/chunks/{generate-6dxb6f6k.js → location-81y9yw83.js} +26 -26
  86. package/dist/chunks/{generate-5vs0p599.js → location-8b8ytmh0.js} +27 -27
  87. package/dist/chunks/{generate-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
  88. package/dist/chunks/{generate-e4670fxf.js → location-8eddaw1a.js} +10 -10
  89. package/dist/chunks/{generate-srn8r8jz.js → location-8rq5pj8d.js} +21 -21
  90. package/dist/chunks/{generate-50d7ccq3.js → location-8ssk0f6f.js} +22 -22
  91. package/dist/chunks/{generate-xx13ga85.js → location-8t78hkck.js} +5 -5
  92. package/dist/chunks/{generate-e0xdgz0m.js → location-91nmpsq2.js} +11 -11
  93. package/dist/chunks/{generate-j2gexte7.js → location-9460kg37.js} +15 -15
  94. package/dist/chunks/{generate-djdxfn23.js → location-985n4tmz.js} +20 -20
  95. package/dist/chunks/{generate-f9qkrfrz.js → location-9c2t2wzg.js} +20 -20
  96. package/dist/chunks/{generate-2tdwad47.js → location-9cwbb6wq.js} +13 -13
  97. package/dist/chunks/{generate-pn9jkae5.js → location-9e3m1zbj.js} +14 -14
  98. package/dist/chunks/{generate-bmbezxvj.js → location-9px7vs5v.js} +12 -12
  99. package/dist/chunks/{generate-48yaw2g6.js → location-9w8ge49v.js} +33 -33
  100. package/dist/chunks/{generate-y8adhbbs.js → location-a1wfbxb7.js} +3 -3
  101. package/dist/chunks/{generate-tx9w5tca.js → location-a2qe2ev9.js} +8 -8
  102. package/dist/chunks/{generate-btbmdjwj.js → location-a2rpfkac.js} +4 -4
  103. package/dist/chunks/{generate-aw6rh0e0.js → location-a2xpbx89.js} +18 -18
  104. package/dist/chunks/{generate-aaet6srn.js → location-aaet6srn.js} +2 -2
  105. package/dist/chunks/{generate-9chjmrjd.js → location-abzvj8se.js} +20 -20
  106. package/dist/chunks/{generate-vrjazymd.js → location-ac8rsxy9.js} +1 -1
  107. package/dist/chunks/{generate-2y92msa0.js → location-adb13ap1.js} +8 -8
  108. package/dist/chunks/{generate-3n114cxc.js → location-adq9w6n2.js} +13 -13
  109. package/dist/chunks/{generate-y7t0d5q6.js → location-ae1n2vcd.js} +4 -4
  110. package/dist/chunks/{generate-nkttmmpy.js → location-agxa4bew.js} +4 -4
  111. package/dist/chunks/{generate-fpm8vwy4.js → location-am7x992s.js} +26 -26
  112. package/dist/chunks/{generate-d97kjvmj.js → location-ar78w6r7.js} +13 -13
  113. package/dist/chunks/{generate-mvk2jfk4.js → location-axj216nc.js} +5 -5
  114. package/dist/chunks/{generate-e7shfttd.js → location-ayngm31m.js} +6 -6
  115. package/dist/chunks/{generate-km5mjpbt.js → location-azk5qm9y.js} +3 -3
  116. package/dist/chunks/{generate-k8962brh.js → location-b27vhd2z.js} +7 -7
  117. package/dist/chunks/{generate-sn6ab8mn.js → location-b2ekx9f0.js} +29 -29
  118. package/dist/chunks/{generate-pwaxk50r.js → location-b57qjs4r.js} +13 -13
  119. package/dist/chunks/{generate-b6gygkdw.js → location-b6gygkdw.js} +2 -2
  120. package/dist/chunks/{generate-v1sqp18z.js → location-be3cm6t8.js} +10 -10
  121. package/dist/chunks/{generate-z07pqspn.js → location-bjtzbw4r.js} +3 -3
  122. package/dist/chunks/{generate-ewvdpzth.js → location-bvh0dnby.js} +15 -15
  123. package/dist/chunks/{generate-e40qhhm8.js → location-bwfm0pq2.js} +10 -10
  124. package/dist/chunks/{generate-m40fkmb4.js → location-c6bhh4n4.js} +15 -15
  125. package/dist/chunks/{generate-j5w2yx54.js → location-c8bydgjz.js} +6 -6
  126. package/dist/chunks/{generate-44h5tttr.js → location-cpj0znwe.js} +4 -4
  127. package/dist/chunks/{generate-2sejkfem.js → location-d4he2qe1.js} +9 -9
  128. package/dist/chunks/{generate-wb66k78e.js → location-dfgmewgp.js} +20 -20
  129. package/dist/chunks/{generate-96av1tye.js → location-dfsbkvhf.js} +24 -24
  130. package/dist/chunks/{generate-5na67w3t.js → location-dh3f2wjs.js} +4 -4
  131. package/dist/chunks/{generate-rcjabzwr.js → location-dvakt18b.js} +5 -5
  132. package/dist/chunks/{generate-fjq2vs6z.js → location-e4qcyv9a.js} +6 -6
  133. package/dist/chunks/{generate-dtp9vetf.js → location-e5t466vb.js} +16 -16
  134. package/dist/chunks/{generate-qb1vw869.js → location-e6yahscf.js} +39 -39
  135. package/dist/chunks/{generate-eaj1djv9.js → location-eaj1djv9.js} +1 -1
  136. package/dist/chunks/{generate-ef5x83kb.js → location-ef5x83kb.js} +1 -1
  137. package/dist/chunks/{generate-tz4n1mmd.js → location-embw8kgh.js} +4 -4
  138. package/dist/chunks/{generate-erw5rpbs.js → location-erw5rpbs.js} +2 -2
  139. package/dist/chunks/{generate-1wj59nq5.js → location-espmheeq.js} +8 -8
  140. package/dist/chunks/{generate-etq0c3wd.js → location-etq0c3wd.js} +1 -1
  141. package/dist/chunks/{generate-tn0aqsam.js → location-evbgk2k8.js} +5 -5
  142. package/dist/chunks/{generate-cv19meg5.js → location-f0hb9jkt.js} +7 -7
  143. package/dist/chunks/{generate-ge5cpj3r.js → location-f2zjsb8r.js} +5 -5
  144. package/dist/chunks/{generate-cavr175a.js → location-f3ngv102.js} +4 -4
  145. package/dist/chunks/{generate-ynpb9wcp.js → location-fd78hjz1.js} +14 -14
  146. package/dist/chunks/{generate-d6bnq78f.js → location-fsbsakce.js} +46 -46
  147. package/dist/chunks/{generate-36nf603s.js → location-fx2b1hjm.js} +30 -30
  148. package/dist/chunks/{generate-jpv1641y.js → location-fyfmcsz4.js} +8 -8
  149. package/dist/chunks/{generate-er4hwy7c.js → location-g1389kf8.js} +15 -15
  150. package/dist/chunks/{generate-mnp2fbq7.js → location-g2nw1xqv.js} +15 -15
  151. package/dist/chunks/location-g2syt5m4.js +26 -0
  152. package/dist/chunks/{generate-vpr681xz.js → location-gb506f8f.js} +8 -8
  153. package/dist/chunks/{generate-gd4qta3r.js → location-gd4qta3r.js} +1 -1
  154. package/dist/chunks/{generate-94ek1h2f.js → location-gfvb90ym.js} +2 -2
  155. package/dist/chunks/{generate-y5df08dr.js → location-gmjq4p6e.js} +12 -12
  156. package/dist/chunks/{generate-8whe1ftd.js → location-grdhps1x.js} +10 -10
  157. package/dist/chunks/{generate-w9m1hehb.js → location-gsade59m.js} +42 -42
  158. package/dist/chunks/{generate-gv6a8nnw.js → location-gv6a8nnw.js} +2 -2
  159. package/dist/chunks/{generate-reg6q42h.js → location-h4z1mxff.js} +5 -5
  160. package/dist/chunks/{generate-h6vf3j39.js → location-h6vf3j39.js} +1 -1
  161. package/dist/chunks/{generate-b0rvnc5h.js → location-h9p3eaf6.js} +49 -49
  162. package/dist/chunks/{generate-za9cx4qh.js → location-hdthj1pw.js} +8 -8
  163. package/dist/chunks/{generate-ba3st6n3.js → location-hq8x7218.js} +2 -2
  164. package/dist/chunks/{generate-basnvkrt.js → location-hs6snqek.js} +3 -3
  165. package/dist/chunks/{generate-7rats573.js → location-hsxnx20j.js} +17 -17
  166. package/dist/chunks/{generate-j56e64zr.js → location-j56e64zr.js} +1 -1
  167. package/dist/chunks/{generate-312csvmh.js → location-j9kmfek4.js} +10 -10
  168. package/dist/chunks/{generate-gzafw2k2.js → location-ja6k9001.js} +20 -20
  169. package/dist/chunks/{generate-9hqhm2d2.js → location-jjvby67f.js} +30 -30
  170. package/dist/chunks/{generate-408p2t6a.js → location-jk4f05ze.js} +25 -25
  171. package/dist/chunks/{generate-dsh6f6yj.js → location-jxg8s3q7.js} +37 -37
  172. package/dist/chunks/{generate-nzks3jc8.js → location-k3c624dm.js} +3 -3
  173. package/dist/chunks/{generate-g26gfjk9.js → location-k57bwrpv.js} +15 -15
  174. package/dist/chunks/{generate-wwgrxbk4.js → location-kbmv5jj4.js} +10 -10
  175. package/dist/chunks/{generate-hs0gycjv.js → location-kkzhas3n.js} +15 -15
  176. package/dist/chunks/{generate-0cazcqtd.js → location-kp64qvy5.js} +13 -13
  177. package/dist/chunks/{generate-hqax1sk6.js → location-kpagms85.js} +3 -3
  178. package/dist/chunks/{generate-rj7bpn2q.js → location-kqhr74xx.js} +11 -11
  179. package/dist/chunks/{generate-xxyw0hgj.js → location-kx3h33dw.js} +33 -33
  180. package/dist/chunks/{generate-pek3718z.js → location-m2gq6g3f.js} +14 -14
  181. package/dist/chunks/{generate-m3fdjcah.js → location-m3fdjcah.js} +1 -1
  182. package/dist/chunks/{generate-05v90r5t.js → location-m4cee681.js} +32 -32
  183. package/dist/chunks/{generate-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{generate-swgq8cqr.js → location-mm4y1vec.js} +9 -9
  185. package/dist/chunks/{generate-q4qc13yr.js → location-mqdgyeyb.js} +37 -37
  186. package/dist/chunks/location-mxcjqyq2.js +507 -0
  187. package/dist/chunks/{generate-kh5864kc.js → location-mxy24mwp.js} +16 -16
  188. package/dist/chunks/{generate-058r5a9s.js → location-mxysbntw.js} +16 -16
  189. package/dist/chunks/{generate-p0b30zvt.js → location-mzxp1erh.js} +11 -11
  190. package/dist/chunks/location-n1vpgy0w.js +252 -0
  191. package/dist/chunks/{generate-v7twaqy7.js → location-n6ksxyfn.js} +20 -20
  192. package/dist/chunks/{generate-wcrxxh2z.js → location-n7j9881n.js} +35 -35
  193. package/dist/chunks/{generate-8j75q05v.js → location-n9gphx1q.js} +50 -50
  194. package/dist/chunks/{generate-hgs5ny64.js → location-nk62h6vq.js} +11 -11
  195. package/dist/chunks/{generate-arzv5pyn.js → location-nzsaey6w.js} +28 -28
  196. package/dist/chunks/{generate-nxhqveyz.js → location-p44d8wdy.js} +5 -5
  197. package/dist/chunks/{generate-500fmqbd.js → location-p4m4s18q.js} +11 -11
  198. package/dist/chunks/{generate-m2yg46wj.js → location-p838w68h.js} +11 -11
  199. package/dist/chunks/{generate-r06z5h03.js → location-pgp81qmz.js} +22 -22
  200. package/dist/chunks/{generate-g0445xdp.js → location-phstrbs2.js} +8 -8
  201. package/dist/chunks/{generate-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
  202. package/dist/chunks/{generate-pknna89w.js → location-pknna89w.js} +1 -1
  203. package/dist/chunks/{generate-qg0jgkcp.js → location-pnv527nz.js} +9 -9
  204. package/dist/chunks/{generate-wd3x2cqz.js → location-psazpmmj.js} +2 -2
  205. package/dist/chunks/{generate-4478d6jr.js → location-pswh67x4.js} +22 -22
  206. package/dist/chunks/{generate-9gz4pnve.js → location-pvqs4ftm.js} +18 -18
  207. package/dist/chunks/{generate-9sp5ch6w.js → location-pxqk86pg.js} +35 -35
  208. package/dist/chunks/{generate-6pc27hjz.js → location-py3kkmfq.js} +6 -6
  209. package/dist/chunks/{generate-cybk5p7c.js → location-pycfhy4b.js} +69 -69
  210. package/dist/chunks/{generate-cfsjmcx3.js → location-q14ch0nx.js} +16 -16
  211. package/dist/chunks/{generate-s375a249.js → location-q826ync2.js} +6 -6
  212. package/dist/chunks/{generate-4yqq56vx.js → location-qaq56wgb.js} +27 -27
  213. package/dist/chunks/{generate-4sx6m46k.js → location-qj3gnppz.js} +7 -7
  214. package/dist/chunks/{generate-hpjt3c9f.js → location-qna75g91.js} +9 -9
  215. package/dist/chunks/{generate-p6frwh1y.js → location-qrk0wdh6.js} +26 -26
  216. package/dist/chunks/{generate-qsdy395h.js → location-qsdy395h.js} +1 -1
  217. package/dist/chunks/{generate-ev27g8wa.js → location-qxwwr1gq.js} +29 -29
  218. package/dist/chunks/{generate-vtpkq4qf.js → location-r3c4069c.js} +1 -1
  219. package/dist/chunks/{generate-mhkvc446.js → location-r5x6zcsm.js} +3 -3
  220. package/dist/chunks/{generate-mqzwkyay.js → location-r7nsrefv.js} +4 -4
  221. package/dist/chunks/{generate-ve4pfa0n.js → location-r98e92ep.js} +4 -4
  222. package/dist/chunks/{generate-rdw6cm16.js → location-rdw6cm16.js} +1 -1
  223. package/dist/chunks/{generate-7vv29s32.js → location-rf0y5eh4.js} +24 -24
  224. package/dist/chunks/{generate-cpy6gm2a.js → location-rph3zd4r.js} +6 -6
  225. package/dist/chunks/{generate-gzre948x.js → location-rscjyhv7.js} +12 -12
  226. package/dist/chunks/{generate-vz9yhsd3.js → location-rxt4hayg.js} +21 -21
  227. package/dist/chunks/{generate-4vd7n6yw.js → location-s0xm2j83.js} +1 -1
  228. package/dist/chunks/{generate-peprph1j.js → location-s9h9scfs.js} +32 -32
  229. package/dist/chunks/{generate-gr6sts3c.js → location-sdz1jvnx.js} +24 -24
  230. package/dist/chunks/{generate-g25em2wa.js → location-shc6e287.js} +6 -6
  231. package/dist/chunks/{generate-wgzm9wz2.js → location-srm5dkg4.js} +11 -11
  232. package/dist/chunks/{generate-gzvxer3a.js → location-stgfa99z.js} +5 -5
  233. package/dist/chunks/{generate-gsxdchbh.js → location-sy7bpksq.js} +9 -9
  234. package/dist/chunks/{generate-kjqhhdrj.js → location-syy9ejxw.js} +6 -6
  235. package/dist/chunks/{generate-a54cg76a.js → location-t1mex8wk.js} +25 -25
  236. package/dist/chunks/{generate-0z594a3n.js → location-t499jz6c.js} +89 -89
  237. package/dist/chunks/{generate-7fzbbf6p.js → location-t4tcrb48.js} +16 -16
  238. package/dist/chunks/{generate-4krywg4p.js → location-t76e5nz5.js} +13 -13
  239. package/dist/chunks/{generate-tazgh4e4.js → location-tazgh4e4.js} +1 -1
  240. package/dist/chunks/{generate-tcezcvh9.js → location-tcezcvh9.js} +1 -1
  241. package/dist/chunks/{generate-tdstcens.js → location-tdstcens.js} +1 -1
  242. package/dist/chunks/{generate-ahwm19b7.js → location-thsgfmbw.js} +40 -40
  243. package/dist/chunks/{generate-4z9rzteq.js → location-tjk393t5.js} +24 -24
  244. package/dist/chunks/{generate-tvtrv512.js → location-tvtrv512.js} +1 -1
  245. package/dist/chunks/{generate-bgbs76xx.js → location-v9m5zf1e.js} +24 -24
  246. package/dist/chunks/{generate-g8f2cmxd.js → location-vaqmry9v.js} +19 -19
  247. package/dist/chunks/{generate-a1fy41p6.js → location-vdzv7yjc.js} +92 -92
  248. package/dist/chunks/{generate-veqvce7d.js → location-veqvce7d.js} +1 -1
  249. package/dist/chunks/{generate-jca4demv.js → location-vmgq4x8b.js} +2 -2
  250. package/dist/chunks/{generate-gmjjhz4f.js → location-vmwh049b.js} +6 -6
  251. package/dist/chunks/{generate-v44xvwz4.js → location-vq17w8qr.js} +27 -27
  252. package/dist/chunks/{generate-r3889vak.js → location-vyk7vhw6.js} +13 -13
  253. package/dist/chunks/{generate-vzcthcp8.js → location-vzcthcp8.js} +1 -1
  254. package/dist/chunks/{generate-y52aqrcn.js → location-w00d9zq5.js} +5 -5
  255. package/dist/chunks/{generate-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{generate-b5vd5f2s.js → location-w52q72ce.js} +3 -3
  257. package/dist/chunks/{generate-3gc9tq7p.js → location-w9fhgmm1.js} +15 -15
  258. package/dist/chunks/{generate-k8dasee7.js → location-was7srj9.js} +8 -8
  259. package/dist/chunks/{generate-wd87259q.js → location-wd87259q.js} +1 -1
  260. package/dist/chunks/{generate-0jq9fyba.js → location-wk5z6jzv.js} +9 -9
  261. package/dist/chunks/{generate-zxfgyqze.js → location-wken1bg3.js} +9 -9
  262. package/dist/chunks/{generate-tjbwbrpf.js → location-wqzamyz2.js} +10 -10
  263. package/dist/chunks/{generate-8k1taj4b.js → location-wv7as3sa.js} +23 -23
  264. package/dist/chunks/{generate-4wgvb1zg.js → location-wy8s1je1.js} +6 -6
  265. package/dist/chunks/{generate-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
  266. package/dist/chunks/{generate-rmebftez.js → location-x1yd8b8p.js} +181 -181
  267. package/dist/chunks/{generate-jrwd5gjp.js → location-xb7aahsd.js} +13 -13
  268. package/dist/chunks/{generate-ysa4kjbr.js → location-xbhyazxt.js} +24 -24
  269. package/dist/chunks/{generate-n46we7c3.js → location-xdgdk0j5.js} +43 -43
  270. package/dist/chunks/{generate-z3nay82g.js → location-xdx7acry.js} +9 -9
  271. package/dist/chunks/{generate-drwq78ky.js → location-xfkkasph.js} +4 -4
  272. package/dist/chunks/{generate-xkntkrq7.js → location-xkntkrq7.js} +2 -2
  273. package/dist/chunks/{generate-g7nv64e4.js → location-xt03kzcc.js} +16 -16
  274. package/dist/chunks/{generate-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
  275. package/dist/chunks/{generate-y71avatq.js → location-y71avatq.js} +1 -1
  276. package/dist/chunks/{generate-fgbmk54h.js → location-ycpstswg.js} +11 -11
  277. package/dist/chunks/{generate-k1qrnqst.js → location-yf10kn3d.js} +8 -8
  278. package/dist/chunks/{generate-0r7yqxbf.js → location-yjptyezs.js} +5 -5
  279. package/dist/chunks/{generate-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
  280. package/dist/chunks/{generate-yrznvahk.js → location-yrznvahk.js} +2 -2
  281. package/dist/chunks/{generate-7w8dz25z.js → location-yse7wqh5.js} +28 -28
  282. package/dist/chunks/{generate-wp7yrr8t.js → location-yzpn3sp5.js} +22 -22
  283. package/dist/chunks/{generate-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
  284. package/dist/chunks/{generate-n6f6v89y.js → location-z4th9443.js} +11 -11
  285. package/dist/chunks/{generate-z63w68vq.js → location-z63w68vq.js} +2 -2
  286. package/dist/chunks/{generate-zeh9ct20.js → location-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{generate-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{generate-8exb21m6.js → location-ztassjcr.js} +18 -18
  289. package/dist/chunks/{generate-6fra3cd5.js → location-zvm2bmhj.js} +5 -5
  290. package/dist/chunks/{generate-zxq2ej10.js → location-zxq2ej10.js} +1 -1
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +5 -5
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +85 -85
  296. package/dist/config/discovery.js +82 -82
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +106 -106
  299. package/dist/config/plugin/agent.js +125 -125
  300. package/dist/config/plugin/command.js +214 -214
  301. package/dist/config/plugin/compaction.js +162 -162
  302. package/dist/config/plugin/compatibility.js +141 -141
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +124 -124
  305. package/dist/config/plugin/image.js +123 -123
  306. package/dist/config/plugin/instruction.js +90 -90
  307. package/dist/config/plugin/location-watcher.js +123 -123
  308. package/dist/config/plugin/mcp.js +132 -132
  309. package/dist/config/plugin/policy.js +124 -124
  310. package/dist/config/plugin/provider.js +123 -123
  311. package/dist/config/plugin/reference.js +125 -125
  312. package/dist/config/plugin/shell.js +125 -125
  313. package/dist/config/plugin/skill-file.js +102 -102
  314. package/dist/config/plugin/skill.js +144 -144
  315. package/dist/config/plugin/snapshot.js +123 -123
  316. package/dist/config/plugin/source.js +126 -126
  317. package/dist/config/plugin/tool-output.js +125 -125
  318. package/dist/config/plugin/websearch.js +124 -124
  319. package/dist/config/plugin/worktree.js +125 -125
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +126 -126
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +81 -81
  325. package/dist/database/database.js +66 -66
  326. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +13 -13
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +14 -14
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  390. package/dist/database/migration.gen.js +49 -49
  391. package/dist/database/migration.js +51 -51
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +76 -76
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +371 -371
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +1 -1
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +93 -93
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +95 -95
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +1 -1
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +70 -70
  415. package/dist/file-access.js +104 -104
  416. package/dist/file-mutation.js +94 -94
  417. package/dist/file-retention.js +1 -1
  418. package/dist/file.js +1 -1
  419. package/dist/filesystem/fff.bun.js +2 -2
  420. package/dist/filesystem/fff.js +1 -1
  421. package/dist/filesystem/fff.node.js +2 -2
  422. package/dist/filesystem/fff.workerd.js +2 -2
  423. package/dist/filesystem/ignore.js +1 -1
  424. package/dist/filesystem/location-watcher-policy.js +6 -6
  425. package/dist/filesystem/location-watcher.js +225 -225
  426. package/dist/filesystem/protected.js +1 -1
  427. package/dist/filesystem/search.js +103 -103
  428. package/dist/filesystem/watcher-binding.js +1 -1
  429. package/dist/filesystem/watcher.js +15 -15
  430. package/dist/filesystem.js +104 -104
  431. package/dist/form.js +84 -84
  432. package/dist/formatter/builtins.js +4 -4
  433. package/dist/formatter.js +87 -87
  434. package/dist/generate.js +105 -105
  435. package/dist/git.js +10 -10
  436. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  437. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  438. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  440. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  442. package/dist/github-copilot/copilot-provider.js +17 -17
  443. package/dist/github-copilot/models.js +99 -99
  444. package/dist/github-copilot/openai-compatible-error.js +1 -1
  445. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  446. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  447. package/dist/github-copilot/responses/openai-error.js +1 -1
  448. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  449. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  450. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  451. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  452. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  455. package/dist/id/id.js +1 -1
  456. package/dist/image/photon.js +2 -2
  457. package/dist/image.js +6 -6
  458. package/dist/instance/service.js +5 -5
  459. package/dist/instance.js +362 -362
  460. package/dist/instruction-discovery.js +85 -85
  461. package/dist/instructions/builtins.js +87 -87
  462. package/dist/instructions/index.js +1 -1
  463. package/dist/integration/connection.js +3 -3
  464. package/dist/integration.js +86 -86
  465. package/dist/job.js +77 -77
  466. package/dist/kv/sql.js +2 -2
  467. package/dist/kv.js +73 -73
  468. package/dist/location-activity.js +132 -132
  469. package/dist/location-lifecycle.js +107 -107
  470. package/dist/location-mutation.js +104 -104
  471. package/dist/location-service-map.js +86 -86
  472. package/dist/location-services.js +359 -359
  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 +108 -108
  477. package/dist/mcp/instructions.js +126 -126
  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 +99 -99
  482. package/dist/model-resolver.js +98 -98
  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 +76 -76
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +111 -111
  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 +82 -82
  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 +101 -101
  496. package/dist/plugin/compaction.js +133 -133
  497. package/dist/plugin/hooks.js +5 -5
  498. package/dist/plugin/host.js +218 -218
  499. package/dist/plugin/identity.js +3 -3
  500. package/dist/plugin/instance.js +5 -5
  501. package/dist/plugin/internal.js +333 -333
  502. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  503. package/dist/plugin/models-dev.js +96 -96
  504. package/dist/plugin/module.js +7 -7
  505. package/dist/plugin/optimize.js +4 -4
  506. package/dist/plugin/plan.js +102 -102
  507. package/dist/plugin/promise.js +1 -1
  508. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  509. package/dist/plugin/provider/azure.js +122 -122
  510. package/dist/plugin/provider/cerebras.js +1 -1
  511. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  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 +93 -93
  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 +77 -77
  524. package/dist/plugin/provider/lmstudio.js +122 -122
  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 +94 -94
  529. package/dist/plugin/provider/opencode.js +95 -95
  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 +78 -78
  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 +160 -160
  543. package/dist/plugin/sdk.js +76 -76
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +141 -141
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +352 -352
  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/warming.js +121 -121
  553. package/dist/plugin/websearch/exa.js +7 -7
  554. package/dist/plugin/websearch/firecrawl.js +6 -6
  555. package/dist/plugin/websearch/index.js +9 -9
  556. package/dist/plugin/websearch/mcp.js +4 -4
  557. package/dist/plugin/websearch/parallel.js +6 -6
  558. package/dist/plugin/websearch/tavily.js +6 -6
  559. package/dist/plugin/websearch/tinyfish.js +8 -8
  560. package/dist/plugin.js +223 -223
  561. package/dist/project/schema.js +8 -8
  562. package/dist/project/sql.js +4 -4
  563. package/dist/project.js +90 -90
  564. package/dist/provider.js +99 -99
  565. package/dist/pty/protocol.js +1 -1
  566. package/dist/pty/schema.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +94 -94
  569. package/dist/reference/instructions.js +87 -87
  570. package/dist/reference.js +91 -91
  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 +97 -97
  575. package/dist/rpc.js +86 -86
  576. package/dist/schema.js +1 -1
  577. package/dist/session/command.js +74 -74
  578. package/dist/session/compaction.js +132 -132
  579. package/dist/session/context.js +152 -152
  580. package/dist/session/diff.js +88 -88
  581. package/dist/session/environment.js +5 -5
  582. package/dist/session/error.js +5 -5
  583. package/dist/session/event.js +1 -1
  584. package/dist/session/execution/restart.js +221 -221
  585. package/dist/session/execution.js +126 -126
  586. package/dist/session/generate.js +153 -153
  587. package/dist/session/history.js +13 -13
  588. package/dist/session/inbox.js +88 -88
  589. package/dist/session/info.js +3 -3
  590. package/dist/session/instruction-entry.js +79 -79
  591. package/dist/session/instruction-state.js +8 -8
  592. package/dist/session/instructions.js +97 -97
  593. package/dist/session/message-updater.js +2 -2
  594. package/dist/session/message.js +1 -1
  595. package/dist/session/model-request.js +119 -119
  596. package/dist/session/model-transport.js +9 -9
  597. package/dist/session/move.js +130 -130
  598. package/dist/session/projector.js +86 -86
  599. package/dist/session/prompt.js +105 -105
  600. package/dist/session/provider-context.js +3 -3
  601. package/dist/session/revert.js +90 -90
  602. package/dist/session/run-coordinator.js +3 -3
  603. package/dist/session/runner/index.js +3 -3
  604. package/dist/session/runner/llm.js +231 -231
  605. package/dist/session/runner/max-steps.js +1 -1
  606. package/dist/session/runner/model.js +98 -98
  607. package/dist/session/runner/publish-llm-event.js +3 -3
  608. package/dist/session/runner/retry.js +114 -114
  609. package/dist/session/runner/step.js +126 -126
  610. package/dist/session/runner/to-llm-message.js +2 -2
  611. package/dist/session/schema.js +5 -5
  612. package/dist/session/session.js +172 -172
  613. package/dist/session/shell.js +138 -138
  614. package/dist/session/skill.js +103 -103
  615. package/dist/session/sql.js +5 -5
  616. package/dist/session/stats.js +73 -73
  617. package/dist/session/store.js +87 -87
  618. package/dist/session/subagent-completion.js +1 -1
  619. package/dist/session/subagent-job.js +210 -210
  620. package/dist/session/system-prompt.js +3 -3
  621. package/dist/session/title.js +156 -156
  622. package/dist/session/to-session-error.js +111 -111
  623. package/dist/session/transfer.js +217 -217
  624. package/dist/session/usage.js +1 -1
  625. package/dist/session.js +218 -218
  626. package/dist/shell/parse.js +6 -6
  627. package/dist/shell/result.js +1 -1
  628. package/dist/shell/scan.js +1 -1
  629. package/dist/shell/select.js +13 -13
  630. package/dist/shell.js +140 -140
  631. package/dist/skill/discovery.js +6 -6
  632. package/dist/skill/instructions.js +105 -105
  633. package/dist/skill.js +112 -112
  634. package/dist/snapshot.js +89 -89
  635. package/dist/state.js +1 -1
  636. package/dist/tool/html-markdown.js +1 -1
  637. package/dist/tool/http-body.js +1 -1
  638. package/dist/tool/mcp.js +125 -125
  639. package/dist/tool/plugin/edit.js +116 -116
  640. package/dist/tool/plugin/file-diff.js +1 -1
  641. package/dist/tool/plugin/glob.js +124 -124
  642. package/dist/tool/plugin/grep.js +124 -124
  643. package/dist/tool/plugin/mcp-resource.js +116 -116
  644. package/dist/tool/plugin/opencode.js +3 -3
  645. package/dist/tool/plugin/patch.js +122 -122
  646. package/dist/tool/plugin/question.js +103 -103
  647. package/dist/tool/plugin/read.js +125 -125
  648. package/dist/tool/plugin/shell.js +217 -217
  649. package/dist/tool/plugin/skill.js +113 -113
  650. package/dist/tool/plugin/subagent.js +219 -219
  651. package/dist/tool/plugin/webfetch.js +110 -110
  652. package/dist/tool/plugin/websearch.js +114 -114
  653. package/dist/tool/plugin/write.js +122 -122
  654. package/dist/tool/read-filesystem.js +100 -100
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +8 -8
  657. package/dist/tool.js +14 -14
  658. package/dist/types/effect/app-node-platform.d.ts +1 -2
  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 +5 -5
  669. package/dist/v1/config/attachment.js +4 -4
  670. package/dist/v1/config/command.js +5 -5
  671. package/dist/v1/config/config.js +14 -14
  672. package/dist/v1/config/error.js +2 -2
  673. package/dist/v1/config/formatter.js +5 -5
  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 +3 -3
  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 +3 -3
  684. package/dist/v1/permission.js +1 -1
  685. package/dist/variant.js +93 -93
  686. package/dist/vcs/patch.js +1 -1
  687. package/dist/vcs.js +89 -89
  688. package/dist/websearch.js +84 -84
  689. package/dist/wellknown/plugin.js +76 -76
  690. package/dist/wellknown.js +79 -79
  691. package/dist/workspace/driver.js +3 -3
  692. package/dist/workspace/sql.js +1 -1
  693. package/dist/workspace.js +78 -78
  694. package/dist/worktree/directory.js +2 -2
  695. package/dist/worktree/git.js +10 -10
  696. package/dist/worktree/sql.js +5 -5
  697. package/dist/worktree/strategies.js +89 -89
  698. package/dist/worktree.js +94 -94
  699. package/package.json +8 -8
  700. package/dist/chunks/generate-2tf17v0s.js +0 -26
  701. package/dist/chunks/generate-cpx588df.js +0 -507
  702. package/dist/chunks/generate-phz3h32g.js +0 -18
  703. package/dist/chunks/generate-q1k3p0aj.js +0 -252
  704. /package/dist/chunks/{generate-0mesazry.js → location-0mesazry.js} +0 -0
  705. /package/dist/chunks/{generate-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
  706. /package/dist/chunks/{generate-0zkw76rk.js → location-0zkw76rk.js} +0 -0
  707. /package/dist/chunks/{generate-17cy0kzp.js → location-17cy0kzp.js} +0 -0
  708. /package/dist/chunks/{generate-1cnp2v09.js → location-1cnp2v09.js} +0 -0
  709. /package/dist/chunks/{generate-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
  710. /package/dist/chunks/{generate-24dcb14g.js → location-24dcb14g.js} +0 -0
  711. /package/dist/chunks/{generate-2710q6r3.js → location-2710q6r3.js} +0 -0
  712. /package/dist/chunks/{generate-2axfhc9x.js → location-2axfhc9x.js} +0 -0
  713. /package/dist/chunks/{generate-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
  714. /package/dist/chunks/{generate-34c7v6d4.js → location-34c7v6d4.js} +0 -0
  715. /package/dist/chunks/{generate-359p4xyc.js → location-359p4xyc.js} +0 -0
  716. /package/dist/chunks/{generate-3asan66x.js → location-3asan66x.js} +0 -0
  717. /package/dist/chunks/{generate-3v8g72cx.js → location-3v8g72cx.js} +0 -0
  718. /package/dist/chunks/{generate-3w5fmr99.js → location-3w5fmr99.js} +0 -0
  719. /package/dist/chunks/{generate-3wcehsnq.js → location-3wcehsnq.js} +0 -0
  720. /package/dist/chunks/{generate-43n2bw4t.js → location-43n2bw4t.js} +0 -0
  721. /package/dist/chunks/{generate-4knz6hnm.js → location-4knz6hnm.js} +0 -0
  722. /package/dist/chunks/{generate-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
  723. /package/dist/chunks/{generate-4y7fprxs.js → location-4y7fprxs.js} +0 -0
  724. /package/dist/chunks/{generate-53557ph1.js → location-53557ph1.js} +0 -0
  725. /package/dist/chunks/{generate-550bvhaj.js → location-550bvhaj.js} +0 -0
  726. /package/dist/chunks/{generate-5qd3pb7m.js → location-5qd3pb7m.js} +0 -0
  727. /package/dist/chunks/{generate-6prwharc.js → location-6prwharc.js} +0 -0
  728. /package/dist/chunks/{generate-7akdwqpd.js → location-7akdwqpd.js} +0 -0
  729. /package/dist/chunks/{generate-7m9af43g.js → location-7m9af43g.js} +0 -0
  730. /package/dist/chunks/{generate-822emrt2.js → location-822emrt2.js} +0 -0
  731. /package/dist/chunks/{generate-88xbtdfr.js → location-88xbtdfr.js} +0 -0
  732. /package/dist/chunks/{generate-8n3pysct.js → location-8n3pysct.js} +0 -0
  733. /package/dist/chunks/{generate-8wj87zfr.js → location-8wj87zfr.js} +0 -0
  734. /package/dist/chunks/{generate-922hggd3.js → location-922hggd3.js} +0 -0
  735. /package/dist/chunks/{generate-9a4afbnw.js → location-9a4afbnw.js} +0 -0
  736. /package/dist/chunks/{generate-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
  737. /package/dist/chunks/{generate-a6k6eb26.js → location-a6k6eb26.js} +0 -0
  738. /package/dist/chunks/{generate-af5trqkr.js → location-af5trqkr.js} +0 -0
  739. /package/dist/chunks/{generate-afrmfg78.js → location-afrmfg78.js} +0 -0
  740. /package/dist/chunks/{generate-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
  741. /package/dist/chunks/{generate-atq7p7m5.js → location-atq7p7m5.js} +0 -0
  742. /package/dist/chunks/{generate-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
  743. /package/dist/chunks/{generate-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
  744. /package/dist/chunks/{generate-cf4snx6d.js → location-cf4snx6d.js} +0 -0
  745. /package/dist/chunks/{generate-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
  746. /package/dist/chunks/{generate-d9fn303g.js → location-d9fn303g.js} +0 -0
  747. /package/dist/chunks/{generate-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
  748. /package/dist/chunks/{generate-dajrwvna.js → location-dajrwvna.js} +0 -0
  749. /package/dist/chunks/{generate-dap0rakb.js → location-dap0rakb.js} +0 -0
  750. /package/dist/chunks/{generate-df08tz66.js → location-df08tz66.js} +0 -0
  751. /package/dist/chunks/{generate-dy18nga0.js → location-dy18nga0.js} +0 -0
  752. /package/dist/chunks/{generate-e5kj55wp.js → location-e5kj55wp.js} +0 -0
  753. /package/dist/chunks/{generate-e73j6tqm.js → location-e73j6tqm.js} +0 -0
  754. /package/dist/chunks/{generate-ec1grn59.js → location-ec1grn59.js} +0 -0
  755. /package/dist/chunks/{generate-eh3zwz77.js → location-eh3zwz77.js} +0 -0
  756. /package/dist/chunks/{generate-emrn6kk6.js → location-emrn6kk6.js} +0 -0
  757. /package/dist/chunks/{generate-f0mxakyp.js → location-f0mxakyp.js} +0 -0
  758. /package/dist/chunks/{generate-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
  759. /package/dist/chunks/{generate-faypxj3z.js → location-faypxj3z.js} +0 -0
  760. /package/dist/chunks/{generate-fd410y7t.js → location-fd410y7t.js} +0 -0
  761. /package/dist/chunks/{generate-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
  762. /package/dist/chunks/{generate-g4wezp1m.js → location-g4wezp1m.js} +0 -0
  763. /package/dist/chunks/{generate-g86h250q.js → location-g86h250q.js} +0 -0
  764. /package/dist/chunks/{generate-gebd4c9n.js → location-gebd4c9n.js} +0 -0
  765. /package/dist/chunks/{generate-gftt206x.js → location-gftt206x.js} +0 -0
  766. /package/dist/chunks/{generate-hjbc5kem.js → location-hjbc5kem.js} +0 -0
  767. /package/dist/chunks/{generate-hk9envan.js → location-hk9envan.js} +0 -0
  768. /package/dist/chunks/{generate-j2ntwpah.js → location-j2ntwpah.js} +0 -0
  769. /package/dist/chunks/{generate-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
  770. /package/dist/chunks/{generate-jjkms2e6.js → location-jjkms2e6.js} +0 -0
  771. /package/dist/chunks/{generate-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
  772. /package/dist/chunks/{generate-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
  773. /package/dist/chunks/{generate-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
  774. /package/dist/chunks/{generate-mp448xyj.js → location-mp448xyj.js} +0 -0
  775. /package/dist/chunks/{generate-msx8hqn2.js → location-msx8hqn2.js} +0 -0
  776. /package/dist/chunks/{generate-n05xt0ee.js → location-n05xt0ee.js} +0 -0
  777. /package/dist/chunks/{generate-n3j8tn72.js → location-n3j8tn72.js} +0 -0
  778. /package/dist/chunks/{generate-njntx4h6.js → location-njntx4h6.js} +0 -0
  779. /package/dist/chunks/{generate-q3sfg36h.js → location-q3sfg36h.js} +0 -0
  780. /package/dist/chunks/{generate-q74kybfr.js → location-q74kybfr.js} +0 -0
  781. /package/dist/chunks/{generate-qaymkmh1.js → location-qaymkmh1.js} +0 -0
  782. /package/dist/chunks/{generate-qb87gjwd.js → location-qb87gjwd.js} +0 -0
  783. /package/dist/chunks/{generate-qfa1cgps.js → location-qfa1cgps.js} +0 -0
  784. /package/dist/chunks/{generate-qg3g05ea.js → location-qg3g05ea.js} +0 -0
  785. /package/dist/chunks/{generate-qrg20bc0.js → location-qrg20bc0.js} +0 -0
  786. /package/dist/chunks/{generate-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
  787. /package/dist/chunks/{generate-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
  788. /package/dist/chunks/{generate-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
  789. /package/dist/chunks/{generate-ssg3fenm.js → location-ssg3fenm.js} +0 -0
  790. /package/dist/chunks/{generate-w803qqfp.js → location-w803qqfp.js} +0 -0
  791. /package/dist/chunks/{generate-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
  792. /package/dist/chunks/{generate-wer8tq1h.js → location-wer8tq1h.js} +0 -0
  793. /package/dist/chunks/{generate-wtztk69x.js → location-wtztk69x.js} +0 -0
  794. /package/dist/chunks/{generate-x0ckcb58.js → location-x0ckcb58.js} +0 -0
  795. /package/dist/chunks/{generate-x61499pn.js → location-x61499pn.js} +0 -0
  796. /package/dist/chunks/{generate-y44na4kk.js → location-y44na4kk.js} +0 -0
  797. /package/dist/chunks/{generate-y8cydn3q.js → location-y8cydn3q.js} +0 -0
  798. /package/dist/chunks/{generate-y8f7s663.js → location-y8f7s663.js} +0 -0
  799. /package/dist/chunks/{generate-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
  800. /package/dist/chunks/{generate-ym463w8f.js → location-ym463w8f.js} +0 -0
  801. /package/dist/chunks/{generate-z9919s4g.js → location-z9919s4g.js} +0 -0
@@ -1,121 +1,121 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./generate-hqax1sk6.js";
4
+ } from "./location-kpagms85.js";
5
5
  import {
6
6
  Service83,
7
7
  node87
8
- } from "./generate-3dx765w3.js";
8
+ } from "./location-2sdsg8hd.js";
9
9
  import {
10
10
  SessionMessage2
11
- } from "./generate-gftt206x.js";
11
+ } from "./location-gftt206x.js";
12
12
  import {
13
13
  StepFailedError2
14
- } from "./generate-gmjjhz4f.js";
14
+ } from "./location-vmwh049b.js";
15
15
  import {
16
16
  SessionEvent2
17
- } from "./generate-ec1grn59.js";
17
+ } from "./location-ec1grn59.js";
18
18
  import {
19
19
  SessionMessageTable2
20
- } from "./generate-z07pqspn.js";
20
+ } from "./location-bjtzbw4r.js";
21
21
  import {
22
22
  prepare4
23
- } from "./generate-wq4mmp7m.js";
23
+ } from "./location-1ed2t66p.js";
24
24
  import {
25
25
  provenance2
26
- } from "./generate-kwrf6mrp.js";
26
+ } from "./location-53fyba40.js";
27
27
  import {
28
28
  decodeMessageRow2,
29
29
  preview2
30
- } from "./generate-2y92msa0.js";
30
+ } from "./location-adb13ap1.js";
31
31
  import {
32
- Service75,
33
- node79
34
- } from "./generate-2qd48t7m.js";
32
+ Service77,
33
+ node81
34
+ } from "./location-3h2v8zyx.js";
35
35
  import {
36
- Service71,
37
- node75
38
- } from "./generate-48yaw2g6.js";
36
+ Service13,
37
+ node15
38
+ } from "./location-9w8ge49v.js";
39
39
  import {
40
40
  llmClient2
41
- } from "./generate-5t3nmthw.js";
41
+ } from "./location-5t3nmthw.js";
42
42
  import {
43
- Service29,
44
- node32
45
- } from "./generate-500fmqbd.js";
43
+ Service40,
44
+ node43
45
+ } from "./location-p4m4s18q.js";
46
46
  import {
47
47
  baseTranscript2
48
- } from "./generate-peprph1j.js";
48
+ } from "./location-s9h9scfs.js";
49
49
  import {
50
- make8
51
- } from "./generate-fjq2vs6z.js";
50
+ make9
51
+ } from "./location-e4qcyv9a.js";
52
52
  import {
53
- Service9,
54
- node11
55
- } from "./generate-7d7mc7nn.js";
53
+ Service10,
54
+ node12
55
+ } from "./location-3xhamg8z.js";
56
56
  import {
57
- Service20,
58
- node23
59
- } from "./generate-0z594a3n.js";
57
+ Service31,
58
+ node34
59
+ } from "./location-t499jz6c.js";
60
60
  import {
61
61
  serialized2,
62
62
  nextPromotable2,
63
63
  promote2
64
- } from "./generate-v7twaqy7.js";
64
+ } from "./location-n6ksxyfn.js";
65
65
  import {
66
- Service7,
66
+ Service2,
67
67
  isUntitled2,
68
- node9
69
- } from "./generate-6dxb6f6k.js";
68
+ node3
69
+ } from "./location-81y9yw83.js";
70
70
  import {
71
71
  DrainResult2,
72
- Service35
73
- } from "./generate-tz4n1mmd.js";
72
+ Service47
73
+ } from "./location-embw8kgh.js";
74
74
  import {
75
- node34
76
- } from "./generate-96av1tye.js";
75
+ node45
76
+ } from "./location-dfsbkvhf.js";
77
77
  import {
78
- node52
79
- } from "./generate-0cgtmc8a.js";
78
+ node72
79
+ } from "./location-507seqed.js";
80
80
  import {
81
81
  Outcome2,
82
- make7
83
- } from "./generate-9chjmrjd.js";
82
+ make3
83
+ } from "./location-abzvj8se.js";
84
84
  import {
85
- Service23
86
- } from "./generate-phz3h32g.js";
85
+ Service38
86
+ } from "./location-7fj5dwt0.js";
87
87
  import {
88
- node19
89
- } from "./generate-g7nv64e4.js";
88
+ node23
89
+ } from "./location-xt03kzcc.js";
90
90
  import {
91
91
  MAX_STEPS_PROMPT2
92
- } from "./generate-y44na4kk.js";
92
+ } from "./location-y44na4kk.js";
93
93
  import {
94
94
  __export
95
- } from "./generate-9rqn6x4v.js";
95
+ } from "./location-9rqn6x4v.js";
96
96
 
97
97
  // src/session/runner/llm.ts
98
98
  var exports_llm = {};
99
99
  __export(exports_llm, {
100
100
  SessionRunnerLLM: () => exports_llm,
101
- node: () => node8
101
+ node: () => node2
102
102
  });
103
103
  import { Message } from "@opencode/ai";
104
104
  import { and, desc, eq, sql } from "drizzle-orm";
105
105
  import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
106
106
  import { makeLocationNode } from "@opencode/util/effect/app-node";
107
107
  var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
108
- var layer = Layer.effect(Service35, Effect.gen(function* () {
108
+ var layer = Layer.effect(Service47, Effect.gen(function* () {
109
109
  const bus = yield* Service83;
110
- const lifecycle = yield* Service71;
111
- const store = yield* Service75;
112
- const context = yield* Service20;
113
- const modelTransport = yield* Service29;
110
+ const lifecycle = yield* Service13;
111
+ const store = yield* Service77;
112
+ const context = yield* Service31;
113
+ const modelTransport = yield* Service40;
114
114
  const db = (yield* Service84).db;
115
- const compaction = yield* Service9;
116
- const plugins = yield* Service23;
117
- const title = yield* Service7;
118
- const steps = yield* make7;
115
+ const compaction = yield* Service10;
116
+ const plugins = yield* Service38;
117
+ const title = yield* Service2;
118
+ const steps = yield* make3;
119
119
  const titles = yield* FiberMap.make();
120
120
  const drain = Effect.fn("SessionRunner.drain")(function* (input) {
121
121
  const sessionID = input.sessionID;
@@ -240,7 +240,7 @@ var layer = Layer.effect(Service35, 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* make8(bus, sessionID);
243
+ const retry = yield* make9(bus, sessionID);
244
244
  let initial = first;
245
245
  let recoverOverflow = true;
246
246
  let recoverContinuation = true;
@@ -361,25 +361,25 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
361
361
  }
362
362
  }
363
363
  });
364
- return Service35.of({ drain });
364
+ return Service47.of({ drain });
365
365
  }));
366
- var node8 = makeLocationNode({
367
- service: Service35,
366
+ var node2 = makeLocationNode({
367
+ service: Service47,
368
368
  layer,
369
369
  deps: [
370
370
  node87,
371
- node75,
371
+ node15,
372
372
  llmClient2,
373
- node23,
374
- node32,
375
- node79,
376
- node11,
377
- node19,
378
- node9,
379
373
  node34,
380
- node52,
374
+ node43,
375
+ node81,
376
+ node12,
377
+ node23,
378
+ node3,
379
+ node45,
380
+ node72,
381
381
  node88
382
382
  ]
383
383
  });
384
384
 
385
- export { node8, exports_llm };
385
+ export { node2, exports_llm };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  useragent2
3
- } from "./generate-1wj59nq5.js";
3
+ } from "./location-espmheeq.js";
4
4
  import {
5
5
  Service83
6
- } from "./generate-3dx765w3.js";
6
+ } from "./location-2sdsg8hd.js";
7
7
  import {
8
8
  OAuth3,
9
9
  Event17
10
- } from "./generate-djdxfn23.js";
10
+ } from "./location-985n4tmz.js";
11
11
  import {
12
- ID10,
12
+ ID8,
13
13
  MethodID2
14
- } from "./generate-a22s65z7.js";
14
+ } from "./location-7k3q3d83.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
- } from "./generate-pjvnvgmy.js";
18
+ } from "./location-pjvnvgmy.js";
19
19
  import {
20
- ID9,
20
+ ID7,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./generate-ey7ggjjv.js";
23
+ } from "./location-4y0r7mzr.js";
24
24
 
25
25
  // src/plugin/provider/openai.ts
26
26
  import { define } from "@opencode/plugin/effect/plugin";
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
44
44
  }));
45
45
  var decodeClaims = Schema.decodeUnknownOption(Claims);
46
46
  var browser = (app) => ({
47
- integrationID: ID10.make("openai"),
47
+ integrationID: ID8.make("openai"),
48
48
  method: {
49
49
  id: browserMethodID,
50
50
  type: "oauth",
@@ -117,7 +117,7 @@ function addressInUse(error) {
117
117
  return "code" in error && error.code === "EADDRINUSE";
118
118
  }
119
119
  var headless = (app) => ({
120
- integrationID: ID10.make("openai"),
120
+ integrationID: ID8.make("openai"),
121
121
  method: {
122
122
  id: headlessMethodID,
123
123
  type: "oauth",
@@ -159,7 +159,7 @@ var headless = (app) => ({
159
159
  }),
160
160
  refresh: (value) => refresh(headlessMethodID, value, app)
161
161
  });
162
- var OpenAIPlugin3 = define({
162
+ var OpenAIPlugin2 = define({
163
163
  id: "opencode.provider.openai",
164
164
  effect: Effect.fn(function* (ctx) {
165
165
  const bus = yield* Service83;
@@ -178,7 +178,7 @@ var OpenAIPlugin3 = define({
178
178
  });
179
179
  yield* load();
180
180
  yield* ctx.provider.transform((providers) => {
181
- const item = providers.get(ID9.openai);
181
+ const item = providers.get(ID7.openai);
182
182
  if (!item)
183
183
  return;
184
184
  const account = chatgpt?.metadata?.accountID;
@@ -197,7 +197,7 @@ var OpenAIPlugin3 = define({
197
197
  });
198
198
  });
199
199
  yield* ctx.model.transform((models) => {
200
- for (const model of models.list(ID9.openai)) {
200
+ for (const model of models.list(ID7.openai)) {
201
201
  models.update(model.providerID, model.id, (draft) => {
202
202
  if (!chatgpt)
203
203
  return;
@@ -225,9 +225,9 @@ var OpenAIPlugin3 = define({
225
225
  evt.baseURL = codexBaseURL;
226
226
  evt.headers.originator = "opencode";
227
227
  evt.headers["session-id"] = evt.sessionID;
228
- }), { providerID: ID9.openai });
228
+ }), { providerID: ID7.openai });
229
229
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
230
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
230
+ yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
231
231
  })
232
232
  });
233
233
  function headers(contentType, app) {
@@ -318,4 +318,4 @@ function claim(token) {
318
318
  return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
319
319
  }
320
320
 
321
- export { OpenAIPlugin3 };
321
+ export { OpenAIPlugin2 };
@@ -3,21 +3,21 @@ import {
3
3
  removed2,
4
4
  make21,
5
5
  diffByKey2
6
- } from "./generate-eaj1djv9.js";
6
+ } from "./location-eaj1djv9.js";
7
7
  import {
8
8
  Summary2,
9
9
  summarize2,
10
10
  namespaceLine2
11
- } from "./generate-3fc6dm20.js";
11
+ } from "./location-3fc6dm20.js";
12
12
  import {
13
13
  __export
14
- } from "./generate-9rqn6x4v.js";
14
+ } from "./location-9rqn6x4v.js";
15
15
 
16
16
  // src/codemode/instructions.ts
17
17
  var exports_instructions3 = {};
18
18
  __export(exports_instructions3, {
19
19
  CodeModeInstructions: () => exports_instructions3,
20
- make: () => make13,
20
+ make: () => make14,
21
21
  render: () => render2,
22
22
  update: () => update3
23
23
  });
@@ -111,7 +111,7 @@ ${render2(current)}`;
111
111
  }
112
112
  var key = Key4.make("core/codemode");
113
113
  var codec = Schema.toCodecJson(Summary2);
114
- var make13 = (inventory) => {
114
+ var make14 = (inventory) => {
115
115
  const catalog = inventory === undefined ? removed2 : summarize2(inventory);
116
116
  return make21({
117
117
  key,
@@ -125,4 +125,4 @@ var make13 = (inventory) => {
125
125
  });
126
126
  };
127
127
 
128
- export { render2, update3, make13, exports_instructions3 };
128
+ export { render2, update3, make14, exports_instructions3 };
@@ -1,50 +1,50 @@
1
1
  import {
2
- Service52
3
- } from "./generate-50d7ccq3.js";
2
+ Service60
3
+ } from "./location-8ssk0f6f.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./generate-922hggd3.js";
6
+ } from "./location-922hggd3.js";
7
7
  import {
8
- Service79
9
- } from "./generate-0rkxpd3w.js";
8
+ Service80
9
+ } from "./location-6h3d6agz.js";
10
10
  import {
11
- Service51
12
- } from "./generate-qb1vw869.js";
11
+ Service59
12
+ } from "./location-e6yahscf.js";
13
13
  import {
14
14
  DirectorySource2,
15
15
  UrlSource2,
16
- Source3
17
- } from "./generate-ysa4kjbr.js";
16
+ Source4
17
+ } from "./location-xbhyazxt.js";
18
18
  import {
19
- Service10
20
- } from "./generate-qg0jgkcp.js";
19
+ Service9
20
+ } from "./location-pnv527nz.js";
21
21
  import {
22
22
  parse2
23
- } from "./generate-kjqhhdrj.js";
23
+ } from "./location-syy9ejxw.js";
24
24
  import {
25
25
  __export
26
- } from "./generate-9rqn6x4v.js";
26
+ } from "./location-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/skill.ts
29
- var exports_skill3 = {};
30
- __export(exports_skill3, {
31
- ConfigSkillPlugin: () => exports_skill3,
32
- Plugin: () => Plugin35
29
+ var exports_skill = {};
30
+ __export(exports_skill, {
31
+ ConfigSkillPlugin: () => exports_skill,
32
+ Plugin: () => Plugin15
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
37
  import path from "path";
38
38
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
39
- var Plugin35 = define({
39
+ var Plugin15 = define({
40
40
  id: "opencode.config.skill",
41
41
  effect: Effect.fn(function* (ctx) {
42
- const config = yield* Service51;
43
- const discovery = yield* Service10;
42
+ const config = yield* Service59;
43
+ const discovery = yield* Service9;
44
44
  const fs = yield* FSUtil.Service;
45
45
  const global = yield* Global.Service;
46
- const location = yield* Service79;
47
- const watcher = yield* Service52;
46
+ const location = yield* Service80;
47
+ const watcher = yield* Service60;
48
48
  const loaded = {
49
49
  entries: yield* config.entries(),
50
50
  skills: []
@@ -87,7 +87,7 @@ var Plugin35 = define({
87
87
  const sources = () => {
88
88
  const result = [];
89
89
  const add = (source) => {
90
- if (result.some((item) => Source3.equals(item, source)))
90
+ if (result.some((item) => Source4.equals(item, source)))
91
91
  return;
92
92
  result.push(source);
93
93
  };
@@ -112,7 +112,7 @@ var Plugin35 = define({
112
112
  };
113
113
  const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
114
114
  const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
115
- source: Source3.key(source),
115
+ source: Source4.key(source),
116
116
  cause
117
117
  }).pipe(Effect.as([]))));
118
118
  const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
@@ -141,7 +141,7 @@ var Plugin35 = define({
141
141
  }
142
142
  }
143
143
  yield* Effect.logDebug("skill source loaded", {
144
- source: Source3.key(source),
144
+ source: Source4.key(source),
145
145
  type: source.type,
146
146
  directories,
147
147
  skills: skills.map((skill) => skill.id)
@@ -160,7 +160,7 @@ var Plugin35 = define({
160
160
  if (file) {
161
161
  yield* Effect.logInfo("skills rescanned", {
162
162
  file,
163
- sources: current.map(Source3.key),
163
+ sources: current.map(Source4.key),
164
164
  skills: loaded.skills.map((skill) => skill.id)
165
165
  });
166
166
  }
@@ -176,4 +176,4 @@ var Plugin35 = define({
176
176
  })
177
177
  });
178
178
 
179
- export { Plugin35, exports_skill3 };
179
+ export { Plugin15, exports_skill };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  SQLiteEffectCountBuilder2
3
- } from "./generate-f0mxakyp.js";
3
+ } from "./location-f0mxakyp.js";
4
4
  import {
5
5
  SQLiteEffectDeleteBase2
6
- } from "./generate-w3wsvvr9.js";
6
+ } from "./location-w3wsvvr9.js";
7
7
  import {
8
8
  SQLiteEffectInsertBuilder2
9
- } from "./generate-7bmhse3q.js";
9
+ } from "./location-7bmhse3q.js";
10
10
  import {
11
11
  SQLiteEffectRelationalQueryBuilder2
12
- } from "./generate-cf4snx6d.js";
12
+ } from "./location-cf4snx6d.js";
13
13
  import {
14
14
  SQLiteEffectRaw2
15
- } from "./generate-822emrt2.js";
15
+ } from "./location-822emrt2.js";
16
16
  import {
17
17
  SQLiteEffectSelectBuilder2
18
- } from "./generate-wd87259q.js";
18
+ } from "./location-wd87259q.js";
19
19
  import {
20
20
  SQLiteEffectUpdateBuilder2
21
- } from "./generate-m9w0rfyh.js";
21
+ } from "./location-m9w0rfyh.js";
22
22
 
23
23
  // src/database/drizzle/sqlite-core/effect/db.ts
24
24
  import { Effect } from "effect";
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./generate-hqax1sk6.js";
4
+ } from "./location-kpagms85.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./generate-ckecvw8r.js";
7
+ } from "./location-54tcyq79.js";
8
8
  import {
9
9
  __export
10
- } from "./generate-9rqn6x4v.js";
10
+ } from "./location-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  AddInput: () => AddInput2,
16
- ID: () => ID13,
16
+ ID: () => ID14,
17
17
  Info: () => Info28,
18
- ListInput: () => ListInput5,
18
+ ListInput: () => ListInput4,
19
19
  PermissionSaved: () => exports_saved,
20
20
  Service: () => Service76,
21
21
  node: () => node80
@@ -25,9 +25,9 @@ import { Context, DateTime, Effect, Layer, Schema } from "effect";
25
25
  import { Project } from "@opencode/schema/project";
26
26
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode/schema/permission-saved";
28
- var ID13 = PermissionSaved.ID;
28
+ var ID14 = PermissionSaved.ID;
29
29
  var Info28 = PermissionSaved.Info;
30
- var ListInput5 = Schema.Struct({
30
+ var ListInput4 = Schema.Struct({
31
31
  projectID: Project.ID.pipe(Schema.optional)
32
32
  }).annotate({ identifier: "PermissionSaved.ListInput" });
33
33
  var AddInput2 = Schema.Struct({
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
57
57
  if (!input.resources.length)
58
58
  return;
59
59
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
60
- id: ID13.create(),
60
+ id: ID14.create(),
61
61
  project_id: input.projectID,
62
62
  action: input.action,
63
63
  resource
@@ -70,4 +70,4 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
70
70
  }));
71
71
  var node80 = makeGlobalNode({ service: Service76, layer, deps: [node88] });
72
72
 
73
- export { ID13, Info28, ListInput5, AddInput2, Service76, node80, exports_saved };
73
+ export { ID14, Info28, ListInput4, AddInput2, Service76, node80, exports_saved };
@@ -1,38 +1,38 @@
1
1
  import {
2
- Service79
3
- } from "./generate-0rkxpd3w.js";
2
+ Service80
3
+ } from "./location-6h3d6agz.js";
4
4
  import {
5
- Service59
6
- } from "./generate-bgbs76xx.js";
5
+ Service73
6
+ } from "./location-v9m5zf1e.js";
7
7
  import {
8
- Service58,
8
+ Service16,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./generate-jrwd5gjp.js";
11
+ } from "./location-xb7aahsd.js";
12
12
  import {
13
- Service16
14
- } from "./generate-m40fkmb4.js";
13
+ Service18
14
+ } from "./location-c6bhh4n4.js";
15
15
  import {
16
- Service74
17
- } from "./generate-8j75q05v.js";
16
+ Service75
17
+ } from "./location-n9gphx1q.js";
18
18
  import {
19
- Service57,
19
+ Service19,
20
20
  resolvePath2
21
- } from "./generate-na4s0x3w.js";
21
+ } from "./location-2xyf62b8.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./generate-6prwharc.js";
24
+ } from "./location-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./generate-9rqn6x4v.js";
27
+ } from "./location-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
33
  Input: () => Input10,
34
- Output: () => Output8,
35
- Plugin: () => Plugin13,
34
+ Output: () => Output6,
35
+ Plugin: () => Plugin29,
36
36
  name: () => name10
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
@@ -50,7 +50,7 @@ var Input10 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output8 = Schema.Struct({
53
+ var Output6 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
103
103
  return result;
104
104
  }, []);
105
105
  };
106
- var Plugin13 = {
106
+ var Plugin29 = {
107
107
  id: "opencode.tool.edit",
108
108
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
109
- const access = yield* Service57;
110
- const fileMutation = yield* Service58;
111
- const environment = yield* Service59;
112
- const formatter = yield* Service16;
113
- const location = yield* Service79;
114
- const permission = yield* Service74;
109
+ const access = yield* Service19;
110
+ const fileMutation = yield* Service16;
111
+ const environment = yield* Service73;
112
+ const formatter = yield* Service18;
113
+ const location = yield* Service80;
114
+ const permission = yield* Service75;
115
115
  yield* ctx.tool.transform((editor) => editor.add({
116
116
  name: name10,
117
117
  options: { codemode: false, permission: "edit" },
118
118
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
119
119
  input: Input10,
120
- output: Output8,
120
+ output: Output6,
121
121
  execute: (input, context) => {
122
122
  return Effect.gen(function* () {
123
123
  const permissionSource = {
@@ -194,4 +194,4 @@ var Plugin13 = {
194
194
  })
195
195
  };
196
196
 
197
- export { name10, Input10, Output8, Plugin13, exports_edit };
197
+ export { name10, Input10, Output6, Plugin29, exports_edit };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./generate-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/config/plugin/entry-observer.ts
6
6
  var exports_entry_observer = {};