@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,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service76
4
- } from "./state-yd46kdwt.js";
3
+ Service78
4
+ } from "./shell-a4gm6t53.js";
5
5
  import {
6
- Service40
7
- } from "./state-a7dsdcje.js";
6
+ Service56
7
+ } from "./shell-st89z1cb.js";
8
8
  import {
9
9
  observe2
10
- } from "./state-tvtps2q9.js";
10
+ } from "./shell-tvtps2q9.js";
11
11
  import {
12
12
  __export
13
- } from "./state-9rqn6x4v.js";
13
+ } from "./shell-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/snapshot.ts
16
16
  var exports_snapshot = {};
17
17
  __export(exports_snapshot, {
18
18
  ConfigSnapshotPlugin: () => exports_snapshot,
19
- Plugin: () => Plugin26
19
+ Plugin: () => Plugin30
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin26 = define({
23
+ var Plugin30 = define({
24
24
  id: "opencode.config.snapshot",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service76;
27
- const snapshot = yield* Service40;
26
+ const config = yield* Service78;
27
+ const snapshot = yield* Service56;
28
28
  const loaded = yield* observe2(config, ctx.event, snapshot.reload());
29
29
  yield* snapshot.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "snapshots");
@@ -35,4 +35,4 @@ var Plugin26 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin26, exports_snapshot };
38
+ export { Plugin30, exports_snapshot };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  WebSocketConstructor2
3
- } from "./state-syrav9an.js";
3
+ } from "./shell-syrav9an.js";
4
4
  import {
5
5
  __export
6
- } from "./state-9rqn6x4v.js";
6
+ } from "./shell-9rqn6x4v.js";
7
7
 
8
8
  // src/effect/app-node-platform.ts
9
9
  var exports_app_node_platform = {};
@@ -1,12 +1,12 @@
1
- import {
2
- make12
3
- } from "./state-bhfd478d.js";
4
1
  import {
5
2
  make13
6
- } from "./state-93xmyh8q.js";
3
+ } from "./shell-jkdcm5hg.js";
4
+ import {
5
+ make12
6
+ } from "./shell-kzdam8c6.js";
7
7
  import {
8
8
  __export
9
- } from "./state-9rqn6x4v.js";
9
+ } from "./shell-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/provider/claude-agent/claude/query-options.ts
12
12
  var exports_query_options = {};
@@ -80,14 +80,14 @@ async function session2(input) {
80
80
  systemPrompt: input.system,
81
81
  includePartialMessages: true,
82
82
  persistSession: input.persist,
83
- hooks: make12(input.pending),
83
+ hooks: make13(input.pending),
84
84
  mcpServers: {}
85
85
  };
86
86
  if (input.maxOutputTokens !== undefined) {
87
87
  options.env = { ...options.env, CLAUDE_CODE_MAX_OUTPUT_TOKENS: String(input.maxOutputTokens) };
88
88
  }
89
89
  if (input.tools.length > 0)
90
- options.mcpServers = { opencode: await make13(input.tools, input.pending) };
90
+ options.mcpServers = { opencode: await make12(input.tools, input.pending) };
91
91
  if (input.resume !== undefined) {
92
92
  options.resume = input.resume;
93
93
  return options;
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  canonicalJson2
3
- } from "./state-ade8csyh.js";
3
+ } from "./shell-ade8csyh.js";
4
4
  import {
5
5
  __export
6
- } from "./state-9rqn6x4v.js";
6
+ } from "./shell-9rqn6x4v.js";
7
7
 
8
8
  // src/instructions/index.ts
9
9
  var exports_instructions7 = {};
@@ -23,7 +23,7 @@ __export(exports_instructions7, {
23
23
  hash: () => hash2,
24
24
  join: () => join2,
25
25
  listUpdate: () => listUpdate2,
26
- make: () => make32,
26
+ make: () => make31,
27
27
  read: () => read4,
28
28
  removed: () => removed2,
29
29
  renderInitial: () => renderInitial2,
@@ -55,7 +55,7 @@ class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKey
55
55
  }
56
56
  }
57
57
  var empty3 = [];
