@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,143 +1,143 @@
1
1
  import {
2
2
  Service87,
3
3
  node89
4
- } from "./state-henm3czy.js";
4
+ } from "./shell-954nhh0r.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
- ID14,
11
- Service73,
12
- node75
13
- } from "./state-4g2y45a7.js";
10
+ ID13,
11
+ Service66,
12
+ node67
13
+ } from "./shell-mte4cvhm.js";
14
14
  import {
15
- ID22,
15
+ ID18,
16
16
  OAuth3
17
- } from "./state-abby1hp7.js";
17
+ } from "./shell-jnvf6701.js";
18
18
  import {
19
19
  AbsolutePath2
20
- } from "./state-z5v4ffb3.js";
20
+ } from "./shell-z5v4ffb3.js";
21
21
  import {
22
- Info25,
23
- Ref4,
24
- Service84,
25
- node86
26
- } from "./state-8d63t3d3.js";
22
+ Info29,
23
+ Ref5,
24
+ Service89,
25
+ node91
26
+ } from "./shell-nt52v2br.js";
27
27
  import {
28
- ID20,
28
+ ID17,
29
29
  MethodID2,
30
30
  AttemptID2,
31
31
  Method2,
32
- Service90,
33
- node92
34
- } from "./state-48yfz3tb.js";
32
+ Service84,
33
+ node86
34
+ } from "./shell-pn6nj4xv.js";
35
35
  import {
36
36
  ID16,
37
37
  Service83,
38
38
  node85
39
- } from "./state-w1xxh1rf.js";
39
+ } from "./shell-bp6wf20z.js";
40
40
  import {
41
41
  ID15,
42
42
  Service82,
43
43
  node84
44
- } from "./state-s2fh24gv.js";
45
- import {
46
- Service79,
47
- node81
48
- } from "./state-dr2ev67s.js";
49
- import {
50
- Service75,
51
- node77
52
- } from "./state-r7r55277.js";
53
- import {
54
- Key2,
55
- Service35,
56
- node39
57
- } from "./state-yewyrtz9.js";
58
- import {
59
- Service70,
60
- node72
61
- } from "./state-8cv530b8.js";
44
+ } from "./shell-grebgr4t.js";
62
45
  import {
63
46
  Service81,
64
47
  node83
65
- } from "./state-aq73hw13.js";
48
+ } from "./shell-ew7xwj24.js";
66
49
  import {
67
- ID10
68
- } from "./state-xerazvms.js";
50
+ Service77,
51
+ node79
52
+ } from "./shell-c1sfsxsr.js";
69
53
  import {
54
+ Key2,
70
55
  Service42,
71
56
  node45
72
- } from "./state-8e74rt2q.js";
57
+ } from "./shell-y9zkvspb.js";
73
58
  import {
74
- Service66,
75
- node69,
76
- Error5
77
- } from "./state-kt2vhnk6.js";
59
+ Service63,
60
+ node64
61
+ } from "./shell-haep26br.js";
62
+ import {
63
+ Service68,
64
+ node69
65
+ } from "./shell-zhgzvq41.js";
78
66
  import {
79
- Source3,
80
- Service54,
81
- node56
82
- } from "./state-w28k7sqx.js";
67
+ ID14
68
+ } from "./shell-ptxdnnkz.js";
83
69
  import {
84
- Info15,
85
- Service65,
86
- node68
87
- } from "./state-bx96q59d.js";
70
+ Service35,
71
+ node38
72
+ } from "./shell-cc1d08x5.js";
88
73
  import {
74
+ Service59,
75
+ node61,
76
+ Error4
77
+ } from "./shell-pxx5a2xh.js";
78
+ import {
79
+ Source4,
80
+ Service51,
81
+ node53
82
+ } from "./shell-xcx857aw.js";
83
+ import {
84
+ Info12,
89
85
  Service50,
90
86
  node52
91
- } from "./state-5r6v6fc0.js";
87
+ } from "./shell-zfzwag3x.js";
92
88
  import {
93
- Service55,
94
- node57
95
- } from "./state-hvcjhvbh.js";
89
+ Service58,
90
+ node60
91
+ } from "./shell-yc63kapp.js";
96
92
  import {
97
- Service57,
98
- node59
99
- } from "./state-nkbtark2.js";
93
+ Service70,
94
+ node71
95
+ } from "./shell-j7e2r5j3.js";
96
+ import {
97
+ Service73,
98
+ node74
99
+ } from "./shell-7d6x3zp0.js";
100
100
  import {
101
- Service29,
102
- node32
103
- } from "./state-ptx3cj57.js";
101
+ Service30,
102
+ node33
103
+ } from "./shell-z2vs241d.js";
104
104
  import {
105
105
  ProviderID2,
106
- Service28,
107
- node31
108
- } from "./state-822e8phb.js";
106
+ Service25,
107
+ node28
108
+ } from "./shell-xvpknwdn.js";
109
109
  import {
110
- Service24,
111
- node27,
110
+ Service28,
111
+ node31,
112
112
  eventDefinition2
113
- } from "./state-xk7swg5w.js";
113
+ } from "./shell-qe73sy79.js";
114
114
  import {
115
- Service19,
116
- node22
117
- } from "./state-7y60gvjh.js";
118
- import {
119
- ID7,
120
115
  Service20,
121
116
  node23
122
- } from "./state-610g93rr.js";
117
+ } from "./shell-vm1kvrgp.js";
118
+ import {
119
+ ID6,
120
+ Service23,
121
+ node26
122
+ } from "./shell-a2j5x2j3.js";
123
123
  import {
124
- Service22,
125
- node25
126
- } from "./state-xhr0vr4z.js";
124
+ Service27,
125
+ node30
126
+ } from "./shell-kmy2r0a4.js";
127
127
  import {
128
128
  StrategyID2,
129
- Info7,
129
+ Info8,
130
130
  ListEntry2,
131
+ Service26,
132
+ node29
133
+ } from "./shell-1j8rvsvj.js";
134
+ import {
131
135
  Service21,
132
136
  node24
133
- } from "./state-zp2hh6jp.js";
134
- import {
135
- Service23,
136
- node26
137
- } from "./state-mmq84whh.js";
137
+ } from "./shell-spj29m8q.js";
138
138
  import {
139
139
  __export
140
- } from "./state-9rqn6x4v.js";
140
+ } from "./shell-9rqn6x4v.js";
141
141
 
