@opencode/core 0.0.0-dev-20855 → 0.0.0-dev-20857

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 (789) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{git-tf3xpm8y.js → shell-0gkn8nvr.js} +9 -9
  8. package/dist/chunks/{git-7tckdk4e.js → shell-0hqe3qpg.js} +34 -34
  9. package/dist/chunks/{git-v8cjvzpc.js → shell-0j99dzqs.js} +25 -25
  10. package/dist/chunks/{git-k79tzb9n.js → shell-0jq9fyba.js} +5 -5
  11. package/dist/chunks/{git-d1savfr5.js → shell-0ktwtxn5.js} +30 -30
  12. package/dist/chunks/{git-0vbcp93d.js → shell-0vbcp93d.js} +2 -2
  13. package/dist/chunks/{git-hbndc0s3.js → shell-0xg4dbhf.js} +18 -18
  14. package/dist/chunks/{git-ww5t4en1.js → shell-118n48gh.js} +12 -12
  15. package/dist/chunks/{git-va283kzh.js → shell-11kenztd.js} +25 -25
  16. package/dist/chunks/{git-y3hwx580.js → shell-181x02k0.js} +33 -33
  17. package/dist/chunks/{git-7y7c38x7.js → shell-1akek5x1.js} +30 -30
  18. package/dist/chunks/{git-vwt3k39c.js → shell-1s00cqm4.js} +29 -29
  19. package/dist/chunks/{git-8c083yep.js → shell-1sj6n9gw.js} +21 -21
  20. package/dist/chunks/{git-9e3cg58h.js → shell-1yafhzvh.js} +47 -47
  21. package/dist/chunks/{git-8fjakxnd.js → shell-2468dt4m.js} +11 -11
  22. package/dist/chunks/{git-6mmnhtje.js → shell-28cbs3s9.js} +26 -26
  23. package/dist/chunks/{git-2g4z2dt5.js → shell-2c3zkedc.js} +7 -7
  24. package/dist/chunks/{git-76a0e4dm.js → shell-2jmthg8v.js} +12 -12
  25. package/dist/chunks/{git-0r7xzb0q.js → shell-2jqxqhvd.js} +24 -24
  26. package/dist/chunks/{git-zq7cphvd.js → shell-2k8k9dqx.js} +15 -15
  27. package/dist/chunks/{git-2k8khapm.js → shell-2k8khapm.js} +1 -1
  28. package/dist/chunks/{git-k1gkpfdk.js → shell-2ktf0ed2.js} +8 -8
  29. package/dist/chunks/{git-nkk0tr67.js → shell-2tpp7g1c.js} +15 -15
  30. package/dist/chunks/{git-2vvh33eb.js → shell-2vvh33eb.js} +2 -2
  31. package/dist/chunks/{git-dpnvgke3.js → shell-2wjcem9c.js} +5 -5
  32. package/dist/chunks/{git-h7s7r6s9.js → shell-31xfzrxg.js} +5 -5
  33. package/dist/chunks/{git-jfy9z8xx.js → shell-33t10hcv.js} +22 -22
  34. package/dist/chunks/{git-w15sr46h.js → shell-33vqne08.js} +38 -38
  35. package/dist/chunks/{git-stt931b8.js → shell-3a932jrg.js} +26 -26
  36. package/dist/chunks/{git-3fc6dm20.js → shell-3fc6dm20.js} +1 -1
  37. package/dist/chunks/{git-7059es7q.js → shell-3h23vtn4.js} +8 -8
  38. package/dist/chunks/{git-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{git-3hwn7j4h.js → shell-3hwn7j4h.js} +2 -2
  40. package/dist/chunks/{git-6hr81j96.js → shell-3nm0194b.js} +18 -18
  41. package/dist/chunks/{git-2tra2g96.js → shell-3pw25jfp.js} +11 -11
  42. package/dist/chunks/{git-3smtnn6g.js → shell-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{git-3tvqynh2.js → shell-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{git-56c6wnd1.js → shell-3vwa7tag.js} +1 -1
  45. package/dist/chunks/{git-rts9bskx.js → shell-3xz8c404.js} +13 -13
  46. package/dist/chunks/{git-3zsf4n22.js → shell-3zsf4n22.js} +1 -1
  47. package/dist/chunks/{git-0bwnrbmb.js → shell-47jkzegy.js} +5 -5
  48. package/dist/chunks/{git-jzbp3n60.js → shell-4bme9fsw.js} +4 -4
  49. package/dist/chunks/{git-wz37j79y.js → shell-4ny6ge39.js} +2 -2
  50. package/dist/chunks/{git-4ts7tf6z.js → shell-4ts7tf6z.js} +2 -2
  51. package/dist/chunks/{git-0sbak0n5.js → shell-53b2w85q.js} +43 -43
  52. package/dist/chunks/{git-b6mse9dx.js → shell-57q58vcn.js} +11 -11
  53. package/dist/chunks/{git-461nxmbv.js → shell-58hng72m.js} +5 -5
  54. package/dist/chunks/{git-ewr7n0rk.js → shell-5f4jfw0a.js} +14 -14
  55. package/dist/chunks/{git-nezz36ej.js → shell-5f5jqs5q.js} +22 -22
  56. package/dist/chunks/{git-5m9w47nd.js → shell-5m9w47nd.js} +1 -1
  57. package/dist/chunks/{git-drpn449j.js → shell-5s7atwjr.js} +33 -33
  58. package/dist/chunks/{git-0sacbgq8.js → shell-5zaqnmf3.js} +11 -11
  59. package/dist/chunks/{git-bsxdctr3.js → shell-632pjh68.js} +8 -8
  60. package/dist/chunks/{git-nqxj0yn4.js → shell-63db42yp.js} +2 -2
  61. package/dist/chunks/{git-h2m97xd3.js → shell-64xe14bq.js} +9 -9
  62. package/dist/chunks/{git-w3ywv3a3.js → shell-67jmpk4a.js} +3 -3
  63. package/dist/chunks/{git-vvt5h08b.js → shell-682w9aj8.js} +32 -32
  64. package/dist/chunks/{git-mdj7v2xa.js → shell-68np1yjd.js} +51 -51
  65. package/dist/chunks/{git-pbfwh0cy.js → shell-6hh8tjw2.js} +7 -7
  66. package/dist/chunks/{git-6pc27hjz.js → shell-6pc27hjz.js} +2 -2
  67. package/dist/chunks/{git-6xb47vfp.js → shell-6xb47vfp.js} +1 -1
  68. package/dist/chunks/{git-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
  69. package/dist/chunks/{git-v4yh7aey.js → shell-7cw62h38.js} +25 -25
  70. package/dist/chunks/{git-tp1cmem0.js → shell-7gy4tvah.js} +11 -11
  71. package/dist/chunks/{git-jwmzbdjc.js → shell-7jvqc6c6.js} +24 -24
  72. package/dist/chunks/{git-d6vx3t6f.js → shell-7q04ztt9.js} +11 -11
  73. package/dist/chunks/{git-86h2fe4m.js → shell-82bdeemj.js} +56 -56
  74. package/dist/chunks/{git-h3t0jr19.js → shell-841ny8t5.js} +3 -3
  75. package/dist/chunks/{git-84txncab.js → shell-84txncab.js} +1 -1
  76. package/dist/chunks/{git-rfy9ps7f.js → shell-87x2mn9m.js} +47 -47
  77. package/dist/chunks/{git-0tfc1krt.js → shell-88j1htk6.js} +3 -3
  78. package/dist/chunks/{git-d4pfzj95.js → shell-8bqqxrfh.js} +20 -20
  79. package/dist/chunks/{git-8m6m0r52.js → shell-8m6m0r52.js} +1 -1
  80. package/dist/chunks/{git-5brjvw20.js → shell-8rfck53x.js} +13 -13
  81. package/dist/chunks/{git-ffnafszy.js → shell-8wyr28s0.js} +24 -24
  82. package/dist/chunks/{git-3twan9xb.js → shell-8y8ypgde.js} +13 -13
  83. package/dist/chunks/{git-91qna3x0.js → shell-91qna3x0.js} +3 -3
  84. package/dist/chunks/{git-vmeg491z.js → shell-93jjqfz5.js} +6 -6
  85. package/dist/chunks/{git-3zhx6vq3.js → shell-983vvjqk.js} +18 -18
  86. package/dist/chunks/{git-vyd7f6xa.js → shell-9dnw0m4x.js} +25 -25
  87. package/dist/chunks/{git-n0s068st.js → shell-9e7yf4tn.js} +15 -15
  88. package/dist/chunks/{git-4f8jf7aw.js → shell-9qq9n83k.js} +8 -8
  89. package/dist/chunks/{git-vpzpy68h.js → shell-9sz12wvq.js} +42 -42
  90. package/dist/chunks/{git-mjhxg6bx.js → shell-9zkr33jc.js} +32 -32
  91. package/dist/chunks/{git-cfhnwxzp.js → shell-abx6ba1k.js} +11 -11
  92. package/dist/chunks/{git-926tyx0r.js → shell-arpm3677.js} +32 -32
  93. package/dist/chunks/{git-qcx0zrqn.js → shell-az60rtqd.js} +3 -3
  94. package/dist/chunks/{git-3kpefpfy.js → shell-b07bdj3t.js} +3 -3
  95. package/dist/chunks/{git-bjx1sjef.js → shell-bjx1sjef.js} +2 -2
  96. package/dist/chunks/{git-qbjzmtey.js → shell-bqwra9sc.js} +72 -72
  97. package/dist/chunks/{git-5deatqc9.js → shell-byxe4xe3.js} +30 -30
  98. package/dist/chunks/{git-afa6ffz5.js → shell-c2whqjrb.js} +46 -46
  99. package/dist/chunks/{git-a03capmy.js → shell-c3mck475.js} +13 -13
  100. package/dist/chunks/{git-c41wscbt.js → shell-c41wscbt.js} +2 -2
  101. package/dist/chunks/{git-8fc3932v.js → shell-c4c13zy6.js} +19 -19
  102. package/dist/chunks/{git-c8ax2afj.js → shell-c8ax2afj.js} +2 -2
  103. package/dist/chunks/{git-a0bsbzcf.js → shell-cf0jnzc0.js} +11 -11
  104. package/dist/chunks/{git-k4sdmdt1.js → shell-cpj79xmq.js} +23 -23
  105. package/dist/chunks/{git-3dn1k2ng.js → shell-cvkxtcs1.js} +8 -8
  106. package/dist/chunks/{git-jtvzz37v.js → shell-df6av868.js} +7 -7
  107. package/dist/chunks/{git-drwq78ky.js → shell-drwq78ky.js} +1 -1
  108. package/dist/chunks/{git-57fbsz4v.js → shell-dsdpa88b.js} +35 -35
  109. package/dist/chunks/{git-ytd9yp4r.js → shell-dtgwcqw4.js} +11 -11
  110. package/dist/chunks/{git-q2jea2xs.js → shell-e3hb41re.js} +6 -6
  111. package/dist/chunks/{git-tctnaszb.js → shell-e3ztwkqf.js} +21 -21
  112. package/dist/chunks/{git-e80seqcp.js → shell-e80seqcp.js} +1 -1
  113. package/dist/chunks/{git-j8s9ab9g.js → shell-e8vwfchq.js} +6 -6
  114. package/dist/chunks/{git-rhjbct0v.js → shell-eaj1djv9.js} +8 -8
  115. package/dist/chunks/{git-eej6y6fw.js → shell-eej6y6fw.js} +2 -2
  116. package/dist/chunks/{git-ef5x83kb.js → shell-ef5x83kb.js} +1 -1
  117. package/dist/chunks/{git-wegm6ayv.js → shell-entw2tdd.js} +16 -16
  118. package/dist/chunks/{git-0507tcep.js → shell-epmd2pwp.js} +11 -11
  119. package/dist/chunks/{git-kfc0rvq6.js → shell-eq7gpfag.js} +42 -42
  120. package/dist/chunks/{git-es1vcfrp.js → shell-es1vcfrp.js} +3 -3
  121. package/dist/chunks/{git-2e7wm9ed.js → shell-ev7b3fzk.js} +19 -19
  122. package/dist/chunks/{git-yrcj3v3g.js → shell-f29mbr7f.js} +4 -4
  123. package/dist/chunks/{git-1acjjqhc.js → shell-f2n192rq.js} +4 -4
  124. package/dist/chunks/{git-2ahfqzh4.js → shell-f6nebfwf.js} +7 -7
  125. package/dist/chunks/{git-k85dt8kq.js → shell-f6x208qp.js} +31 -31
  126. package/dist/chunks/{git-9tvsdr7t.js → shell-f8rnhecd.js} +11 -11
  127. package/dist/chunks/{git-46wakb3r.js → shell-faz53sv5.js} +5 -5
  128. package/dist/chunks/{git-vrpz8t5t.js → shell-fegk541e.js} +5 -5
  129. package/dist/chunks/{git-9j6d84g0.js → shell-ff1pt9vp.js} +4 -4
  130. package/dist/chunks/{git-ykyvj297.js → shell-fnf0t1mw.js} +4 -4
  131. package/dist/chunks/{git-djszqvmq.js → shell-ft3hqk2c.js} +9 -9
  132. package/dist/chunks/{git-aq79gce9.js → shell-fw4m26gt.js} +16 -16
  133. package/dist/chunks/{git-fbr6g0xj.js → shell-fw7y5174.js} +18 -18
  134. package/dist/chunks/{git-fxaymqdw.js → shell-fxaymqdw.js} +1 -1
  135. package/dist/chunks/{git-42ckfw2d.js → shell-g3mtxeza.js} +31 -31
  136. package/dist/chunks/{git-qws9cjef.js → shell-g6r2vvv3.js} +13 -13
  137. package/dist/chunks/{git-ma9pgrwm.js → shell-g8z8mf78.js} +20 -20
  138. package/dist/chunks/{git-gd4qta3r.js → shell-gd4qta3r.js} +1 -1
  139. package/dist/chunks/shell-gk3sxse2.js +26 -0
  140. package/dist/chunks/{git-gk8qb678.js → shell-gk8qb678.js} +1 -1
  141. package/dist/chunks/{git-t436hq68.js → shell-gp9jqd59.js} +8 -8
  142. package/dist/chunks/{git-x661k3y3.js → shell-gqtdsdt7.js} +4 -4
  143. package/dist/chunks/{git-4hwpxgtm.js → shell-gz22y1bs.js} +32 -32
  144. package/dist/chunks/{git-at13drnh.js → shell-gzy6twtn.js} +30 -30
  145. package/dist/chunks/{git-3f8vadc7.js → shell-h0wknqx0.js} +20 -20
  146. package/dist/chunks/{git-1m0pjerw.js → shell-h1f6pjh7.js} +13 -13
  147. package/dist/chunks/{git-015a4dqt.js → shell-h6645hhn.js} +28 -28
  148. package/dist/chunks/{git-h6vf3j39.js → shell-h6vf3j39.js} +1 -1
  149. package/dist/chunks/{git-29qym6xz.js → shell-h9pnpq88.js} +4 -4
  150. package/dist/chunks/{git-17z3aqbw.js → shell-hcxmzztb.js} +6 -11
  151. package/dist/chunks/{git-hgz4x7wa.js → shell-hgz4x7wa.js} +1 -1
  152. package/dist/chunks/{git-r2v4c7r0.js → shell-hyay7qq8.js} +8 -8
  153. package/dist/chunks/{git-1bmjn0qh.js → shell-j2t2p12e.js} +8 -8
  154. package/dist/chunks/{git-hsb6eqnj.js → shell-j30cfxah.js} +20 -20
  155. package/dist/chunks/{git-j56e64zr.js → shell-j56e64zr.js} +1 -1
  156. package/dist/chunks/{git-c6dwa7bf.js → shell-j5wgpdyg.js} +4 -4
  157. package/dist/chunks/{git-2ryng5r3.js → shell-jdz4qjxc.js} +4 -4
  158. package/dist/chunks/{git-cncg8zgr.js → shell-jp4zc2gb.js} +17 -17
  159. package/dist/chunks/{git-n4r3xatb.js → shell-jvf3yq6v.js} +4 -4
  160. package/dist/chunks/{git-d9tzt3hs.js → shell-k03emvff.js} +5 -5
  161. package/dist/chunks/{git-fs8gar66.js → shell-k0sn68eq.js} +24 -24
  162. package/dist/chunks/{git-mcvs9s47.js → shell-k8bpgq9y.js} +6 -6
  163. package/dist/chunks/{git-s9zm5j57.js → shell-kf6psgf8.js} +17 -17
  164. package/dist/chunks/{git-pw2fp1nr.js → shell-kg25nbg7.js} +15 -15
  165. package/dist/chunks/{git-p2hzg5vc.js → shell-krn5wsz0.js} +15 -15
  166. package/dist/chunks/{git-3j594wz7.js → shell-ks02k8er.js} +15 -15
  167. package/dist/chunks/{git-11yf9web.js → shell-ktbyzt1t.js} +80 -80
  168. package/dist/chunks/{git-zc9jk7j0.js → shell-ktk04ca5.js} +6 -6
  169. package/dist/chunks/{git-fyyqsegk.js → shell-kx7rze29.js} +5 -5
  170. package/dist/chunks/{git-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
  171. package/dist/chunks/{git-fb1z5mpg.js → shell-mah44h74.js} +25 -25
  172. package/dist/chunks/{git-sm965ndy.js → shell-mp6d0dty.js} +8 -8
  173. package/dist/chunks/{git-mv3hx7wz.js → shell-mqqhst8y.js} +4 -4
  174. package/dist/chunks/{git-yemq3d8b.js → shell-mqzwkyay.js} +6 -6
  175. package/dist/chunks/{git-wh6pa4pr.js → shell-mt35knet.js} +10 -10
  176. package/dist/chunks/{git-xkv3gwqa.js → shell-mttz8j9s.js} +11 -11
  177. package/dist/chunks/{git-7fq94f74.js → shell-mvd5p9bb.js} +13 -11
  178. package/dist/chunks/{git-ycjb11n5.js → shell-mx9vqzsb.js} +6 -6
  179. package/dist/chunks/{git-avgdyaqg.js → shell-nndebfwy.js} +5 -5
  180. package/dist/chunks/{git-5xtgfte3.js → shell-p37cw4rj.js} +4 -4
  181. package/dist/chunks/{git-2n87sa3g.js → shell-p92dhjvd.js} +27 -27
  182. package/dist/chunks/{git-9yvs1z09.js → shell-pf6q70e9.js} +171 -171
  183. package/dist/chunks/{git-w6cywe1q.js → shell-phfrfwqb.js} +36 -36
  184. package/dist/chunks/{git-pjvnvgmy.js → shell-pjvnvgmy.js} +1 -1
  185. package/dist/chunks/{git-rkg5c001.js → shell-pk6nmean.js} +17 -17
  186. package/dist/chunks/{git-pknna89w.js → shell-pknna89w.js} +1 -1
  187. package/dist/chunks/{git-rca2v11j.js → shell-pnxzm4kn.js} +45 -45
  188. package/dist/chunks/{git-75dhggww.js → shell-pq1zagfs.js} +50 -50
  189. package/dist/chunks/{git-gzgbem2w.js → shell-pqzzsrxq.js} +13 -13
  190. package/dist/chunks/{git-qysyrm72.js → shell-pv9sm355.js} +1 -1
  191. package/dist/chunks/{git-y0fzegg9.js → shell-pwmg338d.js} +4 -4
  192. package/dist/chunks/{git-q0xm7vwc.js → shell-q0xm7vwc.js} +2 -2
  193. package/dist/chunks/{git-ne5a57qj.js → shell-q1c758g9.js} +5 -5
  194. package/dist/chunks/{git-qahvqwnh.js → shell-q4pbgert.js} +8 -8
  195. package/dist/chunks/{git-pnzf6mjf.js → shell-q5e7cmwt.js} +1 -1
  196. package/dist/chunks/{git-y2cb6znx.js → shell-qgbx7jx4.js} +31 -30
  197. package/dist/chunks/{git-yjrwkh2f.js → shell-qh14mjfc.js} +25 -25
  198. package/dist/chunks/{git-a4dpjata.js → shell-qh6nb83h.js} +4 -4
  199. package/dist/chunks/{git-de0scr2g.js → shell-qmpmkqxw.js} +35 -35
  200. package/dist/chunks/{git-qnc92qwc.js → shell-qnc92qwc.js} +1 -1
  201. package/dist/chunks/{git-qsdy395h.js → shell-qsdy395h.js} +1 -1
  202. package/dist/chunks/{git-q9s130f6.js → shell-qsz061kc.js} +7 -5
  203. package/dist/chunks/{git-s3cjj4tp.js → shell-qt9fyfar.js} +92 -92
  204. package/dist/chunks/{git-c0cnwm62.js → shell-qtkjtvs8.js} +44 -44
  205. package/dist/chunks/{git-w71gx8xg.js → shell-r6wk3e1b.js} +9 -9
  206. package/dist/chunks/{git-3rxnbjq0.js → shell-r6zqzxy3.js} +10 -10
  207. package/dist/chunks/{git-g686f6pq.js → shell-r70na3yp.js} +9 -9
  208. package/dist/chunks/{git-g92ktdq1.js → shell-r8797p99.js} +2 -2
  209. package/dist/chunks/{git-54ma36ye.js → shell-r94pvvab.js} +4 -4
  210. package/dist/chunks/shell-rap9a73h.js +18 -0
  211. package/dist/chunks/{git-n7bcv3kq.js → shell-rates9x1.js} +14 -14
  212. package/dist/chunks/{git-rdw6cm16.js → shell-rdw6cm16.js} +1 -1
  213. package/dist/chunks/{git-x3j3h939.js → shell-rfxw09g8.js} +11 -11
  214. package/dist/chunks/{git-cqby8rft.js → shell-rpb33kad.js} +14 -14
  215. package/dist/chunks/{git-93k5n436.js → shell-rpzx8dkj.js} +26 -26
  216. package/dist/chunks/{git-j3b8kp3s.js → shell-rv5y0vmv.js} +16 -16
  217. package/dist/chunks/{git-nksgmehb.js → shell-rvmjpvff.js} +55 -55
  218. package/dist/chunks/{git-y36ex46c.js → shell-rzj4ym1h.js} +11 -11
  219. package/dist/chunks/{git-k65h458v.js → shell-s08px70s.js} +26 -26
  220. package/dist/chunks/{git-8s9k0xg9.js → shell-s0a13pd7.js} +9 -9
  221. package/dist/chunks/{git-dh2gf3ec.js → shell-s208y4th.js} +29 -29
  222. package/dist/chunks/{git-e4dqbc39.js → shell-s4vt6k96.js} +13 -13
  223. package/dist/chunks/{git-272pe9x0.js → shell-s80ty4qk.js} +21 -21
  224. package/dist/chunks/{git-7bs0ebpf.js → shell-sbfx8qse.js} +13 -13
  225. package/dist/chunks/{git-scgrse2b.js → shell-scgrse2b.js} +2 -2
  226. package/dist/chunks/{git-arz7hw7x.js → shell-ss358qx3.js} +3 -3
  227. package/dist/chunks/{git-6a78g3gj.js → shell-svcw9x3w.js} +12 -12
  228. package/dist/chunks/{git-dbbedjny.js → shell-svtyq4ac.js} +20 -20
  229. package/dist/chunks/{git-fxc77psm.js → shell-sw70p10z.js} +47 -47
  230. package/dist/chunks/{git-syv4x271.js → shell-syv4x271.js} +1 -1
  231. package/dist/chunks/{git-td8bcfh7.js → shell-t2gkmt3j.js} +152 -152
  232. package/dist/chunks/{git-tazgh4e4.js → shell-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{git-t2w1zmvy.js → shell-tbt8nw36.js} +19 -19
  234. package/dist/chunks/{git-tcezcvh9.js → shell-tcezcvh9.js} +1 -1
  235. package/dist/chunks/{git-tdstcens.js → shell-tdstcens.js} +1 -1
  236. package/dist/chunks/{git-p1t07zky.js → shell-tk5yhcbe.js} +1 -1
  237. package/dist/chunks/{git-tkb22qbm.js → shell-tkb22qbm.js} +2 -2
  238. package/dist/chunks/{git-tm0kqsz3.js → shell-tm0kqsz3.js} +1 -1
  239. package/dist/chunks/{git-7ja25jfg.js → shell-tpkp3zjz.js} +14 -14
  240. package/dist/chunks/{git-qz02d4gv.js → shell-ts860kc8.js} +13 -13
  241. package/dist/chunks/{git-tyytaxap.js → shell-tyytaxap.js} +1 -1
  242. package/dist/chunks/{git-v0es1rhs.js → shell-v0es1rhs.js} +2 -2
  243. package/dist/chunks/{git-9mqv0rn7.js → shell-v42vq798.js} +16 -16
  244. package/dist/chunks/{git-v7p4zvkq.js → shell-v7p4zvkq.js} +2 -2
  245. package/dist/chunks/{git-277eer69.js → shell-vbfgae2j.js} +4 -4
  246. package/dist/chunks/{git-tp5z8t7y.js → shell-vbskb40y.js} +18 -18
  247. package/dist/chunks/{git-veqvce7d.js → shell-veqvce7d.js} +1 -1
  248. package/dist/chunks/{git-g9yq0a3m.js → shell-vk1989fk.js} +2 -2
  249. package/dist/chunks/{git-dwtq5j93.js → shell-vn01hwr7.js} +37 -37
  250. package/dist/chunks/{git-vzs5sf6e.js → shell-vzs5sf6e.js} +1 -1
  251. package/dist/chunks/{git-h26n8ahy.js → shell-w3jswt4w.js} +25 -25
  252. package/dist/chunks/{git-h3jbf46r.js → shell-w3nh5stq.js} +321 -321
  253. package/dist/chunks/{git-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{git-99xmg50t.js → shell-w9g6mbyt.js} +21 -21
  255. package/dist/chunks/{git-wd87259q.js → shell-wd87259q.js} +1 -1
  256. package/dist/chunks/{git-5fykfdj7.js → shell-wh6zw745.js} +5 -5
  257. package/dist/chunks/{git-78a782z0.js → shell-wmhzr98j.js} +30 -30
  258. package/dist/chunks/{git-th29hxyd.js → shell-wpe961ww.js} +12 -12
  259. package/dist/chunks/{git-b49y660n.js → shell-wr1923h8.js} +33 -33
  260. package/dist/chunks/{git-qb1ddd4g.js → shell-xb9ncd0s.js} +10 -10
  261. package/dist/chunks/{git-7kn71q8k.js → shell-xd893mcj.js} +14 -14
  262. package/dist/chunks/{git-hbdbxv7m.js → shell-xdy68qwd.js} +24 -24
  263. package/dist/chunks/{git-vn7dbpgz.js → shell-xeajrh0t.js} +22 -22
  264. package/dist/chunks/{git-vt9897e0.js → shell-xmx6k93b.js} +5 -5
  265. package/dist/chunks/{git-g4xerzym.js → shell-xt19rdf3.js} +11 -11
  266. package/dist/chunks/{git-be2hac41.js → shell-y0mc46pw.js} +9 -9
  267. package/dist/chunks/{git-y1fvbwt7.js → shell-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{git-dpkg50ah.js → shell-y71avatq.js} +4 -4
  269. package/dist/chunks/{git-5cwe5vnp.js → shell-ybqgtr0n.js} +9 -9
  270. package/dist/chunks/{git-gy94hd3d.js → shell-ye89ra46.js} +22 -22
  271. package/dist/chunks/{git-1a70h6nq.js → shell-ymg992xw.js} +14 -14
  272. package/dist/chunks/{git-gjyy8qj1.js → shell-ysxfpacz.js} +7 -7
  273. package/dist/chunks/{git-t7h718h4.js → shell-yyrccqnw.js} +11 -11
  274. package/dist/chunks/{git-z0bkrqjs.js → shell-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{git-rbsr4vmr.js → shell-z8y202y4.js} +26 -26
  276. package/dist/chunks/{git-54pjwmms.js → shell-z9w42y3k.js} +32 -32
  277. package/dist/chunks/{git-x9j822t2.js → shell-zad8d2d9.js} +18 -18
  278. package/dist/chunks/{git-2z9v5mdy.js → shell-zj5zbbtb.js} +6 -6
  279. package/dist/chunks/{git-fz6sak3e.js → shell-zm45khrf.js} +15 -15
  280. package/dist/chunks/{git-zr2ceqn5.js → shell-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{git-xcmd13yj.js → shell-zv6d9m0q.js} +8 -8
  282. package/dist/chunks/{git-e1040pkq.js → shell-zvzcnbnd.js} +12 -12
  283. package/dist/chunks/{git-c6q1q6r3.js → shell-zw1fbe70.js} +11 -11
  284. package/dist/chunks/{git-zxq2ej10.js → shell-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +7 -7
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +85 -85
  290. package/dist/config/discovery.js +84 -84
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +101 -101
  293. package/dist/config/plugin/agent.js +118 -118
  294. package/dist/config/plugin/command.js +207 -207
  295. package/dist/config/plugin/compaction.js +156 -156
  296. package/dist/config/plugin/compatibility.js +136 -136
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +119 -119
  299. package/dist/config/plugin/image.js +118 -118
  300. package/dist/config/plugin/instruction.js +92 -92
  301. package/dist/config/plugin/location-watcher.js +120 -120
  302. package/dist/config/plugin/mcp.js +125 -125
  303. package/dist/config/plugin/policy.js +119 -119
  304. package/dist/config/plugin/provider.js +118 -118
  305. package/dist/config/plugin/reference.js +120 -120
  306. package/dist/config/plugin/shell.js +120 -120
  307. package/dist/config/plugin/skill-file.js +104 -104
  308. package/dist/config/plugin/skill.js +139 -139
  309. package/dist/config/plugin/snapshot.js +118 -118
  310. package/dist/config/plugin/source.js +121 -121
  311. package/dist/config/plugin/tool-output.js +119 -119
  312. package/dist/config/plugin/websearch.js +119 -119
  313. package/dist/config/plugin/worktree.js +120 -120
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +123 -123
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +87 -87
  319. package/dist/database/database.js +72 -72
  320. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +15 -15
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +16 -16
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  385. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  386. package/dist/database/migration.gen.js +51 -51
  387. package/dist/database/migration.js +53 -53
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +81 -81
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +368 -368
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +3 -3
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +95 -95
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +95 -95
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +1 -1
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +76 -76
  411. package/dist/file-access.js +106 -106
  412. package/dist/file-mutation.js +96 -96
  413. package/dist/file-retention.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +222 -222
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +105 -105
  422. package/dist/filesystem/watcher-binding.js +1 -1
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +102 -102
  425. package/dist/form.js +88 -88
  426. package/dist/formatter/builtins.js +2 -2
  427. package/dist/formatter.js +89 -89
  428. package/dist/generate.js +107 -107
  429. package/dist/git.js +10 -10
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +93 -93
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +359 -359
  453. package/dist/instruction-discovery.js +87 -87
  454. package/dist/instructions/builtins.js +89 -89
  455. package/dist/instructions/index.js +5 -5
  456. package/dist/integration/connection.js +3 -3
  457. package/dist/integration.js +89 -89
  458. package/dist/job.js +80 -80
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +71 -71
  461. package/dist/location-activity.js +136 -136
  462. package/dist/location-lifecycle.js +109 -109
  463. package/dist/location-service-map.js +88 -88
  464. package/dist/location-services.js +356 -356
  465. package/dist/location.js +83 -83
  466. package/dist/managed-policy.js +8 -8
  467. package/dist/mcp/client.js +93 -93
  468. package/dist/mcp/index.js +111 -111
  469. package/dist/mcp/instructions.js +131 -131
  470. package/dist/mcp/oauth.js +80 -80
  471. package/dist/mcp/stdio.js +92 -92
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +93 -93
  474. package/dist/model-resolver.js +100 -100
  475. package/dist/model.js +102 -102
  476. package/dist/models-dev.js +109 -109
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +82 -82
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +115 -115
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +90 -90
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +77 -77
  486. package/dist/plugin/agent.js +76 -76
  487. package/dist/plugin/command.js +100 -100
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/identity.js +3 -3
  491. package/dist/plugin/instance.js +3 -3
  492. package/dist/plugin/internal.js +331 -331
  493. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  494. package/dist/plugin/models-dev.js +98 -98
  495. package/dist/plugin/module.js +119 -119
  496. package/dist/plugin/optimize.js +2 -2
  497. package/dist/plugin/plan.js +102 -102
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  500. package/dist/plugin/provider/azure.js +118 -118
  501. package/dist/plugin/provider/cerebras.js +1 -1
  502. package/dist/plugin/provider/chatgpt.js +96 -96
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/databricks.js +1 -1
  508. package/dist/plugin/provider/digitalocean.js +95 -95
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/github-copilot.js +97 -97
  512. package/dist/plugin/provider/gitlab.js +95 -95
  513. package/dist/plugin/provider/google-vertex.js +115 -115
  514. package/dist/plugin/provider/kilo.js +1 -1
  515. package/dist/plugin/provider/llmgateway.js +80 -80
  516. package/dist/plugin/provider/lmstudio.js +127 -127
  517. package/dist/plugin/provider/local.js +124 -124
  518. package/dist/plugin/provider/modal.js +94 -94
  519. package/dist/plugin/provider/neon.js +1 -1
  520. package/dist/plugin/provider/nvidia.js +1 -1
  521. package/dist/plugin/provider/ollama.js +125 -125
  522. package/dist/plugin/provider/openai.js +95 -95
  523. package/dist/plugin/provider/opencode.js +99 -99
  524. package/dist/plugin/provider/openrouter.js +93 -93
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +81 -81
  527. package/dist/plugin/provider/prompt-cache-key.js +1 -92
  528. package/dist/plugin/provider/sap-ai-core.js +93 -93
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  531. package/dist/plugin/provider/vercel.js +92 -92
  532. package/dist/plugin/provider/vllm.js +127 -127
  533. package/dist/plugin/provider/xai.js +93 -93
  534. package/dist/plugin/provider/zenmux.js +1 -1
  535. package/dist/plugin/provider.js +169 -169
  536. package/dist/plugin/sdk.js +78 -78
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +134 -134
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +350 -350
  541. package/dist/plugin/tool-input-repair.js +4 -4
  542. package/dist/plugin/update.js +4 -4
  543. package/dist/plugin/vcs/git.js +88 -88
  544. package/dist/plugin/vcs/hg.js +88 -88
  545. package/dist/plugin/verbosity.js +95 -95
  546. package/dist/plugin/warming.js +116 -116
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +8 -8
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +2 -2
  551. package/dist/plugin/websearch/parallel.js +6 -6
  552. package/dist/plugin/websearch/tavily.js +6 -6
  553. package/dist/plugin/websearch/tinyfish.js +8 -8
  554. package/dist/plugin.js +224 -224
  555. package/dist/project/schema.js +2 -2
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +82 -82
  558. package/dist/provider.js +103 -103
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +99 -99
  562. package/dist/reference/instructions.js +91 -91
  563. package/dist/reference.js +91 -91
  564. package/dist/repository-cache.js +83 -83
  565. package/dist/repository.js +1 -1
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +97 -97
  568. package/dist/rpc.js +88 -88
  569. package/dist/schema.js +1 -1
  570. package/dist/session/affinity.js +3 -3
  571. package/dist/session/command.js +76 -76
  572. package/dist/session/compaction.js +137 -137
  573. package/dist/session/context.js +153 -153
  574. package/dist/session/diff.js +90 -90
  575. package/dist/session/environment.js +5 -5
  576. package/dist/session/error.js +5 -5
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +219 -219
  579. package/dist/session/execution.js +129 -129
  580. package/dist/session/generate.js +156 -156
  581. package/dist/session/history.js +13 -13
  582. package/dist/session/inbox.js +92 -92
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +79 -79
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +99 -99
  587. package/dist/session/message-updater.js +4 -4
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +122 -122
  590. package/dist/session/model-transport.js +9 -9
  591. package/dist/session/move.js +131 -131
  592. package/dist/session/projector.js +88 -88
  593. package/dist/session/prompt.js +107 -107
  594. package/dist/session/provider-context.js +3 -3
  595. package/dist/session/revert.js +92 -92
  596. package/dist/session/run-coordinator.js +3 -3
  597. package/dist/session/runner/index.js +3 -3
  598. package/dist/session/runner/llm.js +226 -226
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +100 -100
  601. package/dist/session/runner/publish-llm-event.js +115 -115
  602. package/dist/session/runner/retry.js +2 -2
  603. package/dist/session/runner/step.js +127 -127
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +5 -5
  606. package/dist/session/session.js +166 -166
  607. package/dist/session/shell.js +132 -132
  608. package/dist/session/skill.js +107 -107
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +77 -77
  611. package/dist/session/store.js +87 -87
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +207 -207
  614. package/dist/session/system-prompt.js +1 -1
  615. package/dist/session/title.js +159 -159
  616. package/dist/session/to-session-error.js +113 -113
  617. package/dist/session/transfer.js +215 -215
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +211 -211
  620. package/dist/shell/parse.js +6 -6
  621. package/dist/shell/result.js +1 -1
  622. package/dist/shell/scan.js +1 -1
  623. package/dist/shell/select.js +13 -13
  624. package/dist/shell.js +134 -134
  625. package/dist/skill/discovery.js +6 -6
  626. package/dist/skill/instructions.js +109 -109
  627. package/dist/skill.js +112 -112
  628. package/dist/snapshot.js +93 -93
  629. package/dist/state.js +1 -1
  630. package/dist/tool/html-markdown.js +1 -1
  631. package/dist/tool/http-body.js +1 -1
  632. package/dist/tool/mcp.js +130 -130
  633. package/dist/tool/plugin/edit.js +122 -122
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +122 -122
  636. package/dist/tool/plugin/grep.js +126 -126
  637. package/dist/tool/plugin/mcp-resource.js +119 -119
  638. package/dist/tool/plugin/opencode.js +111 -111
  639. package/dist/tool/plugin/patch.js +124 -124
  640. package/dist/tool/plugin/question.js +107 -107
  641. package/dist/tool/plugin/read.js +127 -127
  642. package/dist/tool/plugin/shell.js +212 -212
  643. package/dist/tool/plugin/skill.js +111 -111
  644. package/dist/tool/plugin/subagent.js +212 -212
  645. package/dist/tool/plugin/webfetch.js +112 -112
  646. package/dist/tool/plugin/websearch.js +116 -116
  647. package/dist/tool/plugin/write.js +120 -120
  648. package/dist/tool/read-filesystem.js +102 -102
  649. package/dist/tool/runtime.js +1 -1
  650. package/dist/tool-output.js +7 -7
  651. package/dist/tool.js +14 -14
  652. package/dist/types/provider.d.ts +15 -0
  653. package/dist/types/v1/config/migrate.d.ts +4 -1
  654. package/dist/util/error-summary.js +1 -1
  655. package/dist/util/error.js +1 -1
  656. package/dist/util/git-executable.js +2 -2
  657. package/dist/util/iife.js +1 -1
  658. package/dist/util/lazy.js +1 -1
  659. package/dist/util/slug.js +1 -1
  660. package/dist/util/token.js +1 -1
  661. package/dist/util/which.js +1 -1
  662. package/dist/util/wildcard.js +1 -1
  663. package/dist/v1/config/agent.js +5 -5
  664. package/dist/v1/config/command.js +5 -5
  665. package/dist/v1/config/error.js +2 -2
  666. package/dist/v1/config/mcp.js +4 -4
  667. package/dist/v1/config/migrate.js +94 -94
  668. package/dist/v1/config/permission.js +3 -3
  669. package/dist/v1/config/plugin.js +1 -1
  670. package/dist/v1/config/provider-options.js +1 -1
  671. package/dist/v1/config/provider.js +4 -4
  672. package/dist/variant.js +93 -93
  673. package/dist/vcs/patch.js +1 -1
  674. package/dist/vcs.js +91 -91
  675. package/dist/websearch.js +86 -86
  676. package/dist/wellknown/plugin.js +78 -78
  677. package/dist/wellknown.js +81 -81
  678. package/dist/workspace/driver.js +5 -5
  679. package/dist/workspace/sql.js +1 -1
  680. package/dist/workspace.js +84 -84
  681. package/dist/worktree/directory.js +2 -2
  682. package/dist/worktree/git.js +10 -10
  683. package/dist/worktree/sql.js +5 -5
  684. package/dist/worktree/strategies.js +91 -91
  685. package/dist/worktree.js +98 -98
  686. package/package.json +8 -8
  687. package/dist/chunks/git-6295fbhk.js +0 -26
  688. package/dist/chunks/git-ht5y0zrb.js +0 -18
  689. /package/dist/chunks/{git-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{git-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{git-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{git-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{git-1kg9ymc8.js → shell-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{git-24dcb14g.js → shell-24dcb14g.js} +0 -0
  695. /package/dist/chunks/{git-2710q6r3.js → shell-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{git-2axfhc9x.js → shell-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{git-2bv980vf.js → shell-2bv980vf.js} +0 -0
  698. /package/dist/chunks/{git-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{git-359p4xyc.js → shell-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{git-3asan66x.js → shell-3asan66x.js} +0 -0
  701. /package/dist/chunks/{git-3t0ybcrp.js → shell-3t0ybcrp.js} +0 -0
  702. /package/dist/chunks/{git-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{git-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{git-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{git-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{git-4vcrnpx2.js → shell-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{git-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{git-53557ph1.js → shell-53557ph1.js} +0 -0
  709. /package/dist/chunks/{git-550bvhaj.js → shell-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{git-5qd3pb7m.js → shell-5qd3pb7m.js} +0 -0
  711. /package/dist/chunks/{git-6prwharc.js → shell-6prwharc.js} +0 -0
  712. /package/dist/chunks/{git-6q2bdcd1.js → shell-6q2bdcd1.js} +0 -0
  713. /package/dist/chunks/{git-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
  714. /package/dist/chunks/{git-7m9af43g.js → shell-7m9af43g.js} +0 -0
  715. /package/dist/chunks/{git-822emrt2.js → shell-822emrt2.js} +0 -0
  716. /package/dist/chunks/{git-84wd9syh.js → shell-84wd9syh.js} +0 -0
  717. /package/dist/chunks/{git-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
  718. /package/dist/chunks/{git-8n3pysct.js → shell-8n3pysct.js} +0 -0
  719. /package/dist/chunks/{git-8wj87zfr.js → shell-8wj87zfr.js} +0 -0
  720. /package/dist/chunks/{git-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
  721. /package/dist/chunks/{git-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
  722. /package/dist/chunks/{git-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
  723. /package/dist/chunks/{git-af5trqkr.js → shell-af5trqkr.js} +0 -0
  724. /package/dist/chunks/{git-afrmfg78.js → shell-afrmfg78.js} +0 -0
  725. /package/dist/chunks/{git-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
  726. /package/dist/chunks/{git-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
  727. /package/dist/chunks/{git-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
  728. /package/dist/chunks/{git-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
  729. /package/dist/chunks/{git-bw78ga2c.js → shell-bw78ga2c.js} +0 -0
  730. /package/dist/chunks/{git-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
  731. /package/dist/chunks/{git-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
  732. /package/dist/chunks/{git-d9fn303g.js → shell-d9fn303g.js} +0 -0
  733. /package/dist/chunks/{git-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
  734. /package/dist/chunks/{git-dajrwvna.js → shell-dajrwvna.js} +0 -0
  735. /package/dist/chunks/{git-dap0rakb.js → shell-dap0rakb.js} +0 -0
  736. /package/dist/chunks/{git-df08tz66.js → shell-df08tz66.js} +0 -0
  737. /package/dist/chunks/{git-dy18nga0.js → shell-dy18nga0.js} +0 -0
  738. /package/dist/chunks/{git-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
  739. /package/dist/chunks/{git-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
  740. /package/dist/chunks/{git-ec1grn59.js → shell-ec1grn59.js} +0 -0
  741. /package/dist/chunks/{git-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
  742. /package/dist/chunks/{git-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
  743. /package/dist/chunks/{git-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
  744. /package/dist/chunks/{git-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
  745. /package/dist/chunks/{git-faypxj3z.js → shell-faypxj3z.js} +0 -0
  746. /package/dist/chunks/{git-fd410y7t.js → shell-fd410y7t.js} +0 -0
  747. /package/dist/chunks/{git-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
  748. /package/dist/chunks/{git-g86h250q.js → shell-g86h250q.js} +0 -0
  749. /package/dist/chunks/{git-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
  750. /package/dist/chunks/{git-gftt206x.js → shell-gftt206x.js} +0 -0
  751. /package/dist/chunks/{git-hk9envan.js → shell-hk9envan.js} +0 -0
  752. /package/dist/chunks/{git-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{git-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{git-jjkms2e6.js → shell-jjkms2e6.js} +0 -0
  755. /package/dist/chunks/{git-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
  756. /package/dist/chunks/{git-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
  757. /package/dist/chunks/{git-jze0r7bz.js → shell-jze0r7bz.js} +0 -0
  758. /package/dist/chunks/{git-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
  759. /package/dist/chunks/{git-m18g726c.js → shell-m18g726c.js} +0 -0
  760. /package/dist/chunks/{git-mp448xyj.js → shell-mp448xyj.js} +0 -0
  761. /package/dist/chunks/{git-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
  762. /package/dist/chunks/{git-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
  763. /package/dist/chunks/{git-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
  764. /package/dist/chunks/{git-njntx4h6.js → shell-njntx4h6.js} +0 -0
  765. /package/dist/chunks/{git-pkyv6v7h.js → shell-pkyv6v7h.js} +0 -0
  766. /package/dist/chunks/{git-pyv0edze.js → shell-pyv0edze.js} +0 -0
  767. /package/dist/chunks/{git-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{git-q74kybfr.js → shell-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{git-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{git-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{git-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{git-qg3g05ea.js → shell-qg3g05ea.js} +0 -0
  773. /package/dist/chunks/{git-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
  774. /package/dist/chunks/{git-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
  775. /package/dist/chunks/{git-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
  776. /package/dist/chunks/{git-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
  777. /package/dist/chunks/{git-ve7vex1e.js → shell-ve7vex1e.js} +0 -0
  778. /package/dist/chunks/{git-w803qqfp.js → shell-w803qqfp.js} +0 -0
  779. /package/dist/chunks/{git-wc3fc9cn.js → shell-wc3fc9cn.js} +0 -0
  780. /package/dist/chunks/{git-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
  781. /package/dist/chunks/{git-wtztk69x.js → shell-wtztk69x.js} +0 -0
  782. /package/dist/chunks/{git-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
  783. /package/dist/chunks/{git-x61499pn.js → shell-x61499pn.js} +0 -0
  784. /package/dist/chunks/{git-y44na4kk.js → shell-y44na4kk.js} +0 -0
  785. /package/dist/chunks/{git-y8f7s663.js → shell-y8f7s663.js} +0 -0
  786. /package/dist/chunks/{git-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
  787. /package/dist/chunks/{git-ym463w8f.js → shell-ym463w8f.js} +0 -0
  788. /package/dist/chunks/{git-z5v4ffb3.js → shell-z5v4ffb3.js} +0 -0
  789. /package/dist/chunks/{git-z9919s4g.js → shell-z9919s4g.js} +0 -0
@@ -1,25 +1,25 @@
1
1
  import {
2
- Service65
3
- } from "./git-nksgmehb.js";
2
+ Service76
3
+ } from "./shell-rvmjpvff.js";
4
4
  import {
5
- ID7,
5
+ ID6,
6
6
  Name2,
7
7
  toModelOutput3,
8
8
  prepare3,
9
- Service57
10
- } from "./git-6mmnhtje.js";
9
+ Service50
10
+ } from "./shell-28cbs3s9.js";
11
11
  import {
12
12
  __export
13
- } from "./git-9rqn6x4v.js";
13
+ } from "./shell-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/skill.ts
16
- var exports_skill2 = {};
17
- __export(exports_skill2, {
16
+ var exports_skill3 = {};
17
+ __export(exports_skill3, {
18
18
  Input: () => Input9,
19
- Output: () => Output8,
20
- Plugin: () => Plugin27,
21
- SkillTool: () => exports_skill2,
22
- description: () => description3,
19
+ Output: () => Output6,
20
+ Plugin: () => Plugin46,
21
+ SkillTool: () => exports_skill3,
22
+ description: () => description5,
23
23
  name: () => name9,
24
24
  toModelOutput: () => toModelOutput2
25
25
  });
@@ -28,14 +28,14 @@ import { Effect, Schema } from "effect";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
29
  var name9 = "skill";
30
30
  var Input9 = Schema.Struct({
31
- id: ID7.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
31
+ id: ID6.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
32
32
  });
33
- var Output8 = Schema.Struct({
33
+ var Output6 = Schema.Struct({
34
34
  name: Name2,
35
35
  directory: Schema.String,
36
36
  output: Schema.String
37
37
  });
38
- var description3 = [
38
+ var description5 = [
39
39
  "Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
40
40
  "",
41
41
  "The skill ID must match an available skill or a skill explicitly referenced by the user."
@@ -43,18 +43,18 @@ var description3 = [
43
43
  `);
44
44
  var toModelOutput2 = toModelOutput3;
45
45
  var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
46
- var Plugin27 = {
46
+ var Plugin46 = {
47
47
  id: "opencode.tool.skill",
48
48
  effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
49
49
  const fs = yield* FSUtil.Service;
50
- const skills = yield* Service57;
51
- const permission = yield* Service65;
50
+ const skills = yield* Service50;
51
+ const permission = yield* Service76;
52
52
  yield* ctx.tool.transform((editor) => editor.add({
53
53
  name: name9,
54
54
  options: { codemode: false },
55
- description: description3,
55
+ description: description5,
56
56
  input: Input9,
57
- output: Output8,
57
+ output: Output6,
58
58
  execute: (input, context) => Effect.gen(function* () {
59
59
  const skill = yield* skills.get(input.id);
60
60
  if (!skill)
@@ -79,4 +79,4 @@ var Plugin27 = {
79
79
  })
80
80
  };
81
81
 
82
- export { name9, Input9, Output8, description3, toModelOutput2, Plugin27, exports_skill2 };
82
+ export { name9, Input9, Output6, description5, toModelOutput2, Plugin46, exports_skill3 };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  useragent2
3
- } from "./git-9tvsdr7t.js";
3
+ } from "./shell-f8rnhecd.js";
4
4
  import {
5
- Service83
6
- } from "./git-9mqv0rn7.js";
5
+ Service84
6
+ } from "./shell-v42vq798.js";
7
7
  import {
8
- ID15,
9
- Event18,
10
- Service75
11
- } from "./git-57fbsz4v.js";
8
+ ID11,
9
+ Event16,
10
+ Service72
11
+ } from "./shell-dsdpa88b.js";
12
12
  import {
13
13
  key2
14
- } from "./git-x661k3y3.js";
14
+ } from "./shell-gqtdsdt7.js";
15
15
  import {
16
- ID14,
16
+ ID10,
17
17
  MethodID2
18
- } from "./git-drpn449j.js";
18
+ } from "./shell-5s7atwjr.js";
19
19
  import {
20
20
  which2
21
- } from "./git-qaymkmh1.js";
21
+ } from "./shell-qaymkmh1.js";
22
22
  import {
23
- ID13,
24
- Service73
25
- } from "./git-mjhxg6bx.js";
23
+ ID9,
24
+ Service70
25
+ } from "./shell-9zkr33jc.js";
26
26
  import {
27
- ID12
28
- } from "./git-y2cb6znx.js";
27
+ ID8
28
+ } from "./shell-qgbx7jx4.js";
29
29
  import {
30
30
  configuredSettings2
31
- } from "./git-2z9v5mdy.js";
31
+ } from "./shell-zj5zbbtb.js";
32
32
 
33
33
  // src/plugin/provider/azure.ts
34
34
  import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
@@ -63,18 +63,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
63
63
  }));
64
64
  var ResourceQuery = Schema.Struct({ query: Schema.String });
65
65
  var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
66
- function make7(endpoints = {
66
+ function make5(endpoints = {
67
67
  resource: (name) => `https://${name}.openai.azure.com/openai`,
68
68
  management: "https://management.azure.com"
69
69
  }) {
70
70
  return define({
71
71
  id: "opencode.provider.azure",
72
72
  effect: Effect.fn(function* (ctx) {
73
- const configured = yield* configuredSettings2(ID13.azure);
73
+ const configured = yield* configuredSettings2(ID9.azure);
74
74
  const processes = yield* AppProcess.Service;
75
- const bus = yield* Service83;
76
- const credentials = yield* Service75;
77
- const providers = yield* Service73;
75
+ const bus = yield* Service84;
76
+ const credentials = yield* Service72;
77
+ const providers = yield* Service70;
78
78
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
79
79
  const tokens = new Map;
80
80
  const resourceIDs = new Map;
@@ -100,11 +100,11 @@ function make7(endpoints = {
100
100
  const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
101
101
  yield* ctx.integration.transform((editor) => {
102
102
  editor.method.update({
103
- integrationID: ID13.azure,
103
+ integrationID: ID9.azure,
104
104
  method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
105
105
  });
106
106
  editor.method.update({
107
- integrationID: ID13.azure,
107
+ integrationID: ID9.azure,
108
108
  method: {
109
109
  type: "key",
110
110
  label: "API key",
@@ -122,7 +122,7 @@ function make7(endpoints = {
122
122
  if (!available)
123
123
  return;
124
124
  editor.method.update({
125
- integrationID: ID13.azure,
125
+ integrationID: ID9.azure,
126
126
  method: {
127
127
  id: methodID,
128
128
  type: "external",
@@ -142,8 +142,8 @@ function make7(endpoints = {
142
142
  });
143
143
  });
144
144
  const load = Effect.fn("AzurePlugin.load")(function* () {
145
- const connection = yield* ctx.integration.connection.active(ID13.azure);
146
- const stored = connection?.type === "credential" ? yield* credentials.get(ID15.make(connection.id)) : undefined;
145
+ const connection = yield* ctx.integration.connection.active(ID9.azure);
146
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID11.make(connection.id)) : undefined;
147
147
  return { connection, resource: credentialResource(stored?.value) };
148
148
  });
149
149
  const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
@@ -182,7 +182,7 @@ function make7(endpoints = {
182
182
  }));
183
183
  const discover = Effect.fn("AzurePlugin.discover")(function* () {
184
184
  const connection = loaded.connection;
185
- const settings = (yield* providers.get(ID13.azure))?.settings;
185
+ const settings = (yield* providers.get(ID9.azure))?.settings;
186
186
  const name = loaded.resource ?? resolveResourceName(settings);
187
187
  const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
188
188
  if (loaded.connection !== connection)
@@ -204,11 +204,11 @@ function make7(endpoints = {
204
204
  const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
205
205
  if (!found)
206
206
  return;
207
- if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID13.azure)))
207
+ if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID9.azure)))
208
208
  return;
209
209
  if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
210
210
  return;
211
- const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID13.azure)?.models.keys() ?? [], (id) => [
211
+ const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID9.azure)?.models.keys() ?? [], (id) => [
212
212
  id.toLowerCase(),
213
213
  id
214
214
  ]));
@@ -221,11 +221,11 @@ function make7(endpoints = {
221
221
  yield* ctx.model.reload();
222
222
  });
223
223
  const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
224
- const resourceFor = (provider) => provider.id === ID13.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
224
+ const resourceFor = (provider) => provider.id === ID9.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
225
225
  Object.assign(loaded, yield* load());
226
226
  yield* ctx.provider.transform((evt) => {
227
227
  for (const item of evt.list()) {
228
- if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
228
+ if (item.provider.id !== ID9.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
229
229
  continue;
230
230
  const resourceName = resourceFor(item.provider);
231
231
  const websocket = responsesWebSocketCapable(item.provider);
@@ -240,7 +240,7 @@ function make7(endpoints = {
240
240
  };
241
241
  });
242
242
  }
243
- const item = evt.get(ID13.azure);
243
+ const item = evt.get(ID9.azure);
244
244
  if (!item)
245
245
  return;
246
246
  evt.add({
@@ -251,7 +251,7 @@ function make7(endpoints = {
251
251
  });
252
252
  yield* ctx.model.transform((models) => {
253
253
  for (const item of models.provider.list()) {
254
- if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
254
+ if (item.provider.id !== ID9.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
255
255
  continue;
256
256
  const resourceName = resourceFor(item.provider);
257
257
  for (const model of models.list(item.provider.id)) {
@@ -263,20 +263,20 @@ function make7(endpoints = {
263
263
  }
264
264
  if (!loaded.deployments)
265
265
  return;
266
- const catalog = models.list(ID13.azure);
266
+ const catalog = models.list(ID9.azure);
267
267
  const deployed = deployedModels(loaded.deployments, catalog);
268
268
  for (const model of catalog) {
269
269
  if (!deployed.has(model.id))
270
- models.remove(ID13.azure, model.id);
270
+ models.remove(ID9.azure, model.id);
271
271
  }
272
272
  for (const [id, model] of deployed) {
273
- models.update(ID13.azure, id, (draft) => Object.assign(draft, model));
273
+ models.update(ID9.azure, id, (draft) => Object.assign(draft, model));
274
274
  }
275
275
  });
276
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
276
+ yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
277
277
  yield* refresh().pipe(Effect.forkScoped);
278
278
  const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
279
- const connection = yield* ctx.integration.connection.active(ID13.azure);
279
+ const connection = yield* ctx.integration.connection.active(ID9.azure);
280
280
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
281
281
  return;
282
282
  })) : undefined;
@@ -288,7 +288,7 @@ function make7(endpoints = {
288
288
  return `Bearer ${current.access}`;
289
289
  });
290
290
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
291
- if (evt.model.providerID !== ID13.azure)
291
+ if (evt.model.providerID !== ID9.azure)
292
292
  return;
293
293
  const authorization = yield* bearer(evt.request.url);
294
294
  if (!authorization)
@@ -297,9 +297,9 @@ function make7(endpoints = {
297
297
  evt.request.headers.delete("x-api-key");
298
298
  evt.request.headers.set("authorization", authorization);
299
299
  evt.request.headers.set("user-agent", useragent2(ctx.app));
300
- }), { providerID: ID13.azure });
300
+ }), { providerID: ID9.azure });
301
301
  yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
302
- if (evt.model.providerID !== ID13.azure)
302
+ if (evt.model.providerID !== ID9.azure)
303
303
  return;
304
304
  const authorization = yield* bearer(evt.url);
305
305
  if (!authorization)
@@ -308,11 +308,11 @@ function make7(endpoints = {
308
308
  delete evt.headers["x-api-key"];
309
309
  evt.headers.authorization = authorization;
310
310
  evt.headers["user-agent"] = useragent2(ctx.app);
311
- }), { providerID: ID13.azure });
311
+ }), { providerID: ID9.azure });
312
312
  })
313
313
  });
314
314
  }
315
- var AzurePlugin2 = make7();
315
+ var AzurePlugin2 = make5();
316
316
  function resolveResourceName(settings, fallback) {
317
317
  const configured = settings?.resourceName;
318
318
  if (typeof configured === "string" && configured.trim() !== "")
@@ -342,11 +342,11 @@ function deployedModels(deployments, catalog) {
342
342
  const model = catalogModel(models, deployment);
343
343
  if (!model)
344
344
  return [];
345
- const id = ID12.make(deployment.name.toLowerCase());
345
+ const id = ID8.make(deployment.name.toLowerCase());
346
346
  const info = {
347
347
  ...structuredClone(model),
348
348
  id,
349
- modelID: ID12.make(deployment.name),
349
+ modelID: ID8.make(deployment.name),
350
350
  name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
351
351
  };
352
352
  return [[id, info]];
@@ -368,4 +368,4 @@ function responsesWebSocketCapable(provider) {
368
368
  return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
369
369
  }
370
370
 
371
- export { make7, AzurePlugin2 };
371
+ export { make5, AzurePlugin2 };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service42
3
- } from "./git-nezz36ej.js";
2
+ Service62
3
+ } from "./shell-5f5jqs5q.js";
4
4
  import {
5
- Service41
6
- } from "./git-0sbak0n5.js";
5
+ Service61
6
+ } from "./shell-53b2w85q.js";
7
7
  import {
8
8
  parse2
9
- } from "./git-vmeg491z.js";
9
+ } from "./shell-93jjqfz5.js";
10
10
  import {
11
11
  __export
12
- } from "./git-9rqn6x4v.js";
12
+ } from "./shell-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/compatibility.ts
15
15
  var exports_compatibility = {};
16
16
  __export(exports_compatibility, {
17
17
  ConfigCompatibilityPlugin: () => exports_compatibility,
18
- Plugin: () => Plugin36
18
+ Plugin: () => Plugin35
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { FSUtil } from "@opencode/util/fs-util";
22
22
  import path from "path";
23
23
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
24
- var Plugin36 = define({
24
+ var Plugin35 = define({
25
25
  id: "opencode.config.compatibility",
26
26
  effect: Effect.fn(function* (ctx) {
27
- const config = yield* Service41;
27
+ const config = yield* Service61;
28
28
  const fs = yield* FSUtil.Service;
29
- const watcher = yield* Service42;
29
+ const watcher = yield* Service62;
30
30
  const watches = yield* FiberMap.make();
31
31
  const changes = yield* PubSub.sliding(1);
32
32
  const lock = Semaphore.makeUnsafe(1);
@@ -73,4 +73,4 @@ var Plugin36 = define({
73
73
  })
74
74
  });
75
75
 
76
- export { Plugin36, exports_compatibility };
76
+ export { Plugin35, exports_compatibility };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./git-9mqv0rn7.js";
2
+ Service84,
3
+ node88
4
+ } from "./shell-v42vq798.js";
5
5
  import {
6
6
  create3
7
- } from "./git-rdw6cm16.js";
7
+ } from "./shell-rdw6cm16.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./git-nksgmehb.js";
10
+ } from "./shell-rvmjpvff.js";
11
11
  import {
12
12
  __export
13
- } from "./git-9rqn6x4v.js";
13
+ } from "./shell-9rqn6x4v.js";
14
14
 
15
15
  // src/skill.ts
16
16
  var exports_skill5 = {};
17
17
  __export(exports_skill5, {
18
18
  DirectorySource: () => DirectorySource2,
19
19
  EmbeddedSource: () => EmbeddedSource2,
20
- Event: () => Event12,
21
- ID: () => ID7,
22
- Info: () => Info14,
20
+ Event: () => Event9,
21
+ ID: () => ID6,
22
+ Info: () => Info8,
23
23
  Name: () => Name2,
24
- Service: () => Service57,
24
+ Service: () => Service50,
25
25
  Skill: () => exports_skill5,
26
26
  Source: () => Source4,
27
27
  UrlSource: () => UrlSource2,
28
28
  available: () => available3,
29
- node: () => node62,
29
+ node: () => node53,
30
30
  prepare: () => prepare3,
31
31
  toModelOutput: () => toModelOutput3
32
32
  });
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import path from "path";
35
35
  import { Context, Effect, Layer } from "effect";
36
36
  import { Skill } from "@opencode/schema/skill";
37
- import { Event as Event12 } from "@opencode/schema/skill";
37
+ import { Event as Event9 } from "@opencode/schema/skill";
38
38
  var DirectorySource2 = Skill.DirectorySource;
39
39
  var UrlSource2 = Skill.UrlSource;
40
40
  var EmbeddedSource2 = Skill.EmbeddedSource;
41
41
  var Source4 = Skill.Source;
42
- var Info14 = Skill.Info;
43
- var ID7 = Skill.ID;
42
+ var Info8 = Skill.Info;
43
+ var ID6 = Skill.ID;
44
44
  var Name2 = Skill.Name;
45
45
  var available3 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
46
46
  var toModelOutput3 = (skill, files) => {
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
71
71
  };
72
72
  });
73
73
 
74
- class Service57 extends Context.Service()("@opencode/Skill") {
74
+ class Service50 extends Context.Service()("@opencode/Skill") {
75
75
  }
76
- var layer = Layer.effect(Service57, Effect.gen(function* () {
77
- const bus = yield* Service83;
76
+ var layer = Layer.effect(Service50, Effect.gen(function* () {
77
+ const bus = yield* Service84;
78
78
  const state = create3({
79
79
  name: "skill",
80
80
  initial: () => ({ skills: new Map }),
81
81
  editor: (editor) => ({
82
82
  list: () => Array.from(editor.skills.values()),
83
- get: (id) => editor.skills.get(ID7.make(id)),
83
+ get: (id) => editor.skills.get(ID6.make(id)),
84
84
  add: (skill) => {
85
85
  editor.skills.set(skill.id, { ...skill });
86
86
  },
87
87
  update: (id, update) => {
88
- const current = editor.skills.get(ID7.make(id));
88
+ const current = editor.skills.get(ID6.make(id));
89
89
  if (!current)
90
90
  return;
91
91
  update(current);
92
- current.id = ID7.make(id);
92
+ current.id = ID6.make(id);
93
93
  },
94
94
  remove: (id) => {
95
- editor.skills.delete(ID7.make(id));
95
+ editor.skills.delete(ID6.make(id));
96
96
  }
97
97
  }),
98
98
  notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
99
99
  });
100
- return Service57.of({
100
+ return Service50.of({
101
101
  transform: state.transform,
102
102
  reload: state.reload,
103
103
  get: Effect.fn("Skill.get")(function* (id) {
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
108
108
  })
109
109
  });
110
110
  }));
111
- var node62 = makeLocationNode({
112
- service: Service57,
111
+ var node53 = makeLocationNode({
112
+ service: Service50,
113
113
  layer,
114
- deps: [node87]
114
+ deps: [node88]
115
115
  });
116
116
 
117
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info14, ID7, Name2, available3, toModelOutput3, prepare3, Service57, node62, exports_skill5, Event12 };
117
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info8, ID6, Name2, available3, toModelOutput3, prepare3, Service50, node53, exports_skill5, Event9 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  latest2,
3
- Service41
4
- } from "./git-0sbak0n5.js";
3
+ Service61
4
+ } from "./shell-53b2w85q.js";
5
5
  import {
6
6
  __export
7
- } from "./git-9rqn6x4v.js";
7
+ } from "./shell-9rqn6x4v.js";
8
8
 
9
9
  // src/plugin/warming.ts
10
10
  var exports_warming = {};
11
11
  __export(exports_warming, {
12
- Plugin: () => Plugin10,
12
+ Plugin: () => Plugin14,
13
13
  WarmingPlugin: () => exports_warming
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -19,10 +19,10 @@ var defaults = {
19
19
  interval: Duration.minutes(4),
20
20
  duration: Duration.minutes(30)
21
21
  };
22
- var Plugin10 = define({
22
+ var Plugin14 = define({
23
23
  id: "opencode.warming",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service41;
25
+ const config = yield* Service61;
26
26
  const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
27
27
  const warming = latest2(yield* config.entries(), "warming");
28
28
  if (!warming)
@@ -96,4 +96,4 @@ var Plugin10 = define({
96
96
  })
97
97
  });
98
98
 
99
- export { Plugin10, exports_warming };
99
+ export { Plugin14, exports_warming };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service61
3
- } from "./git-ycjb11n5.js";
2
+ Service45
3
+ } from "./shell-mx9vqzsb.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./git-ht5y0zrb.js";
6
+ } from "./shell-rap9a73h.js";
7
7
  import {
8
8
  SkillNotFoundError2
9
- } from "./git-j8s9ab9g.js";
9
+ } from "./shell-e8vwfchq.js";
10
10
  import {
11
- Service57
12
- } from "./git-6mmnhtje.js";
11
+ Service50
12
+ } from "./shell-28cbs3s9.js";
13
13
  import {
14
14
  __export
15
- } from "./git-9rqn6x4v.js";
15
+ } from "./shell-9rqn6x4v.js";
16
16
 
17
17
  // src/session/skill.ts
18
18
  var exports_skill4 = {};
19
19
  __export(exports_skill4, {
20
20
  SessionSkill: () => exports_skill4,
21
- get: () => get4
21
+ get: () => get5
22
22
  });
23
23
  import { Effect } from "effect";
24
- var get4 = Effect.fn("SessionSkill.get")(function* (input) {
25
- const instances = yield* Service61;
26
- const skills = yield* awaitActivation2.pipe(Effect.andThen(Service57), instances.provide(input.session));
24
+ var get5 = Effect.fn("SessionSkill.get")(function* (input) {
25
+ const instances = yield* Service45;
26
+ const skills = yield* awaitActivation2.pipe(Effect.andThen(Service50), instances.provide(input.session));
27
27
  const skill = yield* skills.get(input.skill);
28
28
  if (!skill)
29
29
  return yield* new SkillNotFoundError2({ skill: input.skill });
30
30
  return skill;
31
31
  });
32
32
 
33
- export { get4, exports_skill4 };
33
+ export { get5, exports_skill4 };