@opencode/core 0.0.0-dev-19772 → 0.0.0-dev-19773

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 (790) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{file-kynetcxa.js → location-lifecycle-0583at99.js} +22 -22
  8. package/dist/chunks/{file-1hc11dc4.js → location-lifecycle-06dxphr1.js} +4 -4
  9. package/dist/chunks/{file-6r536pd1.js → location-lifecycle-0a352m4e.js} +53 -53
  10. package/dist/chunks/{file-g5fh27jm.js → location-lifecycle-0arwpg9h.js} +28 -28
  11. package/dist/chunks/{file-6v4peh9p.js → location-lifecycle-0fa7bwbn.js} +18 -18
  12. package/dist/chunks/{file-rmkrm11x.js → location-lifecycle-0j8k9298.js} +19 -19
  13. package/dist/chunks/{file-7xps8bb1.js → location-lifecycle-0k0nfd6b.js} +24 -24
  14. package/dist/chunks/{file-0paq2nw3.js → location-lifecycle-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{file-0q0f95c6.js → location-lifecycle-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{file-tz47dz5v.js → location-lifecycle-0rbn78vg.js} +5 -5
  17. package/dist/chunks/{file-bct739vz.js → location-lifecycle-0v53mg2y.js} +4 -4
  18. package/dist/chunks/{file-vcewcf3p.js → location-lifecycle-122beqbm.js} +13 -13
  19. package/dist/chunks/{file-z2yza9q7.js → location-lifecycle-13pafthj.js} +26 -26
  20. package/dist/chunks/{file-hphfs7r7.js → location-lifecycle-13w6txv6.js} +18 -18
  21. package/dist/chunks/{file-956z8k1a.js → location-lifecycle-14b4t3ct.js} +4 -4
  22. package/dist/chunks/{file-bpnjy3z7.js → location-lifecycle-14p9gyp6.js} +11 -11
  23. package/dist/chunks/{file-3kke03kt.js → location-lifecycle-191jk975.js} +182 -182
  24. package/dist/chunks/{file-1dazxqgg.js → location-lifecycle-1dazxqgg.js} +2 -2
  25. package/dist/chunks/{file-yqcj9em5.js → location-lifecycle-1mgfmmjx.js} +26 -26
  26. package/dist/chunks/{file-56gdpj1q.js → location-lifecycle-1ygqh575.js} +9 -9
  27. package/dist/chunks/{file-21r38tys.js → location-lifecycle-21r38tys.js} +1 -1
  28. package/dist/chunks/{file-6h73sxmp.js → location-lifecycle-2402vzrj.js} +5 -5
  29. package/dist/chunks/{file-91342nd3.js → location-lifecycle-24ax60ts.js} +23 -23
  30. package/dist/chunks/{file-2a5m3afh.js → location-lifecycle-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{file-57ez7d0k.js → location-lifecycle-2fgn2we9.js} +9 -9
  32. package/dist/chunks/{file-ws1k4zdc.js → location-lifecycle-2nk6599b.js} +12 -12
  33. package/dist/chunks/{file-by1dj0rw.js → location-lifecycle-2nm8vahp.js} +11 -11
  34. package/dist/chunks/{file-embw8kgh.js → location-lifecycle-2vs2nh1n.js} +4 -4
  35. package/dist/chunks/{file-fvbnea60.js → location-lifecycle-31a29bkt.js} +30 -30
  36. package/dist/chunks/{file-dtqg9ce1.js → location-lifecycle-35ng7dkh.js} +5 -5
  37. package/dist/chunks/{file-3qzhexf6.js → location-lifecycle-39efxnxr.js} +30 -30
  38. package/dist/chunks/{file-rtbbky2x.js → location-lifecycle-3d263902.js} +5 -5
  39. package/dist/chunks/{file-3fc6dm20.js → location-lifecycle-3fc6dm20.js} +1 -1
  40. package/dist/chunks/{file-3hepkmqq.js → location-lifecycle-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{file-n86jpvhn.js → location-lifecycle-3m92j22d.js} +9 -9
  42. package/dist/chunks/{file-yr29whj8.js → location-lifecycle-3nccwp58.js} +27 -27
  43. package/dist/chunks/{file-3smtnn6g.js → location-lifecycle-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{file-3tvqynh2.js → location-lifecycle-3tvqynh2.js} +1 -1
  45. package/dist/chunks/{file-6mypyd4y.js → location-lifecycle-3w6e5pxs.js} +55 -55
  46. package/dist/chunks/{file-6grmf33y.js → location-lifecycle-3yn70p9x.js} +13 -13
  47. package/dist/chunks/{file-bj93k3jd.js → location-lifecycle-42p6xn4a.js} +10 -10
  48. package/dist/chunks/{file-xfzgb354.js → location-lifecycle-49t4bw2f.js} +11 -11
  49. package/dist/chunks/{file-n0tq777j.js → location-lifecycle-4e8vs6eh.js} +8 -8
  50. package/dist/chunks/{file-h896pcm5.js → location-lifecycle-4mwpykj0.js} +6 -6
  51. package/dist/chunks/{file-3my6v4az.js → location-lifecycle-4qxwz8hn.js} +37 -37
  52. package/dist/chunks/{file-hqfwp6f0.js → location-lifecycle-526nxtwr.js} +31 -31
  53. package/dist/chunks/{file-zhvjewb1.js → location-lifecycle-53mjga7x.js} +8 -8
  54. package/dist/chunks/{file-vcnb347p.js → location-lifecycle-5b4wqzw5.js} +23 -23
  55. package/dist/chunks/{file-5daktx2q.js → location-lifecycle-5daktx2q.js} +1 -1
  56. package/dist/chunks/{file-x3rxtwc7.js → location-lifecycle-5f6x8zpd.js} +9 -9
  57. package/dist/chunks/{file-xgt31tjm.js → location-lifecycle-5k81x1k8.js} +8 -8
  58. package/dist/chunks/{file-5t3nmthw.js → location-lifecycle-5t3nmthw.js} +2 -2
  59. package/dist/chunks/{file-w7bw98z6.js → location-lifecycle-5wnzzjdm.js} +32 -32
  60. package/dist/chunks/{file-z3nk8zw6.js → location-lifecycle-61h3z2g5.js} +42 -42
  61. package/dist/chunks/{file-n5fr74k4.js → location-lifecycle-660d75mh.js} +8 -8
  62. package/dist/chunks/{file-669tq793.js → location-lifecycle-669tq793.js} +1 -1
  63. package/dist/chunks/location-lifecycle-67kfah9z.js +26 -0
  64. package/dist/chunks/{file-fwcvyjm4.js → location-lifecycle-6859qn2v.js} +9 -9
  65. package/dist/chunks/{file-w418y777.js → location-lifecycle-6bcwyqj6.js} +17 -17
  66. package/dist/chunks/{file-kewrzfp7.js → location-lifecycle-6g0939vh.js} +4 -4
  67. package/dist/chunks/{file-mtq6xxnx.js → location-lifecycle-6hh8tjw2.js} +7 -7
  68. package/dist/chunks/{file-6msgmcgs.js → location-lifecycle-6msgmcgs.js} +1 -1
  69. package/dist/chunks/{file-d1mbserq.js → location-lifecycle-6nfb7tnt.js} +4 -4
  70. package/dist/chunks/{file-dgf6d44x.js → location-lifecycle-6vs9240x.js} +4 -4
  71. package/dist/chunks/{file-vtede9h4.js → location-lifecycle-6z1vffxr.js} +6 -6
  72. package/dist/chunks/{file-g7jvb7c9.js → location-lifecycle-709xpvx9.js} +12 -12
  73. package/dist/chunks/{file-ame7p0bf.js → location-lifecycle-773chg42.js} +35 -35
  74. package/dist/chunks/{file-ac8gkyem.js → location-lifecycle-79b5vakh.js} +9 -9
  75. package/dist/chunks/{file-8xbbjbhd.js → location-lifecycle-79enm74j.js} +35 -35
  76. package/dist/chunks/{file-58vybx2g.js → location-lifecycle-79mmsvx0.js} +11 -11
  77. package/dist/chunks/{file-7bmhse3q.js → location-lifecycle-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{file-zyfew8ns.js → location-lifecycle-7s6qx4dh.js} +23 -23
  79. package/dist/chunks/{file-2y34zzjz.js → location-lifecycle-7w3s9kd0.js} +4 -4
  80. package/dist/chunks/{file-hhvxj0xs.js → location-lifecycle-86eq1ywt.js} +2 -2
  81. package/dist/chunks/{file-q4629ca0.js → location-lifecycle-87n09n7s.js} +17 -17
  82. package/dist/chunks/{file-n1jh56hb.js → location-lifecycle-8a8knspf.js} +27 -27
  83. package/dist/chunks/{file-8d7r5vzw.js → location-lifecycle-8d7r5vzw.js} +1 -1
  84. package/dist/chunks/{file-66rhs1hf.js → location-lifecycle-8jcyejbv.js} +40 -40
  85. package/dist/chunks/{file-fjtsztdw.js → location-lifecycle-8nx70fw4.js} +11 -11
  86. package/dist/chunks/{file-8p4f9s12.js → location-lifecycle-8p4f9s12.js} +2 -2
  87. package/dist/chunks/{file-304h1yg1.js → location-lifecycle-8s3h4f1m.js} +32 -32
  88. package/dist/chunks/{file-bjn91642.js → location-lifecycle-8s8mxddj.js} +4 -4
  89. package/dist/chunks/{file-cd9my3v1.js → location-lifecycle-8zy50aks.js} +9 -9
  90. package/dist/chunks/{file-tkd8wqpt.js → location-lifecycle-95sm0mvt.js} +18 -18
  91. package/dist/chunks/{file-94s2pdns.js → location-lifecycle-9ez0b2d3.js} +40 -40
  92. package/dist/chunks/{file-hah04hfd.js → location-lifecycle-9fjr9rd9.js} +3 -3
  93. package/dist/chunks/{file-h0jmq7yk.js → location-lifecycle-9xpq6vyz.js} +24 -24
  94. package/dist/chunks/{file-j55ehytx.js → location-lifecycle-9yc9kx3k.js} +29 -29
  95. package/dist/chunks/{file-a1bz86dw.js → location-lifecycle-a1bz86dw.js} +3 -3
  96. package/dist/chunks/{file-gwyevam5.js → location-lifecycle-a1tgc4z6.js} +6 -6
  97. package/dist/chunks/{file-xg9t41r3.js → location-lifecycle-a3r4dcrj.js} +2 -2
  98. package/dist/chunks/{file-ydt9pqf5.js → location-lifecycle-a8av3tx9.js} +15 -15
  99. package/dist/chunks/{file-8y3wyrth.js → location-lifecycle-aa26r2b5.js} +17 -17
  100. package/dist/chunks/{file-aaet6srn.js → location-lifecycle-aaet6srn.js} +2 -2
  101. package/dist/chunks/{file-r3pg8356.js → location-lifecycle-ang1nz1m.js} +3 -3
  102. package/dist/chunks/{file-t44gpkd9.js → location-lifecycle-arks7vtx.js} +9 -9
  103. package/dist/chunks/{file-b6gygkdw.js → location-lifecycle-b6gygkdw.js} +2 -2
  104. package/dist/chunks/{file-7sbn2nrf.js → location-lifecycle-be7qvw84.js} +8 -8
  105. package/dist/chunks/{file-2dvm09dd.js → location-lifecycle-beed57ef.js} +22 -22
  106. package/dist/chunks/{file-kjesn8ee.js → location-lifecycle-bj81ahjr.js} +7 -7
  107. package/dist/chunks/{file-b9ahwkd2.js → location-lifecycle-bmvb4baq.js} +11 -11
  108. package/dist/chunks/{file-w676f2yv.js → location-lifecycle-bpz1wvkk.js} +25 -25
  109. package/dist/chunks/{file-r7nh0yvy.js → location-lifecycle-bxhemmkn.js} +22 -22
  110. package/dist/chunks/{file-2jz473v5.js → location-lifecycle-bz85s9hh.js} +1 -1
  111. package/dist/chunks/{file-41verw56.js → location-lifecycle-bzj0ps36.js} +36 -36
  112. package/dist/chunks/{file-kz33qt24.js → location-lifecycle-c5h8y125.js} +29 -29
  113. package/dist/chunks/{file-hywk6jf9.js → location-lifecycle-c7f2pmdk.js} +18 -18
  114. package/dist/chunks/{file-cfpkc3c9.js → location-lifecycle-cfpkc3c9.js} +2 -2
  115. package/dist/chunks/{file-x2dr3d7k.js → location-lifecycle-cg71jt97.js} +16 -16
  116. package/dist/chunks/{file-5jsx19yx.js → location-lifecycle-cpmq4zs8.js} +20 -20
  117. package/dist/chunks/{file-g6q9qykm.js → location-lifecycle-cwa6csj7.js} +9 -9
  118. package/dist/chunks/{file-px5sh37w.js → location-lifecycle-cx5v8ywb.js} +11 -11
  119. package/dist/chunks/{file-p244d6rq.js → location-lifecycle-d5931x0a.js} +16 -16
  120. package/dist/chunks/{file-1gp0z8vk.js → location-lifecycle-d6n3vjds.js} +15 -15
  121. package/dist/chunks/{file-9eyeqmd2.js → location-lifecycle-dasaxp5m.js} +33 -33
  122. package/dist/chunks/{file-g7z2c8ev.js → location-lifecycle-dbj4xpaj.js} +33 -33
  123. package/dist/chunks/{file-55j2v9k6.js → location-lifecycle-ddcj5x5s.js} +22 -22
  124. package/dist/chunks/{file-h9bw0csn.js → location-lifecycle-ddmzw2qh.js} +13 -13
  125. package/dist/chunks/{file-46zss07m.js → location-lifecycle-dg98ge15.js} +27 -27
  126. package/dist/chunks/{file-fxzbpcn9.js → location-lifecycle-dgyzjat5.js} +9 -9
  127. package/dist/chunks/{file-t9s0mbhm.js → location-lifecycle-djd4pwre.js} +15 -15
  128. package/dist/chunks/{file-4qenbd9f.js → location-lifecycle-dy5wr8pv.js} +1 -1
  129. package/dist/chunks/{file-fxmgg4aj.js → location-lifecycle-dz8x4rxg.js} +4 -4
  130. package/dist/chunks/{file-263r72ym.js → location-lifecycle-eb9hw7wh.js} +21 -21
  131. package/dist/chunks/{file-3fhknkx8.js → location-lifecycle-ecf151x1.js} +18 -18
  132. package/dist/chunks/{file-1qg96azw.js → location-lifecycle-eex107wk.js} +8 -8
  133. package/dist/chunks/{file-v5brccvm.js → location-lifecycle-eexv0tw8.js} +9 -9
  134. package/dist/chunks/{file-ef5x83kb.js → location-lifecycle-ef5x83kb.js} +1 -1
  135. package/dist/chunks/{file-erw5rpbs.js → location-lifecycle-erw5rpbs.js} +2 -2
  136. package/dist/chunks/{file-2rx2wg8g.js → location-lifecycle-es07ybn2.js} +3 -3
  137. package/dist/chunks/{file-etq0c3wd.js → location-lifecycle-etq0c3wd.js} +1 -1
  138. package/dist/chunks/{file-wkmpenx3.js → location-lifecycle-eztqpezc.js} +32 -32
  139. package/dist/chunks/{file-yp2x3t23.js → location-lifecycle-f2n192rq.js} +4 -4
  140. package/dist/chunks/{file-5e1pzs32.js → location-lifecycle-f58gpcny.js} +9 -9
  141. package/dist/chunks/{file-xshcj497.js → location-lifecycle-f5f1767j.js} +28 -28
  142. package/dist/chunks/{file-f828m53h.js → location-lifecycle-f828m53h.js} +2 -2
  143. package/dist/chunks/{file-fgrqxmc5.js → location-lifecycle-fcpcbtx4.js} +14 -14
  144. package/dist/chunks/{file-7dqw4kz8.js → location-lifecycle-fcrkznn8.js} +5 -5
  145. package/dist/chunks/{file-b0dgvpy7.js → location-lifecycle-fdms3n6w.js} +9 -9
  146. package/dist/chunks/{file-p0b4ytnr.js → location-lifecycle-fvanntqq.js} +4 -4
  147. package/dist/chunks/{file-fxbjtjnd.js → location-lifecycle-fxbjtjnd.js} +1 -1
  148. package/dist/chunks/{file-gd4qta3r.js → location-lifecycle-gd4qta3r.js} +1 -1
  149. package/dist/chunks/{file-31wqgk5p.js → location-lifecycle-gd72yk4k.js} +8 -8
  150. package/dist/chunks/{file-gq8aqzna.js → location-lifecycle-gf5empat.js} +9 -9
  151. package/dist/chunks/{file-5gwdj91r.js → location-lifecycle-ggf7bkvv.js} +20 -20
  152. package/dist/chunks/{file-nqjmnyjs.js → location-lifecycle-ggq5dcm3.js} +11 -11
  153. package/dist/chunks/{file-kbhnhzqb.js → location-lifecycle-gjkqzqcc.js} +13 -13
  154. package/dist/chunks/{file-rtqwcmtr.js → location-lifecycle-gtgf4hgw.js} +35 -35
  155. package/dist/chunks/{file-gv6a8nnw.js → location-lifecycle-gv6a8nnw.js} +2 -2
  156. package/dist/chunks/{file-e3fp033c.js → location-lifecycle-h245sn8b.js} +26 -26
  157. package/dist/chunks/{file-z3v71fe4.js → location-lifecycle-h2wxkbap.js} +47 -47
  158. package/dist/chunks/{file-22br4zbr.js → location-lifecycle-h4f4r51q.js} +30 -30
  159. package/dist/chunks/{file-nzyhnfxz.js → location-lifecycle-h6r3nrb9.js} +4 -4
  160. package/dist/chunks/{file-h6vf3j39.js → location-lifecycle-h6vf3j39.js} +1 -1
  161. package/dist/chunks/{file-fpkmmq0f.js → location-lifecycle-hczr8cbj.js} +14 -14
  162. package/dist/chunks/{file-9gr8y5ys.js → location-lifecycle-hfdr1yjj.js} +4 -4
  163. package/dist/chunks/{file-510m7gjw.js → location-lifecycle-hnr5yq9h.js} +5 -5
  164. package/dist/chunks/{file-e34x8y7p.js → location-lifecycle-hx5ww8wt.js} +11 -11
  165. package/dist/chunks/{file-wxsy39h8.js → location-lifecycle-hyyd95r0.js} +23 -23
  166. package/dist/chunks/{file-hz1es13a.js → location-lifecycle-j1b47kne.js} +13 -13
  167. package/dist/chunks/{file-nb532tg8.js → location-lifecycle-j1cdcvp6.js} +12 -12
  168. package/dist/chunks/{file-2zzhbfmj.js → location-lifecycle-j47y1rpg.js} +5 -5
  169. package/dist/chunks/{file-j56e64zr.js → location-lifecycle-j56e64zr.js} +1 -1
  170. package/dist/chunks/{file-ya5dy726.js → location-lifecycle-j67awtyy.js} +6 -6
  171. package/dist/chunks/{file-j7wq2tw5.js → location-lifecycle-jexxy024.js} +3 -3
  172. package/dist/chunks/{file-wj40hwr9.js → location-lifecycle-jhhgd3qh.js} +42 -42
  173. package/dist/chunks/{file-0777derp.js → location-lifecycle-jhkwnjwh.js} +5 -5
  174. package/dist/chunks/{file-ad2z09fz.js → location-lifecycle-jmkpg1tv.js} +1 -1
  175. package/dist/chunks/{file-hmwvdnz2.js → location-lifecycle-jzk1318c.js} +73 -73
  176. package/dist/chunks/{file-qjbq15hs.js → location-lifecycle-kh1pyags.js} +4 -4
  177. package/dist/chunks/{file-4ghcrmft.js → location-lifecycle-kmnvbzv6.js} +26 -26
  178. package/dist/chunks/{file-t8t6b7x0.js → location-lifecycle-krfbeb92.js} +8 -8
  179. package/dist/chunks/{file-az4c37nw.js → location-lifecycle-m0f755xm.js} +20 -20
  180. package/dist/chunks/{file-m3fdjcah.js → location-lifecycle-m3fdjcah.js} +1 -1
  181. package/dist/chunks/{file-m9w0rfyh.js → location-lifecycle-m9w0rfyh.js} +1 -1
  182. package/dist/chunks/{file-d383cjmk.js → location-lifecycle-mgp54d0b.js} +8 -8
  183. package/dist/chunks/{file-7yh4e7ss.js → location-lifecycle-mhkvc446.js} +3 -3
  184. package/dist/chunks/{file-fkjmw100.js → location-lifecycle-mmr7bq34.js} +4 -4
  185. package/dist/chunks/{file-sp8y8b7b.js → location-lifecycle-mp35nka1.js} +20 -20
  186. package/dist/chunks/{file-702gse62.js → location-lifecycle-mva32z28.js} +17 -17
  187. package/dist/chunks/{file-8zvwwgc2.js → location-lifecycle-mvpbdd12.js} +20 -20
  188. package/dist/chunks/{file-5vx8nhhg.js → location-lifecycle-mxz5s2yc.js} +15 -15
  189. package/dist/chunks/{file-p0rshxbh.js → location-lifecycle-mzfd03wb.js} +11 -11
  190. package/dist/chunks/{file-t7ffcjc5.js → location-lifecycle-n6n0kg9a.js} +4 -4
  191. package/dist/chunks/{file-ftdzjz2b.js → location-lifecycle-nd37ta7v.js} +6 -6
  192. package/dist/chunks/{file-yebv8twa.js → location-lifecycle-nhqy4sqa.js} +13 -13
  193. package/dist/chunks/{file-jh2tjjwa.js → location-lifecycle-nm8nw6e9.js} +8 -8
  194. package/dist/chunks/{file-4dnw4fzb.js → location-lifecycle-nq9dbnk3.js} +22 -22
  195. package/dist/chunks/{file-h36v7wj5.js → location-lifecycle-nqmpqm90.js} +5 -5
  196. package/dist/chunks/{file-sez37x1t.js → location-lifecycle-nqzzttvm.js} +28 -28
  197. package/dist/chunks/{file-k3c624dm.js → location-lifecycle-nzks3jc8.js} +3 -3
  198. package/dist/chunks/{file-p28j5sbe.js → location-lifecycle-p28j5sbe.js} +2 -2
  199. package/dist/chunks/{file-cmwkp3r5.js → location-lifecycle-p37cw4rj.js} +8 -8
  200. package/dist/chunks/{file-cb7w9rn9.js → location-lifecycle-paajkr2z.js} +11 -11
  201. package/dist/chunks/{file-nqsne9m4.js → location-lifecycle-pbdcwqw7.js} +12 -12
  202. package/dist/chunks/{file-bacyadyn.js → location-lifecycle-pct1c8gm.js} +4 -4
  203. package/dist/chunks/location-lifecycle-pf31ssb9.js +18 -0
  204. package/dist/chunks/{file-nbpc3svs.js → location-lifecycle-pfwm97n5.js} +23 -23
  205. package/dist/chunks/{file-pjvnvgmy.js → location-lifecycle-pjvnvgmy.js} +1 -1
  206. package/dist/chunks/{file-pknna89w.js → location-lifecycle-pknna89w.js} +1 -1
  207. package/dist/chunks/{file-22wh6ycc.js → location-lifecycle-pnaw0c9t.js} +20 -20
  208. package/dist/chunks/{file-qg0jgkcp.js → location-lifecycle-pnv527nz.js} +9 -9
  209. package/dist/chunks/{file-ja67c5z9.js → location-lifecycle-pv0jxssj.js} +90 -90
  210. package/dist/chunks/{file-23bnecbk.js → location-lifecycle-q2v6prn4.js} +18 -18
  211. package/dist/chunks/{file-v9qkps81.js → location-lifecycle-qecw6cgk.js} +8 -8
  212. package/dist/chunks/{file-magykp64.js → location-lifecycle-qj8eh1ht.js} +4 -4
  213. package/dist/chunks/{file-drwq78ky.js → location-lifecycle-qqeeq2t9.js} +7 -7
  214. package/dist/chunks/{file-qsdy395h.js → location-lifecycle-qsdy395h.js} +1 -1
  215. package/dist/chunks/{file-tz2j9nz1.js → location-lifecycle-r3bctjxh.js} +4 -4
  216. package/dist/chunks/{file-018x1ems.js → location-lifecycle-r4zkvnxh.js} +32 -32
  217. package/dist/chunks/{file-73cb9t05.js → location-lifecycle-r5eg2mbx.js} +5 -5
  218. package/dist/chunks/{file-rdw6cm16.js → location-lifecycle-rdw6cm16.js} +1 -1
  219. package/dist/chunks/{file-12fxvqn6.js → location-lifecycle-rn962gke.js} +42 -42
  220. package/dist/chunks/{file-8nkxt6xp.js → location-lifecycle-s2bs1fdv.js} +31 -31
  221. package/dist/chunks/{file-gr0d3prr.js → location-lifecycle-s2vg9k3r.js} +8 -8
  222. package/dist/chunks/{file-v23xd7nj.js → location-lifecycle-s6ymxyzv.js} +6 -6
  223. package/dist/chunks/{file-02nrjc1r.js → location-lifecycle-s8d7rejh.js} +8 -8
  224. package/dist/chunks/{file-zen0tk5x.js → location-lifecycle-s8f2vjxk.js} +15 -15
  225. package/dist/chunks/{file-hkfg6fzm.js → location-lifecycle-s8zy8myc.js} +5 -5
  226. package/dist/chunks/{file-xsqcdhn5.js → location-lifecycle-saf3710r.js} +5 -5
  227. package/dist/chunks/{file-wvp89zrt.js → location-lifecycle-sr0d0zr7.js} +11 -11
  228. package/dist/chunks/{file-9xbxnfqb.js → location-lifecycle-stqvc9th.js} +20 -20
  229. package/dist/chunks/{file-f6jg9yks.js → location-lifecycle-sv5xqk1k.js} +30 -30
  230. package/dist/chunks/{file-hxzqr5y1.js → location-lifecycle-t52qyxg4.js} +51 -51
  231. package/dist/chunks/{file-tazgh4e4.js → location-lifecycle-tazgh4e4.js} +1 -1
  232. package/dist/chunks/{file-tcezcvh9.js → location-lifecycle-tcezcvh9.js} +1 -1
  233. package/dist/chunks/{file-tdstcens.js → location-lifecycle-tdstcens.js} +1 -1
  234. package/dist/chunks/{file-csk5y31k.js → location-lifecycle-tjc0thvv.js} +20 -20
  235. package/dist/chunks/{file-c78bbtc9.js → location-lifecycle-tn0aqsam.js} +5 -5
  236. package/dist/chunks/{file-dv7aa87v.js → location-lifecycle-tt7jjbn6.js} +39 -39
  237. package/dist/chunks/{file-p8pa7sfy.js → location-lifecycle-tvcmfbnv.js} +7 -7
  238. package/dist/chunks/{file-tvtrv512.js → location-lifecycle-tvtrv512.js} +1 -1
  239. package/dist/chunks/{file-s56qzf8n.js → location-lifecycle-v493j7fs.js} +24 -24
  240. package/dist/chunks/{file-ehy7cw58.js → location-lifecycle-v8bx17dy.js} +13 -13
  241. package/dist/chunks/{file-nk46f8av.js → location-lifecycle-va2dpz0y.js} +7 -7
  242. package/dist/chunks/{file-81tjde9w.js → location-lifecycle-vc73p0v5.js} +3 -3
  243. package/dist/chunks/{file-veqvce7d.js → location-lifecycle-veqvce7d.js} +1 -1
  244. package/dist/chunks/{file-mw9xfcqs.js → location-lifecycle-vs2t33p2.js} +11 -11
  245. package/dist/chunks/{file-s6j88jt8.js → location-lifecycle-vs8r1y1m.js} +5 -5
  246. package/dist/chunks/{file-vzcthcp8.js → location-lifecycle-vzcthcp8.js} +1 -1
  247. package/dist/chunks/{file-v53gfhad.js → location-lifecycle-w24sfk5b.js} +7 -7
  248. package/dist/chunks/{file-r8cnjpdy.js → location-lifecycle-w2kfgqzc.js} +3 -3
  249. package/dist/chunks/{file-w3wsvvr9.js → location-lifecycle-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{file-n31hfr13.js → location-lifecycle-w59xnf84.js} +11 -11
  251. package/dist/chunks/{file-wd87259q.js → location-lifecycle-wd87259q.js} +1 -1
  252. package/dist/chunks/{file-k83v2y4t.js → location-lifecycle-wgvq36tx.js} +24 -24
  253. package/dist/chunks/{file-ff3zbyyz.js → location-lifecycle-wr8ksv68.js} +9 -9
  254. package/dist/chunks/{file-42mthp08.js → location-lifecycle-wrg7rccz.js} +18 -18
  255. package/dist/chunks/{file-w6dmyrhq.js → location-lifecycle-wt8z1z9d.js} +90 -90
  256. package/dist/chunks/{file-zg8bah5t.js → location-lifecycle-wte3d928.js} +22 -22
  257. package/dist/chunks/{file-x1ezjp6w.js → location-lifecycle-x1ezjp6w.js} +1 -1
  258. package/dist/chunks/{file-h0zs8ypv.js → location-lifecycle-xfbmvp09.js} +10 -10
  259. package/dist/chunks/{file-4y2x8jxf.js → location-lifecycle-xyq16q30.js} +42 -42
  260. package/dist/chunks/{file-y1fvbwt7.js → location-lifecycle-y1fvbwt7.js} +1 -1
  261. package/dist/chunks/{file-7bzk74m1.js → location-lifecycle-y4zss4xy.js} +16 -16
  262. package/dist/chunks/{file-y71avatq.js → location-lifecycle-y71avatq.js} +1 -1
  263. package/dist/chunks/{file-fhmyd1cc.js → location-lifecycle-yadvhf33.js} +9 -9
  264. package/dist/chunks/{file-y8n92kwn.js → location-lifecycle-ybhbtxjg.js} +6 -6
  265. package/dist/chunks/{file-yt24apy5.js → location-lifecycle-ybresw7g.js} +26 -26
  266. package/dist/chunks/{file-s5e6zdc6.js → location-lifecycle-ycjxpqac.js} +17 -17
  267. package/dist/chunks/{file-yrhqyw5v.js → location-lifecycle-yrhqyw5v.js} +1 -1
  268. package/dist/chunks/{file-yrznvahk.js → location-lifecycle-yrznvahk.js} +2 -2
  269. package/dist/chunks/{file-5fkxaj5s.js → location-lifecycle-yv0w2na1.js} +5 -5
  270. package/dist/chunks/{file-a6f6mbr6.js → location-lifecycle-z02ytt51.js} +5 -5
  271. package/dist/chunks/{file-z0bkrqjs.js → location-lifecycle-z0bkrqjs.js} +1 -1
  272. package/dist/chunks/{file-z63w68vq.js → location-lifecycle-z63w68vq.js} +2 -2
  273. package/dist/chunks/{file-k1324ekq.js → location-lifecycle-z6bkgc6w.js} +16 -16
  274. package/dist/chunks/{file-wf1szsxf.js → location-lifecycle-z71671f7.js} +4 -4
  275. package/dist/chunks/{file-j6vme8qb.js → location-lifecycle-zbnh589t.js} +15 -15
  276. package/dist/chunks/{file-zeh9ct20.js → location-lifecycle-zeh9ct20.js} +2 -2
  277. package/dist/chunks/{file-g6mb1r40.js → location-lifecycle-zf2rbwzz.js} +15 -15
  278. package/dist/chunks/location-lifecycle-zf4zvmrv.js +478 -0
  279. package/dist/chunks/{file-m3pxzh9s.js → location-lifecycle-zjwkk0sd.js} +6 -6
  280. package/dist/chunks/{file-4wywpd95.js → location-lifecycle-zp3m46p8.js} +8 -8
  281. package/dist/chunks/{file-zr2ceqn5.js → location-lifecycle-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/location-lifecycle-zr96ze7e.js +252 -0
  283. package/dist/chunks/{file-361xm3ya.js → location-lifecycle-zsyedvcm.js} +42 -42
  284. package/dist/chunks/{file-zxq2ej10.js → location-lifecycle-zxq2ej10.js} +1 -1
  285. package/dist/chunks/{file-pht2kxnm.js → location-lifecycle-zym820by.js} +16 -16
  286. package/dist/chunks/{file-j18yem6v.js → location-lifecycle-zz90d7t7.js} +9 -9
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +9 -9
  289. package/dist/codemode/tool.js +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +84 -84
  292. package/dist/config/discovery.js +81 -81
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +105 -105
  295. package/dist/config/plugin/agent.js +124 -124
  296. package/dist/config/plugin/command.js +213 -213
  297. package/dist/config/plugin/compaction.js +159 -159
  298. package/dist/config/plugin/compatibility.js +140 -140
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +123 -123
  301. package/dist/config/plugin/image.js +122 -122
  302. package/dist/config/plugin/instruction.js +89 -89
  303. package/dist/config/plugin/location-watcher.js +124 -124
  304. package/dist/config/plugin/mcp.js +131 -131
  305. package/dist/config/plugin/policy.js +122 -122
  306. package/dist/config/plugin/provider.js +122 -122
  307. package/dist/config/plugin/reference.js +124 -124
  308. package/dist/config/plugin/shell.js +124 -124
  309. package/dist/config/plugin/skill-file.js +101 -101
  310. package/dist/config/plugin/skill.js +143 -143
  311. package/dist/config/plugin/snapshot.js +122 -122
  312. package/dist/config/plugin/source.js +125 -125
  313. package/dist/config/plugin/tool-output.js +124 -124
  314. package/dist/config/plugin/websearch.js +123 -123
  315. package/dist/config/plugin/worktree.js +124 -124
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +125 -125
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +84 -84
  321. package/dist/database/database.js +71 -71
  322. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +15 -15
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +16 -16
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  385. package/dist/database/migration.gen.js +48 -48
  386. package/dist/database/migration.js +50 -50
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +75 -75
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +366 -366
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +1 -1
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +92 -92
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +94 -94
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +71 -71
  410. package/dist/file-access.js +103 -103
  411. package/dist/file-mutation.js +93 -93
  412. package/dist/file-retention.js +1 -1
  413. package/dist/file.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/ignore.js +1 -1
  419. package/dist/filesystem/location-watcher-policy.js +6 -6
  420. package/dist/filesystem/location-watcher.js +226 -226
  421. package/dist/filesystem/protected.js +1 -1
  422. package/dist/filesystem/search.js +102 -102
  423. package/dist/filesystem/watcher-binding.js +1 -1
  424. package/dist/filesystem/watcher.js +13 -13
  425. package/dist/filesystem.js +103 -103
  426. package/dist/form.js +79 -79
  427. package/dist/formatter/builtins.js +4 -4
  428. package/dist/formatter.js +86 -86
  429. package/dist/generate.js +102 -102
  430. package/dist/git.js +8 -8
  431. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  432. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  433. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  435. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  437. package/dist/github-copilot/copilot-provider.js +17 -17
  438. package/dist/github-copilot/models.js +90 -90
  439. package/dist/github-copilot/openai-compatible-error.js +1 -1
  440. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  441. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  442. package/dist/github-copilot/responses/openai-error.js +1 -1
  443. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  444. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  445. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  446. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  447. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  450. package/dist/id/id.js +1 -1
  451. package/dist/image/photon.js +2 -2
  452. package/dist/image.js +6 -6
  453. package/dist/instance/service.js +5 -5
  454. package/dist/instance.js +357 -357
  455. package/dist/instruction-discovery.js +84 -84
  456. package/dist/instructions/builtins.js +86 -86
  457. package/dist/instructions/index.js +5 -5
  458. package/dist/integration/connection.js +3 -3
  459. package/dist/integration.js +85 -85
  460. package/dist/job.js +78 -78
  461. package/dist/kv/sql.js +2 -2
  462. package/dist/kv.js +72 -72
  463. package/dist/location-activity.js +132 -132
  464. package/dist/location-lifecycle.js +105 -105
  465. package/dist/location-mutation.js +103 -103
  466. package/dist/location-service-map.js +85 -85
  467. package/dist/location-services.js +354 -354
  468. package/dist/location.js +86 -86
  469. package/dist/mcp/client.js +90 -90
  470. package/dist/mcp/index.js +107 -107
  471. package/dist/mcp/instructions.js +127 -127
  472. package/dist/mcp/oauth.js +77 -77
  473. package/dist/mcp/stdio.js +89 -89
  474. package/dist/mime.js +1 -1
  475. package/dist/modal/models.js +90 -90
  476. package/dist/model-resolver.js +95 -95
  477. package/dist/model.js +101 -101
  478. package/dist/models-dev.js +100 -100
  479. package/dist/oauth/page.js +1 -1
  480. package/dist/permission/saved.js +79 -79
  481. package/dist/permission/sql.js +5 -5
  482. package/dist/permission.js +110 -110
  483. package/dist/persistent-pty/binary.bun.js +1 -1
  484. package/dist/persistent-pty/daemon.js +1 -1
  485. package/dist/persistent-pty/index.js +83 -83
  486. package/dist/persistent-pty/pty-binding.js +1 -1
  487. package/dist/persistent-pty.js +74 -74
  488. package/dist/plugin/agent.js +103 -103
  489. package/dist/plugin/command.js +100 -100
  490. package/dist/plugin/hooks.js +5 -5
  491. package/dist/plugin/host.js +217 -217
  492. package/dist/plugin/identity.js +3 -3
  493. package/dist/plugin/instance.js +5 -5
  494. package/dist/plugin/internal.js +328 -328
  495. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  496. package/dist/plugin/models-dev.js +95 -95
  497. package/dist/plugin/module.js +7 -7
  498. package/dist/plugin/optimize.js +2 -2
  499. package/dist/plugin/plan.js +101 -101
  500. package/dist/plugin/promise.js +1 -1
  501. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  502. package/dist/plugin/provider/azure.js +121 -121
  503. package/dist/plugin/provider/cerebras.js +1 -1
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +118 -118
  508. package/dist/plugin/provider/digitalocean.js +92 -92
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/gateway.js +2 -2
  512. package/dist/plugin/provider/github-copilot.js +92 -92
  513. package/dist/plugin/provider/gitlab.js +90 -90
  514. package/dist/plugin/provider/google-vertex.js +89 -89
  515. package/dist/plugin/provider/kilo.js +1 -1
  516. package/dist/plugin/provider/llmgateway.js +76 -76
  517. package/dist/plugin/provider/lmstudio.js +121 -121
  518. package/dist/plugin/provider/modal.js +91 -91
  519. package/dist/plugin/provider/nvidia.js +1 -1
  520. package/dist/plugin/provider/ollama.js +121 -121
  521. package/dist/plugin/provider/openai.js +91 -91
  522. package/dist/plugin/provider/opencode.js +92 -92
  523. package/dist/plugin/provider/openrouter.js +90 -90
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +77 -77
  526. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  527. package/dist/plugin/provider/sap-ai-core.js +90 -90
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  530. package/dist/plugin/provider/venice.js +2 -2
  531. package/dist/plugin/provider/vercel.js +89 -89
  532. package/dist/plugin/provider/vllm.js +121 -121
  533. package/dist/plugin/provider/xai.js +90 -90
  534. package/dist/plugin/provider/zenmux.js +1 -1
  535. package/dist/plugin/provider.js +158 -158
  536. package/dist/plugin/sdk.js +75 -75
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +140 -140
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +347 -347
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/vcs/git.js +85 -85
  543. package/dist/plugin/vcs/hg.js +85 -85
  544. package/dist/plugin/warming.js +120 -120
  545. package/dist/plugin/websearch/exa.js +7 -7
  546. package/dist/plugin/websearch/firecrawl.js +8 -8
  547. package/dist/plugin/websearch/index.js +9 -9
  548. package/dist/plugin/websearch/mcp.js +6 -6
  549. package/dist/plugin/websearch/parallel.js +8 -8
  550. package/dist/plugin/websearch/tavily.js +6 -6
  551. package/dist/plugin/websearch/tinyfish.js +8 -8
  552. package/dist/plugin.js +224 -224
  553. package/dist/project/schema.js +8 -8
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +85 -85
  556. package/dist/provider.js +100 -100
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/schema.js +1 -1
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +93 -93
  561. package/dist/reference/instructions.js +88 -88
  562. package/dist/reference.js +90 -90
  563. package/dist/repository-cache.js +80 -80
  564. package/dist/repository.js +3 -3
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +96 -96
  567. package/dist/rpc.js +85 -85
  568. package/dist/schema.js +1 -1
  569. package/dist/session/command.js +73 -73
  570. package/dist/session/compaction.js +131 -131
  571. package/dist/session/context.js +151 -151
  572. package/dist/session/diff.js +87 -87
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +5 -5
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +221 -221
  577. package/dist/session/execution.js +127 -127
  578. package/dist/session/generate.js +152 -152
  579. package/dist/session/history.js +13 -13
  580. package/dist/session/inbox.js +87 -87
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +78 -78
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +96 -96
  585. package/dist/session/message-updater.js +2 -2
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +118 -118
  588. package/dist/session/model-transport.js +9 -9
  589. package/dist/session/move.js +129 -129
  590. package/dist/session/projector.js +85 -85
  591. package/dist/session/prompt.js +104 -104
  592. package/dist/session/provider-context.js +3 -3
  593. package/dist/session/revert.js +89 -89
  594. package/dist/session/run-coordinator.js +3 -3
  595. package/dist/session/runner/index.js +3 -3
  596. package/dist/session/runner/llm.js +230 -230
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +97 -97
  599. package/dist/session/runner/publish-llm-event.js +3 -3
  600. package/dist/session/runner/retry.js +113 -113
  601. package/dist/session/runner/step.js +125 -125
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +5 -5
  604. package/dist/session/session.js +169 -169
  605. package/dist/session/shell.js +137 -137
  606. package/dist/session/skill.js +102 -102
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +72 -72
  609. package/dist/session/store.js +84 -84
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +209 -209
  612. package/dist/session/system-prompt.js +5 -5
  613. package/dist/session/title.js +155 -155
  614. package/dist/session/to-session-error.js +110 -110
  615. package/dist/session/transfer.js +217 -217
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +219 -219
  618. package/dist/shell/parse.js +6 -6
  619. package/dist/shell/result.js +1 -1
  620. package/dist/shell/scan.js +1 -1
  621. package/dist/shell/select.js +11 -11
  622. package/dist/shell.js +137 -137
  623. package/dist/skill/discovery.js +6 -6
  624. package/dist/skill/instructions.js +106 -106
  625. package/dist/skill.js +107 -107
  626. package/dist/snapshot.js +92 -92
  627. package/dist/state.js +1 -1
  628. package/dist/tool/html-markdown.js +1 -1
  629. package/dist/tool/http-body.js +1 -1
  630. package/dist/tool/mcp.js +124 -124
  631. package/dist/tool/plugin/edit.js +117 -117
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +123 -123
  634. package/dist/tool/plugin/grep.js +123 -123
  635. package/dist/tool/plugin/opencode.js +3 -3
  636. package/dist/tool/plugin/patch.js +121 -121
  637. package/dist/tool/plugin/question.js +100 -100
  638. package/dist/tool/plugin/read.js +122 -122
  639. package/dist/tool/plugin/shell.js +216 -216
  640. package/dist/tool/plugin/skill.js +110 -110
  641. package/dist/tool/plugin/subagent.js +218 -218
  642. package/dist/tool/plugin/webfetch.js +109 -109
  643. package/dist/tool/plugin/websearch.js +111 -111
  644. package/dist/tool/plugin/write.js +121 -121
  645. package/dist/tool/read-filesystem.js +99 -99
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +8 -8
  648. package/dist/tool.js +14 -14
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  651. package/dist/util/git-executable.js +2 -2
  652. package/dist/util/iife.js +1 -1
  653. package/dist/util/lazy.js +1 -1
  654. package/dist/util/slug.js +1 -1
  655. package/dist/util/token.js +1 -1
  656. package/dist/util/which.js +1 -1
  657. package/dist/util/wildcard.js +1 -1
  658. package/dist/v1/config/agent.js +5 -5
  659. package/dist/v1/config/attachment.js +4 -4
  660. package/dist/v1/config/command.js +5 -5
  661. package/dist/v1/config/config.js +14 -14
  662. package/dist/v1/config/error.js +2 -2
  663. package/dist/v1/config/formatter.js +3 -3
  664. package/dist/v1/config/layout.js +1 -1
  665. package/dist/v1/config/lsp.js +3 -3
  666. package/dist/v1/config/mcp.js +4 -4
  667. package/dist/v1/config/migrate.js +91 -91
  668. package/dist/v1/config/permission.js +3 -3
  669. package/dist/v1/config/plugin.js +3 -3
  670. package/dist/v1/config/provider-options.js +1 -1
  671. package/dist/v1/config/provider.js +4 -4
  672. package/dist/v1/config/server.js +2 -2
  673. package/dist/v1/config/skills.js +3 -3
  674. package/dist/v1/permission.js +1 -1
  675. package/dist/variant.js +90 -90
  676. package/dist/vcs/patch.js +1 -1
  677. package/dist/vcs.js +88 -88
  678. package/dist/websearch.js +81 -81
  679. package/dist/wellknown/plugin.js +75 -75
  680. package/dist/wellknown.js +78 -78
  681. package/dist/workspace/driver.js +5 -5
  682. package/dist/workspace/sql.js +1 -1
  683. package/dist/workspace.js +79 -79
  684. package/dist/worktree/directory.js +2 -2
  685. package/dist/worktree/git.js +10 -10
  686. package/dist/worktree/sql.js +5 -5
  687. package/dist/worktree/strategies.js +88 -88
  688. package/dist/worktree.js +95 -95
  689. package/package.json +8 -8
  690. package/dist/chunks/file-1x11rq2a.js +0 -18
  691. package/dist/chunks/file-3cg6k2ga.js +0 -252
  692. package/dist/chunks/file-4938m1cx.js +0 -478
  693. package/dist/chunks/file-nvdf328w.js +0 -26
  694. /package/dist/chunks/{file-0mesazry.js → location-lifecycle-0mesazry.js} +0 -0
  695. /package/dist/chunks/{file-0qkdqm5v.js → location-lifecycle-0qkdqm5v.js} +0 -0
  696. /package/dist/chunks/{file-0zkw76rk.js → location-lifecycle-0zkw76rk.js} +0 -0
  697. /package/dist/chunks/{file-17cy0kzp.js → location-lifecycle-17cy0kzp.js} +0 -0
  698. /package/dist/chunks/{file-1cnp2v09.js → location-lifecycle-1cnp2v09.js} +0 -0
  699. /package/dist/chunks/{file-1kg9ymc8.js → location-lifecycle-1kg9ymc8.js} +0 -0
  700. /package/dist/chunks/{file-24dcb14g.js → location-lifecycle-24dcb14g.js} +0 -0
  701. /package/dist/chunks/{file-2710q6r3.js → location-lifecycle-2710q6r3.js} +0 -0
  702. /package/dist/chunks/{file-2axfhc9x.js → location-lifecycle-2axfhc9x.js} +0 -0
  703. /package/dist/chunks/{file-2c3vjs8z.js → location-lifecycle-2c3vjs8z.js} +0 -0
  704. /package/dist/chunks/{file-359p4xyc.js → location-lifecycle-359p4xyc.js} +0 -0
  705. /package/dist/chunks/{file-3asan66x.js → location-lifecycle-3asan66x.js} +0 -0
  706. /package/dist/chunks/{file-3v8g72cx.js → location-lifecycle-3v8g72cx.js} +0 -0
  707. /package/dist/chunks/{file-3w5fmr99.js → location-lifecycle-3w5fmr99.js} +0 -0
  708. /package/dist/chunks/{file-3wcehsnq.js → location-lifecycle-3wcehsnq.js} +0 -0
  709. /package/dist/chunks/{file-43n2bw4t.js → location-lifecycle-43n2bw4t.js} +0 -0
  710. /package/dist/chunks/{file-4knz6hnm.js → location-lifecycle-4knz6hnm.js} +0 -0
  711. /package/dist/chunks/{file-4vcrnpx2.js → location-lifecycle-4vcrnpx2.js} +0 -0
  712. /package/dist/chunks/{file-4y7fprxs.js → location-lifecycle-4y7fprxs.js} +0 -0
  713. /package/dist/chunks/{file-53557ph1.js → location-lifecycle-53557ph1.js} +0 -0
  714. /package/dist/chunks/{file-550bvhaj.js → location-lifecycle-550bvhaj.js} +0 -0
  715. /package/dist/chunks/{file-5qd3pb7m.js → location-lifecycle-5qd3pb7m.js} +0 -0
  716. /package/dist/chunks/{file-6prwharc.js → location-lifecycle-6prwharc.js} +0 -0
  717. /package/dist/chunks/{file-7akdwqpd.js → location-lifecycle-7akdwqpd.js} +0 -0
  718. /package/dist/chunks/{file-7m9af43g.js → location-lifecycle-7m9af43g.js} +0 -0
  719. /package/dist/chunks/{file-822emrt2.js → location-lifecycle-822emrt2.js} +0 -0
  720. /package/dist/chunks/{file-88xbtdfr.js → location-lifecycle-88xbtdfr.js} +0 -0
  721. /package/dist/chunks/{file-8n3pysct.js → location-lifecycle-8n3pysct.js} +0 -0
  722. /package/dist/chunks/{file-922hggd3.js → location-lifecycle-922hggd3.js} +0 -0
  723. /package/dist/chunks/{file-9a4afbnw.js → location-lifecycle-9a4afbnw.js} +0 -0
  724. /package/dist/chunks/{file-9rqn6x4v.js → location-lifecycle-9rqn6x4v.js} +0 -0
  725. /package/dist/chunks/{file-a6k6eb26.js → location-lifecycle-a6k6eb26.js} +0 -0
  726. /package/dist/chunks/{file-af5trqkr.js → location-lifecycle-af5trqkr.js} +0 -0
  727. /package/dist/chunks/{file-afrmfg78.js → location-lifecycle-afrmfg78.js} +0 -0
  728. /package/dist/chunks/{file-aqzs7mqg.js → location-lifecycle-aqzs7mqg.js} +0 -0
  729. /package/dist/chunks/{file-atq7p7m5.js → location-lifecycle-atq7p7m5.js} +0 -0
  730. /package/dist/chunks/{file-bkyjaxrp.js → location-lifecycle-bkyjaxrp.js} +0 -0
  731. /package/dist/chunks/{file-bmr6ed5q.js → location-lifecycle-bmr6ed5q.js} +0 -0
  732. /package/dist/chunks/{file-cf4snx6d.js → location-lifecycle-cf4snx6d.js} +0 -0
  733. /package/dist/chunks/{file-cvy3z8tj.js → location-lifecycle-cvy3z8tj.js} +0 -0
  734. /package/dist/chunks/{file-d9fn303g.js → location-lifecycle-d9fn303g.js} +0 -0
  735. /package/dist/chunks/{file-d9jj8t3e.js → location-lifecycle-d9jj8t3e.js} +0 -0
  736. /package/dist/chunks/{file-dajrwvna.js → location-lifecycle-dajrwvna.js} +0 -0
  737. /package/dist/chunks/{file-dap0rakb.js → location-lifecycle-dap0rakb.js} +0 -0
  738. /package/dist/chunks/{file-df08tz66.js → location-lifecycle-df08tz66.js} +0 -0
  739. /package/dist/chunks/{file-dy18nga0.js → location-lifecycle-dy18nga0.js} +0 -0
  740. /package/dist/chunks/{file-e5kj55wp.js → location-lifecycle-e5kj55wp.js} +0 -0
  741. /package/dist/chunks/{file-e73j6tqm.js → location-lifecycle-e73j6tqm.js} +0 -0
  742. /package/dist/chunks/{file-ec1grn59.js → location-lifecycle-ec1grn59.js} +0 -0
  743. /package/dist/chunks/{file-eh3zwz77.js → location-lifecycle-eh3zwz77.js} +0 -0
  744. /package/dist/chunks/{file-emrn6kk6.js → location-lifecycle-emrn6kk6.js} +0 -0
  745. /package/dist/chunks/{file-f0mxakyp.js → location-lifecycle-f0mxakyp.js} +0 -0
  746. /package/dist/chunks/{file-f6n9ztr4.js → location-lifecycle-f6n9ztr4.js} +0 -0
  747. /package/dist/chunks/{file-faypxj3z.js → location-lifecycle-faypxj3z.js} +0 -0
  748. /package/dist/chunks/{file-fd410y7t.js → location-lifecycle-fd410y7t.js} +0 -0
  749. /package/dist/chunks/{file-fxgpk5d8.js → location-lifecycle-fxgpk5d8.js} +0 -0
  750. /package/dist/chunks/{file-g4wezp1m.js → location-lifecycle-g4wezp1m.js} +0 -0
  751. /package/dist/chunks/{file-g86h250q.js → location-lifecycle-g86h250q.js} +0 -0
  752. /package/dist/chunks/{file-gebd4c9n.js → location-lifecycle-gebd4c9n.js} +0 -0
  753. /package/dist/chunks/{file-gftt206x.js → location-lifecycle-gftt206x.js} +0 -0
  754. /package/dist/chunks/{file-hjbc5kem.js → location-lifecycle-hjbc5kem.js} +0 -0
  755. /package/dist/chunks/{file-hk9envan.js → location-lifecycle-hk9envan.js} +0 -0
  756. /package/dist/chunks/{file-j2ntwpah.js → location-lifecycle-j2ntwpah.js} +0 -0
  757. /package/dist/chunks/{file-j5zkgpj8.js → location-lifecycle-j5zkgpj8.js} +0 -0
  758. /package/dist/chunks/{file-jjkms2e6.js → location-lifecycle-jjkms2e6.js} +0 -0
  759. /package/dist/chunks/{file-jr7sbwjy.js → location-lifecycle-jr7sbwjy.js} +0 -0
  760. /package/dist/chunks/{file-jwfs4k6c.js → location-lifecycle-jwfs4k6c.js} +0 -0
  761. /package/dist/chunks/{file-jzg6c2d5.js → location-lifecycle-jzg6c2d5.js} +0 -0
  762. /package/dist/chunks/{file-mp448xyj.js → location-lifecycle-mp448xyj.js} +0 -0
  763. /package/dist/chunks/{file-msx8hqn2.js → location-lifecycle-msx8hqn2.js} +0 -0
  764. /package/dist/chunks/{file-n05xt0ee.js → location-lifecycle-n05xt0ee.js} +0 -0
  765. /package/dist/chunks/{file-n3j8tn72.js → location-lifecycle-n3j8tn72.js} +0 -0
  766. /package/dist/chunks/{file-njntx4h6.js → location-lifecycle-njntx4h6.js} +0 -0
  767. /package/dist/chunks/{file-q3sfg36h.js → location-lifecycle-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{file-q74kybfr.js → location-lifecycle-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{file-qaymkmh1.js → location-lifecycle-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{file-qb87gjwd.js → location-lifecycle-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{file-qfa1cgps.js → location-lifecycle-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{file-qg3g05ea.js → location-lifecycle-qg3g05ea.js} +0 -0
  773. /package/dist/chunks/{file-qrg20bc0.js → location-lifecycle-qrg20bc0.js} +0 -0
  774. /package/dist/chunks/{file-rcb2kzg1.js → location-lifecycle-rcb2kzg1.js} +0 -0
  775. /package/dist/chunks/{file-sdp7kfr6.js → location-lifecycle-sdp7kfr6.js} +0 -0
  776. /package/dist/chunks/{file-sk3qaz4a.js → location-lifecycle-sk3qaz4a.js} +0 -0
  777. /package/dist/chunks/{file-ssg3fenm.js → location-lifecycle-ssg3fenm.js} +0 -0
  778. /package/dist/chunks/{file-twg0f83k.js → location-lifecycle-twg0f83k.js} +0 -0
  779. /package/dist/chunks/{file-w803qqfp.js → location-lifecycle-w803qqfp.js} +0 -0
  780. /package/dist/chunks/{file-wc3fc9cn.js → location-lifecycle-wc3fc9cn.js} +0 -0
  781. /package/dist/chunks/{file-wer8tq1h.js → location-lifecycle-wer8tq1h.js} +0 -0
  782. /package/dist/chunks/{file-wtztk69x.js → location-lifecycle-wtztk69x.js} +0 -0
  783. /package/dist/chunks/{file-x0ckcb58.js → location-lifecycle-x0ckcb58.js} +0 -0
  784. /package/dist/chunks/{file-x61499pn.js → location-lifecycle-x61499pn.js} +0 -0
  785. /package/dist/chunks/{file-y44na4kk.js → location-lifecycle-y44na4kk.js} +0 -0
  786. /package/dist/chunks/{file-y8cydn3q.js → location-lifecycle-y8cydn3q.js} +0 -0
  787. /package/dist/chunks/{file-y8f7s663.js → location-lifecycle-y8f7s663.js} +0 -0
  788. /package/dist/chunks/{file-ygaqb7jw.js → location-lifecycle-ygaqb7jw.js} +0 -0
  789. /package/dist/chunks/{file-ym463w8f.js → location-lifecycle-ym463w8f.js} +0 -0
  790. /package/dist/chunks/{file-z9919s4g.js → location-lifecycle-z9919s4g.js} +0 -0
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service83,
3
- node86
4
- } from "./file-bpnjy3z7.js";
3
+ node87
4
+ } from "./location-lifecycle-14p9gyp6.js";
5
5
  import {
6
6
  Service82,
7
- node85
8
- } from "./file-p0rshxbh.js";
7
+ node86
8
+ } from "./location-lifecycle-mzfd03wb.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./file-pknna89w.js";
11
+ } from "./location-lifecycle-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./file-0q0f95c6.js";
14
+ } from "./location-lifecycle-0q0f95c6.js";
15
15
  import {
16
16
  __export
17
- } from "./file-9rqn6x4v.js";
17
+ } from "./location-lifecycle-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event16,
24
- ID: () => ID11,
25
- Info: () => Info25,
26
- Key: () => Key3,
23
+ Event: () => Event21,
24
+ ID: () => ID18,
25
+ Info: () => Info34,
26
+ Key: () => Key4,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service69,
28
+ Service: () => Service81,
29
29
  Value: () => Value2,
30
- node: () => node72
30
+ node: () => node85
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
34
34
  import { Credential } from "@opencode/schema/credential";
35
35
  import { Integration } from "@opencode/schema/integration";
36
36
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
37
- var ID11 = Credential.ID;
37
+ var ID18 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
- var Key3 = Credential.Key;
39
+ var Key4 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event16 = Credential.Event;
41
+ var Event21 = Credential.Event;
42
42
 
43
- class Info25 extends Schema.Class("Credential.Info")({
44
- id: ID11,
43
+ class Info34 extends Schema.Class("Credential.Info")({
44
+ id: ID18,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
48
48
  }) {
49
49
  }
50
50
 
51
- class Service69 extends Context.Service()("@opencode/Credential") {
51
+ class Service81 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service69, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service81, Effect.gen(function* () {
54
54
  const db = (yield* Service83).db;
55
55
  const bus = yield* Service82;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info25({
60
+ return new Info34({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service69.of({
71
+ return Service81.of({
72
72
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
73
73
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
74
74
  get: Effect.fn("Credential.get")(function* (id) {
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
76
76
  return row ? stored(row) : undefined;
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
- const credential = new Info25({
80
- id: ID11.create(),
79
+ const credential = new Info34({
80
+ id: ID18.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
101
101
  integrationID: credential.integrationID,
102
102
  type: credential.value.type
103
103
  });
104
- yield* bus.publish(Event16.Updated, {}, { global: true });
105
- yield* bus.publish(Event16.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
104
+ yield* bus.publish(Event21.Updated, {}, { global: true });
105
+ yield* bus.publish(Event21.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
106
106
  return credential;
107
107
  }),
108
108
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
122
122
  })), Effect.orDie);
123
123
  if (integrationID) {
124
124
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
125
- yield* bus.publish(Event16.Switched, { integrationID, credentialID: id }, { global: true });
125
+ yield* bus.publish(Event21.Switched, { integrationID, credentialID: id }, { global: true });
126
126
  }
127
127
  }),
128
128
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
154
154
  labelChanged: updates.label !== undefined && updates.label !== credential.label
155
155
  });
156
156
  if (updates.label !== undefined && updates.label !== credential.label)
157
- yield* bus.publish(Event16.Updated, {}, { global: true });
157
+ yield* bus.publish(Event21.Updated, {}, { global: true });
158
158
  }),
159
159
  remove: Effect.fn("Credential.remove")(function* (id) {
160
160
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
187
187
  active: removed.switched,
188
188
  ...removed.switched ? { replacementID: removed.credentialID } : {}
189
189
  });
190
- yield* bus.publish(Event16.Updated, {}, { global: true });
190
+ yield* bus.publish(Event21.Updated, {}, { global: true });
191
191
  if (removed.switched)
192
- yield* bus.publish(Event16.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
192
+ yield* bus.publish(Event21.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
193
193
  })
194
194
  });
195
195
  }));
196
- var node72 = makeGlobalNode({ service: Service69, layer, deps: [node86, node85] });
196
+ var node85 = makeGlobalNode({ service: Service81, layer, deps: [node87, node86] });
197
197
 
198
- export { ID11, OAuth3, Key3, Value2, Event16, Info25, Service69, node72, exports_credential };
198
+ export { ID18, OAuth3, Key4, Value2, Event21, Info34, Service81, node85, exports_credential };
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./file-ad2z09fz.js";
5
+ } from "./location-lifecycle-jmkpg1tv.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
- make21,
9
+ make23,
10
10
  makeWithDefaults2
11
- } from "./file-ya5dy726.js";
11
+ } from "./location-lifecycle-j67awtyy.js";
12
12
  import {
13
13
  __export
14
- } from "./file-9rqn6x4v.js";
14
+ } from "./location-lifecycle-9rqn6x4v.js";
15
15
 
16
16
  // src/database/drizzle/index.ts
17
17
  var exports_drizzle = {};
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
22
22
  EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
23
23
  EffectSQLiteSession: () => EffectSQLiteSession2,
24
24
  EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
25
- make: () => make21,
25
+ make: () => make23,
26
26
  makeWithDefaults: () => makeWithDefaults2,
27
27
  managesTransactionsNatively: () => managesTransactionsNatively2
28
28
  });
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-9rqn6x4v.js";
3
+ } from "./location-lifecycle-9rqn6x4v.js";
4
4
 
5
5
  // src/state.ts
6
6
  var exports_state = {};
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./file-922hggd3.js";
3
+ } from "./location-lifecycle-922hggd3.js";
4
4
  import {
5
5
  latest2,
6
6
  Service58
7
- } from "./file-ame7p0bf.js";
7
+ } from "./location-lifecycle-773chg42.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./file-2a5m3afh.js";
10
+ } from "./location-lifecycle-2a5m3afh.js";
11
11
  import {
12
- Service62
13
- } from "./file-s56qzf8n.js";
12
+ Service53
13
+ } from "./location-lifecycle-v493j7fs.js";
14
14
  import {
15
- Service51
16
- } from "./file-s5e6zdc6.js";
15
+ Service48
16
+ } from "./location-lifecycle-ycjxpqac.js";
17
17
  import {
18
- Service72
19
- } from "./file-6r536pd1.js";
18
+ Service69
19
+ } from "./location-lifecycle-0a352m4e.js";
20
20
  import {
21
- Service41,
21
+ Service21,
22
22
  resolvePath2
23
- } from "./file-6v4peh9p.js";
23
+ } from "./location-lifecycle-0fa7bwbn.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./file-fxbjtjnd.js";
29
+ } from "./location-lifecycle-fxbjtjnd.js";
30
30
  import {
31
- Service61,
31
+ Service56,
32
32
  name15
33
- } from "./file-8y3wyrth.js";
33
+ } from "./location-lifecycle-aa26r2b5.js";
34
34
  import {
35
35
  NotFoundError6,
36
- Service56
37
- } from "./file-wj40hwr9.js";
36
+ Service45
37
+ } from "./location-lifecycle-jhhgd3qh.js";
38
38
  import {
39
- Service16
40
- } from "./file-w6dmyrhq.js";
39
+ Service24
40
+ } from "./location-lifecycle-wt8z1z9d.js";
41
41
  import {
42
42
  scan2
43
- } from "./file-qjbq15hs.js";
43
+ } from "./location-lifecycle-kh1pyags.js";
44
44
  import {
45
45
  __export
46
- } from "./file-9rqn6x4v.js";
46
+ } from "./location-lifecycle-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
- var exports_shell2 = {};
50
- __export(exports_shell2, {
49
+ var exports_shell = {};
50
+ __export(exports_shell, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input5,
53
- Plugin: () => Plugin24,
54
- ShellTool: () => exports_shell2,
55
- name: () => name5
52
+ Input: () => Input12,
53
+ Plugin: () => Plugin27,
54
+ ShellTool: () => exports_shell,
55
+ name: () => name12
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name5 = "shell";
59
+ var name12 = "shell";
60
60
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
61
61
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
62
62
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -70,7 +70,7 @@ var description = (shell) => [
70
70
  "Commands accept an optional timeout, background commands have no timeout by default.",
71
71
  "Background commands return immediately, and you will be notified when they complete."
72
72
  ].join(" ");
73
- var Input5 = Schema.Struct({
73
+ var Input12 = Schema.Struct({
74
74
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
75
75
  workdir: Schema.optionalKey(Schema.String).annotate({
76
76
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -115,18 +115,18 @@ Output is streaming to: ${file}`,
115
115
  truncated: false,
116
116
  status: "running"
117
117
  });
118
- var Plugin24 = {
118
+ var Plugin27 = {
119
119
  id: "opencode.tool.shell",
120
120
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
121
- const sessions = yield* Service16;
122
- const jobs = yield* Service51;
121
+ const sessions = yield* Service24;
122
+ const jobs = yield* Service48;
123
123
  const scope = yield* Scope.Scope;
124
- const environment = yield* Service62;
125
- const access = yield* Service41;
126
- const shell = yield* Service56;
127
- const shellSelect = yield* Service61;
124
+ const environment = yield* Service53;
125
+ const access = yield* Service21;
126
+ const shell = yield* Service45;
127
+ const shellSelect = yield* Service56;
128
128
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
129
- const permission = yield* Service72;
129
+ const permission = yield* Service69;
130
130
  const config = yield* Service58;
131
131
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
132
132
  const source = {
@@ -146,7 +146,7 @@ var Plugin24 = {
146
146
  yield* access.authorizeExternal([target, ...directories], context);
147
147
  if (parsed.commands.length > 0)
148
148
  yield* permission.assert({
149
- action: name5,
149
+ action: name12,
150
150
  resources: parsed.commands.map((command) => command.resource),
151
151
  save: parsed.commands.map((command) => command.save),
152
152
  sessionID: context.sessionID,
@@ -183,10 +183,10 @@ var Plugin24 = {
183
183
  yield* jobs.completeBackground(info.notificationID);
184
184
  }, Effect.forkIn(scope, { startImmediately: true }));
185
185
  yield* ctx.tool.transform((editor) => editor.add({
186
- name: name5,
186
+ name: name12,
187
187
  options: { codemode: false },
188
188
  description: description(),
189
- input: Input5,
189
+ input: Input12,
190
190
  output: Output,
191
191
  execute: (input, context) => Effect.gen(function* () {
192
192
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
219
219
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
220
220
  const job = yield* jobs.start({
221
221
  id: info.id,
222
- type: name5,
222
+ type: name12,
223
223
  title: info.command,
224
224
  metadata: { sessionID: context.sessionID, shellID: info.id },
225
225
  recovery: {
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
249
249
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
250
250
  })).pipe(Effect.orDie);
251
251
  const hook = (event) => Effect.gen(function* () {
252
- const tool = event.tools[name5];
252
+ const tool = event.tools[name12];
253
253
  if (!tool)
254
254
  return;
255
255
  tool.description = description(name15(yield* compatibleShell));
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
260
260
  })
261
261
  };
262
262
 
263
- export { name5, DEFAULT_TIMEOUT_MS2, Input5, Plugin24, exports_shell2 };
263
+ export { name12, DEFAULT_TIMEOUT_MS2, Input12, Plugin27, exports_shell };
@@ -1,54 +1,54 @@
1
1
  import {
2
2
  Service82,
3
- node85
4
- } from "./file-p0rshxbh.js";
3
+ node86
4
+ } from "./location-lifecycle-mzfd03wb.js";
5
5
  import {
6
- Service81,
6
+ Service80,
7
7
  node84
8
- } from "./file-e34x8y7p.js";
8
+ } from "./location-lifecycle-hx5ww8wt.js";
9
9
  import {
10
- Service77,
11
- node80
12
- } from "./file-fpkmmq0f.js";
10
+ Service78,
11
+ node82
12
+ } from "./location-lifecycle-hczr8cbj.js";
13
13
  import {
14
14
  awaitActivation2
15
- } from "./file-1x11rq2a.js";
15
+ } from "./location-lifecycle-pf31ssb9.js";
16
16
  import {
17
17
  Service59,
18
- node61
19
- } from "./file-k1324ekq.js";
18
+ node63
19
+ } from "./location-lifecycle-z6bkgc6w.js";
20
20
  import {
21
- node18
22
- } from "./file-3fhknkx8.js";
21
+ node24
22
+ } from "./location-lifecycle-ecf151x1.js";
23
23
  import {
24
- Service6,
25
- node8
26
- } from "./file-g6q9qykm.js";
24
+ Service12,
25
+ node14
26
+ } from "./location-lifecycle-cwa6csj7.js";
27
27
  import {
28
28
  __export
29
- } from "./file-9rqn6x4v.js";
29
+ } from "./location-lifecycle-9rqn6x4v.js";
30
30
 
31
31
  // src/filesystem/location-watcher.ts
32
- var exports_location_watcher = {};
33
- __export(exports_location_watcher, {
34
- LocationWatcher: () => exports_location_watcher,
35
- Service: () => Service2,
36
- node: () => node2
32
+ var exports_location_watcher2 = {};
33
+ __export(exports_location_watcher2, {
34
+ LocationWatcher: () => exports_location_watcher2,
35
+ Service: () => Service11,
36
+ node: () => node13
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
40
40
  import { FileSystem } from "@opencode/schema/filesystem";
41
41
  import path from "path";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
- class Service2 extends Context.Service()("@opencode/LocationWatcher") {
43
+ class Service11 extends Context.Service()("@opencode/LocationWatcher") {
44
44
  }
45
- var layer = Layer.effect(Service2, Effect.gen(function* () {
46
- const location = yield* Service77;
45
+ var layer = Layer.effect(Service11, Effect.gen(function* () {
46
+ const location = yield* Service78;
47
47
  const watcher = yield* Service59;
48
48
  const bus = yield* Service82;
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service81;
51
- const policy = yield* Service6;
50
+ const git = yield* Service80;
51
+ const policy = yield* Service12;
52
52
  const publish = (update) => bus.publish(FileSystem.Event.Changed, {
53
53
  file: update.path,
54
54
  event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service2, Effect.gen(function* () {
100
100
  yield* awaitActivation2;
101
101
  yield* reconcile();
102
102
  }).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
103
- return Service2.of({});
103
+ return Service11.of({});
104
104
  }));
105
- var node2 = makeLocationNode({
106
- service: Service2,
105
+ var node13 = makeLocationNode({
106
+ service: Service11,
107
107
  layer,
108
- deps: [node61, FSUtil.node, node80, node84, node85, node18, node8]
108
+ deps: [node63, FSUtil.node, node82, node84, node86, node24, node14]
109
109
  });
110
110
 
111
- export { Service2, node2, exports_location_watcher };
111
+ export { Service11, node13, exports_location_watcher2 };
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2
4
- } from "./file-g7z2c8ev.js";
4
+ } from "./location-lifecycle-dbj4xpaj.js";
5
5
  import {
6
6
  latest2,
7
7
  Service58
8
- } from "./file-ame7p0bf.js";
8
+ } from "./location-lifecycle-773chg42.js";
9
9
  import {
10
10
  resolve2
11
- } from "./file-r8cnjpdy.js";
11
+ } from "./location-lifecycle-w2kfgqzc.js";
12
12
  import {
13
13
  observe2
14
- } from "./file-qsdy395h.js";
14
+ } from "./location-lifecycle-qsdy395h.js";
15
15
  import {
16
16
  __export
17
- } from "./file-9rqn6x4v.js";
17
+ } from "./location-lifecycle-9rqn6x4v.js";
18
18
 
19
19
  // src/config/plugin/provider.ts
20
20
  var exports_provider = {};
21
21
  __export(exports_provider, {
22
22
  ConfigProviderPlugin: () => exports_provider,
23
- Plugin: () => Plugin16
23
+ Plugin: () => Plugin39
24
24
  });
25
25
  import { define } from "@opencode/plugin/effect/plugin";
26
26
  import { Money } from "@opencode/schema/money";
27
27
  import { Effect } from "effect";
28
- var Plugin16 = define({
28
+ var Plugin39 = define({
29
29
  id: "opencode.config.provider",
30
30
  effect: Effect.fn(function* (ctx) {
31
31
  const config = yield* Service58;
@@ -200,4 +200,4 @@ function configuredProviders(entries) {
200
200
  return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
201
201
  }
202
202
 
203
- export { Plugin16, exports_provider };
203
+ export { Plugin39, exports_provider };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  convertToOpenAICompatibleChatMessages2
3
- } from "./file-fxgpk5d8.js";
3
+ } from "./location-lifecycle-fxgpk5d8.js";
4
4
  import {
5
5
  getResponseMetadata2
6
- } from "./file-g4wezp1m.js";
6
+ } from "./location-lifecycle-g4wezp1m.js";
7
7
  import {
8
8
  mapOpenAICompatibleFinishReason2
9
- } from "./file-x61499pn.js";
9
+ } from "./location-lifecycle-x61499pn.js";
10
10
  import {
11
11
  openaiCompatibleProviderOptions2
12
- } from "./file-af5trqkr.js";
12
+ } from "./location-lifecycle-af5trqkr.js";
13
13
  import {
14
14
  defaultOpenAICompatibleErrorStructure2
15
- } from "./file-afrmfg78.js";
15
+ } from "./location-lifecycle-afrmfg78.js";
16
16
  import {
17
17
  prepareTools2
18
- } from "./file-x0ckcb58.js";
18
+ } from "./location-lifecycle-x0ckcb58.js";
19
19
 
20
20
  // src/github-copilot/chat/openai-compatible-chat-language-model.ts
21
21
  import {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-9rqn6x4v.js";
3
+ } from "./location-lifecycle-9rqn6x4v.js";
4
4
 
5
5
  // src/instructions/index.ts
6
6
  var exports_instructions6 = {};
@@ -10,7 +10,7 @@ __export(exports_instructions6, {
10
10
  Hash: () => Hash2,
11
11
  InitializationBlocked: () => InitializationBlocked2,
12
12
  Instructions: () => exports_instructions6,
13
- Key: () => Key4,
13
+ Key: () => Key3,
14
14
  Values: () => Values2,
15
15
  applyHashDelta: () => applyHashDelta2,
16
16
  combine: () => combine2,
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
18
18
  diffByKey: () => diffByKey2,
19
19
  empty: () => empty3,
20
20
  hash: () => hash2,
21
- make: () => make20,
21
+ make: () => make21,
22
22
  read: () => read3,
23
23
  removed: () => removed2,
24
24
  renderInitial: () => renderInitial2,
@@ -28,7 +28,7 @@ __export(exports_instructions6, {
28
28
  import { createHash } from "crypto";
29
29
  import { Instruction } from "@opencode/schema/instruction";
30
30
  import { Data, Effect, Option, Schema } from "effect";
31
- var Key4 = Instruction.Key;
31
+ var Key3 = Instruction.Key;
32
32
  var Hash2 = Instruction.Hash;
33
33
  var Values2 = Instruction.Values;
34
34
  var Delta2 = Instruction.Delta;
@@ -36,21 +36,21 @@ var NonValue = Data.taggedEnum();
36
36
  var unavailable3 = NonValue.Unavailable();
37
37
  var removed2 = NonValue.Removed();
38
38
 
39
- class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(Key4) }) {
39
+ class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(Key3) }) {
40
40
  get message() {
41
41
  return `Instruction initialization blocked by unavailable sources: ${this.keys.join(", ")}`;
42
42
  }
43
43
  }
44
44
 
45
45
  class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKeyError", {
46
- key: Key4
46
+ key: Key3
47
47
  }) {
48
48
  get message() {
49
49
  return `Duplicate instruction key: ${this.key}`;
50
50
  }
51
51
  }
52
52
  var empty3 = [];
53
- function make20(source) {
53
+ function make21(source) {
54
54
  const decode = Schema.decodeUnknownOption(source.codec);
55
55
  const encode = Schema.encodeSync(source.codec);
56
56
  const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
193
193
  return text;
194
194
  }
195
195
 
196
- export { Key4, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make20, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
196
+ export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make21, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };