@opencode/core 0.0.0-dev-19436 → 0.0.0-dev-19438

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 (781) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{generate-tqw8zxxy.js → file-03zt5v0h.js} +11 -11
  9. package/dist/chunks/{generate-4w9k0mjw.js → file-0bc9xa41.js} +15 -15
  10. package/dist/chunks/{generate-cysjstt0.js → file-0cq9sm51.js} +34 -34
  11. package/dist/chunks/{generate-ztcv1eyd.js → file-0kzzmtkd.js} +18 -18
  12. package/dist/chunks/{generate-jwx4y25k.js → file-0p4j4cv0.js} +9 -9
  13. package/dist/chunks/{generate-0paq2nw3.js → file-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{generate-0q0f95c6.js → file-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{generate-em4ar646.js → file-0tqgm7xh.js} +26 -26
  16. package/dist/chunks/{generate-6f6vgmrt.js → file-0z8fjeev.js} +11 -11
  17. package/dist/chunks/{generate-t7z3zppm.js → file-11h1hnb3.js} +2 -2
  18. package/dist/chunks/{generate-h1cbn5my.js → file-11tcp5y8.js} +4 -4
  19. package/dist/chunks/{generate-2ktqxpjb.js → file-1302kqpv.js} +56 -56
  20. package/dist/chunks/{generate-0nzybmd6.js → file-195b9hkp.js} +28 -28
  21. package/dist/chunks/{generate-1dazxqgg.js → file-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{generate-ccmz1r19.js → file-1enyjv7v.js} +13 -13
  23. package/dist/chunks/{generate-1pscxtyc.js → file-1tx98gn3.js} +14 -14
  24. package/dist/chunks/{generate-fq0va44m.js → file-1vd4786e.js} +9 -9
  25. package/dist/chunks/{generate-dpskyeh4.js → file-1wv7z5mx.js} +31 -31
  26. package/dist/chunks/{generate-aws7z9kx.js → file-206fxkvm.js} +17 -17
  27. package/dist/chunks/{generate-21r38tys.js → file-21r38tys.js} +1 -1
  28. package/dist/chunks/{generate-z63w68vq.js → file-29x78va6.js} +6 -6
  29. package/dist/chunks/{generate-2a5m3afh.js → file-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{generate-vyj892hr.js → file-2cmcktmr.js} +10 -10
  31. package/dist/chunks/{generate-72nr9cry.js → file-2ff89mrc.js} +4 -4
  32. package/dist/chunks/{generate-mmebaszg.js → file-2r4xr41j.js} +21 -21
  33. package/dist/chunks/{generate-tqfej29b.js → file-2rk3das1.js} +22 -22
  34. package/dist/chunks/{generate-d18798dz.js → file-2sgjhdq8.js} +29 -29
  35. package/dist/chunks/{generate-xz2sz7jr.js → file-31hyewty.js} +41 -41
  36. package/dist/chunks/{generate-1qkyvz7t.js → file-34202413.js} +22 -22
  37. package/dist/chunks/{generate-gjqr6zrn.js → file-37y0x4sa.js} +13 -13
  38. package/dist/chunks/{generate-3fc6dm20.js → file-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{generate-6q1acxff.js → file-3fj0ehej.js} +43 -43
  40. package/dist/chunks/{generate-3hepkmqq.js → file-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{generate-jp9jb5qe.js → file-3kff94q5.js} +5 -5
  42. package/dist/chunks/{generate-b1xvncj7.js → file-3kt1zrpp.js} +76 -76
  43. package/dist/chunks/{generate-39pny36r.js → file-3n1sj9mp.js} +1 -1
  44. package/dist/chunks/{generate-3smtnn6g.js → file-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{generate-fgh0kbhd.js → file-3trbxeqx.js} +1 -1
  46. package/dist/chunks/{generate-3tvqynh2.js → file-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{generate-e3mxans8.js → file-3w2b2yj4.js} +5 -5
  48. package/dist/chunks/{generate-mf9m2v67.js → file-3yjg5mh2.js} +3 -3
  49. package/dist/chunks/{generate-1n9n5b3d.js → file-3yknbgq7.js} +19 -19
  50. package/dist/chunks/{generate-ygw6154k.js → file-416qpt5q.js} +20 -20
  51. package/dist/chunks/{generate-xnpbk0pc.js → file-4qbtf2xm.js} +5 -5
  52. package/dist/chunks/{generate-zv3e7t68.js → file-4rpd5z62.js} +2 -2
  53. package/dist/chunks/{generate-5ks7kb4v.js → file-52az7e5h.js} +11 -11
  54. package/dist/chunks/{generate-33w4ejhs.js → file-56gdpj1q.js} +6 -6
  55. package/dist/chunks/{generate-c0y0jbg7.js → file-56j57pys.js} +15 -15
  56. package/dist/chunks/{generate-y60800f4.js → file-5cvqq58e.js} +3 -3
  57. package/dist/chunks/{generate-5daktx2q.js → file-5daktx2q.js} +1 -1
  58. package/dist/chunks/{generate-5t3nmthw.js → file-5t3nmthw.js} +2 -2
  59. package/dist/chunks/{generate-mgx963cj.js → file-5trk58xb.js} +8 -8
  60. package/dist/chunks/{generate-pjg5vxkm.js → file-5z7h86dp.js} +5 -5
  61. package/dist/chunks/{generate-mkk216y0.js → file-614n5vxr.js} +14 -14
  62. package/dist/chunks/{generate-ypf30vrs.js → file-664j63h8.js} +20 -20
  63. package/dist/chunks/{generate-669tq793.js → file-669tq793.js} +1 -1
  64. package/dist/chunks/{generate-7wwfbcqc.js → file-67mjd9te.js} +9 -9
  65. package/dist/chunks/{generate-mm4qk4sz.js → file-69q31xtv.js} +4 -4
  66. package/dist/chunks/{generate-rqac2h8p.js → file-6bg31a94.js} +17 -17
  67. package/dist/chunks/{generate-2402vzrj.js → file-6h73sxmp.js} +5 -5
  68. package/dist/chunks/{generate-f2daj8m5.js → file-6jekb6p7.js} +15 -15
  69. package/dist/chunks/{generate-sw3r3x1t.js → file-6jnybvqn.js} +2 -2
  70. package/dist/chunks/{generate-6msgmcgs.js → file-6msgmcgs.js} +1 -1
  71. package/dist/chunks/{generate-71q4at8m.js → file-71q4at8m.js} +1 -1
  72. package/dist/chunks/{generate-h0hnsk02.js → file-75v5avbv.js} +9 -9
  73. package/dist/chunks/{generate-1yrdzb9h.js → file-79rym0vx.js} +15 -15
  74. package/dist/chunks/{generate-7bmhse3q.js → file-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{generate-7dqw4kz8.js → file-7dqw4kz8.js} +1 -1
  76. package/dist/chunks/{generate-cpy6gm2a.js → file-7ebn0nc0.js} +4 -4
  77. package/dist/chunks/{generate-mhkvc446.js → file-7yh4e7ss.js} +3 -3
  78. package/dist/chunks/{generate-3e8pesde.js → file-81swgkk7.js} +9 -9
  79. package/dist/chunks/{generate-7b15y959.js → file-844ef7ks.js} +8 -8
  80. package/dist/chunks/{generate-m27pyyd3.js → file-84tssp1s.js} +6 -6
  81. package/dist/chunks/{generate-r01t9b5y.js → file-87deq66t.js} +6 -6
  82. package/dist/chunks/{generate-mfhfdr54.js → file-88sz8qcd.js} +4 -4
  83. package/dist/chunks/{generate-8d7r5vzw.js → file-8d7r5vzw.js} +1 -1
  84. package/dist/chunks/{generate-ay6pntn3.js → file-8kpa3sfw.js} +25 -25
  85. package/dist/chunks/{generate-vxqvp5m2.js → file-8n8qbvvf.js} +29 -29
  86. package/dist/chunks/{generate-dj2t23y0.js → file-8p4f9s12.js} +2 -2
  87. package/dist/chunks/{generate-vyxhsqdc.js → file-8pnwjqbd.js} +23 -23
  88. package/dist/chunks/{generate-aygt8q9r.js → file-8qqdnwax.js} +15 -15
  89. package/dist/chunks/{generate-eagyeves.js → file-8s0m5yrh.js} +18 -18
  90. package/dist/chunks/{generate-dp5bsb0e.js → file-8s84r2ab.js} +17 -17
  91. package/dist/chunks/{generate-k8962brh.js → file-8x96bj0m.js} +4 -4
  92. package/dist/chunks/{generate-52fpbh6z.js → file-91p1v22t.js} +8 -8
  93. package/dist/chunks/{generate-pggbgfqn.js → file-99tcg3bm.js} +11 -11
  94. package/dist/chunks/{generate-ta4djbce.js → file-9ay0erd8.js} +153 -153
  95. package/dist/chunks/{generate-sygp3w95.js → file-9bj2cvf7.js} +9 -9
  96. package/dist/chunks/{generate-vd9xqktw.js → file-9ch41db7.js} +44 -44
  97. package/dist/chunks/{generate-k16ay38w.js → file-9k2v62xn.js} +1 -1
  98. package/dist/chunks/{generate-srkwgq29.js → file-9v3118pd.js} +28 -28
  99. package/dist/chunks/{generate-k7gbetc5.js → file-9vqmh8rd.js} +25 -25
  100. package/dist/chunks/{generate-gp6jffzn.js → file-9yb9755z.js} +13 -13
  101. package/dist/chunks/{generate-5c4hm403.js → file-a1bz86dw.js} +3 -3
  102. package/dist/chunks/{generate-ebhw3mq4.js → file-a28msnrx.js} +4 -4
  103. package/dist/chunks/{generate-aaet6srn.js → file-aaet6srn.js} +2 -2
  104. package/dist/chunks/{generate-xj0bxjy7.js → file-agmzfzv5.js} +16 -16
  105. package/dist/chunks/{generate-ve4pfa0n.js → file-an7cqtb7.js} +4 -4
  106. package/dist/chunks/{generate-m1sc7qpq.js → file-ashvqh0k.js} +4 -4
  107. package/dist/chunks/{generate-wzymtbz6.js → file-awz7xhfp.js} +4 -4
  108. package/dist/chunks/{generate-s64cbx49.js → file-azec8exe.js} +7 -7
  109. package/dist/chunks/{generate-mj59rbhw.js → file-b3ab3ctg.js} +6 -6
  110. package/dist/chunks/{generate-hc7vzb2a.js → file-b3c6xmwh.js} +18 -18
  111. package/dist/chunks/{generate-39r80e1r.js → file-b3wkxfg9.js} +1 -1
  112. package/dist/chunks/{generate-adr43mc1.js → file-b3xk0srv.js} +33 -33
  113. package/dist/chunks/{generate-83h91mzx.js → file-b4ssmz4r.js} +9 -9
  114. package/dist/chunks/{generate-b6gygkdw.js → file-b6gygkdw.js} +2 -2
  115. package/dist/chunks/{generate-1p8pj4gq.js → file-b8n110tt.js} +5 -5
  116. package/dist/chunks/{generate-7tnppf00.js → file-befft0k5.js} +12 -12
  117. package/dist/chunks/{generate-4qftt0ad.js → file-bv5t9bgg.js} +10 -10
  118. package/dist/chunks/file-bxsmgxt8.js +22 -0
  119. package/dist/chunks/{generate-czz1mk0t.js → file-bxxxhdn8.js} +17 -17
  120. package/dist/chunks/{generate-ezt0m903.js → file-c4vq1gr4.js} +25 -25
  121. package/dist/chunks/{generate-q4fmv0xv.js → file-ce5fknq2.js} +5 -5
  122. package/dist/chunks/{generate-m0jqrx5p.js → file-cfpkc3c9.js} +2 -2
  123. package/dist/chunks/{generate-j5nsxvak.js → file-ck83t0ny.js} +32 -32
  124. package/dist/chunks/{generate-krm885fd.js → file-cqyrr4jp.js} +75 -75
  125. package/dist/chunks/{generate-yayba5wy.js → file-d1xvm4af.js} +15 -15
  126. package/dist/chunks/{generate-h1fvy1gd.js → file-d5n4bh35.js} +24 -24
  127. package/dist/chunks/{generate-5bsnye8q.js → file-d86az2qg.js} +25 -25
  128. package/dist/chunks/{generate-6ya4w7xv.js → file-dgbe4bt1.js} +12 -12
  129. package/dist/chunks/file-dk9ef0gz.js +247 -0
  130. package/dist/chunks/{generate-8467n133.js → file-dx6t03ys.js} +2 -2
  131. package/dist/chunks/{generate-1f4gyz0n.js → file-e3qzfmye.js} +15 -15
  132. package/dist/chunks/{generate-v0k42p31.js → file-e6g776ht.js} +18 -18
  133. package/dist/chunks/{generate-mfz1jzpf.js → file-e7c5hh0v.js} +7 -7
  134. package/dist/chunks/{generate-jxt422gf.js → file-e7n26ax2.js} +8 -8
  135. package/dist/chunks/{generate-h6z8d5tn.js → file-ec8389mk.js} +4 -4
  136. package/dist/chunks/{generate-htw1ycyk.js → file-egqspz5t.js} +5 -5
  137. package/dist/chunks/{generate-ca7w653e.js → file-embw8kgh.js} +4 -4
  138. package/dist/chunks/{generate-r9babyk8.js → file-esdnemd6.js} +1 -1
  139. package/dist/chunks/{generate-etq0c3wd.js → file-etq0c3wd.js} +1 -1
  140. package/dist/chunks/{generate-jqcr0tvq.js → file-ew6y6y1a.js} +26 -26
  141. package/dist/chunks/{generate-6g3dpzke.js → file-eykg37vx.js} +15 -15
  142. package/dist/chunks/{generate-98f102c3.js → file-f3kdsvs6.js} +21 -21
  143. package/dist/chunks/{generate-hdnk95c8.js → file-f828m53h.js} +2 -2
  144. package/dist/chunks/{generate-8gkxrww8.js → file-famamp43.js} +15 -15
  145. package/dist/chunks/{generate-abw1kwbq.js → file-fec1vscd.js} +39 -39
  146. package/dist/chunks/{generate-gtq86vsq.js → file-ff8vf18q.js} +7 -7
  147. package/dist/chunks/{generate-t0x5rdq8.js → file-fjmrr6sh.js} +9 -9
  148. package/dist/chunks/{generate-fygdb7h7.js → file-fq1h1v14.js} +3 -3
  149. package/dist/chunks/{generate-fxbjtjnd.js → file-fxbjtjnd.js} +1 -1
  150. package/dist/chunks/{generate-hr1ws8e2.js → file-fydnx5fx.js} +37 -37
  151. package/dist/chunks/{generate-v894zy29.js → file-fzsrmebp.js} +20 -20
  152. package/dist/chunks/{generate-9bz2v5s0.js → file-g5twr0sp.js} +14 -14
  153. package/dist/chunks/{generate-x4x0qw1a.js → file-g713qgch.js} +24 -24
  154. package/dist/chunks/{generate-gd4qta3r.js → file-gd4qta3r.js} +1 -1
  155. package/dist/chunks/{generate-0wtspe5f.js → file-gj4x8zz6.js} +15 -15
  156. package/dist/chunks/{generate-mnv392bk.js → file-gj7pn1ka.js} +11 -11
  157. package/dist/chunks/{generate-cdtwy1r3.js → file-gqzswqpg.js} +32 -32
  158. package/dist/chunks/{generate-qrfzss76.js → file-gtwpvwn0.js} +58 -58
  159. package/dist/chunks/{generate-yyb7tjpc.js → file-gv6a8nnw.js} +2 -2
  160. package/dist/chunks/{generate-vyqn3nqs.js → file-gzbkpp9m.js} +4 -4
  161. package/dist/chunks/{generate-h03wrkyp.js → file-h03wrkyp.js} +2 -2
  162. package/dist/chunks/{generate-f8q7mv7a.js → file-h2gyv3sg.js} +1 -1
  163. package/dist/chunks/{generate-h6vf3j39.js → file-h6vf3j39.js} +1 -1
  164. package/dist/chunks/{generate-b7rrt7yp.js → file-he3a9kdv.js} +23 -23
  165. package/dist/chunks/{generate-vzm76b3t.js → file-hq8zt1th.js} +6 -6
  166. package/dist/chunks/file-ht5y0zrb.js +18 -0
  167. package/dist/chunks/{generate-60a2mxse.js → file-j2j5pzjs.js} +5 -5
  168. package/dist/chunks/{generate-j56e64zr.js → file-j56e64zr.js} +1 -1
  169. package/dist/chunks/{generate-paphc93g.js → file-j935v87r.js} +2 -2
  170. package/dist/chunks/{generate-8j9290cj.js → file-ja6srv6s.js} +31 -31
  171. package/dist/chunks/{generate-tqskq136.js → file-jh9jg79a.js} +11 -11
  172. package/dist/chunks/{generate-460qmyvt.js → file-jhtsdbae.js} +16 -16
  173. package/dist/chunks/{generate-e1rvn8vw.js → file-jjwvsmw4.js} +6 -6
  174. package/dist/chunks/{generate-z5f02dmr.js → file-jvdqbckk.js} +12 -12
  175. package/dist/chunks/{generate-y71avatq.js → file-jwcy2c2z.js} +4 -4
  176. package/dist/chunks/{generate-8yay56x4.js → file-jxj1g7d6.js} +5 -5
  177. package/dist/chunks/{generate-282ycpdt.js → file-k2cps1w2.js} +14 -14
  178. package/dist/chunks/{generate-wy2fjyd3.js → file-k4t1n3ds.js} +5 -5
  179. package/dist/chunks/{generate-p2ms2xer.js → file-kcvfr73y.js} +46 -46
  180. package/dist/chunks/{generate-kg06axw8.js → file-kg06axw8.js} +1 -1
  181. package/dist/chunks/{generate-p2r27tsk.js → file-kk4kf303.js} +11 -11
  182. package/dist/chunks/{generate-27pxjv6r.js → file-kkmk6wev.js} +11 -11
  183. package/dist/chunks/{generate-kyrbgmgz.js → file-kyrbgmgz.js} +2 -2
  184. package/dist/chunks/{generate-61b2b0jm.js → file-m20ewzpv.js} +30 -30
  185. package/dist/chunks/{generate-qvj9tamg.js → file-m2eczmet.js} +287 -287
  186. package/dist/chunks/{generate-q3pfqd80.js → file-m4w483hc.js} +6 -6
  187. package/dist/chunks/{generate-m9w0rfyh.js → file-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{generate-kqphnfc4.js → file-mdcc0ar8.js} +26 -26
  189. package/dist/chunks/{generate-mkcjrzeh.js → file-mkcjrzeh.js} +1 -1
  190. package/dist/chunks/{generate-z69s9t6b.js → file-mrw4weg4.js} +5 -5
  191. package/dist/chunks/{generate-zkpb4mnd.js → file-ms6rwfbv.js} +28 -28
  192. package/dist/chunks/{generate-4mef8aht.js → file-n2egqj3k.js} +10 -10
  193. package/dist/chunks/{generate-ss43wqfj.js → file-n3ehebhz.js} +12 -12
  194. package/dist/chunks/{generate-jesy7fcc.js → file-n92g5px8.js} +17 -17
  195. package/dist/chunks/{generate-1k2mzmz4.js → file-ngx16gc5.js} +12 -12
  196. package/dist/chunks/{generate-nhy5jxhy.js → file-nhy5jxhy.js} +1 -1
  197. package/dist/chunks/{generate-7d9ys0qb.js → file-nmpjh5tr.js} +32 -32
  198. package/dist/chunks/{generate-6h2n816c.js → file-nmwa5e32.js} +13 -13
  199. package/dist/chunks/{generate-0ctcqb5r.js → file-nrj82zgb.js} +26 -26
  200. package/dist/chunks/{generate-wfvawqgc.js → file-nrrb2a3e.js} +19 -19
  201. package/dist/chunks/{generate-sj0pg1d2.js → file-ntp00jbn.js} +34 -34
  202. package/dist/chunks/{generate-v5hpcsb0.js → file-p1nm93x7.js} +5 -5
  203. package/dist/chunks/{generate-7pfda458.js → file-p7r5e3re.js} +27 -27
  204. package/dist/chunks/{generate-49s5q05k.js → file-pd9nar43.js} +23 -23
  205. package/dist/chunks/{generate-pjvnvgmy.js → file-pjvnvgmy.js} +1 -1
  206. package/dist/chunks/{generate-pknna89w.js → file-pknna89w.js} +1 -1
  207. package/dist/chunks/{generate-2gpyj5kx.js → file-pnfpsavj.js} +5 -5
  208. package/dist/chunks/{generate-bny867va.js → file-pvp2wc9z.js} +11 -11
  209. package/dist/chunks/{generate-1wj59nq5.js → file-q043d12m.js} +11 -11
  210. package/dist/chunks/{generate-0xma9y6h.js → file-q5sxxe7s.js} +15 -15
  211. package/dist/chunks/{generate-g6vpggfr.js → file-qacd23e2.js} +4 -4
  212. package/dist/chunks/{generate-3v0kbfet.js → file-qaeybh9m.js} +6 -6
  213. package/dist/chunks/{generate-bs2kgc24.js → file-qbka3964.js} +23 -23
  214. package/dist/chunks/{generate-sex50t12.js → file-qcv4hsrb.js} +13 -13
  215. package/dist/chunks/{generate-az4749a7.js → file-qefhz522.js} +11 -11
  216. package/dist/chunks/{generate-qsdy395h.js → file-qsdy395h.js} +1 -1
  217. package/dist/chunks/{generate-x43y2vfs.js → file-r9mregkx.js} +3 -3
  218. package/dist/chunks/{generate-yjaa8gp1.js → file-rb7pkpgx.js} +27 -27
  219. package/dist/chunks/{generate-fbyxhnwk.js → file-rbb6h0rd.js} +11 -11
  220. package/dist/chunks/{generate-gasky795.js → file-rbwxp75v.js} +36 -36
  221. package/dist/chunks/{generate-yycwsgqa.js → file-rctdwqm8.js} +11 -11
  222. package/dist/chunks/{generate-ktppz2xf.js → file-reygygas.js} +6 -6
  223. package/dist/chunks/{generate-dk6e62g5.js → file-rn18s34v.js} +9 -9
  224. package/dist/chunks/{generate-n76fdqym.js → file-rs226bz6.js} +5 -5
  225. package/dist/chunks/{generate-9r6hh7kf.js → file-rywfhtnt.js} +19 -19
  226. package/dist/chunks/{generate-w0vj055n.js → file-s3h59be2.js} +24 -24
  227. package/dist/chunks/{generate-yrznvahk.js → file-s4enseaf.js} +2 -2
  228. package/dist/chunks/{generate-4vz798w9.js → file-s7vx81dz.js} +9 -9
  229. package/dist/chunks/{generate-69kxc8pj.js → file-sb15f9kd.js} +15 -15
  230. package/dist/chunks/{generate-n48wz30s.js → file-sqmt1xrx.js} +29 -29
  231. package/dist/chunks/{generate-evq6r5pz.js → file-szgy4byf.js} +4 -4
  232. package/dist/chunks/{generate-64s65d1n.js → file-t33aqq77.js} +5 -5
  233. package/dist/chunks/{generate-efqcpyxk.js → file-t3ejw313.js} +41 -41
  234. package/dist/chunks/{generate-rhjbct0v.js → file-t550f9t1.js} +4 -4
  235. package/dist/chunks/{generate-0jkkj5x0.js → file-t9qhnrv6.js} +6 -6
  236. package/dist/chunks/{generate-tazgh4e4.js → file-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{generate-tcezcvh9.js → file-tcezcvh9.js} +1 -1
  238. package/dist/chunks/{generate-7gqemh59.js → file-td1bwv9m.js} +7 -7
  239. package/dist/chunks/{generate-tdstcens.js → file-tdstcens.js} +1 -1
  240. package/dist/chunks/{generate-nyb0p7a8.js → file-tfg00z1r.js} +15 -15
  241. package/dist/chunks/{generate-y24frd6r.js → file-tsdrwk88.js} +11 -11
  242. package/dist/chunks/{generate-tvtrv512.js → file-tvtrv512.js} +1 -1
  243. package/dist/chunks/{generate-mxnz8za5.js → file-v3smhzc7.js} +12 -12
  244. package/dist/chunks/{generate-azsc15mm.js → file-v9n7g2jp.js} +50 -50
  245. package/dist/chunks/{generate-ksz0h0wp.js → file-vabb23s0.js} +1 -1
  246. package/dist/chunks/{generate-veqvce7d.js → file-veqvce7d.js} +1 -1
  247. package/dist/chunks/{generate-wdgp3mgb.js → file-verq85zk.js} +4 -4
  248. package/dist/chunks/{generate-81z6ssen.js → file-vjjshyym.js} +24 -24
  249. package/dist/chunks/{generate-b8ppthjy.js → file-vq3dh784.js} +23 -23
  250. package/dist/chunks/{generate-cavr175a.js → file-vsp1fds9.js} +21 -21
  251. package/dist/chunks/{generate-96yt6zt0.js → file-vypqtakx.js} +1 -1
  252. package/dist/chunks/{generate-vzcthcp8.js → file-vzcthcp8.js} +1 -1
  253. package/dist/chunks/{generate-w3wsvvr9.js → file-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{generate-s13d9hm5.js → file-w6vgwbtw.js} +47 -47
  255. package/dist/chunks/{generate-99qv6bna.js → file-wb1yzg53.js} +20 -20
  256. package/dist/chunks/{generate-bp2j6a1f.js → file-wc01vwq2.js} +17 -17
  257. package/dist/chunks/{generate-wd87259q.js → file-wd87259q.js} +1 -1
  258. package/dist/chunks/{generate-zpja4yre.js → file-wh05710z.js} +40 -40
  259. package/dist/chunks/{generate-pkmfek68.js → file-wkwfxgj3.js} +4 -4
  260. package/dist/chunks/{generate-59jshr4n.js → file-wxg97684.js} +29 -29
  261. package/dist/chunks/{generate-x1ezjp6w.js → file-x1ezjp6w.js} +1 -1
  262. package/dist/chunks/{generate-2xsd6cxc.js → file-x5df1stp.js} +57 -57
  263. package/dist/chunks/{generate-znesh5ka.js → file-xacpwbjs.js} +9 -9
  264. package/dist/chunks/{generate-njqcqwne.js → file-xbet31bz.js} +32 -32
  265. package/dist/chunks/{generate-daf03bc6.js → file-xck56rmx.js} +34 -34
  266. package/dist/chunks/{generate-0yr4mqa9.js → file-xe3tttza.js} +10 -10
  267. package/dist/chunks/{generate-xvaj3ykh.js → file-xncegbyh.js} +6 -6
  268. package/dist/chunks/{generate-hp8a6key.js → file-xnn90w67.js} +27 -27
  269. package/dist/chunks/{generate-4r6mae84.js → file-xp2ajnz8.js} +24 -24
  270. package/dist/chunks/{generate-d9a9xnav.js → file-xr2q0tqq.js} +23 -23
  271. package/dist/chunks/{generate-y1fvbwt7.js → file-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{generate-h5yrfjqd.js → file-y2vrj84a.js} +10 -10
  273. package/dist/chunks/{generate-09atk14q.js → file-yc3z3e63.js} +13 -13
  274. package/dist/chunks/{generate-yddgxcp4.js → file-yddgxcp4.js} +2 -2
  275. package/dist/chunks/{generate-yp2x3t23.js → file-yp2x3t23.js} +1 -1
  276. package/dist/chunks/{generate-jexg7ppr.js → file-ypy1tgyh.js} +13 -13
  277. package/dist/chunks/{generate-yrhqyw5v.js → file-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{generate-jwbqhvyy.js → file-yt0fqk68.js} +5 -5
  279. package/dist/chunks/{generate-z0bkrqjs.js → file-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{generate-92s5ptt1.js → file-z2maercm.js} +32 -32
  281. package/dist/chunks/{generate-46d75zpd.js → file-z2rxccdg.js} +9 -9
  282. package/dist/chunks/{generate-rq775frq.js → file-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{generate-cv20tjt8.js → file-zfv8a0ht.js} +11 -11
  284. package/dist/chunks/{generate-k53abcyj.js → file-zh30k3px.js} +9 -9
  285. package/dist/chunks/{generate-zmcvkbyh.js → file-zn15gz72.js} +15 -15
  286. package/dist/chunks/{generate-zr2ceqn5.js → file-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{generate-ks5znfvj.js → file-zts5fb25.js} +11 -11
  288. package/dist/chunks/{generate-zxq2ej10.js → file-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +3 -3
  291. package/dist/codemode/tool.js +2 -2
  292. package/dist/command.js +81 -81
  293. package/dist/config/discovery.js +77 -77
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +19 -19
  296. package/dist/config/plugin/agent.js +117 -117
  297. package/dist/config/plugin/command.js +209 -209
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +115 -115
  302. package/dist/config/plugin/instruction.js +85 -85
  303. package/dist/config/plugin/location-watcher.js +115 -115
  304. package/dist/config/plugin/mcp.js +126 -126
  305. package/dist/config/plugin/policy.js +114 -114
  306. package/dist/config/plugin/provider.js +113 -113
  307. package/dist/config/plugin/reference.js +117 -117
  308. package/dist/config/plugin/shell.js +118 -118
  309. package/dist/config/plugin/skill-file.js +97 -97
  310. package/dist/config/plugin/skill.js +136 -136
  311. package/dist/config/plugin/snapshot.js +115 -115
  312. package/dist/config/plugin/source.js +117 -117
  313. package/dist/config/plugin/tool-output.js +117 -117
  314. package/dist/config/plugin/websearch.js +115 -115
  315. package/dist/config/plugin/worktree.js +118 -118
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +115 -115
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +79 -79
  321. package/dist/database/database.js +72 -72
  322. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +15 -15
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +16 -16
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration.gen.js +47 -47
  385. package/dist/database/migration.js +49 -49
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +77 -77
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +362 -362
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +88 -88
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +90 -90
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +72 -72
  409. package/dist/file-access.js +99 -99
  410. package/dist/file-mutation.js +89 -89
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +216 -216
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +95 -95
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +11 -11
  424. package/dist/filesystem.js +96 -96
  425. package/dist/form.js +82 -82
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +82 -82
  428. package/dist/generate.js +91 -91
  429. package/dist/git.js +7 -7
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +3 -3
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +353 -353
  454. package/dist/instruction-discovery.js +83 -83
  455. package/dist/instructions/builtins.js +80 -80
  456. package/dist/instructions/index.js +3 -3
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +86 -86
  459. package/dist/job.js +75 -75
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +71 -71
  462. package/dist/location-activity.js +131 -131
  463. package/dist/location-mutation.js +99 -99
  464. package/dist/location-service-map.js +81 -81
  465. package/dist/location-services.js +350 -350
  466. package/dist/location.js +84 -84
  467. package/dist/mcp/client.js +86 -86
  468. package/dist/mcp/index.js +91 -91
  469. package/dist/mcp/instructions.js +120 -120
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +85 -85
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +3 -3
  474. package/dist/model-resolver.js +86 -86
  475. package/dist/model.js +10 -10
  476. package/dist/models-dev.js +74 -74
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +78 -78
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +108 -108
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +84 -84
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +73 -73
  486. package/dist/plugin/agent.js +99 -99
  487. package/dist/plugin/command.js +96 -96
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +324 -324
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +75 -75
  494. package/dist/plugin/module.js +5 -5
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +97 -97
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/alibaba.js +2 -2
  499. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  500. package/dist/plugin/provider/anthropic.js +2 -2
  501. package/dist/plugin/provider/azure.js +118 -118
  502. package/dist/plugin/provider/cerebras.js +2 -2
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/digitalocean.js +79 -79
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/gateway.js +2 -2
  511. package/dist/plugin/provider/github-copilot.js +80 -80
  512. package/dist/plugin/provider/gitlab.js +3 -3
  513. package/dist/plugin/provider/google-vertex.js +2 -2
  514. package/dist/plugin/provider/kilo.js +2 -2
  515. package/dist/plugin/provider/llmgateway.js +76 -76
  516. package/dist/plugin/provider/lmstudio.js +117 -117
  517. package/dist/plugin/provider/mistral.js +2 -2
  518. package/dist/plugin/provider/modal.js +79 -79
  519. package/dist/plugin/provider/nvidia.js +2 -2
  520. package/dist/plugin/provider/ollama.js +117 -117
  521. package/dist/plugin/provider/openai-compatible.js +1 -1
  522. package/dist/plugin/provider/openai.js +78 -78
  523. package/dist/plugin/provider/opencode.js +79 -79
  524. package/dist/plugin/provider/openrouter.js +3 -3
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +76 -76
  527. package/dist/plugin/provider/sap-ai-core.js +3 -3
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  530. package/dist/plugin/provider/venice.js +2 -2
  531. package/dist/plugin/provider/vercel.js +2 -2
  532. package/dist/plugin/provider/vllm.js +117 -117
  533. package/dist/plugin/provider/xai.js +77 -77
  534. package/dist/plugin/provider/zenmux.js +2 -2
  535. package/dist/plugin/provider.js +158 -158
  536. package/dist/plugin/sdk.js +74 -74
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +133 -133
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +339 -339
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/variant.js +4 -4
  543. package/dist/plugin/vcs/git.js +82 -82
  544. package/dist/plugin/vcs/hg.js +82 -82
  545. package/dist/plugin/warming.js +112 -112
  546. package/dist/plugin/websearch/exa.js +5 -5
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +8 -8
  549. package/dist/plugin/websearch/mcp.js +4 -4
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +4 -4
  552. package/dist/plugin.js +216 -216
  553. package/dist/project/schema.js +8 -8
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +85 -85
  556. package/dist/provider.js +5 -5
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/schema.js +1 -1
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +82 -82
  561. package/dist/reference/instructions.js +80 -80
  562. package/dist/reference.js +86 -86
  563. package/dist/repository-cache.js +76 -76
  564. package/dist/repository.js +3 -3
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +93 -93
  567. package/dist/rpc.js +81 -81
  568. package/dist/schema.js +1 -1
  569. package/dist/session/command.js +72 -72
  570. package/dist/session/compaction.js +127 -127
  571. package/dist/session/context.js +143 -143
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +7 -7
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +216 -216
  576. package/dist/session/execution.js +122 -122
  577. package/dist/session/generate.js +146 -146
  578. package/dist/session/history.js +15 -15
  579. package/dist/session/inbox.js +84 -84
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +75 -75
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +88 -88
  584. package/dist/session/message-updater.js +2 -2
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +113 -113
  587. package/dist/session/model-transport.js +9 -9
  588. package/dist/session/move.js +122 -122
  589. package/dist/session/projector.js +84 -84
  590. package/dist/session/prompt.js +100 -100
  591. package/dist/session/provider-context.js +3 -3
  592. package/dist/session/revert.js +85 -85
  593. package/dist/session/run-coordinator.js +1 -1
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +223 -223
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +86 -86
  598. package/dist/session/runner/publish-llm-event.js +3 -3
  599. package/dist/session/runner/retry.js +110 -110
  600. package/dist/session/runner/step.js +119 -119
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +5 -5
  603. package/dist/session/session.js +167 -167
  604. package/dist/session/shell.js +131 -131
  605. package/dist/session/skill.js +98 -98
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +73 -73
  608. package/dist/session/store.js +83 -83
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +205 -205
  611. package/dist/session/system-prompt.js +1 -1
  612. package/dist/session/title.js +145 -145
  613. package/dist/session/to-session-error.js +107 -107
  614. package/dist/session/transfer.js +215 -215
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +207 -207
  617. package/dist/shell/parse.js +6 -6
  618. package/dist/shell/result.js +1 -1
  619. package/dist/shell/scan.js +1 -1
  620. package/dist/shell/select.js +13 -13
  621. package/dist/shell.js +133 -133
  622. package/dist/skill/discovery.js +2 -2
  623. package/dist/skill/instructions.js +100 -100
  624. package/dist/skill.js +103 -103
  625. package/dist/snapshot.js +86 -86
  626. package/dist/state.js +1 -1
  627. package/dist/tool/html-markdown.js +1 -1
  628. package/dist/tool/http-body.js +1 -1
  629. package/dist/tool/mcp.js +121 -121
  630. package/dist/tool/plugin/edit.js +115 -115
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +118 -118
  633. package/dist/tool/plugin/grep.js +118 -118
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +117 -117
  636. package/dist/tool/plugin/question.js +98 -98
  637. package/dist/tool/plugin/read.js +121 -121
  638. package/dist/tool/plugin/shell.js +212 -212
  639. package/dist/tool/plugin/skill.js +106 -106
  640. package/dist/tool/plugin/subagent.js +214 -214
  641. package/dist/tool/plugin/webfetch.js +105 -105
  642. package/dist/tool/plugin/websearch.js +109 -109
  643. package/dist/tool/plugin/write.js +117 -117
  644. package/dist/tool/read-filesystem.js +96 -96
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +8 -8
  647. package/dist/tool.js +13 -13
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +7 -7
  657. package/dist/v1/config/attachment.js +4 -4
  658. package/dist/v1/config/command.js +3 -3
  659. package/dist/v1/config/config.js +16 -16
  660. package/dist/v1/config/error.js +4 -4
  661. package/dist/v1/config/formatter.js +3 -3
  662. package/dist/v1/config/layout.js +1 -1
  663. package/dist/v1/config/lsp.js +3 -3
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +4 -4
  666. package/dist/v1/config/permission.js +7 -7
  667. package/dist/v1/config/plugin.js +1 -1
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/v1/config/server.js +2 -2
  671. package/dist/v1/config/skills.js +3 -3
  672. package/dist/v1/permission.js +1 -1
  673. package/dist/vcs/patch.js +1 -1
  674. package/dist/vcs.js +79 -79
  675. package/dist/websearch.js +80 -80
  676. package/dist/wellknown/plugin.js +74 -74
  677. package/dist/wellknown.js +79 -79
  678. package/dist/workspace/driver.js +5 -5
  679. package/dist/workspace/sql.js +1 -1
  680. package/dist/workspace.js +76 -76
  681. package/dist/worktree/directory.js +2 -2
  682. package/dist/worktree/git.js +5 -5
  683. package/dist/worktree/refresh.js +340 -340
  684. package/dist/worktree/sql.js +5 -5
  685. package/dist/worktree.js +87 -87
  686. package/package.json +8 -8
  687. package/dist/chunks/generate-kn2ed1ny.js +0 -247
  688. package/dist/chunks/generate-nn82kedb.js +0 -22
  689. package/dist/chunks/generate-vnkjks7b.js +0 -18
  690. /package/dist/chunks/{generate-0mesazry.js → file-0mesazry.js} +0 -0
  691. /package/dist/chunks/{generate-0qkdqm5v.js → file-0qkdqm5v.js} +0 -0
  692. /package/dist/chunks/{generate-0zkw76rk.js → file-0zkw76rk.js} +0 -0
  693. /package/dist/chunks/{generate-17cy0kzp.js → file-17cy0kzp.js} +0 -0
  694. /package/dist/chunks/{generate-1cnp2v09.js → file-1cnp2v09.js} +0 -0
  695. /package/dist/chunks/{generate-1kg9ymc8.js → file-1kg9ymc8.js} +0 -0
  696. /package/dist/chunks/{generate-2710q6r3.js → file-2710q6r3.js} +0 -0
  697. /package/dist/chunks/{generate-2axfhc9x.js → file-2axfhc9x.js} +0 -0
  698. /package/dist/chunks/{generate-2c3vjs8z.js → file-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{generate-359p4xyc.js → file-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{generate-3asan66x.js → file-3asan66x.js} +0 -0
  701. /package/dist/chunks/{generate-3v8g72cx.js → file-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{generate-3w5fmr99.js → file-3w5fmr99.js} +0 -0
  703. /package/dist/chunks/{generate-3wcehsnq.js → file-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{generate-43n2bw4t.js → file-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{generate-4knz6hnm.js → file-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{generate-4vcrnpx2.js → file-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{generate-4y7fprxs.js → file-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{generate-53557ph1.js → file-53557ph1.js} +0 -0
  709. /package/dist/chunks/{generate-550bvhaj.js → file-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{generate-6prwharc.js → file-6prwharc.js} +0 -0
  711. /package/dist/chunks/{generate-7akdwqpd.js → file-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{generate-7m9af43g.js → file-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{generate-822emrt2.js → file-822emrt2.js} +0 -0
  714. /package/dist/chunks/{generate-88xbtdfr.js → file-88xbtdfr.js} +0 -0
  715. /package/dist/chunks/{generate-8n3pysct.js → file-8n3pysct.js} +0 -0
  716. /package/dist/chunks/{generate-922hggd3.js → file-922hggd3.js} +0 -0
  717. /package/dist/chunks/{generate-9a4afbnw.js → file-9a4afbnw.js} +0 -0
  718. /package/dist/chunks/{generate-9rqn6x4v.js → file-9rqn6x4v.js} +0 -0
  719. /package/dist/chunks/{generate-a6k6eb26.js → file-a6k6eb26.js} +0 -0
  720. /package/dist/chunks/{generate-af5trqkr.js → file-af5trqkr.js} +0 -0
  721. /package/dist/chunks/{generate-afrmfg78.js → file-afrmfg78.js} +0 -0
  722. /package/dist/chunks/{generate-aqzs7mqg.js → file-aqzs7mqg.js} +0 -0
  723. /package/dist/chunks/{generate-atq7p7m5.js → file-atq7p7m5.js} +0 -0
  724. /package/dist/chunks/{generate-bkyjaxrp.js → file-bkyjaxrp.js} +0 -0
  725. /package/dist/chunks/{generate-bmr6ed5q.js → file-bmr6ed5q.js} +0 -0
  726. /package/dist/chunks/{generate-cf4snx6d.js → file-cf4snx6d.js} +0 -0
  727. /package/dist/chunks/{generate-cvy3z8tj.js → file-cvy3z8tj.js} +0 -0
  728. /package/dist/chunks/{generate-d9fn303g.js → file-d9fn303g.js} +0 -0
  729. /package/dist/chunks/{generate-d9jj8t3e.js → file-d9jj8t3e.js} +0 -0
  730. /package/dist/chunks/{generate-dajrwvna.js → file-dajrwvna.js} +0 -0
  731. /package/dist/chunks/{generate-dap0rakb.js → file-dap0rakb.js} +0 -0
  732. /package/dist/chunks/{generate-df08tz66.js → file-df08tz66.js} +0 -0
  733. /package/dist/chunks/{generate-dy18nga0.js → file-dy18nga0.js} +0 -0
  734. /package/dist/chunks/{generate-e5kj55wp.js → file-e5kj55wp.js} +0 -0
  735. /package/dist/chunks/{generate-e73j6tqm.js → file-e73j6tqm.js} +0 -0
  736. /package/dist/chunks/{generate-ec1grn59.js → file-ec1grn59.js} +0 -0
  737. /package/dist/chunks/{generate-eh3zwz77.js → file-eh3zwz77.js} +0 -0
  738. /package/dist/chunks/{generate-emrn6kk6.js → file-emrn6kk6.js} +0 -0
  739. /package/dist/chunks/{generate-f0mxakyp.js → file-f0mxakyp.js} +0 -0
  740. /package/dist/chunks/{generate-f6n9ztr4.js → file-f6n9ztr4.js} +0 -0
  741. /package/dist/chunks/{generate-faypxj3z.js → file-faypxj3z.js} +0 -0
  742. /package/dist/chunks/{generate-fd410y7t.js → file-fd410y7t.js} +0 -0
  743. /package/dist/chunks/{generate-fxgpk5d8.js → file-fxgpk5d8.js} +0 -0
  744. /package/dist/chunks/{generate-g4wezp1m.js → file-g4wezp1m.js} +0 -0
  745. /package/dist/chunks/{generate-g86h250q.js → file-g86h250q.js} +0 -0
  746. /package/dist/chunks/{generate-gebd4c9n.js → file-gebd4c9n.js} +0 -0
  747. /package/dist/chunks/{generate-gftt206x.js → file-gftt206x.js} +0 -0
  748. /package/dist/chunks/{generate-hjbc5kem.js → file-hjbc5kem.js} +0 -0
  749. /package/dist/chunks/{generate-hk9envan.js → file-hk9envan.js} +0 -0
  750. /package/dist/chunks/{generate-hrnqkpcd.js → file-hrnqkpcd.js} +0 -0
  751. /package/dist/chunks/{generate-j2ntwpah.js → file-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{generate-j5zkgpj8.js → file-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{generate-jr7sbwjy.js → file-jr7sbwjy.js} +0 -0
  754. /package/dist/chunks/{generate-jwfs4k6c.js → file-jwfs4k6c.js} +0 -0
  755. /package/dist/chunks/{generate-jzg6c2d5.js → file-jzg6c2d5.js} +0 -0
  756. /package/dist/chunks/{generate-mp448xyj.js → file-mp448xyj.js} +0 -0
  757. /package/dist/chunks/{generate-msx8hqn2.js → file-msx8hqn2.js} +0 -0
  758. /package/dist/chunks/{generate-n05xt0ee.js → file-n05xt0ee.js} +0 -0
  759. /package/dist/chunks/{generate-n3j8tn72.js → file-n3j8tn72.js} +0 -0
  760. /package/dist/chunks/{generate-njntx4h6.js → file-njntx4h6.js} +0 -0
  761. /package/dist/chunks/{generate-q3sfg36h.js → file-q3sfg36h.js} +0 -0
  762. /package/dist/chunks/{generate-q74kybfr.js → file-q74kybfr.js} +0 -0
  763. /package/dist/chunks/{generate-qaymkmh1.js → file-qaymkmh1.js} +0 -0
  764. /package/dist/chunks/{generate-qb87gjwd.js → file-qb87gjwd.js} +0 -0
  765. /package/dist/chunks/{generate-qfa1cgps.js → file-qfa1cgps.js} +0 -0
  766. /package/dist/chunks/{generate-qrg20bc0.js → file-qrg20bc0.js} +0 -0
  767. /package/dist/chunks/{generate-rcb2kzg1.js → file-rcb2kzg1.js} +0 -0
  768. /package/dist/chunks/{generate-sdp7kfr6.js → file-sdp7kfr6.js} +0 -0
  769. /package/dist/chunks/{generate-sk3qaz4a.js → file-sk3qaz4a.js} +0 -0
  770. /package/dist/chunks/{generate-ssg3fenm.js → file-ssg3fenm.js} +0 -0
  771. /package/dist/chunks/{generate-twg0f83k.js → file-twg0f83k.js} +0 -0
  772. /package/dist/chunks/{generate-w803qqfp.js → file-w803qqfp.js} +0 -0
  773. /package/dist/chunks/{generate-wer8tq1h.js → file-wer8tq1h.js} +0 -0
  774. /package/dist/chunks/{generate-wtztk69x.js → file-wtztk69x.js} +0 -0
  775. /package/dist/chunks/{generate-x0ckcb58.js → file-x0ckcb58.js} +0 -0
  776. /package/dist/chunks/{generate-x61499pn.js → file-x61499pn.js} +0 -0
  777. /package/dist/chunks/{generate-y44na4kk.js → file-y44na4kk.js} +0 -0
  778. /package/dist/chunks/{generate-y8cydn3q.js → file-y8cydn3q.js} +0 -0
  779. /package/dist/chunks/{generate-ygaqb7jw.js → file-ygaqb7jw.js} +0 -0
  780. /package/dist/chunks/{generate-ym463w8f.js → file-ym463w8f.js} +0 -0
  781. /package/dist/chunks/{generate-z9919s4g.js → file-z9919s4g.js} +0 -0
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  Key3,
3
3
  removed2,
4
- make20,
4
+ make19,
5
5
  diffByKey2
6
- } from "./generate-rhjbct0v.js";
6
+ } from "./file-t550f9t1.js";
7
7
  import {
8
8
  Summary2,
9
9
  summarize2,
10
10
  namespaceLine2
11
- } from "./generate-3fc6dm20.js";
11
+ } from "./file-3fc6dm20.js";
12
12
  import {
13
13
  __export
14
- } from "./generate-9rqn6x4v.js";
14
+ } from "./file-9rqn6x4v.js";
15
15
 
16
16
  // src/codemode/instructions.ts
17
17
  var exports_instructions3 = {};
@@ -115,7 +115,7 @@ var key = Key3.make("core/codemode");
115
115
  var codec = Schema.toCodecJson(Summary2);
116
116
  var make13 = (inventory) => {
117
117
  const catalog = inventory === undefined ? removed2 : summarize2(inventory);
118
- return make20({
118
+ return make19({
119
119
  key,
120
120
  codec,
121
121
  read: Effect.succeed(catalog),
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  __export
3
- } from "./generate-9rqn6x4v.js";
3
+ } from "./file-9rqn6x4v.js";
4
4
 
5
5
  // src/session/runner/index.ts
6
6
  var exports_runner = {};
7
7
  __export(exports_runner, {
8
8
  DrainResult: () => DrainResult2,
9
- Service: () => Service33,
9
+ Service: () => Service47,
10
10
  SessionRunner: () => exports_runner
11
11
  });
12
12
  import { Context, Data } from "effect";
13
13
  var DrainResult2 = Data.taggedEnum();
14
14
 
15
- class Service33 extends Context.Service()("@opencode/SessionRunner") {
15
+ class Service47 extends Context.Service()("@opencode/SessionRunner") {
16
16
  }
17
17
 
18
- export { DrainResult2, Service33, exports_runner };
18
+ export { DrainResult2, Service47, exports_runner };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./generate-m27pyyd3.js";
4
+ } from "./file-84tssp1s.js";
5
5
 
6
6
  // src/plugin/provider/zenmux.ts
7
7
  import { Effect } from "effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./generate-9rqn6x4v.js";
3
+ } from "./file-9rqn6x4v.js";
4
4
 
5
5
  // src/database/sqlite.ts
6
6
  var exports_sqlite = {};
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./generate-922hggd3.js";
3
+ } from "./file-922hggd3.js";
4
4
  import {
5
- Service65,
6
- node69
7
- } from "./generate-rqac2h8p.js";
5
+ Service72,
6
+ node76
7
+ } from "./file-6bg31a94.js";
8
8
  import {
9
- Service53,
10
- node57
11
- } from "./generate-v0k42p31.js";
9
+ Service44,
10
+ node48
11
+ } from "./file-e6g776ht.js";
12
12
  import {
13
13
  isHome2,
14
14
  names3
15
- } from "./generate-tcezcvh9.js";
15
+ } from "./file-tcezcvh9.js";
16
16
  import {
17
17
  __export
18
- } from "./generate-9rqn6x4v.js";
18
+ } from "./file-9rqn6x4v.js";
19
19
 
20
20
  // src/filesystem/search.ts
21
21
  var exports_search = {};
22
22
  __export(exports_search, {
23
23
  FileSystemSearch: () => exports_search,
24
24
  Options: () => Options5,
25
- Service: () => Service43,
25
+ Service: () => Service37,
26
26
  configured: () => configured5,
27
27
  fffLayer: () => fffLayer2,
28
- layer: () => layer17,
29
- node: () => node46,
28
+ layer: () => layer16,
29
+ node: () => node41,
30
30
  ripgrepLayer: () => ripgrepLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -39,7 +39,7 @@ var Options5 = Schema.Struct({
39
39
  fff: Schema.optional(Schema.Boolean)
40
40
  });
41
41
 
42
- class Service43 extends Context.Service()("@opencode/FileSystem/Search") {
42
+ class Service37 extends Context.Service()("@opencode/FileSystem/Search") {
43
43
  }
44
44
  var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
45
45
  function emptyIndex() {
@@ -58,9 +58,9 @@ function search(index, input) {
58
58
  });
59
59
  });
60
60
  }
61
- var ripgrepLayer2 = Layer.effect(Service43, Effect.gen(function* () {
62
- const location = yield* Service65;
63
- const ripgrep = yield* Service53;
61
+ var ripgrepLayer2 = Layer.effect(Service37, Effect.gen(function* () {
62
+ const location = yield* Service72;
63
+ const ripgrep = yield* Service44;
64
64
  const scope = yield* Scope.Scope;
65
65
  const clock = yield* Clock.Clock;
66
66
  const home = isHome2(location.directory);
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service43, Effect.gen(function* () {
105
105
  Deferred.doneUnsafe(attempt, exit);
106
106
  })), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
107
107
  });
108
- return Service43.of({
108
+ return Service37.of({
109
109
  find: (input) => Effect.gen(function* () {
110
110
  yield* refresh;
111
111
  return search(index, input);
112
112
  })
113
113
  });
114
114
  }));
115
- var fffLayer2 = Layer.effect(Service43, Effect.gen(function* () {
116
- const location = yield* Service65;
115
+ var fffLayer2 = Layer.effect(Service37, Effect.gen(function* () {
116
+ const location = yield* Service72;
117
117
  const result = yield* Effect.try({
118
118
  try: () => Fff.create({
119
119
  basePath: location.directory,
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service43, Effect.gen(function* () {
126
126
  if (!result?.ok) {
127
127
  if (result)
128
128
  yield* Effect.logWarning("failed to initialize fff", { error: result.error });
129
- return Service43.of({
129
+ return Service37.of({
130
130
  find: () => Effect.succeed([])
131
131
  });
132
132
  }
133
133
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
134
- return Service43.of({
134
+ return Service37.of({
135
135
  find: (input) => Effect.sync(() => {
136
136
  const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
137
137
  const items = (() => {
@@ -174,8 +174,8 @@ var fffLayer2 = Layer.effect(Service43, Effect.gen(function* () {
174
174
  })
175
175
  });
176
176
  }));
177
- var layer17 = (options) => Layer.unwrap(Effect.gen(function* () {
178
- const location = yield* Service65;
177
+ var layer16 = (options) => Layer.unwrap(Effect.gen(function* () {
178
+ const location = yield* Service72;
179
179
  if (location.workspaceID)
180
180
  return ripgrepLayer2;
181
181
  if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
@@ -183,8 +183,8 @@ var layer17 = (options) => Layer.unwrap(Effect.gen(function* () {
183
183
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
184
184
  }));
185
185
  function configured5(options) {
186
- return makeLocationNode({ service: Service43, layer: layer17(options), deps: [node69, node57] });
186
+ return makeLocationNode({ service: Service37, layer: layer16(options), deps: [node76, node48] });
187
187
  }
188
- var node46 = configured5();
188
+ var node41 = configured5();
189
189
 
190
- export { Options5, Service43, ripgrepLayer2, fffLayer2, layer17, configured5, node46, exports_search };
190
+ export { Options5, Service37, ripgrepLayer2, fffLayer2, layer16, configured5, node41, exports_search };
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service65,
3
- node69
4
- } from "./generate-rqac2h8p.js";
2
+ Service72,
3
+ node76
4
+ } from "./file-6bg31a94.js";
5
5
  import {
6
6
  create3
7
- } from "./generate-kg06axw8.js";
7
+ } from "./file-kg06axw8.js";
8
8
  import {
9
9
  __export
10
- } from "./generate-9rqn6x4v.js";
10
+ } from "./file-9rqn6x4v.js";
11
11
 
12
12
  // src/formatter.ts
13
13
  var exports_formatter2 = {};
14
14
  __export(exports_formatter2, {
15
15
  Formatter: () => exports_formatter2,
16
- Service: () => Service15,
17
- node: () => node18
16
+ Service: () => Service40,
17
+ node: () => node44
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { ChildProcess } from "effect/unstable/process";
21
21
  import path from "path";
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { AppProcess } from "@opencode/util/process";
24
- class Service15 extends Context.Service()("@opencode/v2/Formatter") {
24
+ class Service40 extends Context.Service()("@opencode/v2/Formatter") {
25
25
  }
26
- var layer = Layer.effect(Service15, Effect.gen(function* () {
27
- const location = yield* Service65;
26
+ var layer = Layer.effect(Service40, Effect.gen(function* () {
27
+ const location = yield* Service72;
28
28
  const processes = yield* AppProcess.Service;
29
29
  const commands = new WeakMap;
30
30
  const state = create3({
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
85
85
  }
86
86
  return false;
87
87
  });
88
- return Service15.of({ transform: state.transform, reload: state.reload, file });
88
+ return Service40.of({ transform: state.transform, reload: state.reload, file });
89
89
  }));
90
- var node18 = makeLocationNode({
91
- service: Service15,
90
+ var node44 = makeLocationNode({
91
+ service: Service40,
92
92
  layer,
93
- deps: [node69, AppProcess.node]
93
+ deps: [node76, AppProcess.node]
94
94
  });
95
95
 
96
- export { Service15, node18, exports_formatter2 };
96
+ export { Service40, node44, exports_formatter2 };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./generate-ztcv1eyd.js";
2
+ Service78,
3
+ node82
4
+ } from "./file-0kzzmtkd.js";
5
5
  import {
6
6
  create3
7
- } from "./generate-kg06axw8.js";
7
+ } from "./file-kg06axw8.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./generate-2xsd6cxc.js";
10
+ } from "./file-x5df1stp.js";
11
11
  import {
12
12
  __export
13
- } from "./generate-9rqn6x4v.js";
13
+ } from "./file-9rqn6x4v.js";
14
14
 
15
15
  // src/skill.ts
16
16
  var exports_skill5 = {};
17
17
  __export(exports_skill5, {
18
18
  DirectorySource: () => DirectorySource2,
19
19
  EmbeddedSource: () => EmbeddedSource2,
20
- Event: () => Event6,
21
- ID: () => ID5,
20
+ Event: () => Event9,
21
+ ID: () => ID4,
22
22
  Info: () => Info8,
23
23
  Name: () => Name2,
24
24
  Service: () => Service39,
25
25
  Skill: () => exports_skill5,
26
- Source: () => Source3,
26
+ Source: () => Source4,
27
27
  UrlSource: () => UrlSource2,
28
28
  available: () => available2,
29
- node: () => node42,
29
+ node: () => node43,
30
30
  prepare: () => prepare3,
31
31
  toModelOutput: () => toModelOutput3
32
32
  });
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import path from "path";
35
35
  import { Context, Effect, Layer } from "effect";
36
36
  import { Skill } from "@opencode/schema/skill";
37
- import { Event as Event6 } from "@opencode/schema/skill";
37
+ import { Event as Event9 } from "@opencode/schema/skill";
38
38
  var DirectorySource2 = Skill.DirectorySource;
39
39
  var UrlSource2 = Skill.UrlSource;
40
40
  var EmbeddedSource2 = Skill.EmbeddedSource;
41
- var Source3 = Skill.Source;
41
+ var Source4 = Skill.Source;
42
42
  var Info8 = Skill.Info;
43
- var ID5 = Skill.ID;
43
+ var ID4 = Skill.ID;
44
44
  var Name2 = Skill.Name;
45
45
  var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
46
46
  var toModelOutput3 = (skill, files) => {
@@ -74,25 +74,25 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
74
74
  class Service39 extends Context.Service()("@opencode/Skill") {
75
75
  }
76
76
  var layer = Layer.effect(Service39, Effect.gen(function* () {
77
- const bus = yield* Service79;
77
+ const bus = yield* Service78;
78
78
  const state = create3({
79
79
  name: "skill",
80
80
  initial: () => ({ skills: new Map }),
81
81
  editor: (editor) => ({
82
82
  list: () => Array.from(editor.skills.values()),
83
- get: (id) => editor.skills.get(ID5.make(id)),
83
+ get: (id) => editor.skills.get(ID4.make(id)),
84
84
  add: (skill) => {
85
85
  editor.skills.set(skill.id, { ...skill });
86
86
  },
87
87
  update: (id, update) => {
88
- const current = editor.skills.get(ID5.make(id));
88
+ const current = editor.skills.get(ID4.make(id));
89
89
  if (!current)
90
90
  return;
91
91
  update(current);
92
- current.id = ID5.make(id);
92
+ current.id = ID4.make(id);
93
93
  },
94
94
  remove: (id) => {
95
- editor.skills.delete(ID5.make(id));
95
+ editor.skills.delete(ID4.make(id));
96
96
  }
97
97
  }),
98
98
  notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
108
108
  })
109
109
  });
110
110
  }));
111
- var node42 = makeLocationNode({
111
+ var node43 = makeLocationNode({
112
112
  service: Service39,
113
113
  layer,
114
- deps: [node84]
114
+ deps: [node82]
115
115
  });
116
116
 
117
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info8, ID5, Name2, available2, toModelOutput3, prepare3, Service39, node42, exports_skill5, Event6 };
117
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info8, ID4, Name2, available2, toModelOutput3, prepare3, Service39, node43, exports_skill5, Event9 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./generate-qfa1cgps.js";
3
+ } from "./file-qfa1cgps.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./generate-dj2t23y0.js";
6
+ } from "./file-8p4f9s12.js";
7
7
 
8
8
  // src/permission/sql.ts
9
9
  import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service79
3
- } from "./generate-ztcv1eyd.js";
2
+ Service78
3
+ } from "./file-0kzzmtkd.js";
4
4
  import {
5
- Service77
6
- } from "./generate-09atk14q.js";
5
+ Service73
6
+ } from "./file-yc3z3e63.js";
7
7
  import {
8
8
  group2,
9
9
  batch2,
10
10
  shutdown2,
11
11
  inherit2
12
- } from "./generate-kg06axw8.js";
12
+ } from "./file-kg06axw8.js";
13
13
  import {
14
- Service22,
14
+ Service28,
15
15
  awaitActivation2
16
- } from "./generate-vnkjks7b.js";
16
+ } from "./file-ht5y0zrb.js";
17
17
  import {
18
18
  make11,
19
19
  requirements3,
20
20
  storage2
21
- } from "./generate-ta4djbce.js";
21
+ } from "./file-9ay0erd8.js";
22
22
  import {
23
23
  __export
24
- } from "./generate-9rqn6x4v.js";
24
+ } from "./file-9rqn6x4v.js";
25
25
 
26
26
  // src/plugin.ts
27
27
  var exports_plugin2 = {};
@@ -30,7 +30,7 @@ __export(exports_plugin2, {
30
30
  ID: () => ID3,
31
31
  Info: () => Info3,
32
32
  Plugin: () => exports_plugin2,
33
- Service: () => Service22,
33
+ Service: () => Service28,
34
34
  Source: () => Source2,
35
35
  State: () => State2,
36
36
  awaitActivation: () => awaitActivation2,
@@ -40,9 +40,9 @@ import { Event as Event4, ID as ID3, Info as Info3, Source as Source2, State as
40
40
  import { Plugin } from "@opencode/schema/plugin";
41
41
  import { Node } from "@opencode/util/effect/app-node";
42
42
  import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
43
- var layer = Layer.effect(Service22, Effect.gen(function* () {
44
- const bus = yield* Service79;
45
- const kv = yield* Service77;
43
+ var layer = Layer.effect(Service28, Effect.gen(function* () {
44
+ const bus = yield* Service78;
45
+ const kv = yield* Service73;
46
46
  const scope = yield* Scope.make();
47
47
  const active = new Map;
48
48
  const lock = Semaphore.makeUnsafe(1);
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
205
205
  yield* shutdown2(Scope.close(scope, exit));
206
206
  }));
207
207
  yield* Effect.addFinalizer(close);
208
- return Service22.of({
208
+ return Service28.of({
209
209
  activate,
210
210
  close,
211
211
  awaitActivation: ready.await,
@@ -223,7 +223,7 @@ function slotInfo(slot) {
223
223
  };
224
224
  }
225
225
  var node19 = Node.makeLocationNode({
226
- service: Service22,
226
+ service: Service28,
227
227
  layer,
228
228
  deps: [requirements3]
229
229
  });
@@ -1,47 +1,47 @@
1
1
  import {
2
- ID8,
3
- Service61
4
- } from "./generate-7pfda458.js";
2
+ ID9,
3
+ Service58
4
+ } from "./file-p7r5e3re.js";
5
5
  import {
6
6
  latest2,
7
- Service50
8
- } from "./generate-zpja4yre.js";
7
+ Service65
8
+ } from "./file-wh05710z.js";
9
9
  import {
10
10
  SessionSchema2
11
- } from "./generate-mf9m2v67.js";
11
+ } from "./file-3yjg5mh2.js";
12
12
  import {
13
- Service37
14
- } from "./generate-zmcvkbyh.js";
13
+ Service51
14
+ } from "./file-zn15gz72.js";
15
15
  import {
16
16
  evaluate2,
17
- Service58
18
- } from "./generate-2xsd6cxc.js";
17
+ Service55
18
+ } from "./file-x5df1stp.js";
19
19
  import {
20
20
  Service17
21
- } from "./generate-b1xvncj7.js";
21
+ } from "./file-3kt1zrpp.js";
22
22
  import {
23
23
  NO_TEXT2
24
- } from "./generate-x1ezjp6w.js";
24
+ } from "./file-x1ezjp6w.js";
25
25
  import {
26
- make10
27
- } from "./generate-k53abcyj.js";
26
+ make7
27
+ } from "./file-zh30k3px.js";
28
28
  import {
29
29
  __export
30
- } from "./generate-9rqn6x4v.js";
30
+ } from "./file-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/subagent.ts
33
33
  var exports_subagent = {};
34
34
  __export(exports_subagent, {
35
- Input: () => Input9,
36
- Output: () => Output7,
37
- Plugin: () => Plugin10,
35
+ Input: () => Input2,
36
+ Output: () => Output2,
37
+ Plugin: () => Plugin20,
38
38
  SubagentTool: () => exports_subagent,
39
- description: () => description4,
40
- name: () => name9
39
+ description: () => description2,
40
+ name: () => name2
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
- var name9 = "subagent";
44
+ var name2 = "subagent";
45
45
  var backgroundResult = (sessionID) => ({
46
46
  sessionID,
47
47
  status: "running",
@@ -52,7 +52,7 @@ var backgroundResult = (sessionID) => ({
52
52
  ].join(`
53
53
  `)
54
54
  });
55
- var Input9 = Schema.Struct({
55
+ var Input2 = Schema.Struct({
56
56
  agent: Schema.String.annotate({ description: "The type of specialized agent to use for this task" }),
57
57
  description: Schema.String.annotate({ description: "A short 3-5 word label for the task, displayed to the user" }),
58
58
  prompt: Schema.String.annotate({ description: "The task for the subagent to perform" }),
@@ -63,12 +63,12 @@ var Input9 = Schema.Struct({
63
63
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
64
64
  })
65
65
  });
66
- var Output7 = Schema.Struct({
66
+ var Output2 = Schema.Struct({
67
67
  sessionID: SessionSchema2.ID,
68
68
  status: Schema.Literals(["completed", "running"]),
69
69
  output: Schema.String
70
70
  });
71
- var description4 = [
71
+ var description2 = [
72
72
  "Spawns an agent in a child session to work on the specified task.",
73
73
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
74
74
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -77,21 +77,21 @@ var description4 = [
77
77
  "Use background only for independent work that can run while you continue elsewhere."
78
78
  ].join(`
79
79
  `);
80
- var Plugin10 = {
80
+ var Plugin20 = {
81
81
  id: "opencode.tool.subagent",
82
82
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
83
83
  const sessions = yield* Service17;
84
- const jobs = yield* Service37;
85
- const agents = yield* Service61;
86
- const config = yield* Service50;
87
- const permission = yield* Service58;
88
- const subagents = yield* make10;
84
+ const jobs = yield* Service51;
85
+ const agents = yield* Service58;
86
+ const config = yield* Service65;
87
+ const permission = yield* Service55;
88
+ const subagents = yield* make7;
89
89
  yield* ctx.tool.transform((editor) => editor.add({
90
- name: name9,
90
+ name: name2,
91
91
  options: { codemode: false },
92
- description: description4,
93
- input: Input9,
94
- output: Output7,
92
+ description: description2,
93
+ input: Input2,
94
+ output: Output2,
95
95
  execute: (input, context) => Effect.gen(function* () {
96
96
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
97
97
  let current = parent;
@@ -111,7 +111,7 @@ var Plugin10 = {
111
111
  if (agent.mode === "primary")
112
112
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
113
113
  yield* permission.assert({
114
- action: name9,
114
+ action: name2,
115
115
  resources: [agent.id],
116
116
  save: [agent.id],
117
117
  sessionID: context.sessionID,
@@ -134,7 +134,7 @@ var Plugin10 = {
134
134
  const child = existing ?? (yield* sessions.create({
135
135
  parentID: context.sessionID,
136
136
  title: input.description,
137
- agent: ID8.make(input.agent),
137
+ agent: ID9.make(input.agent),
138
138
  model
139
139
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
140
140
  const background = input.background === true;
@@ -184,13 +184,13 @@ ${output.output}
184
184
  })))
185
185
  })).pipe(Effect.orDie);
186
186
  yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
187
- const tool = event.tools[name9];
187
+ const tool = event.tools[name2];
188
188
  if (!tool)
189
189
  return;
190
190
  const selected = yield* agents.resolve(event.agent);
191
191
  if (!selected)
192
192
  return;
193
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name9, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
193
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name2, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
194
194
  if (available.length === 0)
195
195
  return;
196
196
  tool.description = [
@@ -204,4 +204,4 @@ ${output.output}
204
204
  })
205
205
  };
206
206
 
207
- export { name9, Input9, Output7, description4, Plugin10, exports_subagent };
207
+ export { name2, Input2, Output2, description2, Plugin20, exports_subagent };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  SQLiteEffectCountBuilder2
3
- } from "./generate-f0mxakyp.js";
3
+ } from "./file-f0mxakyp.js";
4
4
  import {
5
5
  SQLiteEffectDeleteBase2
6
- } from "./generate-w3wsvvr9.js";
6
+ } from "./file-w3wsvvr9.js";
7
7
  import {
8
8
  SQLiteEffectInsertBuilder2
9
- } from "./generate-7bmhse3q.js";
9
+ } from "./file-7bmhse3q.js";
10
10
  import {
11
11
  SQLiteEffectRelationalQueryBuilder2
12
- } from "./generate-cf4snx6d.js";
12
+ } from "./file-cf4snx6d.js";
13
13
  import {
14
14
  SQLiteEffectRaw2
15
- } from "./generate-822emrt2.js";
15
+ } from "./file-822emrt2.js";
16
16
  import {
17
17
  SQLiteEffectSelectBuilder2
18
- } from "./generate-wd87259q.js";
18
+ } from "./file-wd87259q.js";
19
19
  import {
20
20
  SQLiteEffectUpdateBuilder2
21
- } from "./generate-m9w0rfyh.js";
21
+ } from "./file-m9w0rfyh.js";
22
22
 
23
23
  // src/database/drizzle/sqlite-core/effect/db.ts
24
24
  import { Effect } from "effect";