58
- function make32(source) {
58
+ function make31(source) {
59
59
  const decode = Schema.decodeUnknownOption(source.codec);
60
60
  const encode = Schema.encodeSync(source.codec);
61
61
  const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
@@ -209,4 +209,4 @@ function requireText(key, kind, text) {
209
209
  return text;
210
210
  }
211
211
 
212
- export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make32, combine2, read4, diff2, renderInitial2, join2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, listUpdate2, exports_instructions7 };
212
+ export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make31, combine2, read4, diff2, renderInitial2, join2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, listUpdate2, exports_instructions7 };
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  isTextual2
3
- } from "./state-4pyp9zr9.js";
3
+ } from "./shell-4pyp9zr9.js";
4
4
  import {
5
5
  invocation2,
6
- Service70
7
- } from "./state-8cv530b8.js";
6
+ Service63
7
+ } from "./shell-haep26br.js";
8
8
  import {
9
9
  MAX_MARKDOWN_BYTES2,
10
10
  convertHTMLToMarkdown2
11
- } from "./state-zxpyjp51.js";
11
+ } from "./shell-zxpyjp51.js";
12
12
  import {
13
13
  collectBoundedResponseBody2
14
- } from "./state-3v8g72cx.js";
14
+ } from "./shell-3v8g72cx.js";
15
15
  import {
16
16
  __export
17
- } from "./state-9rqn6x4v.js";
17
+ } from "./shell-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/webfetch.ts
20
20
  var exports_webfetch = {};
21
21
  __export(exports_webfetch, {
22
22
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
23
- Input: () => Input7,
23
+ Input: () => Input6,
24
24
  MAX_REDIRECTS: () => MAX_REDIRECTS2,
25
25
  MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
26
26
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
27
- Plugin: () => Plugin47,
27
+ Plugin: () => Plugin45,
28
28
  WebFetchTool: () => exports_webfetch,
29
29
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
30
- description: () => description4,
30
+ description: () => description3,
31
31
  extractTextFromHTML: () => extractTextFromHTML2,
32
- name: () => name7
32
+ name: () => name6
33
33
  });
34
34
  import { ToolFailure } from "@opencode/ai/effect";
35
35
  import { Duration, Effect, Schema } from "effect";
36
36
  import { FetchHttpClient, HttpClient, HttpClientError, HttpClientRequest, HttpClientResponse } from "effect/http";
37
37
  import { Parser } from "htmlparser2";
38
- var name7 = "webfetch";
38
+ var name6 = "webfetch";
39
39
  var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
40
40
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
41
41
  var MAX_TIMEOUT_SECONDS2 = 120;
42
- var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
42
+ var description3 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
43
43
 
