@opencode/core 0.0.0-dev-19588 → 0.0.0-dev-19589

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 (788) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  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 +72 -72
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{repository-4etetb1j.js → generate-00rza3cb.js} +25 -25
  9. package/dist/chunks/{repository-haj0byqn.js → generate-02b4kzbq.js} +4 -4
  10. package/dist/chunks/{repository-v7eqyjmy.js → generate-08xvefmx.js} +5 -5
  11. package/dist/chunks/{repository-8028yanh.js → generate-0bes2rj4.js} +19 -19
  12. package/dist/chunks/{repository-9whdk0qy.js → generate-0n8ns8gx.js} +13 -13
  13. package/dist/chunks/{repository-0paq2nw3.js → generate-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{repository-0q0f95c6.js → generate-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{repository-74jx9dmy.js → generate-0zzb6e4a.js} +43 -43
  16. package/dist/chunks/{repository-d4shdzcf.js → generate-10sykk4e.js} +24 -24
  17. package/dist/chunks/{repository-a8ve50ng.js → generate-12v0qx6f.js} +3 -3
  18. package/dist/chunks/{repository-hx4p0gz5.js → generate-16c77kcq.js} +26 -26
  19. package/dist/chunks/{repository-1dazxqgg.js → generate-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{repository-j4z2qnee.js → generate-1msf33w2.js} +11 -11
  21. package/dist/chunks/{repository-5a78h29x.js → generate-1qezbnxe.js} +10 -10
  22. package/dist/chunks/{repository-jydw0f72.js → generate-1wys6wms.js} +23 -23
  23. package/dist/chunks/{repository-zfdedwf3.js → generate-20h7pzdp.js} +36 -36
  24. package/dist/chunks/{repository-21r38tys.js → generate-21r38tys.js} +1 -1
  25. package/dist/chunks/{repository-2402vzrj.js → generate-2402vzrj.js} +1 -1
  26. package/dist/chunks/{repository-m2weea1a.js → generate-24j5m5j2.js} +43 -43
  27. package/dist/chunks/{repository-2a5m3afh.js → generate-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{repository-y6f0p4jw.js → generate-2f04pwep.js} +3 -3
  29. package/dist/chunks/{repository-pa8pe2x7.js → generate-2hyh68ab.js} +8 -8
  30. package/dist/chunks/{repository-2k8khapm.js → generate-2k8khapm.js} +1 -1
  31. package/dist/chunks/{repository-mhfnevvs.js → generate-2kqh0ztw.js} +20 -20
  32. package/dist/chunks/{repository-te29s6sc.js → generate-2xfe5qwb.js} +12 -12
  33. package/dist/chunks/{repository-wz0ehf68.js → generate-32nvexxh.js} +45 -45
  34. package/dist/chunks/{repository-7qpszgx3.js → generate-37qnb1a0.js} +20 -20
  35. package/dist/chunks/{repository-cyhxv4yp.js → generate-3avmt772.js} +10 -10
  36. package/dist/chunks/{repository-swh40x6v.js → generate-3dd05w7p.js} +12 -12
  37. package/dist/chunks/{repository-3fc6dm20.js → generate-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{repository-6a88x1v8.js → generate-3fqwgmhf.js} +13 -13
  39. package/dist/chunks/{repository-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{repository-3smtnn6g.js → generate-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{repository-3tvqynh2.js → generate-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{repository-deanft1t.js → generate-3w8fp492.js} +32 -32
  43. package/dist/chunks/{repository-8fcwscdw.js → generate-3x5jgmm4.js} +28 -28
  44. package/dist/chunks/{repository-c9wtqnwj.js → generate-45tnwva7.js} +11 -11
  45. package/dist/chunks/{repository-swc0nz61.js → generate-4d8bqxce.js} +15 -15
  46. package/dist/chunks/{repository-6cbvf3zm.js → generate-4dpyenvm.js} +44 -44
  47. package/dist/chunks/{repository-sznyev98.js → generate-4drgpw32.js} +5 -5
  48. package/dist/chunks/{repository-h13rq2ha.js → generate-4nyc7g3g.js} +39 -39
  49. package/dist/chunks/generate-4v7qdvcn.js +18 -0
  50. package/dist/chunks/{repository-m12fw1ht.js → generate-50kfk4rp.js} +32 -32
  51. package/dist/chunks/{repository-56gdpj1q.js → generate-56gdpj1q.js} +2 -2
  52. package/dist/chunks/{repository-eztf1wzg.js → generate-56mz75yv.js} +1 -1
  53. package/dist/chunks/{repository-5daktx2q.js → generate-5daktx2q.js} +1 -1
  54. package/dist/chunks/{repository-xqax0h2z.js → generate-5nayf2hz.js} +23 -23
  55. package/dist/chunks/{repository-5t3nmthw.js → generate-5t3nmthw.js} +2 -2
  56. package/dist/chunks/{repository-vpwejdc6.js → generate-5xyazqxs.js} +15 -15
  57. package/dist/chunks/{repository-p807tth1.js → generate-6275my5r.js} +16 -16
  58. package/dist/chunks/{repository-1e17p1v6.js → generate-62en8r1m.js} +17 -17
  59. package/dist/chunks/{repository-1bvekr7f.js → generate-63xctefh.js} +6 -6
  60. package/dist/chunks/{repository-669tq793.js → generate-669tq793.js} +1 -1
  61. package/dist/chunks/{repository-r33ff4dw.js → generate-6anwy9fs.js} +6 -6
  62. package/dist/chunks/{repository-2d802nvw.js → generate-6f9y8hff.js} +1 -1
  63. package/dist/chunks/{repository-6msgmcgs.js → generate-6msgmcgs.js} +1 -1
  64. package/dist/chunks/{repository-1jv4xg0p.js → generate-6q78kr02.js} +33 -33
  65. package/dist/chunks/{repository-j5xt7epv.js → generate-6qqtbadc.js} +12 -12
  66. package/dist/chunks/{repository-t9cms4w2.js → generate-6t8hmcr4.js} +11 -11
  67. package/dist/chunks/{repository-71q4at8m.js → generate-71q4at8m.js} +1 -1
  68. package/dist/chunks/{repository-5892jdtn.js → generate-73t188jy.js} +8 -8
  69. package/dist/chunks/{repository-jwttr378.js → generate-76awjvz1.js} +44 -44
  70. package/dist/chunks/{repository-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
  71. package/dist/chunks/{repository-4j90697n.js → generate-7g5fcwbq.js} +31 -31
  72. package/dist/chunks/{repository-s8zy8myc.js → generate-7gvwkz6m.js} +5 -5
  73. package/dist/chunks/{repository-e5xpd6yj.js → generate-7p797550.js} +6 -6
  74. package/dist/chunks/{repository-8c7y8dn0.js → generate-7pvxdgd3.js} +5 -5
  75. package/dist/chunks/{repository-6jdhkm56.js → generate-7r6j96x8.js} +17 -17
  76. package/dist/chunks/{repository-206yk4e9.js → generate-7wce90dj.js} +4 -4
  77. package/dist/chunks/{repository-473n3n7b.js → generate-7ybm1f9d.js} +4 -4
  78. package/dist/chunks/{repository-hqjg1cx1.js → generate-81swgkk7.js} +9 -9
  79. package/dist/chunks/{repository-w4axh9wz.js → generate-87deq66t.js} +6 -6
  80. package/dist/chunks/{repository-x20sjj3e.js → generate-87pnyk16.js} +44 -44
  81. package/dist/chunks/{repository-592a4gpn.js → generate-8ak0x4nb.js} +18 -18
  82. package/dist/chunks/{repository-8d7r5vzw.js → generate-8d7r5vzw.js} +1 -1
  83. package/dist/chunks/{repository-wx95frst.js → generate-8n3jwev3.js} +13 -13
  84. package/dist/chunks/{repository-8p4f9s12.js → generate-8p4f9s12.js} +2 -2
  85. package/dist/chunks/{repository-peejr10p.js → generate-8vhgkqm3.js} +1 -1
  86. package/dist/chunks/{repository-dht5s97y.js → generate-91nn3y69.js} +9 -9
  87. package/dist/chunks/{repository-pye8sh6e.js → generate-938z9950.js} +8 -8
  88. package/dist/chunks/{repository-sm236kpq.js → generate-9ag79664.js} +11 -11
  89. package/dist/chunks/{repository-5n6hsxyx.js → generate-9crdg4t6.js} +25 -25
  90. package/dist/chunks/{repository-0h00gbcb.js → generate-9ffm2vsk.js} +20 -20
  91. package/dist/chunks/{repository-t3p48s2k.js → generate-9n2nj1bj.js} +11 -11
  92. package/dist/chunks/{repository-jxvsdwym.js → generate-9wewr7va.js} +13 -13
  93. package/dist/chunks/{repository-a1bz86dw.js → generate-a1bz86dw.js} +3 -3
  94. package/dist/chunks/{repository-t5wmzvpv.js → generate-a1z932ek.js} +14 -14
  95. package/dist/chunks/{repository-bmtr48j2.js → generate-a77201cw.js} +6 -6
  96. package/dist/chunks/{repository-1j9stpns.js → generate-a9q879s9.js} +29 -29
  97. package/dist/chunks/{repository-aaet6srn.js → generate-aaet6srn.js} +2 -2
  98. package/dist/chunks/{repository-5dt15a5r.js → generate-am3ejsbr.js} +18 -18
  99. package/dist/chunks/{repository-fahke4hq.js → generate-aqfcjpct.js} +4 -4
  100. package/dist/chunks/{repository-6ht32ya1.js → generate-b0j5wwjs.js} +18 -18
  101. package/dist/chunks/{repository-pjrv1sn1.js → generate-b36s3smy.js} +1 -1
  102. package/dist/chunks/{repository-b6gygkdw.js → generate-b6gygkdw.js} +2 -2
  103. package/dist/chunks/{repository-f9apq077.js → generate-bd774qr3.js} +70 -70
  104. package/dist/chunks/{repository-0kc779ng.js → generate-bfaa1j0f.js} +12 -12
  105. package/dist/chunks/{repository-cq37gk0t.js → generate-bha4atvq.js} +4 -4
  106. package/dist/chunks/{repository-bbarxbyb.js → generate-bjkv1hdp.js} +1 -1
  107. package/dist/chunks/{repository-h6jr292a.js → generate-bjn91642.js} +4 -4
  108. package/dist/chunks/{repository-b6f6xskg.js → generate-bkmwhnwd.js} +7 -7
  109. package/dist/chunks/{repository-fgqgf88m.js → generate-bn8ndby6.js} +15 -15
  110. package/dist/chunks/{repository-e5nv3ght.js → generate-bndc73cn.js} +5 -5
  111. package/dist/chunks/{repository-hm7n6gxm.js → generate-bp49gp0s.js} +16 -16
  112. package/dist/chunks/{repository-52f3envg.js → generate-btvmhe1w.js} +20 -20
  113. package/dist/chunks/{repository-1vnsgk5t.js → generate-bw5dejcj.js} +35 -35
  114. package/dist/chunks/{repository-745ca1rp.js → generate-c4he4ws2.js} +3 -3
  115. package/dist/chunks/{repository-gd0jy5mm.js → generate-c7y10hhw.js} +11 -11
  116. package/dist/chunks/{repository-pgw46sns.js → generate-c7y5nz0h.js} +24 -24
  117. package/dist/chunks/{repository-ky16kd9n.js → generate-cd6ptskk.js} +12 -12
  118. package/dist/chunks/{repository-cfpkc3c9.js → generate-cfpkc3c9.js} +2 -2
  119. package/dist/chunks/{repository-6035qjw6.js → generate-cjq82wfa.js} +11 -11
  120. package/dist/chunks/{repository-aemscjqt.js → generate-cknds85b.js} +20 -20
  121. package/dist/chunks/{repository-pwf15mvc.js → generate-cwkg32z7.js} +4 -4
  122. package/dist/chunks/{repository-cg1ew3t4.js → generate-cyaz419g.js} +3 -3
  123. package/dist/chunks/{repository-drknmmyh.js → generate-d2t1ewjp.js} +9 -9
  124. package/dist/chunks/{repository-x1f4bnb6.js → generate-d4pcbfc2.js} +2 -2
  125. package/dist/chunks/{repository-7a1nds04.js → generate-d8jj1mc6.js} +8 -8
  126. package/dist/chunks/{repository-5qkxfyep.js → generate-dg5bcj4q.js} +6 -6
  127. package/dist/chunks/{repository-t0fxg8b9.js → generate-dj9sq318.js} +5 -5
  128. package/dist/chunks/{repository-zc2xj3qj.js → generate-dq61m4ak.js} +1 -1
  129. package/dist/chunks/{repository-kmbbtncp.js → generate-dvmmef1m.js} +23 -23
  130. package/dist/chunks/{repository-6yp6qgnr.js → generate-e1ffenq0.js} +27 -27
  131. package/dist/chunks/{repository-qjnxxf51.js → generate-e6hmchc5.js} +5 -5
  132. package/dist/chunks/{repository-p2t1ayvx.js → generate-e9bv773h.js} +46 -46
  133. package/dist/chunks/{repository-rhjbct0v.js → generate-eaj1djv9.js} +8 -8
  134. package/dist/chunks/{repository-pxbzt21m.js → generate-eex2agwy.js} +6 -6
  135. package/dist/chunks/{repository-ef5x83kb.js → generate-ef5x83kb.js} +1 -1
  136. package/dist/chunks/{repository-wdhn35hf.js → generate-efy70ew4.js} +9 -9
  137. package/dist/chunks/{repository-16cax9zb.js → generate-ep6z9mt6.js} +8 -8
  138. package/dist/chunks/{repository-tx9qvpbt.js → generate-eraanh1f.js} +2 -2
  139. package/dist/chunks/{repository-0996nyz8.js → generate-esj243wz.js} +9 -9
  140. package/dist/chunks/{repository-etq0c3wd.js → generate-etq0c3wd.js} +1 -1
  141. package/dist/chunks/{repository-r8xr0va3.js → generate-f2n192rq.js} +4 -4
  142. package/dist/chunks/{repository-q9fqv6nm.js → generate-f5k1bfnh.js} +54 -54
  143. package/dist/chunks/{repository-f828m53h.js → generate-f828m53h.js} +2 -2
  144. package/dist/chunks/{repository-51hcmbxq.js → generate-f8epy2bg.js} +8 -8
  145. package/dist/chunks/{repository-kee0d0vv.js → generate-fbbsfk4x.js} +24 -24
  146. package/dist/chunks/{repository-gma6pakk.js → generate-fbv7bwdr.js} +12 -12
  147. package/dist/chunks/{repository-mfeb23pb.js → generate-fg4htv37.js} +23 -23
  148. package/dist/chunks/{repository-g8d3gcyj.js → generate-fm2qvscf.js} +7 -7
  149. package/dist/chunks/{repository-mwdf18ba.js → generate-fmc8few3.js} +37 -37
  150. package/dist/chunks/{repository-qp8nwhvn.js → generate-fntg193g.js} +57 -57
  151. package/dist/chunks/{repository-bgxa3gb8.js → generate-fq9xr2c7.js} +15 -15
  152. package/dist/chunks/{repository-fxbjtjnd.js → generate-fxbjtjnd.js} +1 -1
  153. package/dist/chunks/{repository-t0x5rdq8.js → generate-g3n6es57.js} +9 -9
  154. package/dist/chunks/{repository-2a25p4mv.js → generate-g5hnschj.js} +32 -32
  155. package/dist/chunks/{repository-gs36njwm.js → generate-g8cc633c.js} +45 -45
  156. package/dist/chunks/{repository-gd4qta3r.js → generate-gd4qta3r.js} +1 -1
  157. package/dist/chunks/{repository-yn35vfdn.js → generate-ggtqa3p1.js} +17 -17
  158. package/dist/chunks/{repository-0qevpf4w.js → generate-gxyd59xe.js} +11 -11
  159. package/dist/chunks/{repository-5dwnc6b3.js → generate-gynya4d5.js} +24 -24
  160. package/dist/chunks/{repository-h03wrkyp.js → generate-h03wrkyp.js} +2 -2
  161. package/dist/chunks/{repository-8fsnk1kc.js → generate-h0rjc7hp.js} +10 -10
  162. package/dist/chunks/{repository-h6vf3j39.js → generate-h6vf3j39.js} +1 -1
  163. package/dist/chunks/{repository-w26xsmnw.js → generate-h8bvkk4n.js} +23 -23
  164. package/dist/chunks/{repository-7207rjaj.js → generate-h8c9t6tg.js} +11 -11
  165. package/dist/chunks/{repository-9q22g6vd.js → generate-hatn0rtw.js} +4 -4
  166. package/dist/chunks/{repository-nb1yf551.js → generate-hb0vn0db.js} +28 -28
  167. package/dist/chunks/{repository-r628x9jn.js → generate-hf0cb6zs.js} +28 -28
  168. package/dist/chunks/{repository-bw0vgseb.js → generate-hr5bc81f.js} +8 -8
  169. package/dist/chunks/{repository-rqpczt31.js → generate-hsh8wwzp.js} +18 -18
  170. package/dist/chunks/{repository-nxamnhdf.js → generate-htd8zck5.js} +12 -12
  171. package/dist/chunks/generate-hxyh9mjp.js +247 -0
  172. package/dist/chunks/{repository-1kwjmtsc.js → generate-hy86y6ky.js} +35 -35
  173. package/dist/chunks/{repository-y5ff4yjy.js → generate-j1k42z14.js} +11 -11
  174. package/dist/chunks/{repository-j56e64zr.js → generate-j56e64zr.js} +1 -1
  175. package/dist/chunks/{repository-5ct4k76c.js → generate-j8k25my2.js} +22 -22
  176. package/dist/chunks/{repository-cpn39njb.js → generate-jcww1zet.js} +16 -16
  177. package/dist/chunks/{repository-fmgfnr5t.js → generate-jz915pxj.js} +9 -9
  178. package/dist/chunks/{repository-cxkh8aa2.js → generate-k5qasypg.js} +32 -32
  179. package/dist/chunks/{repository-7s5hb2nx.js → generate-k6yvpnmg.js} +22 -22
  180. package/dist/chunks/{repository-p5q26rjs.js → generate-k94sgdxv.js} +17 -17
  181. package/dist/chunks/{repository-kg06axw8.js → generate-kg06axw8.js} +1 -1
  182. package/dist/chunks/{repository-1zfadm9n.js → generate-knzt4y7a.js} +13 -13
  183. package/dist/chunks/{repository-gay8ct22.js → generate-kpq4kzcn.js} +28 -28
  184. package/dist/chunks/{repository-83wzj7ta.js → generate-kx9vnwq1.js} +3 -3
  185. package/dist/chunks/{repository-2ce9th4e.js → generate-kz8df0x3.js} +173 -173
  186. package/dist/chunks/{repository-1cfwn2bt.js → generate-m2b5h28j.js} +7 -7
  187. package/dist/chunks/{repository-9zpvy9zc.js → generate-m37xfvad.js} +27 -27
  188. package/dist/chunks/{repository-8gxqpgph.js → generate-m70sbz6t.js} +4 -4
  189. package/dist/chunks/{repository-sr7k2y9v.js → generate-m97kazgs.js} +32 -32
  190. package/dist/chunks/{repository-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
  191. package/dist/chunks/{repository-g190xswt.js → generate-magykp64.js} +4 -4
  192. package/dist/chunks/{repository-94d58mvd.js → generate-mb8sdv6y.js} +32 -32
  193. package/dist/chunks/{repository-qkrnz1pz.js → generate-mgkvz3hx.js} +5 -5
  194. package/dist/chunks/{repository-4emwyx28.js → generate-mnxb74j9.js} +92 -92
  195. package/dist/chunks/{repository-1bbkgx8g.js → generate-mvfsc1pv.js} +3 -3
  196. package/dist/chunks/{repository-yyzm5aws.js → generate-mznknh9a.js} +10 -10
  197. package/dist/chunks/{repository-cfv81dax.js → generate-n66sm98c.js} +8 -8
  198. package/dist/chunks/{repository-nphm860s.js → generate-n84h1qjv.js} +18 -18
  199. package/dist/chunks/{repository-dfey964p.js → generate-n9a29wxm.js} +14 -14
  200. package/dist/chunks/{repository-q7cmwac7.js → generate-ngr3dbwj.js} +9 -9
  201. package/dist/chunks/{repository-7gnac2s0.js → generate-nhpb30s9.js} +62 -62
  202. package/dist/chunks/{repository-hjt4xg1x.js → generate-nhy5jxhy.js} +4 -4
  203. package/dist/chunks/{repository-car4fhb7.js → generate-nrcfyptd.js} +19 -19
  204. package/dist/chunks/{repository-ht8esz14.js → generate-nss8rsah.js} +5 -5
  205. package/dist/chunks/{repository-3s8rj46j.js → generate-p37avawd.js} +30 -30
  206. package/dist/chunks/{repository-gaf3dhda.js → generate-p4we2g2j.js} +8 -8
  207. package/dist/chunks/{repository-hgg8kawy.js → generate-p6bpmqk9.js} +11 -11
  208. package/dist/chunks/{repository-msq0jde0.js → generate-paegk39x.js} +4 -4
  209. package/dist/chunks/generate-pgc5v9v9.js +466 -0
  210. package/dist/chunks/{repository-1r601apj.js → generate-pj4yccrm.js} +21 -21
  211. package/dist/chunks/{repository-d50dhb3t.js → generate-pjr7ywh7.js} +9 -9
  212. package/dist/chunks/{repository-pjvnvgmy.js → generate-pjvnvgmy.js} +1 -1
  213. package/dist/chunks/{repository-pknna89w.js → generate-pknna89w.js} +1 -1
  214. package/dist/chunks/{repository-6gfqk85e.js → generate-ps1wcy89.js} +28 -28
  215. package/dist/chunks/{repository-hjr4mjkc.js → generate-psckrajw.js} +27 -27
  216. package/dist/chunks/{repository-630f9zf9.js → generate-q178qezn.js} +8 -8
  217. package/dist/chunks/{repository-b1kv8p8w.js → generate-q6wdy971.js} +6 -6
  218. package/dist/chunks/{repository-bfntb90j.js → generate-qfcza57d.js} +9 -9
  219. package/dist/chunks/{repository-qsdy395h.js → generate-qsdy395h.js} +1 -1
  220. package/dist/chunks/{repository-dn0vp9ws.js → generate-r51729b7.js} +6 -6
  221. package/dist/chunks/{repository-mtkf2msq.js → generate-r7w3sbwp.js} +46 -46
  222. package/dist/chunks/{repository-ms3qkpaz.js → generate-r9jh7s6f.js} +14 -14
  223. package/dist/chunks/{repository-r9mregkx.js → generate-r9mregkx.js} +2 -2
  224. package/dist/chunks/{repository-shg3amz7.js → generate-rcap56wv.js} +22 -22
  225. package/dist/chunks/{repository-a8rkycwa.js → generate-rfbpjv35.js} +16 -16
  226. package/dist/chunks/{repository-ewq2135v.js → generate-rkq934e2.js} +24 -24
  227. package/dist/chunks/{repository-n64yq744.js → generate-rmapgh8g.js} +30 -30
  228. package/dist/chunks/{repository-96987kcb.js → generate-s45b13rg.js} +98 -98
  229. package/dist/chunks/{repository-b3pcj4k8.js → generate-s539y83q.js} +34 -34
  230. package/dist/chunks/{repository-h27f8war.js → generate-s5p5f75z.js} +11 -11
  231. package/dist/chunks/{repository-b09hzw3k.js → generate-s8610hey.js} +2 -2
  232. package/dist/chunks/{repository-0dh2v9fk.js → generate-sdvhpjr9.js} +26 -26
  233. package/dist/chunks/{repository-j3ht12x2.js → generate-sjmtbwe8.js} +15 -15
  234. package/dist/chunks/{repository-rjt1dhz0.js → generate-snxqqawc.js} +11 -11
  235. package/dist/chunks/{repository-y5znnrem.js → generate-sqvy6n39.js} +29 -29
  236. package/dist/chunks/{repository-tazgh4e4.js → generate-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{repository-tcezcvh9.js → generate-tcezcvh9.js} +1 -1
  238. package/dist/chunks/{repository-tdstcens.js → generate-tdstcens.js} +1 -1
  239. package/dist/chunks/{repository-gv6a8nnw.js → generate-th5km1p3.js} +5 -5
  240. package/dist/chunks/{repository-tvtrv512.js → generate-tvtrv512.js} +1 -1
  241. package/dist/chunks/{repository-jmr68t6h.js → generate-tx792pd3.js} +5 -5
  242. package/dist/chunks/{repository-3pjcaesv.js → generate-v26dmcdy.js} +11 -11
  243. package/dist/chunks/{repository-dg6ptqm6.js → generate-v7e79jg1.js} +28 -28
  244. package/dist/chunks/{repository-kq7s33qp.js → generate-v7qghhq8.js} +8 -8
  245. package/dist/chunks/{repository-vapde0g8.js → generate-vch9w268.js} +3 -3
  246. package/dist/chunks/{repository-s2t8c8fj.js → generate-vej037r9.js} +4 -4
  247. package/dist/chunks/{repository-veqvce7d.js → generate-veqvce7d.js} +1 -1
  248. package/dist/chunks/{repository-pxhak851.js → generate-vfnexndp.js} +6 -6
  249. package/dist/chunks/{repository-pmr4s4kc.js → generate-vncycja5.js} +4 -4
  250. package/dist/chunks/{repository-vzcthcp8.js → generate-vzcthcp8.js} +1 -1
  251. package/dist/chunks/{repository-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/generate-w4wj1qng.js +26 -0
  253. package/dist/chunks/{repository-dqgjsbg6.js → generate-w6904abx.js} +19 -19
  254. package/dist/chunks/{repository-wd87259q.js → generate-wd87259q.js} +1 -1
  255. package/dist/chunks/{repository-rg7n2a7e.js → generate-whrq6171.js} +47 -47
  256. package/dist/chunks/{repository-vtxfwj71.js → generate-wtnysg9m.js} +5 -5
  257. package/dist/chunks/{repository-hqxaqnsz.js → generate-x0e6qwje.js} +16 -16
  258. package/dist/chunks/{repository-ngs1gmwy.js → generate-x10gc1af.js} +6 -6
  259. package/dist/chunks/{repository-x1ezjp6w.js → generate-x1ezjp6w.js} +1 -1
  260. package/dist/chunks/{repository-k2dherqe.js → generate-x569bdqa.js} +1 -1
  261. package/dist/chunks/{repository-2kesvzjb.js → generate-xa31kddj.js} +13 -13
  262. package/dist/chunks/{repository-5mp00kj1.js → generate-xcpgzh2v.js} +32 -32
  263. package/dist/chunks/{repository-m2d0j7c0.js → generate-xekzrwwc.js} +5 -5
  264. package/dist/chunks/{repository-g2c4pnq1.js → generate-xmwtbrer.js} +4 -4
  265. package/dist/chunks/{repository-qqyxjxre.js → generate-xrv51t12.js} +22 -22
  266. package/dist/chunks/{repository-g8mks886.js → generate-xx7xr3bh.js} +11 -11
  267. package/dist/chunks/{repository-m74ad31j.js → generate-y0h0ync2.js} +11 -11
  268. package/dist/chunks/{repository-y1fvbwt7.js → generate-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{repository-fscyzxmk.js → generate-y33ajj4x.js} +9 -9
  270. package/dist/chunks/{repository-e8x92nmy.js → generate-y587sa4j.js} +7 -7
  271. package/dist/chunks/{repository-y71avatq.js → generate-y71avatq.js} +1 -1
  272. package/dist/chunks/{repository-b6hy6gkz.js → generate-y7wana11.js} +2 -2
  273. package/dist/chunks/{repository-vh329328.js → generate-ye75azwm.js} +17 -17
  274. package/dist/chunks/{repository-d4exv1s8.js → generate-yg4n1b3c.js} +31 -31
  275. package/dist/chunks/{repository-62rpeqaf.js → generate-yg8tzxp7.js} +10 -10
  276. package/dist/chunks/{repository-vjjm1fp8.js → generate-yqar7kj7.js} +11 -11
  277. package/dist/chunks/{repository-fr89gf7f.js → generate-yqfnpkff.js} +25 -25
  278. package/dist/chunks/{repository-yrhqyw5v.js → generate-yrhqyw5v.js} +1 -1
  279. package/dist/chunks/{repository-yrznvahk.js → generate-yrznvahk.js} +2 -2
  280. package/dist/chunks/{repository-3163b9jg.js → generate-yy0bersf.js} +22 -22
  281. package/dist/chunks/{repository-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{repository-z63w68vq.js → generate-z63w68vq.js} +2 -2
  283. package/dist/chunks/{repository-jbdvhc0s.js → generate-z7m2s2v7.js} +20 -20
  284. package/dist/chunks/{repository-zeh9ct20.js → generate-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{repository-y86j32r6.js → generate-zhnshq9c.js} +25 -25
  286. package/dist/chunks/{repository-9j2s9z86.js → generate-znk0r93t.js} +8 -8
  287. package/dist/chunks/{repository-zr2ceqn5.js → generate-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{repository-86agcrtg.js → generate-zwf0y1k1.js} +29 -29
  289. package/dist/chunks/{repository-zxq2ej10.js → generate-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +9 -9
  292. package/dist/codemode/tool.js +2 -2
  293. package/dist/command.js +84 -84
  294. package/dist/config/discovery.js +81 -81
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +19 -19
  297. package/dist/config/plugin/agent.js +119 -119
  298. package/dist/config/plugin/command.js +211 -211
  299. package/dist/config/plugin/compaction.js +159 -159
  300. package/dist/config/plugin/compatibility.js +137 -137
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +120 -120
  303. package/dist/config/plugin/image.js +119 -119
  304. package/dist/config/plugin/instruction.js +89 -89
  305. package/dist/config/plugin/location-watcher.js +121 -121
  306. package/dist/config/plugin/mcp.js +128 -128
  307. package/dist/config/plugin/policy.js +118 -118
  308. package/dist/config/plugin/provider.js +117 -117
  309. package/dist/config/plugin/reference.js +121 -121
  310. package/dist/config/plugin/shell.js +121 -121
  311. package/dist/config/plugin/skill-file.js +101 -101
  312. package/dist/config/plugin/skill.js +140 -140
  313. package/dist/config/plugin/snapshot.js +119 -119
  314. package/dist/config/plugin/source.js +121 -121
  315. package/dist/config/plugin/tool-output.js +121 -121
  316. package/dist/config/plugin/websearch.js +119 -119
  317. package/dist/config/plugin/worktree.js +122 -122
  318. package/dist/config/variable.js +3 -3
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +123 -123
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +84 -84
  323. package/dist/database/database.js +69 -69
  324. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +14 -14
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration.gen.js +48 -48
  388. package/dist/database/migration.js +50 -50
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +78 -78
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +365 -365
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +1 -1
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +92 -92
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +94 -94
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +1 -1
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +73 -73
  412. package/dist/file-access.js +103 -103
  413. package/dist/file-mutation.js +93 -93
  414. package/dist/file-retention.js +1 -1
  415. package/dist/file.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/ignore.js +1 -1
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +225 -225
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +102 -102
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +15 -15
  427. package/dist/filesystem.js +101 -101
  428. package/dist/form.js +85 -85
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +86 -86
  431. package/dist/generate.js +92 -92
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +3 -3
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/id/id.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +356 -356
  457. package/dist/instruction-discovery.js +84 -84
  458. package/dist/instructions/builtins.js +86 -86
  459. package/dist/instructions/index.js +5 -5
  460. package/dist/integration/connection.js +1 -1
  461. package/dist/integration.js +87 -87
  462. package/dist/job.js +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +72 -72
  465. package/dist/location-activity.js +137 -137
  466. package/dist/location-mutation.js +103 -103
  467. package/dist/location-service-map.js +87 -87
  468. package/dist/location-services.js +353 -353
  469. package/dist/location.js +88 -88
  470. package/dist/mcp/client.js +90 -90
  471. package/dist/mcp/index.js +107 -107
  472. package/dist/mcp/instructions.js +126 -126
  473. package/dist/mcp/oauth.js +77 -77
  474. package/dist/mcp/stdio.js +89 -89
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +3 -3
  477. package/dist/model-resolver.js +87 -87
  478. package/dist/model.js +8 -8
  479. package/dist/models-dev.js +87 -87
  480. package/dist/oauth/page.js +1 -1
  481. package/dist/permission/saved.js +81 -81
  482. package/dist/permission/sql.js +5 -5
  483. package/dist/permission.js +112 -112
  484. package/dist/persistent-pty/binary.bun.js +1 -1
  485. package/dist/persistent-pty/daemon.js +1 -1
  486. package/dist/persistent-pty/index.js +87 -87
  487. package/dist/persistent-pty/pty-binding.js +1 -1
  488. package/dist/persistent-pty.js +74 -74
  489. package/dist/plugin/agent.js +101 -101
  490. package/dist/plugin/command.js +98 -98
  491. package/dist/plugin/hooks.js +5 -5
  492. package/dist/plugin/host.js +216 -216
  493. package/dist/plugin/instance.js +5 -5
  494. package/dist/plugin/internal.js +327 -327
  495. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  496. package/dist/plugin/models-dev.js +76 -76
  497. package/dist/plugin/module.js +7 -7
  498. package/dist/plugin/optimize.js +2 -2
  499. package/dist/plugin/plan.js +101 -101
  500. package/dist/plugin/promise.js +1 -1
  501. package/dist/plugin/provider/alibaba.js +2 -2
  502. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  503. package/dist/plugin/provider/azure.js +121 -121
  504. package/dist/plugin/provider/cerebras.js +2 -2
  505. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  506. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  507. package/dist/plugin/provider/cohere.js +2 -2
  508. package/dist/plugin/provider/configured.js +118 -118
  509. package/dist/plugin/provider/digitalocean.js +80 -80
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/gateway.js +2 -2
  513. package/dist/plugin/provider/github-copilot.js +81 -81
  514. package/dist/plugin/provider/gitlab.js +3 -3
  515. package/dist/plugin/provider/google-vertex.js +2 -2
  516. package/dist/plugin/provider/kilo.js +2 -2
  517. package/dist/plugin/provider/llmgateway.js +77 -77
  518. package/dist/plugin/provider/lmstudio.js +121 -121
  519. package/dist/plugin/provider/modal.js +80 -80
  520. package/dist/plugin/provider/nvidia.js +2 -2
  521. package/dist/plugin/provider/ollama.js +121 -121
  522. package/dist/plugin/provider/openai-compatible.js +1 -1
  523. package/dist/plugin/provider/openai.js +79 -79
  524. package/dist/plugin/provider/opencode.js +80 -80
  525. package/dist/plugin/provider/openrouter.js +3 -3
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +77 -77
  528. package/dist/plugin/provider/sap-ai-core.js +3 -3
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  531. package/dist/plugin/provider/venice.js +2 -2
  532. package/dist/plugin/provider/vercel.js +2 -2
  533. package/dist/plugin/provider/vllm.js +121 -121
  534. package/dist/plugin/provider/xai.js +78 -78
  535. package/dist/plugin/provider/zenmux.js +2 -2
  536. package/dist/plugin/provider.js +159 -159
  537. package/dist/plugin/sdk.js +75 -75
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +135 -135
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +346 -346
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/variant.js +4 -4
  544. package/dist/plugin/vcs/git.js +85 -85
  545. package/dist/plugin/vcs/hg.js +85 -85
  546. package/dist/plugin/warming.js +116 -116
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +6 -6
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +2 -2
  551. package/dist/plugin/websearch/parallel.js +8 -8
  552. package/dist/plugin/websearch/tavily.js +6 -6
  553. package/dist/plugin/websearch/tinyfish.js +8 -8
  554. package/dist/plugin.js +221 -221
  555. package/dist/project/schema.js +8 -8
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +89 -89
  558. package/dist/provider.js +7 -7
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/schema.js +1 -1
  561. package/dist/pty/ticket.js +1 -1
  562. package/dist/pty.js +95 -95
  563. package/dist/reference/instructions.js +88 -88
  564. package/dist/reference.js +90 -90
  565. package/dist/repository-cache.js +80 -80
  566. package/dist/repository.js +1 -1
  567. package/dist/ripgrep/binary.js +2 -2
  568. package/dist/ripgrep.js +96 -96
  569. package/dist/rpc.js +85 -85
  570. package/dist/schema.js +1 -1
  571. package/dist/session/command.js +73 -73
  572. package/dist/session/compaction.js +131 -131
  573. package/dist/session/context.js +151 -151
  574. package/dist/session/diff.js +87 -87
  575. package/dist/session/environment.js +5 -5
  576. package/dist/session/error.js +5 -5
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +223 -223
  579. package/dist/session/execution.js +128 -128
  580. package/dist/session/generate.js +150 -150
  581. package/dist/session/history.js +13 -13
  582. package/dist/session/inbox.js +87 -87
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +78 -78
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +96 -96
  587. package/dist/session/message-updater.js +4 -4
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +117 -117
  590. package/dist/session/model-transport.js +9 -9
  591. package/dist/session/move.js +130 -130
  592. package/dist/session/projector.js +85 -85
  593. package/dist/session/prompt.js +104 -104
  594. package/dist/session/provider-context.js +3 -3
  595. package/dist/session/revert.js +89 -89
  596. package/dist/session/run-coordinator.js +3 -3
  597. package/dist/session/runner/index.js +3 -3
  598. package/dist/session/runner/llm.js +228 -228
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +87 -87
  601. package/dist/session/runner/publish-llm-event.js +3 -3
  602. package/dist/session/runner/retry.js +112 -112
  603. package/dist/session/runner/step.js +125 -125
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +5 -5
  606. package/dist/session/session.js +172 -172
  607. package/dist/session/shell.js +134 -134
  608. package/dist/session/skill.js +102 -102
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +74 -74
  611. package/dist/session/store.js +86 -86
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +207 -207
  614. package/dist/session/system-prompt.js +3 -3
  615. package/dist/session/title.js +155 -155
  616. package/dist/session/to-session-error.js +111 -111
  617. package/dist/session/transfer.js +222 -222
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +217 -217
  620. package/dist/shell/parse.js +6 -6
  621. package/dist/shell/result.js +1 -1
  622. package/dist/shell/scan.js +1 -1
  623. package/dist/shell/select.js +7 -7
  624. package/dist/shell.js +134 -134
  625. package/dist/skill/discovery.js +4 -4
  626. package/dist/skill/instructions.js +104 -104
  627. package/dist/skill.js +111 -111
  628. package/dist/snapshot.js +90 -90
  629. package/dist/state.js +1 -1
  630. package/dist/tool/html-markdown.js +1 -1
  631. package/dist/tool/http-body.js +1 -1
  632. package/dist/tool/mcp.js +123 -123
  633. package/dist/tool/plugin/edit.js +119 -119
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +121 -121
  636. package/dist/tool/plugin/grep.js +121 -121
  637. package/dist/tool/plugin/opencode.js +3 -3
  638. package/dist/tool/plugin/patch.js +119 -119
  639. package/dist/tool/plugin/question.js +102 -102
  640. package/dist/tool/plugin/read.js +124 -124
  641. package/dist/tool/plugin/shell.js +216 -216
  642. package/dist/tool/plugin/skill.js +112 -112
  643. package/dist/tool/plugin/subagent.js +218 -218
  644. package/dist/tool/plugin/webfetch.js +109 -109
  645. package/dist/tool/plugin/websearch.js +113 -113
  646. package/dist/tool/plugin/write.js +121 -121
  647. package/dist/tool/read-filesystem.js +97 -97
  648. package/dist/tool/runtime.js +1 -1
  649. package/dist/tool-output.js +8 -8
  650. package/dist/tool.js +13 -13
  651. package/dist/util/error-summary.js +1 -1
  652. package/dist/util/error.js +1 -1
  653. package/dist/util/git-executable.js +2 -2
  654. package/dist/util/iife.js +1 -1
  655. package/dist/util/lazy.js +1 -1
  656. package/dist/util/slug.js +1 -1
  657. package/dist/util/token.js +1 -1
  658. package/dist/util/which.js +1 -1
  659. package/dist/util/wildcard.js +1 -1
  660. package/dist/v1/config/agent.js +5 -5
  661. package/dist/v1/config/attachment.js +4 -4
  662. package/dist/v1/config/command.js +5 -5
  663. package/dist/v1/config/config.js +16 -16
  664. package/dist/v1/config/error.js +2 -2
  665. package/dist/v1/config/formatter.js +5 -5
  666. package/dist/v1/config/layout.js +1 -1
  667. package/dist/v1/config/lsp.js +5 -5
  668. package/dist/v1/config/mcp.js +4 -4
  669. package/dist/v1/config/migrate.js +4 -4
  670. package/dist/v1/config/permission.js +3 -3
  671. package/dist/v1/config/plugin.js +1 -1
  672. package/dist/v1/config/provider-options.js +1 -1
  673. package/dist/v1/config/provider.js +4 -4
  674. package/dist/v1/config/server.js +2 -2
  675. package/dist/v1/config/skills.js +3 -3
  676. package/dist/v1/permission.js +1 -1
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +88 -88
  679. package/dist/websearch.js +81 -81
  680. package/dist/wellknown/plugin.js +75 -75
  681. package/dist/wellknown.js +78 -78
  682. package/dist/workspace/driver.js +5 -5
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +77 -77
  685. package/dist/worktree/directory.js +4 -4
  686. package/dist/worktree/git.js +10 -10
  687. package/dist/worktree/refresh.js +345 -345
  688. package/dist/worktree/sql.js +5 -5
  689. package/dist/worktree.js +93 -93
  690. package/package.json +8 -8
  691. package/dist/chunks/repository-0c6pz7ms.js +0 -466
  692. package/dist/chunks/repository-9zxwq9ha.js +0 -26
  693. package/dist/chunks/repository-ejvrra8h.js +0 -247
  694. package/dist/chunks/repository-jqh9b0xq.js +0 -18
  695. /package/dist/chunks/{repository-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
  696. /package/dist/chunks/{repository-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
  697. /package/dist/chunks/{repository-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
  698. /package/dist/chunks/{repository-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
  699. /package/dist/chunks/{repository-1kg9ymc8.js → generate-1kg9ymc8.js} +0 -0
  700. /package/dist/chunks/{repository-2710q6r3.js → generate-2710q6r3.js} +0 -0
  701. /package/dist/chunks/{repository-2axfhc9x.js → generate-2axfhc9x.js} +0 -0
  702. /package/dist/chunks/{repository-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
  703. /package/dist/chunks/{repository-359p4xyc.js → generate-359p4xyc.js} +0 -0
  704. /package/dist/chunks/{repository-3asan66x.js → generate-3asan66x.js} +0 -0
  705. /package/dist/chunks/{repository-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
  706. /package/dist/chunks/{repository-3w5fmr99.js → generate-3w5fmr99.js} +0 -0
  707. /package/dist/chunks/{repository-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
  708. /package/dist/chunks/{repository-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
  709. /package/dist/chunks/{repository-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
  710. /package/dist/chunks/{repository-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
  711. /package/dist/chunks/{repository-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
  712. /package/dist/chunks/{repository-53557ph1.js → generate-53557ph1.js} +0 -0
  713. /package/dist/chunks/{repository-550bvhaj.js → generate-550bvhaj.js} +0 -0
  714. /package/dist/chunks/{repository-6prwharc.js → generate-6prwharc.js} +0 -0
  715. /package/dist/chunks/{repository-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
  716. /package/dist/chunks/{repository-7m9af43g.js → generate-7m9af43g.js} +0 -0
  717. /package/dist/chunks/{repository-822emrt2.js → generate-822emrt2.js} +0 -0
  718. /package/dist/chunks/{repository-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
  719. /package/dist/chunks/{repository-8n3pysct.js → generate-8n3pysct.js} +0 -0
  720. /package/dist/chunks/{repository-922hggd3.js → generate-922hggd3.js} +0 -0
  721. /package/dist/chunks/{repository-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
  722. /package/dist/chunks/{repository-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
  723. /package/dist/chunks/{repository-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
  724. /package/dist/chunks/{repository-af5trqkr.js → generate-af5trqkr.js} +0 -0
  725. /package/dist/chunks/{repository-afrmfg78.js → generate-afrmfg78.js} +0 -0
  726. /package/dist/chunks/{repository-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
  727. /package/dist/chunks/{repository-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
  728. /package/dist/chunks/{repository-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
  729. /package/dist/chunks/{repository-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
  730. /package/dist/chunks/{repository-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
  731. /package/dist/chunks/{repository-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
  732. /package/dist/chunks/{repository-d9fn303g.js → generate-d9fn303g.js} +0 -0
  733. /package/dist/chunks/{repository-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
  734. /package/dist/chunks/{repository-dajrwvna.js → generate-dajrwvna.js} +0 -0
  735. /package/dist/chunks/{repository-dap0rakb.js → generate-dap0rakb.js} +0 -0
  736. /package/dist/chunks/{repository-df08tz66.js → generate-df08tz66.js} +0 -0
  737. /package/dist/chunks/{repository-dy18nga0.js → generate-dy18nga0.js} +0 -0
  738. /package/dist/chunks/{repository-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
  739. /package/dist/chunks/{repository-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
  740. /package/dist/chunks/{repository-ec1grn59.js → generate-ec1grn59.js} +0 -0
  741. /package/dist/chunks/{repository-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
  742. /package/dist/chunks/{repository-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
  743. /package/dist/chunks/{repository-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
  744. /package/dist/chunks/{repository-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
  745. /package/dist/chunks/{repository-faypxj3z.js → generate-faypxj3z.js} +0 -0
  746. /package/dist/chunks/{repository-fd410y7t.js → generate-fd410y7t.js} +0 -0
  747. /package/dist/chunks/{repository-fxgpk5d8.js → generate-fxgpk5d8.js} +0 -0
  748. /package/dist/chunks/{repository-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
  749. /package/dist/chunks/{repository-g86h250q.js → generate-g86h250q.js} +0 -0
  750. /package/dist/chunks/{repository-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
  751. /package/dist/chunks/{repository-gftt206x.js → generate-gftt206x.js} +0 -0
  752. /package/dist/chunks/{repository-hjbc5kem.js → generate-hjbc5kem.js} +0 -0
  753. /package/dist/chunks/{repository-hk9envan.js → generate-hk9envan.js} +0 -0
  754. /package/dist/chunks/{repository-hrnqkpcd.js → generate-hrnqkpcd.js} +0 -0
  755. /package/dist/chunks/{repository-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
  756. /package/dist/chunks/{repository-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
  757. /package/dist/chunks/{repository-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
  758. /package/dist/chunks/{repository-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
  759. /package/dist/chunks/{repository-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
  760. /package/dist/chunks/{repository-mp448xyj.js → generate-mp448xyj.js} +0 -0
  761. /package/dist/chunks/{repository-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
  762. /package/dist/chunks/{repository-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
  763. /package/dist/chunks/{repository-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
  764. /package/dist/chunks/{repository-njntx4h6.js → generate-njntx4h6.js} +0 -0
  765. /package/dist/chunks/{repository-paphc93g.js → generate-paphc93g.js} +0 -0
  766. /package/dist/chunks/{repository-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{repository-q74kybfr.js → generate-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{repository-qapv375x.js → generate-qapv375x.js} +0 -0
  769. /package/dist/chunks/{repository-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{repository-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{repository-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{repository-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
  773. /package/dist/chunks/{repository-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
  774. /package/dist/chunks/{repository-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
  775. /package/dist/chunks/{repository-sk3qaz4a.js → generate-sk3qaz4a.js} +0 -0
  776. /package/dist/chunks/{repository-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
  777. /package/dist/chunks/{repository-twg0f83k.js → generate-twg0f83k.js} +0 -0
  778. /package/dist/chunks/{repository-w803qqfp.js → generate-w803qqfp.js} +0 -0
  779. /package/dist/chunks/{repository-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
  780. /package/dist/chunks/{repository-wtztk69x.js → generate-wtztk69x.js} +0 -0
  781. /package/dist/chunks/{repository-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
  782. /package/dist/chunks/{repository-x61499pn.js → generate-x61499pn.js} +0 -0
  783. /package/dist/chunks/{repository-y44na4kk.js → generate-y44na4kk.js} +0 -0
  784. /package/dist/chunks/{repository-y8cydn3q.js → generate-y8cydn3q.js} +0 -0
  785. /package/dist/chunks/{repository-y8f7s663.js → generate-y8f7s663.js} +0 -0
  786. /package/dist/chunks/{repository-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
  787. /package/dist/chunks/{repository-ym463w8f.js → generate-ym463w8f.js} +0 -0
  788. /package/dist/chunks/{repository-z9919s4g.js → generate-z9919s4g.js} +0 -0
@@ -1,20 +1,20 @@
1
1
  import {
2
- ID9,
2
+ ID15,
3
3
  Name3,
4
4
  defaultID2
5
- } from "./repository-kee0d0vv.js";
5
+ } from "./generate-fbbsfk4x.js";
6
6
  import {
7
7
  merge2
8
- } from "./repository-qp8nwhvn.js";
8
+ } from "./generate-fntg193g.js";
9
9
  import {
10
10
  __export
11
- } from "./repository-9rqn6x4v.js";
11
+ } from "./generate-9rqn6x4v.js";
12
12
 
13
13
  // src/plugin/agent.ts
14
14
  var exports_agent2 = {};
15
15
  __export(exports_agent2, {
16
16
  AgentPlugin: () => exports_agent2,
17
- Plugin: () => Plugin42
17
+ Plugin: () => Plugin40
18
18
  });
19
19
  import { define } from "@opencode/plugin/effect/plugin";
20
20
  import { Effect } from "effect";
@@ -90,7 +90,7 @@ Rules:
90
90
  - Never ask questions or add new questions
91
91
  - If the conversation ends with an unanswered question to the user, preserve that exact question
92
92
  - If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
93
- var Plugin42 = define({
93
+ var Plugin40 = define({
94
94
  id: "opencode.agent",
95
95
  effect: Effect.fn(function* (ctx) {
96
96
  yield* ctx.agent.transform((editor) => {
@@ -100,13 +100,13 @@ var Plugin42 = define({
100
100
  item.mode = "primary";
101
101
  item.permissions.push({ action: "question", resource: "*", effect: "allow" });
102
102
  });
103
- editor.update(ID9.make("general"), (item) => {
103
+ editor.update(ID15.make("general"), (item) => {
104
104
  item.name = Name3.make("General");
105
105
  item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
106
106
  item.mode = "subagent";
107
107
  item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
108
108
  });
109
- editor.update(ID9.make("explore"), (item) => {
109
+ editor.update(ID15.make("explore"), (item) => {
110
110
  const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
111
111
  item.name = Name3.make("Explore");
112
112
  item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
@@ -125,19 +125,19 @@ var Plugin42 = define({
125
125
  { action: "subagent", resource: "*", effect: "deny" }
126
126
  ], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
127
127
  });
128
- editor.update(ID9.make("compaction"), (item) => {
128
+ editor.update(ID15.make("compaction"), (item) => {
129
129
  item.name = Name3.make("Compaction");
130
130
  item.mode = "primary";
131
131
  item.hidden = true;
132
132
  });
133
- editor.update(ID9.make("title"), (item) => {
133
+ editor.update(ID15.make("title"), (item) => {
134
134
  item.name = Name3.make("Title");
135
135
  item.mode = "primary";
136
136
  item.hidden = true;
137
137
  item.system = PROMPT_TITLE;
138
138
  item.permissions.push({ action: "*", resource: "*", effect: "deny" });
139
139
  });
140
- editor.update(ID9.make("summary"), (item) => {
140
+ editor.update(ID15.make("summary"), (item) => {
141
141
  item.name = Name3.make("Summary");
142
142
  item.mode = "primary";
143
143
  item.hidden = true;
@@ -148,4 +148,4 @@ var Plugin42 = define({
148
148
  })
149
149
  });
150
150
 
151
- export { Plugin42, exports_agent2 };
151
+ export { Plugin40, exports_agent2 };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Key3,
2
+ Key4,
3
3
  removed2,
4
4
  empty3,
5
- make20,
5
+ make21,
6
6
  diffByKey2
7
- } from "./repository-rhjbct0v.js";
7
+ } from "./generate-eaj1djv9.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./repository-qp8nwhvn.js";
10
+ } from "./generate-fntg193g.js";
11
11
  import {
12
- Service31,
13
- node36
14
- } from "./repository-q9fqv6nm.js";
12
+ Service25,
13
+ node29
14
+ } from "./generate-f5k1bfnh.js";
15
15
  import {
16
16
  namespace2,
17
17
  name13
18
- } from "./repository-r628x9jn.js";
18
+ } from "./generate-hf0cb6zs.js";
19
19
  import {
20
20
  __export
21
- } from "./repository-9rqn6x4v.js";
21
+ } from "./generate-9rqn6x4v.js";
22
22
 
23
23
  // src/mcp/instructions.ts
24
- var exports_instructions2 = {};
25
- __export(exports_instructions2, {
26
- McpInstructions: () => exports_instructions2,
27
- Service: () => Service29,
28
- layer: () => layer11,
29
- node: () => node34
24
+ var exports_instructions4 = {};
25
+ __export(exports_instructions4, {
26
+ McpInstructions: () => exports_instructions4,
27
+ Service: () => Service22,
28
+ layer: () => layer9,
29
+ node: () => node26
30
30
  });
31
31
  import { makeLocationNode } from "@opencode/util/effect/app-node";
32
32
  import { Context, Effect, Layer, Schema } from "effect";
@@ -62,17 +62,17 @@ var update = (previous, current) => {
62
62
  `);
63
63
  };
64
64
 
65
- class Service29 extends Context.Service()("@opencode/McpInstructions") {
65
+ class Service22 extends Context.Service()("@opencode/McpInstructions") {
66
66
  }
67
- var layer11 = Layer.effect(Service29, Effect.gen(function* () {
68
- const mcp = yield* Service31;
69
- return Service29.of({
67
+ var layer9 = Layer.effect(Service22, Effect.gen(function* () {
68
+ const mcp = yield* Service25;
69
+ return Service22.of({
70
70
  load: Effect.fn("McpInstructions.load")(function* (selection) {
71
71
  const agent = selection.info;
72
72
  if (!agent)
73
73
  return empty3;
74
- const source = (value) => make20({
75
- key: Key3.make("core/mcp-guidance"),
74
+ const source = (value) => make21({
75
+ key: Key4.make("core/mcp-guidance"),
76
76
  codec: Schema.toCodecJson(Schema.Array(Summary)),
77
77
  read: Effect.succeed(value),
78
78
  render: {
@@ -100,6 +100,6 @@ var layer11 = Layer.effect(Service29, Effect.gen(function* () {
100
100
  })
101
101
  });
102
102
  }));
103
- var node34 = makeLocationNode({ service: Service29, layer: layer11, deps: [node36] });
103
+ var node26 = makeLocationNode({ service: Service22, layer: layer9, deps: [node29] });
104
104
 
105
- export { Service29, layer11, node34, exports_instructions2 };
105
+ export { Service22, layer9, node26, exports_instructions4 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-9rqn6x4v.js";
3
+ } from "./generate-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/command.ts
6
- var exports_command4 = {};
7
- __export(exports_command4, {
8
- ConfigCommandV1: () => exports_command4,
9
- Info: () => Info15
6
+ var exports_command5 = {};
7
+ __export(exports_command5, {
8
+ ConfigCommandV1: () => exports_command5,
9
+ Info: () => Info17
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info15 = Schema.Struct({
12
+ var Info17 = Schema.Struct({
13
13
  template: Schema.String,
14
14
  description: Schema.optional(Schema.String),
15
15
  agent: Schema.optional(Schema.String),
@@ -18,4 +18,4 @@ var Info15 = Schema.Struct({
18
18
  subtask: Schema.optional(Schema.Boolean)
19
19
  });
20
20
 
21
- export { Info15, exports_command4 };
21
+ export { Info17, exports_command5 };
@@ -1,80 +1,80 @@
1
1
  import {
2
- Service79
3
- } from "./repository-y5ff4yjy.js";
2
+ Service80
3
+ } from "./generate-j1k42z14.js";
4
4
  import {
5
- Service78
6
- } from "./repository-cpn39njb.js";
5
+ Service79
6
+ } from "./generate-jcww1zet.js";
7
7
  import {
8
- Service52
9
- } from "./repository-1bvekr7f.js";
8
+ Service36
9
+ } from "./generate-63xctefh.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./repository-fxbjtjnd.js";
12
+ } from "./generate-fxbjtjnd.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./repository-gftt206x.js";
15
+ } from "./generate-gftt206x.js";
16
16
  import {
17
- NotFoundError8,
17
+ NotFoundError10,
18
18
  PromptConflictError2,
19
19
  SyntheticConflictError2,
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./repository-e5xpd6yj.js";
23
+ } from "./generate-7p797550.js";
24
24
  import {
25
25
  SessionEvent2
26
- } from "./repository-ec1grn59.js";
26
+ } from "./generate-ec1grn59.js";
27
27
  import {
28
- Service60
29
- } from "./repository-vh329328.js";
28
+ Service72
29
+ } from "./generate-ye75azwm.js";
30
30
  import {
31
31
  Delivery2,
32
32
  SyntheticPayload2,
33
- Service50
34
- } from "./repository-hx4p0gz5.js";
33
+ Service37
34
+ } from "./generate-16c77kcq.js";
35
35
  import {
36
- Service48
37
- } from "./repository-m2weea1a.js";
36
+ Service33
37
+ } from "./generate-24j5m5j2.js";
38
38
  import {
39
39
  prepare2
40
- } from "./repository-a8rkycwa.js";
40
+ } from "./generate-rfbpjv35.js";
41
41
  import {
42
42
  stage2,
43
43
  clear2,
44
44
  commit2
45
- } from "./repository-5n6hsxyx.js";
45
+ } from "./generate-9crdg4t6.js";
46
46
  import {
47
47
  start2
48
- } from "./repository-dht5s97y.js";
48
+ } from "./generate-91nn3y69.js";
49
49
  import {
50
50
  get4
51
- } from "./repository-bfntb90j.js";
51
+ } from "./generate-qfcza57d.js";
52
52
  import {
53
53
  __export
54
- } from "./repository-9rqn6x4v.js";
54
+ } from "./generate-9rqn6x4v.js";
55
55
 
56
56
  // src/session/session.ts
57
57
  var exports_session2 = {};
58
58
  __export(exports_session2, {
59
59
  Session: () => exports_session2,
60
- make: () => make13
60
+ make: () => make12
61
61
  });
62
62
  import { DateTime, Effect, Fiber, Scope } from "effect";
63
63
  import { Event } from "@opencode/schema/event";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
- var make13 = Effect.fn("Session.make")(function* () {
66
- const bus = yield* Service78;
67
- const database = yield* Service79;
68
- const store = yield* Service60;
69
- const instances = yield* Service52;
70
- const execution = yield* Service48;
71
- const admission = yield* Service50;
65
+ var make12 = Effect.fn("Session.make")(function* () {
66
+ const bus = yield* Service79;
67
+ const database = yield* Service80;
68
+ const store = yield* Service72;
69
+ const instances = yield* Service36;
70
+ const execution = yield* Service33;
71
+ const admission = yield* Service37;
72
72
  const fs = yield* FSUtil.Service;
73
73
  const scope = yield* Scope.Scope;
74
74
  const get = Effect.fn("Session.get")(function* (sessionID) {
75
75
  const session = yield* store.get(sessionID);
76
76
  if (!session)
77
- return yield* new NotFoundError8({ sessionID });
77
+ return yield* new NotFoundError10({ sessionID });
78
78
  return session;
79
79
  });
80
80
  const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
@@ -131,7 +131,7 @@ var make13 = Effect.fn("Session.make")(function* () {
131
131
  });
132
132
  if (existing)
133
133
  return existing;
134
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service52, instances), Effect.provideService(FSUtil.Service, fs)));
134
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service36, instances), Effect.provideService(FSUtil.Service, fs)));
135
135
  if (session.revert)
136
136
  yield* commit2(bus, session);
137
137
  return yield* admission.admit({
@@ -147,7 +147,7 @@ var make13 = Effect.fn("Session.make")(function* () {
147
147
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
148
148
  const session = yield* get(sessionID);
149
149
  const running = yield* Effect.gen(function* () {
150
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service52, instances), Effect.tapError((error) => synthetic(sessionID, {
150
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service36, instances), Effect.tapError((error) => synthetic(sessionID, {
151
151
  text: `User shell command failed to start:
152
152
  ${input.command}
153
153
 
@@ -176,7 +176,7 @@ ${error.message}`,
176
176
  });
177
177
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
178
178
  const session = yield* get(sessionID);
179
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service52, instances));
179
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service36, instances));
180
180
  yield* bus.publish(SessionEvent2.Skill.Activated, {
181
181
  sessionID,
182
182
  id: skill.id,
@@ -233,13 +233,13 @@ ${error.message}`,
233
233
  const session = yield* get(sessionID);
234
234
  if (yield* execution.isActive(sessionID))
235
235
  return yield* new BusyError2({ sessionID });
236
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service52, instances), Effect.provideService(Service79, database), Effect.provideService(Service78, bus));
236
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service36, instances), Effect.provideService(Service80, database), Effect.provideService(Service79, bus));
237
237
  });
238
238
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
239
239
  const session = yield* get(sessionID);
240
240
  if (yield* execution.isActive(sessionID))
241
241
  return yield* new BusyError2({ sessionID });
242
- yield* clear2(session).pipe(Effect.provideService(Service52, instances), Effect.provideService(Service78, bus));
242
+ yield* clear2(session).pipe(Effect.provideService(Service36, instances), Effect.provideService(Service79, bus));
243
243
  return yield* execution.wake(sessionID);
244
244
  });
245
245
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -322,4 +322,4 @@ ${error.message}`,
322
322
  return { forSession };
323
323
  });
324
324
 
325
- export { make13, exports_session2 };
325
+ export { make12, exports_session2 };
@@ -1,37 +1,37 @@
1
1
  import {
2
- Service78,
3
- node83
4
- } from "./repository-cpn39njb.js";
2
+ Service79,
3
+ node84
4
+ } from "./generate-jcww1zet.js";
5
5
  import {
6
- Service66,
7
- node70
8
- } from "./repository-1e17p1v6.js";
6
+ Service76,
7
+ node81
8
+ } from "./generate-62en8r1m.js";
9
9
  import {
10
- ID9,
11
- Service61,
12
- node65
13
- } from "./repository-kee0d0vv.js";
10
+ ID15,
11
+ Service74,
12
+ node79
13
+ } from "./generate-fbbsfk4x.js";
14
14
  import {
15
- NotFoundError8
16
- } from "./repository-e5xpd6yj.js";
15
+ NotFoundError10
16
+ } from "./generate-7p797550.js";
17
17
  import {
18
- Service60,
19
- node64
20
- } from "./repository-vh329328.js";
18
+ Service72,
19
+ node77
20
+ } from "./generate-ye75azwm.js";
21
21
  import {
22
22
  match2
23
- } from "./repository-y1fvbwt7.js";
23
+ } from "./generate-y1fvbwt7.js";
24
24
  import {
25
- Service59,
26
- node63
27
- } from "./repository-mhfnevvs.js";
25
+ Service73,
26
+ node78
27
+ } from "./generate-2kqh0ztw.js";
28
28
  import {
29
- Service62,
30
- node66
31
- } from "./repository-cfv81dax.js";
29
+ Service75,
30
+ node80
31
+ } from "./generate-n66sm98c.js";
32
32
  import {
33
33
  __export
34
- } from "./repository-9rqn6x4v.js";
34
+ } from "./generate-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
37
  var exports_permission2 = {};
@@ -42,29 +42,29 @@ __export(exports_permission2, {
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event13,
46
- ID: () => ID7,
47
- NotFoundError: () => NotFoundError7,
45
+ Event: () => Event18,
46
+ ID: () => ID13,
47
+ NotFoundError: () => NotFoundError9,
48
48
  Permission: () => exports_permission2,
49
- Reply: () => Reply2,
49
+ Reply: () => Reply3,
50
50
  ReplyInput: () => ReplyInput2,
51
- Request: () => Request2,
51
+ Request: () => Request3,
52
52
  Rule: () => Rule3,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service58,
54
+ Service: () => Service71,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node62
58
+ node: () => node76
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
63
  import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event13 } from "@opencode/schema/permission";
64
+ import { Event as Event18 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID7 = Permission.ID;
67
+ var ID13 = Permission.ID;
68
68
  var Source5 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
@@ -74,20 +74,20 @@ var RequestFields = {
74
74
  metadata: Permission.Request.fields.metadata,
75
75
  source: Permission.Request.fields.source
76
76
  };
77
- var Request2 = Permission.Request;
78
- var Reply2 = Permission.Reply;
77
+ var Request3 = Permission.Request;
78
+ var Reply3 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID7.pipe(Schema.optional),
80
+ id: ID13.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID9.pipe(Schema.optional)
82
+ agent: ID15.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID7,
86
- reply: Reply2,
85
+ requestID: ID13,
86
+ reply: Reply3,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID7,
90
+ id: ID13,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
110
110
  }
111
111
  }
112
112
 
113
- class NotFoundError7 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID7
113
+ class NotFoundError9 extends Schema.TaggedError()("Permission.NotFoundError", {
114
+ requestID: ID13
115
115
  }) {
116
116
  }
117
117
  function evaluate2(action, resource, ...rulesets) {
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service58 extends Context.Service()("@opencode/Permission") {
128
+ class Service71 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service58, Effect.gen(function* () {
131
- const bus = yield* Service78;
132
- const location = yield* Service66;
133
- const agents = yield* Service61;
134
- const sessions = yield* Service60;
135
- const saved = yield* Service59;
136
- const hooks = yield* Service62;
130
+ var layer = Layer.effect(Service71, Effect.gen(function* () {
131
+ const bus = yield* Service79;
132
+ const location = yield* Service76;
133
+ const agents = yield* Service74;
134
+ const sessions = yield* Service72;
135
+ const saved = yield* Service73;
136
+ const hooks = yield* Service75;
137
137
  const pending = new Map;
138
138
  yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
139
139
  discard: true
@@ -150,7 +150,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
150
150
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
151
151
  const session = yield* sessions.get(sessionID);
152
152
  if (!session)
153
- return yield* new NotFoundError8({ sessionID });
153
+ return yield* new NotFoundError10({ sessionID });
154
154
  const agent = yield* agents.resolve(agentID ?? session.agent);
155
155
  return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
156
156
  });
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
180
180
  });
181
181
  function request(input, message) {
182
182
  return {
183
- id: input.id ?? ID7.create(),
183
+ id: input.id ?? ID13.create(),
184
184
  sessionID: input.sessionID,
185
185
  action: input.action,
186
186
  resources: input.resources,
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
228
228
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
229
229
  const existing = pending.get(input.requestID);
230
230
  if (!existing)
231
- return yield* new NotFoundError7({ requestID: input.requestID });
231
+ return yield* new NotFoundError9({ requestID: input.requestID });
232
232
  yield* bus.publish(Permission.Event.Replied, {
233
233
  sessionID: existing.request.sessionID,
234
234
  requestID: existing.request.id,
@@ -283,12 +283,12 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
283
283
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
284
284
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
285
285
  });
286
- return Service58.of({ ask, assert, reply, get, forSession, list });
286
+ return Service71.of({ ask, assert, reply, get, forSession, list });
287
287
  }));
288
- var node62 = makeLocationNode({
289
- service: Service58,
288
+ var node76 = makeLocationNode({
289
+ service: Service71,
290
290
  layer,
291
- deps: [node83, node70, node65, node64, node63, node66]
291
+ deps: [node84, node81, node79, node77, node78, node80]
292
292
  });
293
293
 
294
- export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service58, node62, exports_permission2, Rule3, Ruleset2, Event13 };
294
+ export { PermissionEffect, ID13, Source5, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError9, evaluate2, merge2, Service71, node76, exports_permission2, Rule3, Ruleset2, Event18 };
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service66,
3
- node70
4
- } from "./repository-1e17p1v6.js";
2
+ Service76,
3
+ node81
4
+ } from "./generate-62en8r1m.js";
5
5
  import {
6
6
  create3
7
- } from "./repository-kg06axw8.js";
7
+ } from "./generate-kg06axw8.js";
8
8
  import {
9
9
  __export
10
- } from "./repository-9rqn6x4v.js";
10
+ } from "./generate-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: () => Service14,
17
- node: () => node17
16
+ Service: () => Service17,
17
+ node: () => node20
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 Service14 extends Context.Service()("@opencode/v2/Formatter") {
24
+ class Service17 extends Context.Service()("@opencode/v2/Formatter") {
25
25
  }
26
- var layer = Layer.effect(Service14, Effect.gen(function* () {
27
- const location = yield* Service66;
26
+ var layer = Layer.effect(Service17, Effect.gen(function* () {
27
+ const location = yield* Service76;
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(Service14, Effect.gen(function* () {
85
85
  }
86
86
  return false;
87
87
  });
88
- return Service14.of({ transform: state.transform, reload: state.reload, file });
88
+ return Service17.of({ transform: state.transform, reload: state.reload, file });
89
89
  }));
90
- var node17 = makeLocationNode({
91
- service: Service14,
90
+ var node20 = makeLocationNode({
91
+ service: Service17,
92
92
  layer,
93
- deps: [node70, AppProcess.node]
93
+ deps: [node81, AppProcess.node]
94
94
  });
95
95
 
96
- export { Service14, node17, exports_formatter2 };
96
+ export { Service17, node20, exports_formatter2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-9rqn6x4v.js";
3
+ } from "./generate-9rqn6x4v.js";
4
4
 
5
5
  // src/shell/result.ts
6
6
  var exports_result = {};