@opencode/core 0.0.0-dev-20649 → 0.0.0-dev-20650

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 (780) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{mime-9qvg3h9w.js → location-services-001b00fp.js} +93 -93
  8. package/dist/chunks/{mime-npzkpwms.js → location-services-085tpkqt.js} +10 -10
  9. package/dist/chunks/{mime-sb6an3dy.js → location-services-0a1e8d3s.js} +5 -5
  10. package/dist/chunks/{mime-tz5y8hw2.js → location-services-0arksaxe.js} +16 -16
  11. package/dist/chunks/{mime-as7cf5zz.js → location-services-0dygnakk.js} +4 -4
  12. package/dist/chunks/{mime-2nhfnjcw.js → location-services-0ekp7bk0.js} +19 -19
  13. package/dist/chunks/{mime-9hyysrhy.js → location-services-0ft2m84j.js} +11 -11
  14. package/dist/chunks/{mime-0paq2nw3.js → location-services-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{mime-jxd6d72w.js → location-services-0sw34p9e.js} +1 -1
  16. package/dist/chunks/{mime-h1qnxspz.js → location-services-0t7w7e1z.js} +36 -36
  17. package/dist/chunks/{mime-0vbcp93d.js → location-services-0vbcp93d.js} +2 -2
  18. package/dist/chunks/{mime-j9g4e7w9.js → location-services-14r5wq43.js} +23 -23
  19. package/dist/chunks/{mime-a1nag75j.js → location-services-16e73rhv.js} +4 -4
  20. package/dist/chunks/{mime-3hx84xbv.js → location-services-17yrvmpn.js} +36 -36
  21. package/dist/chunks/{mime-r8xr0va3.js → location-services-1acjjqhc.js} +4 -4
  22. package/dist/chunks/{mime-kn1g41v8.js → location-services-1bk9khzn.js} +33 -33
  23. package/dist/chunks/{mime-1dazxqgg.js → location-services-1dazxqgg.js} +2 -2
  24. package/dist/chunks/{mime-kbx4g6d9.js → location-services-1nzp712d.js} +32 -32
  25. package/dist/chunks/{mime-86qzxe6p.js → location-services-1y283654.js} +4 -4
  26. package/dist/chunks/location-services-1yrx8st6.js +507 -0
  27. package/dist/chunks/{mime-2sdz7qh7.js → location-services-2486f0gc.js} +49 -49
  28. package/dist/chunks/{mime-7hwp9pe8.js → location-services-24vj1m2f.js} +15 -15
  29. package/dist/chunks/{mime-vxzh5eqq.js → location-services-2a49rb13.js} +4 -4
  30. package/dist/chunks/{mime-2a5m3afh.js → location-services-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{mime-59s0kgwy.js → location-services-2b32xhw2.js} +3 -3
  32. package/dist/chunks/{mime-vk6h2smq.js → location-services-2h1dy14m.js} +16 -16
  33. package/dist/chunks/{mime-spf27589.js → location-services-2p1kqprv.js} +4 -4
  34. package/dist/chunks/{mime-mypwhdkk.js → location-services-2p5y98w0.js} +6 -6
  35. package/dist/chunks/{mime-3thfs4vd.js → location-services-2sp9vt4c.js} +1 -1
  36. package/dist/chunks/{mime-szavfcg2.js → location-services-2vhq75nc.js} +6 -6
  37. package/dist/chunks/{mime-03d19y83.js → location-services-33beq0ma.js} +4 -4
  38. package/dist/chunks/{mime-f3kq77fw.js → location-services-3a4786ab.js} +26 -26
  39. package/dist/chunks/{mime-qjev0pmq.js → location-services-3a91dp8a.js} +6 -6
  40. package/dist/chunks/{mime-ds77a3s3.js → location-services-3atax22v.js} +39 -39
  41. package/dist/chunks/{mime-5fb55ywp.js → location-services-3b9qt4hj.js} +9 -9
  42. package/dist/chunks/{mime-h2b79v29.js → location-services-3cegwx68.js} +2 -2
  43. package/dist/chunks/{mime-3fc6dm20.js → location-services-3fc6dm20.js} +1 -1
  44. package/dist/chunks/{mime-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
  45. package/dist/chunks/{mime-va8pbtsb.js → location-services-3m50rrjg.js} +27 -27
  46. package/dist/chunks/{mime-ywq4z9t2.js → location-services-3mt2dy6d.js} +16 -16
  47. package/dist/chunks/{mime-3smtnn6g.js → location-services-3smtnn6g.js} +1 -1
  48. package/dist/chunks/{mime-99773vnq.js → location-services-3ss9g85e.js} +43 -43
  49. package/dist/chunks/{mime-3tvqynh2.js → location-services-3tvqynh2.js} +1 -1
  50. package/dist/chunks/{mime-3rd28rcz.js → location-services-3zbwexce.js} +11 -11
  51. package/dist/chunks/{mime-3zsf4n22.js → location-services-3zsf4n22.js} +1 -1
  52. package/dist/chunks/{mime-ha65gv77.js → location-services-41g1yh39.js} +20 -20
  53. package/dist/chunks/{mime-n8vdnqrc.js → location-services-47jkzegy.js} +5 -5
  54. package/dist/chunks/{mime-wpwvc70n.js → location-services-4ajkbp3f.js} +11 -11
  55. package/dist/chunks/{mime-yx80kbmw.js → location-services-4ax7xn0r.js} +3 -3
  56. package/dist/chunks/{mime-58phr483.js → location-services-4cz0dkbb.js} +78 -78
  57. package/dist/chunks/{mime-mz925t54.js → location-services-4dygtpfc.js} +5 -5
  58. package/dist/chunks/{mime-m6yxcdx8.js → location-services-4fag9mqx.js} +30 -30
  59. package/dist/chunks/{mime-61zpm44j.js → location-services-4fwcrk1h.js} +11 -11
  60. package/dist/chunks/{mime-2wjfq3y1.js → location-services-4htcxagg.js} +14 -14
  61. package/dist/chunks/{mime-vy452p9v.js → location-services-4maebaja.js} +13 -13
  62. package/dist/chunks/{mime-2ccvkpx1.js → location-services-4ts7tf6z.js} +2 -2
  63. package/dist/chunks/{mime-ncj3k1yy.js → location-services-50s4shqd.js} +29 -29
  64. package/dist/chunks/{mime-e5ncbec4.js → location-services-514hvnh9.js} +16 -16
  65. package/dist/chunks/{mime-0hwq8h39.js → location-services-51khb7z6.js} +9 -9
  66. package/dist/chunks/{mime-54ma36ye.js → location-services-54ma36ye.js} +1 -1
  67. package/dist/chunks/{mime-1ygqh575.js → location-services-56gdpj1q.js} +9 -9
  68. package/dist/chunks/{mime-na7gn6xf.js → location-services-5b7tqepp.js} +23 -23
  69. package/dist/chunks/{mime-5daktx2q.js → location-services-5daktx2q.js} +1 -1
  70. package/dist/chunks/{mime-5m9w47nd.js → location-services-5m9w47nd.js} +1 -1
  71. package/dist/chunks/{mime-e3qxr5gk.js → location-services-5qd3pb7m.js} +2 -2
  72. package/dist/chunks/{mime-bxcw0mka.js → location-services-5rmxkhg6.js} +10 -10
  73. package/dist/chunks/{mime-5t3nmthw.js → location-services-5t3nmthw.js} +2 -2
  74. package/dist/chunks/{mime-7zx1qa5e.js → location-services-607px8n0.js} +10 -10
  75. package/dist/chunks/{mime-pe057h99.js → location-services-6bykwcaq.js} +28 -28
  76. package/dist/chunks/{mime-k1qrnqst.js → location-services-6c7yw9pm.js} +8 -8
  77. package/dist/chunks/{mime-16c21bq7.js → location-services-6mncfa04.js} +13 -13
  78. package/dist/chunks/{mime-bryryzyy.js → location-services-6qw1qkre.js} +11 -11
  79. package/dist/chunks/{mime-ndn3sg6m.js → location-services-6tg9txw5.js} +3 -3
  80. package/dist/chunks/{mime-6xb47vfp.js → location-services-6xb47vfp.js} +1 -1
  81. package/dist/chunks/{mime-rq7mwymb.js → location-services-71s3sq4y.js} +27 -27
  82. package/dist/chunks/{mime-k63gn3x0.js → location-services-727zjhnd.js} +4 -4
  83. package/dist/chunks/{mime-ws8rf1n9.js → location-services-72d0mfn3.js} +15 -15
  84. package/dist/chunks/{mime-ksgsjq6b.js → location-services-7b0ws6vd.js} +17 -17
  85. package/dist/chunks/{mime-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
  86. package/dist/chunks/{mime-564aqkfr.js → location-services-7bwwwg4f.js} +46 -46
  87. package/dist/chunks/{mime-1dvck2a7.js → location-services-84h8c373.js} +2 -2
  88. package/dist/chunks/{mime-93z3pz9m.js → location-services-8c63zdcr.js} +29 -29
  89. package/dist/chunks/{mime-8d7r5vzw.js → location-services-8d7r5vzw.js} +1 -1
  90. package/dist/chunks/{mime-jktqzjpa.js → location-services-8sze2n9a.js} +4 -4
  91. package/dist/chunks/location-services-8y9ejeyn.js +26 -0
  92. package/dist/chunks/{mime-tcqa4h8g.js → location-services-8yh9yfq0.js} +12 -12
  93. package/dist/chunks/{mime-v553wp33.js → location-services-956t9e47.js} +48 -48
  94. package/dist/chunks/{mime-tgwh4g45.js → location-services-9a8g5ab0.js} +3 -3
  95. package/dist/chunks/{mime-070fvye4.js → location-services-9jbn959z.js} +45 -45
  96. package/dist/chunks/{mime-xawtvtgk.js → location-services-9r937kg5.js} +45 -45
  97. package/dist/chunks/{mime-har29xsp.js → location-services-9ykrx1qq.js} +9 -9
  98. package/dist/chunks/{mime-cn48saaq.js → location-services-a16hf74s.js} +15 -15
  99. package/dist/chunks/{mime-pd812h7a.js → location-services-a20mmbrw.js} +8 -8
  100. package/dist/chunks/{mime-yqpe8af8.js → location-services-aa33dgcr.js} +22 -22
  101. package/dist/chunks/{mime-aaet6srn.js → location-services-aaet6srn.js} +2 -2
  102. package/dist/chunks/{mime-ag7r9101.js → location-services-ambyqp62.js} +11 -11
  103. package/dist/chunks/{mime-34vqaa0j.js → location-services-ampgcpe6.js} +32 -32
  104. package/dist/chunks/{mime-6540dvt1.js → location-services-ara0ca5b.js} +7 -7
  105. package/dist/chunks/{mime-b6gygkdw.js → location-services-b6gygkdw.js} +2 -2
  106. package/dist/chunks/{mime-pzhq4eaf.js → location-services-bd0g7wdn.js} +15 -15
  107. package/dist/chunks/{mime-h05y6get.js → location-services-bexxj179.js} +25 -25
  108. package/dist/chunks/{mime-3fw4vykw.js → location-services-bj4d9qfd.js} +28 -28
  109. package/dist/chunks/{mime-vjmwwnet.js → location-services-bss16c77.js} +4 -4
  110. package/dist/chunks/{mime-4tamdkr5.js → location-services-bxpjjjkj.js} +2 -2
  111. package/dist/chunks/{mime-fpnx24t4.js → location-services-c2sed5cq.js} +3 -3
  112. package/dist/chunks/{mime-b644w2ar.js → location-services-c6wv61cx.js} +6 -6
  113. package/dist/chunks/{mime-6m42r3np.js → location-services-cavr175a.js} +21 -21
  114. package/dist/chunks/{mime-27xqmrb2.js → location-services-cbkmvndh.js} +11 -11
  115. package/dist/chunks/{mime-5mqyks12.js → location-services-cm8pqatr.js} +18 -18
  116. package/dist/chunks/{mime-93exgp6v.js → location-services-csfhn2wr.js} +54 -54
  117. package/dist/chunks/{mime-aet780dh.js → location-services-cwwzrss4.js} +6 -6
  118. package/dist/chunks/{mime-hkx83aab.js → location-services-cx8ek9kt.js} +3 -3
  119. package/dist/chunks/{mime-13qx119e.js → location-services-cyw6svx6.js} +10 -10
  120. package/dist/chunks/{mime-38adaqc0.js → location-services-d1r5081s.js} +5 -5
  121. package/dist/chunks/{mime-hs1x7rht.js → location-services-d1sprev3.js} +12 -12
  122. package/dist/chunks/{mime-qmqgtz8f.js → location-services-d4he2qe1.js} +9 -9
  123. package/dist/chunks/{mime-z92vphtz.js → location-services-dfsz33p3.js} +12 -12
  124. package/dist/chunks/{mime-h9dg90ta.js → location-services-ds99stjk.js} +7 -7
  125. package/dist/chunks/{mime-12n08y7q.js → location-services-e2tbx933.js} +8 -8
  126. package/dist/chunks/{mime-fb2y2dbg.js → location-services-e2v8ft38.js} +11 -11
  127. package/dist/chunks/{mime-ef5x83kb.js → location-services-ef5x83kb.js} +1 -1
  128. package/dist/chunks/{mime-3py696r4.js → location-services-ef7m5ry9.js} +11 -11
  129. package/dist/chunks/{mime-etq0c3wd.js → location-services-etq0c3wd.js} +1 -1
  130. package/dist/chunks/{mime-vb17zyzn.js → location-services-ezx0c3nt.js} +11 -11
  131. package/dist/chunks/{mime-n11krz91.js → location-services-f210znyg.js} +49 -49
  132. package/dist/chunks/{mime-p1ve58ng.js → location-services-f6ngde2n.js} +37 -37
  133. package/dist/chunks/{mime-71az546q.js → location-services-f75zav2x.js} +2 -2
  134. package/dist/chunks/{mime-6cpwc79d.js → location-services-fb9bde3m.js} +25 -25
  135. package/dist/chunks/{mime-2k8khapm.js → location-services-fcrkznn8.js} +5 -5
  136. package/dist/chunks/{mime-r9w3djhf.js → location-services-ftjf86m5.js} +9 -9
  137. package/dist/chunks/{mime-170w37en.js → location-services-fwbcrs20.js} +1 -1
  138. package/dist/chunks/{mime-ze3jqpvg.js → location-services-g00c25k7.js} +23 -23
  139. package/dist/chunks/{mime-jk8bzzjw.js → location-services-g0ahba55.js} +4 -4
  140. package/dist/chunks/{mime-2nthby9b.js → location-services-g2r84ert.js} +30 -30
  141. package/dist/chunks/{mime-wvy7zsan.js → location-services-g5696t09.js} +9 -9
  142. package/dist/chunks/{mime-w2h15q85.js → location-services-g6yfr6ja.js} +5 -5
  143. package/dist/chunks/{mime-4x0vy5hp.js → location-services-gcst2knj.js} +8 -8
  144. package/dist/chunks/{mime-gd4qta3r.js → location-services-gd4qta3r.js} +1 -1
  145. package/dist/chunks/{mime-myn0gkp2.js → location-services-gfwyksye.js} +22 -22
  146. package/dist/chunks/{mime-eqdfs7ht.js → location-services-gfzdj97b.js} +6 -6
  147. package/dist/chunks/{mime-zxxyec0p.js → location-services-ghz6dcrw.js} +11 -11
  148. package/dist/chunks/{mime-3ch2ac9z.js → location-services-gj5tgtsk.js} +13 -13
  149. package/dist/chunks/{mime-g530ctaj.js → location-services-gk7ynedz.js} +8 -8
  150. package/dist/chunks/{mime-1mdr38wd.js → location-services-gv7x5wm3.js} +22 -22
  151. package/dist/chunks/{mime-vqbdn0d9.js → location-services-gy6z8b7d.js} +24 -24
  152. package/dist/chunks/{mime-h6vf3j39.js → location-services-h6vf3j39.js} +1 -1
  153. package/dist/chunks/{mime-xz9m3t1f.js → location-services-h9wapceb.js} +18 -18
  154. package/dist/chunks/{mime-04mq6ee8.js → location-services-hc5gcwsj.js} +30 -30
  155. package/dist/chunks/{mime-b3f8fkhc.js → location-services-hdkng2sj.js} +5 -5
  156. package/dist/chunks/{mime-ghcmpcfh.js → location-services-hjbndmcs.js} +9 -9
  157. package/dist/chunks/location-services-hydj2j77.js +253 -0
  158. package/dist/chunks/{mime-ky7drcmt.js → location-services-j01q2zrr.js} +13 -13
  159. package/dist/chunks/{mime-z99td3vh.js → location-services-j12as4v5.js} +6 -6
  160. package/dist/chunks/{mime-jrc5bn6s.js → location-services-j4rr3b6f.js} +11 -11
  161. package/dist/chunks/{mime-cca1v9sb.js → location-services-j54377ah.js} +13 -13
  162. package/dist/chunks/{mime-j56e64zr.js → location-services-j56e64zr.js} +1 -1
  163. package/dist/chunks/{mime-f3cq72f8.js → location-services-j59bqac0.js} +30 -30
  164. package/dist/chunks/{mime-n88acrca.js → location-services-j5kyfhbh.js} +11 -11
  165. package/dist/chunks/{mime-v7z2bvyd.js → location-services-j8m1p4p1.js} +4 -4
  166. package/dist/chunks/{mime-qreg5ges.js → location-services-jan553tg.js} +140 -140
  167. package/dist/chunks/{mime-kz8ps502.js → location-services-jb2g91f3.js} +12 -12
  168. package/dist/chunks/{mime-vw5a0rfv.js → location-services-jcs5e93a.js} +2 -2
  169. package/dist/chunks/{mime-sjq3gc3m.js → location-services-jegrxnf3.js} +6 -6
  170. package/dist/chunks/{mime-gphzfxhq.js → location-services-jkjj242p.js} +29 -29
  171. package/dist/chunks/location-services-jqh9b0xq.js +18 -0
  172. package/dist/chunks/{mime-hy49mbwe.js → location-services-jx32pc59.js} +15 -15
  173. package/dist/chunks/{mime-w4afprn7.js → location-services-jxkc3myh.js} +19 -19
  174. package/dist/chunks/{mime-ghe998k5.js → location-services-kaa3dmqg.js} +18 -18
  175. package/dist/chunks/{mime-9e5bzkjp.js → location-services-kb9j3d72.js} +3 -3
  176. package/dist/chunks/{mime-8gxsn6kg.js → location-services-kkk3xdpb.js} +42 -42
  177. package/dist/chunks/{mime-c9e1chd6.js → location-services-kn3avxvj.js} +13 -13
  178. package/dist/chunks/{mime-v1q4cba8.js → location-services-kt67x2pe.js} +6 -6
  179. package/dist/chunks/{mime-h696b5ha.js → location-services-kxz2jsw3.js} +29 -29
  180. package/dist/chunks/{mime-m3fdjcah.js → location-services-m3fdjcah.js} +1 -1
  181. package/dist/chunks/{mime-tevtjb4d.js → location-services-m7ztr8b1.js} +18 -18
  182. package/dist/chunks/{mime-jskn7g1e.js → location-services-m91sy8b7.js} +5 -5
  183. package/dist/chunks/{mime-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{mime-yjspgx20.js → location-services-mb14aw74.js} +2 -2
  185. package/dist/chunks/{mime-5wn8k982.js → location-services-mx1p25e3.js} +28 -28
  186. package/dist/chunks/{mime-1rn5pcm9.js → location-services-n1n192bv.js} +4 -4
  187. package/dist/chunks/{mime-y8j7y9g5.js → location-services-n68t0apf.js} +16 -16
  188. package/dist/chunks/{mime-qt8b63p3.js → location-services-n6svg889.js} +14 -14
  189. package/dist/chunks/{mime-r7a7bxfj.js → location-services-nbdxm3p1.js} +15 -15
  190. package/dist/chunks/{mime-gkhvwrqw.js → location-services-ne96ewy3.js} +23 -23
  191. package/dist/chunks/{mime-2vdde78z.js → location-services-ngyrtr94.js} +9 -9
  192. package/dist/chunks/{mime-0yzyde6c.js → location-services-nnyt92w2.js} +17 -17
  193. package/dist/chunks/{mime-xp3fh2h7.js → location-services-ns3eape4.js} +1 -1
  194. package/dist/chunks/{mime-9cnwn640.js → location-services-nt3x6kk1.js} +13 -13
  195. package/dist/chunks/{mime-dpkg50ah.js → location-services-nxm207yx.js} +4 -4
  196. package/dist/chunks/{mime-393wq71a.js → location-services-p3cjk3f5.js} +22 -22
  197. package/dist/chunks/{mime-9hn6k4tm.js → location-services-pa8pe2x7.js} +8 -8
  198. package/dist/chunks/{mime-v9aw5k7b.js → location-services-pc2ca7gw.js} +15 -15
  199. package/dist/chunks/{mime-pjvnvgmy.js → location-services-pjvnvgmy.js} +1 -1
  200. package/dist/chunks/{mime-pknna89w.js → location-services-pknna89w.js} +1 -1
  201. package/dist/chunks/{mime-n14gvf56.js → location-services-psf10pda.js} +21 -21
  202. package/dist/chunks/{mime-s0txbpxx.js → location-services-pshwgvdq.js} +27 -27
  203. package/dist/chunks/{mime-0j77ygfz.js → location-services-q0xm7vwc.js} +6 -6
  204. package/dist/chunks/{mime-1b37m1mh.js → location-services-q479fbf4.js} +17 -17
  205. package/dist/chunks/{mime-pfcsshcq.js → location-services-qam4srmn.js} +33 -33
  206. package/dist/chunks/{mime-qnc92qwc.js → location-services-qnc92qwc.js} +1 -1
  207. package/dist/chunks/{mime-ds0wtj4e.js → location-services-qpk58yzq.js} +1 -1
  208. package/dist/chunks/{mime-qsdy395h.js → location-services-qsdy395h.js} +1 -1
  209. package/dist/chunks/{mime-qxjc9qry.js → location-services-qxjc9qry.js} +3 -3
  210. package/dist/chunks/{mime-5g9khqm3.js → location-services-qymnwkpy.js} +9 -9
  211. package/dist/chunks/{mime-0fan8waa.js → location-services-r33djvem.js} +16 -16
  212. package/dist/chunks/{mime-q3ersh05.js → location-services-r3q6pmcz.js} +6 -6
  213. package/dist/chunks/{mime-mhkvc446.js → location-services-r5x6zcsm.js} +3 -3
  214. package/dist/chunks/{mime-1j858gve.js → location-services-rcw89xq3.js} +17 -17
  215. package/dist/chunks/{mime-rdw6cm16.js → location-services-rdw6cm16.js} +1 -1
  216. package/dist/chunks/{mime-dtt66365.js → location-services-re7zz5fm.js} +22 -22
  217. package/dist/chunks/{mime-rhjbct0v.js → location-services-rhjbct0v.js} +1 -1
  218. package/dist/chunks/{mime-p1dcwdyv.js → location-services-rzwydysx.js} +26 -26
  219. package/dist/chunks/{mime-cs0pyha6.js → location-services-s3h11364.js} +21 -21
  220. package/dist/chunks/{mime-d9v54453.js → location-services-s7yezqte.js} +25 -25
  221. package/dist/chunks/{mime-w2p0hagm.js → location-services-sgn5w1sc.js} +14 -14
  222. package/dist/chunks/{mime-ea5vh3bk.js → location-services-sjs9ezqr.js} +47 -47
  223. package/dist/chunks/{mime-vq5be08n.js → location-services-smha7wt5.js} +1 -1
  224. package/dist/chunks/{mime-5g9tk4c4.js → location-services-sq42pm77.js} +28 -28
  225. package/dist/chunks/{mime-gh5z95q3.js → location-services-srq8z0b0.js} +9 -9
  226. package/dist/chunks/{mime-dtm252p1.js → location-services-ssew6xnx.js} +5 -5
  227. package/dist/chunks/{mime-ry36jsf7.js → location-services-t01ewf6t.js} +11 -11
  228. package/dist/chunks/{mime-sxz6gkc3.js → location-services-t2fc4mz5.js} +7 -7
  229. package/dist/chunks/{mime-06x8he3q.js → location-services-t7n9q6bq.js} +4 -4
  230. package/dist/chunks/{mime-tazgh4e4.js → location-services-tazgh4e4.js} +1 -1
  231. package/dist/chunks/{mime-vqfzq50h.js → location-services-tcay1cqt.js} +6 -6
  232. package/dist/chunks/{mime-89znhe33.js → location-services-tcezcvh9.js} +4 -4
  233. package/dist/chunks/{mime-tdstcens.js → location-services-tdstcens.js} +1 -1
  234. package/dist/chunks/{mime-p6cz1f6w.js → location-services-thg5jy7b.js} +14 -14
  235. package/dist/chunks/{mime-p02g0fw2.js → location-services-thrv5kr1.js} +30 -30
  236. package/dist/chunks/{mime-23h4de3k.js → location-services-tpty64js.js} +14 -14
  237. package/dist/chunks/{mime-gdmg3xqt.js → location-services-tvm9nqz9.js} +18 -18
  238. package/dist/chunks/{mime-v0es1rhs.js → location-services-v0es1rhs.js} +2 -2
  239. package/dist/chunks/{mime-31b5zmy0.js → location-services-v1qd983m.js} +23 -23
  240. package/dist/chunks/{mime-e9dcgzx6.js → location-services-v5hevtyx.js} +2 -2
  241. package/dist/chunks/{mime-veqvce7d.js → location-services-veqvce7d.js} +1 -1
  242. package/dist/chunks/{mime-kvvdvz0d.js → location-services-vfgsn3pb.js} +28 -28
  243. package/dist/chunks/{mime-3ktk39h6.js → location-services-vmd3sd6p.js} +18 -18
  244. package/dist/chunks/{mime-43efg38y.js → location-services-vrc04fwg.js} +11 -11
  245. package/dist/chunks/{mime-z2mbgn3s.js → location-services-vre0f3v3.js} +60 -60
  246. package/dist/chunks/{mime-faajnp1h.js → location-services-vrsc6b4y.js} +8 -8
  247. package/dist/chunks/{mime-tk9ew89t.js → location-services-vwpcpzep.js} +8 -8
  248. package/dist/chunks/{mime-ccdh6zge.js → location-services-vym6yw1t.js} +13 -13
  249. package/dist/chunks/{mime-vzs5sf6e.js → location-services-vzs5sf6e.js} +1 -1
  250. package/dist/chunks/{mime-3qhg2zya.js → location-services-vzx68d5n.js} +8 -8
  251. package/dist/chunks/{mime-84txncab.js → location-services-w1eejvng.js} +5 -5
  252. package/dist/chunks/{mime-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{mime-pkw6pxyw.js → location-services-waec0c3j.js} +26 -26
  254. package/dist/chunks/{mime-vkt5fbj2.js → location-services-was7srj9.js} +8 -8
  255. package/dist/chunks/{mime-wd87259q.js → location-services-wd87259q.js} +1 -1
  256. package/dist/chunks/{mime-kj8me5dh.js → location-services-wfctfrf2.js} +1 -1
  257. package/dist/chunks/{mime-wbfm5czg.js → location-services-wj9bqc1j.js} +27 -27
  258. package/dist/chunks/{mime-8nzt4413.js → location-services-wvws9fm3.js} +11 -11
  259. package/dist/chunks/{mime-y5jr1bsy.js → location-services-wz6j5yqf.js} +99 -99
  260. package/dist/chunks/{mime-c2hscm47.js → location-services-x53k8vh3.js} +32 -32
  261. package/dist/chunks/{mime-addxnjmp.js → location-services-x661k3y3.js} +4 -4
  262. package/dist/chunks/{mime-d009mnpz.js → location-services-x7hmwq28.js} +28 -28
  263. package/dist/chunks/{mime-fd1b7pt2.js → location-services-x7ytz0vq.js} +18 -18
  264. package/dist/chunks/{mime-w19d8598.js → location-services-xfkkasph.js} +5 -5
  265. package/dist/chunks/{mime-x4aqza7e.js → location-services-xg7rec9w.js} +9 -9
  266. package/dist/chunks/{mime-xkntkrq7.js → location-services-xkntkrq7.js} +2 -2
  267. package/dist/chunks/{mime-93ymncz8.js → location-services-xzv6qj2m.js} +24 -24
  268. package/dist/chunks/{mime-y1fvbwt7.js → location-services-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{mime-9pnm2vv9.js → location-services-y8shr9gw.js} +29 -29
  270. package/dist/chunks/{mime-vw2nt98j.js → location-services-yk982qs6.js} +9 -9
  271. package/dist/chunks/{mime-f44mjg6h.js → location-services-ynmx16w6.js} +4 -4
  272. package/dist/chunks/{mime-fhz5gfgy.js → location-services-yt3hy1g9.js} +5 -5
  273. package/dist/chunks/{mime-j6gcmj6w.js → location-services-ywpk00n5.js} +11 -11
  274. package/dist/chunks/{mime-9ne60yjh.js → location-services-z07zh9w3.js} +25 -25
  275. package/dist/chunks/{mime-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{mime-3h16yct6.js → location-services-z4swa18j.js} +9 -9
  277. package/dist/chunks/{mime-zq5qms4d.js → location-services-z8rw9kn4.js} +8 -8
  278. package/dist/chunks/{mime-3rz5q6jx.js → location-services-zacf2nwq.js} +13 -13
  279. package/dist/chunks/{mime-penzfr98.js → location-services-zdtpkxz5.js} +11 -11
  280. package/dist/chunks/{mime-00qg2tcw.js → location-services-zg3msdzq.js} +15 -15
  281. package/dist/chunks/{mime-zr2ceqn5.js → location-services-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{mime-zrq8kphx.js → location-services-zrq8kphx.js} +1 -1
  283. package/dist/chunks/{mime-esfhhzdr.js → location-services-zxga9rac.js} +28 -28
  284. package/dist/chunks/{mime-zxq2ej10.js → location-services-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +7 -7
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +85 -85
  290. package/dist/config/discovery.js +84 -84
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +99 -99
  293. package/dist/config/plugin/agent.js +118 -118
  294. package/dist/config/plugin/command.js +207 -207
  295. package/dist/config/plugin/compaction.js +154 -154
  296. package/dist/config/plugin/compatibility.js +134 -134
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +117 -117
  299. package/dist/config/plugin/image.js +116 -116
  300. package/dist/config/plugin/instruction.js +90 -90
  301. package/dist/config/plugin/location-watcher.js +116 -116
  302. package/dist/config/plugin/mcp.js +125 -125
  303. package/dist/config/plugin/policy.js +117 -117
  304. package/dist/config/plugin/provider.js +116 -116
  305. package/dist/config/plugin/reference.js +118 -118
  306. package/dist/config/plugin/shell.js +116 -116
  307. package/dist/config/plugin/skill-file.js +102 -102
  308. package/dist/config/plugin/skill.js +137 -137
  309. package/dist/config/plugin/snapshot.js +116 -116
  310. package/dist/config/plugin/source.js +119 -119
  311. package/dist/config/plugin/tool-output.js +117 -117
  312. package/dist/config/plugin/websearch.js +115 -115
  313. package/dist/config/plugin/worktree.js +118 -118
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +119 -119
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +81 -81
  319. package/dist/database/database.js +70 -70
  320. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +15 -15
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +16 -16
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration.gen.js +49 -49
  385. package/dist/database/migration.js +51 -51
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +79 -79
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +363 -363
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +93 -93
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +93 -93
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +74 -74
  409. package/dist/file-access.js +104 -104
  410. package/dist/file-mutation.js +94 -94
  411. package/dist/file-retention.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +218 -218
  418. package/dist/filesystem/protected.js +3 -3
  419. package/dist/filesystem/search.js +103 -103
  420. package/dist/filesystem/watcher-binding.js +3 -3
  421. package/dist/filesystem/watcher.js +13 -13
  422. package/dist/filesystem.js +106 -106
  423. package/dist/form.js +80 -80
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +87 -87
  426. package/dist/generate.js +101 -101
  427. package/dist/git.js +10 -10
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +91 -91
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/image/photon.js +2 -2
  448. package/dist/image.js +6 -6
  449. package/dist/instance/service.js +5 -5
  450. package/dist/instance.js +354 -354
  451. package/dist/instruction-discovery.js +85 -85
  452. package/dist/instructions/builtins.js +87 -87
  453. package/dist/instructions/index.js +1 -1
  454. package/dist/integration/connection.js +3 -3
  455. package/dist/integration.js +85 -85
  456. package/dist/job.js +78 -78
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +73 -73
  459. package/dist/location-activity.js +134 -134
  460. package/dist/location-lifecycle.js +107 -107
  461. package/dist/location-service-map.js +86 -86
  462. package/dist/location-services.js +351 -351
  463. package/dist/location.js +85 -85
  464. package/dist/managed-policy.js +5 -5
  465. package/dist/mcp/client.js +91 -91
  466. package/dist/mcp/index.js +109 -109
  467. package/dist/mcp/instructions.js +127 -127
  468. package/dist/mcp/oauth.js +78 -78
  469. package/dist/mcp/stdio.js +90 -90
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +91 -91
  472. package/dist/model-resolver.js +98 -98
  473. package/dist/model.js +100 -100
  474. package/dist/models-dev.js +101 -101
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +80 -80
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +113 -113
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +86 -86
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +75 -75
  484. package/dist/plugin/agent.js +104 -104
  485. package/dist/plugin/command.js +102 -102
  486. package/dist/plugin/hooks.js +1 -1
  487. package/dist/plugin/host.js +211 -211
  488. package/dist/plugin/identity.js +3 -3
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +326 -326
  491. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  492. package/dist/plugin/models-dev.js +96 -96
  493. package/dist/plugin/module.js +7 -7
  494. package/dist/plugin/optimize.js +2 -2
  495. package/dist/plugin/plan.js +102 -102
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  498. package/dist/plugin/provider/azure.js +117 -117
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/chatgpt.js +93 -93
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +112 -112
  505. package/dist/plugin/provider/digitalocean.js +93 -93
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/github-copilot.js +95 -95
  509. package/dist/plugin/provider/gitlab.js +93 -93
  510. package/dist/plugin/provider/google-vertex.js +90 -90
  511. package/dist/plugin/provider/kilo.js +1 -1
  512. package/dist/plugin/provider/llmgateway.js +78 -78
  513. package/dist/plugin/provider/lmstudio.js +116 -116
  514. package/dist/plugin/provider/local.js +113 -113
  515. package/dist/plugin/provider/modal.js +92 -92
  516. package/dist/plugin/provider/nvidia.js +1 -1
  517. package/dist/plugin/provider/ollama.js +116 -116
  518. package/dist/plugin/provider/openai.js +93 -93
  519. package/dist/plugin/provider/opencode.js +96 -96
  520. package/dist/plugin/provider/openrouter.js +91 -91
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +79 -79
  523. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  524. package/dist/plugin/provider/sap-ai-core.js +91 -91
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  527. package/dist/plugin/provider/vercel.js +90 -90
  528. package/dist/plugin/provider/vllm.js +116 -116
  529. package/dist/plugin/provider/xai.js +91 -91
  530. package/dist/plugin/provider/zenmux.js +1 -1
  531. package/dist/plugin/provider.js +155 -155
  532. package/dist/plugin/sdk.js +76 -76
  533. package/dist/plugin/service.js +3 -3
  534. package/dist/plugin/skill.js +134 -134
  535. package/dist/plugin/source-directory.js +1 -1
  536. package/dist/plugin/supervisor.js +345 -345
  537. package/dist/plugin/tool-input-repair.js +4 -4
  538. package/dist/plugin/update.js +6 -6
  539. package/dist/plugin/vcs/git.js +86 -86
  540. package/dist/plugin/vcs/hg.js +86 -86
  541. package/dist/plugin/verbosity.js +93 -93
  542. package/dist/plugin/warming.js +114 -114
  543. package/dist/plugin/websearch/exa.js +7 -7
  544. package/dist/plugin/websearch/firecrawl.js +8 -8
  545. package/dist/plugin/websearch/index.js +9 -9
  546. package/dist/plugin/websearch/mcp.js +6 -6
  547. package/dist/plugin/websearch/parallel.js +8 -8
  548. package/dist/plugin/websearch/tavily.js +6 -6
  549. package/dist/plugin/websearch/tinyfish.js +6 -6
  550. package/dist/plugin.js +222 -222
  551. package/dist/project/schema.js +2 -2
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +84 -84
  554. package/dist/provider.js +97 -97
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +99 -99
  558. package/dist/reference/instructions.js +89 -89
  559. package/dist/reference.js +89 -89
  560. package/dist/repository-cache.js +81 -81
  561. package/dist/repository.js +3 -3
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +95 -95
  564. package/dist/rpc.js +86 -86
  565. package/dist/schema.js +1 -1
  566. package/dist/session/affinity.js +1 -1
  567. package/dist/session/command.js +74 -74
  568. package/dist/session/compaction.js +135 -135
  569. package/dist/session/context.js +153 -153
  570. package/dist/session/diff.js +88 -88
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +7 -7
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +217 -217
  575. package/dist/session/execution.js +127 -127
  576. package/dist/session/generate.js +152 -152
  577. package/dist/session/history.js +15 -15
  578. package/dist/session/inbox.js +88 -88
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +79 -79
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +93 -93
  583. package/dist/session/message-updater.js +2 -2
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +120 -120
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +129 -129
  588. package/dist/session/projector.js +86 -86
  589. package/dist/session/prompt.js +105 -105
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +90 -90
  592. package/dist/session/run-coordinator.js +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +224 -224
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +98 -98
  597. package/dist/session/runner/publish-llm-event.js +113 -113
  598. package/dist/session/runner/retry.js +4 -4
  599. package/dist/session/runner/step.js +125 -125
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +164 -164
  603. package/dist/session/shell.js +130 -130
  604. package/dist/session/skill.js +103 -103
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +75 -75
  607. package/dist/session/store.js +87 -87
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +203 -203
  610. package/dist/session/system-prompt.js +3 -3
  611. package/dist/session/title.js +157 -157
  612. package/dist/session/to-session-error.js +111 -111
  613. package/dist/session/transfer.js +216 -216
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +211 -211
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +11 -11
  620. package/dist/shell.js +132 -132
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +105 -105
  623. package/dist/skill.js +114 -114
  624. package/dist/snapshot.js +93 -93
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +126 -126
  629. package/dist/tool/plugin/edit.js +118 -118
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +118 -118
  632. package/dist/tool/plugin/grep.js +122 -122
  633. package/dist/tool/plugin/mcp-resource.js +117 -117
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +118 -118
  636. package/dist/tool/plugin/question.js +103 -103
  637. package/dist/tool/plugin/read.js +125 -125
  638. package/dist/tool/plugin/shell.js +208 -208
  639. package/dist/tool/plugin/skill.js +105 -105
  640. package/dist/tool/plugin/subagent.js +212 -212
  641. package/dist/tool/plugin/webfetch.js +112 -112
  642. package/dist/tool/plugin/websearch.js +110 -110
  643. package/dist/tool/plugin/write.js +120 -120
  644. package/dist/tool/read-filesystem.js +96 -96
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +7 -7
  647. package/dist/tool.js +16 -16
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/git-executable.js +2 -2
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +7 -7
  658. package/dist/v1/config/command.js +5 -5
  659. package/dist/v1/config/error.js +4 -4
  660. package/dist/v1/config/mcp.js +4 -4
  661. package/dist/v1/config/migrate.js +92 -92
  662. package/dist/v1/config/permission.js +7 -7
  663. package/dist/v1/config/plugin.js +3 -3
  664. package/dist/v1/config/provider-options.js +1 -1
  665. package/dist/v1/config/provider.js +4 -4
  666. package/dist/variant.js +93 -93
  667. package/dist/vcs/patch.js +1 -1
  668. package/dist/vcs.js +89 -89
  669. package/dist/websearch.js +84 -84
  670. package/dist/wellknown/plugin.js +76 -76
  671. package/dist/wellknown.js +81 -81
  672. package/dist/workspace/driver.js +5 -5
  673. package/dist/workspace/sql.js +1 -1
  674. package/dist/workspace.js +78 -78
  675. package/dist/worktree/directory.js +2 -2
  676. package/dist/worktree/git.js +10 -10
  677. package/dist/worktree/sql.js +5 -5
  678. package/dist/worktree/strategies.js +89 -89
  679. package/dist/worktree.js +98 -98
  680. package/package.json +8 -8
  681. package/dist/chunks/mime-2at4bpy3.js +0 -26
  682. package/dist/chunks/mime-459hb6np.js +0 -253
  683. package/dist/chunks/mime-phz3h32g.js +0 -18
  684. package/dist/chunks/mime-t4cg2ngh.js +0 -507
  685. /package/dist/chunks/{mime-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
  686. /package/dist/chunks/{mime-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
  687. /package/dist/chunks/{mime-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
  688. /package/dist/chunks/{mime-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
  689. /package/dist/chunks/{mime-1kg9ymc8.js → location-services-1kg9ymc8.js} +0 -0
  690. /package/dist/chunks/{mime-24dcb14g.js → location-services-24dcb14g.js} +0 -0
  691. /package/dist/chunks/{mime-2710q6r3.js → location-services-2710q6r3.js} +0 -0
  692. /package/dist/chunks/{mime-2axfhc9x.js → location-services-2axfhc9x.js} +0 -0
  693. /package/dist/chunks/{mime-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
  694. /package/dist/chunks/{mime-34c7v6d4.js → location-services-34c7v6d4.js} +0 -0
  695. /package/dist/chunks/{mime-359p4xyc.js → location-services-359p4xyc.js} +0 -0
  696. /package/dist/chunks/{mime-3asan66x.js → location-services-3asan66x.js} +0 -0
  697. /package/dist/chunks/{mime-3t0ybcrp.js → location-services-3t0ybcrp.js} +0 -0
  698. /package/dist/chunks/{mime-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
  699. /package/dist/chunks/{mime-3w5fmr99.js → location-services-3w5fmr99.js} +0 -0
  700. /package/dist/chunks/{mime-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
  701. /package/dist/chunks/{mime-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
  702. /package/dist/chunks/{mime-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
  703. /package/dist/chunks/{mime-4vcrnpx2.js → location-services-4vcrnpx2.js} +0 -0
  704. /package/dist/chunks/{mime-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
  705. /package/dist/chunks/{mime-53557ph1.js → location-services-53557ph1.js} +0 -0
  706. /package/dist/chunks/{mime-550bvhaj.js → location-services-550bvhaj.js} +0 -0
  707. /package/dist/chunks/{mime-6prwharc.js → location-services-6prwharc.js} +0 -0
  708. /package/dist/chunks/{mime-6q2bdcd1.js → location-services-6q2bdcd1.js} +0 -0
  709. /package/dist/chunks/{mime-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{mime-7m9af43g.js → location-services-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{mime-822emrt2.js → location-services-822emrt2.js} +0 -0
  712. /package/dist/chunks/{mime-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{mime-8n3pysct.js → location-services-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{mime-8wj87zfr.js → location-services-8wj87zfr.js} +0 -0
  715. /package/dist/chunks/{mime-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{mime-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{mime-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{mime-af5trqkr.js → location-services-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{mime-afrmfg78.js → location-services-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{mime-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{mime-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{mime-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{mime-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{mime-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{mime-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{mime-d9fn303g.js → location-services-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{mime-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{mime-dajrwvna.js → location-services-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{mime-dap0rakb.js → location-services-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{mime-df08tz66.js → location-services-df08tz66.js} +0 -0
  731. /package/dist/chunks/{mime-dy18nga0.js → location-services-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{mime-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{mime-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{mime-ec1grn59.js → location-services-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{mime-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{mime-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{mime-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{mime-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{mime-faypxj3z.js → location-services-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{mime-fd410y7t.js → location-services-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{mime-fxgpk5d8.js → location-services-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{mime-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{mime-g86h250q.js → location-services-g86h250q.js} +0 -0
  744. /package/dist/chunks/{mime-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{mime-gftt206x.js → location-services-gftt206x.js} +0 -0
  746. /package/dist/chunks/{mime-hk9envan.js → location-services-hk9envan.js} +0 -0
  747. /package/dist/chunks/{mime-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
  748. /package/dist/chunks/{mime-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
  749. /package/dist/chunks/{mime-jjkms2e6.js → location-services-jjkms2e6.js} +0 -0
  750. /package/dist/chunks/{mime-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
  751. /package/dist/chunks/{mime-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
  752. /package/dist/chunks/{mime-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
  753. /package/dist/chunks/{mime-mp448xyj.js → location-services-mp448xyj.js} +0 -0
  754. /package/dist/chunks/{mime-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
  755. /package/dist/chunks/{mime-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
  756. /package/dist/chunks/{mime-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
  757. /package/dist/chunks/{mime-njntx4h6.js → location-services-njntx4h6.js} +0 -0
  758. /package/dist/chunks/{mime-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
  759. /package/dist/chunks/{mime-q74kybfr.js → location-services-q74kybfr.js} +0 -0
  760. /package/dist/chunks/{mime-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
  761. /package/dist/chunks/{mime-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
  762. /package/dist/chunks/{mime-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
  763. /package/dist/chunks/{mime-qg3g05ea.js → location-services-qg3g05ea.js} +0 -0
  764. /package/dist/chunks/{mime-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
  765. /package/dist/chunks/{mime-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
  766. /package/dist/chunks/{mime-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
  767. /package/dist/chunks/{mime-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
  768. /package/dist/chunks/{mime-w803qqfp.js → location-services-w803qqfp.js} +0 -0
  769. /package/dist/chunks/{mime-wc3fc9cn.js → location-services-wc3fc9cn.js} +0 -0
  770. /package/dist/chunks/{mime-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
  771. /package/dist/chunks/{mime-wtztk69x.js → location-services-wtztk69x.js} +0 -0
  772. /package/dist/chunks/{mime-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
  773. /package/dist/chunks/{mime-x61499pn.js → location-services-x61499pn.js} +0 -0
  774. /package/dist/chunks/{mime-y44na4kk.js → location-services-y44na4kk.js} +0 -0
  775. /package/dist/chunks/{mime-y8cydn3q.js → location-services-y8cydn3q.js} +0 -0
  776. /package/dist/chunks/{mime-y8f7s663.js → location-services-y8f7s663.js} +0 -0
  777. /package/dist/chunks/{mime-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
  778. /package/dist/chunks/{mime-ym463w8f.js → location-services-ym463w8f.js} +0 -0
  779. /package/dist/chunks/{mime-z5v4ffb3.js → location-services-z5v4ffb3.js} +0 -0
  780. /package/dist/chunks/{mime-z9919s4g.js → location-services-z9919s4g.js} +0 -0
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  jitCompatCheck2
3
- } from "./mime-emrn6kk6.js";
3
+ } from "./location-services-emrn6kk6.js";
4
4
  import {
5
5
  SQLiteEffectDatabase2
6
- } from "./mime-6540dvt1.js";
6
+ } from "./location-services-ara0ca5b.js";
7
7
  import {
8
8
  EffectSQLiteSession2
9
- } from "./mime-ds0wtj4e.js";
9
+ } from "./location-services-qpk58yzq.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 make24 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
23
+ var make23 = 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 make24 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
37
37
  db.$cache.invalidate = cache.onMutate;
38
38
  return db;
39
39
  });
40
- var makeWithDefaults2 = (config = {}) => make24(config).pipe(Effect.provide(DefaultServices2));
40
+ var makeWithDefaults2 = (config = {}) => make23(config).pipe(Effect.provide(DefaultServices2));
41
41
 
42
- export { EffectSQLiteDatabase2, DefaultServices2, make24, makeWithDefaults2 };
42
+ export { EffectSQLiteDatabase2, DefaultServices2, make23, makeWithDefaults2 };
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./mime-e5ncbec4.js";
2
+ Service80,
3
+ node84
4
+ } from "./location-services-514hvnh9.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./mime-rdw6cm16.js";
8
+ } from "./location-services-rdw6cm16.js";
9
9
  import {
10
10
  key2
11
- } from "./mime-addxnjmp.js";
11
+ } from "./location-services-x661k3y3.js";
12
12
  import {
13
13
  ID14,
14
- Service76,
15
- node80,
16
- Event18
17
- } from "./mime-pkw6pxyw.js";
14
+ Service72,
15
+ node75,
16
+ Event17
17
+ } from "./location-services-waec0c3j.js";
18
18
  import {
19
- Service80,
20
- node84
21
- } from "./mime-2wjfq3y1.js";
19
+ Service78,
20
+ node82
21
+ } from "./location-services-4htcxagg.js";
22
22
  import {
23
23
  __export
24
- } from "./mime-9rqn6x4v.js";
24
+ } from "./location-services-9rqn6x4v.js";
25
25
 
26
26
  // src/aisdk-native.ts
27
27
  var exports_aisdk_native = {};
@@ -38,13 +38,13 @@ __export(exports_provider3, {
38
38
  AISDK_PREFIX: () => AISDK_PREFIX2,
39
39
  Compaction: () => Compaction3,
40
40
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
41
- Event: () => Event17,
41
+ Event: () => Event16,
42
42
  ID: () => ID13,
43
- Info: () => Info22,
43
+ Info: () => Info21,
44
44
  LoadError: () => LoadError3,
45
45
  Provider: () => exports_provider3,
46
46
  Request: () => Request3,
47
- Service: () => Service75,
47
+ Service: () => Service71,
48
48
  Settings: () => Settings2,
49
49
  Transport: () => Transport2,
50
50
  aisdk: () => aisdk2,
@@ -54,7 +54,7 @@ __export(exports_provider3, {
54
54
  mergeOverlay: () => mergeOverlay2,
55
55
  modelSettings: () => modelSettings2,
56
56
  nativeSettings: () => nativeSettings2,
57
- node: () => node79,
57
+ node: () => node74,
58
58
  packageName: () => packageName2,
59
59
  timeout: () => timeout2,
60
60
  timeouts: () => timeouts2
@@ -68,7 +68,7 @@ import { isRecord } from "@opencode/ai/utils/record";
68
68
  import { importModule, resolveModule } from "@opencode/util/runtime-import";
69
69
  import { Credential } from "@opencode/schema/credential";
70
70
  import { freeze } from "immer";
71
- import { Event as Event17 } from "@opencode/schema/provider";
71
+ import { Event as Event16 } from "@opencode/schema/provider";
72
72
  var ID13 = Provider.ID;
73
73
  var AISDK_PREFIX2 = "aisdk:";
74
74
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
@@ -232,9 +232,9 @@ var Request3 = Provider.Request;
232
232
  var Compaction3 = Provider.Compaction;
233
233
  var Transport2 = Provider.Transport;
234
234
  var Settings2 = Provider.Settings;
235
- var Info22 = Provider.Info;
235
+ var Info21 = Provider.Info;
236
236
 
237
- class Service75 extends Context.Service()("@opencode/Provider") {
237
+ class Service71 extends Context.Service()("@opencode/Provider") {
238
238
  }
239
239
  var definitions = new WeakMap;
240
240
  function index(providerID, models) {
@@ -247,10 +247,10 @@ function index(providerID, models) {
247
247
  definitions.set(models, indexes);
248
248
  return result;
249
249
  }
250
- var layer = Layer.effect(Service75, Effect.gen(function* () {
251
- const bus = yield* Service83;
252
- const integrations = yield* Service76;
253
- const location = yield* Service80;
250
+ var layer = Layer.effect(Service71, Effect.gen(function* () {
251
+ const bus = yield* Service80;
252
+ const integrations = yield* Service72;
253
+ const location = yield* Service78;
254
254
  const state = create3({
255
255
  name: "provider",
256
256
  initial: () => new Map,
@@ -261,7 +261,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
261
261
  const current = records.get(id);
262
262
  if (current)
263
263
  return current;
264
- const added = { provider: Info22.empty(id), models: new Map };
264
+ const added = { provider: Info21.empty(id), models: new Map };
265
265
  records.set(id, added);
266
266
  maps.add(added.models);
267
267
  return added;
@@ -368,8 +368,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
368
368
  location: { directory: location.directory, workspaceID: location.workspaceID }
369
369
  });
370
370
  });
371
- yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
372
- return Service75.of({
371
+ yield* bus.subscribe([Event17.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
372
+ return Service71.of({
373
373
  transform: state.transform,
374
374
  reload: state.reload,
375
375
  get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -378,7 +378,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
378
378
  snapshot
379
379
  });
380
380
  }));
381
- var node79 = makeLocationNode({ service: Service75, layer, deps: [node87, node80, node84] });
381
+ var node74 = makeLocationNode({ service: Service71, layer, deps: [node84, node75, node82] });
382
382
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
383
383
  const module = yield* Effect.tryPromise({
384
384
  try: () => {
@@ -653,4 +653,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
653
653
  }), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
654
654
  var decode = Schema2.decodeUnknownSync(Legacy);
655
655
 
656
- export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, timeout2, timeouts2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info22, Service75, node79, exports_provider3, Event17 };
656
+ export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, timeout2, timeouts2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info21, Service71, node74, exports_provider3, Event16 };
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./location-services-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service36,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service36 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service36.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service36, awaitActivation2, exports_service };
@@ -1,20 +1,20 @@
1
1
  import {
2
- ID7,
2
+ ID11,
3
3
  Name3,
4
4
  defaultID2
5
- } from "./mime-va8pbtsb.js";
5
+ } from "./location-services-3m50rrjg.js";
6
6
  import {
7
7
  merge2
8
- } from "./mime-93exgp6v.js";
8
+ } from "./location-services-csfhn2wr.js";
9
9
  import {
10
10
  __export
11
- } from "./mime-9rqn6x4v.js";
11
+ } from "./location-services-9rqn6x4v.js";
12
12
 
13
13
  // src/plugin/agent.ts
14
- var exports_agent = {};
15
- __export(exports_agent, {
16
- AgentPlugin: () => exports_agent,
17
- Plugin: () => Plugin15
14
+ var exports_agent2 = {};
15
+ __export(exports_agent2, {
16
+ AgentPlugin: () => exports_agent2,
17
+ Plugin: () => Plugin49
18
18
  });
19
19
  import { define } from "@opencode/plugin/effect/plugin";
20
20
  import { Effect } from "effect";
@@ -84,7 +84,7 @@ Rules:
84
84
  - Never ask questions or add new questions
85
85
  - If the conversation ends with an unanswered question to the user, preserve that exact question
86
86
  - If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
87
- var Plugin15 = define({
87
+ var Plugin49 = define({
88
88
  id: "opencode.agent",
89
89
  effect: Effect.fn(function* (ctx) {
90
90
  yield* ctx.agent.transform((editor) => {
@@ -94,13 +94,13 @@ var Plugin15 = define({
94
94
  item.mode = "primary";
95
95
  item.permissions.push({ action: "question", resource: "*", effect: "allow" });
96
96
  });
97
- editor.update(ID7.make("general"), (item) => {
97
+ editor.update(ID11.make("general"), (item) => {
98
98
  item.name = Name3.make("General");
99
99
  item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
100
100
  item.mode = "subagent";
101
101
  item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
102
102
  });
103
- editor.update(ID7.make("explore"), (item) => {
103
+ editor.update(ID11.make("explore"), (item) => {
104
104
  const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
105
105
  item.name = Name3.make("Explore");
106
106
  item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
@@ -120,19 +120,19 @@ var Plugin15 = define({
120
120
  { action: "subagent", resource: "*", effect: "deny" }
121
121
  ], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
122
122
  });
123
- editor.update(ID7.make("compaction"), (item) => {
123
+ editor.update(ID11.make("compaction"), (item) => {
124
124
  item.name = Name3.make("Compaction");
125
125
  item.mode = "primary";
126
126
  item.hidden = true;
127
127
  });
128
- editor.update(ID7.make("title"), (item) => {
128
+ editor.update(ID11.make("title"), (item) => {
129
129
  item.name = Name3.make("Title");
130
130
  item.mode = "primary";
131
131
  item.hidden = true;
132
132
  item.system = PROMPT_TITLE;
133
133
  item.permissions.push({ action: "*", resource: "*", effect: "deny" });
134
134
  });
135
- editor.update(ID7.make("summary"), (item) => {
135
+ editor.update(ID11.make("summary"), (item) => {
136
136
  item.name = Name3.make("Summary");
137
137
  item.mode = "primary";
138
138
  item.hidden = true;
@@ -143,4 +143,4 @@ var Plugin15 = define({
143
143
  })
144
144
  });
145
145
 
146
- export { Plugin15, exports_agent };
146
+ export { Plugin49, exports_agent2 };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  useragent2
3
- } from "./mime-zq5qms4d.js";
3
+ } from "./location-services-z8rw9kn4.js";
4
4
  import {
5
- Service83
6
- } from "./mime-e5ncbec4.js";
5
+ Service80
6
+ } from "./location-services-514hvnh9.js";
7
7
  import {
8
8
  OAuth3,
9
- Event20
10
- } from "./mime-9pnm2vv9.js";
9
+ Event19
10
+ } from "./location-services-y8shr9gw.js";
11
11
  import {
12
12
  key2
13
- } from "./mime-addxnjmp.js";
13
+ } from "./location-services-x661k3y3.js";
14
14
  import {
15
15
  ID14,
16
16
  MethodID2,
17
17
  AuthorizationError2
18
- } from "./mime-pkw6pxyw.js";
18
+ } from "./location-services-waec0c3j.js";
19
19
  import {
20
- Service13
21
- } from "./mime-k1qrnqst.js";
20
+ Service23
21
+ } from "./location-services-6c7yw9pm.js";
22
22
  import {
23
23
  ID13,
24
24
  mergeOverlay2,
25
25
  mergeHeaders2
26
- } from "./mime-gphzfxhq.js";
26
+ } from "./location-services-jkjj242p.js";
27
27
  import {
28
28
  mergeCapabilities2
29
- } from "./mime-04mq6ee8.js";
29
+ } from "./location-services-hc5gcwsj.js";
30
30
  import {
31
- ID8,
32
- Input14,
31
+ ID4,
32
+ Input13,
33
33
  Response2
34
- } from "./mime-5wn8k982.js";
34
+ } from "./location-services-mx1p25e3.js";
35
35
 
36
36
  // src/plugin/provider/opencode.ts
37
37
  import { Duration, Effect, Equal, Option, Schema, Scope, Semaphore, Stream } from "effect";
@@ -47,7 +47,7 @@ var methodID = MethodID2.make("device");
47
47
  var RemoteResponse = Schema.Struct({
48
48
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
49
49
  websearch: Schema.Struct({
50
- providerID: ID8
50
+ providerID: ID4
51
51
  }).pipe(Schema.optional),
52
52
  mcp: Schema.Struct({
53
53
  servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
@@ -163,10 +163,10 @@ function oauth(http) {
163
163
  var OpencodePlugin2 = define({
164
164
  id: "opencode.provider.opencode",
165
165
  effect: Effect.fn(function* (ctx) {
166
- const bus = yield* Service83;
166
+ const bus = yield* Service80;
167
167
  const client = yield* HttpClient.HttpClient;
168
168
  const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
169
- const managed = yield* Service13;
169
+ const managed = yield* Service23;
170
170
  const scope = yield* Scope.Scope;
171
171
  const loading = Semaphore.makeUnsafe(1);
172
172
  let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
@@ -327,7 +327,7 @@ var OpencodePlugin2 = define({
327
327
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
328
328
  const token = credential.type === "oauth" ? credential.access : credential.key;
329
329
  const server = yield* normalizeServer(serverUrl(credential));
330
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
330
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
331
331
  query: input.query,
332
332
  providerID: descriptor.providerID
333
333
  }));
@@ -385,7 +385,7 @@ var OpencodePlugin2 = define({
385
385
  explainers = yield* Effect.forEach(next.connection ? new Set([ID13.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
386
386
  });
387
387
  yield* guard(snapshot);
388
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
388
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
389
389
  yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
390
390
  })
391
391
  });
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./mime-e5ncbec4.js";
2
+ Service80,
3
+ node84
4
+ } from "./location-services-514hvnh9.js";
5
5
  import {
6
6
  optional2,
7
7
  statics2
8
- } from "./mime-z5v4ffb3.js";
8
+ } from "./location-services-z5v4ffb3.js";
9
9
  import {
10
10
  Ref4,
11
- Service80,
12
- node84
13
- } from "./mime-2wjfq3y1.js";
11
+ Service78,
12
+ node82
13
+ } from "./location-services-4htcxagg.js";
14
14
  import {
15
15
  __export
16
- } from "./mime-9rqn6x4v.js";
16
+ } from "./location-services-9rqn6x4v.js";
17
17
 
18
18
  // src/rpc.ts
19
19
  var exports_rpc = {};
20
20
  __export(exports_rpc, {
21
21
  Rpc: () => exports_rpc,
22
- Service: () => Service48,
22
+ Service: () => Service66,
23
23
  define: () => define2,
24
- node: () => node50
24
+ node: () => node69
25
25
  });
26
26
  import { define as define2 } from "@opencode/schema/rpc";
27
27
  import { Event } from "@opencode/schema/event";
28
28
  import { makeLocationNode } from "@opencode/util/effect/app-node";
29
29
  import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
30
- class Service48 extends Context.Service()("@opencode/Rpc") {
30
+ class Service66 extends Context.Service()("@opencode/Rpc") {
31
31
  }
32
32
 
33
33
  class DeclaredError extends Error {
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
39
39
  this.data = data;
40
40
  }
41
41
  }
42
- var layer = Layer.effect(Service48, Effect.gen(function* () {
43
- const bus = yield* Service83;
44
- const location = yield* Service80;
42
+ var layer = Layer.effect(Service66, Effect.gen(function* () {
43
+ const bus = yield* Service80;
44
+ const location = yield* Service78;
45
45
  const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
46
46
  const closed = yield* Deferred.make();
47
47
  const callContext = {
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
118
118
  const registered = events.get(name);
119
119
  if (!registered)
120
120
  return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
121
- return bus.subscribe(registered.definition).pipe(Stream.provideService(Service80, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
121
+ return bus.subscribe(registered.definition).pipe(Stream.provideService(Service78, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
122
122
  }
123
123
  }
124
124
  };
125
125
  };
126
- return Service48.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
126
+ return Service66.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
127
127
  }));
128
- var node50 = makeLocationNode({ service: Service48, layer, deps: [node87, node84] });
128
+ var node69 = makeLocationNode({ service: Service66, layer, deps: [node84, node82] });
129
129
  var fields = {
130
130
  id: Event.ID,
131
131
  created: Schema.Finite,
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
210
210
  };
211
211
  });
212
212
 
213
- export { Service48, node50, exports_rpc, define2 };
213
+ export { Service66, node69, exports_rpc, define2 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  directoryColumn2,
3
3
  pathColumn2
4
- } from "./mime-qnc92qwc.js";
4
+ } from "./location-services-qnc92qwc.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./mime-qfa1cgps.js";
7
+ } from "./location-services-qfa1cgps.js";
8
8
  import {
9
9
  ProjectTable2
10
- } from "./mime-h2b79v29.js";
10
+ } from "./location-services-3cegwx68.js";
11
11
 
12
12
  // src/session/sql.ts
13
13
  import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,56 +1,56 @@
1
- import {
2
- Service84,
3
- node88
4
- } from "./mime-j6gcmj6w.js";
5
1
  import {
6
2
  Service83,
7
3
  node87
8
- } from "./mime-e5ncbec4.js";
4
+ } from "./location-services-ywpk00n5.js";
5
+ import {
6
+ Service80,
7
+ node84
8
+ } from "./location-services-514hvnh9.js";
9
9
  import {
10
- Service43,
11
- node45
12
- } from "./mime-y8j7y9g5.js";
10
+ Service49,
11
+ node51
12
+ } from "./location-services-n68t0apf.js";
13
13
  import {
14
- Service41,
15
- node43
16
- } from "./mime-vqfzq50h.js";
14
+ Service48,
15
+ node50
16
+ } from "./location-services-tcay1cqt.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./mime-ec1grn59.js";
19
+ } from "./location-services-ec1grn59.js";
20
20
  import {
21
- make18
22
- } from "./mime-r8xr0va3.js";
21
+ make17
22
+ } from "./location-services-1acjjqhc.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service39
26
- } from "./mime-06x8he3q.js";
25
+ Service45
26
+ } from "./location-services-t7n9q6bq.js";
27
27
  import {
28
- Service51,
29
- node53
30
- } from "./mime-2nhfnjcw.js";
28
+ Service63,
29
+ node66
30
+ } from "./location-services-0ekp7bk0.js";
31
31
  import {
32
32
  toSessionError2
33
- } from "./mime-dtm252p1.js";
33
+ } from "./location-services-ssew6xnx.js";
34
34
  import {
35
35
  nextPromotable2
36
- } from "./mime-f3kq77fw.js";
36
+ } from "./location-services-3a4786ab.js";
37
37
  import {
38
38
  __export
39
- } from "./mime-9rqn6x4v.js";
39
+ } from "./location-services-9rqn6x4v.js";
40
40
 
41
41
  // src/session/execution.ts
42
42
  var exports_execution = {};
43
43
  __export(exports_execution, {
44
- Service: () => Service38,
44
+ Service: () => Service44,
45
45
  SessionExecution: () => exports_execution,
46
- layer: () => layer15,
47
- node: () => node41,
48
- noopLayer: () => noopLayer2,
46
+ layer: () => layer18,
47
+ node: () => node47,
48
+ noopLayer: () => noopLayer3,
49
49
  terminal: () => terminal2
50
50
  });
51
51
  import { Cause, Context, Effect, Exit, Layer } from "effect";
52
52
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
53
- class Service38 extends Context.Service()("@opencode/SessionExecution") {
53
+ class Service44 extends Context.Service()("@opencode/SessionExecution") {
54
54
  }
55
55
  function terminal2(exit, reason) {
56
56
  if (Exit.isSuccess(exit))
@@ -59,12 +59,12 @@ function terminal2(exit, reason) {
59
59
  return { type: "interrupted", reason: reason ?? "shutdown" };
60
60
  return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
61
61
  }
62
- var layer15 = Layer.effect(Service38, Effect.gen(function* () {
63
- const store = yield* Service51;
64
- const instances = yield* Service41;
65
- const bus = yield* Service83;
66
- const jobs = yield* Service43;
67
- const db = (yield* Service84).db;
62
+ var layer18 = Layer.effect(Service44, Effect.gen(function* () {
63
+ const store = yield* Service63;
64
+ const instances = yield* Service48;
65
+ const bus = yield* Service80;
66
+ const jobs = yield* Service49;
67
+ const db = (yield* Service83).db;
68
68
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
69
69
  const claimOnCommit = (sessionID) => ({
70
70
  commit: () => store.claim(sessionID)
@@ -76,14 +76,14 @@ var layer15 = Layer.effect(Service38, Effect.gen(function* () {
76
76
  const session = yield* store.get(sessionID);
77
77
  if (!session)
78
78
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
79
- const result = yield* Service39.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
79
+ const result = yield* Service45.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
80
80
  return yield* DrainResult2.$match(result, {
81
81
  Complete: () => Effect.void,
82
82
  Moved: (result) => drain(sessionID, false, result.continuation, promotable),
83
83
  Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
84
84
  });
85
85
  });
86
- const coordinator = yield* make18({
86
+ const coordinator = yield* make17({
87
87
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
88
88
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
89
89
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -104,7 +104,7 @@ var layer15 = Layer.effect(Service38, Effect.gen(function* () {
104
104
  }, releaseOnCommit(sessionID));
105
105
  }))
106
106
  });
107
- return Service38.of({
107
+ return Service44.of({
108
108
  active: coordinator.active,
109
109
  isActive: coordinator.isActive,
110
110
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -123,12 +123,12 @@ var layer15 = Layer.effect(Service38, Effect.gen(function* () {
123
123
  awaitIdle: coordinator.awaitIdle
124
124
  });
125
125
  }));
126
- var node41 = makeGlobalNode({
127
- service: Service38,
128
- layer: layer15,
129
- deps: [node53, node43, node87, node88, node45]
126
+ var node47 = makeGlobalNode({
127
+ service: Service44,
128
+ layer: layer18,
129
+ deps: [node66, node50, node84, node87, node51]
130
130
  });
131
- var noopLayer2 = Layer.succeed(Service38, Service38.of({
131
+ var noopLayer3 = Layer.succeed(Service44, Service44.of({
132
132
  active: Effect.succeed(new Set),
133
133
  isActive: () => Effect.succeed(false),
134
134
  resume: () => Effect.void,
@@ -137,4 +137,4 @@ var noopLayer2 = Layer.succeed(Service38, Service38.of({
137
137
  awaitIdle: () => Effect.void
138
138
  }));
139
139
 
140
- export { Service38, terminal2, layer15, node41, noopLayer2, exports_execution };
140
+ export { Service44, terminal2, layer18, node47, noopLayer3, exports_execution };