@opencode/core 0.0.0-dev-21800 → 0.0.0-dev-21802

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 (822) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +94 -94
  4. package/dist/aisdk.js +100 -100
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{form-aj7mw0zk.js → location-034tev2y.js} +2 -2
  8. package/dist/chunks/{form-pta84ypa.js → location-04s74fx7.js} +5 -5
  9. package/dist/chunks/{form-gf1tscqt.js → location-075x5646.js} +13 -13
  10. package/dist/chunks/{form-b2swvwa1.js → location-0aqnrq7x.js} +35 -35
  11. package/dist/chunks/{form-t7je23h6.js → location-0bpkyfh4.js} +22 -22
  12. package/dist/chunks/{form-ndqzk6tc.js → location-0d0matx1.js} +36 -36
  13. package/dist/chunks/{form-rtnxtb24.js → location-0ear39jp.js} +11 -11
  14. package/dist/chunks/{form-kxadc7dx.js → location-0hc0bbs9.js} +4 -4
  15. package/dist/chunks/{form-t6fwpnvd.js → location-0nykq6f5.js} +20 -20
  16. package/dist/chunks/{form-qd7v5spn.js → location-0q213vj2.js} +4 -4
  17. package/dist/chunks/{form-twvgeg0c.js → location-15hh3cbc.js} +11 -11
  18. package/dist/chunks/{form-xh7yb18e.js → location-16mb5f8v.js} +29 -29
  19. package/dist/chunks/{form-0s6xfy83.js → location-17a3f6rk.js} +44 -44
  20. package/dist/chunks/{form-ptbh3pce.js → location-1ccg85h0.js} +20 -20
  21. package/dist/chunks/{form-27w5k9zf.js → location-1ep2p91f.js} +2 -2
  22. package/dist/chunks/{form-zkyyckpa.js → location-1h4xhwew.js} +24 -24
  23. package/dist/chunks/{form-fpepjkf7.js → location-1rx1hnzt.js} +2 -2
  24. package/dist/chunks/{form-4900y2mg.js → location-1s73zfxt.js} +15 -15
  25. package/dist/chunks/{form-z2w0x2ee.js → location-1vd7snte.js} +43 -43
  26. package/dist/chunks/{form-1x2knyw4.js → location-1x2knyw4.js} +1 -1
  27. package/dist/chunks/{form-mmx1mfjr.js → location-1y0wdj51.js} +9 -9
  28. package/dist/chunks/{form-202bxvr4.js → location-231a8wys.js} +8 -8
  29. package/dist/chunks/{form-q79gyas9.js → location-26sbc8wa.js} +26 -26
  30. package/dist/chunks/{form-m56nnkz7.js → location-288dktsv.js} +4 -4
  31. package/dist/chunks/{form-wdffqmgj.js → location-2bmn10af.js} +8 -8
  32. package/dist/chunks/{form-6yvmzeyy.js → location-2f2nr3wk.js} +11 -11
  33. package/dist/chunks/{form-vhnfgg21.js → location-2s1jcspe.js} +11 -11
  34. package/dist/chunks/{form-5nrew705.js → location-2xwkyk0m.js} +5 -5
  35. package/dist/chunks/{form-2z1j29yd.js → location-2z1j29yd.js} +1 -1
  36. package/dist/chunks/{form-8nm5n31t.js → location-3753v25r.js} +15 -15
  37. package/dist/chunks/{form-5nx9zxzz.js → location-3aj7rrf8.js} +14 -14
  38. package/dist/chunks/{form-rmm3vtp2.js → location-3azbbmvr.js} +13 -13
  39. package/dist/chunks/{form-dbg2e74s.js → location-3bn9zxbg.js} +11 -11
  40. package/dist/chunks/{form-3hepkmqq.js → location-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{form-3nnrz6f6.js → location-3nnrz6f6.js} +1 -1
  42. package/dist/chunks/{form-9tc86wb5.js → location-3r5s1csz.js} +33 -33
  43. package/dist/chunks/{form-p0tsr9h6.js → location-3ryz99p0.js} +4 -4
  44. package/dist/chunks/{form-qp8t9fx2.js → location-3shw1cbx.js} +8 -8
  45. package/dist/chunks/{form-r41sfy63.js → location-40za9wsf.js} +6 -6
  46. package/dist/chunks/{form-bjhzkqyk.js → location-42jd4697.js} +4 -4
  47. package/dist/chunks/{form-3418rxn8.js → location-48fr60f0.js} +4 -4
  48. package/dist/chunks/{form-whhxszaf.js → location-4c9pmv36.js} +14 -14
  49. package/dist/chunks/{form-q8axm0b6.js → location-4cggrrsp.js} +1 -1
  50. package/dist/chunks/{form-efye4wxz.js → location-4f258480.js} +22 -22
  51. package/dist/chunks/{form-57mrygtr.js → location-4f51t6yt.js} +31 -31
  52. package/dist/chunks/{form-4v008n1t.js → location-4v008n1t.js} +1 -1
  53. package/dist/chunks/{form-ty2r1ah4.js → location-4zw1mhch.js} +10 -10
  54. package/dist/chunks/{form-x8h9qnt8.js → location-53ehad73.js} +11 -11
  55. package/dist/chunks/{form-4j1hff5b.js → location-543xpwr1.js} +15 -15
  56. package/dist/chunks/{form-5m9w47nd.js → location-5m9w47nd.js} +1 -1
  57. package/dist/chunks/{form-dkq45mty.js → location-5pjcmgbp.js} +3 -3
  58. package/dist/chunks/{form-e3qxr5gk.js → location-5qd3pb7m.js} +2 -2
  59. package/dist/chunks/{form-fp9hrh53.js → location-5rffp0ca.js} +27 -27
  60. package/dist/chunks/location-6617700v.js +26 -0
  61. package/dist/chunks/{form-b1crm3cf.js → location-67fvqagb.js} +44 -44
  62. package/dist/chunks/{form-jxb3gtw0.js → location-6ejgy672.js} +8 -8
  63. package/dist/chunks/{form-6esdw8yj.js → location-6esdw8yj.js} +1 -1
  64. package/dist/chunks/{form-8aa3rj35.js → location-6grvz7sb.js} +19 -19
  65. package/dist/chunks/{form-6pjqjmy2.js → location-6pjqjmy2.js} +1 -1
  66. package/dist/chunks/{form-cbcw5jdv.js → location-6pns0xkq.js} +14 -14
  67. package/dist/chunks/{form-z028gk7z.js → location-6qzrsg19.js} +11 -11
  68. package/dist/chunks/{form-ha3txm3a.js → location-6rrz3dm6.js} +4 -4
  69. package/dist/chunks/{form-9qkkem2t.js → location-6s8srms1.js} +23 -23
  70. package/dist/chunks/{form-gp9gf7jx.js → location-6xvr7jf7.js} +3 -3
  71. package/dist/chunks/{form-jr1j5bze.js → location-6y263vp8.js} +5 -5
  72. package/dist/chunks/{form-w6d7jzdm.js → location-6ypa0r1z.js} +31 -31
  73. package/dist/chunks/{form-yhzfnwqx.js → location-73ws2247.js} +63 -63
  74. package/dist/chunks/{form-76cb1hcw.js → location-76cb1hcw.js} +1 -1
  75. package/dist/chunks/{form-770pw0s1.js → location-770pw0s1.js} +1 -1
  76. package/dist/chunks/{form-7bmhse3q.js → location-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{form-7w2ypzdf.js → location-7w2ypzdf.js} +1 -1
  78. package/dist/chunks/{form-8kt5nrfk.js → location-8ggafv1b.js} +14 -14
  79. package/dist/chunks/{form-ffg4nk5v.js → location-8j2gg8hq.js} +21 -21
  80. package/dist/chunks/{form-hr9cza2g.js → location-8n0m92g8.js} +15 -15
  81. package/dist/chunks/{form-pwcmqnv6.js → location-8nsfhtx4.js} +49 -49
  82. package/dist/chunks/{form-vwdfpcvx.js → location-8whp40kv.js} +3 -3
  83. package/dist/chunks/{form-8wtp7s3z.js → location-8wtp7s3z.js} +1 -1
  84. package/dist/chunks/{form-91rj84md.js → location-91rj84md.js} +1 -1
  85. package/dist/chunks/{form-77pzky32.js → location-984v65na.js} +17 -17
  86. package/dist/chunks/{form-dvj9ct8m.js → location-998yhzzq.js} +3 -3
  87. package/dist/chunks/{form-5y540sh8.js → location-9b1bq8k1.js} +6 -6
  88. package/dist/chunks/{form-ebwp6ca3.js → location-9b28cy4d.js} +5 -5
  89. package/dist/chunks/{form-bp8166w3.js → location-9bag7kem.js} +8 -8
  90. package/dist/chunks/{form-cq7by30v.js → location-9btvkpqm.js} +9 -9
  91. package/dist/chunks/{form-n0p0277s.js → location-9cx9sm2q.js} +2 -2
  92. package/dist/chunks/{form-t2ztbpje.js → location-9je5s229.js} +4 -4
  93. package/dist/chunks/{form-jneg3k74.js → location-9p9xqj3m.js} +6 -6
  94. package/dist/chunks/{form-0h9bs85x.js → location-a0stp6fn.js} +9 -9
  95. package/dist/chunks/{form-49tazegd.js → location-a4g64ecz.js} +17 -17
  96. package/dist/chunks/{form-4se4h2v4.js → location-a59j6a4y.js} +12 -12
  97. package/dist/chunks/{form-y7r7kv14.js → location-a6g0efdt.js} +38 -38
  98. package/dist/chunks/{form-w7frmj75.js → location-a7hcemwv.js} +8 -8
  99. package/dist/chunks/{form-en3a7p48.js → location-ab01g4cm.js} +9 -9
  100. package/dist/chunks/{form-fv302xas.js → location-af84d9dx.js} +17 -17
  101. package/dist/chunks/{form-35z82n4m.js → location-ag7xc6h3.js} +15 -15
  102. package/dist/chunks/{form-aksd0eqj.js → location-agxdnhx2.js} +29 -29
  103. package/dist/chunks/{form-m8s6zs3q.js → location-ahnc65m5.js} +9 -9
  104. package/dist/chunks/{form-bjx81z2n.js → location-amtc5egd.js} +45 -45
  105. package/dist/chunks/{form-5ze4n4sg.js → location-at9bq00k.js} +36 -36
  106. package/dist/chunks/{form-qkghfb1m.js → location-avxtkthz.js} +85 -85
  107. package/dist/chunks/{form-vwss2sv6.js → location-aw8nv5py.js} +26 -26
  108. package/dist/chunks/{form-3cbjf1nt.js → location-ayjs7tqn.js} +2 -2
  109. package/dist/chunks/{form-b0mv4wxm.js → location-b0mv4wxm.js} +2 -2
  110. package/dist/chunks/{form-b6vsg801.js → location-b6vsg801.js} +2 -2
  111. package/dist/chunks/{form-xr0fdn46.js → location-b8w355z9.js} +8 -8
  112. package/dist/chunks/{form-0de0nmh0.js → location-b92bqb2e.js} +26 -26
  113. package/dist/chunks/{form-bqjkv61t.js → location-bhaqjw7f.js} +6 -6
  114. package/dist/chunks/{form-4bj59q6n.js → location-bkdm27vv.js} +183 -183
  115. package/dist/chunks/{form-vgsxebfn.js → location-bntc87tw.js} +10 -10
  116. package/dist/chunks/{form-vzmjdaw1.js → location-bqwdyg2t.js} +9 -9
  117. package/dist/chunks/{form-bstexjd6.js → location-bstexjd6.js} +1 -1
  118. package/dist/chunks/{form-kzprjqer.js → location-bxx0c1dy.js} +12 -12
  119. package/dist/chunks/{form-2abq9rn1.js → location-c06ba7a3.js} +17 -17
  120. package/dist/chunks/{form-7tymy24s.js → location-c0hpt3fm.js} +4 -4
  121. package/dist/chunks/{form-rekntzzt.js → location-c6jk0q5d.js} +3 -3
  122. package/dist/chunks/{form-ssfehs1z.js → location-c9t2ty9q.js} +4 -4
  123. package/dist/chunks/{form-x59sy6my.js → location-cb3hqvs8.js} +84 -84
  124. package/dist/chunks/{form-j6h7yvwn.js → location-cb47sqp9.js} +11 -11
  125. package/dist/chunks/{form-d7w06rve.js → location-cdq478xq.js} +27 -27
  126. package/dist/chunks/{form-rhjvhekr.js → location-cfchc4zb.js} +4 -4
  127. package/dist/chunks/{form-t6zv3t7w.js → location-cv0k61fs.js} +34 -34
  128. package/dist/chunks/{form-tb6jrghd.js → location-cxpnepvy.js} +17 -17
  129. package/dist/chunks/{form-d4vw6k95.js → location-d126gacg.js} +12 -12
  130. package/dist/chunks/{form-rnhyqk91.js → location-d3db3qjf.js} +20 -20
  131. package/dist/chunks/{form-gn8tkhbf.js → location-d4v9tmah.js} +2 -2
  132. package/dist/chunks/{form-d77dj7jw.js → location-d77dj7jw.js} +1 -1
  133. package/dist/chunks/{form-n98epqcg.js → location-dg4g4j0t.js} +29 -29
  134. package/dist/chunks/{form-504b0z1d.js → location-dgny4tbd.js} +34 -34
  135. package/dist/chunks/{form-1kqbdeg9.js → location-dkjms5pz.js} +19 -19
  136. package/dist/chunks/{form-e834z07m.js → location-e834z07m.js} +1 -1
  137. package/dist/chunks/{form-mfazgctd.js → location-ecrg8485.js} +11 -11
  138. package/dist/chunks/{form-8gfg5k83.js → location-ehd7jrz2.js} +13 -13
  139. package/dist/chunks/{form-7zbjpcgf.js → location-ej5n7emy.js} +29 -29
  140. package/dist/chunks/{form-1mz0hg4w.js → location-embmaz50.js} +35 -35
  141. package/dist/chunks/{form-7vk1qfcv.js → location-eqc54gfq.js} +6 -6
  142. package/dist/chunks/{form-k7rxqqn4.js → location-eqqpepv4.js} +8 -8
  143. package/dist/chunks/{form-x0yqbyz4.js → location-er214sbb.js} +15 -15
  144. package/dist/chunks/{form-rp2hzysp.js → location-ete0teby.js} +8 -8
  145. package/dist/chunks/{form-bsm4yj1q.js → location-ewepcnn2.js} +5 -5
  146. package/dist/chunks/{form-j37rmggz.js → location-f4mz2h0w.js} +21 -21
  147. package/dist/chunks/{form-ywgtt5qa.js → location-f4sjmcvy.js} +13 -13
  148. package/dist/chunks/{form-c53m598j.js → location-f4x3m1jb.js} +13 -13
  149. package/dist/chunks/{form-fgc19361.js → location-f6939148.js} +6 -6
  150. package/dist/chunks/{form-mxqegms8.js → location-f6k1kfp3.js} +30 -30
  151. package/dist/chunks/{form-q0f28206.js → location-f9wg2df5.js} +10 -10
  152. package/dist/chunks/{form-fffv3p7h.js → location-fffv3p7h.js} +1 -1
  153. package/dist/chunks/{form-tasvem1v.js → location-fmye6e29.js} +7 -7
  154. package/dist/chunks/{form-wysrktan.js → location-fnp0jseg.js} +7 -7
  155. package/dist/chunks/{form-wb32cm0h.js → location-fnz8rg5r.js} +6 -6
  156. package/dist/chunks/{form-djck26ns.js → location-ftv2mfjw.js} +1 -1
  157. package/dist/chunks/{form-wr3re1en.js → location-fznmdakp.js} +4 -4
  158. package/dist/chunks/{form-g5h9c0rr.js → location-g5h9c0rr.js} +2 -2
  159. package/dist/chunks/{form-sk4rcz4v.js → location-g5tgmp0p.js} +29 -29
  160. package/dist/chunks/{form-36qx82yz.js → location-g6dfma3d.js} +6 -6
  161. package/dist/chunks/{form-f6ydp9jt.js → location-g9ccq630.js} +52 -52
  162. package/dist/chunks/location-ge8wzs3p.js +261 -0
  163. package/dist/chunks/{form-8s42wndc.js → location-ghwgmbde.js} +17 -17
  164. package/dist/chunks/{form-72czzjvn.js → location-gksz2zdz.js} +5 -5
  165. package/dist/chunks/{form-cf2bvegq.js → location-gw9sk7ym.js} +43 -43
  166. package/dist/chunks/{form-w6byfr8d.js → location-gyptvmbk.js} +27 -27
  167. package/dist/chunks/{form-g82sjckm.js → location-h2fhca2s.js} +9 -9
  168. package/dist/chunks/{form-cpfpnv00.js → location-h9zgxh73.js} +5 -5
  169. package/dist/chunks/{form-7p111ra0.js → location-hdvwg22j.js} +6 -6
  170. package/dist/chunks/{form-dgcghd4q.js → location-hn6pth2p.js} +11 -11
  171. package/dist/chunks/{form-zc3z0s1e.js → location-hpj591dz.js} +16 -16
  172. package/dist/chunks/{form-j113cymg.js → location-j113cymg.js} +1 -1
  173. package/dist/chunks/{form-dkk62k64.js → location-j19v72kq.js} +16 -16
  174. package/dist/chunks/{form-g656cbyf.js → location-ja9tn20r.js} +21 -21
  175. package/dist/chunks/{form-5v4fjzaq.js → location-jb3ek66v.js} +18 -18
  176. package/dist/chunks/{form-a0mbnczp.js → location-jje57wwm.js} +28 -28
  177. package/dist/chunks/{form-wdv0vama.js → location-jk9f0yn5.js} +10 -10
  178. package/dist/chunks/{form-443gxb00.js → location-jsvgjjsg.js} +25 -25
  179. package/dist/chunks/{form-dq0jjp1j.js → location-k781pf8j.js} +22 -22
  180. package/dist/chunks/{form-k814nvkf.js → location-k814nvkf.js} +1 -1
  181. package/dist/chunks/{form-r658k6r9.js → location-kdr2amtg.js} +21 -21
  182. package/dist/chunks/{form-xyznvzfj.js → location-kj2jaw6z.js} +4 -4
  183. package/dist/chunks/{form-shdhkr49.js → location-kkew1p9e.js} +6 -6
  184. package/dist/chunks/{form-ssfc5kf6.js → location-km5sdhrx.js} +49 -49
  185. package/dist/chunks/{form-jc1psbyz.js → location-kme5wqcz.js} +20 -20
  186. package/dist/chunks/{form-kt3bjfbg.js → location-kt3bjfbg.js} +1 -1
  187. package/dist/chunks/{form-m1714858.js → location-m1714858.js} +1 -1
  188. package/dist/chunks/{form-vmfhgzt5.js → location-m37sd98t.js} +4 -4
  189. package/dist/chunks/{form-kgm25kxq.js → location-m7nf5dp7.js} +18 -18
  190. package/dist/chunks/{form-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
  191. package/dist/chunks/{form-z2y0gft8.js → location-ma9n1kat.js} +3 -3
  192. package/dist/chunks/{form-maspj1v3.js → location-maspj1v3.js} +1 -1
  193. package/dist/chunks/{form-62c0v1tw.js → location-mc0e6tx9.js} +33 -33
  194. package/dist/chunks/{form-zv1k8n0h.js → location-mjx1xb4v.js} +11 -11
  195. package/dist/chunks/{form-rvz41am7.js → location-mnex4cdr.js} +5 -5
  196. package/dist/chunks/{form-zgaxvjwc.js → location-mw1hb2pb.js} +22 -22
  197. package/dist/chunks/{form-xg7y1tnh.js → location-n8snqzaz.js} +3 -3
  198. package/dist/chunks/{form-0es6nja8.js → location-n95rn34w.js} +21 -21
  199. package/dist/chunks/{form-02hjb68z.js → location-nbftzetf.js} +3 -3
  200. package/dist/chunks/{form-bx023ayb.js → location-nbpgh3d1.js} +16 -16
  201. package/dist/chunks/{form-braepac4.js → location-ngxrbh81.js} +23 -23
  202. package/dist/chunks/{form-sp43gwv2.js → location-njfj8ewx.js} +12 -12
  203. package/dist/chunks/{form-nc9xfdq7.js → location-nkc01eya.js} +4 -4
  204. package/dist/chunks/{form-2fpg1r86.js → location-nn8wg6es.js} +6 -6
  205. package/dist/chunks/{form-9y8pfte4.js → location-npqdxqpg.js} +16 -16
  206. package/dist/chunks/{form-p015t6z3.js → location-p015t6z3.js} +2 -2
  207. package/dist/chunks/{form-h9b0ss67.js → location-p3c47fx7.js} +23 -23
  208. package/dist/chunks/{form-gfm2g1r0.js → location-p42xfgpg.js} +23 -23
  209. package/dist/chunks/{form-5zrxpy3q.js → location-p7vhpwh8.js} +5 -5
  210. package/dist/chunks/{form-1j3q5f1b.js → location-pac9cg3x.js} +4 -4
  211. package/dist/chunks/{form-0mmhxb94.js → location-pbaqepy9.js} +3 -3
  212. package/dist/chunks/{form-033a0jkt.js → location-pc1v25hk.js} +3 -3
  213. package/dist/chunks/{form-pknna89w.js → location-pknna89w.js} +1 -1
  214. package/dist/chunks/{form-x2x5zj05.js → location-px99x85z.js} +17 -17
  215. package/dist/chunks/{form-0mpj81pq.js → location-pypxtw5w.js} +17 -17
  216. package/dist/chunks/{form-m3rt4n16.js → location-q5vn80g9.js} +9 -9
  217. package/dist/chunks/{form-jwwge8xs.js → location-q9dg54zr.js} +14 -14
  218. package/dist/chunks/{form-h2xt6wet.js → location-qah7t4da.js} +6 -6
  219. package/dist/chunks/{form-vp3f7txe.js → location-qj7jded1.js} +9 -9
  220. package/dist/chunks/{form-qjgzc4b4.js → location-qjgzc4b4.js} +1 -1
  221. package/dist/chunks/{form-x83ywg7g.js → location-qtqp5fvy.js} +30 -30
  222. package/dist/chunks/{form-bdsby7g0.js → location-qzzv0ezg.js} +7 -7
  223. package/dist/chunks/{form-25cs5nez.js → location-r0rzdwgt.js} +8 -8
  224. package/dist/chunks/{form-r0yr0wbs.js → location-r0yr0wbs.js} +1 -1
  225. package/dist/chunks/{form-z41z05dk.js → location-r2z94j39.js} +6 -6
  226. package/dist/chunks/{form-r542h3bh.js → location-r542h3bh.js} +1 -1
  227. package/dist/chunks/{form-1gvxmx3x.js → location-r64cczjp.js} +10 -10
  228. package/dist/chunks/{form-rb9dy4dg.js → location-rb9dy4dg.js} +1 -1
  229. package/dist/chunks/{form-3vrw48hq.js → location-rbckb2ty.js} +17 -17
  230. package/dist/chunks/{form-gqy1905p.js → location-rn8hfrah.js} +19 -19
  231. package/dist/chunks/{form-rdmv0akp.js → location-rqjkyyyt.js} +14 -14
  232. package/dist/chunks/{form-rt5dr6hb.js → location-rt5dr6hb.js} +1 -1
  233. package/dist/chunks/{form-518pc71g.js → location-rxbr5cvt.js} +44 -44
  234. package/dist/chunks/{form-sa3fpqfw.js → location-sa3fpqfw.js} +2 -2
  235. package/dist/chunks/{form-9ap36caz.js → location-sgnyye5r.js} +21 -21
  236. package/dist/chunks/{form-sqjzf8x2.js → location-sqjzf8x2.js} +1 -1
  237. package/dist/chunks/{form-6jh9wyah.js → location-sv689qty.js} +21 -21
  238. package/dist/chunks/{form-qdckhfvx.js → location-tan2h6ve.js} +25 -25
  239. package/dist/chunks/{form-tczq8hjw.js → location-tczq8hjw.js} +1 -1
  240. package/dist/chunks/{form-p83a0njd.js → location-tfg9hd0y.js} +27 -27
  241. package/dist/chunks/{form-kmzgegqq.js → location-tg1vr1qt.js} +8 -8
  242. package/dist/chunks/{form-bk72g9n5.js → location-tkkm20f7.js} +16 -16
  243. package/dist/chunks/{form-0421tmwc.js → location-tpm1qpxt.js} +9 -9
  244. package/dist/chunks/{form-43k8zwa9.js → location-tv1fv7bp.js} +5 -5
  245. package/dist/chunks/{form-twv2r8f4.js → location-twv2r8f4.js} +2 -2
  246. package/dist/chunks/{form-v2r1d0zg.js → location-v2r1d0zg.js} +1 -1
  247. package/dist/chunks/{form-b7yb02yv.js → location-v76p8btm.js} +5 -5
  248. package/dist/chunks/{form-vd3b3yk9.js → location-vd3b3yk9.js} +1 -1
  249. package/dist/chunks/{form-ngjf4jxk.js → location-vdgmg1hd.js} +13 -13
  250. package/dist/chunks/{form-veqvce7d.js → location-veqvce7d.js} +1 -1
  251. package/dist/chunks/{form-fke86k08.js → location-vghb18mt.js} +16 -16
  252. package/dist/chunks/{form-4b160a05.js → location-vpnzc5p3.js} +27 -27
  253. package/dist/chunks/{form-k302pdnh.js → location-vrcsa8qx.js} +9 -9
  254. package/dist/chunks/{form-xnctb0t2.js → location-vwvg46tm.js} +2 -2
  255. package/dist/chunks/{form-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{form-2zw8q38q.js → location-w4hzka6x.js} +18 -18
  257. package/dist/chunks/{form-dpcgzjbf.js → location-w6frvacy.js} +30 -30
  258. package/dist/chunks/{form-wakvkjy4.js → location-wakvkjy4.js} +1 -1
  259. package/dist/chunks/{form-wd87259q.js → location-wd87259q.js} +1 -1
  260. package/dist/chunks/{form-81sb882e.js → location-wdmx20pv.js} +9 -9
  261. package/dist/chunks/{form-khsrtdw5.js → location-wgq490fn.js} +21 -21
  262. package/dist/chunks/{form-ewnzmz0y.js → location-wm875330.js} +30 -30
  263. package/dist/chunks/{form-0e10z5fj.js → location-wnpz0s1q.js} +6 -6
  264. package/dist/chunks/{form-gfavbhs2.js → location-wv5ws3cz.js} +23 -23
  265. package/dist/chunks/{form-g5w7bwk1.js → location-x16k5wpx.js} +36 -36
  266. package/dist/chunks/{form-6xaqvsrs.js → location-x3gjy9c2.js} +9 -9
  267. package/dist/chunks/{form-kstv1z45.js → location-x3r2mbb5.js} +11 -11
  268. package/dist/chunks/{form-rpgjqsg9.js → location-x4y1x265.js} +20 -20
  269. package/dist/chunks/{form-p35g19ew.js → location-x514tm1v.js} +49 -49
  270. package/dist/chunks/{form-0tw7w02j.js → location-x6615g0m.js} +3 -3
  271. package/dist/chunks/{form-f61gwnre.js → location-xgfj5271.js} +9 -9
  272. package/dist/chunks/{form-w3ns5rkg.js → location-xjx81hwy.js} +42 -42
  273. package/dist/chunks/{form-xkfczkpn.js → location-xkfczkpn.js} +3 -3
  274. package/dist/chunks/{form-ebvnp4a0.js → location-xkp5751n.js} +17 -17
  275. package/dist/chunks/{form-2mbjfaxd.js → location-xsact9zs.js} +4 -4
  276. package/dist/chunks/{form-m5ycwyg0.js → location-y15wyx54.js} +3 -3
  277. package/dist/chunks/{form-s4f8ct6t.js → location-y4n6pw34.js} +4 -4
  278. package/dist/chunks/{form-r7k9z7cv.js → location-y7z4tzab.js} +331 -331
  279. package/dist/chunks/{form-ayqdz43p.js → location-y8gj0fyz.js} +12 -12
  280. package/dist/chunks/{form-yb20nhc3.js → location-yb20nhc3.js} +1 -1
  281. package/dist/chunks/{form-y6asfd6w.js → location-yeyr4dj8.js} +31 -31
  282. package/dist/chunks/{form-bf47wrzc.js → location-ymrm2a13.js} +7 -7
  283. package/dist/chunks/{form-5gc3gx18.js → location-yrvdznpz.js} +18 -18
  284. package/dist/chunks/{form-ecv950bf.js → location-ywpksxwp.js} +5 -5
  285. package/dist/chunks/{form-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
  286. package/dist/chunks/{form-z38nccrw.js → location-z38nccrw.js} +1 -1
  287. package/dist/chunks/{form-jtf5yvtr.js → location-z3bph6wb.js} +5 -5
  288. package/dist/chunks/{form-v69f37bj.js → location-z5m176sc.js} +24 -24
  289. package/dist/chunks/{form-mfg8gex4.js → location-zbqbngfz.js} +13 -13
  290. package/dist/chunks/{form-zkg84ctx.js → location-zkg84ctx.js} +1 -1
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +5 -5
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +87 -87
  296. package/dist/config/discovery.js +87 -87
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +104 -104
  299. package/dist/config/plugin/agent.js +118 -118
  300. package/dist/config/plugin/command.js +214 -214
  301. package/dist/config/plugin/compaction.js +155 -155
  302. package/dist/config/plugin/compatibility.js +137 -137
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +119 -119
  305. package/dist/config/plugin/image.js +118 -118
  306. package/dist/config/plugin/instruction.js +118 -118
  307. package/dist/config/plugin/location-watcher.js +120 -120
  308. package/dist/config/plugin/mcp.js +125 -125
  309. package/dist/config/plugin/policy.js +119 -119
  310. package/dist/config/plugin/provider.js +118 -118
  311. package/dist/config/plugin/reference.js +120 -120
  312. package/dist/config/plugin/shell.js +118 -118
  313. package/dist/config/plugin/skill-file.js +107 -107
  314. package/dist/config/plugin/skill-scan.js +1 -1
  315. package/dist/config/plugin/skill.js +138 -138
  316. package/dist/config/plugin/snapshot.js +118 -118
  317. package/dist/config/plugin/source.js +121 -121
  318. package/dist/config/plugin/tool-output.js +119 -119
  319. package/dist/config/plugin/websearch.js +117 -117
  320. package/dist/config/plugin/worktree.js +120 -120
  321. package/dist/config/variable.js +1 -1
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +123 -123
  324. package/dist/console-access.js +1 -1
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +89 -89
  327. package/dist/database/database.js +70 -70
  328. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +13 -13
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +14 -14
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  393. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  394. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  395. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  396. package/dist/database/migration.gen.js +53 -53
  397. package/dist/database/migration.js +55 -55
  398. package/dist/database/path.js +2 -2
  399. package/dist/database/schema.gen.js +1 -1
  400. package/dist/database/schema.sql.js +1 -1
  401. package/dist/database/sqlite.bun.js +1 -1
  402. package/dist/database/sqlite.js +1 -1
  403. package/dist/database/sqlite.node.js +1 -1
  404. package/dist/database/sqlite.workerd.js +1 -1
  405. package/dist/database/v1-migration.bun.js +95 -95
  406. package/dist/database/v1-migration.js +1 -1
  407. package/dist/effect/app-node-builder.js +374 -374
  408. package/dist/effect/app-node-platform.js +2 -2
  409. package/dist/effect/keyed-mutex.js +1 -1
  410. package/dist/effect/websocket-constructor.js +1 -1
  411. package/dist/environment/driver.js +1 -1
  412. package/dist/environment/environment.js +98 -98
  413. package/dist/environment/exec-defaults.js +2 -2
  414. package/dist/environment/files.js +1 -1
  415. package/dist/environment/index.js +98 -98
  416. package/dist/environment/local.js +2 -2
  417. package/dist/environment/memory.js +2 -2
  418. package/dist/environment/unavailable.js +3 -3
  419. package/dist/event/sql.js +1 -1
  420. package/dist/event-logger.js +74 -74
  421. package/dist/file-access.js +109 -109
  422. package/dist/file-mutation.js +99 -99
  423. package/dist/file-retention.js +1 -1
  424. package/dist/filesystem/fff.bun.js +2 -2
  425. package/dist/filesystem/fff.js +1 -1
  426. package/dist/filesystem/fff.node.js +2 -2
  427. package/dist/filesystem/fff.workerd.js +2 -2
  428. package/dist/filesystem/location-watcher-policy.js +6 -6
  429. package/dist/filesystem/location-watcher.js +229 -229
  430. package/dist/filesystem/protected.js +1 -1
  431. package/dist/filesystem/search.js +102 -102
  432. package/dist/filesystem/watcher-binding.js +3 -3
  433. package/dist/filesystem/watcher.js +11 -11
  434. package/dist/filesystem.js +109 -109
  435. package/dist/form.js +84 -84
  436. package/dist/formatter/builtins.js +4 -4
  437. package/dist/formatter.js +88 -88
  438. package/dist/generate.js +112 -112
  439. package/dist/git.js +7 -7
  440. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  441. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  442. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  443. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  444. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  445. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  446. package/dist/github-copilot/copilot-provider.js +17 -17
  447. package/dist/github-copilot/models.js +104 -104
  448. package/dist/github-copilot/openai-compatible-error.js +1 -1
  449. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  450. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  451. package/dist/github-copilot/responses/openai-error.js +1 -1
  452. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  453. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  454. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  455. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  456. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  457. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  458. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  459. package/dist/image/photon.js +2 -2
  460. package/dist/image.js +6 -6
  461. package/dist/instance/service.js +5 -5
  462. package/dist/instance.js +365 -365
  463. package/dist/instruction-discovery.js +88 -88
  464. package/dist/instructions/builtins.js +92 -92
  465. package/dist/instructions/index.js +3 -3
  466. package/dist/integration/connection.js +3 -3
  467. package/dist/integration.js +91 -91
  468. package/dist/job.js +80 -80
  469. package/dist/kv/sql.js +2 -2
  470. package/dist/kv.js +77 -77
  471. package/dist/location-activity.js +158 -158
  472. package/dist/location-lifecycle.js +112 -112
  473. package/dist/location-service-map.js +91 -91
  474. package/dist/location-services.js +362 -362
  475. package/dist/location.js +88 -88
  476. package/dist/managed-policy.js +8 -8
  477. package/dist/mcp/client.js +96 -96
  478. package/dist/mcp/index.js +114 -114
  479. package/dist/mcp/instructions.js +141 -141
  480. package/dist/mcp/oauth.js +82 -82
  481. package/dist/mcp/socket-client.js +1 -1
  482. package/dist/mcp/stdio.js +95 -95
  483. package/dist/mime.js +1 -1
  484. package/dist/modal/models.js +104 -104
  485. package/dist/model-resolver.js +102 -102
  486. package/dist/model-retry.js +1 -1
  487. package/dist/model.js +105 -105
  488. package/dist/models-dev.js +104 -104
  489. package/dist/oauth/page.js +1 -1
  490. package/dist/permission/saved.js +86 -86
  491. package/dist/permission/sql.js +5 -5
  492. package/dist/permission.js +120 -120
  493. package/dist/persistent-pty/binary.bun.js +1 -1
  494. package/dist/persistent-pty/daemon.js +1 -1
  495. package/dist/persistent-pty/index.js +92 -92
  496. package/dist/persistent-pty/pty-binding.js +1 -1
  497. package/dist/persistent-pty.js +79 -79
  498. package/dist/plugin/agent.js +78 -78
  499. package/dist/plugin/command.js +105 -105
  500. package/dist/plugin/hooks.js +5 -5
  501. package/dist/plugin/host.js +220 -220
  502. package/dist/plugin/identity.js +5 -5
  503. package/dist/plugin/instance.js +5 -5
  504. package/dist/plugin/internal.js +335 -335
  505. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  506. package/dist/plugin/models-dev.js +101 -101
  507. package/dist/plugin/module.js +119 -119
  508. package/dist/plugin/optimize.js +4 -4
  509. package/dist/plugin/plan.js +107 -107
  510. package/dist/plugin/promise.js +1 -1
  511. package/dist/plugin/provider/amazon-bedrock.js +95 -95
  512. package/dist/plugin/provider/azure.js +118 -118
  513. package/dist/plugin/provider/cerebras.js +1 -1
  514. package/dist/plugin/provider/chatgpt.js +118 -118
  515. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  516. package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
  517. package/dist/plugin/provider/cohere.js +2 -2
  518. package/dist/plugin/provider/configured.js +114 -114
  519. package/dist/plugin/provider/databricks.js +1 -1
  520. package/dist/plugin/provider/digitalocean.js +98 -98
  521. package/dist/plugin/provider/dynamic.js +2 -2
  522. package/dist/plugin/provider/factory.js +1 -1
  523. package/dist/plugin/provider/github-copilot.js +100 -100
  524. package/dist/plugin/provider/gitlab.js +98 -98
  525. package/dist/plugin/provider/google-vertex.js +115 -115
  526. package/dist/plugin/provider/kilo.js +1 -1
  527. package/dist/plugin/provider/llmgateway.js +82 -82
  528. package/dist/plugin/provider/lmstudio.js +127 -127
  529. package/dist/plugin/provider/local.js +124 -124
  530. package/dist/plugin/provider/modal.js +97 -97
  531. package/dist/plugin/provider/neon.js +1 -1
  532. package/dist/plugin/provider/nvidia.js +1 -1
  533. package/dist/plugin/provider/ollama.js +127 -127
  534. package/dist/plugin/provider/openai-context-caps.js +95 -95
  535. package/dist/plugin/provider/openai.js +120 -120
  536. package/dist/plugin/provider/opencode.js +104 -104
  537. package/dist/plugin/provider/openrouter.js +96 -96
  538. package/dist/plugin/provider/perplexity.js +2 -2
  539. package/dist/plugin/provider/poe.js +83 -83
  540. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  541. package/dist/plugin/provider/sap-ai-core.js +96 -96
  542. package/dist/plugin/provider/sdk-factory.js +1 -1
  543. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  544. package/dist/plugin/provider/vercel.js +95 -95
  545. package/dist/plugin/provider/vllm.js +127 -127
  546. package/dist/plugin/provider/xai.js +96 -96
  547. package/dist/plugin/provider/zenmux.js +1 -1
  548. package/dist/plugin/provider.js +171 -171
  549. package/dist/plugin/sdk.js +78 -78
  550. package/dist/plugin/service.js +1 -1
  551. package/dist/plugin/skill.js +136 -136
  552. package/dist/plugin/source-directory.js +1 -1
  553. package/dist/plugin/supervisor.js +350 -350
  554. package/dist/plugin/tool-input-repair.js +4 -4
  555. package/dist/plugin/update.js +6 -6
  556. package/dist/plugin/vcs/git.js +91 -91
  557. package/dist/plugin/vcs/hg.js +91 -91
  558. package/dist/plugin/verbosity.js +98 -98
  559. package/dist/plugin/warming.js +116 -116
  560. package/dist/plugin/websearch/exa.js +5 -5
  561. package/dist/plugin/websearch/firecrawl.js +8 -8
  562. package/dist/plugin/websearch/index.js +9 -9
  563. package/dist/plugin/websearch/mcp.js +4 -4
  564. package/dist/plugin/websearch/parallel.js +8 -8
  565. package/dist/plugin/websearch/tavily.js +6 -6
  566. package/dist/plugin/websearch/tinyfish.js +6 -6
  567. package/dist/plugin.js +229 -229
  568. package/dist/project/schema.js +8 -8
  569. package/dist/project/sql.js +4 -4
  570. package/dist/project.js +89 -89
  571. package/dist/provider.js +106 -106
  572. package/dist/pty/protocol.js +1 -1
  573. package/dist/pty/ticket.js +1 -1
  574. package/dist/pty.js +103 -103
  575. package/dist/reference/instructions.js +94 -94
  576. package/dist/reference.js +96 -96
  577. package/dist/repository-cache.js +86 -86
  578. package/dist/repository.js +1 -1
  579. package/dist/ripgrep/binary.js +2 -2
  580. package/dist/ripgrep.js +100 -100
  581. package/dist/rpc.js +91 -91
  582. package/dist/schema.js +1 -1
  583. package/dist/session/affinity.js +1 -1
  584. package/dist/session/command.js +78 -78
  585. package/dist/session/compaction.js +139 -139
  586. package/dist/session/context.js +167 -167
  587. package/dist/session/diff.js +93 -93
  588. package/dist/session/environment.js +5 -5
  589. package/dist/session/error.js +5 -5
  590. package/dist/session/event.js +1 -1
  591. package/dist/session/execution/restart.js +223 -223
  592. package/dist/session/execution.js +131 -131
  593. package/dist/session/generate.js +169 -169
  594. package/dist/session/history.js +15 -15
  595. package/dist/session/inbox.js +95 -95
  596. package/dist/session/info.js +3 -3
  597. package/dist/session/instruction-entry.js +83 -83
  598. package/dist/session/instruction-state.js +8 -8
  599. package/dist/session/instructions.js +102 -102
  600. package/dist/session/message-updater.js +2 -2
  601. package/dist/session/message.js +1 -1
  602. package/dist/session/model-request.js +125 -125
  603. package/dist/session/model-transport.js +9 -9
  604. package/dist/session/move.js +135 -135
  605. package/dist/session/projector.js +93 -93
  606. package/dist/session/prompt.js +110 -110
  607. package/dist/session/recent-text.js +1 -1
  608. package/dist/session/revert.js +99 -99
  609. package/dist/session/run-coordinator.js +3 -3
  610. package/dist/session/runner/index.js +3 -3
  611. package/dist/session/runner/llm.js +233 -233
  612. package/dist/session/runner/max-steps.js +1 -1
  613. package/dist/session/runner/model.js +105 -105
  614. package/dist/session/runner/publish-llm-event.js +118 -118
  615. package/dist/session/runner/retry.js +5 -5
  616. package/dist/session/runner/step.js +129 -129
  617. package/dist/session/runner/to-llm-message.js +14 -14
  618. package/dist/session/schema.js +5 -5
  619. package/dist/session/session.js +167 -167
  620. package/dist/session/shell.js +132 -132
  621. package/dist/session/skill.js +108 -108
  622. package/dist/session/sql.js +5 -5
  623. package/dist/session/stats.js +77 -77
  624. package/dist/session/store.js +89 -89
  625. package/dist/session/subagent-completion.js +1 -1
  626. package/dist/session/subagent-job.js +214 -214
  627. package/dist/session/system-prompt.js +3 -3
  628. package/dist/session/title.js +167 -167
  629. package/dist/session/to-session-error.js +117 -117
  630. package/dist/session/transfer.js +216 -216
  631. package/dist/session/usage.js +1 -1
  632. package/dist/session.js +218 -218
  633. package/dist/shell/parse.js +6 -6
  634. package/dist/shell/result.js +1 -1
  635. package/dist/shell/scan.js +1 -1
  636. package/dist/shell/select.js +11 -11
  637. package/dist/shell.js +134 -134
  638. package/dist/skill/discovery.js +6 -6
  639. package/dist/skill/instructions.js +112 -112
  640. package/dist/skill.js +115 -115
  641. package/dist/snapshot.js +96 -96
  642. package/dist/state.js +1 -1
  643. package/dist/tool/html-markdown.js +1 -1
  644. package/dist/tool/http-body.js +1 -1
  645. package/dist/tool/mcp.js +142 -142
  646. package/dist/tool/plugin/edit.js +125 -125
  647. package/dist/tool/plugin/file-diff.js +1 -1
  648. package/dist/tool/plugin/glob.js +129 -129
  649. package/dist/tool/plugin/grep.js +129 -129
  650. package/dist/tool/plugin/mcp-resource.js +129 -129
  651. package/dist/tool/plugin/opencode.js +114 -114
  652. package/dist/tool/plugin/patch.js +127 -127
  653. package/dist/tool/plugin/question.js +108 -108
  654. package/dist/tool/plugin/read.js +130 -130
  655. package/dist/tool/plugin/shell.js +217 -217
  656. package/dist/tool/plugin/skill.js +118 -118
  657. package/dist/tool/plugin/subagent.js +221 -221
  658. package/dist/tool/plugin/todo.js +140 -140
  659. package/dist/tool/plugin/webfetch.js +116 -116
  660. package/dist/tool/plugin/websearch.js +117 -117
  661. package/dist/tool/plugin/write.js +127 -127
  662. package/dist/tool/read-filesystem.js +107 -107
  663. package/dist/tool/runtime.js +1 -1
  664. package/dist/tool-output.js +7 -7
  665. package/dist/tool.js +14 -14
  666. package/dist/types/aisdk.d.ts +1 -1
  667. package/dist/types/effect/app-node-platform.d.ts +1 -1
  668. package/dist/types/generate.d.ts +1 -1
  669. package/dist/types/model-resolver.d.ts +1 -1
  670. package/dist/types/model-retry.d.ts +1 -1
  671. package/dist/types/plugin/internal.d.ts +2 -2
  672. package/dist/types/provider.d.ts +2 -2
  673. package/dist/types/session/compaction.d.ts +2 -2
  674. package/dist/types/session/generate.d.ts +2 -2
  675. package/dist/types/session/history.d.ts +1 -1
  676. package/dist/types/session/model-request.d.ts +2 -2
  677. package/dist/types/session/runner/index.d.ts +1 -1
  678. package/dist/types/session/runner/model.d.ts +1 -1
  679. package/dist/types/session/runner/publish-llm-event.d.ts +1 -1
  680. package/dist/types/session/runner/retry.d.ts +1 -1
  681. package/dist/types/session/runner/step.d.ts +2 -2
  682. package/dist/types/session/runner/to-llm-message.d.ts +1 -1
  683. package/dist/types/session/title.d.ts +1 -1
  684. package/dist/types/session/to-session-error.d.ts +1 -1
  685. package/dist/types/session/usage.d.ts +1 -1
  686. package/dist/types/tool/runtime.d.ts +1 -1
  687. package/dist/types/tool.d.ts +1 -1
  688. package/dist/usage-limits.js +93 -93
  689. package/dist/util/error-summary.js +1 -1
  690. package/dist/util/git-executable.js +3 -3
  691. package/dist/util/lazy.js +1 -1
  692. package/dist/util/slug.js +1 -1
  693. package/dist/util/token.js +1 -1
  694. package/dist/util/which.js +1 -1
  695. package/dist/util/wildcard.js +1 -1
  696. package/dist/v1/config/agent.js +5 -5
  697. package/dist/v1/config/command.js +3 -3
  698. package/dist/v1/config/mcp.js +4 -4
  699. package/dist/v1/config/migrate.js +97 -97
  700. package/dist/v1/config/permission.js +7 -7
  701. package/dist/v1/config/plugin.js +3 -3
  702. package/dist/v1/config/provider-options.js +1 -1
  703. package/dist/v1/config/provider.js +4 -4
  704. package/dist/variant.js +98 -98
  705. package/dist/vcs/patch.js +1 -1
  706. package/dist/vcs.js +94 -94
  707. package/dist/voice.js +88 -88
  708. package/dist/websearch.js +86 -86
  709. package/dist/wellknown/plugin.js +80 -80
  710. package/dist/wellknown.js +85 -85
  711. package/dist/workspace/driver.js +5 -5
  712. package/dist/workspace/sql.js +1 -1
  713. package/dist/workspace.js +86 -86
  714. package/dist/worktree/directory.js +2 -2
  715. package/dist/worktree/git.js +11 -11
  716. package/dist/worktree/sql.js +5 -5
  717. package/dist/worktree/strategies.js +94 -94
  718. package/dist/worktree.js +105 -105
  719. package/package.json +8 -8
  720. package/dist/chunks/form-hpzh5cr9.js +0 -26
  721. package/dist/chunks/form-wkj84943.js +0 -261
  722. /package/dist/chunks/{form-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
  723. /package/dist/chunks/{form-0zkw76rk.js → location-0zkw76rk.js} +0 -0
  724. /package/dist/chunks/{form-17cy0kzp.js → location-17cy0kzp.js} +0 -0
  725. /package/dist/chunks/{form-1cnp2v09.js → location-1cnp2v09.js} +0 -0
  726. /package/dist/chunks/{form-24dcb14g.js → location-24dcb14g.js} +0 -0
  727. /package/dist/chunks/{form-2710q6r3.js → location-2710q6r3.js} +0 -0
  728. /package/dist/chunks/{form-2bv980vf.js → location-2bv980vf.js} +0 -0
  729. /package/dist/chunks/{form-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
  730. /package/dist/chunks/{form-359p4xyc.js → location-359p4xyc.js} +0 -0
  731. /package/dist/chunks/{form-3asan66x.js → location-3asan66x.js} +0 -0
  732. /package/dist/chunks/{form-3v8g72cx.js → location-3v8g72cx.js} +0 -0
  733. /package/dist/chunks/{form-3wcehsnq.js → location-3wcehsnq.js} +0 -0
  734. /package/dist/chunks/{form-43n2bw4t.js → location-43n2bw4t.js} +0 -0
  735. /package/dist/chunks/{form-4knz6hnm.js → location-4knz6hnm.js} +0 -0
  736. /package/dist/chunks/{form-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
  737. /package/dist/chunks/{form-4y7fprxs.js → location-4y7fprxs.js} +0 -0
  738. /package/dist/chunks/{form-53557ph1.js → location-53557ph1.js} +0 -0
  739. /package/dist/chunks/{form-550bvhaj.js → location-550bvhaj.js} +0 -0
  740. /package/dist/chunks/{form-6prwharc.js → location-6prwharc.js} +0 -0
  741. /package/dist/chunks/{form-6q2bdcd1.js → location-6q2bdcd1.js} +0 -0
  742. /package/dist/chunks/{form-7akdwqpd.js → location-7akdwqpd.js} +0 -0
  743. /package/dist/chunks/{form-7m9af43g.js → location-7m9af43g.js} +0 -0
  744. /package/dist/chunks/{form-822emrt2.js → location-822emrt2.js} +0 -0
  745. /package/dist/chunks/{form-84wd9syh.js → location-84wd9syh.js} +0 -0
  746. /package/dist/chunks/{form-88xbtdfr.js → location-88xbtdfr.js} +0 -0
  747. /package/dist/chunks/{form-8n3pysct.js → location-8n3pysct.js} +0 -0
  748. /package/dist/chunks/{form-8wj87zfr.js → location-8wj87zfr.js} +0 -0
  749. /package/dist/chunks/{form-9a4afbnw.js → location-9a4afbnw.js} +0 -0
  750. /package/dist/chunks/{form-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
  751. /package/dist/chunks/{form-a058387c.js → location-a058387c.js} +0 -0
  752. /package/dist/chunks/{form-a6k6eb26.js → location-a6k6eb26.js} +0 -0
  753. /package/dist/chunks/{form-af5trqkr.js → location-af5trqkr.js} +0 -0
  754. /package/dist/chunks/{form-afrmfg78.js → location-afrmfg78.js} +0 -0
  755. /package/dist/chunks/{form-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
  756. /package/dist/chunks/{form-atq7p7m5.js → location-atq7p7m5.js} +0 -0
  757. /package/dist/chunks/{form-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
  758. /package/dist/chunks/{form-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
  759. /package/dist/chunks/{form-cf4snx6d.js → location-cf4snx6d.js} +0 -0
  760. /package/dist/chunks/{form-cqv5kn06.js → location-cqv5kn06.js} +0 -0
  761. /package/dist/chunks/{form-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
  762. /package/dist/chunks/{form-d9fn303g.js → location-d9fn303g.js} +0 -0
  763. /package/dist/chunks/{form-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
  764. /package/dist/chunks/{form-dajrwvna.js → location-dajrwvna.js} +0 -0
  765. /package/dist/chunks/{form-dap0rakb.js → location-dap0rakb.js} +0 -0
  766. /package/dist/chunks/{form-df08tz66.js → location-df08tz66.js} +0 -0
  767. /package/dist/chunks/{form-dy18nga0.js → location-dy18nga0.js} +0 -0
  768. /package/dist/chunks/{form-e5kj55wp.js → location-e5kj55wp.js} +0 -0
  769. /package/dist/chunks/{form-e73j6tqm.js → location-e73j6tqm.js} +0 -0
  770. /package/dist/chunks/{form-ec1grn59.js → location-ec1grn59.js} +0 -0
  771. /package/dist/chunks/{form-eh3zwz77.js → location-eh3zwz77.js} +0 -0
  772. /package/dist/chunks/{form-emrn6kk6.js → location-emrn6kk6.js} +0 -0
  773. /package/dist/chunks/{form-f0mxakyp.js → location-f0mxakyp.js} +0 -0
  774. /package/dist/chunks/{form-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
  775. /package/dist/chunks/{form-faypxj3z.js → location-faypxj3z.js} +0 -0
  776. /package/dist/chunks/{form-fd410y7t.js → location-fd410y7t.js} +0 -0
  777. /package/dist/chunks/{form-g4wezp1m.js → location-g4wezp1m.js} +0 -0
  778. /package/dist/chunks/{form-g86h250q.js → location-g86h250q.js} +0 -0
  779. /package/dist/chunks/{form-gebd4c9n.js → location-gebd4c9n.js} +0 -0
  780. /package/dist/chunks/{form-gftt206x.js → location-gftt206x.js} +0 -0
  781. /package/dist/chunks/{form-hcxmzztb.js → location-hcxmzztb.js} +0 -0
  782. /package/dist/chunks/{form-hk9envan.js → location-hk9envan.js} +0 -0
  783. /package/dist/chunks/{form-j2ntwpah.js → location-j2ntwpah.js} +0 -0
  784. /package/dist/chunks/{form-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
  785. /package/dist/chunks/{form-jjkms2e6.js → location-jjkms2e6.js} +0 -0
  786. /package/dist/chunks/{form-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
  787. /package/dist/chunks/{form-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
  788. /package/dist/chunks/{form-jwr30sdr.js → location-jwr30sdr.js} +0 -0
  789. /package/dist/chunks/{form-jze0r7bz.js → location-jze0r7bz.js} +0 -0
  790. /package/dist/chunks/{form-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
  791. /package/dist/chunks/{form-m18g726c.js → location-m18g726c.js} +0 -0
  792. /package/dist/chunks/{form-mp448xyj.js → location-mp448xyj.js} +0 -0
  793. /package/dist/chunks/{form-msx8hqn2.js → location-msx8hqn2.js} +0 -0
  794. /package/dist/chunks/{form-n05xt0ee.js → location-n05xt0ee.js} +0 -0
  795. /package/dist/chunks/{form-n3j8tn72.js → location-n3j8tn72.js} +0 -0
  796. /package/dist/chunks/{form-njntx4h6.js → location-njntx4h6.js} +0 -0
  797. /package/dist/chunks/{form-pkyv6v7h.js → location-pkyv6v7h.js} +0 -0
  798. /package/dist/chunks/{form-q3sfg36h.js → location-q3sfg36h.js} +0 -0
  799. /package/dist/chunks/{form-q74kybfr.js → location-q74kybfr.js} +0 -0
  800. /package/dist/chunks/{form-qaymkmh1.js → location-qaymkmh1.js} +0 -0
  801. /package/dist/chunks/{form-qb87gjwd.js → location-qb87gjwd.js} +0 -0
  802. /package/dist/chunks/{form-qfa1cgps.js → location-qfa1cgps.js} +0 -0
  803. /package/dist/chunks/{form-qg3g05ea.js → location-qg3g05ea.js} +0 -0
  804. /package/dist/chunks/{form-qrg20bc0.js → location-qrg20bc0.js} +0 -0
  805. /package/dist/chunks/{form-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
  806. /package/dist/chunks/{form-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
  807. /package/dist/chunks/{form-sjmm3wxa.js → location-sjmm3wxa.js} +0 -0
  808. /package/dist/chunks/{form-ssg3fenm.js → location-ssg3fenm.js} +0 -0
  809. /package/dist/chunks/{form-ve7vex1e.js → location-ve7vex1e.js} +0 -0
  810. /package/dist/chunks/{form-w803qqfp.js → location-w803qqfp.js} +0 -0
  811. /package/dist/chunks/{form-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
  812. /package/dist/chunks/{form-wer8tq1h.js → location-wer8tq1h.js} +0 -0
  813. /package/dist/chunks/{form-wjj7prxr.js → location-wjj7prxr.js} +0 -0
  814. /package/dist/chunks/{form-wtztk69x.js → location-wtztk69x.js} +0 -0
  815. /package/dist/chunks/{form-x0ckcb58.js → location-x0ckcb58.js} +0 -0
  816. /package/dist/chunks/{form-x61499pn.js → location-x61499pn.js} +0 -0
  817. /package/dist/chunks/{form-y44na4kk.js → location-y44na4kk.js} +0 -0
  818. /package/dist/chunks/{form-y8f7s663.js → location-y8f7s663.js} +0 -0
  819. /package/dist/chunks/{form-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
  820. /package/dist/chunks/{form-ym463w8f.js → location-ym463w8f.js} +0 -0
  821. /package/dist/chunks/{form-z5v4ffb3.js → location-z5v4ffb3.js} +0 -0
  822. /package/dist/chunks/{form-z9919s4g.js → location-z9919s4g.js} +0 -0
@@ -1,57 +1,57 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./form-rhjvhekr.js";
4
+ } from "./location-cfchc4zb.js";
5
5
  import {
6
6
  Service81,
7
7
  node85
8
- } from "./form-ecv950bf.js";
8
+ } from "./location-ywpksxwp.js";
9
9
  import {
10
- Service65,
11
- node68
12
- } from "./form-0es6nja8.js";
10
+ Service74,
11
+ node77
12
+ } from "./location-n95rn34w.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./form-tczq8hjw.js";
15
+ } from "./location-tczq8hjw.js";
16
16
  import {
17
- Service67,
17
+ Service64,
18
18
  args2,
19
- node71
20
- } from "./form-fv302xas.js";
19
+ node67
20
+ } from "./location-af84d9dx.js";
21
21
  import {
22
- Service62,
23
- node65
24
- } from "./form-202bxvr4.js";
22
+ Service80,
23
+ node84
24
+ } from "./location-231a8wys.js";
25
25
  import {
26
- Service60,
27
- node63
28
- } from "./form-jxb3gtw0.js";
26
+ Service59,
27
+ node62
28
+ } from "./location-6ejgy672.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./form-vwdfpcvx.js";
31
+ } from "./location-8whp40kv.js";
32
32
  import {
33
33
  latest2,
34
- Service63,
35
- node66
36
- } from "./form-w3ns5rkg.js";
34
+ Service61,
35
+ node64
36
+ } from "./location-xjx81hwy.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./form-rtnxtb24.js";
40
+ } from "./location-0ear39jp.js";
41
41
  import {
42
42
  __export
43
- } from "./form-9rqn6x4v.js";
43
+ } from "./location-9rqn6x4v.js";
44
44
 
45
45
  // src/shell.ts
46
46
  var exports_shell4 = {};
47
47
  __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
- NotFoundError: () => NotFoundError10,
49
+ NotFoundError: () => NotFoundError7,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service59,
51
+ Service: () => Service58,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node62
54
+ node: () => node61
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
63
63
  import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
65
  import { Global } from "@opencode/util/global";
66
- class NotFoundError10 extends Schema.TaggedError()("Shell.NotFoundError", {
66
+ class NotFoundError7 extends Schema.TaggedError()("Shell.NotFoundError", {
67
67
  id: Shell.ID
68
68
  }) {
69
69
  }
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
71
71
  var RETENTION2 = Duration.days(7);
72
72
  var DIRECTORY2 = "shell";
73
73
 
74
- class Service59 extends Context.Service()("@opencode/Shell") {
74
+ class Service58 extends Context.Service()("@opencode/Shell") {
75
75
  }
76
76
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
77
77
  const fs = yield* FSUtil.Service;
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
87
87
  layer: cleanupLayer,
88
88
  deps: [FSUtil.node, Global.node]
89
89
  });
90
- var layer = () => Layer.effect(Service59, Effect.gen(function* () {
90
+ var layer = () => Layer.effect(Service58, Effect.gen(function* () {
91
91
  const bus = yield* Service86;
92
92
  const location = yield* Service81;
93
93
  const global = yield* Global.Service;
94
- const shell = yield* Service67;
95
- const environment = yield* Service65;
96
- const hooks = yield* Service62;
97
- const environments = yield* Service60;
98
- const config = yield* Service63;
94
+ const shell = yield* Service64;
95
+ const environment = yield* Service74;
96
+ const hooks = yield* Service80;
97
+ const environments = yield* Service59;
98
+ const config = yield* Service61;
99
99
  const context = yield* Effect.context();
100
100
  const runFork = Effect.runForkWith(context);
101
101
  const commands = new Map;
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service59, Effect.gen(function* () {
116
116
  const require2 = Effect.fnUntraced(function* (id) {
117
117
  const command = commands.get(id);
118
118
  if (!command)
119
- return yield* new NotFoundError10({ id });
119
+ return yield* new NotFoundError7({ id });
120
120
  return command;
121
121
  });
122
122
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service59, Effect.gen(function* () {
129
129
  commands.delete(id);
130
130
  if (command.timeoutFiber)
131
131
  yield* Fiber.interrupt(command.timeoutFiber);
132
- yield* Deferred.fail(command.done, new NotFoundError10({ id }));
132
+ yield* Deferred.fail(command.done, new NotFoundError7({ id }));
133
133
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
134
134
  if (command.info.status === "running")
135
135
  yield* bus.publish(Shell.Event.Exited, { id, status: "killed" });
@@ -336,22 +336,22 @@ var layer = () => Layer.effect(Service59, Effect.gen(function* () {
336
336
  const command = yield* Deferred.await(ready);
337
337
  return command.info;
338
338
  });
339
- return Service59.of({ create, list, get, wait, result, timeout, output, remove });
339
+ return Service58.of({ create, list, get, wait, result, timeout, output, remove });
340
340
  }));
341
- var node62 = makeLocationNode({
342
- service: Service59,
341
+ var node61 = makeLocationNode({
342
+ service: Service58,
343
343
  layer: layer(),
344
344
  deps: [
345
345
  node90,
346
346
  node85,
347
347
  Global.node,
348
- node71,
349
- node68,
350
- node65,
351
- node63,
352
- node66,
348
+ node67,
349
+ node77,
350
+ node84,
351
+ node62,
352
+ node64,
353
353
  cleanupNode
354
354
  ]
355
355
  });
356
356
 
357
- export { NotFoundError10, RETENTION2, DIRECTORY2, Service59, cleanup2, node62, exports_shell4 };
357
+ export { NotFoundError7, RETENTION2, DIRECTORY2, Service58, cleanup2, node61, exports_shell4 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./form-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/config/watch.ts
6
6
  var exports_watch = {};
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  __export
3
- } from "./form-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/permission.ts
6
- var exports_permission2 = {};
7
- __export(exports_permission2, {
6
+ var exports_permission = {};
7
+ __export(exports_permission, {
8
8
  Action: () => Action2,
9
- ConfigPermissionV1: () => exports_permission2,
9
+ ConfigPermissionV1: () => exports_permission,
10
10
  Entries: () => Entries2,
11
- Info: () => Info16,
11
+ Info: () => Info14,
12
12
  Object: () => Object2,
13
- Rule: () => Rule3
13
+ Rule: () => Rule2
14
14
  });
15
15
  import { Schema, SchemaGetter } from "effect";
16
16
  var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
@@ -19,13 +19,13 @@ var Entries2 = (value) => Schema.ObjectKeyword.check(Schema.makeFilter((input) =
19
19
  encode: SchemaGetter.transform((entries) => globalThis.Object.fromEntries(entries))
20
20
  }));
21
21
  var Object2 = Entries2(Action2).annotate({ identifier: "PermissionObjectConfig" });
22
- var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
22
+ var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
23
23
  var actionOnly = new Set(["question", "websearch", "doom_loop"]);
24
- var Info16 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule3), {
24
+ var Info14 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule2), {
25
25
  decode: SchemaGetter.transform((input) => typeof input === "string" ? { "*": input } : input),
26
26
  encode: SchemaGetter.passthrough({ strict: false })
27
27
  })).check(Schema.makeFilter((rules) => rules.every(([key, rule]) => !actionOnly.has(key) || typeof rule === "string"), {
28
28
  expected: "question, websearch, and doom_loop to be ask, allow, or deny"
29
29
  })).annotate({ identifier: "PermissionConfig" });
30
30
 
31
- export { Action2, Entries2, Object2, Rule3, Info16, exports_permission2 };
31
+ export { Action2, Entries2, Object2, Rule2, Info14, exports_permission };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./form-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/hooks.ts
6
6
  var exports_hooks = {};
7
7
  __export(exports_hooks, {
8
8
  PluginHooks: () => exports_hooks,
9
- Service: () => Service62,
10
- node: () => node65
9
+ Service: () => Service80,
10
+ node: () => node84
11
11
  });
12
12
  import { Context, Effect, Layer, Scope } from "effect";
13
13
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
20
20
  return typeof model.providerID === "string" ? model.providerID : undefined;
21
21
  };
22
22
 
23
- class Service62 extends Context.Service()("@opencode/PluginHooks") {
23
+ class Service80 extends Context.Service()("@opencode/PluginHooks") {
24
24
  }
25
- var layer = Layer.effect(Service62, Effect.gen(function* () {
25
+ var layer = Layer.effect(Service80, Effect.gen(function* () {
26
26
  const callbacks = new Map;
27
27
  const key = (domain, name) => `${domain}.${String(name)}`;
28
28
  const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
54
54
  return event;
55
55
  });
56
56
  const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
57
- return Service62.of({ has, register, trigger });
57
+ return Service80.of({ has, register, trigger });
58
58
  }));
59
- var node65 = makeLocationNode({ service: Service62, layer, deps: [] });
59
+ var node84 = makeLocationNode({ service: Service80, layer, deps: [] });
60
60
 
61
- export { Service62, node65, exports_hooks };
61
+ export { Service80, node84, exports_hooks };
@@ -1,46 +1,46 @@
1
1
  import {
2
2
  useragent2
3
- } from "./form-vhnfgg21.js";
3
+ } from "./location-2s1jcspe.js";
4
4
  import {
5
5
  Service86
6
- } from "./form-rhjvhekr.js";
6
+ } from "./location-cfchc4zb.js";
7
7
  import {
8
8
  defaultServer2,
9
9
  server2,
10
10
  headers2
11
- } from "./form-kt3bjfbg.js";
11
+ } from "./location-kt3bjfbg.js";
12
12
  import {
13
13
  OAuth3,
14
- Event17
15
- } from "./form-x83ywg7g.js";
14
+ Event16
15
+ } from "./location-qtqp5fvy.js";
16
16
  import {
17
17
  key2
18
- } from "./form-bjhzkqyk.js";
18
+ } from "./location-42jd4697.js";
19
19
  import {
20
- ID13,
20
+ ID9,
21
21
  MethodID2,
22
22
  AuthorizationError2
23
- } from "./form-ewnzmz0y.js";
23
+ } from "./location-wm875330.js";
24
24
  import {
25
- Service19
26
- } from "./form-wdv0vama.js";
25
+ Service21
26
+ } from "./location-jk9f0yn5.js";
27
27
  import {
28
- ID12,
28
+ ID8,
29
29
  mergeOverlay2,
30
30
  mergeHeaders2
31
- } from "./form-dpcgzjbf.js";
31
+ } from "./location-w6frvacy.js";
32
32
  import {
33
33
  mergeCapabilities2
34
- } from "./form-7zbjpcgf.js";
34
+ } from "./location-ej5n7emy.js";
35
35
  import {
36
36
  supports2,
37
- resolve3
38
- } from "./form-bqjkv61t.js";
37
+ resolve2
38
+ } from "./location-bhaqjw7f.js";
39
39
  import {
40
- ID10,
40
+ ID5,
41
41
  Input15,
42
42
  Response2
43
- } from "./form-9qkkem2t.js";
43
+ } from "./location-6s8srms1.js";
44
44
 
45
45
  // src/plugin/provider/opencode.ts
46
46
  import {
@@ -77,7 +77,7 @@ var RemotePolicies = Schema.Array(Schema.Unknown).pipe(Schema.decodeTo(Schema.Un
77
77
  var RemoteResponse = Schema.Struct({
78
78
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
79
79
  websearch: Schema.Struct({
80
- providerID: ID10
80
+ providerID: ID5
81
81
  }).pipe(Schema.optional),
82
82
  mcp: Schema.Struct({
83
83
  servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
@@ -128,7 +128,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
128
128
  }
129
129
  function oauth(http) {
130
130
  return {
131
- integrationID: ID13.make("opencode"),
131
+ integrationID: ID9.make("opencode"),
132
132
  method: {
133
133
  id: methodID,
134
134
  type: "oauth",
@@ -196,7 +196,7 @@ var OpencodePlugin2 = define({
196
196
  const bus = yield* Service86;
197
197
  const client = yield* HttpClient.HttpClient;
198
198
  const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
199
- const managed = yield* Service19;
199
+ const managed = yield* Service21;
200
200
  const scope = yield* Scope.Scope;
201
201
  const loading = Semaphore.makeUnsafe(1);
202
202
  let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
@@ -250,7 +250,7 @@ var OpencodePlugin2 = define({
250
250
  providers.update(providerID, (provider) => {
251
251
  if (source && source.provider !== provider)
252
252
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
253
- provider.integrationID = ID13.make("opencode");
253
+ provider.integrationID = ID9.make("opencode");
254
254
  if (item.canonical !== undefined)
255
255
  provider.canonical = item.canonical;
256
256
  if (item.name !== undefined)
@@ -288,7 +288,7 @@ var OpencodePlugin2 = define({
288
288
  providers.models.update(providerID, modelID, (model) => {
289
289
  if (config.capabilities?.reasoning !== undefined)
290
290
  model.variants = [
291
- ...resolve3({ ...model, package: model.package ?? providers.get(providerID)?.provider.package }, supports2(config.capabilities.reasoning))
291
+ ...resolve2({ ...model, package: model.package ?? providers.get(providerID)?.provider.package }, supports2(config.capabilities.reasoning))
292
292
  ];
293
293
  for (const variant of config.variants ?? []) {
294
294
  let existing = model.variants.find((item) => item.id === variant.id);
@@ -324,7 +324,7 @@ var OpencodePlugin2 = define({
324
324
  sourceConnection: snapshot.connection
325
325
  });
326
326
  }
327
- const item = providers.get(ID12.opencode);
327
+ const item = providers.get(ID8.opencode);
328
328
  if (!item)
329
329
  return;
330
330
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -336,7 +336,7 @@ var OpencodePlugin2 = define({
336
336
  });
337
337
  });
338
338
  yield* ctx.model.transform((models) => {
339
- const item = models.provider.get(ID12.opencode);
339
+ const item = models.provider.get(ID8.opencode);
340
340
  if (!item)
341
341
  return;
342
342
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -431,7 +431,7 @@ var OpencodePlugin2 = define({
431
431
  });
432
432
  const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
433
433
  yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
434
- explainers = yield* Effect.forEach(next.connection ? new Set([ID12.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
434
+ explainers = yield* Effect.forEach(next.connection ? new Set([ID8.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
435
435
  });
436
436
  yield* guard(snapshot);
437
437
  const polling = yield* FiberHandle.make();
@@ -442,7 +442,7 @@ var OpencodePlugin2 = define({
442
442
  onlyIfMissing: true
443
443
  });
444
444
  });
445
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
445
+ yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
446
446
  yield* poll();
447
447
  })
448
448
  });
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  openaiFailedResponseHandler2
3
- } from "./form-550bvhaj.js";
3
+ } from "./location-550bvhaj.js";
4
4
  import {
5
5
  convertToOpenAIResponsesInput2
6
- } from "./form-j5zkgpj8.js";
6
+ } from "./location-j5zkgpj8.js";
7
7
  import {
8
8
  mapOpenAIResponseFinishReason2
9
- } from "./form-3asan66x.js";
9
+ } from "./location-3asan66x.js";
10
10
  import {
11
11
  prepareResponsesTools2
12
- } from "./form-5nrew705.js";
12
+ } from "./location-2xwkyk0m.js";
13
13
 
14
14
  // src/github-copilot/responses/openai-responses-language-model.ts
15
15
  import {
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  latest2,
3
- Service63
4
- } from "./form-w3ns5rkg.js";
3
+ Service61
4
+ } from "./location-xjx81hwy.js";
5
5
  import {
6
6
  observe2
7
- } from "./form-6pjqjmy2.js";
7
+ } from "./location-6pjqjmy2.js";
8
8
  import {
9
9
  __export
10
- } from "./form-9rqn6x4v.js";
10
+ } from "./location-9rqn6x4v.js";
11
11
 
12
12
  // src/config/plugin/websearch.ts
13
13
  var exports_websearch2 = {};
14
14
  __export(exports_websearch2, {
15
15
  ConfigWebSearchPlugin: () => exports_websearch2,
16
- Plugin: () => Plugin45
16
+ Plugin: () => Plugin47
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect } from "effect";
20
- var Plugin45 = define({
20
+ var Plugin47 = define({
21
21
  id: "opencode.config.websearch",
22
22
  effect: Effect.fn(function* (ctx) {
23
- const config = yield* Service63;
23
+ const config = yield* Service61;
24
24
  const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
25
25
  yield* ctx.websearch.transform((websearch) => {
26
26
  const selection = latest2(loaded.entries, "websearch");
@@ -32,4 +32,4 @@ var Plugin45 = define({
32
32
  })
33
33
  });
34
34
 
35
- export { Plugin45, exports_websearch2 };
35
+ export { Plugin47, exports_websearch2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  useragent2
3
- } from "./form-vhnfgg21.js";
3
+ } from "./location-2s1jcspe.js";
4
4
  import {
5
5
  OAuth3,
6
- Service80
7
- } from "./form-x83ywg7g.js";
6
+ Service73
7
+ } from "./location-qtqp5fvy.js";
8
8
  import {
9
- ID13,
9
+ ID9,
10
10
  MethodID2
11
- } from "./form-ewnzmz0y.js";
11
+ } from "./location-wm875330.js";
12
12
  import {
13
- ID12,
13
+ ID8,
14
14
  mergeOverlay2
15
- } from "./form-dpcgzjbf.js";
15
+ } from "./location-w6frvacy.js";
16
16
 
17
17
  // src/plugin/provider/xai.ts
18
18
  import { define } from "@opencode/plugin/effect/plugin";
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
24
24
  var pollingSafetyMargin = 3000;
25
25
  var browserMethodID = MethodID2.make("browser");
26
26
  var deviceMethodID = MethodID2.make("device");
27
- var providerID = ID12.make("xai");
27
+ var providerID = ID8.make("xai");
28
28
  var Token = Schema.Struct({
29
29
  access_token: Schema.String,
30
30
  refresh_token: Schema.optional(Schema.String),
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
44
44
  });
45
45
  var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
46
46
  var device = (app) => ({
47
- integrationID: ID13.make("xai"),
47
+ integrationID: ID9.make("xai"),
48
48
  method: {
49
49
  id: deviceMethodID,
50
50
  type: "oauth",
@@ -69,8 +69,8 @@ var device = (app) => ({
69
69
  var XAIPlugin2 = define({
70
70
  id: "opencode.provider.xai",
71
71
  effect: Effect.fn(function* (ctx) {
72
- const credentials = yield* Service80;
73
- yield* Effect.forEach(yield* credentials.list(ID13.make("xai")), (credential) => {
72
+ const credentials = yield* Service73;
73
+ yield* Effect.forEach(yield* credentials.list(ID9.make("xai")), (credential) => {
74
74
  if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
75
75
  return Effect.void;
76
76
  return credentials.update(credential.id, {
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  __export
3
- } from "./form-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/app.ts
6
6
  var exports_app = {};
7
7
  __export(exports_app, {
8
8
  App: () => exports_app,
9
9
  Metadata: () => Metadata2,
10
- configured: () => configured4,
11
- layer: () => layer19,
12
- make: () => make16,
13
- node: () => node46,
10
+ configured: () => configured7,
11
+ layer: () => layer23,
12
+ make: () => make18,
13
+ node: () => node59,
14
14
  useragent: () => useragent2
15
15
  });
16
16
  import { Context, Layer } from "effect";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var Metadata2 = Context.Reference("@opencode/App", {
19
- defaultValue: () => make16()
19
+ defaultValue: () => make18()
20
20
  });
21
- function make16(input = {}) {
21
+ function make18(input = {}) {
22
22
  return {
23
23
  name: input.name ?? "opencode",
24
24
  version: input.version ?? "unknown",
@@ -28,8 +28,8 @@ function make16(input = {}) {
28
28
  function useragent2(app) {
29
29
  return `opencode/${app.channel}/${app.version}/${app.name}`;
30
30
  }
31
- var layer19 = (input) => Layer.succeed(Metadata2, make16(input));
32
- var configured4 = (input) => makeGlobalNode({ service: Metadata2, layer: layer19(input), deps: [] });
33
- var node46 = configured4();
31
+ var layer23 = (input) => Layer.succeed(Metadata2, make18(input));
32
+ var configured7 = (input) => makeGlobalNode({ service: Metadata2, layer: layer23(input), deps: [] });
33
+ var node59 = configured7();
34
34
 
35
- export { Metadata2, make16, useragent2, layer19, configured4, node46, exports_app };
35
+ export { Metadata2, make18, useragent2, layer23, configured7, node59, exports_app };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  codeInterpreterArgsSchema2
3
- } from "./form-eh3zwz77.js";
3
+ } from "./location-eh3zwz77.js";
4
4
  import {
5
5
  fileSearchArgsSchema2
6
- } from "./form-e73j6tqm.js";
6
+ } from "./location-e73j6tqm.js";
7
7
  import {
8
8
  webSearchArgsSchema2
9
- } from "./form-3wcehsnq.js";
9
+ } from "./location-3wcehsnq.js";
10
10
  import {
11
11
  webSearchPreviewArgsSchema2
12
- } from "./form-dap0rakb.js";
12
+ } from "./location-dap0rakb.js";
13
13
  import {
14
14
  imageGenerationArgsSchema2
15
- } from "./form-4y7fprxs.js";
15
+ } from "./location-4y7fprxs.js";
16
16
 
17
17
  // src/github-copilot/responses/openai-responses-prepare-tools.ts
18
18
  import {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./form-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/mime.ts
6
6
  var exports_mime = {};