44
44
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
45
45
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
46
- var Input7 = Schema.Struct({
46
+ var Input6 = Schema.Struct({
47
47
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
48
48
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
49
49
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -53,7 +53,7 @@ var Input7 = Schema.Struct({
53
53
  var Output = Schema.Struct({
54
54
  url: Schema.String,
55
55
  contentType: Schema.String,
56
- format: Input7.fields.format,
56
+ format: Input6.fields.format,
57
57
  output: Schema.String
58
58
  });
59
59
  var acceptHeader = (format) => {
@@ -119,16 +119,16 @@ var convert = (content, contentType, format) => {
119
119
  return extractTextFromHTML2(content);
120
120
  return content;
121
121
  };
122
- var Plugin47 = {
122
+ var Plugin45 = {
123
123
  id: "opencode.tool.webfetch",
124
124
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
125
125
  const http = yield* HttpClient.HttpClient;
126
- const permission = yield* Service70;
126
+ const permission = yield* Service63;
127
127
  yield* ctx.tool.transform((editor) => editor.add({
128
- name: name7,
128
+ name: name6,
129
129
  options: { codemode: false },
130
- description: description4,
131
- input: Input7,
130
+ description: description3,
131
+ input: Input6,
132
132
  output: Output,
133
133
  execute: (input, context) => Effect.gen(function* () {
134
134
  const url = input.url.split("#")[0];
@@ -137,7 +137,7 @@ var Plugin47 = {
137
137
  catch: (error) => error
138
138
  });
139
139
  yield* permission.assert({
140
- action: name7,
140
+ action: name6,
141
141
  resources: [url],
142
142
  save: ["*"],
143
143
  metadata: input,
@@ -145,7 +145,7 @@ var Plugin47 = {
145
145
  });
146
146
  const { body, contentType } = yield* Effect.gen(function* () {
147
147
  const check = (next) => permission.assertNotDenied({
148
- action: name7,
148
+ action: name6,
149
149
  resources: [next],
150
150
  metadata: { ...input, url: next },
151
151
  ...invocation2(context)
@@ -199,4 +199,4 @@ function extractTextFromHTML2(html) {
199
199
  parser.end();
200
200
  return text.trim();
201
201
  }
202
- export { name7, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input7, MAX_REDIRECTS2, Plugin47, extractTextFromHTML2, exports_webfetch };
202
+ export { name6, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input6, MAX_REDIRECTS2, Plugin45, extractTextFromHTML2, exports_webfetch };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./state-z5v4ffb3.js";
3
+ } from "./shell-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./state-9rqn6x4v.js";
6
+ } from "./shell-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/provider.ts
9
9
  var exports_provider4 = {};
10
10
  __export(exports_provider4, {
11
11
  ConfigProviderV1: () => exports_provider4,
12
- Info: () => Info18,
12
+ Info: () => Info20,
13
13
  Model: () => Model3,
14
14
  ModelStatus: () => ModelStatus2
15
15
  });
@@ -61,7 +61,7 @@ var Model3 = Schema.Struct({
61
61
  disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
62
62
  }), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
63
63
  });
64
- var Info18 = Schema.Struct({
64
+ var Info20 = Schema.Struct({
65
65
  api: Schema.optional(Schema.String),
66
66
  name: Schema.optional(Schema.String),
67
67
  env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
@@ -91,4 +91,4 @@ var Info18 = Schema.Struct({
91
91
  models: Schema.optional(Schema.Record(Schema.String, Model3))
92
92
  }).annotate({ identifier: "ProviderConfig" });
93
93
 
94
- export { ModelStatus2, Model3, Info18, exports_provider4 };
94
+ export { ModelStatus2, Model3, Info20, exports_provider4 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ID16
3
- } from "./state-w1xxh1rf.js";
3
+ } from "./shell-bp6wf20z.js";
4
4
  import {
5
5
  loadSDKFactory2
6
- } from "./state-6q2bdcd1.js";
6
+ } from "./shell-6q2bdcd1.js";
7
7
 
8
8
  // src/plugin/provider/sap-ai-core.ts
9
9
  import { Effect } from "effect";
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  HEADER2,
3
3
  FORK_HEADER2
4
- } from "./state-yr705xyq.js";
4
+ } from "./shell-yr705xyq.js";
5
5
  import {
6
6
  ID3
7
- } from "./state-hadx4k33.js";
7
+ } from "./shell-jgqt2tj2.js";
8
8
  import {
9
9
  __export
10
- } from "./state-9rqn6x4v.js";
10
+ } from "./shell-9rqn6x4v.js";
11
11
 
12
12
  // src/plugin/provider/claude-agent/session.ts
13
13
  var exports_session2 = {};
14
14
  __export(exports_session2, {
15
15
  ClaudeSessionHooks: () => exports_session2,
16
- register: () => register5
16
+ register: () => register6
17
17
  });
18
18
  import { AssistantMessage, ToolMessage } from "@opencode/ai/effect";
19
19
  import { Effect, Schema } from "effect";
@@ -28,7 +28,7 @@ var flagToolError = (part) => {
28
28
  };
29
29
  return { ...part, providerMetadata: { ...part.providerMetadata, [ID3]: flags } };
30
30
  };
31
- var register5 = Effect.fn("ClaudeSessionHooks.register")(function* (ctx) {
31
+ var register6 = Effect.fn("ClaudeSessionHooks.register")(function* (ctx) {
32
32
  yield* ctx.session.hook("model.request", (event) => Effect.gen(function* () {
33
33
  event.headers[HEADER2] = event.kind;
34
34
  if (event.kind !== "primary")
@@ -53,4 +53,4 @@ var register5 = Effect.fn("ClaudeSessionHooks.register")(function* (ctx) {
53
53
  }), { providerID: ID3 });
54
54
  });
55
55
 
56
- export { register5, exports_session2 };
56
+ export { register6, exports_session2 };
@@ -1,21 +1,21 @@
1
1
  import {
2
- ID20
3
- } from "./state-48yfz3tb.js";
2
+ ID17
3
+ } from "./shell-pn6nj4xv.js";
4
4
  import {
5
5
  ID16
6
- } from "./state-w1xxh1rf.js";
6
+ } from "./shell-bp6wf20z.js";
7
7
  import {
8
8
  onSwitch2,
9
9
  reloadIfChanged2
10
- } from "./state-gjv7na4e.js";
10
+ } from "./shell-sete29qy.js";
11
11
  import {
12
12
  activeCredential2
13
- } from "./state-tjyp8p49.js";
13
+ } from "./shell-3m60wsff.js";
14
14
 
15
15
  // src/plugin/provider/openai-context-caps.ts
16
16
  import { define } from "@opencode/plugin/effect/plugin";
17
17
  import { Effect } from "effect";
18
- var integrationID = ID20.make("openai");
18
+ var integrationID = ID17.make("openai");
19
19
  var methodIDs = new Set(["chatgpt-browser", "chatgpt-headless", "chatgpt-token-sharing"]);
20
20
  var legacyInput = 272000;
21
21
  var currentInput = 500000;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./state-9rqn6x4v.js";
3
+ } from "./shell-9rqn6x4v.js";
4
4
 
5
5
  // src/util/wildcard.ts
6
6
  var exports_wildcard = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./state-9rqn6x4v.js";
3
+ } from "./shell-9rqn6x4v.js";
4
4
 
5
5
  // src/session/subagent-completion.ts
6
6
  var exports_subagent_completion = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./state-qfa1cgps.js";
3
+ } from "./shell-qfa1cgps.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./state-034tev2y.js";
6
+ } from "./shell-034tev2y.js";
7
7
 
8
8
  // src/permission/sql.ts
9
9
  import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service76
3
- } from "./state-yd46kdwt.js";
2
+ Service78
3
+ } from "./shell-a4gm6t53.js";
4
4
  import {
5
5
  observe2
6
- } from "./state-tvtps2q9.js";
6
+ } from "./shell-tvtps2q9.js";
7
7
  import {
8
- Service74
9
- } from "./state-1vj9z2t7.js";
8
+ Service69
9
+ } from "./shell-sya2xnbe.js";
10
10
  import {
11
11
  Condition2,
12
- ID5,
12
+ ID4,
13
13
  Outcome3,
14
14
  Request2,
15
15
  Status2,
16
16
  toCreateInput2,
17
17
  When2,
18
- NotFoundError3,
18
+ NotFoundError2,
19
19
  DisabledError2,
20
- Service18
21
- } from "./state-7fp7qfak.js";
20
+ Service13
21
+ } from "./shell-pzyn5a6k.js";
22
22
  import {
23
23
  __export
24
- } from "./state-9rqn6x4v.js";
24
+ } from "./shell-9rqn6x4v.js";
25
25
 
26
26
  // src/tool/plugin/schedule.ts
27
27
  var exports_schedule = {};
28
28
  __export(exports_schedule, {
29
29
  IDInput: () => IDInput2,
30
- Plugin: () => Plugin39,
30
+ Plugin: () => Plugin43,
31
31
  ScheduleTools: () => exports_schedule,
32
32
  View: () => View2
33
33
  });
@@ -40,7 +40,7 @@ var schedule_default = 'Manage scheduled prompts for this session.\n\nRequest: $
40
40
 
41
41
  // src/tool/plugin/schedule.ts
42
42
  var View2 = Schema.Struct({
43
- id: ID5,
43
+ id: ID4,
44
44
  name: Schema.String.pipe(optional),
45
45
  when: When2,
46
46
  tz: Schema.String,
@@ -61,19 +61,19 @@ var ListOutput = Schema.Struct({
61
61
  schedules: Schema.Array(View2)
62
62
  });
63
63
  var IDInput2 = Schema.Struct({
64
- id: ID5.annotate({ description: "Schedule id from schedule_list." })
64
+ id: ID4.annotate({ description: "Schedule id from schedule_list." })
65
65
  });
66
- var RemoveOutput = Schema.Struct({ id: ID5, removed: Schema.Boolean });
67
- var Plugin39 = {
66
+ var RemoveOutput = Schema.Struct({ id: ID4, removed: Schema.Boolean });
67
+ var Plugin43 = {
68
68
  id: "opencode.tool.schedule",
69
69
  effect: Effect.fn("ScheduleTools.Plugin")(function* (ctx) {
70
- const config = yield* Service76;
71
- const schedules = yield* Service18;
70
+ const config = yield* Service78;
71
+ const schedules = yield* Service13;
72
72
  const loaded = yield* observe2(config, ctx.event, Effect.andThen(ctx.tool.reload(), ctx.command.reload()));
73
- const flags = yield* Service74;
73
+ const flags = yield* Service69;
74
74
  const enabled = () => flags.resolve(loaded.entries).schedules.enabled;
75
75
  const allowed = (sessionID) => schedules.enabled(sessionID).pipe(Effect.flatMap((on) => on ? Effect.void : Effect.fail(new DisabledError2)));
76
- const owned = (id, sessionID) => allowed(sessionID).pipe(Effect.andThen(schedules.get(id)), Effect.filterOrFail((info) => info.sessionID === sessionID, () => new NotFoundError3({ scheduleID: id })));
76
+ const owned = (id, sessionID) => allowed(sessionID).pipe(Effect.andThen(schedules.get(id)), Effect.filterOrFail((info) => info.sessionID === sessionID, () => new NotFoundError2({ scheduleID: id })));
77
77
  const failure = (error) => new ToolFailure({ message: error.message, error });
78
78
  yield* ctx.tool.transform((editor) => {
79
79
  if (!enabled())
@@ -201,4 +201,4 @@ function toView(info) {
201
201
  };
202
202
  }
203
203
 
204
- export { View2, IDInput2, Plugin39, exports_schedule };
204
+ export { View2, IDInput2, Plugin43, exports_schedule };
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./state-z5v4ffb3.js";
3
+ } from "./shell-z5v4ffb3.js";
4
4
  import {
5
5
  WorktreeError2
6
- } from "./state-xqv8rs9y.js";
6
+ } from "./shell-zfnf49qv.js";
7
7
  import {
8
8
  Slug2
9
- } from "./state-gebd4c9n.js";
9
+ } from "./shell-gebd4c9n.js";
10
10
  import {
11
11
  Service94,
12
12
  node96
13
- } from "./state-r8ek82sz.js";
13
+ } from "./shell-fv16gkx5.js";
14
14
  import {
15
- Service93,
16
- node95
17
- } from "./state-eatz8zw3.js";
15
+ Service91,
16
+ node93
17
+ } from "./shell-3dche8a8.js";
18
18
  import {
19
19
  ProjectTable2
20
- } from "./state-034tev2y.js";
20
+ } from "./shell-034tev2y.js";
21
21
  import {
22
22
  WorktreeTable2
23
- } from "./state-ayjs7tqn.js";
23
+ } from "./shell-ayjs7tqn.js";
24
24
  import {
25
- ID17,
26
- NotFoundError13
27
- } from "./state-r4gqnmyj.js";
25
+ ID20,
26
+ NotFoundError14
27
+ } from "./shell-hqd6z3z6.js";
28
28
  import {
29
- Ref4
30
- } from "./state-8d63t3d3.js";
29
+ Ref5
30
+ } from "./shell-nt52v2br.js";
31
31
  import {
32
- Service55,
33
- node57
34
- } from "./state-hvcjhvbh.js";
32
+ Service70,
33
+ node71
34
+ } from "./shell-j7e2r5j3.js";
35
35
  import {
36
36
  DirectoryUnavailableError2,
37
37
  canonical2
38
- } from "./state-d4v9tmah.js";
38
+ } from "./shell-d4v9tmah.js";
39
39
  import {
40
- Service22
41
- } from "./state-xhr0vr4z.js";
40
+ Service27
41
+ } from "./shell-kmy2r0a4.js";
42
42
  import {
43
43
  __export
44
- } from "./state-9rqn6x4v.js";
44
+ } from "./shell-9rqn6x4v.js";
45
45
 
46
46
  // src/worktree.ts
47
47
  var exports_worktree2 = {};
@@ -49,19 +49,19 @@ __export(exports_worktree2, {
49
49
  CreateInput: () => CreateInput4,
50
50
  DestinationExistsError: () => DestinationExistsError2,
51
51
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
52
- Event: () => Event5,
53
- Info: () => Info7,
52
+ Event: () => Event6,
53
+ Info: () => Info8,
54
54
  InvalidDirectoryError: () => InvalidDirectoryError2,
55
55
  List: () => List2,
56
56
  ListEntry: () => ListEntry2,
57
57
  OperationError: () => OperationError2,
58
58
  RemoveInput: () => RemoveInput2,
59
- Service: () => Service21,
59
+ Service: () => Service26,
60
60
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
61
61
  StrategyID: () => StrategyID2,
62
62
  StrategyUnavailableError: () => StrategyUnavailableError2,
63
63
  Worktree: () => exports_worktree2,
64
- node: () => node24
64
+ node: () => node29
65
65
  });
66
66
  import { Context, Effect, Layer, Schema } from "effect";
67
67
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -75,11 +75,11 @@ import { OperationError as OperationError2 } from "@opencode/schema/worktree";
75
75
  var StrategyID2 = Worktree.StrategyID;
