@opencode/core 0.0.0-dev-1235 → 0.0.0-dev-1236

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 (907) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +90 -90
  3. package/dist/aisdk-native.js +1 -1
  4. package/dist/aisdk.js +109 -109
  5. package/dist/app.js +5 -5
  6. package/dist/artifact.js +258 -258
  7. package/dist/bus.js +84 -84
  8. package/dist/chunks/{state-034tev2y.js → shell-034tev2y.js} +2 -2
  9. package/dist/chunks/{state-ce1m7vx5.js → shell-036h8fdp.js} +59 -59
  10. package/dist/chunks/{state-pzw1dw73.js → shell-04w65b4q.js} +32 -32
  11. package/dist/chunks/{state-b18kgc61.js → shell-0675mxyw.js} +15 -15
  12. package/dist/chunks/{state-mrnchmxb.js → shell-0b5k2b9r.js} +11 -11
  13. package/dist/chunks/{state-0ma9gw4f.js → shell-0ma9gw4f.js} +2 -2
  14. package/dist/chunks/{state-9rqhy0gk.js → shell-0qh3s10f.js} +7 -7
  15. package/dist/chunks/{state-p5jwrm42.js → shell-0x1mgtk1.js} +5 -5
  16. package/dist/chunks/{state-6yg7gkh7.js → shell-0ycc6vtg.js} +22 -22
  17. package/dist/chunks/{state-hj0xet7m.js → shell-10pn4eb5.js} +5 -5
  18. package/dist/chunks/{state-fdtndam9.js → shell-16h9a1pc.js} +2 -2
  19. package/dist/chunks/{state-a6mv2m2w.js → shell-16hkv8qr.js} +6 -6
  20. package/dist/chunks/{state-espzy6sy.js → shell-18ymmazd.js} +6 -6
  21. package/dist/chunks/{state-1aqsckx4.js → shell-1aqsckx4.js} +1 -1
  22. package/dist/chunks/{state-1aryjtsy.js → shell-1aryjtsy.js} +1 -1
  23. package/dist/chunks/{state-1ep2p91f.js → shell-1ep2p91f.js} +2 -2
  24. package/dist/chunks/{state-8s75abyt.js → shell-1g0y4bz6.js} +20 -20
  25. package/dist/chunks/{state-zp2hh6jp.js → shell-1j8rvsvj.js} +41 -41
  26. package/dist/chunks/{state-wy93gack.js → shell-1jeqxzry.js} +3 -3
  27. package/dist/chunks/{state-9e4xpj2z.js → shell-1jq35b43.js} +7 -7
  28. package/dist/chunks/{state-1xww10mm.js → shell-1kd466m6.js} +18 -18
  29. package/dist/chunks/{state-qh660x4p.js → shell-1mr2tgzg.js} +23 -23
  30. package/dist/chunks/{state-2dc9xx1n.js → shell-1pzd61dw.js} +3 -3
  31. package/dist/chunks/{state-32cp16zq.js → shell-1s4ptyb0.js} +10 -10
  32. package/dist/chunks/{state-1x2knyw4.js → shell-1x2knyw4.js} +1 -1
  33. package/dist/chunks/{state-w687dnns.js → shell-1yped5qa.js} +4 -4
  34. package/dist/chunks/{state-1ky2091v.js → shell-22fdszsz.js} +11 -11
  35. package/dist/chunks/{state-tb2mrvc9.js → shell-26wfx3k0.js} +4 -4
  36. package/dist/chunks/{state-skezxa7b.js → shell-28ab2zbz.js} +6 -6
  37. package/dist/chunks/{state-5jandp8q.js → shell-2c6sxtb9.js} +2 -2
  38. package/dist/chunks/{state-2fc7eemy.js → shell-2fc7eemy.js} +1 -1
  39. package/dist/chunks/{state-qqrj1cck.js → shell-2g1qaj3v.js} +31 -31
  40. package/dist/chunks/{state-2prt43t7.js → shell-2prt43t7.js} +1 -1
  41. package/dist/chunks/{state-sw41xehz.js → shell-2q1ay6nz.js} +32 -32
  42. package/dist/chunks/{state-t21xr684.js → shell-2qsa616b.js} +23 -23
  43. package/dist/chunks/{state-tm2sh4kj.js → shell-2rzmzjze.js} +4 -4
  44. package/dist/chunks/{state-ddzwf2hk.js → shell-2ws0ycvx.js} +25 -25
  45. package/dist/chunks/{state-e4tacae6.js → shell-30h2xek5.js} +38 -38
  46. package/dist/chunks/{state-m4htaz91.js → shell-32n4cy7a.js} +11 -11
  47. package/dist/chunks/{state-xjbsd7zy.js → shell-3adw4bt5.js} +9 -9
  48. package/dist/chunks/{state-ez4sqtdc.js → shell-3beq3wdw.js} +3 -3
  49. package/dist/chunks/{state-eatz8zw3.js → shell-3dche8a8.js} +12 -12
  50. package/dist/chunks/{state-sf5110by.js → shell-3e7r054s.js} +15 -15
  51. package/dist/chunks/{state-8phh5qdk.js → shell-3fr5rr5m.js} +12 -12
  52. package/dist/chunks/{state-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
  53. package/dist/chunks/{state-tjyp8p49.js → shell-3m60wsff.js} +6 -6
  54. package/dist/chunks/{state-3nnrz6f6.js → shell-3nnrz6f6.js} +1 -1
  55. package/dist/chunks/{state-g9gdr7fk.js → shell-3phxyq6a.js} +6 -6
  56. package/dist/chunks/{state-0zd5ma7y.js → shell-3q0nddrq.js} +15 -15
  57. package/dist/chunks/{state-q5wz344w.js → shell-3q1eyzhv.js} +30 -30
  58. package/dist/chunks/{state-3qgwywyc.js → shell-3qgwywyc.js} +1 -1
  59. package/dist/chunks/{state-mt2tq025.js → shell-4016s5pd.js} +45 -45
  60. package/dist/chunks/{state-40y6dtc2.js → shell-40y6dtc2.js} +1 -1
  61. package/dist/chunks/{state-40za9wsf.js → shell-40za9wsf.js} +2 -2
  62. package/dist/chunks/{state-qs24j9sg.js → shell-46jjgff8.js} +19 -19
  63. package/dist/chunks/{state-4dx1dgte.js → shell-4dx1dgte.js} +1 -1
  64. package/dist/chunks/{state-4f25tdd0.js → shell-4f25tdd0.js} +1 -1
  65. package/dist/chunks/{state-azh1rc5n.js → shell-4jmjhkpv.js} +27 -27
  66. package/dist/chunks/{state-4pyp9zr9.js → shell-4pyp9zr9.js} +1 -1
  67. package/dist/chunks/{state-4v008n1t.js → shell-4v008n1t.js} +1 -1
  68. package/dist/chunks/{state-2s8atfp2.js → shell-5cjs893v.js} +17 -17
  69. package/dist/chunks/{state-xvj4xk0h.js → shell-5fscwsyp.js} +83 -83
  70. package/dist/chunks/{state-1crda53g.js → shell-5ggqth66.js} +15 -15
  71. package/dist/chunks/{state-as7nmnb0.js → shell-5kx0tcwv.js} +19 -19
  72. package/dist/chunks/{state-5m9w47nd.js → shell-5m9w47nd.js} +1 -1
  73. package/dist/chunks/{state-h3zmftah.js → shell-5vxgh09b.js} +17 -17
  74. package/dist/chunks/{state-s47rahr7.js → shell-5whx36p1.js} +4 -4
  75. package/dist/chunks/{state-jv5ccajn.js → shell-61qraad9.js} +5 -5
  76. package/dist/chunks/{state-earqv9bj.js → shell-63xtbde1.js} +25 -25
  77. package/dist/chunks/{state-dypb56j1.js → shell-64qpjjtt.js} +4 -4
  78. package/dist/chunks/{state-92fwtejg.js → shell-6f5ef91t.js} +25 -25
  79. package/dist/chunks/{state-c8psxp46.js → shell-6fwceft3.js} +23 -23
  80. package/dist/chunks/{state-jyy8cr9q.js → shell-6zmppzqa.js} +1 -1
  81. package/dist/chunks/{state-syk2ttnm.js → shell-70fr565a.js} +18 -18
  82. package/dist/chunks/{state-d5d573qc.js → shell-72cg1k7n.js} +10 -10
  83. package/dist/chunks/{state-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
  84. package/dist/chunks/{state-nkbtark2.js → shell-7d6x3zp0.js} +32 -32
  85. package/dist/chunks/{state-2jjcv7wn.js → shell-7s8ymmn3.js} +3 -3
  86. package/dist/chunks/{state-7w2ypzdf.js → shell-7w2ypzdf.js} +1 -1
  87. package/dist/chunks/{state-7weczvnd.js → shell-7weczvnd.js} +1 -1
  88. package/dist/chunks/{state-80mg3ag8.js → shell-80mg3ag8.js} +3 -3
  89. package/dist/chunks/{state-80pdk984.js → shell-80pdk984.js} +1 -1
  90. package/dist/chunks/{state-rgkwkrb9.js → shell-80vc7cqt.js} +24 -24
  91. package/dist/chunks/{state-y4001wz8.js → shell-82pkeq2f.js} +36 -36
  92. package/dist/chunks/{state-85jq8dht.js → shell-85jq8dht.js} +1 -1
  93. package/dist/chunks/{state-3nmd71g8.js → shell-873fb1q2.js} +26 -26
  94. package/dist/chunks/{state-v72vfyp1.js → shell-88ts52tc.js} +18 -18
  95. package/dist/chunks/{state-8b3vzgkx.js → shell-8b3vzgkx.js} +1 -1
  96. package/dist/chunks/{state-t48jrnqq.js → shell-8bcc8xgx.js} +3 -3
  97. package/dist/chunks/{state-7cqb7awd.js → shell-8hm61wh3.js} +15 -15
  98. package/dist/chunks/{state-xngwz0vj.js → shell-8jscb5ar.js} +11 -11
  99. package/dist/chunks/{state-8kjyvwy5.js → shell-8kjyvwy5.js} +1 -1
  100. package/dist/chunks/{state-8sxe6kv8.js → shell-8sxe6kv8.js} +2 -2
  101. package/dist/chunks/{state-f2wdtck0.js → shell-8t01ehpp.js} +21 -21
  102. package/dist/chunks/{state-tsfrrkx5.js → shell-8tqer3yd.js} +8 -8
  103. package/dist/chunks/{state-63mgvd2p.js → shell-8vz86mkn.js} +39 -39
  104. package/dist/chunks/{state-05pxkjce.js → shell-8wj2zd4k.js} +6 -6
  105. package/dist/chunks/{state-8wtp7s3z.js → shell-8wtp7s3z.js} +1 -1
  106. package/dist/chunks/shell-8x060fmy.js +18 -0
  107. package/dist/chunks/{state-fkndk5z2.js → shell-8zer1p9r.js} +1 -1
  108. package/dist/chunks/{state-yesq018p.js → shell-8zrvdc5v.js} +5 -5
  109. package/dist/chunks/{state-8zv0xmg5.js → shell-8zv0xmg5.js} +1 -1
  110. package/dist/chunks/{state-sm5nc94v.js → shell-912n4kvb.js} +13 -13
  111. package/dist/chunks/{state-gegd7n3j.js → shell-937z30ry.js} +1 -1
  112. package/dist/chunks/{state-henm3czy.js → shell-954nhh0r.js} +7 -7
  113. package/dist/chunks/{state-9fgy5dtv.js → shell-9k2g0ym6.js} +8 -8
  114. package/dist/chunks/{state-r0kj4fvy.js → shell-9m2cxvt8.js} +6 -6
  115. package/dist/chunks/{state-1v50j346.js → shell-9mg7wdw4.js} +7 -7
  116. package/dist/chunks/{state-bwp70zy2.js → shell-9pgwy7mp.js} +3 -3
  117. package/dist/chunks/{state-73txa7jk.js → shell-9pj7rt5g.js} +8 -8
  118. package/dist/chunks/{state-gp44nzrb.js → shell-9pprb9d1.js} +5 -5
  119. package/dist/chunks/{state-w79nt68w.js → shell-9q8g9sv8.js} +4 -4
  120. package/dist/chunks/{state-ytf4f56c.js → shell-9sbgfgyf.js} +20 -20
  121. package/dist/chunks/{state-56sz83fz.js → shell-9y6qj2jx.js} +14 -14
  122. package/dist/chunks/{state-610g93rr.js → shell-a2j5x2j3.js} +24 -24
  123. package/dist/chunks/{state-yd46kdwt.js → shell-a4gm6t53.js} +53 -53
  124. package/dist/chunks/{state-6y2b864j.js → shell-agje4kmn.js} +4 -4
  125. package/dist/chunks/{state-12kdk8b4.js → shell-aj92njvd.js} +13 -13
  126. package/dist/chunks/{state-90ct6wq4.js → shell-anvcme1c.js} +4 -4
  127. package/dist/chunks/{state-ayjs7tqn.js → shell-ayjs7tqn.js} +2 -2
  128. package/dist/chunks/{state-xhqgfte7.js → shell-bcyt6enm.js} +3 -3
  129. package/dist/chunks/{state-xs8ad273.js → shell-be4qsd6f.js} +27 -27
  130. package/dist/chunks/{state-az7m660a.js → shell-bhj5kqff.js} +9 -9
  131. package/dist/chunks/{state-w1xxh1rf.js → shell-bp6wf20z.js} +21 -21
  132. package/dist/chunks/{state-pt6axzm3.js → shell-bq3t301c.js} +12 -12
  133. package/dist/chunks/{state-fccvjkbp.js → shell-bsfkzme1.js} +9 -9
  134. package/dist/chunks/{state-r7r55277.js → shell-c1sfsxsr.js} +8 -8
  135. package/dist/chunks/{state-12h42gc5.js → shell-c4955r41.js} +4 -4
  136. package/dist/chunks/{state-tekz83mq.js → shell-c66n214j.js} +19 -19
  137. package/dist/chunks/{state-em6gyk8n.js → shell-c9zsrm67.js} +5 -5
  138. package/dist/chunks/{state-8e74rt2q.js → shell-cc1d08x5.js} +65 -65
  139. package/dist/chunks/{state-fe0p0k7n.js → shell-ce1s16sh.js} +16 -16
  140. package/dist/chunks/{state-tgnr40tg.js → shell-cf430zbt.js} +20 -20
  141. package/dist/chunks/{state-cg3fcpn4.js → shell-cg3fcpn4.js} +1 -1
  142. package/dist/chunks/{state-cwrgdav8.js → shell-cwrgdav8.js} +2 -2
  143. package/dist/chunks/{state-nbasw9vk.js → shell-d4ez0mth.js} +25 -25
  144. package/dist/chunks/{state-d4v9tmah.js → shell-d4v9tmah.js} +2 -2
  145. package/dist/chunks/{state-08v7z8bj.js → shell-d89kch1r.js} +4 -4
  146. package/dist/chunks/{state-13qgbh2h.js → shell-ddpz51nj.js} +24 -24
  147. package/dist/chunks/{state-gcahcqmt.js → shell-ddx2em2x.js} +36 -36
  148. package/dist/chunks/{state-ryk8esgz.js → shell-djdnzsbm.js} +17 -17
  149. package/dist/chunks/{state-dt77769w.js → shell-dt77769w.js} +1 -1
  150. package/dist/chunks/{state-dvnqv6yn.js → shell-dvnqv6yn.js} +1 -1
  151. package/dist/chunks/{state-8n09hdvs.js → shell-e174pryb.js} +8 -8
  152. package/dist/chunks/{state-yk50763d.js → shell-e871szjm.js} +36 -36
  153. package/dist/chunks/{state-1qbjy8pk.js → shell-eab5a047.js} +8 -8
  154. package/dist/chunks/{state-eqw4pqj1.js → shell-eqw4pqj1.js} +2 -2
  155. package/dist/chunks/{state-pwzt2vz0.js → shell-erzjjtze.js} +15 -15
  156. package/dist/chunks/{state-4jgtr414.js → shell-esce2nyk.js} +23 -23
  157. package/dist/chunks/{state-5vx230qf.js → shell-esga5km6.js} +13 -13
  158. package/dist/chunks/{state-dr2ev67s.js → shell-ew7xwj24.js} +10 -10
  159. package/dist/chunks/{state-c1m4q5e0.js → shell-exmx7990.js} +6 -6
  160. package/dist/chunks/{state-wx96rjq6.js → shell-f2nnq1r4.js} +5 -5
  161. package/dist/chunks/{state-fg9p65nk.js → shell-fg9p65nk.js} +2 -2
  162. package/dist/chunks/{state-r8ek82sz.js → shell-fv16gkx5.js} +4 -4
  163. package/dist/chunks/{state-b26ddj6h.js → shell-g4txs7zc.js} +4 -4
  164. package/dist/chunks/{state-zjd996k1.js → shell-g5pq00vt.js} +3 -3
  165. package/dist/chunks/{state-pyc9zk8k.js → shell-gb4q2wv6.js} +75 -75
  166. package/dist/chunks/{state-gbjdnr5j.js → shell-gbjdnr5j.js} +2 -2
  167. package/dist/chunks/{state-bqzea05b.js → shell-gdyfrwgs.js} +2 -2
  168. package/dist/chunks/{state-ghrv1g9c.js → shell-ghrv1g9c.js} +1 -1
  169. package/dist/chunks/{state-923z2668.js → shell-gm6yx5tf.js} +21 -21
  170. package/dist/chunks/{state-arx8f56v.js → shell-gn41fvca.js} +355 -355
  171. package/dist/chunks/{state-fpw8a7zs.js → shell-gnmx9jzn.js} +13 -13
  172. package/dist/chunks/{state-n4dgardt.js → shell-gqbzzj38.js} +11 -11
  173. package/dist/chunks/{state-s2fh24gv.js → shell-grebgr4t.js} +16 -16
  174. package/dist/chunks/{state-z0n292p6.js → shell-gsh8dbcf.js} +7 -7
  175. package/dist/chunks/{state-gxs71cxp.js → shell-gxs71cxp.js} +1 -1
  176. package/dist/chunks/{state-8cv530b8.js → shell-haep26br.js} +46 -46
  177. package/dist/chunks/{state-bmzkfxac.js → shell-hgnffhq1.js} +10 -10
  178. package/dist/chunks/{state-hgzwgvze.js → shell-hgzwgvze.js} +2 -2
  179. package/dist/chunks/{state-r4gqnmyj.js → shell-hqd6z3z6.js} +53 -53
  180. package/dist/chunks/{state-ndssgjv1.js → shell-hsfavt19.js} +11 -11
  181. package/dist/chunks/{state-mxj0r9mh.js → shell-hvazaj44.js} +175 -175
  182. package/dist/chunks/{state-7tpyp9vw.js → shell-hy8c1z76.js} +8 -8
  183. package/dist/chunks/{state-tvtwxsyy.js → shell-j2q36jkf.js} +14 -14
  184. package/dist/chunks/{state-tr8x705m.js → shell-j376ae4e.js} +5 -5
  185. package/dist/chunks/{state-c6x7d2ts.js → shell-j3f8hyeg.js} +4 -4
  186. package/dist/chunks/{state-65jsfrh3.js → shell-j4czs83g.js} +6 -6
  187. package/dist/chunks/{state-3p591abm.js → shell-j4efyjr1.js} +16 -16
  188. package/dist/chunks/{state-hvcjhvbh.js → shell-j7e2r5j3.js} +11 -11
  189. package/dist/chunks/{state-jbwnkpvz.js → shell-j8k9k4df.js} +41 -41
  190. package/dist/chunks/{state-c5zvymhv.js → shell-jbca85dn.js} +4 -4
  191. package/dist/chunks/{state-p071w3jm.js → shell-jdtejstm.js} +2 -2
  192. package/dist/chunks/{state-m4dsmddg.js → shell-jfeypak5.js} +43 -43
  193. package/dist/chunks/{state-hgy5dwbr.js → shell-jfy1k2gx.js} +5 -5
  194. package/dist/chunks/{state-a86g2bt8.js → shell-jgp363sy.js} +5 -5
  195. package/dist/chunks/{state-hadx4k33.js → shell-jgqt2tj2.js} +5 -5
  196. package/dist/chunks/{state-21573k7e.js → shell-jja1z2vg.js} +8 -8
  197. package/dist/chunks/{state-bhfd478d.js → shell-jkdcm5hg.js} +4 -4
  198. package/dist/chunks/{state-jm70asfg.js → shell-jm70asfg.js} +1 -1
  199. package/dist/chunks/{state-3hrr5cv7.js → shell-jn3nq4s8.js} +11 -11
  200. package/dist/chunks/{state-abby1hp7.js → shell-jnvf6701.js} +31 -31
  201. package/dist/chunks/{state-j9z46kd8.js → shell-jpsvkcma.js} +11 -11
  202. package/dist/chunks/{state-m0r9mrhn.js → shell-jwy1qt1p.js} +6 -6
  203. package/dist/chunks/{state-rxmw0rhb.js → shell-jx447tda.js} +11 -11
  204. package/dist/chunks/{state-44pmzq9c.js → shell-jxd6f16v.js} +2 -2
  205. package/dist/chunks/{state-m2kywmf4.js → shell-kg7gfw2q.js} +6 -6
  206. package/dist/chunks/{state-vba67v53.js → shell-kh6f2f6m.js} +35 -35
  207. package/dist/chunks/{state-jbbw453h.js → shell-kk8ecaaw.js} +46 -46
  208. package/dist/chunks/{state-xhr0vr4z.js → shell-kmy2r0a4.js} +19 -19
  209. package/dist/chunks/{state-cvtq930h.js → shell-kpfg0091.js} +25 -25
  210. package/dist/chunks/{state-d860fp5q.js → shell-kr4rdmkf.js} +22 -22
  211. package/dist/chunks/{state-q9yy3jv5.js → shell-krf0dcce.js} +64 -64
  212. package/dist/chunks/{state-fr2qyp97.js → shell-ks29rz6y.js} +12 -12
  213. package/dist/chunks/{state-kt3bjfbg.js → shell-kt3bjfbg.js} +1 -1
  214. package/dist/chunks/{state-kzczzf4v.js → shell-kzczzf4v.js} +1 -1
  215. package/dist/chunks/{state-93xmyh8q.js → shell-kzdam8c6.js} +5 -5
  216. package/dist/chunks/{state-5c1tbmp4.js → shell-kztrepe5.js} +26 -26
  217. package/dist/chunks/{state-r8pfs0tk.js → shell-m0vfnqky.js} +159 -159
  218. package/dist/chunks/{state-m1714858.js → shell-m1714858.js} +1 -1
  219. package/dist/chunks/{state-4dfqsw0d.js → shell-m4p4r8nc.js} +4 -4
  220. package/dist/chunks/{state-m90tx7mw.js → shell-m90tx7mw.js} +1 -1
  221. package/dist/chunks/{state-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
  222. package/dist/chunks/{state-mb7mbhnz.js → shell-mb7mbhnz.js} +3 -3
  223. package/dist/chunks/{state-crx0bayg.js → shell-mchgafn9.js} +25 -25
  224. package/dist/chunks/{state-tbd5caq6.js → shell-mdj7aq5z.js} +13 -13
  225. package/dist/chunks/{state-4g2y45a7.js → shell-mte4cvhm.js} +20 -20
  226. package/dist/chunks/{state-grdxa8jy.js → shell-mykc1p7n.js} +28 -28
  227. package/dist/chunks/{state-1gdzt2xj.js → shell-mym403hh.js} +1 -1
  228. package/dist/chunks/{state-2n6s2h8c.js → shell-n00ze04j.js} +28 -28
  229. package/dist/chunks/{state-a0d0vn03.js → shell-nb9jyyhf.js} +44 -44
  230. package/dist/chunks/{state-jaxmtxzk.js → shell-npat0gmp.js} +13 -13
  231. package/dist/chunks/{state-8d63t3d3.js → shell-nt52v2br.js} +17 -17
  232. package/dist/chunks/{state-ykw7y9nr.js → shell-nyq7g77b.js} +17 -17
  233. package/dist/chunks/{state-17b8a7h3.js → shell-p5tk1xdz.js} +11 -11
  234. package/dist/chunks/{state-1yq9hg58.js → shell-p7vhpwh8.js} +5 -5
  235. package/dist/chunks/{state-fd4d6nj8.js → shell-pempf0ss.js} +10 -10
  236. package/dist/chunks/{state-pknna89w.js → shell-pknna89w.js} +1 -1
  237. package/dist/chunks/{state-48yfz3tb.js → shell-pn6nj4xv.js} +31 -31
  238. package/dist/chunks/{state-etrnj9s7.js → shell-pnwsrq7c.js} +8 -8
  239. package/dist/chunks/{state-h5nac3dr.js → shell-ptvgvc4z.js} +2 -2
  240. package/dist/chunks/{state-xerazvms.js → shell-ptxdnnkz.js} +28 -28
  241. package/dist/chunks/{state-pxbvf64t.js → shell-pxbvf64t.js} +2 -2
  242. package/dist/chunks/{state-kt2vhnk6.js → shell-pxx5a2xh.js} +28 -28
  243. package/dist/chunks/{state-9j57p5qp.js → shell-py48kn80.js} +9 -9
  244. package/dist/chunks/{state-7fp7qfak.js → shell-pzyn5a6k.js} +40 -40
  245. package/dist/chunks/{state-61mmvpeq.js → shell-q0he7wdg.js} +5 -5
  246. package/dist/chunks/{state-fwg5afng.js → shell-q4gg89tw.js} +7 -7
  247. package/dist/chunks/{state-fcrts5pp.js → shell-q4v7z4m2.js} +5 -5
  248. package/dist/chunks/{state-d29c5j98.js → shell-q99m7mb9.js} +3 -3
  249. package/dist/chunks/{state-g6ahpmy1.js → shell-qd9p9160.js} +8 -8
  250. package/dist/chunks/{state-xk7swg5w.js → shell-qe73sy79.js} +21 -21
  251. package/dist/chunks/{state-kj9n5bvh.js → shell-qfz6bxfd.js} +4 -4
  252. package/dist/chunks/{state-ej37q9q9.js → shell-qkvdxj57.js} +23 -23
  253. package/dist/chunks/{state-896wxer7.js → shell-qm18sw8q.js} +13 -13
  254. package/dist/chunks/{state-qp7r0hxv.js → shell-qp7r0hxv.js} +1 -1
  255. package/dist/chunks/{state-9hpwr794.js → shell-qqak1ff5.js} +24 -24
  256. package/dist/chunks/{state-kw7mz92r.js → shell-qx70kgtf.js} +6 -6
  257. package/dist/chunks/{state-ksnhqdx8.js → shell-qyjevvjj.js} +10 -10
  258. package/dist/chunks/{state-ev2hqs01.js → shell-r29b7v1t.js} +14 -14
  259. package/dist/chunks/{state-1kzwae0a.js → shell-r467x9d0.js} +12 -12
  260. package/dist/chunks/{state-7yf4mrpk.js → shell-r50190cd.js} +18 -18
  261. package/dist/chunks/{state-rb9dy4dg.js → shell-rb9dy4dg.js} +1 -1
  262. package/dist/chunks/{state-rgc9cx3e.js → shell-rgc9cx3e.js} +2 -2
  263. package/dist/chunks/{state-tagt9nex.js → shell-rh60nmqg.js} +26 -26
  264. package/dist/chunks/{state-sznb0j4e.js → shell-rhtdsm5h.js} +10 -10
  265. package/dist/chunks/{state-rj7jtxy8.js → shell-rj7jtxy8.js} +3 -3
  266. package/dist/chunks/{state-zb8b10s4.js → shell-rjmgtw96.js} +16 -16
  267. package/dist/chunks/{state-kv4xpykx.js → shell-rkjx68g1.js} +10 -10
  268. package/dist/chunks/{state-4zvs82v7.js → shell-rwdydcjz.js} +40 -40
  269. package/dist/chunks/{state-2p60zmnr.js → shell-s1ba0vj0.js} +2 -2
  270. package/dist/chunks/{state-1xc4xt0c.js → shell-s1sy6qq8.js} +12 -12
  271. package/dist/chunks/{state-vjz7c0d8.js → shell-s2x2xzav.js} +10 -10
  272. package/dist/chunks/{state-2skpza5b.js → shell-s5pm8eh5.js} +42 -42
  273. package/dist/chunks/{state-v7g2mpw4.js → shell-s5vjgyqt.js} +12 -12
  274. package/dist/chunks/{state-5kht1aj9.js → shell-s96ajdf2.js} +4 -4
  275. package/dist/chunks/{state-sbya78hr.js → shell-sbya78hr.js} +1 -1
  276. package/dist/chunks/{state-gjv7na4e.js → shell-sete29qy.js} +9 -9
  277. package/dist/chunks/{state-4mdat9m4.js → shell-sffgv7c6.js} +37 -37
  278. package/dist/chunks/{state-rcrtbk2k.js → shell-sh65p1as.js} +16 -16
  279. package/dist/chunks/{state-0te9php1.js → shell-sj9zktea.js} +6 -6
  280. package/dist/chunks/{state-maptvskn.js → shell-sm9agdn1.js} +32 -32
  281. package/dist/chunks/{state-2ajmtsj5.js → shell-sp3r8rdd.js} +14 -14
  282. package/dist/chunks/{state-mmq84whh.js → shell-spj29m8q.js} +24 -24
  283. package/dist/chunks/{state-a7dsdcje.js → shell-st89z1cb.js} +33 -33
  284. package/dist/chunks/{state-svcy3p9a.js → shell-svcy3p9a.js} +1 -1
  285. package/dist/chunks/{state-zdtba7n3.js → shell-svgz3m6v.js} +15 -15
  286. package/dist/chunks/{state-1vj9z2t7.js → shell-sya2xnbe.js} +21 -21
  287. package/dist/chunks/{state-rx7dnwpf.js → shell-t48p9t17.js} +15 -15
  288. package/dist/chunks/{state-yny230gw.js → shell-t6r3642g.js} +3 -3
  289. package/dist/chunks/{state-tbpn7jtk.js → shell-tbpn7jtk.js} +1 -1
  290. package/dist/chunks/{state-tczq8hjw.js → shell-tczq8hjw.js} +1 -1
  291. package/dist/chunks/{state-7tnzr79b.js → shell-teq5xbyn.js} +15 -15
  292. package/dist/chunks/{state-t4qcw7hc.js → shell-tkf5aevt.js} +5 -5
  293. package/dist/chunks/{state-ttz31trp.js → shell-ttz31trp.js} +2 -2
  294. package/dist/chunks/{state-tvtps2q9.js → shell-tvtps2q9.js} +1 -1
  295. package/dist/chunks/{state-twssxy5n.js → shell-twssxy5n.js} +2 -2
  296. package/dist/chunks/{state-kb4kbwnh.js → shell-ty1zr4xr.js} +4 -4
  297. package/dist/chunks/{state-btz4vdf2.js → shell-tz8eqr11.js} +9 -9
  298. package/dist/chunks/{state-v2r1d0zg.js → shell-v2r1d0zg.js} +1 -1
  299. package/dist/chunks/{state-ynphyzz5.js → shell-vhkn27nw.js} +14 -14
  300. package/dist/chunks/{state-vjf35v1f.js → shell-vjf35v1f.js} +1 -1
  301. package/dist/chunks/{state-7y60gvjh.js → shell-vm1kvrgp.js} +21 -21
  302. package/dist/chunks/{state-rdagnh11.js → shell-vp6eqdrp.js} +18 -18
  303. package/dist/chunks/{state-6h8vcvjm.js → shell-vq0qa3sh.js} +9 -9
  304. package/dist/chunks/{state-ahghdt1q.js → shell-vxwd42fs.js} +24 -24
  305. package/dist/chunks/{state-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
  306. package/dist/chunks/{state-9sk33afj.js → shell-w4xw9ac5.js} +6 -6
  307. package/dist/chunks/{state-ckn0kvtp.js → shell-w75qynz4.js} +6 -6
  308. package/dist/chunks/{state-w76xjer3.js → shell-w76xjer3.js} +1 -1
  309. package/dist/chunks/{state-wakvkjy4.js → shell-wakvkjy4.js} +1 -1
  310. package/dist/chunks/{state-146yjxz1.js → shell-wcrm9y98.js} +7 -7
  311. package/dist/chunks/{state-wd87259q.js → shell-wd87259q.js} +1 -1
  312. package/dist/chunks/{state-96za3h7c.js → shell-wegftbnv.js} +16 -16
  313. package/dist/chunks/{state-wegkxhrn.js → shell-wegkxhrn.js} +2 -2
  314. package/dist/chunks/{state-dfs3ke65.js → shell-wer8ypww.js} +11 -11
  315. package/dist/chunks/{state-29b1w24h.js → shell-wx92pfwk.js} +39 -39
  316. package/dist/chunks/{state-qv4pjm17.js → shell-x0zvbbfs.js} +16 -16
  317. package/dist/chunks/{state-4q2r4pwc.js → shell-x3fp8cfn.js} +4 -4
  318. package/dist/chunks/{state-gzqyvavm.js → shell-x6zf9jys.js} +13 -13
  319. package/dist/chunks/{state-wq6ywtgw.js → shell-x8x2yrmp.js} +14 -14
  320. package/dist/chunks/{state-q7q8y45y.js → shell-xa8qfgev.js} +20 -20
  321. package/dist/chunks/{state-w28k7sqx.js → shell-xcx857aw.js} +25 -25
  322. package/dist/chunks/{state-bstexjd6.js → shell-xd9cc171.js} +5 -5
  323. package/dist/chunks/{state-a0fq0pbv.js → shell-xe6pezxp.js} +9 -9
  324. package/dist/chunks/{state-157fyfz6.js → shell-xf2f9n1d.js} +26 -26
  325. package/dist/chunks/{state-xjr6c8m4.js → shell-xjr6c8m4.js} +1 -1
  326. package/dist/chunks/{state-8f7gx5vx.js → shell-xkq5tww2.js} +8 -8
  327. package/dist/chunks/{state-xksw6ev0.js → shell-xksw6ev0.js} +1 -1
  328. package/dist/chunks/{state-bz3qss21.js → shell-xqndbamq.js} +31 -31
  329. package/dist/chunks/{state-azqdag7d.js → shell-xvn8mnch.js} +4 -4
  330. package/dist/chunks/{state-822e8phb.js → shell-xvpknwdn.js} +52 -52
  331. package/dist/chunks/{state-t7r51tgb.js → shell-xwstg1hq.js} +9 -9
  332. package/dist/chunks/{state-g9ndtp1p.js → shell-y00x4xpa.js} +4 -4
  333. package/dist/chunks/{state-41n8xc56.js → shell-y0n2vfvz.js} +7 -7
  334. package/dist/chunks/{state-9cvfxry1.js → shell-y1hm2f23.js} +22 -22
  335. package/dist/chunks/{state-a1nxhhb0.js → shell-y8yx2agg.js} +16 -16
  336. package/dist/chunks/{state-ctyzbht0.js → shell-y9k74rm6.js} +7 -7
  337. package/dist/chunks/{state-yewyrtz9.js → shell-y9zkvspb.js} +13 -13
  338. package/dist/chunks/{state-yb20nhc3.js → shell-yb20nhc3.js} +1 -1
  339. package/dist/chunks/{state-1v2g13eq.js → shell-ybws1qgk.js} +4 -4
  340. package/dist/chunks/{state-5r6v6fc0.js → shell-yc63kapp.js} +25 -25
  341. package/dist/chunks/{state-2h7vmg0a.js → shell-yck4t7r7.js} +19 -19
  342. package/dist/chunks/{state-d2h8y0r7.js → shell-ycw42mae.js} +5 -5
  343. package/dist/chunks/{state-b7pq7ra0.js → shell-yg44558y.js} +10 -10
  344. package/dist/chunks/{state-yr705xyq.js → shell-yr705xyq.js} +1 -1
  345. package/dist/chunks/{state-yvtc2x31.js → shell-yvtc2x31.js} +1 -1
  346. package/dist/chunks/{state-z0wbgq7s.js → shell-z0wbgq7s.js} +1 -1
  347. package/dist/chunks/{state-ptx3cj57.js → shell-z2vs241d.js} +85 -85
  348. package/dist/chunks/{state-ze75qvmd.js → shell-ze75qvmd.js} +3 -3
  349. package/dist/chunks/{state-xqv8rs9y.js → shell-zfnf49qv.js} +12 -12
  350. package/dist/chunks/{state-bx96q59d.js → shell-zfzwag3x.js} +29 -29
  351. package/dist/chunks/{state-aq73hw13.js → shell-zhgzvq41.js} +11 -11
  352. package/dist/chunks/{state-pa611nne.js → shell-zsa3hrgx.js} +5 -5
  353. package/dist/codemode/catalog.js +1 -1
  354. package/dist/codemode/execution.js +3 -3
  355. package/dist/codemode/fetch.js +150 -150
  356. package/dist/codemode/instructions.js +6 -6
  357. package/dist/codemode/tool.js +157 -157
  358. package/dist/command.js +94 -94
  359. package/dist/config/discovery.js +95 -95
  360. package/dist/config/integration.js +1 -1
  361. package/dist/config/managed.js +1 -1
  362. package/dist/config/markdown.js +1 -1
  363. package/dist/config/normalize.js +113 -113
  364. package/dist/config/plugin/agent.js +132 -132
  365. package/dist/config/plugin/command.js +247 -247
  366. package/dist/config/plugin/compaction.js +175 -175
  367. package/dist/config/plugin/compatibility.js +155 -155
  368. package/dist/config/plugin/entry-observer.js +1 -1
  369. package/dist/config/plugin/formatter.js +132 -132
  370. package/dist/config/plugin/image.js +131 -131
  371. package/dist/config/plugin/instruction.js +132 -132
  372. package/dist/config/plugin/location-watcher.js +133 -133
  373. package/dist/config/plugin/mcp.js +146 -146
  374. package/dist/config/plugin/policy.js +131 -131
  375. package/dist/config/plugin/provider.js +131 -131
  376. package/dist/config/plugin/reference.js +133 -133
  377. package/dist/config/plugin/shell.js +131 -131
  378. package/dist/config/plugin/skill-file.js +151 -151
  379. package/dist/config/plugin/skill-scan.js +1 -1
  380. package/dist/config/plugin/skill.js +156 -156
  381. package/dist/config/plugin/snapshot.js +131 -131
  382. package/dist/config/plugin/source.js +135 -135
  383. package/dist/config/plugin/tool-output.js +132 -132
  384. package/dist/config/plugin/websearch.js +130 -130
  385. package/dist/config/plugin/worktree.js +133 -133
  386. package/dist/config/variable.js +1 -1
  387. package/dist/config/watch.js +1 -1
  388. package/dist/config.js +136 -136
  389. package/dist/console-access.js +1 -1
  390. package/dist/credential/sql.js +2 -2
  391. package/dist/credential.js +94 -94
  392. package/dist/database/batch.js +1 -1
  393. package/dist/database/database.js +77 -77
  394. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  395. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  396. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  397. package/dist/database/drizzle/index.js +13 -13
  398. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  399. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  400. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  401. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  402. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  403. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  404. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  405. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  406. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  407. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  408. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  409. package/dist/database/drizzle.js +14 -14
  410. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  411. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  412. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  413. package/dist/database/migration/20260225215848_workspace.js +1 -1
  414. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  415. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  416. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  417. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  418. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  419. package/dist/database/migration/20260323234822_events.js +1 -1
  420. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  421. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  422. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  423. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  424. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  425. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  426. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  427. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  428. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  429. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  430. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  431. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  432. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  433. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  434. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  435. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  436. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  437. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  438. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  439. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  440. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  441. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  442. package/dist/database/migration/20260611035744_credential.js +1 -1
  443. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  444. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  445. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  446. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  447. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  448. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  449. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  450. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  451. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  452. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  453. package/dist/database/migration/20260812213948_worktree.js +1 -1
  454. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  455. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  456. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  457. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  458. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  459. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  460. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  461. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  462. package/dist/database/migration/20261025123711_blob.js +1 -1
  463. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  464. package/dist/database/migration/20261026223005_schedule.js +1 -1
  465. package/dist/database/migration/20261029002625_session_part.js +1 -1
  466. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  467. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  468. package/dist/database/migration/20261030054400_job.js +1 -1
  469. package/dist/database/migration.gen.js +60 -60
  470. package/dist/database/migration.js +76 -76
  471. package/dist/database/path.js +2 -2
  472. package/dist/database/schema.gen.js +1 -1
  473. package/dist/database/schema.sql.js +1 -1
  474. package/dist/database/v1-migration.bun.js +105 -105
  475. package/dist/effect/app-node-builder.js +444 -444
  476. package/dist/effect/app-node-platform.js +2 -2
  477. package/dist/effect/keyed-mutex.js +3 -3
  478. package/dist/effect/websocket-constructor.js +1 -1
  479. package/dist/environment/driver.js +1 -1
  480. package/dist/environment/environment.js +105 -105
  481. package/dist/environment/exec-defaults.js +2 -2
  482. package/dist/environment/files.js +1 -1
  483. package/dist/environment/index.js +109 -109
  484. package/dist/environment/local.js +2 -2
  485. package/dist/environment/memory.js +2 -2
  486. package/dist/environment/unavailable.js +3 -3
  487. package/dist/event/sql.js +1 -1
  488. package/dist/event-logger.js +85 -85
  489. package/dist/file-access.js +162 -162
  490. package/dist/file-mutation.js +108 -108
  491. package/dist/file-retention.js +1 -1
  492. package/dist/file-write.js +166 -166
  493. package/dist/filesystem/fff.bun.js +2 -2
  494. package/dist/filesystem/fff.js +1 -1
  495. package/dist/filesystem/fff.node.js +2 -2
  496. package/dist/filesystem/fff.workerd.js +2 -2
  497. package/dist/filesystem/file-watch.js +91 -91
  498. package/dist/filesystem/location-watcher-policy.js +6 -6
  499. package/dist/filesystem/location-watcher.js +260 -260
  500. package/dist/filesystem/protected.js +1 -1
  501. package/dist/filesystem/search.js +113 -113
  502. package/dist/filesystem/watcher-binding.js +1 -1
  503. package/dist/filesystem/watcher.js +11 -11
  504. package/dist/filesystem.js +114 -114
  505. package/dist/flag.js +134 -134
  506. package/dist/form.js +93 -93
  507. package/dist/formatter/builtins.js +4 -4
  508. package/dist/formatter.js +100 -100
  509. package/dist/generate.js +119 -119
  510. package/dist/git.js +11 -11
  511. package/dist/github-copilot/models.js +113 -113
  512. package/dist/image/notice.js +1 -1
  513. package/dist/image/photon-normalize.js +1 -1
  514. package/dist/image/photon-worker.js +1 -1
  515. package/dist/image/photon.js +4 -4
  516. package/dist/image.js +6 -6
  517. package/dist/instance/service.js +1 -1
  518. package/dist/instance.js +437 -437
  519. package/dist/instruction-discovery.js +86 -86
  520. package/dist/instructions/builtins.js +101 -101
  521. package/dist/instructions/index.js +4 -4
  522. package/dist/integration/connection.js +3 -3
  523. package/dist/integration.js +100 -100
  524. package/dist/job/list.js +5 -5
  525. package/dist/job/recovery.js +2 -2
  526. package/dist/job/sql.js +2 -2
  527. package/dist/job.js +90 -90
  528. package/dist/kv/sql.js +2 -2
  529. package/dist/kv.js +84 -84
  530. package/dist/location-activity.js +187 -187
  531. package/dist/location-lifecycle.js +155 -155
  532. package/dist/location-service-map.js +99 -99
  533. package/dist/location-services.js +438 -438
  534. package/dist/location.js +102 -102
  535. package/dist/managed-policy.js +3 -3
  536. package/dist/mcp/client.js +161 -161
  537. package/dist/mcp/connection.js +106 -106
  538. package/dist/mcp/event-errors.js +1 -1
  539. package/dist/mcp/index.js +149 -149
  540. package/dist/mcp/instructions.js +192 -192
  541. package/dist/mcp/oauth.js +90 -90
  542. package/dist/mcp/pool.js +112 -112
  543. package/dist/mcp/socket-client.js +1 -1
  544. package/dist/mcp/stdio.js +161 -161
  545. package/dist/mime.js +1 -1
  546. package/dist/modal/models.js +113 -113
  547. package/dist/model-resolver.js +113 -113
  548. package/dist/model-retry.js +1 -1
  549. package/dist/model.js +106 -106
  550. package/dist/models-dev/v1.js +1 -1
  551. package/dist/models-dev.js +118 -118
  552. package/dist/oauth/page.js +1 -1
  553. package/dist/oauth/redirect.js +1 -1
  554. package/dist/permission/saved.js +93 -93
  555. package/dist/permission/sql.js +5 -5
  556. package/dist/permission.js +156 -156
  557. package/dist/persistent-pty/binary.bun.js +1 -1
  558. package/dist/persistent-pty/daemon.js +1 -1
  559. package/dist/persistent-pty/index.js +99 -99
  560. package/dist/persistent-pty/pty-binding.js +1 -1
  561. package/dist/persistent-pty.js +86 -86
  562. package/dist/plugin/agent.js +85 -85
  563. package/dist/plugin/command.js +146 -146
  564. package/dist/plugin/fork-notice.js +3 -3
  565. package/dist/plugin/goal.js +1 -1
  566. package/dist/plugin/hooks.js +5 -5
  567. package/dist/plugin/host.js +251 -251
  568. package/dist/plugin/identity.js +5 -5
  569. package/dist/plugin/instance.js +5 -5
  570. package/dist/plugin/internal.js +418 -418
  571. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  572. package/dist/plugin/models-dev.js +111 -111
  573. package/dist/plugin/module.js +130 -130
  574. package/dist/plugin/optimize.js +4 -4
  575. package/dist/plugin/plan.js +151 -151
  576. package/dist/plugin/promise.js +1 -1
  577. package/dist/plugin/provider/amazon-bedrock.js +107 -107
  578. package/dist/plugin/provider/azure.js +134 -134
  579. package/dist/plugin/provider/cerebras.js +1 -1
  580. package/dist/plugin/provider/chatgpt.js +135 -135
  581. package/dist/plugin/provider/claude-agent/aisdk.js +118 -118
  582. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  583. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  584. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  585. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  586. package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
  587. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  588. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  589. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  590. package/dist/plugin/provider/claude-agent/index.js +147 -147
  591. package/dist/plugin/provider/claude-agent/instructions.js +113 -113
  592. package/dist/plugin/provider/claude-agent/integration.js +116 -116
  593. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  594. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  595. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  596. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  597. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  598. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  599. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  600. package/dist/plugin/provider/claude-agent/provider.js +109 -109
  601. package/dist/plugin/provider/claude-agent/session.js +113 -113
  602. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  603. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  604. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  605. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  606. package/dist/plugin/provider/claude-agent/sync/record.js +1 -1
  607. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  608. package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
  609. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  610. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  611. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  612. package/dist/plugin/provider/cloudflare-ai-gateway.js +131 -131
  613. package/dist/plugin/provider/cloudflare-workers-ai.js +131 -131
  614. package/dist/plugin/provider/configured.js +127 -127
  615. package/dist/plugin/provider/credential-settings.js +88 -88
  616. package/dist/plugin/provider/databricks.js +1 -1
  617. package/dist/plugin/provider/digitalocean.js +110 -110
  618. package/dist/plugin/provider/dynamic.js +2 -2
  619. package/dist/plugin/provider/github-copilot.js +112 -112
  620. package/dist/plugin/provider/gitlab.js +111 -111
  621. package/dist/plugin/provider/google-vertex.js +128 -128
  622. package/dist/plugin/provider/kilo.js +1 -1
  623. package/dist/plugin/provider/llmgateway.js +89 -89
  624. package/dist/plugin/provider/lmstudio.js +144 -144
  625. package/dist/plugin/provider/local.js +141 -141
  626. package/dist/plugin/provider/modal.js +109 -109
  627. package/dist/plugin/provider/neon.js +1 -1
  628. package/dist/plugin/provider/nvidia.js +1 -1
  629. package/dist/plugin/provider/ollama.js +144 -144
  630. package/dist/plugin/provider/openai-context-caps.js +107 -107
  631. package/dist/plugin/provider/openai.js +137 -137
  632. package/dist/plugin/provider/opencode-watches.js +2 -2
  633. package/dist/plugin/provider/opencode.js +163 -163
  634. package/dist/plugin/provider/openrouter.js +105 -105
  635. package/dist/plugin/provider/poe.js +91 -91
  636. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  637. package/dist/plugin/provider/refresh.js +87 -87
  638. package/dist/plugin/provider/sap-ai-core.js +105 -105
  639. package/dist/plugin/provider/sdk-factory.js +1 -1
  640. package/dist/plugin/provider/snowflake-cortex.js +133 -133
  641. package/dist/plugin/provider/vllm.js +142 -142
  642. package/dist/plugin/provider/xai.js +105 -105
  643. package/dist/plugin/provider/zenmux.js +1 -1
  644. package/dist/plugin/provider.js +242 -242
  645. package/dist/plugin/sdk.js +89 -89
  646. package/dist/plugin/service.js +3 -3
  647. package/dist/plugin/skill.js +152 -152
  648. package/dist/plugin/source-directory.js +1 -1
  649. package/dist/plugin/supervisor.js +430 -430
  650. package/dist/plugin/tool-input-repair.js +4 -4
  651. package/dist/plugin/update.js +6 -6
  652. package/dist/plugin/vcs/git.js +99 -99
  653. package/dist/plugin/vcs/hg.js +97 -97
  654. package/dist/plugin/verbosity.js +107 -107
  655. package/dist/plugin/warming.js +129 -129
  656. package/dist/plugin/websearch/exa.js +4 -4
  657. package/dist/plugin/websearch/firecrawl.js +9 -9
  658. package/dist/plugin/websearch/index.js +10 -10
  659. package/dist/plugin/websearch/mcp.js +2 -2
  660. package/dist/plugin/websearch/parallel.js +9 -9
  661. package/dist/plugin/websearch/provider.js +1 -1
  662. package/dist/plugin/websearch/tavily.js +7 -7
  663. package/dist/plugin/websearch/tinyfish.js +9 -9
  664. package/dist/plugin.js +258 -258
  665. package/dist/project/icon.js +5 -5
  666. package/dist/project/schema.js +8 -8
  667. package/dist/project/sql.js +4 -4
  668. package/dist/project.js +105 -105
  669. package/dist/provider.js +103 -103
  670. package/dist/pty/protocol.js +1 -1
  671. package/dist/pty/ticket.js +1 -1
  672. package/dist/pty.js +113 -113
  673. package/dist/reference/instructions.js +102 -102
  674. package/dist/reference.js +99 -99
  675. package/dist/repository-cache.js +93 -93
  676. package/dist/repository.js +3 -3
  677. package/dist/ripgrep/binary.js +2 -2
  678. package/dist/ripgrep.js +111 -111
  679. package/dist/rpc.js +99 -99
  680. package/dist/schedule/check.js +256 -256
  681. package/dist/schedule/sql.js +6 -6
  682. package/dist/schedule.js +270 -270
  683. package/dist/schema.js +1 -1
  684. package/dist/session/affinity.js +1 -1
  685. package/dist/session/background.js +3 -3
  686. package/dist/session/blob.js +133 -133
  687. package/dist/session/command.js +85 -85
  688. package/dist/session/compaction.js +177 -177
  689. package/dist/session/context.js +206 -206
  690. package/dist/session/diff.js +101 -101
  691. package/dist/session/environment.js +5 -5
  692. package/dist/session/error.js +5 -5
  693. package/dist/session/event.js +1 -1
  694. package/dist/session/execution/restart.js +267 -267
  695. package/dist/session/execution/subagent-report.js +145 -145
  696. package/dist/session/execution.js +170 -170
  697. package/dist/session/generate.js +208 -208
  698. package/dist/session/history.js +141 -141
  699. package/dist/session/inbox.js +146 -146
  700. package/dist/session/info.js +3 -3
  701. package/dist/session/instruction-entry.js +89 -89
  702. package/dist/session/instruction-state.js +9 -9
  703. package/dist/session/instructions.js +146 -146
  704. package/dist/session/message-updater.js +2 -2
  705. package/dist/session/message.js +1 -1
  706. package/dist/session/model-request.js +173 -173
  707. package/dist/session/model-transport.js +9 -9
  708. package/dist/session/move.js +176 -176
  709. package/dist/session/projector.js +148 -148
  710. package/dist/session/prompt.js +153 -153
  711. package/dist/session/recent-text.js +1 -1
  712. package/dist/session/revert.js +144 -144
  713. package/dist/session/run-coordinator.js +1 -1
  714. package/dist/session/runner/index.js +1 -1
  715. package/dist/session/runner/llm.js +263 -263
  716. package/dist/session/runner/max-steps.js +1 -1
  717. package/dist/session/runner/model.js +115 -115
  718. package/dist/session/runner/publish-llm-event.js +155 -155
  719. package/dist/session/runner/retry.js +5 -5
  720. package/dist/session/runner/step.js +168 -168
  721. package/dist/session/runner/to-llm-message.js +142 -142
  722. package/dist/session/schema.js +5 -5
  723. package/dist/session/session.js +196 -196
  724. package/dist/session/shell.js +149 -149
  725. package/dist/session/skill.js +152 -152
  726. package/dist/session/sql.js +5 -5
  727. package/dist/session/stats.js +85 -85
  728. package/dist/session/store.js +147 -147
  729. package/dist/session/stored.js +2 -2
  730. package/dist/session/subagent-completion.js +1 -1
  731. package/dist/session/subagent-job.js +173 -173
  732. package/dist/session/system-prompt.js +3 -3
  733. package/dist/session/title.js +212 -212
  734. package/dist/session/to-session-error.js +154 -154
  735. package/dist/session/transfer.js +254 -254
  736. package/dist/session/usage.js +1 -1
  737. package/dist/session.js +251 -251
  738. package/dist/shared-cache.js +5 -5
  739. package/dist/shell/parse.js +6 -6
  740. package/dist/shell/result.js +1 -1
  741. package/dist/shell/scan.js +1 -1
  742. package/dist/shell/select.js +13 -13
  743. package/dist/shell.js +151 -151
  744. package/dist/skill/discovery.js +6 -6
  745. package/dist/skill/instructions.js +154 -154
  746. package/dist/skill.js +163 -163
  747. package/dist/snapshot.js +106 -106
  748. package/dist/state.js +1 -1
  749. package/dist/tool/html-markdown.js +1 -1
  750. package/dist/tool/http-body.js +1 -1
  751. package/dist/tool/mcp.js +191 -191
  752. package/dist/tool/plugin/artifact.js +246 -246
  753. package/dist/tool/plugin/edit.js +172 -172
  754. package/dist/tool/plugin/file-diff.js +1 -1
  755. package/dist/tool/plugin/glob.js +176 -176
  756. package/dist/tool/plugin/grep.js +175 -175
  757. package/dist/tool/plugin/image-generate.js +255 -255
  758. package/dist/tool/plugin/mcp-events.js +168 -168
  759. package/dist/tool/plugin/mcp-resource.js +172 -172
  760. package/dist/tool/plugin/opencode.js +168 -168
  761. package/dist/tool/plugin/patch.js +173 -173
  762. package/dist/tool/plugin/question.js +151 -151
  763. package/dist/tool/plugin/read.js +177 -177
  764. package/dist/tool/plugin/schedule.js +262 -262
  765. package/dist/tool/plugin/shell.js +251 -251
  766. package/dist/tool/plugin/skill.js +158 -158
  767. package/dist/tool/plugin/subagent.js +253 -253
  768. package/dist/tool/plugin/todo.js +158 -158
  769. package/dist/tool/plugin/webfetch.js +160 -160
  770. package/dist/tool/plugin/websearch.js +158 -158
  771. package/dist/tool/plugin/write.js +173 -173
  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 +165 -165
  777. package/dist/usage-limits.js +98 -98
  778. package/dist/util/canonical-json.js +1 -1
  779. package/dist/util/error-summary.js +1 -1
  780. package/dist/util/git-executable.js +3 -3
  781. package/dist/util/lazy.js +1 -1
  782. package/dist/util/slug.js +1 -1
  783. package/dist/util/token.js +1 -1
  784. package/dist/util/which.js +1 -1
  785. package/dist/util/wildcard.js +1 -1
  786. package/dist/v1/config/agent.js +5 -5
  787. package/dist/v1/config/command.js +3 -3
  788. package/dist/v1/config/mcp.js +4 -4
  789. package/dist/v1/config/migrate.js +106 -106
  790. package/dist/v1/config/permission.js +3 -3
  791. package/dist/v1/config/plugin.js +3 -3
  792. package/dist/v1/config/provider-options.js +1 -1
  793. package/dist/v1/config/provider.js +4 -4
  794. package/dist/variant.js +107 -107
  795. package/dist/vcs/patch.js +1 -1
  796. package/dist/vcs.js +100 -100
  797. package/dist/voice.js +99 -99
  798. package/dist/websearch.js +91 -91
  799. package/dist/wellknown/plugin.js +87 -87
  800. package/dist/wellknown.js +88 -88
  801. package/dist/workspace/driver.js +7 -7
  802. package/dist/workspace/sql.js +1 -1
  803. package/dist/workspace.js +93 -93
  804. package/dist/worktree/directory.js +2 -2
  805. package/dist/worktree/git.js +9 -9
  806. package/dist/worktree/sql.js +5 -5
  807. package/dist/worktree/strategies.js +102 -102
  808. package/dist/worktree.js +109 -109
  809. package/package.json +8 -8
  810. package/dist/chunks/state-qmh7vbk2.js +0 -18
  811. /package/dist/chunks/{state-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
  812. /package/dist/chunks/{state-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
  813. /package/dist/chunks/{state-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
  814. /package/dist/chunks/{state-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
  815. /package/dist/chunks/{state-1kah00gy.js → shell-1kah00gy.js} +0 -0
  816. /package/dist/chunks/{state-24dcb14g.js → shell-24dcb14g.js} +0 -0
  817. /package/dist/chunks/{state-2710q6r3.js → shell-2710q6r3.js} +0 -0
  818. /package/dist/chunks/{state-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
  819. /package/dist/chunks/{state-359p4xyc.js → shell-359p4xyc.js} +0 -0
  820. /package/dist/chunks/{state-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
  821. /package/dist/chunks/{state-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
  822. /package/dist/chunks/{state-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
  823. /package/dist/chunks/{state-4qk9sjk2.js → shell-4qk9sjk2.js} +0 -0
  824. /package/dist/chunks/{state-53557ph1.js → shell-53557ph1.js} +0 -0
  825. /package/dist/chunks/{state-5w3e23ze.js → shell-5w3e23ze.js} +0 -0
  826. /package/dist/chunks/{state-6agm2x70.js → shell-6agm2x70.js} +0 -0
  827. /package/dist/chunks/{state-6prwharc.js → shell-6prwharc.js} +0 -0
  828. /package/dist/chunks/{state-6q2bdcd1.js → shell-6q2bdcd1.js} +0 -0
  829. /package/dist/chunks/{state-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
  830. /package/dist/chunks/{state-7m9af43g.js → shell-7m9af43g.js} +0 -0
  831. /package/dist/chunks/{state-7rvsyqjv.js → shell-7rvsyqjv.js} +0 -0
  832. /package/dist/chunks/{state-822emrt2.js → shell-822emrt2.js} +0 -0
  833. /package/dist/chunks/{state-84wd9syh.js → shell-84wd9syh.js} +0 -0
  834. /package/dist/chunks/{state-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
  835. /package/dist/chunks/{state-8n3pysct.js → shell-8n3pysct.js} +0 -0
  836. /package/dist/chunks/{state-8wj87zfr.js → shell-8wj87zfr.js} +0 -0
  837. /package/dist/chunks/{state-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
  838. /package/dist/chunks/{state-9ceax7yg.js → shell-9ceax7yg.js} +0 -0
  839. /package/dist/chunks/{state-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
  840. /package/dist/chunks/{state-ade8csyh.js → shell-ade8csyh.js} +0 -0
  841. /package/dist/chunks/{state-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
  842. /package/dist/chunks/{state-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
  843. /package/dist/chunks/{state-beh6qq61.js → shell-beh6qq61.js} +0 -0
  844. /package/dist/chunks/{state-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
  845. /package/dist/chunks/{state-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
  846. /package/dist/chunks/{state-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
  847. /package/dist/chunks/{state-cqv5kn06.js → shell-cqv5kn06.js} +0 -0
  848. /package/dist/chunks/{state-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
  849. /package/dist/chunks/{state-d9fn303g.js → shell-d9fn303g.js} +0 -0
  850. /package/dist/chunks/{state-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
  851. /package/dist/chunks/{state-df08tz66.js → shell-df08tz66.js} +0 -0
  852. /package/dist/chunks/{state-dy18nga0.js → shell-dy18nga0.js} +0 -0
  853. /package/dist/chunks/{state-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
  854. /package/dist/chunks/{state-ean2d8b5.js → shell-ean2d8b5.js} +0 -0
  855. /package/dist/chunks/{state-ec1grn59.js → shell-ec1grn59.js} +0 -0
  856. /package/dist/chunks/{state-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
  857. /package/dist/chunks/{state-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
  858. /package/dist/chunks/{state-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
  859. /package/dist/chunks/{state-faypxj3z.js → shell-faypxj3z.js} +0 -0
  860. /package/dist/chunks/{state-fd410y7t.js → shell-fd410y7t.js} +0 -0
  861. /package/dist/chunks/{state-fkpq3x5p.js → shell-fkpq3x5p.js} +0 -0
  862. /package/dist/chunks/{state-g86h250q.js → shell-g86h250q.js} +0 -0
  863. /package/dist/chunks/{state-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
  864. /package/dist/chunks/{state-gftt206x.js → shell-gftt206x.js} +0 -0
  865. /package/dist/chunks/{state-hcxmzztb.js → shell-hcxmzztb.js} +0 -0
  866. /package/dist/chunks/{state-hk9envan.js → shell-hk9envan.js} +0 -0
  867. /package/dist/chunks/{state-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
  868. /package/dist/chunks/{state-jjkms2e6.js → shell-jjkms2e6.js} +0 -0
  869. /package/dist/chunks/{state-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
  870. /package/dist/chunks/{state-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
  871. /package/dist/chunks/{state-jwr30sdr.js → shell-jwr30sdr.js} +0 -0
  872. /package/dist/chunks/{state-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
  873. /package/dist/chunks/{state-m18g726c.js → shell-m18g726c.js} +0 -0
  874. /package/dist/chunks/{state-mp448xyj.js → shell-mp448xyj.js} +0 -0
  875. /package/dist/chunks/{state-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
  876. /package/dist/chunks/{state-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
  877. /package/dist/chunks/{state-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
  878. /package/dist/chunks/{state-nh4v3znn.js → shell-nh4v3znn.js} +0 -0
  879. /package/dist/chunks/{state-njntx4h6.js → shell-njntx4h6.js} +0 -0
  880. /package/dist/chunks/{state-p71gwv9c.js → shell-p71gwv9c.js} +0 -0
  881. /package/dist/chunks/{state-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
  882. /package/dist/chunks/{state-q74kybfr.js → shell-q74kybfr.js} +0 -0
  883. /package/dist/chunks/{state-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
  884. /package/dist/chunks/{state-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
  885. /package/dist/chunks/{state-qg3g05ea.js → shell-qg3g05ea.js} +0 -0
  886. /package/dist/chunks/{state-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
  887. /package/dist/chunks/{state-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
  888. /package/dist/chunks/{state-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
  889. /package/dist/chunks/{state-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
  890. /package/dist/chunks/{state-syrav9an.js → shell-syrav9an.js} +0 -0
  891. /package/dist/chunks/{state-t03h4f5z.js → shell-t03h4f5z.js} +0 -0
  892. /package/dist/chunks/{state-ty7weeps.js → shell-ty7weeps.js} +0 -0
  893. /package/dist/chunks/{state-v2dnd5dt.js → shell-v2dnd5dt.js} +0 -0
  894. /package/dist/chunks/{state-ve7vex1e.js → shell-ve7vex1e.js} +0 -0
  895. /package/dist/chunks/{state-vtarvj67.js → shell-vtarvj67.js} +0 -0
  896. /package/dist/chunks/{state-w803qqfp.js → shell-w803qqfp.js} +0 -0
  897. /package/dist/chunks/{state-wc3fc9cn.js → shell-wc3fc9cn.js} +0 -0
  898. /package/dist/chunks/{state-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
  899. /package/dist/chunks/{state-wtztk69x.js → shell-wtztk69x.js} +0 -0
  900. /package/dist/chunks/{state-x4th4bpe.js → shell-x4th4bpe.js} +0 -0
  901. /package/dist/chunks/{state-y44na4kk.js → shell-y44na4kk.js} +0 -0
  902. /package/dist/chunks/{state-y8f7s663.js → shell-y8f7s663.js} +0 -0
  903. /package/dist/chunks/{state-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
  904. /package/dist/chunks/{state-z5v4ffb3.js → shell-z5v4ffb3.js} +0 -0
  905. /package/dist/chunks/{state-z9919s4g.js → shell-z9919s4g.js} +0 -0
  906. /package/dist/chunks/{state-zxpyjp51.js → shell-zxpyjp51.js} +0 -0
  907. /package/dist/chunks/{state-zz5vv3aq.js → shell-zz5vv3aq.js} +0 -0
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service94
3
- } from "./state-r8ek82sz.js";
3
+ } from "./shell-fv16gkx5.js";
4
4
  import {
5
- Service93
6
- } from "./state-eatz8zw3.js";
5
+ Service91
6
+ } from "./shell-3dche8a8.js";
7
7
  import {
8
8
  Service49
9
- } from "./state-cg3fcpn4.js";
9
+ } from "./shell-cg3fcpn4.js";
10
10
  import {
11
11
  RelativePath2
12
- } from "./state-z5v4ffb3.js";
12
+ } from "./shell-z5v4ffb3.js";
13
13
  import {
14
- Service40
15
- } from "./state-a7dsdcje.js";
14
+ Service56
15
+ } from "./shell-st89z1cb.js";
16
16
  import {
17
17
  SessionEvent2
18
- } from "./state-ec1grn59.js";
18
+ } from "./shell-ec1grn59.js";
19
19
  import {
20
20
  MessageNotFoundError2
21
- } from "./state-0te9php1.js";
21
+ } from "./shell-sj9zktea.js";
22
22
  import {
23
23
  SessionMessageTable2
24
- } from "./state-mb7mbhnz.js";
24
+ } from "./shell-mb7mbhnz.js";
25
25
  import {
26
26
  decodeMessageRowSync2
27
- } from "./state-ksnhqdx8.js";
27
+ } from "./shell-qyjevvjj.js";
28
28
  import {
29
29
  __export
30
- } from "./state-9rqn6x4v.js";
30
+ } from "./shell-9rqn6x4v.js";
31
31
 
32
32
  // src/session/revert.ts
33
33
  var exports_revert = {};
@@ -42,9 +42,9 @@ import { Effect } from "effect";
42
42
  var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
43
43
  const instances = yield* Service49;
44
44
  const database = yield* Service94;
45
- const bus = yield* Service93;
45
+ const bus = yield* Service91;
46
46
  return yield* Effect.gen(function* () {
47
- const snapshot = yield* Service40;
47
+ const snapshot = yield* Service56;
48
48
  const original = input.session.revert?.snapshot ?? (yield* snapshot.capture());
49
49
  const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
50
50
  const restore = new Map;
@@ -73,9 +73,9 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
73
73
  });
74
74
  var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
75
75
  const instances = yield* Service49;
76
- const bus = yield* Service93;
76
+ const bus = yield* Service91;
77
77
  yield* Effect.gen(function* () {
78
- const snapshot = yield* Service40;
78
+ const snapshot = yield* Service56;
79
79
  if (!session.revert)
80
80
  return;
81
81
  const original = session.revert.snapshot;
@@ -5,24 +5,24 @@ import {
5
5
  emptyPatch2,
6
6
  splitGitPatch2,
7
7
  chunksByFile2
8
- } from "./state-rb9dy4dg.js";
8
+ } from "./shell-rb9dy4dg.js";
9
9
  import {
10
10
  gitExecutable2
11
- } from "./state-hgzwgvze.js";
11
+ } from "./shell-hgzwgvze.js";
12
12
  import {
13
- Service84
14
- } from "./state-8d63t3d3.js";
13
+ Service89
14
+ } from "./shell-nt52v2br.js";
15
15
  import {
16
16
  DiffError2
17
- } from "./state-7y60gvjh.js";
17
+ } from "./shell-vm1kvrgp.js";
18
18
  import {
19
19
  __export
20
- } from "./state-9rqn6x4v.js";
20
+ } from "./shell-9rqn6x4v.js";
21
21
 
22
22
  // src/plugin/vcs/git.ts
23
23
  var exports_git = {};
24
24
  __export(exports_git, {
25
- Plugin: () => Plugin4,
25
+ Plugin: () => Plugin2,
26
26
  VcsGitPlugin: () => exports_git
27
27
  });
28
28
  import { randomUUID } from "crypto";
@@ -33,10 +33,10 @@ import { define } from "@opencode/plugin/effect/plugin";
33
33
  import { Effect } from "effect";
34
34
  import { ChildProcess } from "effect/process";
35
35
  import { AppProcess } from "@opencode/util/process";
36
- var Plugin4 = define({
36
+ var Plugin2 = define({
37
37
  id: "opencode.vcs.git",
38
38
  effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
39
- const location = yield* Service84;
39
+ const location = yield* Service89;
40
40
  if (location.vcs && location.vcs.type !== "git")
41
41
  return;
42
42
  const processes = yield* AppProcess.Service;
@@ -561,4 +561,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
561
561
  return yield* diffAgainstRef(ctx, ref, options);
562
562
  });
563
563
 
564
- export { Plugin4, exports_git };
564
+ export { Plugin2, exports_git };
@@ -1,48 +1,48 @@
1
1
  import {
2
- Service73
3
- } from "./state-4g2y45a7.js";
2
+ Service66
3
+ } from "./shell-mte4cvhm.js";
4
4
  import {
5
5
  Ref3,
6
6
  Service82
7
- } from "./state-s2fh24gv.js";
7
+ } from "./shell-grebgr4t.js";
8
8
  import {
9
9
  latest2,
10
- Service76
11
- } from "./state-yd46kdwt.js";
10
+ Service78
11
+ } from "./shell-a4gm6t53.js";
12
12
  import {
13
13
  SessionSchema2
14
- } from "./state-ez4sqtdc.js";
14
+ } from "./shell-3beq3wdw.js";
15
15
  import {
16
- Service88
17
- } from "./state-pwzt2vz0.js";
16
+ Service93
17
+ } from "./shell-erzjjtze.js";
18
18
  import {
19
19
  invocation2,
20
20
  evaluate3,
21
- Service70
22
- } from "./state-8cv530b8.js";
21
+ Service63
22
+ } from "./shell-haep26br.js";
23
23
  import {
24
- Service29
25
- } from "./state-ptx3cj57.js";
24
+ Service30
25
+ } from "./shell-z2vs241d.js";
26
26
  import {
27
- Service12
28
- } from "./state-ykw7y9nr.js";
27
+ Service8
28
+ } from "./shell-nyq7g77b.js";
29
29
  import {
30
30
  __export
31
- } from "./state-9rqn6x4v.js";
31
+ } from "./shell-9rqn6x4v.js";
32
32
 
33
33
  // src/tool/plugin/subagent.ts
34
34
  var exports_subagent = {};
35
35
  __export(exports_subagent, {
36
- Input: () => Input11,
37
- Output: () => Output7,
38
- Plugin: () => Plugin51,
36
+ Input: () => Input8,
37
+ Output: () => Output6,
38
+ Plugin: () => Plugin47,
39
39
  SubagentTool: () => exports_subagent,
40
- description: () => description6,
41
- name: () => name11
40
+ description: () => description5,
41
+ name: () => name8
42
42
  });
43
43
  import { ToolFailure } from "@opencode/ai/effect";
44
44
  import { Effect, Predicate, Schema } from "effect";
45
- var name11 = "subagent";
45
+ var name8 = "subagent";
46
46
  var backgroundResult = (sessionID) => ({
47
47
  sessionID,
48
48
  status: "running",
@@ -54,7 +54,7 @@ var backgroundResult = (sessionID) => ({
54
54
  ].join(`
55
55
  `)
56
56
  });
57
- var Input11 = Schema.Struct({
57
+ var Input8 = Schema.Struct({
58
58
  agent: Schema.String.annotate({
59
59
  description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
60
60
  }),
@@ -67,12 +67,12 @@ var Input11 = Schema.Struct({
67
67
  description: "Send a follow-up to an existing subagent, running or finished. Omit to start a new one."
68
68
  })
69
69
  });
70
- var Output7 = Schema.Struct({
70
+ var Output6 = Schema.Struct({
71
71
  sessionID: SessionSchema2.ID,
72
72
  status: Schema.Literal("running"),
73
73
  output: Schema.String
74
74
  });
75
- var description6 = [
75
+ var description5 = [
76
76
  "Spawns an agent in a child session to work on the specified task.",
77
77
  "Subagents always run in the background: the call returns immediately with a sessionID, and you receive a `<subagent>` message each time the child goes idle, including after later work.",
78
78
  "Keep working on non-overlapping tasks, or briefly tell the user what you launched and end your response. Do not sleep, poll for progress, or ask the child for status.",
@@ -80,16 +80,16 @@ var description6 = [
80
80
  "Pass the returned sessionID to continue that specific child conversation. A follow-up to a running child joins its current run."
81
81
  ].join(`
82
82
  `);
83
- var Plugin51 = {
83
+ var Plugin47 = {
84
84
  id: "opencode.tool.subagent",
85
85
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
86
- const sessions = yield* Service29;
87
- const jobs = yield* Service88;
88
- const agents = yield* Service73;
89
- const config = yield* Service76;
90
- const permission = yield* Service70;
86
+ const sessions = yield* Service30;
87
+ const jobs = yield* Service93;
88
+ const agents = yield* Service66;
89
+ const config = yield* Service78;
90
+ const permission = yield* Service63;
91
91
  const models = yield* Service82;
92
- const subagents = yield* Service12;
92
+ const subagents = yield* Service8;
93
93
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
94
94
  const ref = yield* Effect.try({
95
95
  try: () => Ref3.parse(input),
@@ -111,11 +111,11 @@ var Plugin51 = {
111
111
  return ref;
112
112
  });
113
113
  yield* ctx.tool.transform((editor) => editor.add({
114
- name: name11,
114
+ name: name8,
115
115
  options: { codemode: false },
116
- description: description6,
117
- input: Input11,
118
- output: Output7,
116
+ description: description5,
117
+ input: Input8,
118
+ output: Output6,
119
119
  execute: (input, context) => Effect.gen(function* () {
120
120
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
121
121
  let current = parent;
@@ -135,7 +135,7 @@ var Plugin51 = {
135
135
  if (agent.mode === "primary")
136
136
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
137
137
  yield* permission.assert({
138
- action: name11,
138
+ action: name8,
139
139
  resources: [agent.id],
140
140
  save: [agent.id],
141
141
  ...invocation2(context)
@@ -185,7 +185,7 @@ var Plugin51 = {
185
185
  })))
186
186
  })).pipe(Effect.orDie);
187
187
  yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
188
- if (event.tool !== name11 || !Predicate.isObject(event.input))
188
+ if (event.tool !== name8 || !Predicate.isObject(event.input))
189
189
  return;
190
190
  if (event.input.model !== "" && event.input.sessionID !== "")
191
191
  return;
@@ -197,13 +197,13 @@ var Plugin51 = {
197
197
  event.input = input;
198
198
  }));
199
199
  const hook = (event) => Effect.gen(function* () {
200
- const tool = event.tools[name11];
200
+ const tool = event.tools[name8];
201
201
  if (!tool)
202
202
  return;
203
203
  const selected = yield* agents.resolve(event.agent);
204
204
  if (!selected)
205
205
  return;
206
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(name11, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
206
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(name8, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
207
207
  if (available.length === 0)
208
208
  return;
209
209
  tool.description = [
@@ -220,4 +220,4 @@ var Plugin51 = {
220
220
  })
221
221
  };
222
222
 
223
- export { name11, Input11, Output7, description6, Plugin51, exports_subagent };
223
+ export { name8, Input8, Output6, description5, Plugin47, exports_subagent };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  load3
3
- } from "./state-tr8x705m.js";
3
+ } from "./shell-j376ae4e.js";
4
4
  import {
5
5
  __export
6
- } from "./state-9rqn6x4v.js";
6
+ } from "./shell-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/provider/claude-agent/claude/probe.ts
9
9
  var exports_probe = {};
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service94,
3
3
  node96
4
- } from "./state-r8ek82sz.js";
4
+ } from "./shell-fv16gkx5.js";
5
5
  import {
6
6
  SessionTable2,
7
7
  SessionMessageTable2
8
- } from "./state-mb7mbhnz.js";
8
+ } from "./shell-mb7mbhnz.js";
9
9
  import {
10
10
  decodeMessageRows2,
11
11
  decodeMessageRowsWithRefs2,
12
12
  load6
13
- } from "./state-ksnhqdx8.js";
13
+ } from "./shell-qyjevvjj.js";
14
14
  import {
15
15
  fromRow2
16
- } from "./state-5jandp8q.js";
16
+ } from "./shell-2c6sxtb9.js";
17
17
  import {
18
18
  __export
19
- } from "./state-9rqn6x4v.js";
19
+ } from "./shell-9rqn6x4v.js";
20
20
 
21
21
  // src/session/store.ts
22
22
  var exports_store = {};
23
23
  __export(exports_store, {
24
24
  ListInput: () => ListInput3,
25
- Service: () => Service71,
25
+ Service: () => Service65,
26
26
  SessionStore: () => exports_store,
27
- node: () => node73
27
+ node: () => node66
28
28
  });
29
29
  import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
30
30
  import { Context, Effect, Layer, Schema } from "effect";
@@ -54,9 +54,9 @@ var ListProjectInput = Schema.Struct({
54
54
  var ListAllInput = Schema.Struct(ListInputBase);
55
55
  var ListInput3 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
56
56
 
57
- class Service71 extends Context.Service()("@opencode/SessionStore") {
57
+ class Service65 extends Context.Service()("@opencode/SessionStore") {
58
58
  }
59
- var layer = Layer.effect(Service71, Effect.gen(function* () {
59
+ var layer = Layer.effect(Service65, Effect.gen(function* () {
60
60
  const { db } = yield* Service94;
61
61
  const messageRows = Effect.fnUntraced(function* (input) {
62
62
  const direction = input.cursor?.direction ?? "next";
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
71
71
  return direction === "previous" ? rows.toReversed() : rows;
72
72
  });
73
73
  const messageRow = (messageID) => db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
74
- return Service71.of({
74
+ return Service65.of({
75
75
  get: Effect.fnUntraced(function* (sessionID) {
76
76
  const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
77
77
  return row ? fromRow2(row) : undefined;
@@ -156,6 +156,6 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
156
156
  })
157
157
  });
158
158
  }));
159
- var node73 = makeGlobalNode({ service: Service71, layer, deps: [node96] });
159
+ var node66 = makeGlobalNode({ service: Service65, layer, deps: [node96] });
160
160
 
161
- export { ListInput3, Service71, node73, exports_store };
161
+ export { ListInput3, Service65, node66, exports_store };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  useragent2
3
- } from "./state-henm3czy.js";
3
+ } from "./shell-954nhh0r.js";
4
4
  import {
5
5
  OAuth3,
6
- Service92
7
- } from "./state-abby1hp7.js";
6
+ Service85
7
+ } from "./shell-jnvf6701.js";
8
8
  import {
9
- ID20,
9
+ ID17,
10
10
  MethodID2
11
- } from "./state-48yfz3tb.js";
11
+ } from "./shell-pn6nj4xv.js";
12
12
  import {
13
13
  mergeOverlay2
14
- } from "./state-m90tx7mw.js";
14
+ } from "./shell-m90tx7mw.js";
15
15
  import {
16
16
  ID16
17
- } from "./state-w1xxh1rf.js";
17
+ } from "./shell-bp6wf20z.js";
18
18
 
19
19
  // src/plugin/provider/xai.ts
20
20
  import { define } from "@opencode/plugin/effect/plugin";
@@ -46,7 +46,7 @@ var DeviceError = Schema.Struct({
46
46
  });
47
47
  var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
48
48
  var device = (app) => ({
49
- integrationID: ID20.make("xai"),
49
+ integrationID: ID17.make("xai"),
50
50
  method: {
51
51
  id: deviceMethodID,
52
52
  type: "oauth",
@@ -71,8 +71,8 @@ var device = (app) => ({
71
71
  var XAIPlugin2 = define({
72
72
  id: "opencode.provider.xai",
73
73
  effect: Effect.fn(function* (ctx) {
74
- const credentials = yield* Service92;
75
- yield* Effect.forEach(yield* credentials.list(ID20.make("xai")), (credential) => {
74
+ const credentials = yield* Service85;
75
+ yield* Effect.forEach(yield* credentials.list(ID17.make("xai")), (credential) => {
76
76
  if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
77
77
  return Effect.void;
78
78
  return credentials.update(credential.id, {
@@ -1,68 +1,68 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./state-svcy3p9a.js";
3
+ } from "./shell-svcy3p9a.js";
4
4
  import {
5
5
  NonNegativeInt2
6
- } from "./state-z5v4ffb3.js";
6
+ } from "./shell-z5v4ffb3.js";
7
7
  import {
8
- Service63
9
- } from "./state-ytf4f56c.js";
8
+ Service74
9
+ } from "./shell-9sbgfgyf.js";
10
10
  import {
11
- Service88
12
- } from "./state-pwzt2vz0.js";
11
+ Service93
12
+ } from "./shell-erzjjtze.js";
13
13
  import {
14
14
  enabled3
15
- } from "./state-1vj9z2t7.js";
15
+ } from "./shell-sya2xnbe.js";
16
16
  import {
17
17
  invocation2,
18
- Service70
19
- } from "./state-8cv530b8.js";
18
+ Service63
19
+ } from "./shell-haep26br.js";
20
20
  import {
21
- Service25,
21
+ Service19,
22
22
  resolvePath2
23
- } from "./state-nbasw9vk.js";
23
+ } from "./shell-d4ez0mth.js";
24
24
  import {
25
25
  toolFailure2
26
- } from "./state-7rvsyqjv.js";
26
+ } from "./shell-7rvsyqjv.js";
27
27
  import {
28
28
  output2,
29
29
  interrupted2,
30
30
  notice2,
31
31
  metadata2,
32
32
  notification2
33
- } from "./state-8kjyvwy5.js";
33
+ } from "./shell-8kjyvwy5.js";
34
34
  import {
35
- Service58,
35
+ Service88,
36
36
  name17
37
- } from "./state-as7nmnb0.js";
37
+ } from "./shell-5kx0tcwv.js";
38
38
  import {
39
- NotFoundError7,
40
- Service51
41
- } from "./state-q9yy3jv5.js";
39
+ NotFoundError11,
40
+ Service71
41
+ } from "./shell-krf0dcce.js";
42
42
  import {
43
- Service29
44
- } from "./state-ptx3cj57.js";
43
+ Service30
44
+ } from "./shell-z2vs241d.js";
45
45
  import {
46
46
  scan3
47
- } from "./state-4q2r4pwc.js";
47
+ } from "./shell-x3fp8cfn.js";
48
48
  import {
49
49
  __export
50
- } from "./state-9rqn6x4v.js";
50
+ } from "./shell-9rqn6x4v.js";
51
51
 
52
52
  // src/tool/plugin/shell.ts
53
53
  var exports_shell2 = {};
54
54
  __export(exports_shell2, {
55
55
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
56
- Input: () => Input9,
57
- Plugin: () => Plugin49,
56
+ Input: () => Input14,
57
+ Plugin: () => Plugin56,
58
58
  ShellTool: () => exports_shell2,
59
59
  backgroundToolResult: () => backgroundToolResult2,
60
- name: () => name9,
60
+ name: () => name14,
61
61
  reattach: () => reattach2
62
62
  });
63
63
  import { ToolFailure } from "@opencode/ai/effect";
64
64
  import { Deferred, Effect, Fiber, Option, Schema } from "effect";
65
- var name9 = "shell";
65
+ var name14 = "shell";
66
66
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
67
67
  var INTERRUPT_WAIT = "500 millis";
68
68
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
@@ -77,7 +77,7 @@ var description = (shell, autoBackground = false) => [
77
77
  autoBackground ? "Commands still running after their timeout move to the background." : "Commands accept an optional timeout, background commands have no timeout by default.",
78
78
  "Background commands return immediately, and you will be notified when they complete."
79
79
  ].join(" ");
80
- var Input9 = Schema.Struct({
80
+ var Input14 = Schema.Struct({
81
81
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
82
82
  workdir: Schema.optionalKey(Schema.String).annotate({
83
83
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -162,7 +162,7 @@ var startJob = Effect.fnUntraced(function* (jobs, shell, input) {
162
162
  const settled = yield* Deferred.make();
163
163
  const job = yield* jobs.start({
164
164
  id: info.id,
165
- type: name9,
165
+ type: name14,
166
166
  title: info.command,
167
167
  metadata: { sessionID: input.sessionID, shellID: info.id },
168
168
  recovery: {
@@ -176,7 +176,7 @@ var startJob = Effect.fnUntraced(function* (jobs, shell, input) {
176
176
  run: Effect.gen(function* () {
177
177
  const result = yield* shell.result(info);
178
178
  if (!result.capture)
179
- return yield* new NotFoundError7({ id: info.id });
179
+ return yield* new NotFoundError11({ id: info.id });
180
180
  return { ...output2(result), status: "completed" };
181
181
  }).pipe(Effect.tap((output) => Deferred.succeed(settled, output)), Effect.map((output) => resultMessages(output, input.timeout?.()).join(`
182
182
 
@@ -209,17 +209,17 @@ var reattach2 = Effect.fnUntraced(function* (input) {
209
209
  return yield* notifying.pipe(Effect.catch((error) => Effect.logWarning("failed to report a recovered shell command", { id: input.info.id, error })));
210
210
  yield* input.shell.watch(notifying);
211
211
  });
212
- var Plugin49 = {
212
+ var Plugin56 = {
213
213
  id: "opencode.tool.shell",
214
214
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
215
- const sessions = yield* Service29;
216
- const jobs = yield* Service88;
217
- const environment = yield* Service63;
218
- const access = yield* Service25;
219
- const shell = yield* Service51;
220
- const shellSelect = yield* Service58;
215
+ const sessions = yield* Service30;
216
+ const jobs = yield* Service93;
217
+ const environment = yield* Service74;
218
+ const access = yield* Service19;
219
+ const shell = yield* Service71;
220
+ const shellSelect = yield* Service88;
221
221
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
222
- const permission = yield* Service70;
222
+ const permission = yield* Service63;
223
223
  const autoBackground = yield* enabled3("shell_timeout_background");
224
224
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
225
225
  const target = yield* access.resolve({ path: invocation.cwd, kind: "directory" });
@@ -233,7 +233,7 @@ var Plugin49 = {
233
233
  yield* access.authorizeExternal([target, ...directories], context);
234
234
  if (parsed.commands.length > 0)
235
235
  yield* permission.assert({
236
- action: name9,
236
+ action: name14,
237
237
  resources: parsed.commands.map((command) => command.resource),
238
238
  save: parsed.commands.map((command) => command.save),
239
239
  ...invocation2(context)
@@ -260,10 +260,10 @@ var Plugin49 = {
260
260
  });
261
261
  });
262
262
  yield* ctx.tool.transform((editor) => editor.add({
263
- name: name9,
263
+ name: name14,
264
264
  options: { codemode: false },
265
265
  description: description(undefined, autoBackground),
266
- input: Input9,
266
+ input: Input14,
267
267
  output: Output,
268
268
  execute: (input, context) => {
269
269
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -332,7 +332,7 @@ var Plugin49 = {
332
332
  }
333
333
  })).pipe(Effect.orDie);
334
334
  const hook = (event) => Effect.gen(function* () {
335
- const tool = event.tools[name9];
335
+ const tool = event.tools[name14];
336
336
  if (!tool)
337
337
  return;
338
338
  tool.description = description(name17(yield* compatibleShell), autoBackground);
@@ -343,4 +343,4 @@ var Plugin49 = {
343
343
  })
344
344
  };
345
345
 
346
- export { name9, DEFAULT_TIMEOUT_MS2, Input9, backgroundToolResult2, reattach2, Plugin49, exports_shell2 };
346
+ export { name14, DEFAULT_TIMEOUT_MS2, Input14, backgroundToolResult2, reattach2, Plugin56, exports_shell2 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  key3
3
- } from "./state-azqdag7d.js";
3
+ } from "./shell-xvn8mnch.js";
4
4
  import {
5
5
  ID16,
6
6
  Service83
7
- } from "./state-w1xxh1rf.js";
7
+ } from "./shell-bp6wf20z.js";
8
8
  import {
9
- load5,
10
- derive3
11
- } from "./state-b18kgc61.js";
9
+ load4,
10
+ derive2
11
+ } from "./shell-0675mxyw.js";
12
12
  import {
13
- Service56,
13
+ Service55,
14
14
  fingerprint2
15
- } from "./state-9fgy5dtv.js";
15
+ } from "./shell-9k2g0ym6.js";
16
16
  import {
17
17
  start3
18
- } from "./state-gjv7na4e.js";
18
+ } from "./shell-sete29qy.js";
19
19
  import {
20
20
  activeCredential2
21
- } from "./state-tjyp8p49.js";
21
+ } from "./shell-3m60wsff.js";
22
22
 
23
23
  // src/plugin/provider/modal.ts
24
24
  import { Effect } from "effect";
@@ -29,7 +29,7 @@ var ModalPlugin2 = define({
29
29
  id: "opencode.provider.modal",
30
30
  effect: Effect.fn(function* (ctx) {
31
31
  const providers = yield* Service83;
32
- const cache = yield* Service56;
32
+ const cache = yield* Service55;
33
33
  const http = yield* HttpClient.HttpClient;
34
34
  const discovered = yield* start3({
35
35
  integrationID: "modal",
@@ -46,7 +46,7 @@ var ModalPlugin2 = define({
46
46
  const models = yield* cache.get({
47
47
  key: modelsKey(connection, apiKey, baseURL),
48
48
  ...options,
49
- load: (connection ? ctx.integration.connection.resolve(connection) : Effect.undefined).pipe(Effect.map((current) => current?.type === "key" ? current.key : connection ? undefined : process.env.MODAL_PROXY_TOKEN), Effect.flatMap((key) => key ? load5(http, baseURL, key) : Effect.fail(new Error("Modal connection has no API key"))), Effect.map((models) => models.toSorted((a, b) => a.id.localeCompare(b.id))))
49
+ load: (connection ? ctx.integration.connection.resolve(connection) : Effect.undefined).pipe(Effect.map((current) => current?.type === "key" ? current.key : connection ? undefined : process.env.MODAL_PROXY_TOKEN), Effect.flatMap((key) => key ? load4(http, baseURL, key) : Effect.fail(new Error("Modal connection has no API key"))), Effect.map((models) => models.toSorted((a, b) => a.id.localeCompare(b.id))))
50
50
  }).pipe(Effect.orElseSucceed(() => {
51
51
  return;
52
52
  }));
@@ -60,7 +60,7 @@ var ModalPlugin2 = define({
60
60
  return;
61
61
  evt.add({
62
62
  info: item.provider,
63
- models: Array.from(derive3(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
63
+ models: Array.from(derive2(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
64
64
  sourceConnection: loaded.connection
65
65
  });
66
66
  });