142
142
  // src/plugin/host.ts
143
143
  var exports_host = {};
@@ -157,52 +157,52 @@ var isRpcEvent = (event) => isRpcType(event.type);
157
157
  var isPublicEvent = (event) => EventManifest.isServer(event) || isRpcEvent(event);
158
158
  var make22 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
159
159
  const app = yield* Service87;
160
- const agents = yield* Service73;
161
- const artifacts = yield* Service28;
162
- const aisdk = yield* Service81;
160
+ const agents = yield* Service66;
161
+ const artifacts = yield* Service25;
162
+ const aisdk = yield* Service68;
163
163
  const providers = yield* Service83;
164
164
  const models = yield* Service82;
165
- const commands = yield* Service50;
166
- const bus = yield* Service93;
167
- const integration = yield* Service90;
168
- const kv = yield* Service79;
169
- const mcp = yield* Service42;
170
- const location = yield* Service84;
171
- const reference = yield* Service54;
172
- const rpc = yield* Service24;
173
- const skill = yield* Service65;
174
- const tools = yield* Service66;
175
- const vcs = yield* Service19;
176
- const websearch = yield* Service20;
177
- const generate = yield* Service23;
165
+ const commands = yield* Service58;
166
+ const bus = yield* Service91;
167
+ const integration = yield* Service84;
168
+ const kv = yield* Service81;
169
+ const mcp = yield* Service35;
170
+ const location = yield* Service89;
171
+ const reference = yield* Service51;
172
+ const rpc = yield* Service28;
173
+ const skill = yield* Service50;
174
+ const tools = yield* Service59;
175
+ const vcs = yield* Service20;
176
+ const websearch = yield* Service23;
177
+ const generate = yield* Service21;
178
178
  const generateText = (input) => generate.text(input).pipe(Effect.map((text) => ({ text })));
179
- const permission = yield* Service70;
180
- const hooks = yield* Service75;
181
- const sessions = yield* Service29;
182
- const instructionEntries = yield* Service35;
183
- const persistentPty = yield* Service57;
184
- const locations = yield* Service55;
185
- const worktrees = yield* Service21;
186
- const worktreeStrategies = yield* Service22;
179
+ const permission = yield* Service63;
180
+ const hooks = yield* Service77;
181
+ const sessions = yield* Service30;
182
+ const instructionEntries = yield* Service42;
183
+ const persistentPty = yield* Service73;
184
+ const locations = yield* Service70;
185
+ const worktrees = yield* Service26;
186
+ const worktreeStrategies = yield* Service27;
187
187
  const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
188
- const locationInfo = (current = location) => new Info25({
188
+ const locationInfo = (current = location) => new Info29({
189
189
  directory: current.directory,
190
190
  workspaceID: current.workspaceID,
191
191
  project: current.project
192
192
  });
193
- const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
193
+ const locationRef = (input) => input?.location === undefined ? undefined : Ref5.make({
194
194
  directory: AbsolutePath2.make(input.location.directory ?? location.directory),
195
- workspaceID: input.location.workspace === undefined ? location.workspaceID : ID10.make(input.location.workspace)
195
+ workspaceID: input.location.workspace === undefined ? location.workspaceID : ID14.make(input.location.workspace)
196
196
  });
197
197
  const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
198
198
  const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
199
199
  const atLocation = (ref, effect) => Effect.gen(function* () {
200
- return { location: locationInfo(yield* Service84), data: yield* effect };
200
+ return { location: locationInfo(yield* Service89), data: yield* effect };
201
201
  }).pipe(Effect.provide(locations.get(ref)));
202
202
  const sessionPermission = (input) => permission.get(input.requestID).pipe(Effect.flatMap((request) => request?.sessionID === input.sessionID ? Effect.succeed(request) : Effect.fail(new Error(`Permission request not found: ${input.requestID}`))));
203
- const decodeWorktree = Schema.decodeUnknownEffect(Info7);
203
+ const decodeWorktree = Schema.decodeUnknownEffect(Info8);
204
204
  const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry2));
205
- const listAgents = Effect.fn("PluginHost.listAgents")((ref) => atLocation(ref, Effect.flatMap(Service73, (agents) => agents.list())).pipe(Effect.orDie));
205
+ const listAgents = Effect.fn("PluginHost.listAgents")((ref) => atLocation(ref, Effect.flatMap(Service66, (agents) => agents.list())).pipe(Effect.orDie));
206
206
  const context = {
207
207
  app,
208
208
  location: locationInfo(),
@@ -227,10 +227,10 @@ var make22 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
227
227
  transform: (callback) => agents.transform((editor) => {
228
228
  callback({
229
229
  list: editor.list,
230
- get: (id) => editor.get(ID14.make(id)),
231
- default: (id) => editor.default(id === undefined ? undefined : ID14.make(id)),
232
- update: (id, update) => editor.update(ID14.make(id), update),
233
- remove: (id) => editor.remove(ID14.make(id))
230
+ get: (id) => editor.get(ID13.make(id)),
231
+ default: (id) => editor.default(id === undefined ? undefined : ID13.make(id)),
232
+ update: (id, update) => editor.update(ID13.make(id), update),
233
+ remove: (id) => editor.remove(ID13.make(id))
234
234
  });
235
235
  })
236
236
  },
