@opencode/core 0.0.0-dev-1280 → 0.0.0-dev-1285

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 (911) 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 +11 -11
  6. package/dist/artifact.js +252 -252
  7. package/dist/bus.js +84 -84
  8. package/dist/chunks/{wellknown-prxmvqz6.js → app-00jjfnj7.js} +17 -17
  9. package/dist/chunks/{wellknown-jkakbz53.js → app-025t4cve.js} +15 -15
  10. package/dist/chunks/{wellknown-034tev2y.js → app-034tev2y.js} +2 -2
  11. package/dist/chunks/{wellknown-mqf256nb.js → app-06ct867e.js} +11 -11
  12. package/dist/chunks/{wellknown-5ar51n0r.js → app-07qm1k11.js} +7 -7
  13. package/dist/chunks/{wellknown-j3f8hyeg.js → app-0ahs07zn.js} +4 -4
  14. package/dist/chunks/{wellknown-0fvxehme.js → app-0fvxehme.js} +2 -2
  15. package/dist/chunks/{wellknown-tmd1r8tg.js → app-0m9q59s6.js} +4 -4
  16. package/dist/chunks/{wellknown-0ma9gw4f.js → app-0ma9gw4f.js} +2 -2
  17. package/dist/chunks/{wellknown-dm4ee7c9.js → app-0wcg8mck.js} +59 -59
  18. package/dist/chunks/{wellknown-amjjh717.js → app-0x1mgtk1.js} +5 -5
  19. package/dist/chunks/{wellknown-jkenhkn3.js → app-18swenvv.js} +11 -11
  20. package/dist/chunks/{wellknown-1aqsckx4.js → app-1aqsckx4.js} +1 -1
  21. package/dist/chunks/{wellknown-1aryjtsy.js → app-1aryjtsy.js} +1 -1
  22. package/dist/chunks/{wellknown-vwrwz5ex.js → app-1b4qm173.js} +187 -187
  23. package/dist/chunks/{wellknown-1ep2p91f.js → app-1ep2p91f.js} +2 -2
  24. package/dist/chunks/{wellknown-qctje6mm.js → app-1f8gda2j.js} +11 -11
  25. package/dist/chunks/{wellknown-c610j0ka.js → app-1ktsg9tq.js} +6 -6
  26. package/dist/chunks/{wellknown-s5zrq09q.js → app-1mk73hd7.js} +8 -8
  27. package/dist/chunks/{wellknown-1ww6mj8f.js → app-1rnry1v4.js} +6 -6
  28. package/dist/chunks/{wellknown-7mhsjf65.js → app-1wd80431.js} +2 -2
  29. package/dist/chunks/{wellknown-1x2knyw4.js → app-1x2knyw4.js} +1 -1
  30. package/dist/chunks/{wellknown-w687dnns.js → app-1yped5qa.js} +4 -4
  31. package/dist/chunks/{wellknown-e3766z8e.js → app-247pbyk5.js} +7 -7
  32. package/dist/chunks/{wellknown-2fc7eemy.js → app-2fc7eemy.js} +1 -1
  33. package/dist/chunks/{wellknown-9thz99j1.js → app-2fjqxx81.js} +11 -11
  34. package/dist/chunks/{wellknown-27ktqzwr.js → app-2grtr496.js} +11 -11
  35. package/dist/chunks/{wellknown-t0yxsa4w.js → app-2m0fy4fc.js} +11 -11
  36. package/dist/chunks/{wellknown-2mbjfaxd.js → app-2mbjfaxd.js} +1 -1
  37. package/dist/chunks/{wellknown-6a3qyq7w.js → app-2merx6cy.js} +9 -9
  38. package/dist/chunks/{wellknown-v37bc009.js → app-2n444ktb.js} +2 -2
  39. package/dist/chunks/{wellknown-84394vcr.js → app-2prt43t7.js} +4 -4
  40. package/dist/chunks/{wellknown-nrz3a2k3.js → app-2x0f01dd.js} +12 -12
  41. package/dist/chunks/{wellknown-pwr3tcaa.js → app-2z68448b.js} +12 -12
  42. package/dist/chunks/{wellknown-qt3ze8rr.js → app-30gxh304.js} +5 -5
  43. package/dist/chunks/{wellknown-yza0n96j.js → app-333e4s7d.js} +13 -13
  44. package/dist/chunks/{wellknown-81jb41jf.js → app-33qr263c.js} +49 -49
  45. package/dist/chunks/{wellknown-j2htf90w.js → app-35kgbjca.js} +7 -7
  46. package/dist/chunks/{wellknown-04whjz6n.js → app-3adw4bt5.js} +9 -9
  47. package/dist/chunks/{wellknown-g6ce35sq.js → app-3d69khjk.js} +12 -12
  48. package/dist/chunks/{wellknown-3hepkmqq.js → app-3hepkmqq.js} +1 -1
  49. package/dist/chunks/{wellknown-gn3h6dxw.js → app-3hvwj3m6.js} +9 -9
  50. package/dist/chunks/{wellknown-n67wry4g.js → app-3ka5cgy9.js} +7 -7
  51. package/dist/chunks/{wellknown-3nnrz6f6.js → app-3nnrz6f6.js} +1 -1
  52. package/dist/chunks/{wellknown-xgntqjvj.js → app-3r5q5spf.js} +81 -81
  53. package/dist/chunks/{wellknown-9ch8vfxj.js → app-3y9syvn4.js} +47 -47
  54. package/dist/chunks/{wellknown-xmp7pdtz.js → app-408971ex.js} +24 -24
  55. package/dist/chunks/{wellknown-40y6dtc2.js → app-40y6dtc2.js} +1 -1
  56. package/dist/chunks/{wellknown-pqjsfgk2.js → app-46zdpyn0.js} +18 -18
  57. package/dist/chunks/{wellknown-g6yp65q8.js → app-485gexf9.js} +16 -16
  58. package/dist/chunks/{wellknown-m4p4r8nc.js → app-4dfqsw0d.js} +4 -4
  59. package/dist/chunks/{wellknown-4dx1dgte.js → app-4dx1dgte.js} +1 -1
  60. package/dist/chunks/{wellknown-4f25tdd0.js → app-4f25tdd0.js} +1 -1
  61. package/dist/chunks/{wellknown-j5221a8k.js → app-4gjhybck.js} +18 -18
  62. package/dist/chunks/{wellknown-qbj8t3dc.js → app-4gqyvqdh.js} +3 -3
  63. package/dist/chunks/{wellknown-zg3dd62n.js → app-4kwwfkxq.js} +2 -2
  64. package/dist/chunks/{wellknown-4pyp9zr9.js → app-4pyp9zr9.js} +1 -1
  65. package/dist/chunks/{wellknown-25ey1qe0.js → app-4qm7r5h9.js} +31 -31
  66. package/dist/chunks/{wellknown-4v008n1t.js → app-4v008n1t.js} +1 -1
  67. package/dist/chunks/{wellknown-stbett4v.js → app-4vzr2b15.js} +3 -3
  68. package/dist/chunks/{wellknown-v7sr38g7.js → app-4x2mxp21.js} +7 -7
  69. package/dist/chunks/{wellknown-ptwmb640.js → app-4xer3324.js} +13 -13
  70. package/dist/chunks/{wellknown-dsm6hmjx.js → app-4xvhmk97.js} +6 -6
  71. package/dist/chunks/{wellknown-aq2e9c4r.js → app-4zc7x669.js} +3 -3
  72. package/dist/chunks/{wellknown-cyx4wr0f.js → app-52jz7pwf.js} +7 -7
  73. package/dist/chunks/{wellknown-5enarcya.js → app-5enarcya.js} +2 -2
  74. package/dist/chunks/{wellknown-zf0c34x3.js → app-5g9hwt4x.js} +7 -7
  75. package/dist/chunks/{wellknown-5m9w47nd.js → app-5m9w47nd.js} +1 -1
  76. package/dist/chunks/{wellknown-z94e4jy3.js → app-62cg9b9e.js} +10 -10
  77. package/dist/chunks/{wellknown-kw0eymth.js → app-6bg6cvm0.js} +12 -12
  78. package/dist/chunks/{wellknown-q5jvrzph.js → app-6bxz1xd9.js} +13 -13
  79. package/dist/chunks/{wellknown-28zec0f4.js → app-6drg800n.js} +12 -12
  80. package/dist/chunks/{wellknown-mjwhre59.js → app-6r4kt603.js} +7 -7
  81. package/dist/chunks/{wellknown-w4t81q56.js → app-6sqtdkcy.js} +1 -1
  82. package/dist/chunks/{wellknown-qbknckpd.js → app-6vnk4sds.js} +4 -4
  83. package/dist/chunks/{wellknown-v84ns8g0.js → app-70fr565a.js} +16 -16
  84. package/dist/chunks/{wellknown-cq4jgwga.js → app-76gmk4js.js} +3 -3
  85. package/dist/chunks/{wellknown-tdzg3se5.js → app-76v0dsz2.js} +18 -18
  86. package/dist/chunks/{wellknown-mja1swvv.js → app-77m7hwaa.js} +44 -44
  87. package/dist/chunks/{wellknown-xyz1t0qk.js → app-79wp8f13.js} +5 -5
  88. package/dist/chunks/{wellknown-y57h9apw.js → app-7b52v053.js} +4 -4
  89. package/dist/chunks/{wellknown-7bmhse3q.js → app-7bmhse3q.js} +1 -1
  90. package/dist/chunks/{wellknown-5kcdngh6.js → app-7ex1q6kt.js} +4 -4
  91. package/dist/chunks/{wellknown-fsa0gwwp.js → app-7fnx82sm.js} +3 -3
  92. package/dist/chunks/{wellknown-g2rjajxv.js → app-7gxmh10m.js} +29 -29
  93. package/dist/chunks/{wellknown-hj0xet7m.js → app-7nb8tm12.js} +5 -5
  94. package/dist/chunks/{wellknown-1cyffnvs.js → app-7szx5t17.js} +27 -27
  95. package/dist/chunks/{wellknown-7w2ypzdf.js → app-7w2ypzdf.js} +1 -1
  96. package/dist/chunks/{wellknown-7weczvnd.js → app-7weczvnd.js} +1 -1
  97. package/dist/chunks/{wellknown-80mg3ag8.js → app-80mg3ag8.js} +3 -3
  98. package/dist/chunks/{wellknown-80pdk984.js → app-80pdk984.js} +1 -1
  99. package/dist/chunks/{wellknown-ae0qpv5r.js → app-819k1hkv.js} +16 -16
  100. package/dist/chunks/{wellknown-0qahn5h0.js → app-82djqm81.js} +83 -83
  101. package/dist/chunks/{wellknown-85jq8dht.js → app-85jq8dht.js} +1 -1
  102. package/dist/chunks/{wellknown-929zkk1r.js → app-86rns305.js} +5 -5
  103. package/dist/chunks/{wellknown-2aer8hgd.js → app-89x54ejz.js} +4 -4
  104. package/dist/chunks/{wellknown-6m8vj9yr.js → app-8aqfbqgm.js} +7 -7
  105. package/dist/chunks/{wellknown-8b3vzgkx.js → app-8b3vzgkx.js} +1 -1
  106. package/dist/chunks/{wellknown-rx1xeagf.js → app-8b97tab6.js} +9 -9
  107. package/dist/chunks/{wellknown-8kjyvwy5.js → app-8kjyvwy5.js} +1 -1
  108. package/dist/chunks/{wellknown-s14vrjdz.js → app-8m4s1g37.js} +6 -6
  109. package/dist/chunks/{wellknown-p0cgagxb.js → app-8p6tesg0.js} +19 -19
  110. package/dist/chunks/{wellknown-13tsap6q.js → app-8pwnwwhb.js} +33 -33
  111. package/dist/chunks/{wellknown-d8fs5gt4.js → app-8qqc2s59.js} +18 -18
  112. package/dist/chunks/{wellknown-8sxe6kv8.js → app-8sxe6kv8.js} +2 -2
  113. package/dist/chunks/{wellknown-8wtp7s3z.js → app-8wtp7s3z.js} +1 -1
  114. package/dist/chunks/app-8x060fmy.js +18 -0
  115. package/dist/chunks/{wellknown-yybgvvmq.js → app-8xz27cp9.js} +4 -4
  116. package/dist/chunks/{wellknown-tss705n6.js → app-8zcs8b0z.js} +21 -21
  117. package/dist/chunks/{wellknown-8zv0xmg5.js → app-8zv0xmg5.js} +1 -1
  118. package/dist/chunks/{wellknown-yarzfda3.js → app-93jm7hjf.js} +13 -13
  119. package/dist/chunks/{wellknown-vk1gq6xh.js → app-957a6038.js} +8 -8
  120. package/dist/chunks/{wellknown-27qg90p7.js → app-95qw0e3q.js} +18 -18
  121. package/dist/chunks/{wellknown-728t7gc6.js → app-95t0tw0v.js} +5 -5
  122. package/dist/chunks/{wellknown-963hk181.js → app-963hk181.js} +2 -2
  123. package/dist/chunks/{wellknown-s2cspse1.js → app-9ah88nye.js} +12 -12
  124. package/dist/chunks/{wellknown-f6jr0yjz.js → app-9e8w80ds.js} +27 -27
  125. package/dist/chunks/{wellknown-15v75j2x.js → app-9g3pee38.js} +14 -14
  126. package/dist/chunks/{wellknown-v0t96s7a.js → app-9q8g9sv8.js} +4 -4
  127. package/dist/chunks/{wellknown-pr0ynw92.js → app-9t3xgyty.js} +4 -4
  128. package/dist/chunks/{wellknown-xr62gm6v.js → app-9w8bjk4c.js} +37 -37
  129. package/dist/chunks/{wellknown-61qraad9.js → app-9zwexsxs.js} +5 -5
  130. package/dist/chunks/{wellknown-tyekj3r9.js → app-a19kd72j.js} +30 -30
  131. package/dist/chunks/{wellknown-6sg7v011.js → app-a3fn0gmm.js} +2 -2
  132. package/dist/chunks/{wellknown-d8vxf25s.js → app-a3gh46mf.js} +33 -33
  133. package/dist/chunks/{wellknown-c4t9ypm8.js → app-ag6cgtqa.js} +43 -43
  134. package/dist/chunks/app-an5g0sat.js +35 -0
  135. package/dist/chunks/{wellknown-tpvfz3qe.js → app-apmdcqpc.js} +29 -29
  136. package/dist/chunks/{wellknown-mw2mp8dw.js → app-atcjc96e.js} +19 -19
  137. package/dist/chunks/{wellknown-ayjs7tqn.js → app-ayjs7tqn.js} +2 -2
  138. package/dist/chunks/{wellknown-0cr0jx4r.js → app-b0py6acz.js} +8 -8
  139. package/dist/chunks/{wellknown-26wfx3k0.js → app-ba5f9dy2.js} +4 -4
  140. package/dist/chunks/{wellknown-mtmh24f8.js → app-bp29v7tn.js} +32 -32
  141. package/dist/chunks/{wellknown-46q226g6.js → app-bqd4bt1a.js} +16 -16
  142. package/dist/chunks/{wellknown-vhd8852r.js → app-bsexe5yk.js} +14 -14
  143. package/dist/chunks/{wellknown-xd9cc171.js → app-bstexjd6.js} +5 -5
  144. package/dist/chunks/{wellknown-66d8dez0.js → app-cc12rbr6.js} +47 -47
  145. package/dist/chunks/{wellknown-kzdam8c6.js → app-ckk44cdz.js} +5 -5
  146. package/dist/chunks/{wellknown-wnsavktq.js → app-cq0zqw2z.js} +8 -8
  147. package/dist/chunks/{wellknown-ye3r8z34.js → app-cs6va74p.js} +10 -10
  148. package/dist/chunks/{wellknown-evvjvga6.js → app-cvdkrx6f.js} +44 -44
  149. package/dist/chunks/{wellknown-cwrgdav8.js → app-cwrgdav8.js} +2 -2
  150. package/dist/chunks/{wellknown-d4v9tmah.js → app-d4v9tmah.js} +2 -2
  151. package/dist/chunks/{wellknown-aedwt843.js → app-ddvn7d3w.js} +8 -8
  152. package/dist/chunks/{wellknown-f4xxa474.js → app-dfj93yhv.js} +9 -9
  153. package/dist/chunks/{wellknown-tqvvgzsw.js → app-dhcjg10b.js} +5 -5
  154. package/dist/chunks/{wellknown-184x2ne5.js → app-dnfz43gh.js} +11 -11
  155. package/dist/chunks/{wellknown-583ggra2.js → app-dqdn51sf.js} +15 -15
  156. package/dist/chunks/{wellknown-dt77769w.js → app-dt77769w.js} +1 -1
  157. package/dist/chunks/{wellknown-ck63xrcz.js → app-e4ba5gvv.js} +14 -14
  158. package/dist/chunks/{wellknown-37k1m3sd.js → app-e7xwa4fm.js} +25 -25
  159. package/dist/chunks/{wellknown-gwyytpcj.js → app-ea90c952.js} +6 -6
  160. package/dist/chunks/{wellknown-ve6h378e.js → app-eah2397q.js} +10 -10
  161. package/dist/chunks/{wellknown-xma42a2y.js → app-ecb8qe35.js} +8 -8
  162. package/dist/chunks/{wellknown-gqegjds9.js → app-em1rnmew.js} +15 -15
  163. package/dist/chunks/{wellknown-7g49ttx0.js → app-eqg1vac5.js} +16 -16
  164. package/dist/chunks/{wellknown-eqw4pqj1.js → app-eqw4pqj1.js} +2 -2
  165. package/dist/chunks/{wellknown-c8cpqe4g.js → app-exhr55tk.js} +21 -21
  166. package/dist/chunks/{wellknown-pxbvf64t.js → app-eyfjfzn3.js} +5 -5
  167. package/dist/chunks/{wellknown-wyrdxqa1.js → app-ez4hrxg9.js} +11 -11
  168. package/dist/chunks/{wellknown-f3p75wf2.js → app-f18n4nbc.js} +19 -19
  169. package/dist/chunks/{wellknown-63r1jezq.js → app-f3kq79qq.js} +23 -23
  170. package/dist/chunks/{wellknown-zpmbbmg4.js → app-f8ytdj8t.js} +7 -7
  171. package/dist/chunks/{wellknown-dsq1faga.js → app-fazqq38j.js} +12 -12
  172. package/dist/chunks/{wellknown-fg9p65nk.js → app-fg9p65nk.js} +2 -2
  173. package/dist/chunks/{wellknown-r2wb5enr.js → app-fmqgcsh3.js} +19 -19
  174. package/dist/chunks/{wellknown-8tx2ejmc.js → app-fvvn716q.js} +9 -9
  175. package/dist/chunks/{wellknown-vmxsyvj6.js → app-fxwxq1kw.js} +4 -4
  176. package/dist/chunks/{wellknown-14bfnkfq.js → app-g21kkkcr.js} +34 -34
  177. package/dist/chunks/{wellknown-b26ddj6h.js → app-g4txs7zc.js} +4 -4
  178. package/dist/chunks/{wellknown-qs72j73j.js → app-g5r5k2rv.js} +29 -29
  179. package/dist/chunks/{wellknown-f9vd95df.js → app-g7542zse.js} +24 -24
  180. package/dist/chunks/{wellknown-x51rz0sc.js → app-gaj3x73k.js} +25 -25
  181. package/dist/chunks/{wellknown-gbjdnr5j.js → app-gbjdnr5j.js} +2 -2
  182. package/dist/chunks/{wellknown-ghrv1g9c.js → app-ghrv1g9c.js} +1 -1
  183. package/dist/chunks/{wellknown-z7c6cvks.js → app-gkam3hgf.js} +5 -5
  184. package/dist/chunks/{wellknown-1basnjmv.js → app-gpktz0vk.js} +30 -30
  185. package/dist/chunks/{wellknown-jrwdf4r9.js → app-grgfybpe.js} +10 -10
  186. package/dist/chunks/{wellknown-zp4kahxc.js → app-gstg0ae4.js} +24 -24
  187. package/dist/chunks/{wellknown-gxs71cxp.js → app-gxs71cxp.js} +1 -1
  188. package/dist/chunks/{wellknown-f2nzj6et.js → app-gy24j455.js} +9 -9
  189. package/dist/chunks/{wellknown-bm7xpb2p.js → app-h31yzxdh.js} +14 -14
  190. package/dist/chunks/{wellknown-hgzwgvze.js → app-hgzwgvze.js} +2 -2
  191. package/dist/chunks/{wellknown-5q652czm.js → app-hpv452dw.js} +7 -7
  192. package/dist/chunks/{wellknown-c95q701f.js → app-hty9eptx.js} +5 -5
  193. package/dist/chunks/{wellknown-km209ejh.js → app-hwgjczxt.js} +19 -19
  194. package/dist/chunks/{wellknown-tr8x705m.js → app-j376ae4e.js} +5 -5
  195. package/dist/chunks/{wellknown-my4fpfwk.js → app-j8mrzfgg.js} +12 -12
  196. package/dist/chunks/{wellknown-jm70asfg.js → app-jm70asfg.js} +1 -1
  197. package/dist/chunks/{wellknown-drdmzpww.js → app-jn6kbxpn.js} +4 -4
  198. package/dist/chunks/{wellknown-yte9g17j.js → app-jt98tm65.js} +20 -20
  199. package/dist/chunks/{wellknown-8dea992e.js → app-jtqmv2hm.js} +10 -10
  200. package/dist/chunks/{wellknown-44pmzq9c.js → app-jxd6f16v.js} +2 -2
  201. package/dist/chunks/{wellknown-hccp4m5y.js → app-jzceekcr.js} +8 -8
  202. package/dist/chunks/{wellknown-eq34fv4d.js → app-kezxk3pb.js} +23 -23
  203. package/dist/chunks/{wellknown-m2y57w8k.js → app-kf1x8zgw.js} +15 -15
  204. package/dist/chunks/{wellknown-x4mcewfn.js → app-kmekj7m2.js} +2 -2
  205. package/dist/chunks/{wellknown-e14e5bqv.js → app-kqg8bwd1.js} +8 -8
  206. package/dist/chunks/{wellknown-38nr3rfb.js → app-kqnrsvns.js} +43 -43
  207. package/dist/chunks/{wellknown-kt3bjfbg.js → app-kt3bjfbg.js} +1 -1
  208. package/dist/chunks/{wellknown-f7hsj4em.js → app-kvv4s9az.js} +6 -6
  209. package/dist/chunks/{wellknown-q56zascw.js → app-kw4rkd9m.js} +25 -25
  210. package/dist/chunks/{wellknown-kzczzf4v.js → app-kzczzf4v.js} +1 -1
  211. package/dist/chunks/{wellknown-derxze1q.js → app-m10cf2g0.js} +29 -29
  212. package/dist/chunks/{wellknown-m1714858.js → app-m1714858.js} +1 -1
  213. package/dist/chunks/{wellknown-0w7t4ved.js → app-m5x27r8g.js} +45 -45
  214. package/dist/chunks/{wellknown-6besst92.js → app-m66ga2vx.js} +16 -16
  215. package/dist/chunks/{wellknown-qjgpr7gk.js → app-m7aj11vv.js} +360 -360
  216. package/dist/chunks/{wellknown-vrhb1srk.js → app-m86zqssn.js} +9 -9
  217. package/dist/chunks/{wellknown-m90tx7mw.js → app-m90tx7mw.js} +1 -1
  218. package/dist/chunks/{wellknown-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
  219. package/dist/chunks/{wellknown-mb7mbhnz.js → app-mb7mbhnz.js} +3 -3
  220. package/dist/chunks/{wellknown-75a2gs08.js → app-me215f18.js} +1 -1
  221. package/dist/chunks/{wellknown-xd6fx7tp.js → app-mee10srx.js} +22 -22
  222. package/dist/chunks/{wellknown-7tftgcmj.js → app-mft8r9dx.js} +22 -22
  223. package/dist/chunks/{wellknown-7fpr7hz7.js → app-mq984we8.js} +9 -9
  224. package/dist/chunks/{wellknown-cha0bdvb.js → app-mwm4jr9n.js} +33 -33
  225. package/dist/chunks/{wellknown-m6vyjheh.js → app-mygbhmxt.js} +26 -26
  226. package/dist/chunks/{wellknown-cf4nqrhb.js → app-n50n4edv.js} +33 -33
  227. package/dist/chunks/{wellknown-z06gyfty.js → app-n5as8391.js} +34 -34
  228. package/dist/chunks/{wellknown-v6c3tqzh.js → app-n5mwsv0r.js} +8 -8
  229. package/dist/chunks/{wellknown-nx57nrss.js → app-n7e8gndn.js} +44 -44
  230. package/dist/chunks/{wellknown-m6nb5czf.js → app-n7hb44nb.js} +26 -26
  231. package/dist/chunks/{wellknown-qr0pq923.js → app-na5a42jc.js} +4 -4
  232. package/dist/chunks/{wellknown-7ahda34f.js → app-ne8a842w.js} +17 -17
  233. package/dist/chunks/{wellknown-axsp18qw.js → app-nj5r991b.js} +26 -26
  234. package/dist/chunks/{wellknown-mrnef867.js → app-nph4d54v.js} +39 -39
  235. package/dist/chunks/{wellknown-esnd5w8j.js → app-nrtmt0gj.js} +5 -5
  236. package/dist/chunks/{wellknown-v2b374hr.js → app-p0xxsvd6.js} +3 -3
  237. package/dist/chunks/{wellknown-4nr30yve.js → app-p2drgvth.js} +12 -12
  238. package/dist/chunks/{wellknown-7qec28h5.js → app-p2kdnzg4.js} +29 -29
  239. package/dist/chunks/{wellknown-s3xmv40e.js → app-p4gcr8nw.js} +5 -5
  240. package/dist/chunks/{wellknown-n0z1eb53.js → app-p5p267kc.js} +11 -11
  241. package/dist/chunks/{wellknown-1yq9hg58.js → app-p7vhpwh8.js} +5 -5
  242. package/dist/chunks/{wellknown-xstwqhrk.js → app-p9jmt18g.js} +7 -7
  243. package/dist/chunks/{wellknown-pknna89w.js → app-pknna89w.js} +1 -1
  244. package/dist/chunks/{wellknown-31avdb49.js → app-pnwsrq7c.js} +8 -8
  245. package/dist/chunks/{wellknown-5zr5898h.js → app-pyb3ry4y.js} +19 -19
  246. package/dist/chunks/{wellknown-b1we0vk3.js → app-pz2pejex.js} +19 -19
  247. package/dist/chunks/{wellknown-smg32ne4.js → app-q2ttetpm.js} +18 -18
  248. package/dist/chunks/{wellknown-eab5a047.js → app-q3ny6jk5.js} +6 -6
  249. package/dist/chunks/{wellknown-qq8nxmq8.js → app-q5f7d3fm.js} +12 -12
  250. package/dist/chunks/{wellknown-tvwsaxa1.js → app-q92q9qkt.js} +11 -11
  251. package/dist/chunks/{wellknown-3nyx21qg.js → app-qdfsw3cb.js} +18 -18
  252. package/dist/chunks/{wellknown-qp7r0hxv.js → app-qp7r0hxv.js} +1 -1
  253. package/dist/chunks/{wellknown-dxbmx42z.js → app-qw5jrheg.js} +20 -20
  254. package/dist/chunks/{wellknown-evbwz3q2.js → app-qxn8bpmb.js} +20 -20
  255. package/dist/chunks/{wellknown-2ythy1tk.js → app-qzqtf0dx.js} +46 -46
  256. package/dist/chunks/{wellknown-qxqqmyjt.js → app-qzves1f7.js} +34 -34
  257. package/dist/chunks/{wellknown-m6mf4mcx.js → app-r4qydbep.js} +26 -26
  258. package/dist/chunks/{wellknown-h4wgh636.js → app-r9mbshw2.js} +11 -11
  259. package/dist/chunks/{wellknown-rb9dy4dg.js → app-rb9dy4dg.js} +1 -1
  260. package/dist/chunks/{wellknown-rgc9cx3e.js → app-rgc9cx3e.js} +2 -2
  261. package/dist/chunks/{wellknown-yam2w8sh.js → app-rrq7gnh6.js} +6 -6
  262. package/dist/chunks/{wellknown-9c9j4pyj.js → app-rxmw0rhb.js} +11 -11
  263. package/dist/chunks/{wellknown-cbs8fcwx.js → app-rxs3qrpt.js} +15 -15
  264. package/dist/chunks/{wellknown-r9k0m1fx.js → app-ry7kp2db.js} +7 -7
  265. package/dist/chunks/{wellknown-2p60zmnr.js → app-s1ba0vj0.js} +2 -2
  266. package/dist/chunks/{wellknown-s47rahr7.js → app-s47rahr7.js} +1 -1
  267. package/dist/chunks/{wellknown-fk6pt02a.js → app-s59y84bq.js} +45 -45
  268. package/dist/chunks/app-s6jc137z.js +26 -0
  269. package/dist/chunks/{wellknown-sbya78hr.js → app-sbya78hr.js} +1 -1
  270. package/dist/chunks/{wellknown-ecm48gf7.js → app-scjtfsne.js} +17 -17
  271. package/dist/chunks/{wellknown-thdadhbn.js → app-scyr04et.js} +6 -6
  272. package/dist/chunks/{wellknown-g5ajqn12.js → app-sf9y72b7.js} +4 -4
  273. package/dist/chunks/{wellknown-t48ka35x.js → app-sgqk6vs3.js} +5 -5
  274. package/dist/chunks/{wellknown-h91vm5r2.js → app-spnp93qq.js} +9 -9
  275. package/dist/chunks/{wellknown-p3g3b7x5.js → app-sq4s6wq1.js} +4 -4
  276. package/dist/chunks/{wellknown-svcy3p9a.js → app-svcy3p9a.js} +1 -1
  277. package/dist/chunks/{wellknown-641q2q1z.js → app-swpvcscf.js} +28 -28
  278. package/dist/chunks/{wellknown-87bmqdkz.js → app-sz4fqy37.js} +15 -15
  279. package/dist/chunks/{wellknown-p33cc0wg.js → app-t4w6w4js.js} +23 -23
  280. package/dist/chunks/{wellknown-evjfqt55.js → app-t7pjcqa8.js} +16 -16
  281. package/dist/chunks/{wellknown-nhwrj81q.js → app-t7sb5m1s.js} +11 -11
  282. package/dist/chunks/{wellknown-6gkjea5y.js → app-t8r5bb2p.js} +13 -13
  283. package/dist/chunks/{wellknown-dr03sag8.js → app-tb2gxcqz.js} +34 -34
  284. package/dist/chunks/{wellknown-tbpn7jtk.js → app-tbpn7jtk.js} +1 -1
  285. package/dist/chunks/{wellknown-tczq8hjw.js → app-tczq8hjw.js} +1 -1
  286. package/dist/chunks/{wellknown-8cqsbq15.js → app-tecgr1kp.js} +39 -39
  287. package/dist/chunks/{wellknown-a8x8zk8z.js → app-ts0d6mba.js} +6 -6
  288. package/dist/chunks/{wellknown-tvtps2q9.js → app-tvtps2q9.js} +1 -1
  289. package/dist/chunks/{wellknown-twssxy5n.js → app-twssxy5n.js} +2 -2
  290. package/dist/chunks/{wellknown-e8r1tr1j.js → app-ty1zr4xr.js} +6 -6
  291. package/dist/chunks/{wellknown-5wsftw7f.js → app-v1cwgf66.js} +18 -18
  292. package/dist/chunks/{wellknown-cy1060tq.js → app-v1s9t994.js} +2 -2
  293. package/dist/chunks/{wellknown-v2r1d0zg.js → app-v2r1d0zg.js} +1 -1
  294. package/dist/chunks/{wellknown-652m3am9.js → app-v3mcgmqw.js} +25 -25
  295. package/dist/chunks/{wellknown-c6x0pbrm.js → app-vfkt388e.js} +17 -17
  296. package/dist/chunks/{wellknown-vjf35v1f.js → app-vjf35v1f.js} +1 -1
  297. package/dist/chunks/{wellknown-hs9f9bk4.js → app-vmpfg9q2.js} +29 -29
  298. package/dist/chunks/{wellknown-nr915jn7.js → app-vmqe41cb.js} +4 -4
  299. package/dist/chunks/{wellknown-c5zvymhv.js → app-vt2d6wap.js} +4 -4
  300. package/dist/chunks/{wellknown-8m9p3vgp.js → app-vtcf54kg.js} +5 -5
  301. package/dist/chunks/{wellknown-q5t45acw.js → app-vvxemm4r.js} +86 -86
  302. package/dist/chunks/{wellknown-79k544d0.js → app-vwcz1f45.js} +4 -4
  303. package/dist/chunks/{wellknown-hqyxx6vr.js → app-vwrdx2vs.js} +8 -8
  304. package/dist/chunks/{wellknown-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
  305. package/dist/chunks/{wellknown-wakvkjy4.js → app-wakvkjy4.js} +1 -1
  306. package/dist/chunks/{wellknown-qmv579w2.js → app-wc0dmynm.js} +31 -31
  307. package/dist/chunks/{wellknown-wd87259q.js → app-wd87259q.js} +1 -1
  308. package/dist/chunks/{wellknown-wegkxhrn.js → app-wegkxhrn.js} +2 -2
  309. package/dist/chunks/{wellknown-1ysk8pqb.js → app-wfjv00zy.js} +18 -18
  310. package/dist/chunks/{wellknown-w1zsvdr8.js → app-whx5scm4.js} +25 -25
  311. package/dist/chunks/{wellknown-m3dnz9m4.js → app-wkd5q91e.js} +28 -28
  312. package/dist/chunks/{wellknown-pyzh8wbn.js → app-wr3twpzt.js} +8 -8
  313. package/dist/chunks/{wellknown-1n2mm7tv.js → app-wram022v.js} +10 -10
  314. package/dist/chunks/{wellknown-e4rmxmhs.js → app-wxf0m30v.js} +4 -4
  315. package/dist/chunks/{wellknown-jrkc3ds1.js → app-wyrr125q.js} +6 -6
  316. package/dist/chunks/app-x0z521r5.js +273 -0
  317. package/dist/chunks/{wellknown-ef01k0v5.js → app-x1t3ngbp.js} +6 -6
  318. package/dist/chunks/{wellknown-rkrs0bvn.js → app-x4yka9zb.js} +37 -37
  319. package/dist/chunks/{wellknown-d5mm1dvd.js → app-x531zjeb.js} +7 -7
  320. package/dist/chunks/{wellknown-67ehfp3r.js → app-x7dcyyf2.js} +32 -32
  321. package/dist/chunks/{wellknown-j1zpf99x.js → app-xacrkbdt.js} +7 -7
  322. package/dist/chunks/{wellknown-1b0p7szg.js → app-xdykxqmp.js} +3 -3
  323. package/dist/chunks/{wellknown-rk91jcqn.js → app-xged5h17.js} +23 -23
  324. package/dist/chunks/{wellknown-g7qdwrsk.js → app-xhb877y8.js} +10 -10
  325. package/dist/chunks/{wellknown-xvn8mnch.js → app-xvn8mnch.js} +1 -1
  326. package/dist/chunks/{wellknown-xxschbft.js → app-xxschbft.js} +1 -1
  327. package/dist/chunks/{wellknown-strcadht.js → app-xy5vs88s.js} +26 -26
  328. package/dist/chunks/{wellknown-kyz53xa4.js → app-y0tsycvm.js} +15 -15
  329. package/dist/chunks/{wellknown-8bcc8xgx.js → app-y1n277rb.js} +3 -3
  330. package/dist/chunks/{wellknown-0bbygp07.js → app-y3k9rb30.js} +11 -11
  331. package/dist/chunks/{wellknown-jcdena8z.js → app-y4avew00.js} +12 -12
  332. package/dist/chunks/{wellknown-ra8fnavv.js → app-y5nh6eq3.js} +30 -30
  333. package/dist/chunks/{wellknown-w91xtpfr.js → app-y6y1f5y8.js} +15 -15
  334. package/dist/chunks/{wellknown-kccz2vv3.js → app-yapbp2nt.js} +21 -21
  335. package/dist/chunks/{wellknown-yb20nhc3.js → app-yb20nhc3.js} +1 -1
  336. package/dist/chunks/{wellknown-1v2g13eq.js → app-ybws1qgk.js} +4 -4
  337. package/dist/chunks/{wellknown-etnnmb6a.js → app-yevqcd6b.js} +15 -15
  338. package/dist/chunks/{wellknown-tdmbv00j.js → app-ykkand29.js} +12 -12
  339. package/dist/chunks/{wellknown-43n69t78.js → app-ypnf90sc.js} +6 -6
  340. package/dist/chunks/{wellknown-ayxe58k5.js → app-ypp6b42m.js} +23 -23
  341. package/dist/chunks/{wellknown-5k31ttt8.js → app-yr14tm90.js} +38 -38
  342. package/dist/chunks/{wellknown-9d854vd9.js → app-yr1ehhcm.js} +20 -20
  343. package/dist/chunks/{wellknown-yr705xyq.js → app-yr705xyq.js} +1 -1
  344. package/dist/chunks/{wellknown-yvtc2x31.js → app-yvtc2x31.js} +1 -1
  345. package/dist/chunks/{wellknown-w0v8te3a.js → app-yw7gp4zv.js} +9 -9
  346. package/dist/chunks/{wellknown-mnyhyg0k.js → app-yxf2d4xa.js} +7 -7
  347. package/dist/chunks/{wellknown-z0wbgq7s.js → app-z0wbgq7s.js} +1 -1
  348. package/dist/chunks/{wellknown-23thvp2q.js → app-z33m6dhf.js} +20 -20
  349. package/dist/chunks/{wellknown-rzcftq1z.js → app-z8xv73cs.js} +56 -56
  350. package/dist/chunks/{wellknown-ze75qvmd.js → app-ze75qvmd.js} +3 -3
  351. package/dist/chunks/app-zkbhzvnx.js +16 -0
  352. package/dist/chunks/{wellknown-ds6fnft9.js → app-zrjrnxz2.js} +3 -3
  353. package/dist/codemode/catalog.js +1 -1
  354. package/dist/codemode/execution.js +5 -5
  355. package/dist/codemode/fetch.js +150 -150
  356. package/dist/codemode/instructions.js +8 -8
  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 +5 -5
  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 +131 -131
  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 +128 -128
  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 +134 -134
  389. package/dist/console-access.js +1 -1
  390. package/dist/credential/sql.js +2 -2
  391. package/dist/credential.js +92 -92
  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 +98 -98
  475. package/dist/effect/app-node-builder.js +446 -446
  476. package/dist/effect/app-node-platform.js +2 -2
  477. package/dist/effect/keyed-mutex.js +1 -1
  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 +258 -258
  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 +9 -9
  504. package/dist/filesystem.js +116 -116
  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 +121 -121
  510. package/dist/git.js +11 -11
  511. package/dist/github-copilot/models.js +105 -105
  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 +3 -3
  518. package/dist/instance.js +439 -439
  519. package/dist/instruction-discovery.js +92 -92
  520. package/dist/instructions/builtins.js +101 -101
  521. package/dist/instructions/index.js +4 -4
  522. package/dist/integration/connection.js +1 -1
  523. package/dist/integration.js +98 -98
  524. package/dist/job/list.js +7 -7
  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 +188 -188
  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 +94 -94
  535. package/dist/managed-policy.js +3 -3
  536. package/dist/mcp/client.js +161 -161
  537. package/dist/mcp/connection.js +104 -104
  538. package/dist/mcp/event-errors.js +1 -1
  539. package/dist/mcp/index.js +149 -149
  540. package/dist/mcp/instructions.js +188 -188
  541. package/dist/mcp/oauth.js +90 -90
  542. package/dist/mcp/pool.js +110 -110
  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 +105 -105
  547. package/dist/model-resolver.js +111 -111
  548. package/dist/model-retry.js +1 -1
  549. package/dist/model.js +114 -114
  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 +91 -91
  555. package/dist/permission/sql.js +5 -5
  556. package/dist/permission.js +158 -158
  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 +91 -91
  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 +3 -3
  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 +2 -2
  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 +149 -149
  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 +3 -3
  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 +135 -135
  632. package/dist/plugin/provider/opencode-watches.js +4 -4
  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 +144 -144
  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 +99 -99
  654. package/dist/plugin/verbosity.js +107 -107
  655. package/dist/plugin/warming.js +131 -131
  656. package/dist/plugin/websearch/exa.js +6 -6
  657. package/dist/plugin/websearch/firecrawl.js +7 -7
  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 +7 -7
  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 +256 -256
  665. package/dist/project/icon.js +5 -5
  666. package/dist/project/schema.js +2 -2
  667. package/dist/project/sql.js +4 -4
  668. package/dist/project.js +93 -93
  669. package/dist/provider.js +111 -111
  670. package/dist/pty/protocol.js +1 -1
  671. package/dist/pty/ticket.js +1 -1
  672. package/dist/pty.js +111 -111
  673. package/dist/reference/instructions.js +102 -102
  674. package/dist/reference.js +101 -101
  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 +264 -264
  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 +135 -135
  687. package/dist/session/command.js +85 -85
  688. package/dist/session/compaction.js +177 -177
  689. package/dist/session/context.js +208 -208
  690. package/dist/session/diff.js +101 -101
  691. package/dist/session/environment.js +3 -3
  692. package/dist/session/error.js +5 -5
  693. package/dist/session/event.js +1 -1
  694. package/dist/session/execution/restart.js +271 -271
  695. package/dist/session/execution/subagent-report.js +147 -147
  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 +150 -150
  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 +142 -142
  704. package/dist/session/message-updater.js +2 -2
  705. package/dist/session/message.js +1 -1
  706. package/dist/session/model-request.js +171 -171
  707. package/dist/session/model-transport.js +7 -7
  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 +3 -3
  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 +3 -3
  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 +253 -253
  736. package/dist/session/usage.js +1 -1
  737. package/dist/session.js +249 -249
  738. package/dist/shared-cache.js +3 -3
  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 +147 -147
  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 +104 -104
  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 +187 -187
  752. package/dist/tool/plugin/artifact.js +246 -246
  753. package/dist/tool/plugin/edit.js +170 -170
  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 +257 -257
  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 +171 -171
  762. package/dist/tool/plugin/question.js +149 -149
  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 +249 -249
  766. package/dist/tool/plugin/skill.js +160 -160
  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 +171 -171
  772. package/dist/tool/read-filesystem.js +116 -116
  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 +163 -163
  777. package/dist/usage-limits.js +92 -92
  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 +105 -105
  795. package/dist/vcs/patch.js +1 -1
  796. package/dist/vcs.js +100 -100
  797. package/dist/voice.js +101 -101
  798. package/dist/websearch.js +89 -89
  799. package/dist/wellknown/plugin.js +85 -85
  800. package/dist/wellknown.js +92 -92
  801. package/dist/workspace/driver.js +5 -5
  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 +11 -11
  806. package/dist/worktree/sql.js +5 -5
  807. package/dist/worktree/strategies.js +102 -102
  808. package/dist/worktree.js +113 -113
  809. package/package.json +9 -9
  810. package/dist/chunks/wellknown-2jjfs7g5.js +0 -16
  811. package/dist/chunks/wellknown-3qx6b3ma.js +0 -273
  812. package/dist/chunks/wellknown-6zjm2phc.js +0 -18
  813. package/dist/chunks/wellknown-d2q2a2xy.js +0 -26
  814. package/dist/chunks/wellknown-kaa67y14.js +0 -35
  815. /package/dist/chunks/{wellknown-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
  816. /package/dist/chunks/{wellknown-0zkw76rk.js → app-0zkw76rk.js} +0 -0
  817. /package/dist/chunks/{wellknown-17cy0kzp.js → app-17cy0kzp.js} +0 -0
  818. /package/dist/chunks/{wellknown-1cnp2v09.js → app-1cnp2v09.js} +0 -0
  819. /package/dist/chunks/{wellknown-1kah00gy.js → app-1kah00gy.js} +0 -0
  820. /package/dist/chunks/{wellknown-24dcb14g.js → app-24dcb14g.js} +0 -0
  821. /package/dist/chunks/{wellknown-2710q6r3.js → app-2710q6r3.js} +0 -0
  822. /package/dist/chunks/{wellknown-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
  823. /package/dist/chunks/{wellknown-359p4xyc.js → app-359p4xyc.js} +0 -0
  824. /package/dist/chunks/{wellknown-3v8g72cx.js → app-3v8g72cx.js} +0 -0
  825. /package/dist/chunks/{wellknown-43n2bw4t.js → app-43n2bw4t.js} +0 -0
  826. /package/dist/chunks/{wellknown-4knz6hnm.js → app-4knz6hnm.js} +0 -0
  827. /package/dist/chunks/{wellknown-4qk9sjk2.js → app-4qk9sjk2.js} +0 -0
  828. /package/dist/chunks/{wellknown-53557ph1.js → app-53557ph1.js} +0 -0
  829. /package/dist/chunks/{wellknown-5w3e23ze.js → app-5w3e23ze.js} +0 -0
  830. /package/dist/chunks/{wellknown-6agm2x70.js → app-6agm2x70.js} +0 -0
  831. /package/dist/chunks/{wellknown-6prwharc.js → app-6prwharc.js} +0 -0
  832. /package/dist/chunks/{wellknown-6q2bdcd1.js → app-6q2bdcd1.js} +0 -0
  833. /package/dist/chunks/{wellknown-7akdwqpd.js → app-7akdwqpd.js} +0 -0
  834. /package/dist/chunks/{wellknown-7m9af43g.js → app-7m9af43g.js} +0 -0
  835. /package/dist/chunks/{wellknown-7rvsyqjv.js → app-7rvsyqjv.js} +0 -0
  836. /package/dist/chunks/{wellknown-822emrt2.js → app-822emrt2.js} +0 -0
  837. /package/dist/chunks/{wellknown-84wd9syh.js → app-84wd9syh.js} +0 -0
  838. /package/dist/chunks/{wellknown-88xbtdfr.js → app-88xbtdfr.js} +0 -0
  839. /package/dist/chunks/{wellknown-8n3pysct.js → app-8n3pysct.js} +0 -0
  840. /package/dist/chunks/{wellknown-8wj87zfr.js → app-8wj87zfr.js} +0 -0
  841. /package/dist/chunks/{wellknown-9a4afbnw.js → app-9a4afbnw.js} +0 -0
  842. /package/dist/chunks/{wellknown-9ceax7yg.js → app-9ceax7yg.js} +0 -0
  843. /package/dist/chunks/{wellknown-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
  844. /package/dist/chunks/{wellknown-ade8csyh.js → app-ade8csyh.js} +0 -0
  845. /package/dist/chunks/{wellknown-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
  846. /package/dist/chunks/{wellknown-atq7p7m5.js → app-atq7p7m5.js} +0 -0
  847. /package/dist/chunks/{wellknown-beh6qq61.js → app-beh6qq61.js} +0 -0
  848. /package/dist/chunks/{wellknown-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
  849. /package/dist/chunks/{wellknown-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
  850. /package/dist/chunks/{wellknown-cf4snx6d.js → app-cf4snx6d.js} +0 -0
  851. /package/dist/chunks/{wellknown-cqv5kn06.js → app-cqv5kn06.js} +0 -0
  852. /package/dist/chunks/{wellknown-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
  853. /package/dist/chunks/{wellknown-d9fn303g.js → app-d9fn303g.js} +0 -0
  854. /package/dist/chunks/{wellknown-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
  855. /package/dist/chunks/{wellknown-df08tz66.js → app-df08tz66.js} +0 -0
  856. /package/dist/chunks/{wellknown-dy18nga0.js → app-dy18nga0.js} +0 -0
  857. /package/dist/chunks/{wellknown-e5kj55wp.js → app-e5kj55wp.js} +0 -0
  858. /package/dist/chunks/{wellknown-ean2d8b5.js → app-ean2d8b5.js} +0 -0
  859. /package/dist/chunks/{wellknown-ec1grn59.js → app-ec1grn59.js} +0 -0
  860. /package/dist/chunks/{wellknown-emrn6kk6.js → app-emrn6kk6.js} +0 -0
  861. /package/dist/chunks/{wellknown-f0mxakyp.js → app-f0mxakyp.js} +0 -0
  862. /package/dist/chunks/{wellknown-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
  863. /package/dist/chunks/{wellknown-faypxj3z.js → app-faypxj3z.js} +0 -0
  864. /package/dist/chunks/{wellknown-fd410y7t.js → app-fd410y7t.js} +0 -0
  865. /package/dist/chunks/{wellknown-fkpq3x5p.js → app-fkpq3x5p.js} +0 -0
  866. /package/dist/chunks/{wellknown-g86h250q.js → app-g86h250q.js} +0 -0
  867. /package/dist/chunks/{wellknown-gebd4c9n.js → app-gebd4c9n.js} +0 -0
  868. /package/dist/chunks/{wellknown-gftt206x.js → app-gftt206x.js} +0 -0
  869. /package/dist/chunks/{wellknown-hcxmzztb.js → app-hcxmzztb.js} +0 -0
  870. /package/dist/chunks/{wellknown-hk9envan.js → app-hk9envan.js} +0 -0
  871. /package/dist/chunks/{wellknown-j2ntwpah.js → app-j2ntwpah.js} +0 -0
  872. /package/dist/chunks/{wellknown-jjkms2e6.js → app-jjkms2e6.js} +0 -0
  873. /package/dist/chunks/{wellknown-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
  874. /package/dist/chunks/{wellknown-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
  875. /package/dist/chunks/{wellknown-jwr30sdr.js → app-jwr30sdr.js} +0 -0
  876. /package/dist/chunks/{wellknown-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
  877. /package/dist/chunks/{wellknown-m18g726c.js → app-m18g726c.js} +0 -0
  878. /package/dist/chunks/{wellknown-mp448xyj.js → app-mp448xyj.js} +0 -0
  879. /package/dist/chunks/{wellknown-msx8hqn2.js → app-msx8hqn2.js} +0 -0
  880. /package/dist/chunks/{wellknown-n05xt0ee.js → app-n05xt0ee.js} +0 -0
  881. /package/dist/chunks/{wellknown-n3j8tn72.js → app-n3j8tn72.js} +0 -0
  882. /package/dist/chunks/{wellknown-nh4v3znn.js → app-nh4v3znn.js} +0 -0
  883. /package/dist/chunks/{wellknown-njntx4h6.js → app-njntx4h6.js} +0 -0
  884. /package/dist/chunks/{wellknown-p71gwv9c.js → app-p71gwv9c.js} +0 -0
  885. /package/dist/chunks/{wellknown-q3sfg36h.js → app-q3sfg36h.js} +0 -0
  886. /package/dist/chunks/{wellknown-q74kybfr.js → app-q74kybfr.js} +0 -0
  887. /package/dist/chunks/{wellknown-qb87gjwd.js → app-qb87gjwd.js} +0 -0
  888. /package/dist/chunks/{wellknown-qfa1cgps.js → app-qfa1cgps.js} +0 -0
  889. /package/dist/chunks/{wellknown-qg3g05ea.js → app-qg3g05ea.js} +0 -0
  890. /package/dist/chunks/{wellknown-qrg20bc0.js → app-qrg20bc0.js} +0 -0
  891. /package/dist/chunks/{wellknown-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
  892. /package/dist/chunks/{wellknown-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
  893. /package/dist/chunks/{wellknown-ssg3fenm.js → app-ssg3fenm.js} +0 -0
  894. /package/dist/chunks/{wellknown-syrav9an.js → app-syrav9an.js} +0 -0
  895. /package/dist/chunks/{wellknown-t03h4f5z.js → app-t03h4f5z.js} +0 -0
  896. /package/dist/chunks/{wellknown-ty7weeps.js → app-ty7weeps.js} +0 -0
  897. /package/dist/chunks/{wellknown-v2dnd5dt.js → app-v2dnd5dt.js} +0 -0
  898. /package/dist/chunks/{wellknown-ve7vex1e.js → app-ve7vex1e.js} +0 -0
  899. /package/dist/chunks/{wellknown-vtarvj67.js → app-vtarvj67.js} +0 -0
  900. /package/dist/chunks/{wellknown-w803qqfp.js → app-w803qqfp.js} +0 -0
  901. /package/dist/chunks/{wellknown-wc3fc9cn.js → app-wc3fc9cn.js} +0 -0
  902. /package/dist/chunks/{wellknown-wer8tq1h.js → app-wer8tq1h.js} +0 -0
  903. /package/dist/chunks/{wellknown-wtztk69x.js → app-wtztk69x.js} +0 -0
  904. /package/dist/chunks/{wellknown-x4th4bpe.js → app-x4th4bpe.js} +0 -0
  905. /package/dist/chunks/{wellknown-y44na4kk.js → app-y44na4kk.js} +0 -0
  906. /package/dist/chunks/{wellknown-y8f7s663.js → app-y8f7s663.js} +0 -0
  907. /package/dist/chunks/{wellknown-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
  908. /package/dist/chunks/{wellknown-z5v4ffb3.js → app-z5v4ffb3.js} +0 -0
  909. /package/dist/chunks/{wellknown-z9919s4g.js → app-z9919s4g.js} +0 -0
  910. /package/dist/chunks/{wellknown-zxpyjp51.js → app-zxpyjp51.js} +0 -0
  911. /package/dist/chunks/{wellknown-zz5vv3aq.js → app-zz5vv3aq.js} +0 -0
@@ -1,35 +1,35 @@
1
1
  import {
2
2
  requestExecutor2,
3
3
  llmClient2
4
- } from "./wellknown-0ma9gw4f.js";
4
+ } from "./app-0ma9gw4f.js";
5
5
  import {
6
- Service79,
7
- node81
8
- } from "./wellknown-mtmh24f8.js";
6
+ Service83,
7
+ node85
8
+ } from "./app-bp29v7tn.js";
9
9
  import {
10
- Service62,
11
- node63
12
- } from "./wellknown-evvjvga6.js";
10
+ Service74,
11
+ node76
12
+ } from "./app-cvdkrx6f.js";
13
13
  import {
14
14
  retryOneShot2
15
- } from "./wellknown-2fc7eemy.js";
15
+ } from "./app-2fc7eemy.js";
16
16
  import {
17
17
  __export
18
- } from "./wellknown-9rqn6x4v.js";
18
+ } from "./app-9rqn6x4v.js";
19
19
 
20
20
  // src/generate.ts
21
21
  var exports_generate = {};
22
22
  __export(exports_generate, {
23
23
  Generate: () => exports_generate,
24
- InvalidRequestError: () => InvalidRequestError2,
24
+ InvalidRequestError: () => InvalidRequestError3,
25
25
  ModelNotFoundError: () => ModelNotFoundError2,
26
26
  ProviderFailure: () => ProviderFailure2,
27
27
  ProviderRequestError: () => ProviderRequestError2,
28
- Service: () => Service19,
29
- UnavailableError: () => UnavailableError3,
28
+ Service: () => Service26,
29
+ UnavailableError: () => UnavailableError4,
30
30
  UnsupportedModelError: () => UnsupportedModelError2,
31
- layer: () => layer11,
32
- node: () => node22
31
+ layer: () => layer13,
32
+ node: () => node29
33
33
  });
34
34
  import { ai, DecisionClient, ImageClient, LLMClient, Media } from "@opencode/ai/effect";
35
35
  import { Money } from "@opencode/schema/money";
@@ -37,7 +37,7 @@ import { SessionID } from "@opencode/schema/session-id";
37
37
  import { Context, Effect, Layer, Schema } from "effect";
38
38
  import { RequestExecutor } from "@opencode/ai/route";
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
- class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
40
+ class UnavailableError4 extends Schema.TaggedError()("Generate.UnavailableError", {
41
41
  message: Schema.String,
42
42
  service: Schema.optional(Schema.String)
43
43
  }) {
@@ -58,7 +58,7 @@ class UnsupportedModelError2 extends Schema.TaggedError()("Generate.UnsupportedM
58
58
  }) {
59
59
  }
60
60
 
61
- class InvalidRequestError2 extends Schema.TaggedError()("Generate.InvalidRequestError", {
61
+ class InvalidRequestError3 extends Schema.TaggedError()("Generate.InvalidRequestError", {
62
62
  message: Schema.String,
63
63
  field: Schema.optional(Schema.String)
64
64
  }) {
@@ -81,12 +81,12 @@ class ProviderRequestError2 extends Schema.TaggedError()("Generate.ProviderReque
81
81
  }) {
82
82
  }
83
83
 
84
- class Service19 extends Context.Service()("@opencode/Generate") {
84
+ class Service26 extends Context.Service()("@opencode/Generate") {
85
85
  }
86
- var layer11 = Layer.effect(Service19, Effect.gen(function* () {
86
+ var layer13 = Layer.effect(Service26, Effect.gen(function* () {
87
87
  const llm = yield* LLMClient.Service;
88
- const resolver = yield* Service62;
89
- const models = yield* Service79;
88
+ const resolver = yield* Service74;
89
+ const models = yield* Service83;
90
90
  const executor = yield* RequestExecutor.Service;
91
91
  const images = yield* ImageClient.Service;
92
92
  const decisionClient = yield* DecisionClient.Service;
@@ -98,11 +98,11 @@ var layer11 = Layer.effect(Service19, Effect.gen(function* () {
98
98
  "SessionRunnerModel.ModelInitializationError",
99
99
  "SessionRunnerModel.UnresolvedProviderVariablesError",
100
100
  "SessionRunnerModel.UnsupportedCompactionError"
101
- ], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new UnavailableError3({ message: error.message, service: error.providerID }))));
101
+ ], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new UnavailableError4({ message: error.message, service: error.providerID }))));
102
102
  if (!resolved && input.model)
103
103
  return yield* missing(input.model, "chat");
104
104
  if (!resolved)
105
- return yield* new UnavailableError3({ message: "No model specified and no supported model is available" });
105
+ return yield* new UnavailableError4({ message: "No model specified and no supported model is available" });
106
106
  const response = yield* llm.generate(ai.request({
107
107
  model: resolved.model,
108
108
  prompt: input.prompt,
@@ -162,8 +162,8 @@ var layer11 = Layer.effect(Service19, Effect.gen(function* () {
162
162
  ...response.providerMetadata ? { native: plainJson(response.providerMetadata) } : {}
163
163
  };
164
164
  });
165
- const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({ message: "Generation credentials are unavailable" })));
166
- return Service19.of({
165
+ const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError4({ message: "Generation credentials are unavailable" })));
166
+ return Service26.of({
167
167
  text: (input) => credentials(runText(input)),
168
168
  image: (input) => credentials(image(input)),
169
169
  decisions: (input) => credentials(decisions(input))
@@ -176,7 +176,7 @@ function resolutionError(ref, type, error) {
176
176
  if (error._tag === "Integration.Authorization")
177
177
  return error;
178
178
  if (error._tag === "SessionRunnerModel.VariantUnavailableError")
179
- return new InvalidRequestError2({ message: error.message, field: "model.variant" });
179
+ return new InvalidRequestError3({ message: error.message, field: "model.variant" });
180
180
  if (error._tag === "SessionRunnerModel.UnsupportedPackageError")
181
181
  return new UnsupportedModelError2({
182
182
  providerID: ref.providerID,
@@ -184,14 +184,14 @@ function resolutionError(ref, type, error) {
184
184
  capability: type,
185
185
  message: `${ref.providerID}/${ref.id} has no ${type} API opencode can call (package ${error.package})`
186
186
  });
187
- return new InvalidRequestError2({ message: error.message, field: "model" });
187
+ return new InvalidRequestError3({ message: error.message, field: "model" });
188
188
  }
189
189
  function providerError(ref, error) {
190
190
  const reason = error.reason;
191
191
  if (reason._tag === "InvalidRequest" && reason.http === undefined)
192
- return new InvalidRequestError2({ message: reason.message });
192
+ return new InvalidRequestError3({ message: reason.message });
193
193
  if (reason._tag === "UnsupportedOperation")
194
- return new InvalidRequestError2({ message: reason.message });
194
+ return new InvalidRequestError3({ message: reason.message });
195
195
  const status = "http" in reason ? reason.http?.status : undefined;
196
196
  const retryAfterMs = "retryAfterMs" in reason ? reason.retryAfterMs : undefined;
197
197
  return new ProviderRequestError2({
@@ -215,10 +215,10 @@ function failureReason(tag, status) {
215
215
  return "overloaded";
216
216
  return "provider";
217
217
  }
218
- var node22 = makeLocationNode({
219
- service: Service19,
220
- layer: layer11,
221
- deps: [node63, node81, llmClient2, requestExecutor2]
218
+ var node29 = makeLocationNode({
219
+ service: Service26,
220
+ layer: layer13,
221
+ deps: [node76, node85, llmClient2, requestExecutor2]
222
222
  });
223
223
 
224
- export { UnavailableError3, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError2, ProviderFailure2, ProviderRequestError2, Service19, layer11, node22, exports_generate };
224
+ export { UnavailableError4, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError3, ProviderFailure2, ProviderRequestError2, Service26, layer13, node29, exports_generate };
@@ -1,53 +1,53 @@
1
1
  import {
2
2
  toolFailure2
3
- } from "./wellknown-7rvsyqjv.js";
3
+ } from "./app-7rvsyqjv.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./wellknown-z5v4ffb3.js";
6
+ } from "./app-z5v4ffb3.js";
7
7
  import {
8
8
  Service90
9
- } from "./wellknown-cy1060tq.js";
9
+ } from "./app-v1s9t994.js";
10
10
  import {
11
- Service74
12
- } from "./wellknown-prxmvqz6.js";
11
+ Service68
12
+ } from "./app-00jjfnj7.js";
13
13
  import {
14
- Service64
15
- } from "./wellknown-3nyx21qg.js";
14
+ Service67
15
+ } from "./app-qdfsw3cb.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  GlobInput2,
19
19
  Entry2
20
- } from "./wellknown-1cyffnvs.js";
20
+ } from "./app-7szx5t17.js";
21
21
  import {
22
22
  pathType2,
23
23
  bounded2
24
- } from "./wellknown-aq2e9c4r.js";
24
+ } from "./app-4zc7x669.js";
25
25
  import {
26
26
  invocation2,
27
- Service68
28
- } from "./wellknown-0w7t4ved.js";
27
+ Service60
28
+ } from "./app-m5x27r8g.js";
29
29
  import {
30
- Service67
31
- } from "./wellknown-7tftgcmj.js";
30
+ Service17
31
+ } from "./app-mft8r9dx.js";
32
32
  import {
33
33
  __export
34
- } from "./wellknown-9rqn6x4v.js";
34
+ } from "./app-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/glob.ts
37
37
  var exports_glob = {};
38
38
  __export(exports_glob, {
39
39
  GlobTool: () => exports_glob,
40
- Input: () => Input4,
41
- Output: () => Output2,
42
- Plugin: () => Plugin40,
43
- name: () => name4,
44
- toModelContent: () => toModelContent3
40
+ Input: () => Input9,
41
+ Output: () => Output7,
42
+ Plugin: () => Plugin47,
43
+ name: () => name9,
44
+ toModelContent: () => toModelContent4
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai/effect";
47
47
  import { Effect, Schema } from "effect";
48
48
  import path from "path";
49
- var name4 = "glob";
50
- var Input4 = Schema.Struct({
49
+ var name9 = "glob";
50
+ var Input9 = Schema.Struct({
51
51
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
52
52
  path: Schema.optionalKey(RelativePath2).annotate({
53
53
  description: "Directory to search. Defaults to the current working directory."
@@ -59,34 +59,34 @@ var Input4 = Schema.Struct({
59
59
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
60
60
  })
61
61
  });
62
- var Output2 = Schema.Array(Entry2);
63
- var toModelContent3 = (entries, truncated = false) => {
62
+ var Output7 = Schema.Array(Entry2);
63
+ var toModelContent4 = (entries, truncated = false) => {
64
64
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
65
65
  if (truncated)
66
66
  lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
67
67
  return lines.join(`
68
68
  `);
69
69
  };
70
- var Plugin40 = {
70
+ var Plugin47 = {
71
71
  id: "opencode.tool.glob",
72
72
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
73
- const environment = yield* Service74;
74
- const ripgrep = yield* Service64;
73
+ const environment = yield* Service68;
74
+ const ripgrep = yield* Service67;
75
75
  const location = yield* Service90;
76
- const access = yield* Service67;
77
- const permission = yield* Service68;
76
+ const access = yield* Service17;
77
+ const permission = yield* Service60;
78
78
  yield* ctx.tool.transform((editor) => editor.add({
79
- name: name4,
79
+ name: name9,
80
80
  options: { codemode: false },
81
81
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
82
- input: Input4,
83
- output: Output2,
82
+ input: Input9,
83
+ output: Output7,
84
84
  execute: (input, context) => Effect.gen(function* () {
85
85
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
86
86
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
87
87
  yield* access.authorizeExternal([target], context);
88
88
  yield* permission.assert({
89
- action: name4,
89
+ action: name9,
90
90
  resources: [input.pattern],
91
91
  save: ["*"],
92
92
  metadata: {
@@ -111,11 +111,11 @@ var Plugin40 = {
111
111
  };
112
112
  }).pipe(Effect.map((result) => ({
113
113
  output: result.entries,
114
- content: toModelContent3(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
114
+ content: toModelContent4(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
115
115
  metadata: { count: result.entries.length, truncated: result.truncated }
116
116
  })), Effect.mapError(toolFailure2(`Unable to find files matching ${input.pattern}`)))
117
117
  })).pipe(Effect.orDie);
118
118
  })
119
119
  };
120
120
 
121
- export { name4, Input4, Output2, toModelContent3, Plugin40, exports_glob };
121
+ export { name9, Input9, Output7, toModelContent4, Plugin47, exports_glob };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  aisdk2
3
- } from "./wellknown-m90tx7mw.js";
3
+ } from "./app-m90tx7mw.js";
4
4
  import {
5
- Service79
6
- } from "./wellknown-mtmh24f8.js";
5
+ Service83
6
+ } from "./app-bp29v7tn.js";
7
7
  import {
8
8
  __export
9
- } from "./wellknown-9rqn6x4v.js";
9
+ } from "./app-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/verbosity.ts
12
12
  var exports_verbosity = {};
13
13
  __export(exports_verbosity, {
14
- Plugin: () => Plugin35,
14
+ Plugin: () => Plugin21,
15
15
  VerbosityPlugin: () => exports_verbosity
16
16
  });
17
17
  import { define } from "@opencode/plugin/effect/plugin";
@@ -27,10 +27,10 @@ var gateways = new Set([
27
27
  "@opencode/ai/providers/vercel-ai-gateway",
28
28
  aisdk2("@ai-sdk/gateway")
29
29
  ]);
30
- var Plugin35 = define({
30
+ var Plugin21 = define({
31
31
  id: "opencode.prompt.verbosity",
32
32
  effect: Effect.fn("VerbosityPlugin")(function* (ctx) {
33
- const models = yield* Service79;
33
+ const models = yield* Service83;
34
34
  const hook = (event) => Effect.gen(function* () {
35
35
  if (event.options.textVerbosity !== undefined)
36
36
  return;
@@ -70,4 +70,4 @@ function openAIModelID(model) {
70
70
  return id.slice("openai/".length);
71
71
  }
72
72
 
73
- export { Plugin35, exports_verbosity };
73
+ export { Plugin21, exports_verbosity };
@@ -1,60 +1,60 @@
1
1
  import {
2
- Service71
3
- } from "./wellknown-5zr5898h.js";
2
+ Service63
3
+ } from "./app-pyb3ry4y.js";
4
4
  import {
5
5
  Ref3,
6
- Service79
7
- } from "./wellknown-mtmh24f8.js";
6
+ Service83
7
+ } from "./app-bp29v7tn.js";
8
8
  import {
9
9
  latest2,
10
- Service77
11
- } from "./wellknown-9ch8vfxj.js";
10
+ Service78
11
+ } from "./app-3y9syvn4.js";
12
12
  import {
13
13
  SessionSchema2
14
- } from "./wellknown-v37bc009.js";
14
+ } from "./app-2n444ktb.js";
15
15
  import {
16
- Service48
17
- } from "./wellknown-ecm48gf7.js";
16
+ Service71
17
+ } from "./app-scjtfsne.js";
18
18
  import {
19
19
  invocation2,
20
20
  evaluate3,
21
- Service68
22
- } from "./wellknown-0w7t4ved.js";
21
+ Service60
22
+ } from "./app-m5x27r8g.js";
23
23
  import {
24
- Service24
25
- } from "./wellknown-q5t45acw.js";
24
+ Service28
25
+ } from "./app-vvxemm4r.js";
26
26
  import {
27
- Service12
28
- } from "./wellknown-5wsftw7f.js";
27
+ Service10
28
+ } from "./app-v1cwgf66.js";
29
29
  import {
30
30
  __export
31
- } from "./wellknown-9rqn6x4v.js";
31
+ } from "./app-9rqn6x4v.js";
32
32
 
33
33
  // src/tool/plugin/subagent.ts
34
34
  var exports_subagent = {};
35
35
  __export(exports_subagent, {
36
- Input: () => Input11,
37
- Output: () => Output7,
38
- Plugin: () => Plugin51,
36
+ Input: () => Input6,
37
+ Output: () => Output5,
38
+ Plugin: () => Plugin44,
39
39
  SubagentTool: () => exports_subagent,
40
- description: () => description7,
41
- name: () => name11
40
+ description: () => description5,
41
+ name: () => name6
42
42
  });
43
43
  import { ToolFailure } from "@opencode/ai/effect";
44
44
  import { Effect, Predicate, Schema } from "effect";
45
- var name11 = "subagent";
45
+ var name6 = "subagent";
46
46
  var backgroundResult = (sessionID) => ({
47
47
  sessionID,
48
48
  status: "running",
49
49
  output: [
50
50
  `The subagent is working in the background (sessionID: ${sessionID}). You will receive a <subagent> message when it goes idle, and again after each later round of work.`,
51
- "DO NOT sleep, poll for progress, ask the subagent for status, or duplicate this subagent's work; avoid working with the same files or topics it is using.",
51
+ "DO NOT sleep, poll, proactively check on its progress, or duplicate this subagent's work.",
52
52
  "Work on non-overlapping tasks, or briefly tell the user what you launched and end your response.",
53
53
  "To send it follow-ups or change its instructions while it runs, call subagent again with this sessionID."
54
54
  ].join(`
55
55
  `)
56
56
  });
57
- var Input11 = Schema.Struct({
57
+ var Input6 = Schema.Struct({
58
58
  agent: Schema.String.annotate({
59
59
  description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
60
60
  }),
@@ -67,29 +67,29 @@ var Input11 = Schema.Struct({
67
67
  description: "Send a follow-up to an existing subagent, running or finished. Omit to start a new one."
68
68
  })
69
69
  });
70
- var Output7 = Schema.Struct({
70
+ var Output5 = Schema.Struct({
71
71
  sessionID: SessionSchema2.ID,
72
72
  status: Schema.Literal("running"),
73
73
  output: Schema.String
74
74
  });
75
- var description7 = [
75
+ var description5 = [
76
76
  "Spawns an agent in a child session to work on the specified task.",
77
77
  "Subagents always run in the background: the call returns immediately with a sessionID, and you receive a `<subagent>` message each time the child goes idle, including after later work.",
78
- "Keep working on non-overlapping tasks, or briefly tell the user what you launched and end your response. Do not sleep, poll for progress, or ask the child for status.",
78
+ "Keep working on non-overlapping tasks, or briefly tell the user what you launched and end your response. Do not sleep, poll, or proactively check on the child's progress.",
79
79
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
80
80
  "Pass the returned sessionID to continue that specific child conversation. A follow-up to a running child joins its current run."
81
81
  ].join(`
82
82
  `);
83
- var Plugin51 = {
83
+ var Plugin44 = {
84
84
  id: "opencode.tool.subagent",
85
85
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
86
- const sessions = yield* Service24;
87
- const jobs = yield* Service48;
88
- const agents = yield* Service71;
89
- const config = yield* Service77;
90
- const permission = yield* Service68;
91
- const models = yield* Service79;
92
- const subagents = yield* Service12;
86
+ const sessions = yield* Service28;
87
+ const jobs = yield* Service71;
88
+ const agents = yield* Service63;
89
+ const config = yield* Service78;
90
+ const permission = yield* Service60;
91
+ const models = yield* Service83;
92
+ const subagents = yield* Service10;
93
93
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
94
94
  const ref = yield* Effect.try({
95
95
  try: () => Ref3.parse(input),
@@ -111,11 +111,11 @@ var Plugin51 = {
111
111
  return ref;
112
112
  });
113
113
  yield* ctx.tool.transform((editor) => editor.add({
114
- name: name11,
114
+ name: name6,
115
115
  options: { codemode: false },
116
- description: description7,
117
- input: Input11,
118
- output: Output7,
116
+ description: description5,
117
+ input: Input6,
118
+ output: Output5,
119
119
  execute: (input, context) => Effect.gen(function* () {
120
120
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
121
121
  let current = parent;
@@ -135,7 +135,7 @@ var Plugin51 = {
135
135
  if (agent.mode === "primary")
136
136
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
137
137
  yield* permission.assert({
138
- action: name11,
138
+ action: name6,
139
139
  resources: [agent.id],
140
140
  save: [agent.id],
141
141
  ...invocation2(context)
@@ -185,7 +185,7 @@ var Plugin51 = {
185
185
  })))
186
186
  })).pipe(Effect.orDie);
187
187
  yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
188
- if (event.tool !== name11 || !Predicate.isObject(event.input))
188
+ if (event.tool !== name6 || !Predicate.isObject(event.input))
189
189
  return;
190
190
  if (event.input.model !== "" && event.input.sessionID !== "")
191
191
  return;
@@ -197,13 +197,13 @@ var Plugin51 = {
197
197
  event.input = input;
198
198
  }));
199
199
  const hook = (event) => Effect.gen(function* () {
200
- const tool = event.tools[name11];
200
+ const tool = event.tools[name6];
201
201
  if (!tool)
202
202
  return;
203
203
  const selected = yield* agents.resolve(event.agent);
204
204
  if (!selected)
205
205
  return;
206
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(name11, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
206
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(name6, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
207
207
  if (available.length === 0)
208
208
  return;
209
209
  tool.description = [
@@ -220,4 +220,4 @@ var Plugin51 = {
220
220
  })
221
221
  };
222
222
 
223
- export { name11, Input11, Output7, description7, Plugin51, exports_subagent };
223
+ export { name6, Input6, Output5, description5, Plugin44, exports_subagent };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  create4
3
- } from "./wellknown-40y6dtc2.js";
3
+ } from "./app-40y6dtc2.js";
4
4
  import {
5
5
  match3
6
- } from "./wellknown-1aqsckx4.js";
6
+ } from "./app-1aqsckx4.js";
7
7
  import {
8
- Service72,
9
- node73
10
- } from "./wellknown-s5zrq09q.js";
8
+ Service64,
9
+ node65
10
+ } from "./app-1mk73hd7.js";
11
11
  import {
12
- Service68,
13
- node69
14
- } from "./wellknown-0w7t4ved.js";
12
+ Service60,
13
+ node61
14
+ } from "./app-m5x27r8g.js";
15
15
  import {
16
16
  definition2,
17
17
  execute3,
18
18
  normalizeContent2,
19
19
  normalizedName2,
20
20
  effectiveName2
21
- } from "./wellknown-7rvsyqjv.js";
21
+ } from "./app-7rvsyqjv.js";
22
22
  import {
23
23
  create3,
24
24
  catalog2,
25
25
  check2,
26
26
  qualifiedName2
27
- } from "./wellknown-vrhb1srk.js";
27
+ } from "./app-m86zqssn.js";
28
28
  import {
29
- Service54,
30
- node55
31
- } from "./wellknown-f2nzj6et.js";
29
+ Service59,
30
+ node60
31
+ } from "./app-gy24j455.js";
32
32
  import {
33
33
  __export
34
- } from "./wellknown-9rqn6x4v.js";
34
+ } from "./app-9rqn6x4v.js";
35
35
 
36
36
  // src/tool.ts
37
37
  var exports_tool = {};
@@ -41,10 +41,10 @@ __export(exports_tool, {
41
41
  Error: () => Error2,
42
42
  FileContent: () => FileContent3,
43
43
  RegistrationError: () => RegistrationError2,
44
- Service: () => Service39,
44
+ Service: () => Service56,
45
45
  TextContent: () => TextContent2,
46
46
  Tool: () => exports_tool,
47
- node: () => node42
47
+ node: () => node58
48
48
  });
49
49
  import { CallID as CallID2, Content as Content3, Error as Error2, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
50
50
  import { ToolDefinition } from "@opencode/ai/effect";
@@ -57,12 +57,12 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
57
57
  }) {
58
58
  }
59
59
 
60
- class Service39 extends Context.Service()("@opencode/Tool") {
60
+ class Service56 extends Context.Service()("@opencode/Tool") {
61
61
  }
62
- var layer = Layer.effect(Service39, Effect.gen(function* () {
63
- const hooks = yield* Service72;
64
- const image = yield* Service54;
65
- const permission = yield* Service68;
62
+ var layer = Layer.effect(Service56, Effect.gen(function* () {
63
+ const hooks = yield* Service64;
64
+ const image = yield* Service59;
65
+ const permission = yield* Service60;
66
66
  const normalizeImages = Effect.fnUntraced(function* (content) {
67
67
  const normalized = yield* Effect.forEach(content, (item) => {
68
68
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -190,7 +190,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
190
190
  }), { discard: true });
191
191
  }
192
192
  });
193
- return Service39.of({
193
+ return Service56.of({
194
194
  transform: state.transform,
195
195
  reload: state.reload,
196
196
  list: () => Effect.sync(() => Array.from(state.get().tools.values())),
@@ -324,10 +324,10 @@ function namespaceError(name) {
324
324
  return;
325
325
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
326
326
  }
327
- var node42 = makeLocationNode({
328
- service: Service39,
327
+ var node58 = makeLocationNode({
328
+ service: Service56,
329
329
  layer,
330
- deps: [node73, node55, node69]
330
+ deps: [node65, node60, node61]
331
331
  });
332
332
 
333
- export { RegistrationError2, Service39, node42, exports_tool, CallID2, Content3, Error2, FileContent3, TextContent2 };
333
+ export { RegistrationError2, Service56, node58, exports_tool, CallID2, Content3, Error2, FileContent3, TextContent2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./wellknown-9rqn6x4v.js";
3
+ } from "./app-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/goal.ts
6
6
  var exports_goal = {};
@@ -9,7 +9,7 @@ __export(exports_goal, {
9
9
  MAX_OBJECTIVE: () => MAX_OBJECTIVE2,
10
10
  MAX_ROUNDS: () => MAX_ROUNDS2,
11
11
  MAX_STALLS: () => MAX_STALLS2,
12
- Plugin: () => Plugin21,
12
+ Plugin: () => Plugin37,
13
13
  WAIT_LIMIT: () => WAIT_LIMIT2
14
14
  });
15
15
  import { isContextOverflowFailure, Message } from "@opencode/ai/effect";
@@ -102,7 +102,7 @@ var Verdict = Schema.Struct({
102
102
  });
103
103
  var decodeVerdict = Schema.decodeUnknownOption(Schema.fromJsonString(Verdict));
104
104
  var USAGE = "Usage: /goal <objective> | pause | resume | clear";
105
- var Plugin21 = define({
105
+ var Plugin37 = define({
106
106
  id: "opencode.goal",
107
107
  effect: Effect.fn(function* (ctx) {
108
108
  const read = Effect.fn("GoalPlugin.read")(function* (sessionID) {
@@ -407,4 +407,4 @@ function escape(text) {
407
407
  return text.replaceAll("&", "&amp;").replaceAll("<", "&lt;").replaceAll(">", "&gt;");
408
408
  }
409
409
 
410
- export { MAX_OBJECTIVE2, MAX_ROUNDS2, MAX_STALLS2, WAIT_LIMIT2, Plugin21, exports_goal };
410
+ export { MAX_OBJECTIVE2, MAX_ROUNDS2, MAX_STALLS2, WAIT_LIMIT2, Plugin37, exports_goal };