@opencode/core 0.0.0-dev-521 → 0.0.0-dev-524

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 (920) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +92 -92
  3. package/dist/aisdk-native.js +102 -102
  4. package/dist/aisdk.js +108 -108
  5. package/dist/app.js +9 -9
  6. package/dist/artifact.js +244 -244
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/{bus-034tev2y.js → shell-034tev2y.js} +2 -2
  9. package/dist/chunks/{bus-52khf8gr.js → shell-038m8ne0.js} +43 -43
  10. package/dist/chunks/{bus-5qj5pbk7.js → shell-0a6k6phd.js} +8 -8
  11. package/dist/chunks/{bus-cpvd08na.js → shell-0ahs07zn.js} +4 -4
  12. package/dist/chunks/{bus-jah7jz88.js → shell-0b0ckd4f.js} +12 -12
  13. package/dist/chunks/{bus-yhn9yqy6.js → shell-0djcdsjt.js} +12 -12
  14. package/dist/chunks/{bus-mbeqmc6f.js → shell-0g554w4n.js} +36 -36
  15. package/dist/chunks/{bus-8bq4ths3.js → shell-0hckme0g.js} +23 -23
  16. package/dist/chunks/{bus-atpbpd9s.js → shell-0hqdgkh5.js} +5 -5
  17. package/dist/chunks/{bus-0j7gp832.js → shell-0j7gp832.js} +1 -1
  18. package/dist/chunks/{bus-yprbzjm3.js → shell-0ke53cpn.js} +13 -13
  19. package/dist/chunks/{bus-0ma9gw4f.js → shell-0ma9gw4f.js} +2 -2
  20. package/dist/chunks/{bus-wy9fkgmh.js → shell-0n2fsn41.js} +21 -21
  21. package/dist/chunks/{bus-0ezgpwkc.js → shell-12h4y8ck.js} +33 -33
  22. package/dist/chunks/{bus-0ftyx8tf.js → shell-19ckm0ck.js} +16 -16
  23. package/dist/chunks/{bus-1aqsckx4.js → shell-1aqsckx4.js} +1 -1
  24. package/dist/chunks/{bus-1ep2p91f.js → shell-1ep2p91f.js} +2 -2
  25. package/dist/chunks/{bus-fnexbcks.js → shell-1pw3h209.js} +16 -16
  26. package/dist/chunks/{bus-5hk1j3a1.js → shell-1red2kdm.js} +59 -59
  27. package/dist/chunks/{bus-68fjv3bw.js → shell-1ryprd9x.js} +11 -11
  28. package/dist/chunks/{bus-7mvxqbtz.js → shell-1wsmx976.js} +15 -15
  29. package/dist/chunks/{bus-1x2knyw4.js → shell-1x2knyw4.js} +1 -1
  30. package/dist/chunks/{bus-5zrxpy3q.js → shell-1yq9hg58.js} +5 -5
  31. package/dist/chunks/{bus-8mxrv7vx.js → shell-22dry1sr.js} +13 -13
  32. package/dist/chunks/{bus-vg0erq9k.js → shell-2cdjxzfg.js} +3 -3
  33. package/dist/chunks/{bus-yg1r97sy.js → shell-2ktchv7q.js} +51 -51
  34. package/dist/chunks/{bus-sc6ve54j.js → shell-2r77nwhq.js} +4 -4
  35. package/dist/chunks/{bus-43a86ed8.js → shell-2sgmqb4r.js} +6 -6
  36. package/dist/chunks/{bus-myqg03ks.js → shell-2vfjfeag.js} +20 -20
  37. package/dist/chunks/{bus-jjsrzkjm.js → shell-30qjv57a.js} +15 -15
  38. package/dist/chunks/{bus-vn50qq6e.js → shell-32c1ngxd.js} +9 -9
  39. package/dist/chunks/{bus-pyc3gczw.js → shell-3ay6yzp4.js} +5 -5
  40. package/dist/chunks/{bus-jdj5qprp.js → shell-3c6bvymb.js} +8 -8
  41. package/dist/chunks/{bus-p24z06k5.js → shell-3dbxf0x7.js} +47 -47
  42. package/dist/chunks/{bus-dwx3nxgv.js → shell-3fe1jga9.js} +2 -2
  43. package/dist/chunks/{bus-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
  44. package/dist/chunks/{bus-3nnrz6f6.js → shell-3nnrz6f6.js} +1 -1
  45. package/dist/chunks/{bus-00kj77v3.js → shell-3pb2qskw.js} +27 -27
  46. package/dist/chunks/{bus-0y15sqga.js → shell-3qevzq3v.js} +11 -11
  47. package/dist/chunks/{bus-6k0d5a0h.js → shell-3qzs2pb5.js} +8 -8
  48. package/dist/chunks/{bus-n8szhp98.js → shell-3yaf1m62.js} +5 -5
  49. package/dist/chunks/{bus-mcf9ewwc.js → shell-3zek37hk.js} +18 -18
  50. package/dist/chunks/{bus-40y6dtc2.js → shell-40y6dtc2.js} +1 -1
  51. package/dist/chunks/{bus-w2eysc6j.js → shell-40za9wsf.js} +9 -9
  52. package/dist/chunks/{bus-4gcmks0q.js → shell-45qe9p54.js} +25 -25
  53. package/dist/chunks/shell-47mgcevd.js +18 -0
  54. package/dist/chunks/{bus-5jdnat6g.js → shell-4bkthaey.js} +31 -31
  55. package/dist/chunks/{bus-4dx1dgte.js → shell-4dx1dgte.js} +1 -1
  56. package/dist/chunks/{bus-r542h3bh.js → shell-4f25tdd0.js} +5 -5
  57. package/dist/chunks/{bus-vt4r9rmy.js → shell-4g3sdj5g.js} +9 -9
  58. package/dist/chunks/{bus-88c6r276.js → shell-4nh513ck.js} +3 -3
  59. package/dist/chunks/{bus-4pyp9zr9.js → shell-4pyp9zr9.js} +1 -1
  60. package/dist/chunks/{bus-4v008n1t.js → shell-4v008n1t.js} +1 -1
  61. package/dist/chunks/{bus-rgbv672r.js → shell-4xbt6kt3.js} +11 -11
  62. package/dist/chunks/{bus-7d8t5v66.js → shell-5060mq2j.js} +17 -17
  63. package/dist/chunks/{bus-5qfvhg2d.js → shell-51kwf5nv.js} +10 -10
  64. package/dist/chunks/{bus-9gxex9v0.js → shell-53qfbpfe.js} +15 -15
  65. package/dist/chunks/{bus-pgqxr0th.js → shell-55jhk77d.js} +4 -4
  66. package/dist/chunks/{bus-jq9gmw53.js → shell-57q7h3sb.js} +13 -13
  67. package/dist/chunks/{bus-6n4ncf2g.js → shell-5958t36d.js} +30 -30
  68. package/dist/chunks/{bus-es3hber9.js → shell-5a65b5yp.js} +26 -26
  69. package/dist/chunks/{bus-mjzq44fw.js → shell-5b4k3yeg.js} +16 -16
  70. package/dist/chunks/{bus-1stqc8b1.js → shell-5bhey0ap.js} +27 -27
  71. package/dist/chunks/{bus-2525w213.js → shell-5jx03shd.js} +183 -183
  72. package/dist/chunks/{bus-7d1t0b3t.js → shell-5jztgy8x.js} +8 -8
  73. package/dist/chunks/{bus-x4etfqmn.js → shell-5kvjt3bj.js} +4 -4
  74. package/dist/chunks/{bus-5m9w47nd.js → shell-5m9w47nd.js} +1 -1
  75. package/dist/chunks/{bus-j43gwz94.js → shell-5v51mt63.js} +6 -6
  76. package/dist/chunks/{bus-5awth4d3.js → shell-5vpw0qat.js} +6 -6
  77. package/dist/chunks/{bus-z896v4z2.js → shell-5vxk5b4t.js} +20 -20
  78. package/dist/chunks/{bus-8cg7mtm3.js → shell-5whx36p1.js} +4 -4
  79. package/dist/chunks/{bus-gbx89qhp.js → shell-5xshmq58.js} +16 -16
  80. package/dist/chunks/{bus-w9t8cew6.js → shell-5ygc3h7c.js} +36 -36
  81. package/dist/chunks/{bus-jv5ccajn.js → shell-61qraad9.js} +5 -5
  82. package/dist/chunks/{bus-dz9apbxd.js → shell-6e65c26n.js} +17 -17
  83. package/dist/chunks/{bus-tf9r37f3.js → shell-6f6jm3cp.js} +11 -11
  84. package/dist/chunks/{bus-58zm6vp0.js → shell-6krg8p5y.js} +32 -32
  85. package/dist/chunks/{bus-9f9vgk7y.js → shell-6p0htpnz.js} +4 -4
  86. package/dist/chunks/{bus-9kwx3s0r.js → shell-6ppdhvbm.js} +31 -31
  87. package/dist/chunks/{bus-j7q27a7z.js → shell-6s2f0w57.js} +15 -15
  88. package/dist/chunks/{bus-rc848qwm.js → shell-6s2zeekk.js} +9 -9
  89. package/dist/chunks/{bus-y6bv49mt.js → shell-6snqk0kd.js} +31 -31
  90. package/dist/chunks/{bus-vwcz1f45.js → shell-6y2b864j.js} +7 -7
  91. package/dist/chunks/{bus-xn70ah2m.js → shell-6y4awd4z.js} +14 -14
  92. package/dist/chunks/{bus-kcrrt9zw.js → shell-6yam1bnf.js} +10 -10
  93. package/dist/chunks/{bus-ms34cacd.js → shell-70bbyff8.js} +6 -6
  94. package/dist/chunks/{bus-80mg3ag8.js → shell-775hqbnd.js} +3 -3
  95. package/dist/chunks/{bus-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
  96. package/dist/chunks/{bus-2eb7vdkt.js → shell-7f4r8bs9.js} +5 -5
  97. package/dist/chunks/{bus-7tgyfk06.js → shell-7jqp1j3q.js} +26 -26
  98. package/dist/chunks/shell-7m4xrat3.js +265 -0
  99. package/dist/chunks/{bus-nwr3e9pg.js → shell-7rzq90wh.js} +8 -8
  100. package/dist/chunks/{bus-7w2ypzdf.js → shell-7w2ypzdf.js} +1 -1
  101. package/dist/chunks/{bus-7weczvnd.js → shell-7weczvnd.js} +1 -1
  102. package/dist/chunks/{bus-t2dwtrkq.js → shell-7y2zpb6b.js} +4 -4
  103. package/dist/chunks/{bus-89287pr7.js → shell-89287pr7.js} +1 -1
  104. package/dist/chunks/{bus-8b3vzgkx.js → shell-8b3vzgkx.js} +1 -1
  105. package/dist/chunks/{bus-zyng0yj9.js → shell-8hze26f7.js} +35 -35
  106. package/dist/chunks/{bus-8sxe6kv8.js → shell-8sxe6kv8.js} +2 -2
  107. package/dist/chunks/{bus-8wtp7s3z.js → shell-8wtp7s3z.js} +1 -1
  108. package/dist/chunks/{bus-yw0jzrgx.js → shell-8xd9qe3w.js} +8 -8
  109. package/dist/chunks/{bus-sf9y72b7.js → shell-90ct6wq4.js} +4 -4
  110. package/dist/chunks/{bus-90zstvax.js → shell-90zstvax.js} +1 -1
  111. package/dist/chunks/{bus-3h8m143y.js → shell-938dqyhe.js} +26 -26
  112. package/dist/chunks/{bus-szwm4crx.js → shell-96djdqw5.js} +4 -4
  113. package/dist/chunks/{bus-sf7kk5v3.js → shell-97rp36fc.js} +7 -7
  114. package/dist/chunks/{bus-ys9zdn9n.js → shell-9cfr47nv.js} +18 -18
  115. package/dist/chunks/{bus-dwcmmxzn.js → shell-9gamnqat.js} +19 -19
  116. package/dist/chunks/{bus-txjws9vm.js → shell-9gt3wynh.js} +11 -11
  117. package/dist/chunks/{bus-0s9xq3m6.js → shell-9h0egadk.js} +11 -11
  118. package/dist/chunks/{bus-3adyfz8v.js → shell-9kgh7y83.js} +35 -35
  119. package/dist/chunks/{bus-5qaedt7h.js → shell-9mjjkw01.js} +3 -3
  120. package/dist/chunks/{bus-jx8x5mjv.js → shell-9rbvzweb.js} +5 -5
  121. package/dist/chunks/{bus-kmekj7m2.js → shell-9sk33afj.js} +8 -8
  122. package/dist/chunks/{bus-94174fzk.js → shell-9zqj0zpf.js} +45 -45
  123. package/dist/chunks/{bus-kyh18yxw.js → shell-a53xz8je.js} +9 -9
  124. package/dist/chunks/{bus-x9kbp3hd.js → shell-a5wrqxe8.js} +4 -4
  125. package/dist/chunks/{bus-4mxa7xsc.js → shell-akx86dnn.js} +36 -36
  126. package/dist/chunks/{bus-z04rt3ve.js → shell-av7hf5pb.js} +27 -27
  127. package/dist/chunks/{bus-ayjs7tqn.js → shell-ayjs7tqn.js} +2 -2
  128. package/dist/chunks/{bus-zybtfqav.js → shell-b3a32pfz.js} +4 -4
  129. package/dist/chunks/{bus-g3ptzmb6.js → shell-b64vemre.js} +8 -8
  130. package/dist/chunks/{bus-b6vsg801.js → shell-b6vsg801.js} +2 -2
  131. package/dist/chunks/{bus-wr3re1en.js → shell-b6z35kmf.js} +4 -4
  132. package/dist/chunks/{bus-yrjktvt0.js → shell-b7sygazy.js} +15 -15
  133. package/dist/chunks/{bus-yyh7aaps.js → shell-bbv7h0sc.js} +8 -8
  134. package/dist/chunks/{bus-fx71xthw.js → shell-bc28fm4b.js} +17 -17
  135. package/dist/chunks/{bus-s8qtxmzm.js → shell-bfmm6xpm.js} +4 -4
  136. package/dist/chunks/{bus-q6a7h9km.js → shell-bj78ahtb.js} +7 -7
  137. package/dist/chunks/{bus-mj11r9mp.js → shell-bnrmk4xj.js} +12 -12
  138. package/dist/chunks/{bus-xd9cc171.js → shell-bstexjd6.js} +5 -5
  139. package/dist/chunks/{bus-gqejezaz.js → shell-by86as2b.js} +37 -37
  140. package/dist/chunks/{bus-25pgyrsw.js → shell-c51xvhgg.js} +19 -19
  141. package/dist/chunks/{bus-s5x5z5v7.js → shell-c5syj3x8.js} +82 -82
  142. package/dist/chunks/{bus-0gdrrj59.js → shell-c7gk57p6.js} +4 -4
  143. package/dist/chunks/{bus-xnmk3xsa.js → shell-c83hkj5n.js} +18 -18
  144. package/dist/chunks/{bus-283f2gnz.js → shell-cc5m3ng3.js} +2 -2
  145. package/dist/chunks/{bus-d64dqc6h.js → shell-ccgfr9ez.js} +21 -21
  146. package/dist/chunks/{bus-9ttv4q8q.js → shell-ceg1n2ed.js} +49 -49
  147. package/dist/chunks/{bus-8hws48p9.js → shell-chbgvwzv.js} +18 -18
  148. package/dist/chunks/{bus-ypdv3b38.js → shell-cjp0k87c.js} +11 -11
  149. package/dist/chunks/{bus-r6khc3n5.js → shell-ckbkj3gw.js} +28 -28
  150. package/dist/chunks/{bus-xvdd2r56.js → shell-cq1t411c.js} +49 -49
  151. package/dist/chunks/{bus-cwrgdav8.js → shell-cwrgdav8.js} +2 -2
  152. package/dist/chunks/{bus-pzm37b6s.js → shell-d0z9ywe4.js} +28 -28
  153. package/dist/chunks/{bus-d4v9tmah.js → shell-d4v9tmah.js} +2 -2
  154. package/dist/chunks/{bus-8wf0t3vd.js → shell-d779t86q.js} +34 -34
  155. package/dist/chunks/{bus-f1hnjyam.js → shell-dcsvd9bq.js} +17 -17
  156. package/dist/chunks/{bus-w82716pr.js → shell-dg2hskz2.js} +8 -8
  157. package/dist/chunks/{bus-61d06eve.js → shell-dh9vehck.js} +28 -28
  158. package/dist/chunks/{bus-za9vg3rv.js → shell-dn75egny.js} +18 -18
  159. package/dist/chunks/{bus-dt77769w.js → shell-dt77769w.js} +1 -1
  160. package/dist/chunks/{bus-1mf6mf1k.js → shell-e27xj7a8.js} +24 -24
  161. package/dist/chunks/{bus-qmtc18p6.js → shell-e69hcays.js} +19 -19
  162. package/dist/chunks/{bus-e834z07m.js → shell-e834z07m.js} +1 -1
  163. package/dist/chunks/{bus-2qdbb86w.js → shell-ej8c8e21.js} +4 -4
  164. package/dist/chunks/{bus-dd3dt1h3.js → shell-ek2jw6a6.js} +16 -16
  165. package/dist/chunks/{bus-78x25e93.js → shell-ekxc8d5q.js} +5 -5
  166. package/dist/chunks/{bus-ea55qy06.js → shell-en619q7r.js} +43 -43
  167. package/dist/chunks/{bus-w7vy65gz.js → shell-ep83ykpf.js} +3 -3
  168. package/dist/chunks/{bus-eqw4pqj1.js → shell-eqw4pqj1.js} +2 -2
  169. package/dist/chunks/{bus-56qxc1g1.js → shell-esm60jbr.js} +15 -15
  170. package/dist/chunks/{bus-4smyxkmz.js → shell-evjzfwys.js} +32 -32
  171. package/dist/chunks/{bus-epcavnnt.js → shell-ewd4v74g.js} +26 -26
  172. package/dist/chunks/{bus-vd1kjsrz.js → shell-ey5vfp9s.js} +39 -39
  173. package/dist/chunks/{bus-x0rn644k.js → shell-f0d8bamp.js} +23 -23
  174. package/dist/chunks/{bus-b5j45rh7.js → shell-f475w8cc.js} +27 -27
  175. package/dist/chunks/{bus-bxs5ctch.js → shell-f5fj0026.js} +21 -21
  176. package/dist/chunks/{bus-g1wg1sjq.js → shell-f9j325ak.js} +7 -7
  177. package/dist/chunks/{bus-hjxyb41m.js → shell-fer7ek0z.js} +6 -6
  178. package/dist/chunks/{bus-fffv3p7h.js → shell-fffv3p7h.js} +1 -1
  179. package/dist/chunks/{bus-fg9p65nk.js → shell-fg9p65nk.js} +2 -2
  180. package/dist/chunks/{bus-dwvydzer.js → shell-fxgpkf86.js} +9 -9
  181. package/dist/chunks/{bus-4mwxa58x.js → shell-g8kgv83r.js} +17 -17
  182. package/dist/chunks/{bus-gbjdnr5j.js → shell-gbjdnr5j.js} +2 -2
  183. package/dist/chunks/{bus-rp6t20zc.js → shell-gerka9tj.js} +9 -9
  184. package/dist/chunks/{bus-knjdssrv.js → shell-gg6ydb9v.js} +4 -4
  185. package/dist/chunks/{bus-ky8ryepb.js → shell-gh1c3w3b.js} +13 -13
  186. package/dist/chunks/{bus-ghrv1g9c.js → shell-ghrv1g9c.js} +1 -1
  187. package/dist/chunks/{bus-jgpy2akj.js → shell-gk0y4mdb.js} +16 -16
  188. package/dist/chunks/{bus-62zd5tzk.js → shell-gmemj5zs.js} +7 -7
  189. package/dist/chunks/{bus-a1qwck5h.js → shell-gn6qas9s.js} +8 -8
  190. package/dist/chunks/{bus-tg7s7b5t.js → shell-gxs71cxp.js} +4 -4
  191. package/dist/chunks/{bus-f51e4fnj.js → shell-h0xn00cp.js} +5 -5
  192. package/dist/chunks/{bus-99d1n6p2.js → shell-h511s8tx.js} +5 -5
  193. package/dist/chunks/{bus-nt907s04.js → shell-h5chy42v.js} +3 -3
  194. package/dist/chunks/{bus-w8tcjrgy.js → shell-h879y26b.js} +4 -4
  195. package/dist/chunks/{bus-czc3e01s.js → shell-hq3r0yyq.js} +3 -3
  196. package/dist/chunks/shell-hsexgbfa.js +26 -0
  197. package/dist/chunks/{bus-5j137cd1.js → shell-hwwehp3g.js} +18 -18
  198. package/dist/chunks/{bus-gb11fqdm.js → shell-j0dfz3p0.js} +14 -14
  199. package/dist/chunks/{bus-wwm42y5s.js → shell-j29mft07.js} +9 -9
  200. package/dist/chunks/{bus-tr8x705m.js → shell-j376ae4e.js} +5 -5
  201. package/dist/chunks/{bus-8q07052d.js → shell-j37rnbkx.js} +11 -11
  202. package/dist/chunks/{bus-ze75qvmd.js → shell-j9nxzz3g.js} +3 -3
  203. package/dist/chunks/{bus-vbkd2vca.js → shell-jevmxyvj.js} +50 -50
  204. package/dist/chunks/{bus-wjm1hmrr.js → shell-jk3qt3nm.js} +26 -26
  205. package/dist/chunks/{bus-sc73t0y9.js → shell-jpj143sy.js} +31 -31
  206. package/dist/chunks/{bus-y468wp7h.js → shell-jr3xr1h7.js} +45 -45
  207. package/dist/chunks/{bus-44pmzq9c.js → shell-jxd6f16v.js} +2 -2
  208. package/dist/chunks/{bus-vsv0w8m2.js → shell-jxgppkd5.js} +5 -5
  209. package/dist/chunks/{bus-c3k8f38f.js → shell-k2pt82t5.js} +7 -7
  210. package/dist/chunks/{bus-yap6wetc.js → shell-kd0nmecv.js} +7 -7
  211. package/dist/chunks/{bus-hfdfeqmt.js → shell-kfwe892m.js} +12 -12
  212. package/dist/chunks/{bus-hmc1gkc2.js → shell-kgmdm1mc.js} +6 -6
  213. package/dist/chunks/{bus-kh8gdsej.js → shell-kh8gdsej.js} +1 -1
  214. package/dist/chunks/{bus-tqx9c315.js → shell-kmzgegqq.js} +8 -8
  215. package/dist/chunks/{bus-3p85jtfv.js → shell-kn5pgt03.js} +12 -12
  216. package/dist/chunks/{bus-hfdeyy56.js → shell-ks3cm6m9.js} +11 -11
  217. package/dist/chunks/{bus-kt3bjfbg.js → shell-kt3bjfbg.js} +1 -1
  218. package/dist/chunks/{bus-281qarhz.js → shell-kwdx365q.js} +5 -5
  219. package/dist/chunks/{bus-kzczzf4v.js → shell-kzczzf4v.js} +1 -1
  220. package/dist/chunks/{bus-8hfctyyf.js → shell-kzdam8c6.js} +7 -7
  221. package/dist/chunks/{bus-m1714858.js → shell-m1714858.js} +1 -1
  222. package/dist/chunks/{bus-2eqkfqpq.js → shell-m2tvmwk7.js} +18 -18
  223. package/dist/chunks/{bus-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
  224. package/dist/chunks/{bus-3xxxzx40.js → shell-mae2tq53.js} +31 -31
  225. package/dist/chunks/{bus-mb7mbhnz.js → shell-mb7mbhnz.js} +3 -3
  226. package/dist/chunks/{bus-bsfkzme1.js → shell-mbk8h3wg.js} +9 -9
  227. package/dist/chunks/{bus-n0eajme7.js → shell-mjb4x3wz.js} +15 -15
  228. package/dist/chunks/{bus-gps7pya6.js → shell-mjmpc5sw.js} +8 -8
  229. package/dist/chunks/{bus-vmgd1b2n.js → shell-mk8zq1xj.js} +28 -28
  230. package/dist/chunks/{bus-g0s7vqpm.js → shell-mq213kg4.js} +10 -10
  231. package/dist/chunks/{bus-d77r7070.js → shell-mwzkn054.js} +81 -81
  232. package/dist/chunks/{bus-qxcze8af.js → shell-n95h2jb4.js} +16 -16
  233. package/dist/chunks/{bus-pvjjxckp.js → shell-nb93nqqa.js} +31 -31
  234. package/dist/chunks/{bus-wzr2nckg.js → shell-ndpbz77q.js} +3 -3
  235. package/dist/chunks/{bus-6f7n0eyd.js → shell-nec8svhy.js} +34 -34
  236. package/dist/chunks/{bus-pv4pr5bm.js → shell-njcn97q6.js} +19 -19
  237. package/dist/chunks/{bus-qr61aex2.js → shell-nkxfbf5e.js} +23 -23
  238. package/dist/chunks/{bus-2ctpxvpm.js → shell-nmwmadty.js} +12 -12
  239. package/dist/chunks/{bus-vsmhcep0.js → shell-npdgcan7.js} +20 -20
  240. package/dist/chunks/{bus-hf12nyt3.js → shell-nvdvnz35.js} +29 -29
  241. package/dist/chunks/{bus-3ev6762c.js → shell-p3qgwpvm.js} +20 -20
  242. package/dist/chunks/{bus-j15ynj1b.js → shell-pczp76wy.js} +19 -19
  243. package/dist/chunks/{bus-97pd5eqw.js → shell-pd38x771.js} +4 -4
  244. package/dist/chunks/{bus-94cfsgt1.js → shell-pdjjkz20.js} +15 -15
  245. package/dist/chunks/{bus-yewnkzsz.js → shell-pgd10jsf.js} +81 -81
  246. package/dist/chunks/{bus-pknna89w.js → shell-pknna89w.js} +1 -1
  247. package/dist/chunks/{bus-6vmdyhkr.js → shell-psr002z0.js} +11 -11
  248. package/dist/chunks/{bus-rds5ff12.js → shell-q2pyecvj.js} +5 -5
  249. package/dist/chunks/{bus-wccr2qkb.js → shell-q4r31kbf.js} +24 -24
  250. package/dist/chunks/{bus-jhwp234h.js → shell-q65mdntm.js} +4 -4
  251. package/dist/chunks/{bus-swqqhfca.js → shell-q7xcpsfa.js} +7 -7
  252. package/dist/chunks/{bus-776tn0xc.js → shell-q878chk0.js} +358 -358
  253. package/dist/chunks/{bus-wm2h9wn1.js → shell-qa6d23rc.js} +3 -3
  254. package/dist/chunks/{bus-nn6w55pc.js → shell-qa8wq1bx.js} +9 -9
  255. package/dist/chunks/{bus-spt8e44j.js → shell-qby2zbqt.js} +17 -17
  256. package/dist/chunks/{bus-20pht57w.js → shell-qfz6bxfd.js} +4 -4
  257. package/dist/chunks/{bus-vsnnaxjq.js → shell-qkc3z5ds.js} +4 -4
  258. package/dist/chunks/{bus-qp7r0hxv.js → shell-qp7r0hxv.js} +1 -1
  259. package/dist/chunks/{bus-1v62x7nb.js → shell-qqrzc0yh.js} +11 -11
  260. package/dist/chunks/{bus-qqvy8y24.js → shell-qqvy8y24.js} +1 -1
  261. package/dist/chunks/{bus-qsdghx1p.js → shell-qsdghx1p.js} +1 -1
  262. package/dist/chunks/{bus-1xb40zjp.js → shell-qtf35215.js} +3 -3
  263. package/dist/chunks/{bus-j5q72a4r.js → shell-qv9r50zm.js} +18 -18
  264. package/dist/chunks/{bus-vp38q3z5.js → shell-qxc3vksa.js} +11 -11
  265. package/dist/chunks/{bus-dfaw6ypd.js → shell-r0qadsyg.js} +18 -18
  266. package/dist/chunks/{bus-8t99kr38.js → shell-r17fbvme.js} +4 -4
  267. package/dist/chunks/{bus-qnqasnye.js → shell-r1fnsf7p.js} +6 -6
  268. package/dist/chunks/{bus-nz0vwcmr.js → shell-r3tcmkcs.js} +14 -14
  269. package/dist/chunks/{bus-wxttsjt8.js → shell-r56mgjcm.js} +16 -16
  270. package/dist/chunks/{bus-8wn3zh93.js → shell-r82j83q4.js} +27 -27
  271. package/dist/chunks/{bus-4ngryqn9.js → shell-rahnahn3.js} +6 -6
  272. package/dist/chunks/{bus-rb9dy4dg.js → shell-rb9dy4dg.js} +1 -1
  273. package/dist/chunks/{bus-gs4n4z2g.js → shell-rdrzgfkv.js} +6 -6
  274. package/dist/chunks/{bus-rgc9cx3e.js → shell-rgc9cx3e.js} +2 -2
  275. package/dist/chunks/{bus-wt7wzq6n.js → shell-rghhz6zv.js} +11 -11
  276. package/dist/chunks/{bus-xfmn1200.js → shell-rh3shmtx.js} +10 -10
  277. package/dist/chunks/{bus-y1xg28a3.js → shell-rhapzdzw.js} +22 -22
  278. package/dist/chunks/{bus-rjxx2gf5.js → shell-rm3e3cyj.js} +12 -12
  279. package/dist/chunks/{bus-xer2fb76.js → shell-rmhx75t3.js} +19 -19
  280. package/dist/chunks/{bus-narzxsz3.js → shell-rp7apy8s.js} +18 -18
  281. package/dist/chunks/{bus-rt5dr6hb.js → shell-rt5dr6hb.js} +1 -1
  282. package/dist/chunks/{bus-7sztb6xg.js → shell-rvxxwe6w.js} +11 -11
  283. package/dist/chunks/{bus-afnfa54c.js → shell-rxtbt6kv.js} +12 -12
  284. package/dist/chunks/{bus-cy70qkhv.js → shell-ry0v614g.js} +20 -20
  285. package/dist/chunks/{bus-2p60zmnr.js → shell-s1ba0vj0.js} +2 -2
  286. package/dist/chunks/{bus-5gynpj2j.js → shell-s4vamwkg.js} +11 -11
  287. package/dist/chunks/{bus-5ckkk9bj.js → shell-s79v6bct.js} +4 -4
  288. package/dist/chunks/{bus-sa3fpqfw.js → shell-sa3fpqfw.js} +2 -2
  289. package/dist/chunks/{bus-sbya78hr.js → shell-sbya78hr.js} +1 -1
  290. package/dist/chunks/{bus-grxgxjek.js → shell-sh62exzy.js} +21 -21
  291. package/dist/chunks/{bus-qe5vhkh7.js → shell-sh9a1hwy.js} +7 -7
  292. package/dist/chunks/{bus-qkg60srj.js → shell-sp4wf9at.js} +43 -43
  293. package/dist/chunks/{bus-svcy3p9a.js → shell-svcy3p9a.js} +1 -1
  294. package/dist/chunks/{bus-ecm1d7a2.js → shell-t55b5cgh.js} +16 -16
  295. package/dist/chunks/{bus-wfej2c90.js → shell-t9vheqbg.js} +5 -5
  296. package/dist/chunks/{bus-3rapmj7b.js → shell-tah62rx7.js} +8 -8
  297. package/dist/chunks/{bus-tczq8hjw.js → shell-tczq8hjw.js} +1 -1
  298. package/dist/chunks/{bus-60an6ctf.js → shell-tt6gt43w.js} +5 -5
  299. package/dist/chunks/{bus-tvtps2q9.js → shell-tvtps2q9.js} +1 -1
  300. package/dist/chunks/{bus-twssxy5n.js → shell-twssxy5n.js} +2 -2
  301. package/dist/chunks/{bus-agyrz8xh.js → shell-v257k2g9.js} +39 -39
  302. package/dist/chunks/{bus-v2r1d0zg.js → shell-v2r1d0zg.js} +1 -1
  303. package/dist/chunks/{bus-bx3zhw10.js → shell-vd0ryday.js} +34 -34
  304. package/dist/chunks/{bus-vjf35v1f.js → shell-vjf35v1f.js} +1 -1
  305. package/dist/chunks/{bus-s26c8eb5.js → shell-vmxsyvj6.js} +4 -4
  306. package/dist/chunks/{bus-2magbsmb.js → shell-vv8kfd4w.js} +24 -24
  307. package/dist/chunks/{bus-50w7720n.js → shell-vvpmgzp6.js} +35 -35
  308. package/dist/chunks/{bus-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
  309. package/dist/chunks/{bus-8e2q6s6v.js → shell-w4e86a8d.js} +3 -3
  310. package/dist/chunks/{bus-w35wzz9x.js → shell-w79nt68w.js} +4 -4
  311. package/dist/chunks/{bus-wakvkjy4.js → shell-wakvkjy4.js} +1 -1
  312. package/dist/chunks/{bus-sbma5mtc.js → shell-wcrzq7nt.js} +27 -27
  313. package/dist/chunks/{bus-wd87259q.js → shell-wd87259q.js} +1 -1
  314. package/dist/chunks/{bus-wegkxhrn.js → shell-wegkxhrn.js} +2 -2
  315. package/dist/chunks/{bus-kak9xpb9.js → shell-whdsx4c1.js} +14 -14
  316. package/dist/chunks/{bus-wnhgecwx.js → shell-wnhgecwx.js} +1 -1
  317. package/dist/chunks/{bus-k50k7jc0.js → shell-wxs085yw.js} +11 -11
  318. package/dist/chunks/{bus-b8s66ae1.js → shell-x150ncgg.js} +2 -2
  319. package/dist/chunks/{bus-dtwk4r39.js → shell-x423karh.js} +1 -1
  320. package/dist/chunks/{bus-jy6kj5ph.js → shell-x950xzef.js} +19 -19
  321. package/dist/chunks/{bus-afdgc3vs.js → shell-xbfvprv6.js} +43 -43
  322. package/dist/chunks/{bus-awkn3h2h.js → shell-xertjmz1.js} +5 -5
  323. package/dist/chunks/{bus-xxschbft.js → shell-xjr6c8m4.js} +4 -4
  324. package/dist/chunks/{bus-yts2a8qm.js → shell-xksw6ev0.js} +4 -4
  325. package/dist/chunks/{bus-8n09hdvs.js → shell-xp6dqf4j.js} +8 -8
  326. package/dist/chunks/{bus-bx8nq7pr.js → shell-xw8c6gnm.js} +14 -14
  327. package/dist/chunks/{bus-qdwsperk.js → shell-y7t9x7tn.js} +6 -6
  328. package/dist/chunks/{bus-yb20nhc3.js → shell-yb20nhc3.js} +1 -1
  329. package/dist/chunks/{bus-6xc88389.js → shell-yb6m76fq.js} +10 -10
  330. package/dist/chunks/{bus-msd2a3qm.js → shell-ybws1qgk.js} +4 -4
  331. package/dist/chunks/{bus-17d3gt7t.js → shell-yd109x35.js} +20 -20
  332. package/dist/chunks/{bus-9rgr5dz2.js → shell-yfmbdz01.js} +4 -4
  333. package/dist/chunks/{bus-qw6nz8fx.js → shell-yh1setas.js} +4 -4
  334. package/dist/chunks/{bus-jjc8p30h.js → shell-yjsamv7j.js} +32 -32
  335. package/dist/chunks/{bus-wjyjrd90.js → shell-ym7qyz8p.js} +23 -23
  336. package/dist/chunks/{bus-yr705xyq.js → shell-yr705xyq.js} +1 -1
  337. package/dist/chunks/{bus-yvtc2x31.js → shell-yvtc2x31.js} +1 -1
  338. package/dist/chunks/{bus-73ncaqjh.js → shell-ywz0n6pd.js} +9 -9
  339. package/dist/chunks/{bus-36rv6gqa.js → shell-zadskqzh.js} +15 -15
  340. package/dist/chunks/{bus-e9d62zj1.js → shell-zdt1g382.js} +18 -18
  341. package/dist/chunks/{bus-24by7f9w.js → shell-zh1vrc3z.js} +14 -14
  342. package/dist/chunks/{bus-vrqpnmfa.js → shell-znq320h5.js} +33 -33
  343. package/dist/chunks/{bus-qs66m7qc.js → shell-zsqh38e7.js} +11 -11
  344. package/dist/chunks/{bus-spz5sz38.js → shell-zyfhsknv.js} +9 -9
  345. package/dist/codemode/catalog.js +1 -1
  346. package/dist/codemode/execution.js +3 -3
  347. package/dist/codemode/fetch.js +145 -145
  348. package/dist/codemode/instructions.js +9 -9
  349. package/dist/codemode/tool.js +151 -151
  350. package/dist/command.js +94 -94
  351. package/dist/config/discovery.js +95 -95
  352. package/dist/config/integration.js +3 -3
  353. package/dist/config/managed.js +1 -1
  354. package/dist/config/markdown.js +1 -1
  355. package/dist/config/normalize.js +112 -112
  356. package/dist/config/plugin/agent.js +133 -133
  357. package/dist/config/plugin/command.js +234 -234
  358. package/dist/config/plugin/compaction.js +171 -171
  359. package/dist/config/plugin/compatibility.js +150 -150
  360. package/dist/config/plugin/entry-observer.js +1 -1
  361. package/dist/config/plugin/formatter.js +131 -131
  362. package/dist/config/plugin/image.js +130 -130
  363. package/dist/config/plugin/instruction.js +130 -130
  364. package/dist/config/plugin/location-watcher.js +130 -130
  365. package/dist/config/plugin/mcp.js +143 -143
  366. package/dist/config/plugin/policy.js +130 -130
  367. package/dist/config/plugin/provider.js +130 -130
  368. package/dist/config/plugin/reference.js +132 -132
  369. package/dist/config/plugin/shell.js +132 -132
  370. package/dist/config/plugin/skill-file.js +146 -146
  371. package/dist/config/plugin/skill-scan.js +1 -1
  372. package/dist/config/plugin/skill.js +153 -153
  373. package/dist/config/plugin/snapshot.js +130 -130
  374. package/dist/config/plugin/source.js +134 -134
  375. package/dist/config/plugin/tool-output.js +131 -131
  376. package/dist/config/plugin/websearch.js +131 -131
  377. package/dist/config/plugin/worktree.js +132 -132
  378. package/dist/config/variable.js +1 -1
  379. package/dist/config/watch.js +1 -1
  380. package/dist/config.js +133 -133
  381. package/dist/console-access.js +1 -1
  382. package/dist/credential/sql.js +2 -2
  383. package/dist/credential.js +94 -94
  384. package/dist/database/database.js +77 -77
  385. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  386. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  387. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  388. package/dist/database/drizzle/index.js +15 -15
  389. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  390. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  391. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  392. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  393. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  394. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  395. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  396. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  397. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  398. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  399. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  400. package/dist/database/drizzle.js +16 -16
  401. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  402. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  403. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  404. package/dist/database/migration/20260225215848_workspace.js +1 -1
  405. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  406. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  407. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  408. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  409. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  410. package/dist/database/migration/20260323234822_events.js +1 -1
  411. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  412. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  413. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  414. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  415. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  416. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  417. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  418. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  419. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  420. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  421. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  422. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  423. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  424. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  425. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  426. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  427. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  428. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  429. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  430. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  431. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  432. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  433. package/dist/database/migration/20260611035744_credential.js +1 -1
  434. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  435. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  436. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  437. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  438. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  439. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  440. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  441. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  442. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  443. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  444. package/dist/database/migration/20260812213948_worktree.js +1 -1
  445. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  446. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  447. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  448. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  449. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  450. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  451. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  452. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  453. package/dist/database/migration/20261025123711_blob.js +1 -1
  454. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  455. package/dist/database/migration/20261026223005_schedule.js +1 -1
  456. package/dist/database/migration/20261029002625_session_part.js +1 -1
  457. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  458. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  459. package/dist/database/migration/20261030054400_job.js +1 -1
  460. package/dist/database/migration.gen.js +60 -60
  461. package/dist/database/migration.js +62 -62
  462. package/dist/database/path.js +2 -2
  463. package/dist/database/schema.gen.js +1 -1
  464. package/dist/database/schema.sql.js +1 -1
  465. package/dist/database/v1-migration.bun.js +105 -105
  466. package/dist/database/v1-migration.js +1 -1
  467. package/dist/effect/app-node-builder.js +435 -435
  468. package/dist/effect/app-node-platform.js +2 -2
  469. package/dist/effect/keyed-mutex.js +3 -3
  470. package/dist/effect/websocket-constructor.js +1 -1
  471. package/dist/environment/driver.js +1 -1
  472. package/dist/environment/environment.js +105 -105
  473. package/dist/environment/exec-defaults.js +2 -2
  474. package/dist/environment/files.js +1 -1
  475. package/dist/environment/index.js +107 -107
  476. package/dist/environment/local.js +2 -2
  477. package/dist/environment/memory.js +2 -2
  478. package/dist/environment/unavailable.js +3 -3
  479. package/dist/event/sql.js +1 -1
  480. package/dist/event-logger.js +81 -81
  481. package/dist/file-access.js +157 -157
  482. package/dist/file-mutation.js +108 -108
  483. package/dist/file-retention.js +1 -1
  484. package/dist/file-write.js +161 -161
  485. package/dist/filesystem/fff.bun.js +2 -2
  486. package/dist/filesystem/fff.js +1 -1
  487. package/dist/filesystem/fff.node.js +2 -2
  488. package/dist/filesystem/fff.workerd.js +2 -2
  489. package/dist/filesystem/file-watch.js +88 -88
  490. package/dist/filesystem/location-watcher-policy.js +6 -6
  491. package/dist/filesystem/location-watcher.js +245 -245
  492. package/dist/filesystem/protected.js +1 -1
  493. package/dist/filesystem/search.js +113 -113
  494. package/dist/filesystem/watcher-binding.js +1 -1
  495. package/dist/filesystem/watcher.js +9 -9
  496. package/dist/filesystem.js +114 -114
  497. package/dist/form.js +95 -95
  498. package/dist/formatter/builtins.js +4 -4
  499. package/dist/formatter.js +100 -100
  500. package/dist/generate.js +122 -122
  501. package/dist/git.js +9 -9
  502. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  503. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  504. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  505. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  506. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  507. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  508. package/dist/github-copilot/copilot-provider.js +17 -17
  509. package/dist/github-copilot/models.js +112 -112
  510. package/dist/github-copilot/openai-compatible-error.js +1 -1
  511. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  512. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  513. package/dist/github-copilot/responses/openai-error.js +1 -1
  514. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  515. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  516. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  517. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  518. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  519. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  520. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  521. package/dist/image/notice.js +1 -1
  522. package/dist/image/photon-normalize.js +1 -1
  523. package/dist/image/photon-worker.js +1 -1
  524. package/dist/image/photon.js +4 -4
  525. package/dist/image.js +6 -6
  526. package/dist/instance/service.js +5 -5
  527. package/dist/instance.js +426 -426
  528. package/dist/instruction-discovery.js +93 -93
  529. package/dist/instructions/builtins.js +100 -100
  530. package/dist/instructions/index.js +3 -3
  531. package/dist/integration/connection.js +3 -3
  532. package/dist/integration.js +100 -100
  533. package/dist/job/sql.js +2 -2
  534. package/dist/job.js +86 -86
  535. package/dist/kv/sql.js +2 -2
  536. package/dist/kv.js +84 -84
  537. package/dist/location-activity.js +176 -176
  538. package/dist/location-lifecycle.js +150 -150
  539. package/dist/location-service-map.js +99 -99
  540. package/dist/location-services.js +423 -423
  541. package/dist/location.js +100 -100
  542. package/dist/managed-policy.js +3 -3
  543. package/dist/mcp/client.js +105 -105
  544. package/dist/mcp/connection.js +106 -106
  545. package/dist/mcp/index.js +122 -122
  546. package/dist/mcp/instructions.js +183 -183
  547. package/dist/mcp/oauth.js +89 -89
  548. package/dist/mcp/socket-client.js +1 -1
  549. package/dist/mcp/stdio.js +104 -104
  550. package/dist/mime.js +1 -1
  551. package/dist/modal/models.js +112 -112
  552. package/dist/model-resolver.js +112 -112
  553. package/dist/model-retry.js +1 -1
  554. package/dist/model.js +113 -113
  555. package/dist/models-dev/v1.js +1 -1
  556. package/dist/models-dev.js +117 -117
  557. package/dist/oauth/page.js +1 -1
  558. package/dist/permission/saved.js +91 -91
  559. package/dist/permission/sql.js +5 -5
  560. package/dist/permission.js +149 -149
  561. package/dist/persistent-pty/binary.bun.js +1 -1
  562. package/dist/persistent-pty/daemon.js +1 -1
  563. package/dist/persistent-pty/index.js +101 -101
  564. package/dist/persistent-pty/pty-binding.js +1 -1
  565. package/dist/persistent-pty.js +86 -86
  566. package/dist/plugin/agent.js +87 -87
  567. package/dist/plugin/command.js +117 -117
  568. package/dist/plugin/goal.js +3 -3
  569. package/dist/plugin/hooks.js +5 -5
  570. package/dist/plugin/host.js +238 -238
  571. package/dist/plugin/identity.js +5 -5
  572. package/dist/plugin/instance.js +5 -5
  573. package/dist/plugin/internal.js +402 -402
  574. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  575. package/dist/plugin/models-dev.js +110 -110
  576. package/dist/plugin/module.js +129 -129
  577. package/dist/plugin/optimize.js +4 -4
  578. package/dist/plugin/plan.js +146 -146
  579. package/dist/plugin/promise.js +1 -1
  580. package/dist/plugin/provider/amazon-bedrock.js +106 -106
  581. package/dist/plugin/provider/azure.js +133 -133
  582. package/dist/plugin/provider/cerebras.js +1 -1
  583. package/dist/plugin/provider/chatgpt.js +133 -133
  584. package/dist/plugin/provider/claude-agent/aisdk.js +115 -115
  585. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  586. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  587. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  588. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  589. package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
  590. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  591. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  592. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  593. package/dist/plugin/provider/claude-agent/index.js +148 -148
  594. package/dist/plugin/provider/claude-agent/instructions.js +114 -114
  595. package/dist/plugin/provider/claude-agent/integration.js +115 -115
  596. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  597. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  598. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  599. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  600. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  601. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  602. package/dist/plugin/provider/claude-agent/language-model/usage.js +5 -5
  603. package/dist/plugin/provider/claude-agent/provider.js +110 -110
  604. package/dist/plugin/provider/claude-agent/session.js +112 -112
  605. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  606. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  607. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  608. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  609. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  610. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  611. package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
  612. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  613. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  614. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  615. package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
  616. package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
  617. package/dist/plugin/provider/configured.js +126 -126
  618. package/dist/plugin/provider/credential-settings.js +88 -88
  619. package/dist/plugin/provider/databricks.js +1 -1
  620. package/dist/plugin/provider/digitalocean.js +109 -109
  621. package/dist/plugin/provider/dynamic.js +2 -2
  622. package/dist/plugin/provider/github-copilot.js +111 -111
  623. package/dist/plugin/provider/gitlab.js +109 -109
  624. package/dist/plugin/provider/google-vertex.js +127 -127
  625. package/dist/plugin/provider/kilo.js +1 -1
  626. package/dist/plugin/provider/llmgateway.js +89 -89
  627. package/dist/plugin/provider/lmstudio.js +140 -140
  628. package/dist/plugin/provider/local.js +137 -137
  629. package/dist/plugin/provider/modal.js +108 -108
  630. package/dist/plugin/provider/neon.js +1 -1
  631. package/dist/plugin/provider/nvidia.js +1 -1
  632. package/dist/plugin/provider/ollama.js +140 -140
  633. package/dist/plugin/provider/openai-context-caps.js +106 -106
  634. package/dist/plugin/provider/openai.js +135 -135
  635. package/dist/plugin/provider/opencode.js +157 -157
  636. package/dist/plugin/provider/openrouter.js +104 -104
  637. package/dist/plugin/provider/poe.js +90 -90
  638. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  639. package/dist/plugin/provider/refresh.js +87 -87
  640. package/dist/plugin/provider/sap-ai-core.js +104 -104
  641. package/dist/plugin/provider/sdk-factory.js +1 -1
  642. package/dist/plugin/provider/snowflake-cortex.js +131 -131
  643. package/dist/plugin/provider/vllm.js +140 -140
  644. package/dist/plugin/provider/xai.js +104 -104
  645. package/dist/plugin/provider/zenmux.js +1 -1
  646. package/dist/plugin/provider.js +235 -235
  647. package/dist/plugin/sdk.js +87 -87
  648. package/dist/plugin/service.js +3 -3
  649. package/dist/plugin/skill.js +149 -149
  650. package/dist/plugin/source-directory.js +1 -1
  651. package/dist/plugin/supervisor.js +414 -414
  652. package/dist/plugin/tool-input-repair.js +4 -4
  653. package/dist/plugin/update.js +6 -6
  654. package/dist/plugin/vcs/git.js +99 -99
  655. package/dist/plugin/vcs/hg.js +99 -99
  656. package/dist/plugin/verbosity.js +106 -106
  657. package/dist/plugin/warming.js +130 -130
  658. package/dist/plugin/websearch/exa.js +8 -8
  659. package/dist/plugin/websearch/firecrawl.js +9 -9
  660. package/dist/plugin/websearch/index.js +10 -10
  661. package/dist/plugin/websearch/mcp.js +6 -6
  662. package/dist/plugin/websearch/parallel.js +9 -9
  663. package/dist/plugin/websearch/provider.js +3 -3
  664. package/dist/plugin/websearch/tavily.js +5 -5
  665. package/dist/plugin/websearch/tinyfish.js +9 -9
  666. package/dist/plugin.js +245 -245
  667. package/dist/project/icon.js +5 -5
  668. package/dist/project/schema.js +8 -8
  669. package/dist/project/sql.js +4 -4
  670. package/dist/project.js +101 -101
  671. package/dist/provider.js +110 -110
  672. package/dist/pty/protocol.js +1 -1
  673. package/dist/pty/ticket.js +1 -1
  674. package/dist/pty.js +113 -113
  675. package/dist/reference/instructions.js +101 -101
  676. package/dist/reference.js +101 -101
  677. package/dist/repository-cache.js +93 -93
  678. package/dist/repository.js +3 -3
  679. package/dist/ripgrep/binary.js +2 -2
  680. package/dist/ripgrep.js +111 -111
  681. package/dist/rpc.js +99 -99
  682. package/dist/schedule/check.js +243 -243
  683. package/dist/schedule/sql.js +6 -6
  684. package/dist/schedule.js +249 -249
  685. package/dist/schema.js +1 -1
  686. package/dist/session/affinity.js +1 -1
  687. package/dist/session/background.js +1 -1
  688. package/dist/session/blob.js +129 -129
  689. package/dist/session/command.js +85 -85
  690. package/dist/session/compaction.js +171 -171
  691. package/dist/session/context.js +200 -200
  692. package/dist/session/diff.js +101 -101
  693. package/dist/session/environment.js +5 -5
  694. package/dist/session/error.js +3 -3
  695. package/dist/session/event.js +1 -1
  696. package/dist/session/execution/restart.js +241 -241
  697. package/dist/session/execution.js +161 -161
  698. package/dist/session/generate.js +202 -202
  699. package/dist/session/history.js +136 -136
  700. package/dist/session/inbox.js +143 -143
  701. package/dist/session/info.js +3 -3
  702. package/dist/session/instruction-entry.js +90 -90
  703. package/dist/session/instruction-state.js +8 -8
  704. package/dist/session/instructions.js +143 -143
  705. package/dist/session/message-updater.js +2 -2
  706. package/dist/session/message.js +1 -1
  707. package/dist/session/model-request.js +168 -168
  708. package/dist/session/model-transport.js +9 -9
  709. package/dist/session/move.js +165 -165
  710. package/dist/session/projector.js +143 -143
  711. package/dist/session/prompt.js +148 -148
  712. package/dist/session/recent-text.js +1 -1
  713. package/dist/session/revert.js +139 -139
  714. package/dist/session/run-coordinator.js +1 -1
  715. package/dist/session/runner/index.js +3 -3
  716. package/dist/session/runner/llm.js +252 -252
  717. package/dist/session/runner/max-steps.js +1 -1
  718. package/dist/session/runner/model.js +113 -113
  719. package/dist/session/runner/publish-llm-event.js +149 -149
  720. package/dist/session/runner/retry.js +5 -5
  721. package/dist/session/runner/step.js +163 -163
  722. package/dist/session/runner/to-llm-message.js +137 -137
  723. package/dist/session/schema.js +5 -5
  724. package/dist/session/session.js +180 -180
  725. package/dist/session/shell.js +145 -145
  726. package/dist/session/skill.js +147 -147
  727. package/dist/session/sql.js +5 -5
  728. package/dist/session/stats.js +84 -84
  729. package/dist/session/store.js +142 -142
  730. package/dist/session/stored.js +2 -2
  731. package/dist/session/subagent-completion.js +1 -1
  732. package/dist/session/subagent-job.js +231 -231
  733. package/dist/session/system-prompt.js +5 -5
  734. package/dist/session/title.js +204 -204
  735. package/dist/session/to-session-error.js +148 -148
  736. package/dist/session/transfer.js +238 -238
  737. package/dist/session/usage.js +3 -3
  738. package/dist/session.js +233 -233
  739. package/dist/shared-cache.js +5 -5
  740. package/dist/shell/parse.js +6 -6
  741. package/dist/shell/result.js +1 -1
  742. package/dist/shell/scan.js +1 -1
  743. package/dist/shell/select.js +13 -13
  744. package/dist/shell.js +147 -147
  745. package/dist/skill/discovery.js +6 -6
  746. package/dist/skill/instructions.js +151 -151
  747. package/dist/skill.js +154 -154
  748. package/dist/snapshot.js +102 -102
  749. package/dist/state.js +1 -1
  750. package/dist/tool/html-markdown.js +1 -1
  751. package/dist/tool/http-body.js +1 -1
  752. package/dist/tool/mcp.js +182 -182
  753. package/dist/tool/plugin/artifact.js +230 -230
  754. package/dist/tool/plugin/edit.js +167 -167
  755. package/dist/tool/plugin/file-diff.js +1 -1
  756. package/dist/tool/plugin/glob.js +165 -165
  757. package/dist/tool/plugin/grep.js +170 -170
  758. package/dist/tool/plugin/image-generate.js +241 -241
  759. package/dist/tool/plugin/mcp-resource.js +164 -164
  760. package/dist/tool/plugin/opencode.js +163 -163
  761. package/dist/tool/plugin/patch.js +164 -164
  762. package/dist/tool/plugin/question.js +148 -148
  763. package/dist/tool/plugin/read.js +172 -172
  764. package/dist/tool/plugin/schedule.js +247 -247
  765. package/dist/tool/plugin/shell.js +237 -237
  766. package/dist/tool/plugin/skill.js +155 -155
  767. package/dist/tool/plugin/subagent.js +238 -238
  768. package/dist/tool/plugin/todo.js +153 -153
  769. package/dist/tool/plugin/webfetch.js +157 -157
  770. package/dist/tool/plugin/websearch.js +155 -155
  771. package/dist/tool/plugin/write.js +162 -162
  772. package/dist/tool/read-filesystem.js +114 -114
  773. package/dist/tool/runtime.js +1 -1
  774. package/dist/tool/search.js +109 -109
  775. package/dist/tool-output.js +7 -7
  776. package/dist/tool.js +157 -157
  777. package/dist/usage-limits.js +100 -100
  778. package/dist/util/error-summary.js +1 -1
  779. package/dist/util/git-executable.js +3 -3
  780. package/dist/util/lazy.js +1 -1
  781. package/dist/util/slug.js +1 -1
  782. package/dist/util/token.js +1 -1
  783. package/dist/util/which.js +1 -1
  784. package/dist/util/wildcard.js +1 -1
  785. package/dist/v1/config/agent.js +7 -7
  786. package/dist/v1/config/command.js +3 -3
  787. package/dist/v1/config/mcp.js +4 -4
  788. package/dist/v1/config/migrate.js +105 -105
  789. package/dist/v1/config/permission.js +3 -3
  790. package/dist/v1/config/plugin.js +3 -3
  791. package/dist/v1/config/provider-options.js +1 -1
  792. package/dist/v1/config/provider.js +4 -4
  793. package/dist/variant.js +104 -104
  794. package/dist/vcs/patch.js +1 -1
  795. package/dist/vcs.js +102 -102
  796. package/dist/voice.js +99 -99
  797. package/dist/websearch.js +101 -101
  798. package/dist/wellknown/plugin.js +87 -87
  799. package/dist/wellknown.js +92 -92
  800. package/dist/workspace/driver.js +5 -5
  801. package/dist/workspace/sql.js +1 -1
  802. package/dist/workspace.js +93 -93
  803. package/dist/worktree/directory.js +2 -2
  804. package/dist/worktree/git.js +9 -9
  805. package/dist/worktree/sql.js +5 -5
  806. package/dist/worktree/strategies.js +102 -102
  807. package/dist/worktree.js +107 -107
  808. package/package.json +8 -8
  809. package/dist/chunks/bus-bhhj5802.js +0 -26
  810. package/dist/chunks/bus-hnjwtrny.js +0 -265
  811. package/dist/chunks/bus-v8vhf2as.js +0 -18
  812. /package/dist/chunks/{bus-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
  813. /package/dist/chunks/{bus-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
  814. /package/dist/chunks/{bus-108x4f4w.js → shell-108x4f4w.js} +0 -0
  815. /package/dist/chunks/{bus-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
  816. /package/dist/chunks/{bus-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
  817. /package/dist/chunks/{bus-1kah00gy.js → shell-1kah00gy.js} +0 -0
  818. /package/dist/chunks/{bus-24dcb14g.js → shell-24dcb14g.js} +0 -0
  819. /package/dist/chunks/{bus-2710q6r3.js → shell-2710q6r3.js} +0 -0
  820. /package/dist/chunks/{bus-2bv980vf.js → shell-2bv980vf.js} +0 -0
  821. /package/dist/chunks/{bus-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
  822. /package/dist/chunks/{bus-359p4xyc.js → shell-359p4xyc.js} +0 -0
  823. /package/dist/chunks/{bus-3af0jn4w.js → shell-3af0jn4w.js} +0 -0
  824. /package/dist/chunks/{bus-3asan66x.js → shell-3asan66x.js} +0 -0
  825. /package/dist/chunks/{bus-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
  826. /package/dist/chunks/{bus-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
  827. /package/dist/chunks/{bus-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
  828. /package/dist/chunks/{bus-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
  829. /package/dist/chunks/{bus-4qk9sjk2.js → shell-4qk9sjk2.js} +0 -0
  830. /package/dist/chunks/{bus-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
  831. /package/dist/chunks/{bus-53557ph1.js → shell-53557ph1.js} +0 -0
  832. /package/dist/chunks/{bus-550bvhaj.js → shell-550bvhaj.js} +0 -0
  833. /package/dist/chunks/{bus-5w3e23ze.js → shell-5w3e23ze.js} +0 -0
  834. /package/dist/chunks/{bus-6agm2x70.js → shell-6agm2x70.js} +0 -0
  835. /package/dist/chunks/{bus-6prwharc.js → shell-6prwharc.js} +0 -0
  836. /package/dist/chunks/{bus-6q2bdcd1.js → shell-6q2bdcd1.js} +0 -0
  837. /package/dist/chunks/{bus-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
  838. /package/dist/chunks/{bus-7m9af43g.js → shell-7m9af43g.js} +0 -0
  839. /package/dist/chunks/{bus-822emrt2.js → shell-822emrt2.js} +0 -0
  840. /package/dist/chunks/{bus-84wd9syh.js → shell-84wd9syh.js} +0 -0
  841. /package/dist/chunks/{bus-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
  842. /package/dist/chunks/{bus-8n3pysct.js → shell-8n3pysct.js} +0 -0
  843. /package/dist/chunks/{bus-8wj87zfr.js → shell-8wj87zfr.js} +0 -0
  844. /package/dist/chunks/{bus-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
  845. /package/dist/chunks/{bus-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
  846. /package/dist/chunks/{bus-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
  847. /package/dist/chunks/{bus-af5trqkr.js → shell-af5trqkr.js} +0 -0
  848. /package/dist/chunks/{bus-afrmfg78.js → shell-afrmfg78.js} +0 -0
  849. /package/dist/chunks/{bus-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
  850. /package/dist/chunks/{bus-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
  851. /package/dist/chunks/{bus-beh6qq61.js → shell-beh6qq61.js} +0 -0
  852. /package/dist/chunks/{bus-bhmrqjy3.js → shell-bhmrqjy3.js} +0 -0
  853. /package/dist/chunks/{bus-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
  854. /package/dist/chunks/{bus-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
  855. /package/dist/chunks/{bus-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
  856. /package/dist/chunks/{bus-cqv5kn06.js → shell-cqv5kn06.js} +0 -0
  857. /package/dist/chunks/{bus-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
  858. /package/dist/chunks/{bus-d9fn303g.js → shell-d9fn303g.js} +0 -0
  859. /package/dist/chunks/{bus-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
  860. /package/dist/chunks/{bus-dap0rakb.js → shell-dap0rakb.js} +0 -0
  861. /package/dist/chunks/{bus-df08tz66.js → shell-df08tz66.js} +0 -0
  862. /package/dist/chunks/{bus-dy18nga0.js → shell-dy18nga0.js} +0 -0
  863. /package/dist/chunks/{bus-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
  864. /package/dist/chunks/{bus-ean2d8b5.js → shell-ean2d8b5.js} +0 -0
  865. /package/dist/chunks/{bus-ec1grn59.js → shell-ec1grn59.js} +0 -0
  866. /package/dist/chunks/{bus-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
  867. /package/dist/chunks/{bus-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
  868. /package/dist/chunks/{bus-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
  869. /package/dist/chunks/{bus-faypxj3z.js → shell-faypxj3z.js} +0 -0
  870. /package/dist/chunks/{bus-fd410y7t.js → shell-fd410y7t.js} +0 -0
  871. /package/dist/chunks/{bus-fkpq3x5p.js → shell-fkpq3x5p.js} +0 -0
  872. /package/dist/chunks/{bus-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
  873. /package/dist/chunks/{bus-g86h250q.js → shell-g86h250q.js} +0 -0
  874. /package/dist/chunks/{bus-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
  875. /package/dist/chunks/{bus-gftt206x.js → shell-gftt206x.js} +0 -0
  876. /package/dist/chunks/{bus-hcxmzztb.js → shell-hcxmzztb.js} +0 -0
  877. /package/dist/chunks/{bus-hk9envan.js → shell-hk9envan.js} +0 -0
  878. /package/dist/chunks/{bus-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
  879. /package/dist/chunks/{bus-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
  880. /package/dist/chunks/{bus-jjkms2e6.js → shell-jjkms2e6.js} +0 -0
  881. /package/dist/chunks/{bus-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
  882. /package/dist/chunks/{bus-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
  883. /package/dist/chunks/{bus-jwr30sdr.js → shell-jwr30sdr.js} +0 -0
  884. /package/dist/chunks/{bus-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
  885. /package/dist/chunks/{bus-m18g726c.js → shell-m18g726c.js} +0 -0
  886. /package/dist/chunks/{bus-mp448xyj.js → shell-mp448xyj.js} +0 -0
  887. /package/dist/chunks/{bus-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
  888. /package/dist/chunks/{bus-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
  889. /package/dist/chunks/{bus-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
  890. /package/dist/chunks/{bus-nh4v3znn.js → shell-nh4v3znn.js} +0 -0
  891. /package/dist/chunks/{bus-njntx4h6.js → shell-njntx4h6.js} +0 -0
  892. /package/dist/chunks/{bus-p71gwv9c.js → shell-p71gwv9c.js} +0 -0
  893. /package/dist/chunks/{bus-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
  894. /package/dist/chunks/{bus-q74kybfr.js → shell-q74kybfr.js} +0 -0
  895. /package/dist/chunks/{bus-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
  896. /package/dist/chunks/{bus-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
  897. /package/dist/chunks/{bus-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
  898. /package/dist/chunks/{bus-qg3g05ea.js → shell-qg3g05ea.js} +0 -0
  899. /package/dist/chunks/{bus-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
  900. /package/dist/chunks/{bus-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
  901. /package/dist/chunks/{bus-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
  902. /package/dist/chunks/{bus-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
  903. /package/dist/chunks/{bus-syrav9an.js → shell-syrav9an.js} +0 -0
  904. /package/dist/chunks/{bus-t03h4f5z.js → shell-t03h4f5z.js} +0 -0
  905. /package/dist/chunks/{bus-ty7weeps.js → shell-ty7weeps.js} +0 -0
  906. /package/dist/chunks/{bus-ve7vex1e.js → shell-ve7vex1e.js} +0 -0
  907. /package/dist/chunks/{bus-vtarvj67.js → shell-vtarvj67.js} +0 -0
  908. /package/dist/chunks/{bus-w803qqfp.js → shell-w803qqfp.js} +0 -0
  909. /package/dist/chunks/{bus-wc3fc9cn.js → shell-wc3fc9cn.js} +0 -0
  910. /package/dist/chunks/{bus-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
  911. /package/dist/chunks/{bus-wtztk69x.js → shell-wtztk69x.js} +0 -0
  912. /package/dist/chunks/{bus-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
  913. /package/dist/chunks/{bus-x61499pn.js → shell-x61499pn.js} +0 -0
  914. /package/dist/chunks/{bus-y44na4kk.js → shell-y44na4kk.js} +0 -0
  915. /package/dist/chunks/{bus-y8f7s663.js → shell-y8f7s663.js} +0 -0
  916. /package/dist/chunks/{bus-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
  917. /package/dist/chunks/{bus-z0h12gs8.js → shell-z0h12gs8.js} +0 -0
  918. /package/dist/chunks/{bus-z5v4ffb3.js → shell-z5v4ffb3.js} +0 -0
  919. /package/dist/chunks/{bus-z9919s4g.js → shell-z9919s4g.js} +0 -0
  920. /package/dist/chunks/{bus-zxpyjp51.js → shell-zxpyjp51.js} +0 -0
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./bus-z5v4ffb3.js";
3
+ } from "./shell-z5v4ffb3.js";
4
4
  import {
5
- Service83
6
- } from "./bus-nz0vwcmr.js";
5
+ Service84
6
+ } from "./shell-r3tcmkcs.js";
7
7
  import {
8
8
  NotFound3
9
- } from "./bus-svcy3p9a.js";
9
+ } from "./shell-svcy3p9a.js";
10
10
  import {
11
11
  makeFiles2
12
- } from "./bus-rgc9cx3e.js";
12
+ } from "./shell-rgc9cx3e.js";
13
13
  import {
14
14
  makeMemoryDriver2
15
- } from "./bus-twssxy5n.js";
15
+ } from "./shell-twssxy5n.js";
16
16
  import {
17
17
  invocation2,
18
- Service67
19
- } from "./bus-50w7720n.js";
18
+ Service61
19
+ } from "./shell-vvpmgzp6.js";
20
20
  import {
21
- Service29
22
- } from "./bus-1mf6mf1k.js";
21
+ Service21
22
+ } from "./shell-e27xj7a8.js";
23
23
  import {
24
- Service6
25
- } from "./bus-za9vg3rv.js";
24
+ Service9
25
+ } from "./shell-dn75egny.js";
26
26
  import {
27
27
  ID8,
28
28
  uri2,
29
29
  isUri2,
30
- Service46
31
- } from "./bus-2eqkfqpq.js";
30
+ Service43
31
+ } from "./shell-m2tvmwk7.js";
32
32
  import {
33
33
  isSafeSegment2
34
- } from "./bus-rp6t20zc.js";
34
+ } from "./shell-gerka9tj.js";
35
35
  import {
36
36
  BinaryFileError2,
37
37
  MediaIngestLimitError2,
@@ -41,27 +41,27 @@ import {
41
41
  FileContent2,
42
42
  TextPage2,
43
43
  ListPage2,
44
- Service41,
44
+ Service36,
45
45
  read2
46
- } from "./bus-yrjktvt0.js";
46
+ } from "./shell-b7sygazy.js";
47
47
  import {
48
48
  __export
49
- } from "./bus-9rqn6x4v.js";
49
+ } from "./shell-9rqn6x4v.js";
50
50
 
51
51
  // src/tool/plugin/read.ts
52
52
  var exports_read = {};
53
53
  __export(exports_read, {
54
- Input: () => Input9,
55
- Plugin: () => Plugin30,
54
+ Input: () => Input2,
55
+ Plugin: () => Plugin20,
56
56
  ReadTool: () => exports_read,
57
- name: () => name9,
58
- toModelContent: () => toModelContent4
57
+ name: () => name2,
58
+ toModelContent: () => toModelContent2
59
59
  });
60
60
  import { basename, dirname, join } from "path";
61
61
  import { ToolFailure } from "@opencode/ai/effect";
62
62
  import { Effect, Schema } from "effect";
63
63
  import { FSUtil } from "@opencode/util/fs-util";
64
- var name9 = "read";
64
+ var name2 = "read";
65
65
  var FILENAME = "AGENTS.md";
66
66
  var LocationInput = Schema.Struct({
67
67
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -72,23 +72,23 @@ var LocationInput = Schema.Struct({
72
72
  description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
73
73
  })
74
74
  });
75
- var Input9 = LocationInput;
75
+ var Input2 = LocationInput;
76
76
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
77
- var Plugin30 = {
77
+ var Plugin20 = {
78
78
  id: "opencode.tool.read",
79
79
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
80
- const reader = yield* Service41;
81
- const access = yield* Service29;
82
- const permission = yield* Service67;
83
- const skills = yield* Service46;
84
- const sessionInstructions = yield* Service6;
80
+ const reader = yield* Service36;
81
+ const access = yield* Service21;
82
+ const permission = yield* Service61;
83
+ const skills = yield* Service43;
84
+ const sessionInstructions = yield* Service9;
85
85
  const fs = yield* FSUtil.Service;
86
- const location = yield* Service83;
86
+ const location = yield* Service84;
87
87
  yield* ctx.tool.transform((editor) => editor.add({
88
- name: name9,
88
+ name: name2,
89
89
  options: { codemode: false },
90
90
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
91
- input: Input9,
91
+ input: Input2,
92
92
  output: Output,
93
93
  execute: (input, context) => {
94
94
  return Effect.gen(function* () {
@@ -163,7 +163,7 @@ var Plugin30 = {
163
163
  return { output: result.content, path: result.path };
164
164
  }).pipe(Effect.map((result) => ({
165
165
  output: result.output,
166
- content: toModelContent4(result.path, input.offset, result.output),
166
+ content: toModelContent2(result.path, input.offset, result.output),
167
167
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
168
168
  })), Effect.mapError((error) => {
169
169
  if (error instanceof ToolFailure)
@@ -240,7 +240,7 @@ function parseSkillUri(value) {
240
240
  return;
241
241
  return { id, target: rest === "" ? "/" : `/${rest}`, uri: uri2(id, rest || undefined) };
242
242
  }
243
- var toModelContent4 = (path, offset, output) => {
243
+ var toModelContent2 = (path, offset, output) => {
244
244
  if (output.type === "file" && output.encoding === "base64")
245
245
  return [
246
246
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -276,4 +276,4 @@ var toModelContent4 = (path, offset, output) => {
276
276
  `);
277
277
  };
278
278
 
279
- export { name9, Input9, Plugin30, toModelContent4, exports_read };
279
+ export { name2, Input2, Plugin20, toModelContent2, exports_read };
@@ -1,42 +1,42 @@
1
1
  import {
2
2
  invocation2,
3
- Service67
4
- } from "./bus-50w7720n.js";
3
+ Service61
4
+ } from "./shell-vvpmgzp6.js";
5
5
  import {
6
6
  ID8,
7
7
  Name2,
8
8
  toModelOutput3,
9
9
  prepare3,
10
- Service46
11
- } from "./bus-2eqkfqpq.js";
10
+ Service43
11
+ } from "./shell-m2tvmwk7.js";
12
12
  import {
13
13
  __export
14
- } from "./bus-9rqn6x4v.js";
14
+ } from "./shell-9rqn6x4v.js";
15
15
 
16
16
  // src/tool/plugin/skill.ts
17
17
  var exports_skill2 = {};
18
18
  __export(exports_skill2, {
19
- Input: () => Input2,
20
- Output: () => Output2,
21
- Plugin: () => Plugin20,
19
+ Input: () => Input4,
20
+ Output: () => Output3,
21
+ Plugin: () => Plugin22,
22
22
  SkillTool: () => exports_skill2,
23
- description: () => description2,
24
- name: () => name2,
23
+ description: () => description3,
24
+ name: () => name4,
25
25
  toModelOutput: () => toModelOutput2
26
26
  });
27
27
  import { ToolFailure } from "@opencode/ai/effect";
28
28
  import { Effect, Schema } from "effect";
29
29
  import { FSUtil } from "@opencode/util/fs-util";
30
- var name2 = "skill";
31
- var Input2 = Schema.Struct({
30
+ var name4 = "skill";
31
+ var Input4 = Schema.Struct({
32
32
  id: ID8.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
33
33
  });
34
- var Output2 = Schema.Struct({
34
+ var Output3 = Schema.Struct({
35
35
  name: Name2,
36
36
  directory: Schema.String,
37
37
  output: Schema.String
38
38
  });
39
- var description2 = [
39
+ var description3 = [
40
40
  "Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
41
41
  "",
42
42
  "The skill ID must match an available skill or a skill explicitly referenced by the user."
@@ -44,25 +44,25 @@ var description2 = [
44
44
  `);
45
45
  var toModelOutput2 = toModelOutput3;
46
46
  var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
47
- var Plugin20 = {
47
+ var Plugin22 = {
48
48
  id: "opencode.tool.skill",
49
49
  effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
50
50
  const fs = yield* FSUtil.Service;
51
- const skills = yield* Service46;
52
- const permission = yield* Service67;
51
+ const skills = yield* Service43;
52
+ const permission = yield* Service61;
53
53
  yield* ctx.tool.transform((editor) => editor.add({
54
- name: name2,
54
+ name: name4,
55
55
  options: { codemode: false },
56
- description: description2,
57
- input: Input2,
58
- output: Output2,
56
+ description: description3,
57
+ input: Input4,
58
+ output: Output3,
59
59
  execute: (input, context) => Effect.gen(function* () {
60
60
  const skill = yield* skills.get(input.id);
61
61
  if (!skill)
62
62
  return yield* unableToLoad(input.id);
63
63
  return yield* Effect.gen(function* () {
64
64
  yield* permission.assert({
65
- action: name2,
65
+ action: name4,
66
66
  resources: [skill.id],
67
67
  save: [skill.id],
68
68
  ...invocation2(context)
@@ -79,4 +79,4 @@ var Plugin20 = {
79
79
  })
80
80
  };
81
81
 
82
- export { name2, Input2, Output2, description2, toModelOutput2, Plugin20, exports_skill2 };
82
+ export { name4, Input4, Output3, description3, toModelOutput2, Plugin22, exports_skill2 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  resolveModel2
3
- } from "./bus-kmekj7m2.js";
3
+ } from "./shell-9sk33afj.js";
4
4
  import {
5
5
  __export
6
- } from "./bus-9rqn6x4v.js";
6
+ } from "./shell-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/identity.ts
9
9
  var exports_identity = {};
10
10
  __export(exports_identity, {
11
11
  IdentityPlugin: () => exports_identity,
12
- Plugin: () => Plugin46,
12
+ Plugin: () => Plugin15,
13
13
  identity: () => identity2
14
14
  });
15
15
  import { SystemPart } from "@opencode/ai/effect";
@@ -24,7 +24,7 @@ function identity2(model) {
24
24
  ].join(`
25
25
  `);
26
26
  }
27
- var Plugin46 = define({
27
+ var Plugin15 = define({
28
28
  id: "opencode.prompt.identity",
29
29
  effect: Effect.fn("IdentityPlugin")(function* (ctx) {
30
30
  const hook = (event) => Effect.gen(function* () {
@@ -37,4 +37,4 @@ var Plugin46 = define({
37
37
  })
38
38
  });
39
39
 
40
- export { identity2, Plugin46, exports_identity };
40
+ export { identity2, Plugin15, exports_identity };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./bus-9rqn6x4v.js";
3
+ } from "./shell-9rqn6x4v.js";
4
4
 
5
5
  // src/session/subagent-completion.ts
6
6
  var exports_subagent_completion = {};
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./bus-8cg7mtm3.js";
3
+ } from "./shell-5whx36p1.js";
4
4
  import {
5
- Service75,
6
- node77
7
- } from "./bus-25pgyrsw.js";
5
+ Service69,
6
+ node70
7
+ } from "./shell-c51xvhgg.js";
8
8
  import {
9
9
  __export
10
- } from "./bus-9rqn6x4v.js";
10
+ } from "./shell-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service19,
17
- node: () => node22,
16
+ Service: () => Service20,
17
+ node: () => node23,
18
18
  readOptionalText: () => readOptionalText2,
19
19
  readText: () => readText2,
20
20
  syncTextBom: () => syncTextBom2
@@ -23,7 +23,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { Context, Effect, Layer } from "effect";
24
24
  import { FSUtil } from "@opencode/util/fs-util";
25
25
  import { Bom } from "@opencode/util/bom";
26
- class Service19 extends Context.Service()("@opencode/FileMutation") {
26
+ class Service20 extends Context.Service()("@opencode/FileMutation") {
27
27
  }
28
28
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
29
29
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -39,8 +39,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
39
39
  return synced.text;
40
40
  });
41
41
  var transactionLocks = makeUnsafe2();
42
- var layer = Layer.effect(Service19, Effect.gen(function* () {
43
- const environment = yield* Service75;
42
+ var layer = Layer.effect(Service20, Effect.gen(function* () {
43
+ const environment = yield* Service69;
44
44
  const locks = makeUnsafe2();
45
45
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
46
46
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
62
62
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, bom)));
63
63
  return { ...writeResult(input.target, current !== undefined), bom };
64
64
  })));
65
- return Service19.of({ withLock, write, writeTextPreservingBom });
65
+ return Service20.of({ withLock, write, writeTextPreservingBom });
66
66
  }));
67
- var node22 = makeLocationNode({ service: Service19, layer, deps: [node77] });
67
+ var node23 = makeLocationNode({ service: Service20, layer, deps: [node70] });
68
68
 
69
- export { Service19, readText2, readOptionalText2, syncTextBom2, node22, exports_file_mutation };
69
+ export { Service20, readText2, readOptionalText2, syncTextBom2, node23, exports_file_mutation };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  WebSocketConstructor2
3
- } from "./bus-syrav9an.js";
3
+ } from "./shell-syrav9an.js";
4
4
  import {
5
5
  __export
6
- } from "./bus-9rqn6x4v.js";
6
+ } from "./shell-9rqn6x4v.js";
7
7
 
8
8
  // src/effect/app-node-platform.ts
9
9
  var exports_app_node_platform = {};
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  latest2,
3
- Service71
4
- } from "./bus-p24z06k5.js";
3
+ Service78
4
+ } from "./shell-3dbxf0x7.js";
5
5
  import {
6
6
  observe2
7
- } from "./bus-tvtps2q9.js";
7
+ } from "./shell-tvtps2q9.js";
8
8
  import {
9
9
  invocation2,
10
- Service67
11
- } from "./bus-50w7720n.js";
10
+ Service61
11
+ } from "./shell-vvpmgzp6.js";
12
12
  import {
13
13
  __export
14
- } from "./bus-9rqn6x4v.js";
14
+ } from "./shell-9rqn6x4v.js";
15
15
 
16
16
  // src/tool/plugin/todo.ts
17
17
  var exports_todo = {};
18
18
  __export(exports_todo, {
19
19
  Info: () => Info2,
20
- Input: () => Input6,
21
- Output: () => Output5,
22
- Plugin: () => Plugin25,
20
+ Input: () => Input3,
21
+ Output: () => Output2,
22
+ Plugin: () => Plugin21,
23
23
  TodoTool: () => exports_todo,
24
- name: () => name6,
24
+ name: () => name3,
25
25
  summarize: () => summarize2
26
26
  });
27
27
  import { ToolFailure } from "@opencode/ai/effect";
@@ -38,17 +38,17 @@ Use it proactively when a task has 3 or more distinct steps, or when the user gi
38
38
  `;
39
39
 
40
40
  // src/tool/plugin/todo.ts
41
- var name6 = "todowrite";
41
+ var name3 = "todowrite";
42
42
  var Info2 = Schema.Struct({
43
43
  content: Schema.String.annotate({ description: "Brief description of the task" }),
44
44
  status: Schema.Literals(["pending", "in_progress", "completed", "cancelled"]).annotate({
45
45
  description: "Current status of the task: pending, in_progress, completed, cancelled"
46
46
  })
47
47
  });
48
- var Input6 = Schema.Struct({
48
+ var Input3 = Schema.Struct({
49
49
  todos: Schema.Array(Info2).annotate({ description: "The updated todo list" })
50
50
  });
51
- var Output5 = Schema.Struct({
51
+ var Output2 = Schema.Struct({
52
52
  todos: Schema.Array(Info2)
53
53
  });
54
54
  var summarize2 = (todos) => {
@@ -62,24 +62,24 @@ var summarize2 = (todos) => {
62
62
  const active = todos.filter((todo) => todo.status === "in_progress").map((todo) => JSON.stringify(todo.content));
63
63
  return `Todos updated: ${counts}${active.length ? `. In progress: ${active.join(", ")}` : ""}`;
64
64
  };
65
- var Plugin25 = {
65
+ var Plugin21 = {
66
66
  id: "opencode.tool.todo",
67
67
  effect: Effect.fn("TodoTool.Plugin")(function* (ctx) {
68
- const config = yield* Service71;
69
- const permission = yield* Service67;
68
+ const config = yield* Service78;
69
+ const permission = yield* Service61;
70
70
  const loaded = yield* observe2(config, ctx.event, ctx.tool.reload());
71
71
  const enabled = () => latest2(loaded.entries, "experimental")?.todo === true;
72
72
  yield* ctx.tool.transform((editor) => {
73
73
  if (!enabled())
74
74
  return;
75
75
  editor.add({
76
- name: name6,
76
+ name: name3,
77
77
  options: { codemode: false },
78
78
  description: todowrite_default,
79
- input: Input6,
80
- output: Output5,
79
+ input: Input3,
80
+ output: Output2,
81
81
  execute: (input, context) => permission.assert({
82
- action: name6,
82
+ action: name3,
83
83
  resources: ["*"],
84
84
  save: ["*"],
85
85
  ...invocation2(context)
@@ -93,4 +93,4 @@ var Plugin25 = {
93
93
  })
94
94
  };
95
95
 
96
- export { name6, Info2, Input6, Output5, summarize2, Plugin25, exports_todo };
96
+ export { name3, Info2, Input3, Output2, summarize2, Plugin21, exports_todo };
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  key2
3
- } from "./bus-jhwp234h.js";
3
+ } from "./shell-q65mdntm.js";
4
4
  import {
5
5
  OAuth3
6
- } from "./bus-r6khc3n5.js";
6
+ } from "./shell-ckbkj3gw.js";
7
7
  import {
8
- ID17,
8
+ ID20,
9
9
  MethodID2
10
- } from "./bus-61d06eve.js";
10
+ } from "./shell-dh9vehck.js";
11
11
  import {
12
- ID16,
12
+ ID17,
13
13
  aisdk2,
14
14
  mergeOverlay2,
15
- Service78
16
- } from "./bus-es3hber9.js";
15
+ Service83
16
+ } from "./shell-5a65b5yp.js";
17
17
  import {
18
- ID15
19
- } from "./bus-6n4ncf2g.js";
18
+ ID16
19
+ } from "./shell-5958t36d.js";
20
20
  import {
21
- load5,
22
- derive3
23
- } from "./bus-3ev6762c.js";
21
+ load4,
22
+ derive2
23
+ } from "./shell-p3qgwpvm.js";
24
24
  import {
25
25
  useragent2
26
- } from "./bus-qs66m7qc.js";
26
+ } from "./shell-zsqh38e7.js";
27
27
  import {
28
28
  ID12
29
- } from "./bus-5j137cd1.js";
29
+ } from "./shell-hwwehp3g.js";
30
30
  import {
31
31
  get5
32
- } from "./bus-3nnrz6f6.js";
32
+ } from "./shell-3nnrz6f6.js";
33
33
  import {
34
- Service23,
34
+ Service24,
35
35
  fingerprint2
36
- } from "./bus-yyh7aaps.js";
36
+ } from "./shell-bbv7h0sc.js";
37
37
  import {
38
38
  start3
39
- } from "./bus-swqqhfca.js";
39
+ } from "./shell-q7xcpsfa.js";
40
40
  import {
41
41
  activeCredential2
42
- } from "./bus-qdwsperk.js";
42
+ } from "./shell-y7t9x7tn.js";
43
43
 
44
44
  // src/plugin/provider/github-copilot.ts
45
45
  import { isRecord } from "@opencode/util/record";
@@ -73,7 +73,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
73
73
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
74
74
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
75
75
  var oauth = (app) => ({
76
- integrationID: ID17.make("github-copilot"),
76
+ integrationID: ID20.make("github-copilot"),
77
77
  method: {
78
78
  id: methodID,
79
79
  type: "oauth",
@@ -171,8 +171,8 @@ var oauth = (app) => ({
171
171
  var GithubCopilotPlugin2 = define({
172
172
  id: "opencode.provider.github.copilot",
173
173
  effect: Effect.fn(function* (ctx) {
174
- const providers = yield* Service78;
175
- const cache = yield* Service23;
174
+ const providers = yield* Service83;
175
+ const cache = yield* Service24;
176
176
  const http = yield* HttpClient.HttpClient;
177
177
  const discovered = yield* start3({
178
178
  integrationID: "github-copilot",
@@ -184,11 +184,11 @@ var GithubCopilotPlugin2 = define({
184
184
  if (!connection || credential?.type !== "oauth")
185
185
  return { connection, value: {} };
186
186
  const url = copilotBaseURL2(credential.metadata) ?? baseURL();
187
- const headers = (yield* providers.get(ID16.githubCopilot))?.headers ?? {};
187
+ const headers = (yield* providers.get(ID17.githubCopilot))?.headers ?? {};
188
188
  const models = yield* cache.get({
189
189
  key: modelsKey(connection, url, headers),
190
190
  ...options,
191
- load: ctx.integration.connection.resolve(connection).pipe(Effect.flatMap((current) => current?.type === "oauth" ? load5(http, url, {
191
+ load: ctx.integration.connection.resolve(connection).pipe(Effect.flatMap((current) => current?.type === "oauth" ? load4(http, url, {
192
192
  ...headers,
193
193
  Authorization: `Bearer ${current.refresh}`,
194
194
  "User-Agent": useragent2(ctx.app),
@@ -205,14 +205,14 @@ var GithubCopilotPlugin2 = define({
205
205
  editor.method.update(oauth(ctx.app));
206
206
  });
207
207
  yield* ctx.provider.transform((evt) => {
208
- const item = evt.get(ID16.githubCopilot);
208
+ const item = evt.get(ID17.githubCopilot);
209
209
  if (!item)
210
210
  return;
211
211
  const loaded = discovered.current;
212
212
  if (loaded.models) {
213
213
  evt.add({
214
214
  info: item.provider,
215
- models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
215
+ models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
216
216
  sourceConnection: loaded.connection
217
217
  });
218
218
  return;
@@ -234,8 +234,8 @@ var GithubCopilotPlugin2 = define({
234
234
  }
235
235
  });
236
236
  yield* ctx.model.transform((models) => {
237
- if (models.get(ID16.githubCopilot, ID15.make("gpt-5-chat-latest"))) {
238
- models.update(ID16.githubCopilot, ID15.make("gpt-5-chat-latest"), (model) => {
237
+ if (models.get(ID17.githubCopilot, ID16.make("gpt-5-chat-latest"))) {
238
+ models.update(ID17.githubCopilot, ID16.make("gpt-5-chat-latest"), (model) => {
239
239
  model.enabled = false;
240
240
  });
241
241
  }
@@ -246,7 +246,7 @@ var GithubCopilotPlugin2 = define({
246
246
  evt.options.fetch = copilotFetch2(typeof evt.options.apiKey === "string" ? evt.options.apiKey : undefined, evt.options.fetch, ctx.app);
247
247
  const mod = yield* Effect.promise(() => import("../github-copilot/copilot-provider.js"));
248
248
  evt.sdk = mod.createOpenaiCompatible(evt.options);
249
- }), { providerID: ID16.githubCopilot });
249
+ }), { providerID: ID17.githubCopilot });
250
250
  yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
251
251
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
252
252
  return;
@@ -256,7 +256,7 @@ var GithubCopilotPlugin2 = define({
256
256
  evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
257
257
  if (interaction !== "conversation-agent")
258
258
  evt.headers["x-initiator"] = "agent";
259
- }), { providerID: ID16.githubCopilot });
259
+ }), { providerID: ID17.githubCopilot });
260
260
  yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
261
261
  const loaded = discovered.current;
262
262
  if (!loaded.baseURL || !loaded.token || !loaded.models)
@@ -272,7 +272,7 @@ var GithubCopilotPlugin2 = define({
272
272
  evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
273
273
  return;
274
274
  }));
275
- }), { providerID: ID16.githubCopilot });
275
+ }), { providerID: ID17.githubCopilot });
276
276
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
277
277
  const token = evt.request.headers.get("x-api-key");
278
278
  if (!token)
@@ -280,7 +280,7 @@ var GithubCopilotPlugin2 = define({
280
280
  const text = yield* Effect.promise(() => evt.request.clone().text());
281
281
  const body = Option.getOrUndefined(decodeBody(text));
282
282
  applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
283
- }), { providerID: ID16.githubCopilot });
283
+ }), { providerID: ID17.githubCopilot });
284
284
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
285
285
  if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
286
286
  evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
@@ -298,7 +298,7 @@ var GithubCopilotPlugin2 = define({
298
298
  const gpt = /^gpt-(\d+)/.exec(id);
299
299
  const responses = gpt !== null && Number(gpt[1]) >= 5 && !id.startsWith("gpt-5-mini") || id.startsWith("grok-") || id.startsWith("mai-code-");
300
300
  evt.language = responses ? evt.sdk.responses(id) : evt.sdk.chat(id);
301
- }), { providerID: ID16.githubCopilot });
301
+ }), { providerID: ID17.githubCopilot });
302
302
  })
303
303
  });
304
304
  function modelsKey(connection, url, headers) {