76
76
  var CreateInput4 = Worktree.CreateInput;
77
77
  var RemoveInput2 = Worktree.RemoveInput;
78
- var Info7 = Worktree.Info;
78
+ var Info8 = Worktree.Info;
79
79
  var List2 = Worktree.List;
80
80
  var ListEntry2 = Worktree.ListEntry;
81
81
 
82
- class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID17, directory: Schema.optional(AbsolutePath2) }) {
82
+ class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID20, directory: Schema.optional(AbsolutePath2) }) {
83
83
  }
84
84
 
85
85
  class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
@@ -90,21 +90,21 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
90
90
 
91
91
  class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
92
92
  }
93
- var Event5 = Worktree.Event;
93
+ var Event6 = Worktree.Event;
94
94
 
95
- class Service21 extends Context.Service()("@opencode/Worktree") {
95
+ class Service26 extends Context.Service()("@opencode/Worktree") {
96
96
  }
97
- var layer = Layer.effect(Service21, Effect.gen(function* () {
97
+ var layer = Layer.effect(Service26, Effect.gen(function* () {
98
98
  const fs = yield* FSUtil.Service;
99
99
  const database = yield* Service94;
100
100
  const db = database.db;
101
- const bus = yield* Service93;
101
+ const bus = yield* Service91;
102
102
  const processService = yield* AppProcess.Service;
103
- const locations = yield* Service55;
103
+ const locations = yield* Service70;
104
104
  const project = Effect.fnUntraced(function* (projectID) {
105
105
  const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
106
106
  if (!row)
107
- return yield* new NotFoundError13({ projectID });
107
+ return yield* new NotFoundError14({ projectID });
108
108
  return row;
109
109
  });
110
110
  const load = Effect.fnUntraced(function* (directory, current) {
@@ -113,13 +113,13 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
113
113
  if (current?.directory === directory)
114
114
  return current.get();
115
115
  const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
116
- const context = yield* locations.contextEffect(Ref4.make({ directory }));
116
+ const context = yield* locations.contextEffect(Ref5.make({ directory }));
117
117
  yield* Context.get(context, Plugin.Service).awaitActivation;
118
- return Context.get(context, Service22).get();
118
+ return Context.get(context, Service27).get();
119
119
  });
120
120
  const changed = Effect.fnUntraced(function* (projectID, update) {
121
121
  if (update)
122
- yield* bus.publish(Event5.Updated, { projectID });
122
+ yield* bus.publish(Event6.Updated, { projectID });
123
123
  });
124
124
  const ops = {
125
125
  list: Effect.fnUntraced(function* (projectID) {
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
246
246
  })).pipe(Effect.orDie);
247
247
  yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
248
248
  }, Effect.scoped);
249
- return Service21.of({
249
+ return Service26.of({
250
250
  list: Effect.fn("Worktree.list")(function* (input) {
251
251
  yield* project(input.projectID);
252
252
  return yield* ops.list(input.projectID);
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
256
256
  refresh
257
257
  });
258
258
  }));
259
- var node24 = Node.makeGlobalNode({
260
- service: Service21,
259
+ var node29 = Node.makeGlobalNode({
260
+ service: Service26,
261
261
  layer,
262
- deps: [FSUtil.node, node95, node96, AppProcess.node, node57]
262
+ deps: [FSUtil.node, node93, node96, AppProcess.node, node71]
263
263
  });
264
264
  function operationError(strategy, operation, error) {
265
265
  if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
269
269
  });
270
270
  }
271
271
 
272
- export { StrategyID2, CreateInput4, RemoveInput2, Info7, List2, ListEntry2, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event5, Service21, node24, exports_worktree2, OperationError2 };
272
+ export { StrategyID2, CreateInput4, RemoveInput2, Info8, List2, ListEntry2, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event6, Service26, node29, exports_worktree2, OperationError2 };