@@ -368,20 +368,20 @@ var make22 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
368
368
  integration: {
369
369
  list: () => response(integration.list()),
370
370
  get: Effect.fn(function* (input) {
371
- const item = yield* integration.get(ID20.make(input.integrationID));
371
+ const item = yield* integration.get(ID17.make(input.integrationID));
372
372
  if (!item)
373
373
  return yield* Effect.fail(new Error(`Integration not found: ${input.integrationID}`));
374
374
  return yield* response(Effect.succeed(item));
375
375
  }),
376
376
  connect: {
377
377
  key: (input) => integration.connection.key({
378
- integrationID: ID20.make(input.integrationID),
378
+ integrationID: ID17.make(input.integrationID),
379
379
  key: input.key,
380
380
  answer: input.answer,
381
381
  label: input.label
382
382
  }),
383
383
  external: (input) => integration.connection.external({
384
- integrationID: ID20.make(input.integrationID),
384
+ integrationID: ID17.make(input.integrationID),
385
385
  methodID: MethodID2.make(input.methodID),
386
386
  answer: input.answer,
387
387
  label: input.label
@@ -389,46 +389,46 @@ var make22 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
389
389
  },
390
390
  oauth: {
391
391
  connect: (input) => response(integration.oauth.connect({
392
- integrationID: ID20.make(input.integrationID),
392
+ integrationID: ID17.make(input.integrationID),
393
393
  methodID: MethodID2.make(input.methodID),
394
394
  answer: input.answer,
395
395
  label: input.label
396
396
  })),
397
397
  status: (input) => response(integration.oauth.status({
398
- integrationID: ID20.make(input.integrationID),
398
+ integrationID: ID17.make(input.integrationID),
399
399
  attemptID: AttemptID2.make(input.attemptID)
400
400
  })),
401
401
  complete: (input) => integration.oauth.complete({
402
- integrationID: ID20.make(input.integrationID),
402
+ integrationID: ID17.make(input.integrationID),
403
403
  attemptID: AttemptID2.make(input.attemptID),
404
404
  code: input.code
405
405
  }),
406
406
  cancel: (input) => integration.oauth.cancel({
407
- integrationID: ID20.make(input.integrationID),
407
+ integrationID: ID17.make(input.integrationID),
408
408
  attemptID: AttemptID2.make(input.attemptID)
409
409
  })
410
410
  },
411
411
  command: {
412
412
  connect: (input) => response(integration.command.connect({
413
- integrationID: ID20.make(input.integrationID),
413
+ integrationID: ID17.make(input.integrationID),
414
414
  methodID: MethodID2.make(input.methodID),
415
415
  label: input.label
416
416
  })),
417
417
  status: (input) => response(integration.command.status({
418
- integrationID: ID20.make(input.integrationID),
418
+ integrationID: ID17.make(input.integrationID),
419
419
  attemptID: AttemptID2.make(input.attemptID)
420
420
  })),
421
421
  cancel: (input) => integration.command.cancel({
422
- integrationID: ID20.make(input.integrationID),
422
+ integrationID: ID17.make(input.integrationID),
423
423
  attemptID: AttemptID2.make(input.attemptID)
424
424
  })
425
425
  },
426
426
  reload: integration.reload,
427
427
  connection: {
428
- active: (id) => integration.connection.active(ID20.make(id)),
428
+ active: (id) => integration.connection.active(ID17.make(id)),
429
429
  resolve: (connection) => integration.connection.resolve(connectionInfo(connection)),
430
430
  status: (input) => integration.connection.status({
431
- integrationID: ID20.make(input.integrationID),
431
+ integrationID: ID17.make(input.integrationID),
432
432
  connection: connectionInfo(input.connection),
433
433
  status: input.status
434
434
  })
@@ -436,13 +436,13 @@ var make22 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
436
436
  transform: (callback) => integration.transform((editor) => {
437
437
  callback({
438
438
  list: editor.list,
439
- get: (id) => editor.get(ID20.make(id)),
440
- update: (id, update) => editor.update(ID20.make(id), update),
441
- remove: (id) => editor.remove(ID20.make(id)),
439
+ get: (id) => editor.get(ID17.make(id)),
440
+ update: (id, update) => editor.update(ID17.make(id), update),
441
+ remove: (id) => editor.remove(ID17.make(id)),
442
442
  method: {
443
- list: (id) => editor.method.list(ID20.make(id)),
443
+ list: (id) => editor.method.list(ID17.make(id)),
444
444
  update: (input) => editor.method.update(methodImplementation(input)),
445
- remove: (id, method) => editor.method.remove(ID20.make(id), Schema.decodeUnknownSync(Method2)(method))
445
+ remove: (id, method) => editor.method.remove(ID17.make(id), Schema.decodeUnknownSync(Method2)(method))
446
446
  }
447
447
  });
448
448
  })
@@ -451,7 +451,7 @@ var make22 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
451
451
  list: (input) => {
452
452
  const ref = locationRef(input);
453
453
  if (ref && !isCurrentLocation(ref))
454
- return atLocation(ref, Effect.flatMap(Service42, (mcp) => mcp.servers()));
454
+ return atLocation(ref, Effect.flatMap(Service35, (mcp) => mcp.servers()));
455
455
  return response(mcp.servers());
456
456
  },
457
457
  reload: mcp.reload,
@@ -471,9 +471,9 @@ var make22 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
471
471
  get: sessionPermission,
472
472
  reply: (input) => sessionPermission(input).pipe(Effect.andThen(() => permission.reply({ requestID: input.requestID, reply: input.decision, message: input.message }))),
473
473
  assert: (input) => permission.assert(input).pipe(Effect.catchTags({
474
- "Permission.BlockedError": (error) => Effect.fail(new Error5({ message: error.message, error })),
475
- "Permission.CorrectedError": (error) => Effect.fail(new Error5({ message: error.feedback, error })),
476
- "Session.NotFoundError": (error) => Effect.fail(new Error5({ message: `Session not found: ${error.sessionID}`, error }))
474
+ "Permission.BlockedError": (error) => Effect.fail(new Error4({ message: error.message, error })),
475
+ "Permission.CorrectedError": (error) => Effect.fail(new Error4({ message: error.feedback, error })),
476
+ "Session.NotFoundError": (error) => Effect.fail(new Error4({ message: `Session not found: ${error.sessionID}`, error }))
477
477
  }))
478
478
  },
479
479
  plugin: {
@@ -484,7 +484,7 @@ var make22 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
484
484
  reload: reference.reload,
485
485
  transform: (callback) => reference.transform((editor) => {
486
486
  callback({
487
- add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source3)(source)),
487
+ add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source4)(source)),
488
488
  remove: editor.remove,
489
489
  list: editor.list,
490
490
  get: editor.get
@@ -498,7 +498,7 @@ var make22 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
498
498
  callback({
499
499
  list: () => mutable(editor.list()),
500
500
  get: editor.get,
501
- add: (value) => editor.add(Schema.decodeUnknownSync(Info15)(value)),
501
+ add: (value) => editor.add(Schema.decodeUnknownSync(Info12)(value)),
502
502
  update: editor.update,
503
503
  remove: editor.remove
504
504
  });
@@ -529,19 +529,19 @@ var make22 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
529
529
  providers: () => response(websearch.providers()),
530
530
  query: (input) => response(websearch.query({
531
531
  query: input.query,
532
- providerID: input.providerID === undefined ? undefined : ID7.make(input.providerID)
532
+ providerID: input.providerID === undefined ? undefined : ID6.make(input.providerID)
533
533
  })),
534
534
  reload: websearch.reload,
535
535
  transform: (callback) => websearch.transform((editor) => {
536
536
  callback({
537
537
  add: (definition) => editor.add({
538
- id: ID7.make(definition.id),
538
+ id: ID6.make(definition.id),
539
539
  name: definition.name,
540
540
  execute: definition.execute
541
541
  }),
542
542
  default: {
543
543
  get: editor.default.get,
544
- set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID7.make(selection))
544
+ set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID6.make(selection))
545
545
  }
546
546
  });
547
547
  })
@@ -572,7 +572,7 @@ var make22 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
572
572
  metadata: input?.metadata,
573
573
  permissions: input?.permissions,
574
574
  ...input?.parentID === undefined ? {
575
- location: input?.location ?? Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
575
+ location: input?.location ?? Ref5.make({ directory: location.directory, workspaceID: location.workspaceID })
576
576
  } : { parentID: input.parentID }
577
577
  }),
578
578
  get: (input) => sessions.get(input.sessionID),
@@ -621,32 +621,32 @@ var make22 = Effect.fn("PluginHost.make")(function* (plugin, pluginID) {
621
621
  });
622
622
  var requirements3 = LayerNode.group([
623
623
  node89,
624
- node75,
625
- node31,
626
- node83,
624
+ node67,
625
+ node28,
626
+ node69,
627
627
  node85,
628
628
  node84,
629
- node52,
630
- node95,
631
- node92,
632
- node81,
633
- node45,
629
+ node60,
630
+ node93,
634
631
  node86,
635
- node56,
636
- node27,
637
- node68,
638
- node69,
639
- node22,
632
+ node83,
633
+ node38,
634
+ node91,
635
+ node53,
636
+ node31,
637
+ node52,
638
+ node61,
640
639
  node23,
641
- node24,
642
- node25,
643
640
  node26,
644
- node72,
645
- node77,
646
- node32,
647
- node39,
648
- node59,
649
- node57
641
+ node29,
642
+ node30,
643
+ node24,
644
+ node64,
645
+ node79,
646
+ node33,
647
+ node45,
648
+ node74,
649
+ node71
650
650
  ]);
651
651
  function storage2(kv, pluginID) {
652
652
  const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
@@ -673,7 +673,7 @@ function methodImplementation(input) {
673
673
  if ("authorize" in input) {
674
674
  const refresh = input.refresh;
675
675
  return {
676
- integrationID: ID20.make(input.integrationID),
676
+ integrationID: ID17.make(input.integrationID),
677
677
  method: { ...input.method, id: MethodID2.make(input.method.id) },
678
678
  authorize: (answer) => input.authorize(answer).pipe(Effect.map((authorization) => {
679
679
  if (authorization.mode === "auto") {
@@ -693,29 +693,29 @@ function methodImplementation(input) {
693
693
  }
694
694
  if (input.method.type === "env") {
695
695
  return {
696
- integrationID: ID20.make(input.integrationID),
696
+ integrationID: ID17.make(input.integrationID),
697
697
  method: input.method
698
698
  };
699
699
  }
700
700
  if (input.method.type === "command") {
701
701
  return {
702
- integrationID: ID20.make(input.integrationID),
702
+ integrationID: ID17.make(input.integrationID),
703
703
  method: { ...input.method, id: MethodID2.make(input.method.id) }
704
704
  };
705
705
  }
706
706
  if (input.method.type === "external") {
707
707
  return {
708
- integrationID: ID20.make(input.integrationID),
708
+ integrationID: ID17.make(input.integrationID),
709
709
  method: { ...input.method, id: MethodID2.make(input.method.id) }
710
710
  };
711
711
  }
712
712
  return {
713
- integrationID: ID20.make(input.integrationID),
713
+ integrationID: ID17.make(input.integrationID),
714
714
  method: input.method
715
715
  };
716
716
  }
717
717
  function connectionInfo(connection) {
718
- return connection.type === "credential" ? { ...connection, id: ID22.make(connection.id) } : connection;
718
+ return connection.type === "credential" ? { ...connection, id: ID18.make(connection.id) } : connection;
719
719
  }
720
720
  function credential(value) {
721
721
  return OAuth3.make({ ...value, methodID: MethodID2.make(value.methodID) });
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./state-9rqn6x4v.js";
3
+ } from "./shell-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/instance.ts
6
6
  var exports_instance2 = {};
7
7
  __export(exports_instance2, {
8
8
  InstancePlugins: () => exports_instance2,
9
- Service: () => Service4,
9
+ Service: () => Service3,
10
10
  bound: () => bound2,
11
- node: () => node6
11
+ node: () => node4
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
- class Service4 extends Context.Service()("@opencode/InstancePlugins") {
16
+ class Service3 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node6 = makeLocationNode({
19
- service: Service4,
18
+ var node4 = makeLocationNode({
19
+ service: Service3,
20
20
  layer: bound2([]),
21
21
  deps: []
22
22
  });
@@ -26,7 +26,7 @@ function bound2(plugins) {
26
26
  throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
27
27
  }
28
28
  const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
29
- return Layer.succeed(Service4, Service4.of({ all: () => stamped }));
29
+ return Layer.succeed(Service3, Service3.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service4, node6, bound2, exports_instance2 };
32
+ export { Service3, node4, bound2, exports_instance2 };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service76
3
- } from "./state-yd46kdwt.js";
2
+ Service78
3
+ } from "./shell-a4gm6t53.js";
4
4
  import {
5
- Service8
6
- } from "./state-6h8vcvjm.js";
5
+ Service11
6
+ } from "./shell-vq0qa3sh.js";
7
7
  import {
8
8
  observe2
9
- } from "./state-tvtps2q9.js";
9
+ } from "./shell-tvtps2q9.js";
10
10
  import {
11
11
  __export
12
- } from "./state-9rqn6x4v.js";
12
+ } from "./shell-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/location-watcher.ts
15
- var exports_location_watcher2 = {};
16
- __export(exports_location_watcher2, {
17
- ConfigLocationWatcherPlugin: () => exports_location_watcher2,
18
- Plugin: () => Plugin21
15
+ var exports_location_watcher = {};
16
+ __export(exports_location_watcher, {
17
+ ConfigLocationWatcherPlugin: () => exports_location_watcher,
18
+ Plugin: () => Plugin26
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin21 = define({
22
+ var Plugin26 = define({
23
23
  id: "opencode.config.location-watcher",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service76;
26
- const policy = yield* Service8;
25
+ const config = yield* Service78;
26
+ const policy = yield* Service11;
27
27
  const loaded = yield* observe2(config, ctx.event, policy.reload());
28
28
  yield* policy.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -35,4 +35,4 @@ var Plugin21 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin21, exports_location_watcher2 };
38
+ export { Plugin26, exports_location_watcher };