@opencode/core 0.0.0-dev-20328 → 0.0.0-dev-20332

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 (799) 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 +69 -69
  7. package/dist/chunks/{command-h0z3n8yt.js → location-02e6a1xr.js} +10 -10
  8. package/dist/chunks/{command-tahyjvza.js → location-0550q54d.js} +20 -20
  9. package/dist/chunks/{command-n9p09fbd.js → location-05fwr9d3.js} +23 -23
  10. package/dist/chunks/{command-1awajp9d.js → location-0a9efqg1.js} +11 -11
  11. package/dist/chunks/{command-gfkmrq4p.js → location-0j8kvx79.js} +22 -22
  12. package/dist/chunks/{command-0paq2nw3.js → location-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{command-tsbqqcav.js → location-0xr4jven.js} +4 -4
  14. package/dist/chunks/{command-gmjj820p.js → location-1858jtnb.js} +20 -20
  15. package/dist/chunks/{command-1bbkgx8g.js → location-1bbkgx8g.js} +1 -1
  16. package/dist/chunks/{command-t4g45am5.js → location-1bfsfmvc.js} +6 -6
  17. package/dist/chunks/{command-1dazxqgg.js → location-1dazxqgg.js} +2 -2
  18. package/dist/chunks/{command-hk140s3y.js → location-1jwd9cqs.js} +16 -16
  19. package/dist/chunks/{command-5fr28cxv.js → location-1k7nw2np.js} +13 -13
  20. package/dist/chunks/{command-qw2yw8z7.js → location-1me2azay.js} +22 -22
  21. package/dist/chunks/{command-407bfz6x.js → location-1pcjwpaa.js} +48 -48
  22. package/dist/chunks/{command-mpc5v7rs.js → location-1pz63znb.js} +32 -32
  23. package/dist/chunks/{command-6p36spce.js → location-1s5awsvd.js} +9 -9
  24. package/dist/chunks/{command-93r6kb0j.js → location-1v2cpr56.js} +8 -8
  25. package/dist/chunks/{command-56gdpj1q.js → location-1ygqh575.js} +9 -9
  26. package/dist/chunks/{command-1k3w44xe.js → location-1z0tyxgk.js} +22 -22
  27. package/dist/chunks/{command-21r38tys.js → location-21r38tys.js} +1 -1
  28. package/dist/chunks/{command-w37rjecm.js → location-221tqkqe.js} +30 -30
  29. package/dist/chunks/{command-0z8vjex2.js → location-23sxaqwc.js} +9 -9
  30. package/dist/chunks/{command-2a5m3afh.js → location-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{command-yybzjk8b.js → location-2a9ws08k.js} +5 -5
  32. package/dist/chunks/{command-3njz9hw1.js → location-2c22wpxs.js} +5 -5
  33. package/dist/chunks/{command-68g7trhf.js → location-2d5t5e6c.js} +6 -6
  34. package/dist/chunks/{command-w2z5746y.js → location-2dk0h958.js} +16 -16
  35. package/dist/chunks/{command-sf4638mk.js → location-2gh0pne0.js} +15 -15
  36. package/dist/chunks/{command-2r6ezsm1.js → location-2rhe9xp4.js} +18 -18
  37. package/dist/chunks/{command-0jq7xanq.js → location-2y8jjtjh.js} +8 -8
  38. package/dist/chunks/{command-vptby8qv.js → location-2yjkx9rh.js} +9 -9
  39. package/dist/chunks/{command-eyhtqccb.js → location-32ymn5e1.js} +7 -7
  40. package/dist/chunks/{command-kpycjfkz.js → location-33fcxst2.js} +27 -27
  41. package/dist/chunks/{command-z3kd0n8s.js → location-359gy9a3.js} +30 -30
  42. package/dist/chunks/{command-p1s99nq8.js → location-3cteaq89.js} +11 -11
  43. package/dist/chunks/{command-ad1se6we.js → location-3d6pamsn.js} +8 -8
  44. package/dist/chunks/{command-3h2pgdn1.js → location-3f0ygkn9.js} +11 -11
  45. package/dist/chunks/{command-3fc6dm20.js → location-3fc6dm20.js} +1 -1
  46. package/dist/chunks/{command-vyxeydcn.js → location-3frysrkz.js} +14 -14
  47. package/dist/chunks/{command-3hepkmqq.js → location-3hepkmqq.js} +1 -1
  48. package/dist/chunks/{command-7cqkmc07.js → location-3pswvgk6.js} +13 -13
  49. package/dist/chunks/{command-3smtnn6g.js → location-3smtnn6g.js} +1 -1
  50. package/dist/chunks/{command-26wd49eb.js → location-3sy0yjgf.js} +22 -22
  51. package/dist/chunks/{command-fmsg4ra7.js → location-3taabba9.js} +29 -29
  52. package/dist/chunks/{command-3tvqynh2.js → location-3tvqynh2.js} +1 -1
  53. package/dist/chunks/{command-3zsf4n22.js → location-3zsf4n22.js} +1 -1
  54. package/dist/chunks/{command-rw4kw2hm.js → location-405thefk.js} +9 -9
  55. package/dist/chunks/{command-nzj20ack.js → location-42f0htzm.js} +13 -13
  56. package/dist/chunks/{command-bqwcv1te.js → location-45ev0h4b.js} +3 -3
  57. package/dist/chunks/{command-9jbvj98d.js → location-4e8vs6eh.js} +8 -8
  58. package/dist/chunks/{command-1g734vay.js → location-4etn4a9t.js} +16 -16
  59. package/dist/chunks/{command-wr1nh5zj.js → location-4t90qbzd.js} +4 -4
  60. package/dist/chunks/{command-md4m2kyr.js → location-4tyy50z7.js} +18 -18
  61. package/dist/chunks/{command-y5rf7nzv.js → location-4v7ngy20.js} +4 -4
  62. package/dist/chunks/{command-ehzgjc3e.js → location-4wm3hfb6.js} +24 -24
  63. package/dist/chunks/{command-6t2wbhs5.js → location-4zx2nvpt.js} +4 -4
  64. package/dist/chunks/{command-5wtwrezn.js → location-50mzsvk4.js} +21 -21
  65. package/dist/chunks/{command-54ma36ye.js → location-54ma36ye.js} +1 -1
  66. package/dist/chunks/{command-54tcyq79.js → location-54tcyq79.js} +2 -2
  67. package/dist/chunks/{command-57ez7d0k.js → location-57ez7d0k.js} +2 -2
  68. package/dist/chunks/location-57v02fd6.js +26 -0
  69. package/dist/chunks/{command-5daktx2q.js → location-5daktx2q.js} +1 -1
  70. package/dist/chunks/{command-5ysec52w.js → location-5fjen55d.js} +21 -21
  71. package/dist/chunks/{command-e3qxr5gk.js → location-5qd3pb7m.js} +2 -2
  72. package/dist/chunks/{command-5t3nmthw.js → location-5t3nmthw.js} +2 -2
  73. package/dist/chunks/{command-e73y8s3p.js → location-631cxsgm.js} +13 -13
  74. package/dist/chunks/{command-ctmf4cjh.js → location-65y5gv5n.js} +7 -7
  75. package/dist/chunks/{command-669tq793.js → location-669tq793.js} +1 -1
  76. package/dist/chunks/{command-qz49fwgp.js → location-6anwy9fs.js} +6 -6
  77. package/dist/chunks/{command-6msgmcgs.js → location-6msgmcgs.js} +1 -1
  78. package/dist/chunks/{command-k8zgzs4j.js → location-6zx481ey.js} +7 -7
  79. package/dist/chunks/{command-c3btd4vx.js → location-72fr57kk.js} +22 -22
  80. package/dist/chunks/{command-wbbwn8b4.js → location-74cpa34g.js} +14 -14
  81. package/dist/chunks/{command-2p8k3371.js → location-768gsh1v.js} +3 -3
  82. package/dist/chunks/{command-f3c11mr4.js → location-7b3n6txb.js} +169 -169
  83. package/dist/chunks/{command-7bmhse3q.js → location-7bmhse3q.js} +1 -1
  84. package/dist/chunks/{command-d8xd8q6j.js → location-7et7x3nj.js} +10 -10
  85. package/dist/chunks/{command-7gvwkz6m.js → location-7gvwkz6m.js} +2 -2
  86. package/dist/chunks/{command-mfz89tqk.js → location-7hg2a0kf.js} +23 -23
  87. package/dist/chunks/{command-x4qspy2c.js → location-7jp52wrn.js} +24 -24
  88. package/dist/chunks/{command-mmeqzzre.js → location-7w64dbzf.js} +25 -25
  89. package/dist/chunks/{command-08rawchj.js → location-7w99qc9d.js} +3 -3
  90. package/dist/chunks/{command-qd8zrxrt.js → location-84j8m7e3.js} +7 -7
  91. package/dist/chunks/{command-84txncab.js → location-84txncab.js} +1 -1
  92. package/dist/chunks/{command-jewzahs7.js → location-86qzxe6p.js} +4 -4
  93. package/dist/chunks/{command-q5ekdvah.js → location-872key08.js} +28 -28
  94. package/dist/chunks/{command-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
  95. package/dist/chunks/{command-gkgr9f8v.js → location-8zefm95q.js} +31 -31
  96. package/dist/chunks/{command-8p6hdx4a.js → location-913tdmgz.js} +35 -35
  97. package/dist/chunks/{command-9tw8yaak.js → location-95cvvvyw.js} +11 -11
  98. package/dist/chunks/{command-ks2axvh4.js → location-96rcg50q.js} +15 -15
  99. package/dist/chunks/{command-v556y4yv.js → location-9gjvh9w7.js} +11 -11
  100. package/dist/chunks/{command-4xb4td9x.js → location-9h352b91.js} +23 -23
  101. package/dist/chunks/{command-173e3mya.js → location-a0j7zc8d.js} +3 -3
  102. package/dist/chunks/{command-19vf66h0.js → location-a2ew8a62.js} +4 -4
  103. package/dist/chunks/{command-bq6be9me.js → location-a3b6bg5k.js} +2 -2
  104. package/dist/chunks/{command-w9kg2djp.js → location-a9mb7h9k.js} +17 -17
  105. package/dist/chunks/{command-52tmng8s.js → location-aad20b43.js} +21 -21
  106. package/dist/chunks/{command-aaet6srn.js → location-aaet6srn.js} +2 -2
  107. package/dist/chunks/{command-jygjpmnc.js → location-aaryx3hz.js} +15 -15
  108. package/dist/chunks/{command-s4x18w05.js → location-ahsxsgn9.js} +1 -1
  109. package/dist/chunks/{command-fraeex00.js → location-ams685p7.js} +5 -5
  110. package/dist/chunks/{command-nr8aa75s.js → location-ap0c1ha6.js} +28 -28
  111. package/dist/chunks/{command-32eqhqc9.js → location-asr5c240.js} +30 -30
  112. package/dist/chunks/{command-zzn75vcn.js → location-b2jxfxck.js} +22 -22
  113. package/dist/chunks/{command-0f00b5dx.js → location-b68jqyy9.js} +17 -17
  114. package/dist/chunks/{command-b6gygkdw.js → location-b6gygkdw.js} +2 -2
  115. package/dist/chunks/{command-an7cqtb7.js → location-bf0ztrs3.js} +4 -4
  116. package/dist/chunks/{command-gjbqwzd2.js → location-bf6j3zq6.js} +40 -40
  117. package/dist/chunks/{command-bjtzbw4r.js → location-bjtzbw4r.js} +3 -3
  118. package/dist/chunks/{command-mqafpt2f.js → location-bnzwt7hj.js} +1 -1
  119. package/dist/chunks/{command-w0a3dsx5.js → location-bvxa250g.js} +11 -11
  120. package/dist/chunks/{command-achky8s5.js → location-c0c4g6cm.js} +31 -31
  121. package/dist/chunks/{command-cca4q062.js → location-c8q14vds.js} +18 -18
  122. package/dist/chunks/{command-55149hb6.js → location-cbh6g861.js} +20 -20
  123. package/dist/chunks/{command-81pgz9gn.js → location-cc748a61.js} +5 -5
  124. package/dist/chunks/{command-jcvmways.js → location-ccmvvhm9.js} +32 -32
  125. package/dist/chunks/{command-brbc9hym.js → location-cy820888.js} +15 -15
  126. package/dist/chunks/{command-g8k5egew.js → location-d4tjmbxj.js} +13 -13
  127. package/dist/chunks/{command-y875hksg.js → location-d5s762pw.js} +27 -27
  128. package/dist/chunks/{command-gkkss05z.js → location-d956t663.js} +4 -4
  129. package/dist/chunks/{command-41kk9vt4.js → location-dchp67v4.js} +13 -13
  130. package/dist/chunks/{command-nzyyvfzd.js → location-dgchpn2c.js} +47 -47
  131. package/dist/chunks/{command-j6q1cfcf.js → location-dh3xf11m.js} +10 -10
  132. package/dist/chunks/{command-xkntkrq7.js → location-dmqcgk4z.js} +5 -5
  133. package/dist/chunks/{command-mpk0rfs5.js → location-dnxkq42g.js} +4 -4
  134. package/dist/chunks/{command-r7cqnzm4.js → location-e003b4c3.js} +24 -24
  135. package/dist/chunks/{command-f7arvf55.js → location-e19eaq7y.js} +9 -9
  136. package/dist/chunks/{command-aze5dktd.js → location-e9gcwejs.js} +24 -24
  137. package/dist/chunks/{command-tcdggtwa.js → location-eab37ged.js} +12 -12
  138. package/dist/chunks/{command-ecfe7b91.js → location-ecfe7b91.js} +2 -2
  139. package/dist/chunks/{command-t0xpt4yf.js → location-ed9n86pt.js} +26 -26
  140. package/dist/chunks/{command-ef5x83kb.js → location-ef5x83kb.js} +1 -1
  141. package/dist/chunks/{command-vtyptmt5.js → location-et1vwb50.js} +319 -319
  142. package/dist/chunks/{command-etq0c3wd.js → location-etq0c3wd.js} +1 -1
  143. package/dist/chunks/{command-zz0gf2gv.js → location-ewjxmwng.js} +13 -13
  144. package/dist/chunks/{command-pgfgfh2x.js → location-f00515wj.js} +16 -16
  145. package/dist/chunks/{command-1p8321re.js → location-f1bvh024.js} +4 -4
  146. package/dist/chunks/{command-h9wp8z5w.js → location-f29mbr7f.js} +4 -4
  147. package/dist/chunks/{command-0jq9fyba.js → location-fdms3n6w.js} +9 -9
  148. package/dist/chunks/{command-yb94rfg9.js → location-fsq7s6yz.js} +9 -9
  149. package/dist/chunks/{command-tn9j577v.js → location-fw3ksk4v.js} +11 -11
  150. package/dist/chunks/{command-m6bfk4mw.js → location-g11yarsy.js} +17 -17
  151. package/dist/chunks/{command-nsdyb8pw.js → location-g52yw51c.js} +11 -11
  152. package/dist/chunks/{command-ytws7ykb.js → location-g60qj5yf.js} +2 -2
  153. package/dist/chunks/{command-ga3d7eyp.js → location-g86wtp00.js} +47 -47
  154. package/dist/chunks/{command-0tsnk9s4.js → location-g9nkqj1a.js} +22 -22
  155. package/dist/chunks/{command-44pdqs77.js → location-gc4fb455.js} +4 -4
  156. package/dist/chunks/{command-gd4qta3r.js → location-gd4qta3r.js} +1 -1
  157. package/dist/chunks/{command-k458ssz6.js → location-gecshvrx.js} +15 -15
  158. package/dist/chunks/{command-gfvb90ym.js → location-gfvb90ym.js} +2 -2
  159. package/dist/chunks/{command-gjwgx2c5.js → location-gjwgx2c5.js} +2 -2
  160. package/dist/chunks/{command-vy4zg7qh.js → location-gmjq4p6e.js} +5 -5
  161. package/dist/chunks/{command-nxawm2f0.js → location-gq4sc612.js} +26 -26
  162. package/dist/chunks/{command-4c2df9zx.js → location-grxcxy9j.js} +7 -7
  163. package/dist/chunks/{command-5xampkzv.js → location-gv420m70.js} +20 -20
  164. package/dist/chunks/{command-gv6a8nnw.js → location-gv6a8nnw.js} +2 -2
  165. package/dist/chunks/{command-dzqgar42.js → location-gx3evx6p.js} +16 -16
  166. package/dist/chunks/{command-h6vf3j39.js → location-h6vf3j39.js} +1 -1
  167. package/dist/chunks/{command-5gydy8qd.js → location-hcr9xn5j.js} +12 -12
  168. package/dist/chunks/{command-pmmvzvq4.js → location-hh3smdyr.js} +83 -83
  169. package/dist/chunks/{command-jjc9h9gx.js → location-hv4bgzk9.js} +8 -8
  170. package/dist/chunks/{command-9x57qh30.js → location-j1ep2ape.js} +15 -15
  171. package/dist/chunks/{command-3pe7sts8.js → location-j3s2z371.js} +9 -9
  172. package/dist/chunks/{command-j56e64zr.js → location-j56e64zr.js} +1 -1
  173. package/dist/chunks/{command-3yrc8p0f.js → location-jjxrrmfz.js} +19 -19
  174. package/dist/chunks/{command-a49t4mpe.js → location-jpqr5ghe.js} +23 -23
  175. package/dist/chunks/{command-zmj32qq0.js → location-jwpvd8r9.js} +5 -5
  176. package/dist/chunks/{command-rpabj4tm.js → location-jwwfgh84.js} +13 -13
  177. package/dist/chunks/{command-yf10kn3d.js → location-k1qrnqst.js} +8 -8
  178. package/dist/chunks/{command-t2445nzz.js → location-k31jet3a.js} +23 -23
  179. package/dist/chunks/{command-vb1y33sc.js → location-k57g4mqh.js} +11 -11
  180. package/dist/chunks/{command-atk3new3.js → location-k75d9tpj.js} +30 -30
  181. package/dist/chunks/{command-3b9qt4hj.js → location-k7myrtme.js} +9 -9
  182. package/dist/chunks/{command-knpa7q1k.js → location-kc0d3shj.js} +42 -42
  183. package/dist/chunks/{command-s4b4q9yc.js → location-kx2dxvka.js} +12 -12
  184. package/dist/chunks/{command-zfa7ynd8.js → location-ky6yw5g0.js} +15 -15
  185. package/dist/chunks/{command-36pz7r0j.js → location-kytmjyy3.js} +24 -24
  186. package/dist/chunks/{command-133zd6pq.js → location-m32f1x6e.js} +13 -13
  187. package/dist/chunks/{command-m3fdjcah.js → location-m3fdjcah.js} +1 -1
  188. package/dist/chunks/location-m8n3k53h.js +252 -0
  189. package/dist/chunks/{command-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
  190. package/dist/chunks/{command-2vgzs72b.js → location-ma15yhyh.js} +5 -5
  191. package/dist/chunks/{command-qkpjvsg2.js → location-mcvtpcr6.js} +11 -11
  192. package/dist/chunks/{command-pppvxay8.js → location-mdngnccz.js} +24 -24
  193. package/dist/chunks/{command-ccq9v9cm.js → location-meh18akk.js} +11 -11
  194. package/dist/chunks/{command-0grgek18.js → location-mytbjss0.js} +20 -20
  195. package/dist/chunks/{command-bk7jaeqh.js → location-mzywpf3p.js} +4 -4
  196. package/dist/chunks/{command-vr9bpkcp.js → location-n4q62pja.js} +18 -18
  197. package/dist/chunks/{command-1a79m22w.js → location-n51wg4q9.js} +9 -9
  198. package/dist/chunks/{command-6z9y85k1.js → location-na0xys1v.js} +12 -12
  199. package/dist/chunks/{command-ezw3czwx.js → location-nbx7psha.js} +48 -48
  200. package/dist/chunks/{command-8hgfhrm0.js → location-nbzsj80d.js} +11 -11
  201. package/dist/chunks/{command-p7j22ek7.js → location-nfjrmqy5.js} +11 -11
  202. package/dist/chunks/{command-hpjjk0gj.js → location-nkbr3xyj.js} +5 -5
  203. package/dist/chunks/{command-f38wsw69.js → location-nng2ktcm.js} +2 -2
  204. package/dist/chunks/{command-rcj1qd62.js → location-nsj03r65.js} +62 -62
  205. package/dist/chunks/{command-x7va2pbz.js → location-nt4ws43p.js} +10 -10
  206. package/dist/chunks/{command-nzks3jc8.js → location-nzks3jc8.js} +3 -3
  207. package/dist/chunks/{command-3hfr6h8q.js → location-p37cw4rj.js} +8 -8
  208. package/dist/chunks/{command-kha295zz.js → location-p5gnfa3n.js} +10 -10
  209. package/dist/chunks/{command-b06mxnn4.js → location-p5vt4w12.js} +16 -16
  210. package/dist/chunks/{command-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
  211. package/dist/chunks/{command-pknna89w.js → location-pknna89w.js} +1 -1
  212. package/dist/chunks/{command-t7pash87.js → location-pnkgaxte.js} +3 -3
  213. package/dist/chunks/{command-g5g6qkd8.js → location-prse58hf.js} +3 -3
  214. package/dist/chunks/{command-psazpmmj.js → location-psazpmmj.js} +2 -2
  215. package/dist/chunks/{command-1p07q0wb.js → location-py3kkmfq.js} +4 -4
  216. package/dist/chunks/{command-sp6nzw66.js → location-q4t44wz3.js} +23 -23
  217. package/dist/chunks/{command-yk71r04e.js → location-q78ntncr.js} +20 -20
  218. package/dist/chunks/{command-5tc03052.js → location-qcewvjcq.js} +4 -4
  219. package/dist/chunks/{command-m18nzyk6.js → location-qcn3qcd0.js} +41 -41
  220. package/dist/chunks/{command-b7b4ctej.js → location-qdbakdjh.js} +5 -5
  221. package/dist/chunks/{command-jc8cd7se.js → location-qe750zdm.js} +10 -10
  222. package/dist/chunks/{command-7dqw4kz8.js → location-qgn6gcr1.js} +5 -5
  223. package/dist/chunks/{command-qsdy395h.js → location-qsdy395h.js} +1 -1
  224. package/dist/chunks/{command-a7xxapnj.js → location-r3ewmwtm.js} +8 -8
  225. package/dist/chunks/{command-a4jz5h7x.js → location-r4vt6ek9.js} +26 -26
  226. package/dist/chunks/{command-1acjjqhc.js → location-r8xr0va3.js} +4 -4
  227. package/dist/chunks/location-rap9a73h.js +18 -0
  228. package/dist/chunks/{command-rdw6cm16.js → location-rdw6cm16.js} +1 -1
  229. package/dist/chunks/{command-znsx74x0.js → location-rk1r2hx8.js} +1 -1
  230. package/dist/chunks/{command-nx1xqst5.js → location-ryry5wbd.js} +3 -3
  231. package/dist/chunks/{command-tea88xkw.js → location-s083egkz.js} +78 -78
  232. package/dist/chunks/{command-1h6krnfg.js → location-s22kpthy.js} +18 -18
  233. package/dist/chunks/{command-tyq8797k.js → location-s5wrztbh.js} +35 -35
  234. package/dist/chunks/{command-rhjbct0v.js → location-s8d7rejh.js} +4 -4
  235. package/dist/chunks/{command-0hf9g8pg.js → location-shrpy2d8.js} +6 -6
  236. package/dist/chunks/{command-35zdg7pf.js → location-smb7m2tf.js} +8 -8
  237. package/dist/chunks/{command-sb221pn8.js → location-snvbww7e.js} +25 -25
  238. package/dist/chunks/{command-kfv2zn0s.js → location-sq9hdhx4.js} +25 -25
  239. package/dist/chunks/{command-sk5hhzgy.js → location-sv9zqnbr.js} +20 -20
  240. package/dist/chunks/{command-55mw5dew.js → location-svzh0x98.js} +3 -3
  241. package/dist/chunks/{command-e1cpzhmy.js → location-t3th97kz.js} +26 -26
  242. package/dist/chunks/{command-eeavwd92.js → location-t6z4h4ef.js} +3 -3
  243. package/dist/chunks/{command-tazgh4e4.js → location-tazgh4e4.js} +1 -1
  244. package/dist/chunks/{command-12wyshmk.js → location-tcc6ccqd.js} +15 -15
  245. package/dist/chunks/{command-tcezcvh9.js → location-tcezcvh9.js} +1 -1
  246. package/dist/chunks/{command-tdstcens.js → location-tdstcens.js} +1 -1
  247. package/dist/chunks/{command-67a3m4yw.js → location-tg37w3py.js} +5 -5
  248. package/dist/chunks/{command-rpg9c19m.js → location-ttqh24zm.js} +4 -4
  249. package/dist/chunks/{command-tvtrv512.js → location-tvtrv512.js} +1 -1
  250. package/dist/chunks/{command-p64sp65g.js → location-tvyjc43w.js} +45 -45
  251. package/dist/chunks/{command-9bye45vx.js → location-v47bnj70.js} +20 -20
  252. package/dist/chunks/{command-g5agzp2h.js → location-vd7rzxqf.js} +5 -5
  253. package/dist/chunks/{command-veqvce7d.js → location-veqvce7d.js} +1 -1
  254. package/dist/chunks/{command-nd3zz1gr.js → location-vmwz11wz.js} +5 -5
  255. package/dist/chunks/{command-20g5pfhx.js → location-vsgdn61q.js} +10 -10
  256. package/dist/chunks/{command-vzcthcp8.js → location-vzcthcp8.js} +1 -1
  257. package/dist/chunks/{command-vzs5sf6e.js → location-vzs5sf6e.js} +1 -1
  258. package/dist/chunks/{command-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
  259. package/dist/chunks/{command-ykzc6cfj.js → location-w9gb1mzf.js} +11 -11
  260. package/dist/chunks/{command-92a4ap4w.js → location-wbkyxrgf.js} +5 -5
  261. package/dist/chunks/{command-wd87259q.js → location-wd87259q.js} +1 -1
  262. package/dist/chunks/{command-xezhsny9.js → location-wm5q5x5p.js} +3 -3
  263. package/dist/chunks/{command-fdjp4t8r.js → location-wr5k3gxd.js} +8 -8
  264. package/dist/chunks/{command-2j34hmmc.js → location-wtebr0tv.js} +9 -9
  265. package/dist/chunks/{command-2ta6pfy2.js → location-wvjbag1w.js} +12 -12
  266. package/dist/chunks/{command-d8jep961.js → location-wx12zf4r.js} +6 -6
  267. package/dist/chunks/{command-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
  268. package/dist/chunks/{command-57b9ws8p.js → location-xfkkasph.js} +7 -7
  269. package/dist/chunks/{command-s53bx6aa.js → location-xx2ckhja.js} +16 -16
  270. package/dist/chunks/{command-ak9msbxp.js → location-xxk5ry2v.js} +6 -6
  271. package/dist/chunks/{command-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{command-3ce9fkjd.js → location-y5bmmmc5.js} +20 -20
  273. package/dist/chunks/{command-y71avatq.js → location-y71avatq.js} +1 -1
  274. package/dist/chunks/{command-r6q2c161.js → location-yataeycs.js} +11 -11
  275. package/dist/chunks/{command-j6y5gsxd.js → location-ypahm2w0.js} +22 -22
  276. package/dist/chunks/{command-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{command-s4enseaf.js → location-yrznvahk.js} +2 -2
  278. package/dist/chunks/{command-phsdeme5.js → location-yy0n8m79.js} +14 -14
  279. package/dist/chunks/{command-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{command-2qp6y8xf.js → location-z3pw5915.js} +5 -5
  281. package/dist/chunks/{command-ahnc2hpr.js → location-z42abtxa.js} +11 -11
  282. package/dist/chunks/{command-29x78va6.js → location-z63w68vq.js} +6 -6
  283. package/dist/chunks/{command-17zy7cfp.js → location-zaj0f5yc.js} +4 -4
  284. package/dist/chunks/{command-mm5kxf07.js → location-ze5v0a14.js} +8 -8
  285. package/dist/chunks/{command-edgjk5pb.js → location-zefk2w7j.js} +13 -13
  286. package/dist/chunks/{command-zeh9ct20.js → location-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{command-0bbg5mgz.js → location-zfhqhftv.js} +11 -11
  288. package/dist/chunks/{command-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{command-zg0g1dmr.js → location-zt2wse74.js} +3 -3
  290. package/dist/chunks/{command-v9chgcj3.js → location-zt4c6sfd.js} +10 -10
  291. package/dist/chunks/{command-wwm9drsm.js → location-zwxq93tf.js} +23 -23
  292. package/dist/chunks/{command-zxq2ej10.js → location-zxq2ej10.js} +1 -1
  293. package/dist/chunks/{command-w7kn78ad.js → location-zyxd3cry.js} +32 -32
  294. package/dist/codemode/catalog.js +1 -1
  295. package/dist/codemode/instructions.js +9 -9
  296. package/dist/codemode/tool.js +3 -3
  297. package/dist/codemode/web.js +1 -1
  298. package/dist/command.js +83 -83
  299. package/dist/config/discovery.js +82 -82
  300. package/dist/config/markdown.js +1 -1
  301. package/dist/config/normalize.js +106 -106
  302. package/dist/config/plugin/agent.js +125 -125
  303. package/dist/config/plugin/command.js +215 -215
  304. package/dist/config/plugin/compaction.js +161 -161
  305. package/dist/config/plugin/compatibility.js +141 -141
  306. package/dist/config/plugin/entry-observer.js +1 -1
  307. package/dist/config/plugin/formatter.js +124 -124
  308. package/dist/config/plugin/image.js +123 -123
  309. package/dist/config/plugin/instruction.js +90 -90
  310. package/dist/config/plugin/location-watcher.js +123 -123
  311. package/dist/config/plugin/mcp.js +132 -132
  312. package/dist/config/plugin/policy.js +124 -124
  313. package/dist/config/plugin/provider.js +123 -123
  314. package/dist/config/plugin/reference.js +125 -125
  315. package/dist/config/plugin/shell.js +123 -123
  316. package/dist/config/plugin/skill-file.js +102 -102
  317. package/dist/config/plugin/skill.js +144 -144
  318. package/dist/config/plugin/snapshot.js +123 -123
  319. package/dist/config/plugin/source.js +126 -126
  320. package/dist/config/plugin/tool-output.js +125 -125
  321. package/dist/config/plugin/websearch.js +122 -122
  322. package/dist/config/plugin/worktree.js +125 -125
  323. package/dist/config/variable.js +3 -3
  324. package/dist/config/watch.js +1 -1
  325. package/dist/config.js +128 -128
  326. package/dist/credential/sql.js +2 -2
  327. package/dist/credential.js +81 -81
  328. package/dist/database/database.js +66 -66
  329. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  331. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  332. package/dist/database/drizzle/index.js +13 -13
  333. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  336. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  341. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  342. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  343. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  344. package/dist/database/drizzle.js +14 -14
  345. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  346. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  347. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  348. package/dist/database/migration/20260225215848_workspace.js +1 -1
  349. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  350. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  351. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  352. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  353. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  354. package/dist/database/migration/20260323234822_events.js +1 -1
  355. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  356. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  357. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  358. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  359. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  360. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  361. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  362. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  363. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  364. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  365. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  366. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  367. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  368. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  369. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  370. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  371. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  372. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  373. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  374. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  375. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  376. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  377. package/dist/database/migration/20260611035744_credential.js +1 -1
  378. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  379. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  380. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  381. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  382. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  383. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  384. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  385. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  386. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  387. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  388. package/dist/database/migration/20260812213948_worktree.js +1 -1
  389. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  390. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  391. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  392. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  393. package/dist/database/migration.gen.js +49 -49
  394. package/dist/database/migration.js +51 -51
  395. package/dist/database/path.js +2 -2
  396. package/dist/database/schema.gen.js +1 -1
  397. package/dist/database/schema.sql.js +1 -1
  398. package/dist/database/sqlite.bun.js +1 -1
  399. package/dist/database/sqlite.js +1 -1
  400. package/dist/database/sqlite.node.js +1 -1
  401. package/dist/database/sqlite.workerd.js +1 -1
  402. package/dist/database/v1-migration.bun.js +76 -76
  403. package/dist/database/v1-migration.js +1 -1
  404. package/dist/effect/app-node-builder.js +372 -372
  405. package/dist/effect/app-node-platform.js +2 -2
  406. package/dist/effect/keyed-mutex.js +1 -1
  407. package/dist/effect/websocket-constructor.js +1 -1
  408. package/dist/environment/driver.js +1 -1
  409. package/dist/environment/environment.js +93 -93
  410. package/dist/environment/exec-defaults.js +2 -2
  411. package/dist/environment/files.js +1 -1
  412. package/dist/environment/index.js +95 -95
  413. package/dist/environment/local.js +2 -2
  414. package/dist/environment/memory.js +2 -2
  415. package/dist/environment/unavailable.js +1 -1
  416. package/dist/event/sql.js +1 -1
  417. package/dist/event-logger.js +70 -70
  418. package/dist/file-access.js +104 -104
  419. package/dist/file-mutation.js +94 -94
  420. package/dist/file-retention.js +1 -1
  421. package/dist/filesystem/fff.bun.js +2 -2
  422. package/dist/filesystem/fff.js +1 -1
  423. package/dist/filesystem/fff.node.js +2 -2
  424. package/dist/filesystem/fff.workerd.js +2 -2
  425. package/dist/filesystem/ignore.js +1 -1
  426. package/dist/filesystem/location-watcher-policy.js +2 -2
  427. package/dist/filesystem/location-watcher.js +222 -222
  428. package/dist/filesystem/protected.js +1 -1
  429. package/dist/filesystem/search.js +97 -97
  430. package/dist/filesystem/watcher-binding.js +3 -3
  431. package/dist/filesystem/watcher.js +15 -15
  432. package/dist/filesystem.js +102 -102
  433. package/dist/form.js +80 -80
  434. package/dist/formatter/builtins.js +2 -2
  435. package/dist/formatter.js +89 -89
  436. package/dist/generate.js +103 -103
  437. package/dist/git.js +6 -6
  438. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  439. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  440. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  442. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  443. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  444. package/dist/github-copilot/copilot-provider.js +17 -17
  445. package/dist/github-copilot/models.js +91 -91
  446. package/dist/github-copilot/openai-compatible-error.js +1 -1
  447. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  448. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  449. package/dist/github-copilot/responses/openai-error.js +1 -1
  450. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  451. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  452. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  453. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  454. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  456. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  457. package/dist/id/id.js +1 -1
  458. package/dist/image/photon.js +2 -2
  459. package/dist/image.js +6 -6
  460. package/dist/instance/service.js +5 -5
  461. package/dist/instance.js +363 -363
  462. package/dist/instruction-discovery.js +85 -85
  463. package/dist/instructions/builtins.js +87 -87
  464. package/dist/instructions/index.js +3 -3
  465. package/dist/integration/connection.js +3 -3
  466. package/dist/integration.js +85 -85
  467. package/dist/job.js +79 -79
  468. package/dist/kv/sql.js +2 -2
  469. package/dist/kv.js +73 -73
  470. package/dist/location-activity.js +132 -132
  471. package/dist/location-lifecycle.js +107 -107
  472. package/dist/location-service-map.js +86 -86
  473. package/dist/location-services.js +360 -360
  474. package/dist/location.js +81 -81
  475. package/dist/managed-policy.js +5 -5
  476. package/dist/mcp/client.js +91 -91
  477. package/dist/mcp/index.js +109 -109
  478. package/dist/mcp/instructions.js +127 -127
  479. package/dist/mcp/oauth.js +78 -78
  480. package/dist/mcp/stdio.js +90 -90
  481. package/dist/mime.js +1 -1
  482. package/dist/modal/models.js +91 -91
  483. package/dist/model-resolver.js +96 -96
  484. package/dist/model.js +98 -98
  485. package/dist/models-dev.js +99 -99
  486. package/dist/oauth/page.js +1 -1
  487. package/dist/permission/saved.js +80 -80
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +111 -111
  490. package/dist/persistent-pty/binary.bun.js +1 -1
  491. package/dist/persistent-pty/daemon.js +1 -1
  492. package/dist/persistent-pty/index.js +86 -86
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +75 -75
  495. package/dist/plugin/agent.js +104 -104
  496. package/dist/plugin/command.js +102 -102
  497. package/dist/plugin/hooks.js +5 -5
  498. package/dist/plugin/host.js +219 -219
  499. package/dist/plugin/identity.js +3 -3
  500. package/dist/plugin/instance.js +5 -5
  501. package/dist/plugin/internal.js +335 -335
  502. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  503. package/dist/plugin/models-dev.js +96 -96
  504. package/dist/plugin/module.js +5 -5
  505. package/dist/plugin/optimize.js +2 -2
  506. package/dist/plugin/plan.js +102 -102
  507. package/dist/plugin/promise.js +1 -1
  508. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  509. package/dist/plugin/provider/azure.js +122 -122
  510. package/dist/plugin/provider/cerebras.js +1 -1
  511. package/dist/plugin/provider/chatgpt.js +93 -93
  512. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  513. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  514. package/dist/plugin/provider/cohere.js +2 -2
  515. package/dist/plugin/provider/configured.js +119 -119
  516. package/dist/plugin/provider/digitalocean.js +93 -93
  517. package/dist/plugin/provider/dynamic.js +2 -2
  518. package/dist/plugin/provider/factory.js +1 -1
  519. package/dist/plugin/provider/gateway.js +2 -2
  520. package/dist/plugin/provider/github-copilot.js +95 -95
  521. package/dist/plugin/provider/gitlab.js +93 -93
  522. package/dist/plugin/provider/google-vertex.js +90 -90
  523. package/dist/plugin/provider/kilo.js +1 -1
  524. package/dist/plugin/provider/llmgateway.js +78 -78
  525. package/dist/plugin/provider/lmstudio.js +122 -122
  526. package/dist/plugin/provider/modal.js +92 -92
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +122 -122
  529. package/dist/plugin/provider/openai.js +93 -93
  530. package/dist/plugin/provider/opencode.js +95 -95
  531. package/dist/plugin/provider/openrouter.js +91 -91
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +79 -79
  534. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  535. package/dist/plugin/provider/sap-ai-core.js +91 -91
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  538. package/dist/plugin/provider/venice.js +2 -2
  539. package/dist/plugin/provider/vercel.js +90 -90
  540. package/dist/plugin/provider/vllm.js +122 -122
  541. package/dist/plugin/provider/xai.js +91 -91
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +163 -163
  544. package/dist/plugin/sdk.js +76 -76
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +141 -141
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +350 -350
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +6 -6
  551. package/dist/plugin/vcs/git.js +86 -86
  552. package/dist/plugin/vcs/hg.js +86 -86
  553. package/dist/plugin/verbosity.js +93 -93
  554. package/dist/plugin/warming.js +121 -121
  555. package/dist/plugin/websearch/exa.js +7 -7
  556. package/dist/plugin/websearch/firecrawl.js +8 -8
  557. package/dist/plugin/websearch/index.js +9 -9
  558. package/dist/plugin/websearch/mcp.js +6 -6
  559. package/dist/plugin/websearch/parallel.js +8 -8
  560. package/dist/plugin/websearch/tavily.js +6 -6
  561. package/dist/plugin/websearch/tinyfish.js +8 -8
  562. package/dist/plugin.js +224 -224
  563. package/dist/project/schema.js +2 -2
  564. package/dist/project/sql.js +4 -4
  565. package/dist/project.js +80 -80
  566. package/dist/provider.js +97 -97
  567. package/dist/pty/protocol.js +1 -1
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +93 -93
  570. package/dist/reference/instructions.js +89 -89
  571. package/dist/reference.js +89 -89
  572. package/dist/repository-cache.js +79 -79
  573. package/dist/repository.js +1 -1
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +97 -97
  576. package/dist/rpc.js +86 -86
  577. package/dist/schema.js +1 -1
  578. package/dist/session/affinity.js +1 -1
  579. package/dist/session/command.js +74 -74
  580. package/dist/session/compaction.js +135 -135
  581. package/dist/session/context.js +153 -153
  582. package/dist/session/diff.js +88 -88
  583. package/dist/session/environment.js +3 -3
  584. package/dist/session/error.js +5 -5
  585. package/dist/session/event.js +1 -1
  586. package/dist/session/execution/restart.js +222 -222
  587. package/dist/session/execution.js +126 -126
  588. package/dist/session/generate.js +154 -154
  589. package/dist/session/history.js +15 -15
  590. package/dist/session/inbox.js +88 -88
  591. package/dist/session/info.js +3 -3
  592. package/dist/session/instruction-entry.js +79 -79
  593. package/dist/session/instruction-state.js +8 -8
  594. package/dist/session/instructions.js +97 -97
  595. package/dist/session/message-updater.js +4 -4
  596. package/dist/session/message.js +1 -1
  597. package/dist/session/model-request.js +120 -120
  598. package/dist/session/model-transport.js +9 -9
  599. package/dist/session/move.js +130 -130
  600. package/dist/session/projector.js +86 -86
  601. package/dist/session/prompt.js +105 -105
  602. package/dist/session/provider-context.js +3 -3
  603. package/dist/session/revert.js +90 -90
  604. package/dist/session/run-coordinator.js +3 -3
  605. package/dist/session/runner/index.js +3 -3
  606. package/dist/session/runner/llm.js +230 -230
  607. package/dist/session/runner/max-steps.js +1 -1
  608. package/dist/session/runner/model.js +98 -98
  609. package/dist/session/runner/publish-llm-event.js +3 -3
  610. package/dist/session/runner/retry.js +4 -4
  611. package/dist/session/runner/step.js +124 -124
  612. package/dist/session/runner/to-llm-message.js +2 -2
  613. package/dist/session/schema.js +5 -5
  614. package/dist/session/session.js +170 -170
  615. package/dist/session/shell.js +138 -138
  616. package/dist/session/skill.js +103 -103
  617. package/dist/session/sql.js +5 -5
  618. package/dist/session/stats.js +73 -73
  619. package/dist/session/store.js +85 -85
  620. package/dist/session/subagent-completion.js +1 -1
  621. package/dist/session/subagent-job.js +211 -211
  622. package/dist/session/system-prompt.js +5 -5
  623. package/dist/session/title.js +153 -153
  624. package/dist/session/to-session-error.js +111 -111
  625. package/dist/session/transfer.js +215 -215
  626. package/dist/session/usage.js +1 -1
  627. package/dist/session.js +217 -217
  628. package/dist/shell/parse.js +6 -6
  629. package/dist/shell/result.js +1 -1
  630. package/dist/shell/scan.js +1 -1
  631. package/dist/shell/select.js +15 -15
  632. package/dist/shell.js +136 -136
  633. package/dist/skill/discovery.js +6 -6
  634. package/dist/skill/instructions.js +105 -105
  635. package/dist/skill.js +110 -110
  636. package/dist/snapshot.js +93 -93
  637. package/dist/state.js +1 -1
  638. package/dist/tool/html-markdown.js +1 -1
  639. package/dist/tool/http-body.js +1 -1
  640. package/dist/tool/mcp.js +126 -126
  641. package/dist/tool/plugin/edit.js +120 -120
  642. package/dist/tool/plugin/file-diff.js +1 -1
  643. package/dist/tool/plugin/glob.js +118 -118
  644. package/dist/tool/plugin/grep.js +122 -122
  645. package/dist/tool/plugin/mcp-resource.js +117 -117
  646. package/dist/tool/plugin/opencode.js +3 -3
  647. package/dist/tool/plugin/patch.js +118 -118
  648. package/dist/tool/plugin/question.js +103 -103
  649. package/dist/tool/plugin/read.js +119 -119
  650. package/dist/tool/plugin/shell.js +212 -212
  651. package/dist/tool/plugin/skill.js +111 -111
  652. package/dist/tool/plugin/subagent.js +220 -220
  653. package/dist/tool/plugin/webfetch.js +110 -110
  654. package/dist/tool/plugin/websearch.js +112 -112
  655. package/dist/tool/plugin/write.js +120 -120
  656. package/dist/tool/read-filesystem.js +100 -100
  657. package/dist/tool/runtime.js +1 -1
  658. package/dist/tool-output.js +8 -8
  659. package/dist/tool.js +12 -12
  660. package/dist/util/error-summary.js +1 -1
  661. package/dist/util/error.js +1 -1
  662. package/dist/util/git-executable.js +2 -2
  663. package/dist/util/iife.js +1 -1
  664. package/dist/util/lazy.js +1 -1
  665. package/dist/util/slug.js +1 -1
  666. package/dist/util/token.js +1 -1
  667. package/dist/util/which.js +1 -1
  668. package/dist/util/wildcard.js +1 -1
  669. package/dist/v1/config/agent.js +7 -7
  670. package/dist/v1/config/attachment.js +4 -4
  671. package/dist/v1/config/command.js +3 -3
  672. package/dist/v1/config/config.js +16 -16
  673. package/dist/v1/config/error.js +4 -4
  674. package/dist/v1/config/formatter.js +7 -7
  675. package/dist/v1/config/layout.js +1 -1
  676. package/dist/v1/config/lsp.js +5 -5
  677. package/dist/v1/config/mcp.js +2 -2
  678. package/dist/v1/config/migrate.js +92 -92
  679. package/dist/v1/config/permission.js +7 -7
  680. package/dist/v1/config/plugin.js +3 -3
  681. package/dist/v1/config/provider-options.js +1 -1
  682. package/dist/v1/config/provider.js +4 -4
  683. package/dist/v1/config/server.js +2 -2
  684. package/dist/v1/config/skills.js +3 -3
  685. package/dist/v1/permission.js +1 -1
  686. package/dist/variant.js +91 -91
  687. package/dist/vcs/patch.js +1 -1
  688. package/dist/vcs.js +89 -89
  689. package/dist/websearch.js +84 -84
  690. package/dist/wellknown/plugin.js +76 -76
  691. package/dist/wellknown.js +81 -81
  692. package/dist/workspace/driver.js +5 -5
  693. package/dist/workspace/sql.js +1 -1
  694. package/dist/workspace.js +80 -80
  695. package/dist/worktree/directory.js +2 -2
  696. package/dist/worktree/git.js +8 -8
  697. package/dist/worktree/sql.js +5 -5
  698. package/dist/worktree/strategies.js +89 -89
  699. package/dist/worktree.js +94 -94
  700. package/package.json +8 -8
  701. package/dist/chunks/command-achjr09z.js +0 -26
  702. package/dist/chunks/command-ht5y0zrb.js +0 -18
  703. package/dist/chunks/command-mp2jdty2.js +0 -252
  704. /package/dist/chunks/{command-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
  705. /package/dist/chunks/{command-0zkw76rk.js → location-0zkw76rk.js} +0 -0
  706. /package/dist/chunks/{command-17cy0kzp.js → location-17cy0kzp.js} +0 -0
  707. /package/dist/chunks/{command-1cnp2v09.js → location-1cnp2v09.js} +0 -0
  708. /package/dist/chunks/{command-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
  709. /package/dist/chunks/{command-24dcb14g.js → location-24dcb14g.js} +0 -0
  710. /package/dist/chunks/{command-2710q6r3.js → location-2710q6r3.js} +0 -0
  711. /package/dist/chunks/{command-2axfhc9x.js → location-2axfhc9x.js} +0 -0
  712. /package/dist/chunks/{command-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
  713. /package/dist/chunks/{command-34c7v6d4.js → location-34c7v6d4.js} +0 -0
  714. /package/dist/chunks/{command-359p4xyc.js → location-359p4xyc.js} +0 -0
  715. /package/dist/chunks/{command-3asan66x.js → location-3asan66x.js} +0 -0
  716. /package/dist/chunks/{command-3v8g72cx.js → location-3v8g72cx.js} +0 -0
  717. /package/dist/chunks/{command-3w5fmr99.js → location-3w5fmr99.js} +0 -0
  718. /package/dist/chunks/{command-3wcehsnq.js → location-3wcehsnq.js} +0 -0
  719. /package/dist/chunks/{command-43n2bw4t.js → location-43n2bw4t.js} +0 -0
  720. /package/dist/chunks/{command-4knz6hnm.js → location-4knz6hnm.js} +0 -0
  721. /package/dist/chunks/{command-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
  722. /package/dist/chunks/{command-4y7fprxs.js → location-4y7fprxs.js} +0 -0
  723. /package/dist/chunks/{command-53557ph1.js → location-53557ph1.js} +0 -0
  724. /package/dist/chunks/{command-550bvhaj.js → location-550bvhaj.js} +0 -0
  725. /package/dist/chunks/{command-6prwharc.js → location-6prwharc.js} +0 -0
  726. /package/dist/chunks/{command-7akdwqpd.js → location-7akdwqpd.js} +0 -0
  727. /package/dist/chunks/{command-7m9af43g.js → location-7m9af43g.js} +0 -0
  728. /package/dist/chunks/{command-822emrt2.js → location-822emrt2.js} +0 -0
  729. /package/dist/chunks/{command-88xbtdfr.js → location-88xbtdfr.js} +0 -0
  730. /package/dist/chunks/{command-8n3pysct.js → location-8n3pysct.js} +0 -0
  731. /package/dist/chunks/{command-8wj87zfr.js → location-8wj87zfr.js} +0 -0
  732. /package/dist/chunks/{command-922hggd3.js → location-922hggd3.js} +0 -0
  733. /package/dist/chunks/{command-9a4afbnw.js → location-9a4afbnw.js} +0 -0
  734. /package/dist/chunks/{command-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
  735. /package/dist/chunks/{command-a6k6eb26.js → location-a6k6eb26.js} +0 -0
  736. /package/dist/chunks/{command-af5trqkr.js → location-af5trqkr.js} +0 -0
  737. /package/dist/chunks/{command-afrmfg78.js → location-afrmfg78.js} +0 -0
  738. /package/dist/chunks/{command-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
  739. /package/dist/chunks/{command-atq7p7m5.js → location-atq7p7m5.js} +0 -0
  740. /package/dist/chunks/{command-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
  741. /package/dist/chunks/{command-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
  742. /package/dist/chunks/{command-cf4snx6d.js → location-cf4snx6d.js} +0 -0
  743. /package/dist/chunks/{command-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
  744. /package/dist/chunks/{command-d9fn303g.js → location-d9fn303g.js} +0 -0
  745. /package/dist/chunks/{command-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
  746. /package/dist/chunks/{command-dajrwvna.js → location-dajrwvna.js} +0 -0
  747. /package/dist/chunks/{command-dap0rakb.js → location-dap0rakb.js} +0 -0
  748. /package/dist/chunks/{command-df08tz66.js → location-df08tz66.js} +0 -0
  749. /package/dist/chunks/{command-dy18nga0.js → location-dy18nga0.js} +0 -0
  750. /package/dist/chunks/{command-e5kj55wp.js → location-e5kj55wp.js} +0 -0
  751. /package/dist/chunks/{command-e73j6tqm.js → location-e73j6tqm.js} +0 -0
  752. /package/dist/chunks/{command-ec1grn59.js → location-ec1grn59.js} +0 -0
  753. /package/dist/chunks/{command-eh3zwz77.js → location-eh3zwz77.js} +0 -0
  754. /package/dist/chunks/{command-emrn6kk6.js → location-emrn6kk6.js} +0 -0
  755. /package/dist/chunks/{command-f0mxakyp.js → location-f0mxakyp.js} +0 -0
  756. /package/dist/chunks/{command-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
  757. /package/dist/chunks/{command-faypxj3z.js → location-faypxj3z.js} +0 -0
  758. /package/dist/chunks/{command-fd410y7t.js → location-fd410y7t.js} +0 -0
  759. /package/dist/chunks/{command-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
  760. /package/dist/chunks/{command-g4wezp1m.js → location-g4wezp1m.js} +0 -0
  761. /package/dist/chunks/{command-g86h250q.js → location-g86h250q.js} +0 -0
  762. /package/dist/chunks/{command-gebd4c9n.js → location-gebd4c9n.js} +0 -0
  763. /package/dist/chunks/{command-gftt206x.js → location-gftt206x.js} +0 -0
  764. /package/dist/chunks/{command-hjbc5kem.js → location-hjbc5kem.js} +0 -0
  765. /package/dist/chunks/{command-hk9envan.js → location-hk9envan.js} +0 -0
  766. /package/dist/chunks/{command-j2ntwpah.js → location-j2ntwpah.js} +0 -0
  767. /package/dist/chunks/{command-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
  768. /package/dist/chunks/{command-jjkms2e6.js → location-jjkms2e6.js} +0 -0
  769. /package/dist/chunks/{command-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
  770. /package/dist/chunks/{command-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
  771. /package/dist/chunks/{command-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
  772. /package/dist/chunks/{command-mp448xyj.js → location-mp448xyj.js} +0 -0
  773. /package/dist/chunks/{command-msx8hqn2.js → location-msx8hqn2.js} +0 -0
  774. /package/dist/chunks/{command-n05xt0ee.js → location-n05xt0ee.js} +0 -0
  775. /package/dist/chunks/{command-n3j8tn72.js → location-n3j8tn72.js} +0 -0
  776. /package/dist/chunks/{command-njntx4h6.js → location-njntx4h6.js} +0 -0
  777. /package/dist/chunks/{command-q3sfg36h.js → location-q3sfg36h.js} +0 -0
  778. /package/dist/chunks/{command-q74kybfr.js → location-q74kybfr.js} +0 -0
  779. /package/dist/chunks/{command-qaymkmh1.js → location-qaymkmh1.js} +0 -0
  780. /package/dist/chunks/{command-qb87gjwd.js → location-qb87gjwd.js} +0 -0
  781. /package/dist/chunks/{command-qfa1cgps.js → location-qfa1cgps.js} +0 -0
  782. /package/dist/chunks/{command-qg3g05ea.js → location-qg3g05ea.js} +0 -0
  783. /package/dist/chunks/{command-qrg20bc0.js → location-qrg20bc0.js} +0 -0
  784. /package/dist/chunks/{command-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
  785. /package/dist/chunks/{command-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
  786. /package/dist/chunks/{command-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
  787. /package/dist/chunks/{command-ssg3fenm.js → location-ssg3fenm.js} +0 -0
  788. /package/dist/chunks/{command-w803qqfp.js → location-w803qqfp.js} +0 -0
  789. /package/dist/chunks/{command-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
  790. /package/dist/chunks/{command-wer8tq1h.js → location-wer8tq1h.js} +0 -0
  791. /package/dist/chunks/{command-wtztk69x.js → location-wtztk69x.js} +0 -0
  792. /package/dist/chunks/{command-x0ckcb58.js → location-x0ckcb58.js} +0 -0
  793. /package/dist/chunks/{command-x61499pn.js → location-x61499pn.js} +0 -0
  794. /package/dist/chunks/{command-y44na4kk.js → location-y44na4kk.js} +0 -0
  795. /package/dist/chunks/{command-y8cydn3q.js → location-y8cydn3q.js} +0 -0
  796. /package/dist/chunks/{command-y8f7s663.js → location-y8f7s663.js} +0 -0
  797. /package/dist/chunks/{command-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
  798. /package/dist/chunks/{command-ym463w8f.js → location-ym463w8f.js} +0 -0
  799. /package/dist/chunks/{command-z9919s4g.js → location-z9919s4g.js} +0 -0
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./command-922hggd3.js";
3
+ } from "./location-922hggd3.js";
4
4
  import {
5
5
  Service80,
6
6
  node84
7
- } from "./command-bq6be9me.js";
7
+ } from "./location-a3b6bg5k.js";
8
8
  import {
9
- Service20,
10
- node22
11
- } from "./command-md4m2kyr.js";
9
+ Service48,
10
+ node52
11
+ } from "./location-4tyy50z7.js";
12
12
  import {
13
13
  isHome2,
14
14
  names3
15
- } from "./command-tcezcvh9.js";
15
+ } from "./location-tcezcvh9.js";
16
16
  import {
17
17
  __export
18
- } from "./command-9rqn6x4v.js";
18
+ } from "./location-9rqn6x4v.js";
19
19
 
20
20
  // src/filesystem/search.ts
21
21
  var exports_search = {};
22
22
  __export(exports_search, {
23
23
  FileSystemSearch: () => exports_search,
24
24
  Options: () => Options3,
25
- Service: () => Service19,
25
+ Service: () => Service16,
26
26
  configured: () => configured3,
27
27
  fffLayer: () => fffLayer2,
28
28
  layer: () => layer9,
29
- node: () => node21,
29
+ node: () => node18,
30
30
  ripgrepLayer: () => ripgrepLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -39,7 +39,7 @@ var Options3 = Schema.Struct({
39
39
  fff: Schema.optional(Schema.Boolean)
40
40
  });
41
41
 
42
- class Service19 extends Context.Service()("@opencode/FileSystem/Search") {
42
+ class Service16 extends Context.Service()("@opencode/FileSystem/Search") {
43
43
  }
44
44
  var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
45
45
  function emptyIndex() {
@@ -58,9 +58,9 @@ function search(index, input) {
58
58
  });
59
59
  });
60
60
  }
61
- var ripgrepLayer2 = Layer.effect(Service19, Effect.gen(function* () {
61
+ var ripgrepLayer2 = Layer.effect(Service16, Effect.gen(function* () {
62
62
  const location = yield* Service80;
63
- const ripgrep = yield* Service20;
63
+ const ripgrep = yield* Service48;
64
64
  const scope = yield* Scope.Scope;
65
65
  const clock = yield* Clock.Clock;
66
66
  const home = isHome2(location.directory);
@@ -105,14 +105,14 @@ var ripgrepLayer2 = Layer.effect(Service19, Effect.gen(function* () {
105
105
  Deferred.doneUnsafe(attempt, exit);
106
106
  })), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
107
107
  });
108
- return Service19.of({
108
+ return Service16.of({
109
109
  find: (input) => Effect.gen(function* () {
110
110
  yield* refresh;
111
111
  return search(index, input);
112
112
  })
113
113
  });
114
114
  }));
115
- var fffLayer2 = Layer.effect(Service19, Effect.gen(function* () {
115
+ var fffLayer2 = Layer.effect(Service16, Effect.gen(function* () {
116
116
  const location = yield* Service80;
117
117
  const result = yield* Effect.try({
118
118
  try: () => Fff.create({
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service19, Effect.gen(function* () {
126
126
  if (!result?.ok) {
127
127
  if (result)
128
128
  yield* Effect.logWarning("failed to initialize fff", { error: result.error });
129
- return Service19.of({
129
+ return Service16.of({
130
130
  find: () => Effect.succeed([])
131
131
  });
132
132
  }
133
133
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
134
- return Service19.of({
134
+ return Service16.of({
135
135
  find: (input) => Effect.sync(() => {
136
136
  const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
137
137
  const items = (() => {
@@ -183,8 +183,8 @@ var layer9 = (options) => Layer.unwrap(Effect.gen(function* () {
183
183
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
184
184
  }));
185
185
  function configured3(options) {
186
- return makeLocationNode({ service: Service19, layer: layer9(options), deps: [node84, node22] });
186
+ return makeLocationNode({ service: Service16, layer: layer9(options), deps: [node84, node52] });
187
187
  }
188
- var node21 = configured3();
188
+ var node18 = configured3();
189
189
 
190
- export { Options3, Service19, ripgrepLayer2, fffLayer2, layer9, configured3, node21, exports_search };
190
+ export { Options3, Service16, ripgrepLayer2, fffLayer2, layer9, configured3, node18, exports_search };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  useragent2
3
- } from "./command-fdjp4t8r.js";
3
+ } from "./location-wr5k3gxd.js";
4
4
  import {
5
5
  Service83
6
- } from "./command-17zy7cfp.js";
6
+ } from "./location-zaj0f5yc.js";
7
7
  import {
8
8
  OAuth3,
9
- Event20
10
- } from "./command-x4qspy2c.js";
9
+ Event19
10
+ } from "./location-7jp52wrn.js";
11
11
  import {
12
- ID12,
12
+ ID14,
13
13
  MethodID2
14
- } from "./command-pppvxay8.js";
14
+ } from "./location-mdngnccz.js";
15
15
  import {
16
16
  which2
17
- } from "./command-qaymkmh1.js";
17
+ } from "./location-qaymkmh1.js";
18
18
  import {
19
- ID11
20
- } from "./command-wwm9drsm.js";
19
+ ID13
20
+ } from "./location-zwxq93tf.js";
21
21
  import {
22
22
  iife2
23
- } from "./command-1kg9ymc8.js";
23
+ } from "./location-1kg9ymc8.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./command-68g7trhf.js";
26
+ } from "./location-2d5t5e6c.js";
27
27
 
28
28
  // src/plugin/provider/azure.ts
29
29
  import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
@@ -43,7 +43,7 @@ var decodeToken = Schema.decodeUnknownEffect(Schema.Struct({
43
43
  var AzurePlugin2 = define({
44
44
  id: "opencode.provider.azure",
45
45
  effect: Effect.fn(function* (ctx) {
46
- const configured = yield* configuredSettings2(ID11.azure);
46
+ const configured = yield* configuredSettings2(ID13.azure);
47
47
  const processes = yield* AppProcess.Service;
48
48
  const bus = yield* Service83;
49
49
  const tokens = new Map;
@@ -79,13 +79,13 @@ var AzurePlugin2 = define({
79
79
  });
80
80
  yield* ctx.integration.transform((editor) => {
81
81
  editor.method.update({
82
- integrationID: ID11.azure,
82
+ integrationID: ID13.azure,
83
83
  method: { type: "key", label: "API key", form: form() }
84
84
  });
85
85
  if (!available)
86
86
  return;
87
87
  editor.method.update({
88
- integrationID: ID11.azure,
88
+ integrationID: ID13.azure,
89
89
  method: {
90
90
  id: methodID,
91
91
  type: "oauth",
@@ -117,7 +117,7 @@ var AzurePlugin2 = define({
117
117
  });
118
118
  });
119
119
  const load = Effect.fn("AzurePlugin.load")(function* () {
120
- const connection = yield* ctx.integration.connection.active(ID11.azure);
120
+ const connection = yield* ctx.integration.connection.active(ID13.azure);
121
121
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
122
122
  return;
123
123
  })) : undefined;
@@ -131,7 +131,7 @@ var AzurePlugin2 = define({
131
131
  yield* load();
132
132
  yield* ctx.provider.transform((evt) => {
133
133
  for (const item of evt.list()) {
134
- if (item.provider.id !== ID11.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
134
+ if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
135
135
  continue;
136
136
  const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
137
137
  const websocket = responsesWebSocketCapable(item.provider);
@@ -149,7 +149,7 @@ var AzurePlugin2 = define({
149
149
  });
150
150
  yield* ctx.model.transform((models) => {
151
151
  for (const item of models.provider.list()) {
152
- if (item.provider.id !== ID11.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
152
+ if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
153
153
  continue;
154
154
  const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
155
155
  for (const model of models.list(item.provider.id)) {
@@ -161,9 +161,9 @@ var AzurePlugin2 = define({
161
161
  }
162
162
  });
163
163
  const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
164
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
164
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
165
165
  const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
166
- const connection = yield* ctx.integration.connection.active(ID11.azure);
166
+ const connection = yield* ctx.integration.connection.active(ID13.azure);
167
167
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
168
168
  return;
169
169
  })) : undefined;
@@ -175,7 +175,7 @@ var AzurePlugin2 = define({
175
175
  return `Bearer ${current.access}`;
176
176
  });
177
177
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
178
- if (evt.model.providerID !== ID11.azure)
178
+ if (evt.model.providerID !== ID13.azure)
179
179
  return;
180
180
  const authorization = yield* bearer(evt.request.url);
181
181
  if (!authorization)
@@ -184,9 +184,9 @@ var AzurePlugin2 = define({
184
184
  evt.request.headers.delete("x-api-key");
185
185
  evt.request.headers.set("authorization", authorization);
186
186
  evt.request.headers.set("user-agent", useragent2(ctx.app));
187
- }), { providerID: ID11.azure });
187
+ }), { providerID: ID13.azure });
188
188
  yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
189
- if (evt.model.providerID !== ID11.azure)
189
+ if (evt.model.providerID !== ID13.azure)
190
190
  return;
191
191
  const authorization = yield* bearer(evt.url);
192
192
  if (!authorization)
@@ -195,7 +195,7 @@ var AzurePlugin2 = define({
195
195
  delete evt.headers["x-api-key"];
196
196
  evt.headers.authorization = authorization;
197
197
  evt.headers["user-agent"] = useragent2(ctx.app);
198
- }), { providerID: ID11.azure });
198
+ }), { providerID: ID13.azure });
199
199
  })
200
200
  });
201
201
  function resolveResourceName(settings, fallback) {
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  fromPromise2
3
- } from "./command-zr2ceqn5.js";
3
+ } from "./location-zr2ceqn5.js";
4
4
  import {
5
- Service67
6
- } from "./command-r7cqnzm4.js";
5
+ Service60
6
+ } from "./location-e003b4c3.js";
7
7
  import {
8
8
  __export
9
- } from "./command-9rqn6x4v.js";
9
+ } from "./location-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/module.ts
12
12
  var exports_module = {};
@@ -23,7 +23,7 @@ import path from "path";
23
23
  import { stat } from "node:fs/promises";
24
24
  import { fileURLToPath, pathToFileURL } from "url";
25
25
  var make6 = Effect.fn("PluginModule.make")(function* () {
26
- const watcher = yield* Service67;
26
+ const watcher = yield* Service60;
27
27
  const scope = yield* Effect.scope;
28
28
  const runPromise = yield* FiberSet.makeRuntimePromise();
29
29
  const changes = yield* PubSub.unbounded();
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./command-922hggd3.js";
3
+ } from "./location-922hggd3.js";
4
4
  import {
5
5
  Service80
6
- } from "./command-bq6be9me.js";
6
+ } from "./location-a3b6bg5k.js";
7
7
  import {
8
- Service66
9
- } from "./command-gjbqwzd2.js";
8
+ Service59
9
+ } from "./location-bf6j3zq6.js";
10
10
  import {
11
- Service22
12
- } from "./command-vyxeydcn.js";
11
+ Service21
12
+ } from "./location-3frysrkz.js";
13
13
  import {
14
14
  observe2
15
- } from "./command-qsdy395h.js";
15
+ } from "./location-qsdy395h.js";
16
16
  import {
17
17
  __export
18
- } from "./command-9rqn6x4v.js";
18
+ } from "./location-9rqn6x4v.js";
19
19
 
20
20
  // src/config/plugin/worktree.ts
21
21
  var exports_worktree = {};
22
22
  __export(exports_worktree, {
23
23
  ConfigWorktreePlugin: () => exports_worktree,
24
- Plugin: () => Plugin3
24
+ Plugin: () => Plugin18
25
25
  });
26
26
  import { define } from "@opencode/plugin/effect/plugin";
27
27
  import { Effect } from "effect";
28
28
  import path from "path";
29
29
  import { Global } from "@opencode/util/global";
30
- var Plugin3 = define({
30
+ var Plugin18 = define({
31
31
  id: "opencode.config.worktree",
32
32
  effect: Effect.fn(function* (ctx) {
33
- const config = yield* Service66;
33
+ const config = yield* Service59;
34
34
  const location = yield* Service80;
35
35
  const global = yield* Global.Service;
36
- const worktrees = yield* Service22;
36
+ const worktrees = yield* Service21;
37
37
  const loaded = yield* observe2(config, ctx.event, worktrees.reload());
38
38
  yield* worktrees.transform((editor) => {
39
39
  for (const entry of loaded.entries) {
@@ -48,4 +48,4 @@ var Plugin3 = define({
48
48
  })
49
49
  });
50
50
 
51
- export { Plugin3, exports_worktree };
51
+ export { Plugin18, exports_worktree };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/managed-policy.ts
6
6
  var exports_managed_policy = {};
7
7
  __export(exports_managed_policy, {
8
8
  ManagedPolicy: () => exports_managed_policy,
9
- Service: () => Service17,
10
- node: () => node19
9
+ Service: () => Service13,
10
+ node: () => node15
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service17 extends Context.Service()("@opencode/ManagedPolicy") {
15
+ class Service13 extends Context.Service()("@opencode/ManagedPolicy") {
16
16
  }
17
- var layer = Layer.sync(Service17, () => {
17
+ var layer = Layer.sync(Service13, () => {
18
18
  const state = { current: { statements: [] } };
19
- return Service17.of({
19
+ return Service13.of({
20
20
  current: () => state.current,
21
21
  set: (next) => Effect.sync(() => {
22
22
  state.current = next;
23
23
  })
24
24
  });
25
25
  });
26
- var node19 = makeGlobalNode({ service: Service17, layer, deps: [] });
26
+ var node15 = makeGlobalNode({ service: Service13, layer, deps: [] });
27
27
 
28
- export { Service17, node19, exports_managed_policy };
28
+ export { Service13, node15, exports_managed_policy };
@@ -2,18 +2,18 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./command-922hggd3.js";
5
+ } from "./location-922hggd3.js";
6
6
  import {
7
7
  Service80,
8
8
  node84
9
- } from "./command-bq6be9me.js";
9
+ } from "./location-a3b6bg5k.js";
10
10
  import {
11
- Service19,
12
- node21
13
- } from "./command-3yrc8p0f.js";
11
+ Service16,
12
+ node18
13
+ } from "./location-jjxrrmfz.js";
14
14
  import {
15
15
  __export
16
- } from "./command-9rqn6x4v.js";
16
+ } from "./location-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
@@ -22,20 +22,20 @@ __export(exports_filesystem, {
22
22
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
23
23
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
24
24
  Entry: () => Entry2,
25
- Event: () => Event4,
25
+ Event: () => Event3,
26
26
  FileSystem: () => exports_filesystem,
27
27
  FindInput: () => FindInput2,
28
28
  GlobInput: () => GlobInput2,
29
29
  GrepInput: () => GrepInput2,
30
30
  ListInput: () => ListInput2,
31
31
  Match: () => Match2,
32
- NotFoundError: () => NotFoundError3,
32
+ NotFoundError: () => NotFoundError2,
33
33
  ReadInput: () => ReadInput2,
34
- Service: () => Service18,
34
+ Service: () => Service15,
35
35
  Submatch: () => Submatch2,
36
36
  Write: () => Write2,
37
37
  WriteInput: () => WriteInput2,
38
- node: () => node20
38
+ node: () => node17
39
39
  });
40
40
  import { makeLocationNode } from "@opencode/util/effect/app-node";
41
41
  import path from "path";
@@ -51,7 +51,7 @@ var WriteInput2 = Schema.Struct({
51
51
  data: Schema.Uint8Array
52
52
  });
53
53
 
54
- class NotFoundError3 extends Schema.TaggedError()("FileSystem.NotFoundError", {
54
+ class NotFoundError2 extends Schema.TaggedError()("FileSystem.NotFoundError", {
55
55
  path: RelativePath2
56
56
  }) {
57
57
  }
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
85
85
  limit: Schema.optionalKey(PositiveInt2)
86
86
  }) {
87
87
  }
88
- var Event4 = FileSystem.Event;
88
+ var Event3 = FileSystem.Event;
89
89
 
90
- class Service18 extends Context.Service()("@opencode/FileSystem") {
90
+ class Service15 extends Context.Service()("@opencode/FileSystem") {
91
91
  }
92
- var baseLayer = Layer.effect(Service18, Effect.gen(function* () {
92
+ var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
93
93
  const fs = yield* FSUtil.Service;
94
94
  const location = yield* Service80;
95
- const search = yield* Service19;
95
+ const search = yield* Service16;
96
96
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
97
97
  const resolve = Effect.fnUntraced(function* (input) {
98
98
  const absolute = path.resolve(location.directory, input ?? ".");
@@ -103,15 +103,15 @@ var baseLayer = Layer.effect(Service18, Effect.gen(function* () {
103
103
  return yield* Effect.die(new Error("Path escapes the location"));
104
104
  return { absolute, real, directory: location.directory };
105
105
  });
106
- return Service18.of({
106
+ return Service15.of({
107
107
  find: search.find,
108
108
  read: Effect.fn("FileSystem.read")(function* (input) {
109
- const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
110
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
109
+ const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
110
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
111
111
  if (info.type !== "File")
112
112
  return yield* Effect.die(new Error("Path is not a file"));
113
113
  return {
114
- content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error))),
114
+ content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error))),
115
115
  mime: FSUtil.mimeType(target.real)
116
116
  };
117
117
  }),
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service18, Effect.gen(function* () {
140
140
  })
141
141
  });
142
142
  }));
143
- var node20 = makeLocationNode({
144
- service: Service18,
143
+ var node17 = makeLocationNode({
144
+ service: Service15,
145
145
  layer: baseLayer,
146
- deps: [FSUtil.node, node84, node21]
146
+ deps: [FSUtil.node, node84, node18]
147
147
  });
148
148
 
149
- export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError3, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event4, Service18, node20, exports_filesystem, Entry2, Match2, Submatch2 };
149
+ export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event3, Service15, node17, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service66
4
- } from "./command-gjbqwzd2.js";
3
+ Service59
4
+ } from "./location-bf6j3zq6.js";
5
5
  import {
6
- Service47
7
- } from "./command-qw2yw8z7.js";
6
+ Service64
7
+ } from "./location-1me2azay.js";
8
8
  import {
9
9
  observe2
10
- } from "./command-qsdy395h.js";
10
+ } from "./location-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./command-9rqn6x4v.js";
13
+ } from "./location-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/shell.ts
16
16
  var exports_shell = {};
17
17
  __export(exports_shell, {
18
18
  ConfigShellPlugin: () => exports_shell,
19
- Plugin: () => Plugin16
19
+ Plugin: () => Plugin35
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin16 = define({
23
+ var Plugin35 = define({
24
24
  id: "opencode.config.shell",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service66;
27
- const shell = yield* Service47;
26
+ const config = yield* Service59;
27
+ const shell = yield* Service64;
28
28
  const loaded = yield* observe2(config, ctx.event, shell.reload());
29
29
  yield* shell.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "shell");
@@ -34,4 +34,4 @@ var Plugin16 = define({
34
34
  })
35
35
  });
36
36
 
37
- export { Plugin16, exports_shell };
37
+ export { Plugin35, exports_shell };
@@ -1,68 +1,68 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./command-zg0g1dmr.js";
4
+ } from "./location-zt2wse74.js";
5
5
  import {
6
6
  Service83,
7
7
  node87
8
- } from "./command-17zy7cfp.js";
8
+ } from "./location-zaj0f5yc.js";
9
9
  import {
10
10
  llmClient2
11
- } from "./command-5t3nmthw.js";
11
+ } from "./location-5t3nmthw.js";
12
12
  import {
13
13
  create3
14
- } from "./command-rdw6cm16.js";
14
+ } from "./location-rdw6cm16.js";
15
15
  import {
16
16
  estimate2
17
- } from "./command-h6vf3j39.js";
17
+ } from "./location-h6vf3j39.js";
18
18
  import {
19
19
  SessionEvent2
20
- } from "./command-ec1grn59.js";
20
+ } from "./location-ec1grn59.js";
21
21
  import {
22
22
  provenance2,
23
23
  compatible2,
24
24
  isCheckpoint2,
25
25
  encode2
26
- } from "./command-h9wp8z5w.js";
26
+ } from "./location-f29mbr7f.js";
27
27
  import {
28
- load4
29
- } from "./command-p7j22ek7.js";
28
+ load5
29
+ } from "./location-nfjrmqy5.js";
30
30
  import {
31
31
  toLLMMessages2
32
- } from "./command-znsx74x0.js";
32
+ } from "./location-rk1r2hx8.js";
33
33
  import {
34
34
  baseTranscript2,
35
35
  unsupportedParts2,
36
36
  boundImages2,
37
- Service35,
38
- node37
39
- } from "./command-gkgr9f8v.js";
37
+ Service36,
38
+ node39
39
+ } from "./location-8zefm95q.js";
40
40
  import {
41
41
  isRetryable2,
42
42
  policy2
43
- } from "./command-g5agzp2h.js";
43
+ } from "./location-vd7rzxqf.js";
44
44
  import {
45
45
  toSessionError2
46
- } from "./command-67a3m4yw.js";
46
+ } from "./location-tg37w3py.js";
47
47
  import {
48
48
  calculateCost2,
49
49
  record2,
50
50
  add2
51
- } from "./command-tdstcens.js";
51
+ } from "./location-tdstcens.js";
52
52
  import {
53
53
  __export
54
- } from "./command-9rqn6x4v.js";
54
+ } from "./location-9rqn6x4v.js";
55
55
 
56
56
  // src/session/compaction.ts
57
57
  var exports_compaction2 = {};
58
58
  __export(exports_compaction2, {
59
- Service: () => Service10,
59
+ Service: () => Service12,
60
60
  SessionCompaction: () => exports_compaction2,
61
61
  buildPrompt: () => buildPrompt2,
62
62
  estimateContext: () => estimateContext2,
63
63
  estimatePrompt: () => estimatePrompt2,
64
- layer: () => layer6,
65
- node: () => node12,
64
+ layer: () => layer7,
65
+ node: () => node14,
66
66
  recentUserMessages: () => recentUserMessages2
67
67
  });
68
68
  import {
@@ -78,7 +78,7 @@ import {
78
78
  } from "@opencode/ai";
79
79
  import { makeLocationNode } from "@opencode/util/effect/app-node";
80
80
  import { Context, Effect, Layer, Result, Stream } from "effect";
81
- class Service10 extends Context.Service()("@opencode/SessionCompaction") {
81
+ class Service12 extends Context.Service()("@opencode/SessionCompaction") {
82
82
  }
83
83
  var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
84
84
  var SHRINK_STEPS = [0.7, 0.5, 0.35];
@@ -157,11 +157,11 @@ var buildPrompt2 = (update, legacy = false) => {
157
157
  };
158
158
  var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
159
159
  var LEGACY_HEADING = "## Additional Context";
160
- var layer6 = Layer.effect(Service10, Effect.gen(function* () {
160
+ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
161
161
  const bus = yield* Service83;
162
162
  const llm = yield* LLMClient.Service;
163
163
  const db = (yield* Service84).db;
164
- const requests = yield* Service35;
164
+ const requests = yield* Service36;
165
165
  const state = create3({
166
166
  name: "session-compaction",
167
167
  initial: () => ({ auto: true, keep: 15000 }),
@@ -249,7 +249,7 @@ var layer6 = Layer.effect(Service10, Effect.gen(function* () {
249
249
  const send = (request) => {
250
250
  if (LLMClient.canCompact(request, { mechanism: "trigger" })) {
251
251
  return Effect.gen(function* () {
252
- const history = yield* load4(db, context.session.id, "local").pipe(Effect.orDie);
252
+ const history = yield* load5(db, context.session.id, "local").pipe(Effect.orDie);
253
253
  const retained = recentUserMessages2(history, context.model, keep);
254
254
  const response = yield* llm.compact(request, { ...prepared.options, mechanism: "trigger" });
255
255
  return yield* toResult([...retained, Message.assistant(response.checkpoint)], response.usage);
@@ -452,16 +452,16 @@ ${text}`;
452
452
  }, { metadata: outcome.metadata });
453
453
  return { status: "completed" };
454
454
  });
455
- return Service10.of({
455
+ return Service12.of({
456
456
  transform: state.transform,
457
457
  reload: state.reload,
458
458
  compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id))))
459
459
  });
460
460
  }));
461
- var node12 = makeLocationNode({
462
- service: Service10,
463
- layer: layer6,
464
- deps: [node87, node88, llmClient2, node37]
461
+ var node14 = makeLocationNode({
462
+ service: Service12,
463
+ layer: layer7,
464
+ deps: [node87, node88, llmClient2, node39]
465
465
  });
466
466
  var previousCompaction = (messages) => {
467
467
  const [first] = messages;
@@ -666,4 +666,4 @@ var estimateMedia = (mime) => {
666
666
  return 0;
667
667
  };
668
668
 
669
- export { Service10, buildPrompt2, layer6, node12, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
669
+ export { Service12, buildPrompt2, layer7, node14, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };