@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,52 +1,52 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./state-z5v4ffb3.js";
3
+ } from "./shell-z5v4ffb3.js";
4
4
  import {
5
- Service84
6
- } from "./state-8d63t3d3.js";
5
+ Service89
6
+ } from "./shell-nt52v2br.js";
7
7
  import {
8
- Service63
9
- } from "./state-ytf4f56c.js";
8
+ Service74
9
+ } from "./shell-9sbgfgyf.js";
10
10
  import {
11
11
  InvalidPatternError2,
12
- Service62
13
- } from "./state-7yf4mrpk.js";
12
+ Service54
13
+ } from "./shell-r50190cd.js";
14
14
  import {
15
15
  DEFAULT_SEARCH_LIMIT2,
16
16
  GrepInput2,
17
17
  Entry2,
18
18
  Match2
19
- } from "./state-grdxa8jy.js";
19
+ } from "./shell-mykc1p7n.js";
20
20
  import {
21
21
  invocation2,
22
- Service70
23
- } from "./state-8cv530b8.js";
22
+ Service63
23
+ } from "./shell-haep26br.js";
24
24
  import {
25
- Service25
26
- } from "./state-nbasw9vk.js";
25
+ Service19
26
+ } from "./shell-d4ez0mth.js";
27
27
  import {
28
28
  pathType2,
29
29
  bounded2
30
- } from "./state-zjd996k1.js";
30
+ } from "./shell-g5pq00vt.js";
31
31
  import {
32
32
  __export
33
- } from "./state-9rqn6x4v.js";
33
+ } from "./shell-9rqn6x4v.js";
34
34
 
35
35
  // src/tool/plugin/grep.ts
36
36
  var exports_grep = {};
37
37
  __export(exports_grep, {
38
38
  GrepTool: () => exports_grep,
39
- Input: () => Input12,
40
- Output: () => Output8,
41
- Plugin: () => Plugin54,
42
- name: () => name12,
43
- toModelContent: () => toModelContent5
39
+ Input: () => Input5,
40
+ Output: () => Output4,
41
+ Plugin: () => Plugin44,
42
+ name: () => name5,
43
+ toModelContent: () => toModelContent4
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai/effect";
46
46
  import { Effect, Schema } from "effect";
47
47
  import path from "path";
48
- var name12 = "grep";
49
- var Input12 = Schema.Struct({
48
+ var name5 = "grep";
49
+ var Input5 = Schema.Struct({
50
50
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
51
51
  description: "Regular expression or literal text to match in file contents."
52
52
  }),
@@ -66,8 +66,8 @@ var Input12 = Schema.Struct({
66
66
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
67
67
  })
68
68
  });
69
- var Output8 = Schema.Array(Match2);
70
- var toModelContent5 = (matches, truncated = false) => {
69
+ var Output4 = Schema.Array(Match2);
70
+ var toModelContent4 = (matches, truncated = false) => {
71
71
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
72
72
  let current = "";
73
73
  for (const match of matches) {
@@ -84,25 +84,25 @@ var toModelContent5 = (matches, truncated = false) => {
84
84
  return lines.join(`
85
85
  `);
86
86
  };
87
- var Plugin54 = {
87
+ var Plugin44 = {
88
88
  id: "opencode.tool.grep",
89
89
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
90
- const environment = yield* Service63;
91
- const ripgrep = yield* Service62;
92
- const location = yield* Service84;
93
- const access = yield* Service25;
94
- const permission = yield* Service70;
90
+ const environment = yield* Service74;
91
+ const ripgrep = yield* Service54;
92
+ const location = yield* Service89;
93
+ const access = yield* Service19;
94
+ const permission = yield* Service63;
95
95
  yield* ctx.tool.transform((editor) => editor.add({
96
- name: name12,
96
+ name: name5,
97
97
  options: { codemode: false },
98
98
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
99
- input: Input12,
100
- output: Output8,
99
+ input: Input5,
100
+ output: Output4,
101
101
  execute: (input, context) => Effect.gen(function* () {
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
103
103
  yield* access.authorizeExternal([target], context);
104
104
  yield* permission.assert({
105
- action: name12,
105
+ action: name5,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -139,7 +139,7 @@ var Plugin54 = {
139
139
  };
140
140
  }).pipe(Effect.map((result) => ({
141
141
  output: result.matches,
142
- content: toModelContent5(result.matches.map((match) => ({
142
+ content: toModelContent4(result.matches.map((match) => ({
143
143
  ...match,
144
144
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
145
145
  })), result.truncated),
@@ -149,4 +149,4 @@ var Plugin54 = {
149
149
  })
150
150
  };
151
151
 
152
- export { name12, Input12, Output8, toModelContent5, Plugin54, exports_grep };
152
+ export { name5, Input5, Output4, toModelContent4, Plugin44, exports_grep };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service94,
3
3
  node96
4
- } from "./state-r8ek82sz.js";
4
+ } from "./shell-fv16gkx5.js";
5
5
  import {
6
- Service93,
7
- node95
8
- } from "./state-eatz8zw3.js";
6
+ Service91,
7
+ node93
8
+ } from "./shell-3dche8a8.js";
9
9
  import {
10
10
  Service49,
11
11
  node51
12
- } from "./state-cg3fcpn4.js";
12
+ } from "./shell-cg3fcpn4.js";
13
13
  import {
14
14
  AbsolutePath2,
15
15
  RelativePath2
16
- } from "./state-z5v4ffb3.js";
16
+ } from "./shell-z5v4ffb3.js";
17
17
  import {
18
- Service85,
19
- node87
20
- } from "./state-r4gqnmyj.js";
18
+ Service90,
19
+ node92
20
+ } from "./shell-hqd6z3z6.js";
21
21
  import {
22
- Ref4
23
- } from "./state-8d63t3d3.js";
22
+ Ref5
23
+ } from "./shell-nt52v2br.js";
24
24
  import {
25
- Service55,
26
- node57
27
- } from "./state-hvcjhvbh.js";
25
+ Service70,
26
+ node71
27
+ } from "./shell-j7e2r5j3.js";
28
28
  import {
29
29
  SessionMessage2
30
- } from "./state-gftt206x.js";
30
+ } from "./shell-gftt206x.js";
31
31
  import {
32
- NotFoundError11
33
- } from "./state-0te9php1.js";
32
+ NotFoundError10
33
+ } from "./shell-sj9zktea.js";
34
34
  import {
35
35
  SessionEvent2
36
- } from "./state-ec1grn59.js";
36
+ } from "./shell-ec1grn59.js";
37
37
  import {
38
38
  Item2,
39
39
  serialized2,
40
40
  Service48,
41
41
  node50,
42
42
  moveIDs2
43
- } from "./state-923z2668.js";
43
+ } from "./shell-gm6yx5tf.js";
44
44
  import {
45
45
  Service47
46
- } from "./state-w76xjer3.js";
46
+ } from "./shell-w76xjer3.js";
47
47
  import {
48
- Service71,
49
- node73
50
- } from "./state-1xc4xt0c.js";
48
+ Service65,
49
+ node66
50
+ } from "./shell-s1sy6qq8.js";
51
51
  import {
52
52
  Service46,
53
53
  node49
54
- } from "./state-xs8ad273.js";
54
+ } from "./shell-be4qsd6f.js";
55
55
  import {
56
- node34
57
- } from "./state-5c1tbmp4.js";
56
+ node44
57
+ } from "./shell-kztrepe5.js";
58
58
  import {
59
59
  __export
60
- } from "./state-9rqn6x4v.js";
60
+ } from "./shell-9rqn6x4v.js";
61
61
 
62
62
  // src/session/move.ts
63
63
  var exports_move = {};
@@ -65,9 +65,9 @@ __export(exports_move, {
65
65
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
66
66
  DestinationNotFoundError: () => DestinationNotFoundError2,
67
67
  DestinationUnavailableError: () => DestinationUnavailableError2,
68
- Service: () => Service30,
68
+ Service: () => Service39,
69
69
  SessionMove: () => exports_move,
70
- node: () => node33
70
+ node: () => node41
71
71
  });
72
72
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
73
73
  import { FSUtil } from "@opencode/util/fs-util";
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
83
83
  class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
84
84
  }
85
85
 
86
- class Service30 extends Context.Service()("@opencode/SessionMove") {
86
+ class Service39 extends Context.Service()("@opencode/SessionMove") {
87
87
  }
88
- var layer = Layer.effect(Service30, Effect.gen(function* () {
88
+ var layer = Layer.effect(Service39, Effect.gen(function* () {
89
89
  const fs = yield* FSUtil.Service;
90
90
  const global = yield* Global.Service;
91
- const projects = yield* Service85;
92
- const locations = yield* Service55;
93
- const store = yield* Service71;
91
+ const projects = yield* Service90;
92
+ const locations = yield* Service70;
93
+ const store = yield* Service65;
94
94
  const execution = yield* Service46;
95
95
  const instances = yield* Service49;
96
96
  const admission = yield* Service48;
97
97
  const database = yield* Service94;
98
- const bus = yield* Service93;
98
+ const bus = yield* Service91;
99
99
  const get = Effect.fn("SessionMove.get")(function* (sessionID) {
100
100
  const session = yield* store.get(sessionID);
101
101
  if (!session)
102
- return yield* new NotFoundError11({ sessionID });
102
+ return yield* new NotFoundError10({ sessionID });
103
103
  return session;
104
104
  });
105
105
  const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
115
115
  return yield* new DestinationNotDirectoryError2({ directory });
116
116
  const project = yield* projects.resolve(directory);
117
117
  const destination = {
118
- location: Ref4.make({ directory, workspaceID: input.workspaceID }),
118
+ location: Ref5.make({ directory, workspaceID: input.workspaceID }),
119
119
  projectID: project.id,
120
120
  subpath: RelativePath2.make(path.relative(project.directory, directory).replaceAll("\\", "/"))
121
121
  };
@@ -133,7 +133,7 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
133
133
  return true;
134
134
  return yield* Service47.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
135
135
  });
136
- return Service30.of({
136
+ return Service39.of({
137
137
  move: Effect.fn("SessionMove.move")(function* (input) {
138
138
  const session = yield* get(input.sessionID);
139
139
  const destination = yield* resolveDestination(session, input);
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
163
163
  })
164
164
  });
165
165
  }));
166
- var node33 = makeGlobalNode({
167
- service: Service30,
166
+ var node41 = makeGlobalNode({
167
+ service: Service39,
168
168
  layer,
169
169
  deps: [
170
170
  FSUtil.node,
171
171
  Global.node,
172
- node87,
173
- node57,
174
- node73,
172
+ node92,
173
+ node71,
174
+ node66,
175
175
  node49,
176
176
  node51,
177
177
  node50,
178
178
  node96,
179
- node95,
180
- node34
179
+ node93,
180
+ node44
181
181
  ]
182
182
  });
183
183
 
184
- export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service30, node33, exports_move };
184
+ export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service39, node41, exports_move };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./state-z5v4ffb3.js";
3
+ } from "./shell-z5v4ffb3.js";
4
4
  import {
5
- node88
6
- } from "./state-xqv8rs9y.js";
5
+ node94
6
+ } from "./shell-zfnf49qv.js";
7
7
  import {
8
- Service84,
9
- node86
10
- } from "./state-8d63t3d3.js";
8
+ Service89,
9
+ node91
10
+ } from "./shell-nt52v2br.js";
11
11
  import {
12
12
  create4
13
- } from "./state-40y6dtc2.js";
13
+ } from "./shell-40y6dtc2.js";
14
14
  import {
15
15
  make23
16
- } from "./state-wx96rjq6.js";
16
+ } from "./shell-f2nnq1r4.js";
17
17
  import {
18
18
  __export
19
- } from "./state-9rqn6x4v.js";
19
+ } from "./shell-9rqn6x4v.js";
20
20
 
21
21
  // src/worktree/strategies.ts
22
22
  var exports_strategies = {};
23
23
  __export(exports_strategies, {
24
- Service: () => Service22,
24
+ Service: () => Service27,
25
25
  WorktreeStrategies: () => exports_strategies,
26
- node: () => node25
26
+ node: () => node30
27
27
  });
28
28
  import { Context, Effect, Layer } from "effect";
29
29
  import path from "path";
@@ -31,10 +31,10 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Global } from "@opencode/util/global";
32
32
  import { FSUtil } from "@opencode/util/fs-util";
33
33
 
34
- class Service22 extends Context.Service()("@opencode/WorktreeStrategies") {
34
+ class Service27 extends Context.Service()("@opencode/WorktreeStrategies") {
35
35
  }
36
- var layer = Layer.effect(Service22, Effect.gen(function* () {
37
- const location = yield* Service84;
36
+ var layer = Layer.effect(Service27, Effect.gen(function* () {
37
+ const location = yield* Service89;
38
38
  const global = yield* Global.Service;
39
39
  const git = yield* make23;
40
40
  const state = create4({
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
55
55
  }
56
56
  })
57
57
  });
58
- return Service22.of({ ...state, directory: location.directory });
58
+ return Service27.of({ ...state, directory: location.directory });
59
59
  }));
60
- var node25 = makeLocationNode({
61
- service: Service22,
60
+ var node30 = makeLocationNode({
61
+ service: Service27,
62
62
  layer,
63
- deps: [node86, Global.node, node88, FSUtil.node]
63
+ deps: [node91, Global.node, node94, FSUtil.node]
64
64
  });
65
65
 
66
- export { Service22, node25, exports_strategies };
66
+ export { Service27, node30, exports_strategies };
@@ -1,14 +1,14 @@
1
1
  import {
2
- ID20,
3
- Service90,
4
- node92
5
- } from "./state-48yfz3tb.js";
2
+ ID17,
3
+ Service84,
4
+ node86
5
+ } from "./shell-pn6nj4xv.js";
6
6
  import {
7
7
  isAISDK2,
8
8
  packageName2,
9
9
  mergeOverlay2,
10
10
  mergeHeaders2
11
- } from "./state-m90tx7mw.js";
11
+ } from "./shell-m90tx7mw.js";
12
12
  import {
13
13
  ID16,
14
14
  loadPackage2,
@@ -19,11 +19,11 @@ import {
19
19
  encoding2,
20
20
  Service83,
21
21
  node85
22
- } from "./state-w1xxh1rf.js";
22
+ } from "./shell-bp6wf20z.js";
23
23
  import {
24
- Service81,
25
- node83
26
- } from "./state-aq73hw13.js";
24
+ Service68,
25
+ node69
26
+ } from "./shell-zhgzvq41.js";
27
27
  import {
28
28
  ID15,
29
29
  VariantID2,
@@ -31,10 +31,10 @@ import {
31
31
  Service82,
32
32
  node84,
33
33
  supportsText2
34
- } from "./state-s2fh24gv.js";
34
+ } from "./shell-grebgr4t.js";
35
35
  import {
36
36
  __export
37
- } from "./state-9rqn6x4v.js";
37
+ } from "./shell-9rqn6x4v.js";
38
38
 
39
39
  // src/model-resolver.ts
40
40
  var exports_model_resolver = {};
@@ -43,15 +43,15 @@ __export(exports_model_resolver, {
43
43
  ModelConfigurationError: () => ModelConfigurationError2,
44
44
  ModelInitializationError: () => ModelInitializationError2,
45
45
  ModelResolver: () => exports_model_resolver,
46
- Service: () => Service80,
46
+ Service: () => Service67,
47
47
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
48
48
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
49
49
  UnsupportedPackageError: () => UnsupportedPackageError2,
50
50
  VariantUnavailableError: () => VariantUnavailableError2,
51
51
  fromCatalogModel: () => fromCatalogModel2,
52
52
  hasPackage: () => hasPackage2,
53
- layer: () => layer27,
54
- node: () => node82,
53
+ layer: () => layer24,
54
+ node: () => node68,
55
55
  resolveModel: () => resolveModel3,
56
56
  withVariant: () => withVariant2
57
57
  });
@@ -131,7 +131,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
131
131
  }
132
132
  }
133
133
 
134
- class Service80 extends Context.Service()("@opencode/ModelResolver") {
134
+ class Service67 extends Context.Service()("@opencode/ModelResolver") {
135
135
  }
136
136
  var withVariant2 = (model, variantID) => {
137
137
  const id = variantID === "default" ? undefined : variantID;
@@ -310,19 +310,19 @@ var causeMessage = (cause) => {
310
310
  };
311
311
  var resolveModel3 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
312
312
  var hasPackage2 = (model) => Boolean(model.package);
313
- var layer27 = Layer.effect(Service80, Effect.gen(function* () {
313
+ var layer24 = Layer.effect(Service67, Effect.gen(function* () {
314
314
  const providers = yield* Service83;
315
315
  const models = yield* Service82;
316
- const integrations = yield* Service90;
316
+ const integrations = yield* Service84;
317
317
  const npm = yield* Npm.Service;
318
- const aisdk = yield* Service81;
318
+ const aisdk = yield* Service68;
319
319
  const dependencies = {
320
320
  loadPackage: (specifier) => loadPackage2(specifier, npm),
321
321
  loadAISDK: (model) => aisdk.model(model)
322
322
  };
323
323
  const prepare = Effect.fn("ModelResolver.prepare")(function* (selected, variant) {
324
324
  const provider = yield* providers.get(selected.providerID);
325
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID20.make(selected.providerID));
325
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID17.make(selected.providerID));
326
326
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
327
327
  const selectedVariant = yield* withVariant2(selected, variant);
328
328
  const runtimeInfo = {
@@ -365,7 +365,7 @@ var layer27 = Layer.effect(Service80, Effect.gen(function* () {
365
365
  return model;
366
366
  return (yield* models.available()).find((model) => hasPackage2(model) && supportsText2(model));
367
367
  });
368
- return Service80.of({
368
+ return Service67.of({
369
369
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
370
370
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* fallback();
371
371
  if (!selected)
@@ -431,10 +431,10 @@ function usesAPIKeyAuth(packageName) {
431
431
  return false;
432
432
  return API_KEY_AUTH_PACKAGES.has(name) || name.startsWith("@opencode/ai/providers/openai/") || name.startsWith("@opencode/ai/providers/azure/");
433
433
  }
434
- var node82 = makeLocationNode({
435
- service: Service80,
436
- layer: layer27,
437
- deps: [node85, node84, node92, Npm.node, node83]
434
+ var node68 = makeLocationNode({
435
+ service: Service67,
436
+ layer: layer24,
437
+ deps: [node85, node84, node86, Npm.node, node69]
438
438
  });
439
439
 
440
- export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service80, withVariant2, fromCatalogModel2, resolveModel3, hasPackage2, layer27, node82, exports_model_resolver };
440
+ export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service67, withVariant2, fromCatalogModel2, resolveModel3, hasPackage2, layer24, node68, exports_model_resolver };
@@ -1,42 +1,42 @@
1
1
  import {
2
2
  invocation2,
3
- Service70
4
- } from "./state-8cv530b8.js";
3
+ Service63
4
+ } from "./shell-haep26br.js";
5
5
  import {
6
- ID11,
6
+ ID9,
7
7
  Name2,
8
8
  toModelOutput3,
9
9
  prepare3,
10
- Service65
11
- } from "./state-bx96q59d.js";
10
+ Service50
11
+ } from "./shell-zfzwag3x.js";
12
12
  import {
13
13
  __export
14
- } from "./state-9rqn6x4v.js";
14
+ } from "./shell-9rqn6x4v.js";
15
15
 
16
16
  // src/tool/plugin/skill.ts
17
17
  var exports_skill3 = {};
18
18
  __export(exports_skill3, {
19
- Input: () => Input13,
19
+ Input: () => Input11,
20
20
  Output: () => Output9,
21
- Plugin: () => Plugin55,
21
+ Plugin: () => Plugin51,
22
22
  SkillTool: () => exports_skill3,
23
- description: () => description7,
24
- name: () => name13,
23
+ description: () => description6,
24
+ name: () => name11,
25
25
  toModelOutput: () => toModelOutput2
26
26
  });
27
27
  import { ToolFailure } from "@opencode/ai/effect";
28
28
  import { Effect, Schema } from "effect";
29
29
  import { FSUtil } from "@opencode/util/fs-util";
30
- var name13 = "skill";
31
- var Input13 = Schema.Struct({
32
- id: ID11.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
30
+ var name11 = "skill";
31
+ var Input11 = Schema.Struct({
32
+ id: ID9.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
33
33
  });
34
34
  var Output9 = Schema.Struct({
35
35
  name: Name2,
36
36
  directory: Schema.String,
37
37
  output: Schema.String
38
38
  });
39
- var description7 = [
39
+ var description6 = [
40
40
  "Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
41
41
  "",
42
42
  "The skill ID must match an available skill or a skill explicitly referenced by the user."
@@ -44,17 +44,17 @@ var description7 = [
44
44
  `);
45
45
  var toModelOutput2 = toModelOutput3;
46
46
  var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
47
- var Plugin55 = {
47
+ var Plugin51 = {
48
48
  id: "opencode.tool.skill",
49
49
  effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
50
50
  const fs = yield* FSUtil.Service;
51
- const skills = yield* Service65;
52
- const permission = yield* Service70;
51
+ const skills = yield* Service50;
52
+ const permission = yield* Service63;
53
53
  yield* ctx.tool.transform((editor) => editor.add({
54
- name: name13,
54
+ name: name11,
55
55
  options: { codemode: false },
56
- description: description7,
57
- input: Input13,
56
+ description: description6,
57
+ input: Input11,
58
58
  output: Output9,
59
59
  execute: (input, context) => Effect.gen(function* () {
60
60
  const skill = yield* skills.get(input.id);
@@ -62,7 +62,7 @@ var Plugin55 = {
62
62
  return yield* unableToLoad(input.id);
63
63
  return yield* Effect.gen(function* () {
64
64
  yield* permission.assert({
65
- action: name13,
65
+ action: name11,
66
66
  resources: [skill.id],
67
67
  save: [skill.id],
68
68
  ...invocation2(context)
@@ -79,4 +79,4 @@ var Plugin55 = {
79
79
  })
80
80
  };
81
81
 
82
- export { name13, Input13, Output9, description7, toModelOutput2, Plugin55, exports_skill3 };
82
+ export { name11, Input11, Output9, description6, toModelOutput2, Plugin51, exports_skill3 };