@opencode/core 0.0.0-dev-20865 → 0.0.0-dev-20869

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 (790) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{models-dev-xsrwpwr1.js → app-0274hr8t.js} +22 -22
  8. package/dist/chunks/{models-dev-njr6j307.js → app-05e2b5zz.js} +3 -3
  9. package/dist/chunks/{models-dev-ckf8nxjz.js → app-06x8he3q.js} +4 -4
  10. package/dist/chunks/{models-dev-5dn4fjfa.js → app-0cwwqbbc.js} +13 -13
  11. package/dist/chunks/{models-dev-az0s1ab0.js → app-0h1t9hhx.js} +24 -24
  12. package/dist/chunks/{models-dev-q0xm7vwc.js → app-0j77ygfz.js} +6 -6
  13. package/dist/chunks/{models-dev-5rb28c55.js → app-0psha3gp.js} +14 -14
  14. package/dist/chunks/{models-dev-0vbcp93d.js → app-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{models-dev-ts9abvhb.js → app-11zcdp55.js} +30 -30
  16. package/dist/chunks/{models-dev-cfdgyghc.js → app-126ak2wx.js} +22 -22
  17. package/dist/chunks/{models-dev-0ef4xx30.js → app-19yveewj.js} +9 -9
  18. package/dist/chunks/{models-dev-yp2x3t23.js → app-1acjjqhc.js} +4 -4
  19. package/dist/chunks/{models-dev-zyq7fnpt.js → app-1csqsn22.js} +15 -13
  20. package/dist/chunks/{models-dev-8jwn2r34.js → app-1n3m9rgy.js} +22 -22
  21. package/dist/chunks/{models-dev-7j2crns3.js → app-22bc55e1.js} +11 -11
  22. package/dist/chunks/{models-dev-xfmbje2f.js → app-266brs4d.js} +4 -4
  23. package/dist/chunks/{models-dev-4ts7tf6z.js → app-2ccvkpx1.js} +2 -2
  24. package/dist/chunks/{models-dev-qa0fzn5w.js → app-2cg1s41s.js} +47 -47
  25. package/dist/chunks/{models-dev-bky1yqwv.js → app-2n22hbhk.js} +24 -24
  26. package/dist/chunks/{models-dev-0c77cqtw.js → app-2qtbaqat.js} +9 -9
  27. package/dist/chunks/{models-dev-gjwgx2c5.js → app-2sejkfem.js} +9 -9
  28. package/dist/chunks/{models-dev-2vvh33eb.js → app-2vvh33eb.js} +2 -2
  29. package/dist/chunks/{models-dev-3kdapj6e.js → app-39hpvgmm.js} +3 -3
  30. package/dist/chunks/{models-dev-3fc6dm20.js → app-3fc6dm20.js} +1 -1
  31. package/dist/chunks/{models-dev-3hepkmqq.js → app-3hepkmqq.js} +1 -1
  32. package/dist/chunks/{models-dev-3hwn7j4h.js → app-3hwn7j4h.js} +2 -2
  33. package/dist/chunks/{models-dev-f2wtk041.js → app-3nsqmd1a.js} +53 -53
  34. package/dist/chunks/{models-dev-hakjpm15.js → app-3rzxewf5.js} +14 -14
  35. package/dist/chunks/{models-dev-3smtnn6g.js → app-3smtnn6g.js} +1 -1
  36. package/dist/chunks/{models-dev-3tvqynh2.js → app-3tvqynh2.js} +1 -1
  37. package/dist/chunks/{models-dev-qbqawk7j.js → app-3v6e4e7t.js} +17 -17
  38. package/dist/chunks/{models-dev-v1aj2m8y.js → app-3znbxrpv.js} +8 -8
  39. package/dist/chunks/{models-dev-3zsf4n22.js → app-3zsf4n22.js} +1 -1
  40. package/dist/chunks/{models-dev-sqp85fkz.js → app-40pp8vcy.js} +41 -41
  41. package/dist/chunks/{models-dev-g74jm693.js → app-40w0xx72.js} +8 -8
  42. package/dist/chunks/{models-dev-dk2prtcf.js → app-42x0fzkc.js} +4 -4
  43. package/dist/chunks/{models-dev-rx0anvt2.js → app-43w88rtf.js} +24 -24
  44. package/dist/chunks/{models-dev-b250jdey.js → app-49e6sacj.js} +15 -15
  45. package/dist/chunks/{models-dev-zmzf6gpz.js → app-4a82xx0b.js} +11 -11
  46. package/dist/chunks/{models-dev-kbrj9m31.js → app-4hbe72yg.js} +25 -25
  47. package/dist/chunks/{models-dev-76qnrnma.js → app-4j7c152f.js} +6 -6
  48. package/dist/chunks/{models-dev-41ha1pse.js → app-4r2daqkg.js} +18 -18
  49. package/dist/chunks/{models-dev-8krkc3yk.js → app-4sc2w5gh.js} +3 -3
  50. package/dist/chunks/{models-dev-gw7cjrad.js → app-4z58m4b4.js} +4 -4
  51. package/dist/chunks/{models-dev-3h8e7zd4.js → app-5063kx6z.js} +19 -19
  52. package/dist/chunks/{models-dev-54ma36ye.js → app-54ma36ye.js} +1 -1
  53. package/dist/chunks/{models-dev-3pe8x8yc.js → app-55m7546p.js} +34 -34
  54. package/dist/chunks/{models-dev-1pxz8ven.js → app-57myy5jh.js} +5 -5
  55. package/dist/chunks/{models-dev-ab4qm1k1.js → app-5gx2dqw2.js} +27 -27
  56. package/dist/chunks/{models-dev-56zrnamb.js → app-5jasy4zy.js} +9 -9
  57. package/dist/chunks/{models-dev-5m9w47nd.js → app-5m9w47nd.js} +1 -1
  58. package/dist/chunks/{models-dev-ktzky0j0.js → app-5mybcs4y.js} +9 -9
  59. package/dist/chunks/{models-dev-vd2q3was.js → app-5pb7hz8n.js} +23 -23
  60. package/dist/chunks/{models-dev-f1f91z08.js → app-5pg768wk.js} +20 -20
  61. package/dist/chunks/{models-dev-nma959mg.js → app-5rzwp8tz.js} +3 -3
  62. package/dist/chunks/{models-dev-nk6ny5be.js → app-5y92amgg.js} +9 -9
  63. package/dist/chunks/{models-dev-fg3tm49t.js → app-62ryt339.js} +29 -29
  64. package/dist/chunks/{models-dev-twwzjqdf.js → app-63ctvwnc.js} +9 -9
  65. package/dist/chunks/{models-dev-pj8gj9vn.js → app-63rtzcv5.js} +13 -13
  66. package/dist/chunks/{models-dev-38qn8yeh.js → app-63wnj9j6.js} +24 -24
  67. package/dist/chunks/{models-dev-1zran81s.js → app-645432n5.js} +40 -40
  68. package/dist/chunks/{models-dev-s0wmvqbr.js → app-654srqjb.js} +26 -26
  69. package/dist/chunks/{models-dev-gvmpqvya.js → app-68ewgcbh.js} +14 -14
  70. package/dist/chunks/{models-dev-6631xwdh.js → app-6b3pt9n1.js} +20 -20
  71. package/dist/chunks/{models-dev-fxjftaq6.js → app-6hn9w2zf.js} +13 -13
  72. package/dist/chunks/{models-dev-tzza62aq.js → app-6kgcptny.js} +18 -18
  73. package/dist/chunks/{models-dev-4c9nws0q.js → app-6mtgj6n4.js} +45 -45
  74. package/dist/chunks/{models-dev-3rf335s5.js → app-6st13dsz.js} +43 -43
  75. package/dist/chunks/{models-dev-6xb47vfp.js → app-6xb47vfp.js} +1 -1
  76. package/dist/chunks/{models-dev-7bmhse3q.js → app-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{models-dev-2k8khapm.js → app-7dqw4kz8.js} +5 -5
  78. package/dist/chunks/{models-dev-0xb1ev3y.js → app-7g1f461v.js} +16 -16
  79. package/dist/chunks/{models-dev-n0dhg24y.js → app-7gkhcjt3.js} +5 -5
  80. package/dist/chunks/{models-dev-yvvvp4gn.js → app-7s2tn799.js} +8 -8
  81. package/dist/chunks/{models-dev-xjg855ze.js → app-7x0vz439.js} +24 -24
  82. package/dist/chunks/{models-dev-rc1kv93m.js → app-7y0epqa2.js} +13 -13
  83. package/dist/chunks/{models-dev-3711sgqg.js → app-7zmnq52c.js} +18 -18
  84. package/dist/chunks/{models-dev-3gkd5a8g.js → app-80n2q3k2.js} +11 -11
  85. package/dist/chunks/{models-dev-db8bgabc.js → app-813reag3.js} +16 -16
  86. package/dist/chunks/{models-dev-fdms3n6w.js → app-82rhge12.js} +9 -9
  87. package/dist/chunks/{models-dev-84txncab.js → app-84txncab.js} +1 -1
  88. package/dist/chunks/{models-dev-tcezcvh9.js → app-89znhe33.js} +4 -4
  89. package/dist/chunks/{models-dev-a2qe2ev9.js → app-8ank75fn.js} +8 -8
  90. package/dist/chunks/{models-dev-6m68mxhc.js → app-8fe5btdt.js} +9 -9
  91. package/dist/chunks/{models-dev-1zzep20k.js → app-8ffn8j2f.js} +59 -59
  92. package/dist/chunks/{models-dev-3zkyqq39.js → app-8h6tmd6x.js} +32 -32
  93. package/dist/chunks/{models-dev-hpf1ew30.js → app-8ket6zmy.js} +30 -30
  94. package/dist/chunks/{models-dev-8m6m0r52.js → app-8m6m0r52.js} +1 -1
  95. package/dist/chunks/{models-dev-3tt1qkhr.js → app-8ryk0bb9.js} +5 -5
  96. package/dist/chunks/{models-dev-8sze2n9a.js → app-8sze2n9a.js} +2 -2
  97. package/dist/chunks/{models-dev-w8yyf988.js → app-8tbbejhz.js} +67 -67
  98. package/dist/chunks/{models-dev-eahhehpg.js → app-8tsdq50x.js} +4 -4
  99. package/dist/chunks/{models-dev-j09zfasm.js → app-91qna3x0.js} +3 -3
  100. package/dist/chunks/{models-dev-27jjh9qb.js → app-92y9xj1k.js} +8 -8
  101. package/dist/chunks/{models-dev-fan8xm03.js → app-967benbv.js} +11 -11
  102. package/dist/chunks/{models-dev-xfbgawb1.js → app-9k4a3bw7.js} +2 -2
  103. package/dist/chunks/{models-dev-b9tgwt06.js → app-9s8t2v1x.js} +28 -28
  104. package/dist/chunks/{models-dev-xcqtwf8k.js → app-9w4afe7t.js} +14 -14
  105. package/dist/chunks/{models-dev-rj9375zf.js → app-a4mvceq8.js} +39 -39
  106. package/dist/chunks/{models-dev-p0acjafb.js → app-aakd6xvv.js} +19 -19
  107. package/dist/chunks/{models-dev-6nndasc1.js → app-aen32wra.js} +16 -16
  108. package/dist/chunks/{models-dev-svcw9x3w.js → app-agxmfjyz.js} +12 -12
  109. package/dist/chunks/app-ah9hg7x6.js +26 -0
  110. package/dist/chunks/{models-dev-1kzng4v9.js → app-awxny801.js} +24 -24
  111. package/dist/chunks/{models-dev-9j9hzet3.js → app-aydw6pj6.js} +18 -18
  112. package/dist/chunks/{models-dev-fqb2p7cx.js → app-b27vhd2z.js} +4 -4
  113. package/dist/chunks/{models-dev-4vs05w9v.js → app-b7158qe7.js} +84 -84
  114. package/dist/chunks/{models-dev-wbta6961.js → app-bfwe4mek.js} +10 -10
  115. package/dist/chunks/{models-dev-5jebg124.js → app-bn0cwgt9.js} +4 -4
  116. package/dist/chunks/{models-dev-1xbam7mh.js → app-bvbe45be.js} +24 -24
  117. package/dist/chunks/{models-dev-2fah77kf.js → app-byvmm8xf.js} +24 -24
  118. package/dist/chunks/{models-dev-es1vcfrp.js → app-c1fqxshp.js} +3 -3
  119. package/dist/chunks/{models-dev-ke4s2br1.js → app-c1wxnnkw.js} +25 -25
  120. package/dist/chunks/{models-dev-5fxerghj.js → app-c2sezbny.js} +26 -26
  121. package/dist/chunks/{models-dev-3svptyzd.js → app-c6w70q5q.js} +9 -9
  122. package/dist/chunks/{models-dev-yjqf8yma.js → app-ca8ch1kx.js} +25 -25
  123. package/dist/chunks/{models-dev-rek66y3z.js → app-ccbzs5ke.js} +8 -8
  124. package/dist/chunks/{models-dev-p37cw4rj.js → app-cmwkp3r5.js} +8 -8
  125. package/dist/chunks/{models-dev-nex57z9h.js → app-cmywtj0r.js} +30 -30
  126. package/dist/chunks/{models-dev-gaagjm2t.js → app-cw1b37ck.js} +9 -9
  127. package/dist/chunks/{models-dev-qm5jr2ty.js → app-d0n9y4ak.js} +13 -13
  128. package/dist/chunks/{models-dev-c6bnrspk.js → app-d3y6n0b6.js} +4 -4
  129. package/dist/chunks/{models-dev-09dj6j0c.js → app-dbt2w9wc.js} +32 -32
  130. package/dist/chunks/{models-dev-w2ad8e9p.js → app-dkam6wfd.js} +25 -25
  131. package/dist/chunks/{models-dev-h0q4qrbw.js → app-drksenfd.js} +34 -34
  132. package/dist/chunks/{models-dev-6f60r94z.js → app-dttpjcwk.js} +3 -3
  133. package/dist/chunks/{models-dev-g8ytx0e6.js → app-dx0ahrbs.js} +11 -11
  134. package/dist/chunks/app-dxj72tfx.js +18 -0
  135. package/dist/chunks/{models-dev-5qd3pb7m.js → app-e3qxr5gk.js} +2 -2
  136. package/dist/chunks/{models-dev-98str5rv.js → app-e85fmvyr.js} +1 -1
  137. package/dist/chunks/{models-dev-eej6y6fw.js → app-eej6y6fw.js} +2 -2
  138. package/dist/chunks/{models-dev-ef5x83kb.js → app-ef5x83kb.js} +1 -1
  139. package/dist/chunks/{models-dev-8e54dvz2.js → app-ehpc8g6x.js} +16 -16
  140. package/dist/chunks/{models-dev-3066s64a.js → app-ew9hd8vc.js} +10 -10
  141. package/dist/chunks/{models-dev-r9bvg2me.js → app-ex5k5847.js} +20 -20
  142. package/dist/chunks/{models-dev-w6082x2g.js → app-f32z929x.js} +50 -50
  143. package/dist/chunks/{models-dev-g0ma4c6w.js → app-f7qp41vh.js} +23 -23
  144. package/dist/chunks/{models-dev-m1pp26ww.js → app-fgy1h6a8.js} +15 -15
  145. package/dist/chunks/{models-dev-hgbphaw8.js → app-fk66q6s2.js} +32 -32
  146. package/dist/chunks/{models-dev-k7myrtme.js → app-fmcqyzhx.js} +9 -9
  147. package/dist/chunks/{models-dev-cm1qnfez.js → app-fry405sg.js} +11 -11
  148. package/dist/chunks/{models-dev-v4r7zn86.js → app-fw93gc87.js} +18 -18
  149. package/dist/chunks/{models-dev-wh5jxp3t.js → app-fxy8vhnv.js} +17 -17
  150. package/dist/chunks/{models-dev-82148vs9.js → app-g1y8dykg.js} +7 -7
  151. package/dist/chunks/{models-dev-ra67jj04.js → app-g686f6pq.js} +9 -9
  152. package/dist/chunks/{models-dev-7zt5x37y.js → app-gd0tnyjc.js} +1 -1
  153. package/dist/chunks/{models-dev-gd4qta3r.js → app-gd4qta3r.js} +1 -1
  154. package/dist/chunks/{models-dev-awppbkr6.js → app-ggh5vxa4.js} +19 -19
  155. package/dist/chunks/{models-dev-fdkb9ec3.js → app-gn06jdvv.js} +27 -27
  156. package/dist/chunks/{models-dev-y9s9xvs6.js → app-h0vknvkg.js} +8 -8
  157. package/dist/chunks/{models-dev-h6vf3j39.js → app-h6vf3j39.js} +1 -1
  158. package/dist/chunks/{models-dev-h7s7r6s9.js → app-h7s7r6s9.js} +2 -2
  159. package/dist/chunks/{models-dev-9p0xfm4a.js → app-hcy8yy3p.js} +22 -22
  160. package/dist/chunks/{models-dev-hgz4x7wa.js → app-hgz4x7wa.js} +1 -1
  161. package/dist/chunks/{models-dev-j56e64zr.js → app-j56e64zr.js} +1 -1
  162. package/dist/chunks/{models-dev-4v7ngy20.js → app-j8m1p4p1.js} +4 -4
  163. package/dist/chunks/{models-dev-ky2vbgv2.js → app-jbgsxe89.js} +13 -13
  164. package/dist/chunks/{models-dev-20y73wgn.js → app-jjns9wqe.js} +83 -83
  165. package/dist/chunks/{models-dev-fbwp6pwa.js → app-jk5m7wtj.js} +4 -4
  166. package/dist/chunks/{models-dev-977z57ma.js → app-jnq4k1mk.js} +10 -10
  167. package/dist/chunks/{models-dev-w0k2ty99.js → app-jp84zbjv.js} +4 -4
  168. package/dist/chunks/{models-dev-tdr9jbt8.js → app-jq0h21b4.js} +20 -20
  169. package/dist/chunks/{models-dev-n59g9vmt.js → app-jsfacqh7.js} +15 -15
  170. package/dist/chunks/{models-dev-z0mn02tj.js → app-jvradgpg.js} +19 -19
  171. package/dist/chunks/{models-dev-d9jtx293.js → app-jwv7ab79.js} +6 -6
  172. package/dist/chunks/{models-dev-ajxsk1x2.js → app-k0w1apbg.js} +5 -5
  173. package/dist/chunks/{models-dev-62wenpza.js → app-k2ce0czk.js} +10 -10
  174. package/dist/chunks/{models-dev-rqd2zw5t.js → app-k3ryqzxm.js} +15 -15
  175. package/dist/chunks/{models-dev-h4k3px47.js → app-k6d78qqe.js} +9 -9
  176. package/dist/chunks/{models-dev-wwzpy5az.js → app-k91gc0jy.js} +27 -27
  177. package/dist/chunks/{models-dev-m8yn9wqd.js → app-kf81pv8e.js} +19 -19
  178. package/dist/chunks/{models-dev-hq3c8me3.js → app-khmqacep.js} +4 -4
  179. package/dist/chunks/{models-dev-bmr56wjg.js → app-kqv3x6rj.js} +9 -9
  180. package/dist/chunks/{models-dev-8a2c1kbr.js → app-kr262pew.js} +20 -20
  181. package/dist/chunks/{models-dev-bty79xpe.js → app-kva3jtqv.js} +4 -4
  182. package/dist/chunks/{models-dev-pxgkna3x.js → app-kxm6gfc0.js} +11 -11
  183. package/dist/chunks/{models-dev-ce0wjd2x.js → app-kxscsbxh.js} +6 -6
  184. package/dist/chunks/{models-dev-7mjqmdtc.js → app-m6y0zvmj.js} +43 -43
  185. package/dist/chunks/{models-dev-k6n6e38h.js → app-m9df4mwj.js} +1 -1
  186. package/dist/chunks/{models-dev-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{models-dev-6nvb4mge.js → app-map07x52.js} +3 -3
  188. package/dist/chunks/{models-dev-maspj1v3.js → app-maspj1v3.js} +1 -1
  189. package/dist/chunks/{models-dev-t77ee9tw.js → app-mcgqzvd9.js} +20 -20
  190. package/dist/chunks/{models-dev-b41xg0sk.js → app-mk5csem8.js} +11 -11
  191. package/dist/chunks/{models-dev-n8brk52a.js → app-mwwt3j53.js} +12 -12
  192. package/dist/chunks/{models-dev-zw2hpfmh.js → app-mxvxcxwy.js} +4 -4
  193. package/dist/chunks/{models-dev-9n90zg10.js → app-n14sntt5.js} +16 -16
  194. package/dist/chunks/{models-dev-9v3ssj07.js → app-n4k3ngcx.js} +15 -15
  195. package/dist/chunks/{models-dev-hzphjpmd.js → app-n8gzxa90.js} +14 -14
  196. package/dist/chunks/{models-dev-pck7vvdx.js → app-nmbenmzd.js} +5 -5
  197. package/dist/chunks/{models-dev-93m7ndqx.js → app-nse7bvmp.js} +4 -4
  198. package/dist/chunks/{models-dev-38ae7j5t.js → app-p5habw4k.js} +11 -11
  199. package/dist/chunks/{models-dev-4297re2w.js → app-pe1d7mzy.js} +24 -24
  200. package/dist/chunks/{models-dev-ts5gehh4.js → app-pgp3z5ww.js} +5 -5
  201. package/dist/chunks/{models-dev-0cwy3bsm.js → app-pj70c9t1.js} +35 -35
  202. package/dist/chunks/{models-dev-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
  203. package/dist/chunks/{models-dev-pknna89w.js → app-pknna89w.js} +1 -1
  204. package/dist/chunks/{models-dev-z1bdek5p.js → app-pp7vqexr.js} +11 -11
  205. package/dist/chunks/{models-dev-7z5rppbg.js → app-ptcv67a8.js} +21 -21
  206. package/dist/chunks/{models-dev-3qsb6rdp.js → app-pvnbzk4g.js} +11 -11
  207. package/dist/chunks/{models-dev-y4n4c0dd.js → app-q6etbxd8.js} +32 -32
  208. package/dist/chunks/{models-dev-dwbvz6j3.js → app-qekfhsw8.js} +321 -321
  209. package/dist/chunks/{models-dev-qnc92qwc.js → app-qnc92qwc.js} +1 -1
  210. package/dist/chunks/{models-dev-qsdy395h.js → app-qsdy395h.js} +1 -1
  211. package/dist/chunks/{models-dev-gbmjry2n.js → app-qvy8pk9k.js} +8 -8
  212. package/dist/chunks/{models-dev-jcnpjjtr.js → app-r6cdn25y.js} +37 -37
  213. package/dist/chunks/{models-dev-rdw6cm16.js → app-rdw6cm16.js} +1 -1
  214. package/dist/chunks/{models-dev-bvnvcshr.js → app-rdzyy7xj.js} +19 -19
  215. package/dist/chunks/{models-dev-tkb22qbm.js → app-rert0e01.js} +2 -2
  216. package/dist/chunks/{models-dev-eaj1djv9.js → app-rhjbct0v.js} +8 -8
  217. package/dist/chunks/{models-dev-c41wscbt.js → app-rj3eygr5.js} +2 -2
  218. package/dist/chunks/{models-dev-rqa1jxse.js → app-rqa1jxse.js} +2 -2
  219. package/dist/chunks/{models-dev-z9b11dw0.js → app-rwqjqqt5.js} +5 -5
  220. package/dist/chunks/{models-dev-k6ysx7ta.js → app-s1yb0y3m.js} +24 -24
  221. package/dist/chunks/{models-dev-rg0zttgc.js → app-s5nxcym9.js} +4 -4
  222. package/dist/chunks/{models-dev-c8ax2afj.js → app-sa8ekw3f.js} +2 -2
  223. package/dist/chunks/{models-dev-nasydrcy.js → app-scw5nn1f.js} +11 -11
  224. package/dist/chunks/{models-dev-wg0er8g6.js → app-sh464p2a.js} +13 -13
  225. package/dist/chunks/{models-dev-acd4vkpt.js → app-sxzvkvgj.js} +6 -6
  226. package/dist/chunks/{models-dev-syv4x271.js → app-syv4x271.js} +1 -1
  227. package/dist/chunks/{models-dev-cedw1as4.js → app-t7tdbr53.js} +32 -32
  228. package/dist/chunks/{models-dev-e8tkc3qk.js → app-t89z56g6.js} +24 -24
  229. package/dist/chunks/{models-dev-tazgh4e4.js → app-tazgh4e4.js} +1 -1
  230. package/dist/chunks/{models-dev-50jefmw0.js → app-tce9zrn2.js} +26 -26
  231. package/dist/chunks/{models-dev-5cr9rfmm.js → app-tch7tvez.js} +29 -29
  232. package/dist/chunks/{models-dev-tdstcens.js → app-tdstcens.js} +1 -1
  233. package/dist/chunks/{models-dev-tm0kqsz3.js → app-tm0kqsz3.js} +1 -1
  234. package/dist/chunks/{models-dev-q3986erm.js → app-tmgwhk11.js} +5 -5
  235. package/dist/chunks/{models-dev-bggdt6jp.js → app-tvx3ze46.js} +7 -7
  236. package/dist/chunks/{models-dev-tyytaxap.js → app-tyytaxap.js} +1 -1
  237. package/dist/chunks/{models-dev-v0es1rhs.js → app-v0es1rhs.js} +2 -2
  238. package/dist/chunks/{models-dev-3af8jha9.js → app-v3f8fc8n.js} +18 -18
  239. package/dist/chunks/{models-dev-v7p4zvkq.js → app-v7p4zvkq.js} +2 -2
  240. package/dist/chunks/{models-dev-veqvce7d.js → app-veqvce7d.js} +1 -1
  241. package/dist/chunks/{models-dev-v05n4cdg.js → app-vg5cwhw4.js} +10 -10
  242. package/dist/chunks/{models-dev-ednkbcah.js → app-vngf8d3m.js} +15 -15
  243. package/dist/chunks/{models-dev-w0dkdy3z.js → app-vnmmwy3f.js} +24 -24
  244. package/dist/chunks/{models-dev-1813d5zh.js → app-vtt0yr3x.js} +11 -11
  245. package/dist/chunks/{models-dev-vzs5sf6e.js → app-vzs5sf6e.js} +1 -1
  246. package/dist/chunks/{models-dev-02vpj3qc.js → app-w3k8bph0.js} +15 -15
  247. package/dist/chunks/{models-dev-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
  248. package/dist/chunks/{models-dev-pw0wjf5b.js → app-wavet3za.js} +30 -30
  249. package/dist/chunks/{models-dev-gm86nbja.js → app-wb904358.js} +17 -17
  250. package/dist/chunks/{models-dev-3xh5mtw1.js → app-wd4kg7y4.js} +20 -19
  251. package/dist/chunks/{models-dev-wd87259q.js → app-wd87259q.js} +1 -1
  252. package/dist/chunks/{models-dev-zpywvqex.js → app-we8yz6k6.js} +13 -13
  253. package/dist/chunks/{models-dev-q3jzg8ra.js → app-wh06bkxb.js} +171 -171
  254. package/dist/chunks/{models-dev-0sakkys5.js → app-wh6pa4pr.js} +9 -9
  255. package/dist/chunks/{models-dev-bw78ga2c.js → app-wjj7prxr.js} +9 -0
  256. package/dist/chunks/{models-dev-bmzae5ya.js → app-wnqd2x0z.js} +22 -22
  257. package/dist/chunks/{models-dev-9c6cajnv.js → app-wzwc2bjk.js} +14 -14
  258. package/dist/chunks/{models-dev-w2zfgxdh.js → app-x3ge2z6w.js} +5 -5
  259. package/dist/chunks/{models-dev-27k0aesg.js → app-x9h7wam8.js} +33 -33
  260. package/dist/chunks/{models-dev-hpa38nzs.js → app-xbteeacz.js} +4 -4
  261. package/dist/chunks/{models-dev-xfkkasph.js → app-xfkkasph.js} +1 -1
  262. package/dist/chunks/{models-dev-mjx5rav7.js → app-xgwyrrdn.js} +42 -42
  263. package/dist/chunks/{models-dev-mbqxj1ec.js → app-xr7qpqw1.js} +3 -3
  264. package/dist/chunks/{models-dev-18ged8s4.js → app-xrz9xsm0.js} +5 -5
  265. package/dist/chunks/app-xz435p25.js +253 -0
  266. package/dist/chunks/{models-dev-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{models-dev-6893qs62.js → app-y5xf72q8.js} +4 -4
  268. package/dist/chunks/{models-dev-91ywsamh.js → app-y62vgzb6.js} +21 -21
  269. package/dist/chunks/{models-dev-k64wxf8y.js → app-y6pqxfrx.js} +3 -3
  270. package/dist/chunks/{models-dev-y71avatq.js → app-y71avatq.js} +1 -1
  271. package/dist/chunks/{models-dev-jk72hbrr.js → app-ycwc8r1q.js} +19 -19
  272. package/dist/chunks/{models-dev-r7nsrefv.js → app-ydgy0jv4.js} +6 -6
  273. package/dist/chunks/{models-dev-v1rcz1aj.js → app-yp6wf8a8.js} +36 -36
  274. package/dist/chunks/{models-dev-bjx1sjef.js → app-ywt8jp22.js} +9 -9
  275. package/dist/chunks/{models-dev-8dthkasz.js → app-yy1n54gt.js} +34 -34
  276. package/dist/chunks/{models-dev-z0bkrqjs.js → app-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{models-dev-m92ve9wx.js → app-z0bx6qnm.js} +23 -23
  278. package/dist/chunks/{models-dev-ym59rfmj.js → app-z51gv6m0.js} +7 -7
  279. package/dist/chunks/{models-dev-b674v2dg.js → app-z6c3x22d.js} +5 -5
  280. package/dist/chunks/{models-dev-j0zrtwtb.js → app-zed1drc7.js} +10 -10
  281. package/dist/chunks/{models-dev-zr2ceqn5.js → app-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{models-dev-vqh374jc.js → app-zsve94pq.js} +26 -26
  283. package/dist/chunks/{models-dev-zxq2ej10.js → app-zxq2ej10.js} +1 -1
  284. package/dist/chunks/{models-dev-b3f8fkhc.js → app-zyk1yjk8.js} +5 -5
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +5 -5
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +85 -85
  290. package/dist/config/discovery.js +86 -86
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +101 -101
  293. package/dist/config/plugin/agent.js +120 -120
  294. package/dist/config/plugin/command.js +209 -209
  295. package/dist/config/plugin/compaction.js +156 -156
  296. package/dist/config/plugin/compatibility.js +136 -136
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +119 -119
  299. package/dist/config/plugin/image.js +118 -118
  300. package/dist/config/plugin/instruction.js +92 -92
  301. package/dist/config/plugin/location-watcher.js +118 -118
  302. package/dist/config/plugin/mcp.js +127 -127
  303. package/dist/config/plugin/policy.js +119 -119
  304. package/dist/config/plugin/provider.js +118 -118
  305. package/dist/config/plugin/reference.js +120 -120
  306. package/dist/config/plugin/shell.js +118 -118
  307. package/dist/config/plugin/skill-file.js +104 -104
  308. package/dist/config/plugin/skill.js +139 -139
  309. package/dist/config/plugin/snapshot.js +118 -118
  310. package/dist/config/plugin/source.js +121 -121
  311. package/dist/config/plugin/tool-output.js +119 -119
  312. package/dist/config/plugin/websearch.js +117 -117
  313. package/dist/config/plugin/worktree.js +120 -120
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +123 -123
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +83 -83
  319. package/dist/database/database.js +68 -68
  320. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +13 -13
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +14 -14
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  385. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  386. package/dist/database/migration.gen.js +51 -51
  387. package/dist/database/migration.js +53 -53
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +78 -78
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +368 -368
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +1 -1
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +95 -95
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +95 -95
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +3 -3
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +72 -72
  411. package/dist/file-access.js +106 -106
  412. package/dist/file-mutation.js +96 -96
  413. package/dist/file-retention.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +220 -220
  420. package/dist/filesystem/protected.js +3 -3
  421. package/dist/filesystem/search.js +105 -105
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +108 -108
  425. package/dist/form.js +84 -84
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +89 -89
  428. package/dist/generate.js +107 -107
  429. package/dist/git.js +10 -10
  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 +101 -101
  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/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +359 -359
  453. package/dist/instruction-discovery.js +87 -87
  454. package/dist/instructions/builtins.js +89 -89
  455. package/dist/instructions/index.js +5 -5
  456. package/dist/integration/connection.js +3 -3
  457. package/dist/integration.js +85 -85
  458. package/dist/job.js +78 -78
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +75 -75
  461. package/dist/location-activity.js +133 -133
  462. package/dist/location-lifecycle.js +109 -109
  463. package/dist/location-service-map.js +88 -88
  464. package/dist/location-services.js +356 -356
  465. package/dist/location.js +87 -87
  466. package/dist/managed-policy.js +6 -6
  467. package/dist/mcp/client.js +93 -93
  468. package/dist/mcp/index.js +111 -111
  469. package/dist/mcp/instructions.js +131 -131
  470. package/dist/mcp/oauth.js +77 -77
  471. package/dist/mcp/stdio.js +92 -92
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +101 -101
  474. package/dist/model-resolver.js +100 -100
  475. package/dist/model.js +102 -102
  476. package/dist/models-dev.js +109 -109
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +82 -82
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +119 -119
  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 +90 -90
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +77 -77
  486. package/dist/plugin/agent.js +78 -78
  487. package/dist/plugin/command.js +104 -104
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/identity.js +3 -3
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +331 -331
  493. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  494. package/dist/plugin/models-dev.js +98 -98
  495. package/dist/plugin/module.js +119 -119
  496. package/dist/plugin/optimize.js +2 -2
  497. package/dist/plugin/plan.js +104 -104
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  500. package/dist/plugin/provider/azure.js +118 -118
  501. package/dist/plugin/provider/cerebras.js +1 -1
  502. package/dist/plugin/provider/chatgpt.js +118 -118
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/databricks.js +1 -1
  508. package/dist/plugin/provider/digitalocean.js +95 -95
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/github-copilot.js +97 -97
  512. package/dist/plugin/provider/gitlab.js +95 -95
  513. package/dist/plugin/provider/google-vertex.js +115 -115
  514. package/dist/plugin/provider/kilo.js +1 -1
  515. package/dist/plugin/provider/llmgateway.js +80 -80
  516. package/dist/plugin/provider/lmstudio.js +127 -127
  517. package/dist/plugin/provider/local.js +124 -124
  518. package/dist/plugin/provider/modal.js +94 -94
  519. package/dist/plugin/provider/neon.js +1 -1
  520. package/dist/plugin/provider/nvidia.js +1 -1
  521. package/dist/plugin/provider/ollama.js +127 -127
  522. package/dist/plugin/provider/openai.js +118 -118
  523. package/dist/plugin/provider/opencode.js +99 -99
  524. package/dist/plugin/provider/openrouter.js +93 -93
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +81 -81
  527. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  528. package/dist/plugin/provider/sap-ai-core.js +93 -93
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  531. package/dist/plugin/provider/vercel.js +92 -92
  532. package/dist/plugin/provider/vllm.js +127 -127
  533. package/dist/plugin/provider/xai.js +93 -93
  534. package/dist/plugin/provider/zenmux.js +1 -1
  535. package/dist/plugin/provider.js +169 -169
  536. package/dist/plugin/sdk.js +78 -78
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +136 -136
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +350 -350
  541. package/dist/plugin/tool-input-repair.js +4 -4
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/vcs/git.js +88 -88
  544. package/dist/plugin/vcs/hg.js +88 -88
  545. package/dist/plugin/verbosity.js +95 -95
  546. package/dist/plugin/warming.js +116 -116
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +8 -8
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +6 -6
  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 +220 -220
  555. package/dist/project/schema.js +2 -2
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +86 -86
  558. package/dist/provider.js +99 -99
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +91 -91
  562. package/dist/reference/instructions.js +91 -91
  563. package/dist/reference.js +91 -91
  564. package/dist/repository-cache.js +83 -83
  565. package/dist/repository.js +1 -1
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +99 -99
  568. package/dist/rpc.js +88 -88
  569. package/dist/schema.js +1 -1
  570. package/dist/session/affinity.js +1 -1
  571. package/dist/session/command.js +76 -76
  572. package/dist/session/compaction.js +131 -131
  573. package/dist/session/context.js +155 -155
  574. package/dist/session/diff.js +90 -90
  575. package/dist/session/environment.js +5 -5
  576. package/dist/session/error.js +7 -7
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +216 -216
  579. package/dist/session/execution.js +127 -127
  580. package/dist/session/generate.js +156 -156
  581. package/dist/session/history.js +15 -15
  582. package/dist/session/inbox.js +92 -92
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +81 -81
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +99 -99
  587. package/dist/session/message-updater.js +2 -2
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +122 -122
  590. package/dist/session/model-transport.js +9 -9
  591. package/dist/session/move.js +131 -131
  592. package/dist/session/projector.js +88 -88
  593. package/dist/session/prompt.js +107 -107
  594. package/dist/session/provider-context.js +3 -3
  595. package/dist/session/revert.js +92 -92
  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 +226 -226
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +100 -100
  601. package/dist/session/runner/publish-llm-event.js +115 -115
  602. package/dist/session/runner/retry.js +4 -4
  603. package/dist/session/runner/step.js +127 -127
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +1 -1
  606. package/dist/session/session.js +164 -164
  607. package/dist/session/shell.js +132 -132
  608. package/dist/session/skill.js +105 -105
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +75 -75
  611. package/dist/session/store.js +89 -89
  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 +1 -1
  615. package/dist/session/title.js +159 -159
  616. package/dist/session/to-session-error.js +113 -113
  617. package/dist/session/transfer.js +210 -210
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +209 -209
  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 +15 -15
  624. package/dist/shell.js +134 -134
  625. package/dist/skill/discovery.js +6 -6
  626. package/dist/skill/instructions.js +109 -109
  627. package/dist/skill.js +114 -114
  628. package/dist/snapshot.js +93 -93
  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 +126 -126
  633. package/dist/tool/plugin/edit.js +122 -122
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +126 -126
  636. package/dist/tool/plugin/grep.js +124 -124
  637. package/dist/tool/plugin/mcp-resource.js +119 -119
  638. package/dist/tool/plugin/opencode.js +111 -111
  639. package/dist/tool/plugin/patch.js +122 -122
  640. package/dist/tool/plugin/question.js +107 -107
  641. package/dist/tool/plugin/read.js +127 -127
  642. package/dist/tool/plugin/shell.js +210 -210
  643. package/dist/tool/plugin/skill.js +113 -113
  644. package/dist/tool/plugin/subagent.js +214 -214
  645. package/dist/tool/plugin/webfetch.js +114 -114
  646. package/dist/tool/plugin/websearch.js +114 -114
  647. package/dist/tool/plugin/write.js +122 -122
  648. package/dist/tool/read-filesystem.js +102 -102
  649. package/dist/tool/runtime.js +1 -1
  650. package/dist/tool-output.js +7 -7
  651. package/dist/tool.js +14 -14
  652. package/dist/types/model.d.ts +3 -0
  653. package/dist/types/provider.d.ts +2 -0
  654. package/dist/util/error-summary.js +1 -1
  655. package/dist/util/error.js +1 -1
  656. package/dist/util/git-executable.js +2 -2
  657. package/dist/util/iife.js +1 -1
  658. package/dist/util/lazy.js +1 -1
  659. package/dist/util/slug.js +1 -1
  660. package/dist/util/token.js +1 -1
  661. package/dist/util/which.js +1 -1
  662. package/dist/util/wildcard.js +1 -1
  663. package/dist/v1/config/agent.js +7 -7
  664. package/dist/v1/config/command.js +3 -3
  665. package/dist/v1/config/error.js +4 -4
  666. package/dist/v1/config/mcp.js +4 -4
  667. package/dist/v1/config/migrate.js +94 -94
  668. package/dist/v1/config/permission.js +7 -7
  669. package/dist/v1/config/plugin.js +3 -3
  670. package/dist/v1/config/provider-options.js +1 -1
  671. package/dist/v1/config/provider.js +4 -4
  672. package/dist/variant.js +95 -95
  673. package/dist/vcs/patch.js +1 -1
  674. package/dist/vcs.js +91 -91
  675. package/dist/websearch.js +86 -86
  676. package/dist/wellknown/plugin.js +78 -78
  677. package/dist/wellknown.js +83 -83
  678. package/dist/workspace/driver.js +5 -5
  679. package/dist/workspace/sql.js +1 -1
  680. package/dist/workspace.js +82 -82
  681. package/dist/worktree/directory.js +2 -2
  682. package/dist/worktree/git.js +8 -8
  683. package/dist/worktree/sql.js +5 -5
  684. package/dist/worktree/strategies.js +91 -91
  685. package/dist/worktree.js +96 -96
  686. package/package.json +8 -8
  687. package/dist/chunks/models-dev-3ak9ykqq.js +0 -26
  688. package/dist/chunks/models-dev-4v7qdvcn.js +0 -18
  689. package/dist/chunks/models-dev-y4h261y3.js +0 -253
  690. /package/dist/chunks/{models-dev-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
  691. /package/dist/chunks/{models-dev-0zkw76rk.js → app-0zkw76rk.js} +0 -0
  692. /package/dist/chunks/{models-dev-17cy0kzp.js → app-17cy0kzp.js} +0 -0
  693. /package/dist/chunks/{models-dev-1cnp2v09.js → app-1cnp2v09.js} +0 -0
  694. /package/dist/chunks/{models-dev-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
  695. /package/dist/chunks/{models-dev-24dcb14g.js → app-24dcb14g.js} +0 -0
  696. /package/dist/chunks/{models-dev-2710q6r3.js → app-2710q6r3.js} +0 -0
  697. /package/dist/chunks/{models-dev-2axfhc9x.js → app-2axfhc9x.js} +0 -0
  698. /package/dist/chunks/{models-dev-2bv980vf.js → app-2bv980vf.js} +0 -0
  699. /package/dist/chunks/{models-dev-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{models-dev-359p4xyc.js → app-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{models-dev-3asan66x.js → app-3asan66x.js} +0 -0
  702. /package/dist/chunks/{models-dev-3t0ybcrp.js → app-3t0ybcrp.js} +0 -0
  703. /package/dist/chunks/{models-dev-3v8g72cx.js → app-3v8g72cx.js} +0 -0
  704. /package/dist/chunks/{models-dev-3wcehsnq.js → app-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{models-dev-43n2bw4t.js → app-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{models-dev-48kw51zw.js → app-48kw51zw.js} +0 -0
  707. /package/dist/chunks/{models-dev-4knz6hnm.js → app-4knz6hnm.js} +0 -0
  708. /package/dist/chunks/{models-dev-4vcrnpx2.js → app-4vcrnpx2.js} +0 -0
  709. /package/dist/chunks/{models-dev-4y7fprxs.js → app-4y7fprxs.js} +0 -0
  710. /package/dist/chunks/{models-dev-53557ph1.js → app-53557ph1.js} +0 -0
  711. /package/dist/chunks/{models-dev-550bvhaj.js → app-550bvhaj.js} +0 -0
  712. /package/dist/chunks/{models-dev-6prwharc.js → app-6prwharc.js} +0 -0
  713. /package/dist/chunks/{models-dev-6q2bdcd1.js → app-6q2bdcd1.js} +0 -0
  714. /package/dist/chunks/{models-dev-7akdwqpd.js → app-7akdwqpd.js} +0 -0
  715. /package/dist/chunks/{models-dev-7m9af43g.js → app-7m9af43g.js} +0 -0
  716. /package/dist/chunks/{models-dev-822emrt2.js → app-822emrt2.js} +0 -0
  717. /package/dist/chunks/{models-dev-84wd9syh.js → app-84wd9syh.js} +0 -0
  718. /package/dist/chunks/{models-dev-88xbtdfr.js → app-88xbtdfr.js} +0 -0
  719. /package/dist/chunks/{models-dev-8n3pysct.js → app-8n3pysct.js} +0 -0
  720. /package/dist/chunks/{models-dev-8wj87zfr.js → app-8wj87zfr.js} +0 -0
  721. /package/dist/chunks/{models-dev-9a4afbnw.js → app-9a4afbnw.js} +0 -0
  722. /package/dist/chunks/{models-dev-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
  723. /package/dist/chunks/{models-dev-a6k6eb26.js → app-a6k6eb26.js} +0 -0
  724. /package/dist/chunks/{models-dev-af5trqkr.js → app-af5trqkr.js} +0 -0
  725. /package/dist/chunks/{models-dev-afrmfg78.js → app-afrmfg78.js} +0 -0
  726. /package/dist/chunks/{models-dev-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
  727. /package/dist/chunks/{models-dev-atq7p7m5.js → app-atq7p7m5.js} +0 -0
  728. /package/dist/chunks/{models-dev-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
  729. /package/dist/chunks/{models-dev-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
  730. /package/dist/chunks/{models-dev-cf4snx6d.js → app-cf4snx6d.js} +0 -0
  731. /package/dist/chunks/{models-dev-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
  732. /package/dist/chunks/{models-dev-d9fn303g.js → app-d9fn303g.js} +0 -0
  733. /package/dist/chunks/{models-dev-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
  734. /package/dist/chunks/{models-dev-dajrwvna.js → app-dajrwvna.js} +0 -0
  735. /package/dist/chunks/{models-dev-dap0rakb.js → app-dap0rakb.js} +0 -0
  736. /package/dist/chunks/{models-dev-df08tz66.js → app-df08tz66.js} +0 -0
  737. /package/dist/chunks/{models-dev-dy18nga0.js → app-dy18nga0.js} +0 -0
  738. /package/dist/chunks/{models-dev-e5kj55wp.js → app-e5kj55wp.js} +0 -0
  739. /package/dist/chunks/{models-dev-e73j6tqm.js → app-e73j6tqm.js} +0 -0
  740. /package/dist/chunks/{models-dev-ec1grn59.js → app-ec1grn59.js} +0 -0
  741. /package/dist/chunks/{models-dev-eh3zwz77.js → app-eh3zwz77.js} +0 -0
  742. /package/dist/chunks/{models-dev-emrn6kk6.js → app-emrn6kk6.js} +0 -0
  743. /package/dist/chunks/{models-dev-f0mxakyp.js → app-f0mxakyp.js} +0 -0
  744. /package/dist/chunks/{models-dev-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
  745. /package/dist/chunks/{models-dev-faypxj3z.js → app-faypxj3z.js} +0 -0
  746. /package/dist/chunks/{models-dev-fd410y7t.js → app-fd410y7t.js} +0 -0
  747. /package/dist/chunks/{models-dev-g4wezp1m.js → app-g4wezp1m.js} +0 -0
  748. /package/dist/chunks/{models-dev-g86h250q.js → app-g86h250q.js} +0 -0
  749. /package/dist/chunks/{models-dev-gebd4c9n.js → app-gebd4c9n.js} +0 -0
  750. /package/dist/chunks/{models-dev-gftt206x.js → app-gftt206x.js} +0 -0
  751. /package/dist/chunks/{models-dev-hcxmzztb.js → app-hcxmzztb.js} +0 -0
  752. /package/dist/chunks/{models-dev-hk9envan.js → app-hk9envan.js} +0 -0
  753. /package/dist/chunks/{models-dev-j2ntwpah.js → app-j2ntwpah.js} +0 -0
  754. /package/dist/chunks/{models-dev-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
  755. /package/dist/chunks/{models-dev-jjkms2e6.js → app-jjkms2e6.js} +0 -0
  756. /package/dist/chunks/{models-dev-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
  757. /package/dist/chunks/{models-dev-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
  758. /package/dist/chunks/{models-dev-jze0r7bz.js → app-jze0r7bz.js} +0 -0
  759. /package/dist/chunks/{models-dev-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
  760. /package/dist/chunks/{models-dev-m18g726c.js → app-m18g726c.js} +0 -0
  761. /package/dist/chunks/{models-dev-mp448xyj.js → app-mp448xyj.js} +0 -0
  762. /package/dist/chunks/{models-dev-msx8hqn2.js → app-msx8hqn2.js} +0 -0
  763. /package/dist/chunks/{models-dev-n05xt0ee.js → app-n05xt0ee.js} +0 -0
  764. /package/dist/chunks/{models-dev-n3j8tn72.js → app-n3j8tn72.js} +0 -0
  765. /package/dist/chunks/{models-dev-njntx4h6.js → app-njntx4h6.js} +0 -0
  766. /package/dist/chunks/{models-dev-pkyv6v7h.js → app-pkyv6v7h.js} +0 -0
  767. /package/dist/chunks/{models-dev-pyv0edze.js → app-pyv0edze.js} +0 -0
  768. /package/dist/chunks/{models-dev-q3sfg36h.js → app-q3sfg36h.js} +0 -0
  769. /package/dist/chunks/{models-dev-q74kybfr.js → app-q74kybfr.js} +0 -0
  770. /package/dist/chunks/{models-dev-qaymkmh1.js → app-qaymkmh1.js} +0 -0
  771. /package/dist/chunks/{models-dev-qb87gjwd.js → app-qb87gjwd.js} +0 -0
  772. /package/dist/chunks/{models-dev-qfa1cgps.js → app-qfa1cgps.js} +0 -0
  773. /package/dist/chunks/{models-dev-qg3g05ea.js → app-qg3g05ea.js} +0 -0
  774. /package/dist/chunks/{models-dev-qrg20bc0.js → app-qrg20bc0.js} +0 -0
  775. /package/dist/chunks/{models-dev-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
  776. /package/dist/chunks/{models-dev-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
  777. /package/dist/chunks/{models-dev-ssg3fenm.js → app-ssg3fenm.js} +0 -0
  778. /package/dist/chunks/{models-dev-ve7vex1e.js → app-ve7vex1e.js} +0 -0
  779. /package/dist/chunks/{models-dev-w803qqfp.js → app-w803qqfp.js} +0 -0
  780. /package/dist/chunks/{models-dev-wc3fc9cn.js → app-wc3fc9cn.js} +0 -0
  781. /package/dist/chunks/{models-dev-wer8tq1h.js → app-wer8tq1h.js} +0 -0
  782. /package/dist/chunks/{models-dev-wtztk69x.js → app-wtztk69x.js} +0 -0
  783. /package/dist/chunks/{models-dev-x0ckcb58.js → app-x0ckcb58.js} +0 -0
  784. /package/dist/chunks/{models-dev-x61499pn.js → app-x61499pn.js} +0 -0
  785. /package/dist/chunks/{models-dev-y44na4kk.js → app-y44na4kk.js} +0 -0
  786. /package/dist/chunks/{models-dev-y8f7s663.js → app-y8f7s663.js} +0 -0
  787. /package/dist/chunks/{models-dev-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
  788. /package/dist/chunks/{models-dev-ym463w8f.js → app-ym463w8f.js} +0 -0
  789. /package/dist/chunks/{models-dev-z5v4ffb3.js → app-z5v4ffb3.js} +0 -0
  790. /package/dist/chunks/{models-dev-z9919s4g.js → app-z9919s4g.js} +0 -0
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service85
3
- } from "./models-dev-6f60r94z.js";
3
+ } from "./app-dttpjcwk.js";
4
4
  import {
5
5
  Service84
6
- } from "./models-dev-hpa38nzs.js";
6
+ } from "./app-xbteeacz.js";
7
7
  import {
8
- Service57
9
- } from "./models-dev-acd4vkpt.js";
8
+ Service42
9
+ } from "./app-sxzvkvgj.js";
10
10
  import {
11
11
  RelativePath2
12
- } from "./models-dev-z5v4ffb3.js";
12
+ } from "./app-z5v4ffb3.js";
13
13
  import {
14
- ID4,
15
- Service45
16
- } from "./models-dev-cedw1as4.js";
14
+ ID5,
15
+ Service32
16
+ } from "./app-t7tdbr53.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./models-dev-ec1grn59.js";
19
+ } from "./app-ec1grn59.js";
20
20
  import {
21
21
  SessionMessage2
22
- } from "./models-dev-gftt206x.js";
22
+ } from "./app-gftt206x.js";
23
23
  import {
24
24
  MessageNotFoundError2
25
- } from "./models-dev-twwzjqdf.js";
25
+ } from "./app-63ctvwnc.js";
26
26
  import {
27
27
  SessionMessageTable2
28
- } from "./models-dev-es1vcfrp.js";
28
+ } from "./app-c1fqxshp.js";
29
29
  import {
30
30
  __export
31
- } from "./models-dev-9rqn6x4v.js";
31
+ } from "./app-9rqn6x4v.js";
32
32
 
33
33
  // src/session/revert.ts
34
34
  var exports_revert = {};
@@ -41,12 +41,12 @@ __export(exports_revert, {
41
41
  import { and, asc, eq, gt } from "drizzle-orm";
42
42
  import { Effect, Schema } from "effect";
43
43
  var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
44
- const instances = yield* Service57;
44
+ const instances = yield* Service42;
45
45
  const database = yield* Service85;
46
46
  const bus = yield* Service84;
47
47
  return yield* Effect.gen(function* () {
48
- const snapshot = yield* Service45;
49
- const original = input.session.revert?.snapshot ? ID4.make(input.session.revert.snapshot) : yield* snapshot.capture();
48
+ const snapshot = yield* Service32;
49
+ const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
50
50
  const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
51
51
  const restore = new Map;
52
52
  if (original) {
@@ -73,13 +73,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
73
73
  }).pipe(instances.provide(input.session));
74
74
  });
75
75
  var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
76
- const instances = yield* Service57;
76
+ const instances = yield* Service42;
77
77
  const bus = yield* Service84;
78
78
  yield* Effect.gen(function* () {
79
- const snapshot = yield* Service45;
79
+ const snapshot = yield* Service32;
80
80
  if (!session.revert)
81
81
  return;
82
- const original = session.revert.snapshot ? ID4.make(session.revert.snapshot) : undefined;
82
+ const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
83
83
  if (original)
84
84
  yield* snapshot.restore({
85
85
  files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
@@ -110,7 +110,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
110
110
  continue;
111
111
  for (const file of message.snapshot.files ?? [])
112
112
  if (!files.has(file))
113
- files.set(file, ID4.make(message.snapshot.start));
113
+ files.set(file, ID5.make(message.snapshot.start));
114
114
  }
115
115
  return files;
116
116
  });
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  WorktreeError2
3
- } from "./models-dev-svcw9x3w.js";
3
+ } from "./app-agxmfjyz.js";
4
4
  import {
5
- Service76
6
- } from "./models-dev-1zzep20k.js";
5
+ Service57
6
+ } from "./app-8ffn8j2f.js";
7
7
  import {
8
- Service66
9
- } from "./models-dev-3711sgqg.js";
8
+ Service56
9
+ } from "./app-7zmnq52c.js";
10
10
  import {
11
11
  DirectoryUnavailableError2
12
- } from "./models-dev-0vbcp93d.js";
12
+ } from "./app-0vbcp93d.js";
13
13
  import {
14
14
  Info4,
15
15
  List2,
16
16
  InvalidDirectoryError2,
17
17
  StrategyUnavailableError2,
18
18
  OperationError2
19
- } from "./models-dev-pw0wjf5b.js";
19
+ } from "./app-wavet3za.js";
20
20
  import {
21
21
  __export
22
- } from "./models-dev-9rqn6x4v.js";
22
+ } from "./app-9rqn6x4v.js";
23
23
 
24
24
  // src/tool/plugin/opencode.ts
25
25
  var exports_opencode = {};
@@ -27,7 +27,7 @@ __export(exports_opencode, {
27
27
  ModelsInput: () => ModelsInput2,
28
28
  MoveInput: () => MoveInput2,
29
29
  OpenCodeTools: () => exports_opencode,
30
- Plugin: () => Plugin20,
30
+ Plugin: () => Plugin5,
31
31
  RenameInput: () => RenameInput2,
32
32
  WorktreeCreateInput: () => WorktreeCreateInput2,
33
33
  WorktreeRemoveInput: () => WorktreeRemoveInput2
@@ -97,11 +97,11 @@ var ModelsOutput = Schema.Struct({
97
97
  total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
98
98
  next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
99
99
  });
100
- var Plugin20 = {
100
+ var Plugin5 = {
101
101
  id: "opencode.tools",
102
102
  effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
103
- const access = yield* Service66;
104
- const permission = yield* Service76;
103
+ const access = yield* Service56;
104
+ const permission = yield* Service57;
105
105
  const hook = (event) => Effect.sync(() => {
106
106
  event.system.push(SystemPart.make("When you create a worktree outside the current working directory and intend to use it as your primary working directory, consider using `execute` to call `tools.opencode.session_move` and make the worktree the session's working directory."));
107
107
  });
@@ -250,4 +250,4 @@ function removeFailure(directory, error) {
250
250
  return `Unable to remove worktree ${directory}.`;
251
251
  }
252
252
 
253
- export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin20, exports_opencode };
253
+ export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin5, exports_opencode };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./models-dev-z5v4ffb3.js";
3
+ } from "./app-z5v4ffb3.js";
4
4
  import {
5
5
  Action2
6
- } from "./models-dev-bmr56wjg.js";
6
+ } from "./app-kqv3x6rj.js";
7
7
  import {
8
- Info8
9
- } from "./models-dev-fan8xm03.js";
8
+ Info17
9
+ } from "./app-967benbv.js";
10
10
  import {
11
- Info9
12
- } from "./models-dev-fqb2p7cx.js";
11
+ Info16
12
+ } from "./app-b27vhd2z.js";
13
13
  import {
14
- Info10
15
- } from "./models-dev-1pxz8ven.js";
14
+ Info14
15
+ } from "./app-57myy5jh.js";
16
16
  import {
17
17
  Spec2
18
- } from "./models-dev-2k8khapm.js";
18
+ } from "./app-7dqw4kz8.js";
19
19
  import {
20
- Info12
21
- } from "./models-dev-b674v2dg.js";
20
+ Info15
21
+ } from "./app-z6c3x22d.js";
22
22
  import {
23
23
  normalizeAction2,
24
24
  migrateAgent2,
@@ -27,10 +27,10 @@ import {
27
27
  migrateMcp2,
28
28
  migrateProvider2,
29
29
  providerID2
30
- } from "./models-dev-6893qs62.js";
30
+ } from "./app-y5xf72q8.js";
31
31
  import {
32
32
  __export
33
- } from "./models-dev-9rqn6x4v.js";
33
+ } from "./app-9rqn6x4v.js";
34
34
 
35
35
  // src/config/normalize.ts
36
36
  var exports_normalize = {};
@@ -97,12 +97,12 @@ function normalize2(input) {
97
97
  const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
98
98
  const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
99
99
  mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
100
- const legacyCommands = decodeMap(input.command, Info9, ["command"], diagnostics, decodeValue);
100
+ const legacyCommands = decodeMap(input.command, Info16, ["command"], diagnostics, decodeValue);
101
101
  diagnoseSelectionMap(input.command, ["command"], diagnostics);
102
102
  const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
103
103
  const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
104
104
  mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
105
- const legacyAgents = mapValues(decodeMap(input.agent, Info8, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
105
+ const legacyAgents = mapValues(decodeMap(input.agent, Info17, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
106
106
  const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
107
107
  const migratedSmallModel = modelSelection2(legacySmallModel);
108
108
  if (legacySmallModel && !migratedSmallModel)
@@ -116,7 +116,7 @@ function normalize2(input) {
116
116
  model: migratedSmallModel,
117
117
  ...legacyAgents.title
118
118
  };
119
- const modeAgents = mapValues(decodeMap(input.mode, Info8, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
119
+ const modeAgents = mapValues(decodeMap(input.mode, Info17, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
120
120
  const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
121
121
  const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
122
122
  diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
@@ -217,7 +217,7 @@ function normalizeMcp(input, encoded, diagnostics) {
217
217
  normalizeMcpTimeout(value, timeout, path, diagnostics);
218
218
  return;
219
219
  }
220
- const server = decodeValue(Info10, value, path, diagnostics);
220
+ const server = decodeValue(Info14, value, path, diagnostics);
221
221
  if (server !== undefined)
222
222
  setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
223
223
  });
@@ -413,7 +413,7 @@ function migrateProviders(value, diagnostics) {
413
413
  diagnoseProviderUnsupported(raw, path, diagnostics);
414
414
  if (invalidProviderOverlays(raw, path, diagnostics))
415
415
  return [];
416
- const provider = decodeValue(Info12, raw, path, diagnostics);
416
+ const provider = decodeValue(Info15, raw, path, diagnostics);
417
417
  if (provider === undefined)
418
418
  return [];
419
419
  const destination = providerID2(name);
@@ -1,51 +1,51 @@
1
1
  import {
2
- ID16,
3
- Service80
4
- } from "./models-dev-bky1yqwv.js";
2
+ ID9,
3
+ Service60
4
+ } from "./app-2n22hbhk.js";
5
5
  import {
6
6
  Ref2,
7
- Service68
8
- } from "./models-dev-fdkb9ec3.js";
7
+ Service69
8
+ } from "./app-gn06jdvv.js";
9
9
  import {
10
10
  latest2,
11
- Service50
12
- } from "./models-dev-7mjqmdtc.js";
11
+ Service65
12
+ } from "./app-m6y0zvmj.js";
13
13
  import {
14
14
  SessionSchema2
15
- } from "./models-dev-48kw51zw.js";
15
+ } from "./app-48kw51zw.js";
16
16
  import {
17
- Service59
18
- } from "./models-dev-gvmpqvya.js";
17
+ Service44
18
+ } from "./app-68ewgcbh.js";
19
19
  import {
20
20
  evaluate2,
21
- Service76
22
- } from "./models-dev-1zzep20k.js";
21
+ Service57
22
+ } from "./app-8ffn8j2f.js";
23
23
  import {
24
- Service27
25
- } from "./models-dev-20y73wgn.js";
24
+ Service22
25
+ } from "./app-jjns9wqe.js";
26
26
  import {
27
27
  NO_TEXT2
28
- } from "./models-dev-6xb47vfp.js";
28
+ } from "./app-6xb47vfp.js";
29
29
  import {
30
- Service13
31
- } from "./models-dev-3h8e7zd4.js";
30
+ Service12
31
+ } from "./app-5063kx6z.js";
32
32
  import {
33
33
  __export
34
- } from "./models-dev-9rqn6x4v.js";
34
+ } from "./app-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/subagent.ts
37
37
  var exports_subagent = {};
38
38
  __export(exports_subagent, {
39
- Input: () => Input12,
40
- Output: () => Output8,
41
- Plugin: () => Plugin31,
39
+ Input: () => Input4,
40
+ Output: () => Output3,
41
+ Plugin: () => Plugin7,
42
42
  SubagentTool: () => exports_subagent,
43
- description: () => description5,
44
- name: () => name12
43
+ description: () => description4,
44
+ name: () => name4
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai";
47
47
  import { Effect, Predicate, Schema } from "effect";
48
- var name12 = "subagent";
48
+ var name4 = "subagent";
49
49
  var backgroundResult = (sessionID) => ({
50
50
  sessionID,
51
51
  status: "running",
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
56
56
  ].join(`
57
57
  `)
58
58
  });
59
- var Input12 = Schema.Struct({
59
+ var Input4 = Schema.Struct({
60
60
  agent: Schema.String.annotate({
61
61
  description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
62
62
  }),
@@ -72,12 +72,12 @@ var Input12 = Schema.Struct({
72
72
  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."
73
73
  })
74
74
  });
75
- var Output8 = Schema.Struct({
75
+ var Output3 = Schema.Struct({
76
76
  sessionID: SessionSchema2.ID,
77
77
  status: Schema.Literals(["completed", "running"]),
78
78
  output: Schema.String
79
79
  });
80
- var description5 = [
80
+ var description4 = [
81
81
  "Spawns an agent in a child session to work on the specified task.",
82
82
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
83
83
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -86,16 +86,16 @@ var description5 = [
86
86
  "Use background only for independent work that can run while you continue elsewhere."
87
87
  ].join(`
88
88
  `);
89
- var Plugin31 = {
89
+ var Plugin7 = {
90
90
  id: "opencode.tool.subagent",
91
91
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
92
- const sessions = yield* Service27;
93
- const jobs = yield* Service59;
94
- const agents = yield* Service80;
95
- const config = yield* Service50;
96
- const permission = yield* Service76;
97
- const models = yield* Service68;
98
- const subagents = yield* Service13;
92
+ const sessions = yield* Service22;
93
+ const jobs = yield* Service44;
94
+ const agents = yield* Service60;
95
+ const config = yield* Service65;
96
+ const permission = yield* Service57;
97
+ const models = yield* Service69;
98
+ const subagents = yield* Service12;
99
99
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
100
100
  const ref = yield* Effect.try({
101
101
  try: () => Ref2.parse(input),
@@ -115,11 +115,11 @@ var Plugin31 = {
115
115
  return ref;
116
116
  });
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name12,
118
+ name: name4,
119
119
  options: { codemode: false },
120
- description: description5,
121
- input: Input12,
122
- output: Output8,
120
+ description: description4,
121
+ input: Input4,
122
+ output: Output3,
123
123
  execute: (input, context) => Effect.gen(function* () {
124
124
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
125
125
  let current = parent;
@@ -139,7 +139,7 @@ var Plugin31 = {
139
139
  if (agent.mode === "primary")
140
140
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
141
141
  yield* permission.assert({
142
- action: name12,
142
+ action: name4,
143
143
  resources: [agent.id],
144
144
  save: [agent.id],
145
145
  sessionID: context.sessionID,
@@ -168,7 +168,7 @@ var Plugin31 = {
168
168
  const child = existing ?? (yield* sessions.create({
169
169
  parentID: context.sessionID,
170
170
  title: input.description,
171
- agent: ID16.make(input.agent),
171
+ agent: ID9.make(input.agent),
172
172
  model
173
173
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
174
174
  const background = input.background === true;
@@ -218,7 +218,7 @@ ${output.output}
218
218
  })))
219
219
  })).pipe(Effect.orDie);
220
220
  yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
221
- if (event.tool !== name12 || !Predicate.isObject(event.input))
221
+ if (event.tool !== name4 || !Predicate.isObject(event.input))
222
222
  return;
223
223
  if (event.input.model !== "" && event.input.sessionID !== "")
224
224
  return;
@@ -230,13 +230,13 @@ ${output.output}
230
230
  event.input = input;
231
231
  }));
232
232
  const hook = (event) => Effect.gen(function* () {
233
- const tool = event.tools[name12];
233
+ const tool = event.tools[name4];
234
234
  if (!tool)
235
235
  return;
236
236
  const selected = yield* agents.resolve(event.agent);
237
237
  if (!selected)
238
238
  return;
239
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name12, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
239
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name4, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
240
240
  if (available.length === 0)
241
241
  return;
242
242
  tool.description = [
@@ -253,4 +253,4 @@ ${output.output}
253
253
  })
254
254
  };
255
255
 
256
- export { name12, Input12, Output8, description5, Plugin31, exports_subagent };
256
+ export { name4, Input4, Output3, description4, Plugin7, exports_subagent };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./models-dev-z5v4ffb3.js";
3
+ } from "./app-z5v4ffb3.js";
4
4
  import {
5
5
  latest2,
6
- Service50
7
- } from "./models-dev-7mjqmdtc.js";
6
+ Service65
7
+ } from "./app-m6y0zvmj.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./models-dev-hgz4x7wa.js";
10
+ } from "./app-hgz4x7wa.js";
11
11
  import {
12
- Service46
13
- } from "./models-dev-e8tkc3qk.js";
12
+ Service78
13
+ } from "./app-t89z56g6.js";
14
14
  import {
15
- Service59
16
- } from "./models-dev-gvmpqvya.js";
15
+ Service44
16
+ } from "./app-68ewgcbh.js";
17
17
  import {
18
- Service76
19
- } from "./models-dev-1zzep20k.js";
18
+ Service57
19
+ } from "./app-8ffn8j2f.js";
20
20
  import {
21
- Service66,
21
+ Service56,
22
22
  resolvePath2
23
- } from "./models-dev-3711sgqg.js";
23
+ } from "./app-7zmnq52c.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./models-dev-vzs5sf6e.js";
29
+ } from "./app-vzs5sf6e.js";
30
30
  import {
31
- Service44,
31
+ Service64,
32
32
  name15
33
- } from "./models-dev-9p0xfm4a.js";
33
+ } from "./app-hcy8yy3p.js";
34
34
  import {
35
- NotFoundError6,
36
- Service42
37
- } from "./models-dev-qa0fzn5w.js";
35
+ NotFoundError8,
36
+ Service61
37
+ } from "./app-2cg1s41s.js";
38
38
  import {
39
- Service27
40
- } from "./models-dev-20y73wgn.js";
39
+ Service22
40
+ } from "./app-jjns9wqe.js";
41
41
  import {
42
42
  scan2
43
- } from "./models-dev-93m7ndqx.js";
43
+ } from "./app-nse7bvmp.js";
44
44
  import {
45
45
  __export
46
- } from "./models-dev-9rqn6x4v.js";
46
+ } from "./app-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
49
  var exports_shell = {};
50
50
  __export(exports_shell, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input4,
53
- Plugin: () => Plugin22,
52
+ Input: () => Input9,
53
+ Plugin: () => Plugin12,
54
54
  ShellTool: () => exports_shell,
55
- name: () => name4
55
+ name: () => name9
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
59
  import { shellParserWasm } from "#shell-parser-wasm";
60
- var name4 = "shell";
60
+ var name9 = "shell";
61
61
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
62
62
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
63
63
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -71,7 +71,7 @@ var description = (shell) => [
71
71
  "Commands accept an optional timeout, background commands have no timeout by default.",
72
72
  "Background commands return immediately, and you will be notified when they complete."
73
73
  ].join(" ");
74
- var Input4 = Schema.Struct({
74
+ var Input9 = Schema.Struct({
75
75
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
76
76
  workdir: Schema.optionalKey(Schema.String).annotate({
77
77
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
117
117
  truncated: false,
118
118
  status: "running"
119
119
  });
120
- var Plugin22 = {
120
+ var Plugin12 = {
121
121
  id: "opencode.tool.shell",
122
122
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
123
- const sessions = yield* Service27;
124
- const jobs = yield* Service59;
123
+ const sessions = yield* Service22;
124
+ const jobs = yield* Service44;
125
125
  const scope = yield* Scope.Scope;
126
- const environment = yield* Service46;
127
- const access = yield* Service66;
128
- const shell = yield* Service42;
129
- const shellSelect = yield* Service44;
126
+ const environment = yield* Service78;
127
+ const access = yield* Service56;
128
+ const shell = yield* Service61;
129
+ const shellSelect = yield* Service64;
130
130
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
131
- const permission = yield* Service76;
132
- const config = yield* Service50;
131
+ const permission = yield* Service57;
132
+ const config = yield* Service65;
133
133
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
134
134
  const source = {
135
135
  type: "tool",
@@ -148,7 +148,7 @@ var Plugin22 = {
148
148
  yield* access.authorizeExternal([target, ...directories], context);
149
149
  if (parsed.commands.length > 0)
150
150
  yield* permission.assert({
151
- action: name4,
151
+ action: name9,
152
152
  resources: parsed.commands.map((command) => command.resource),
153
153
  save: parsed.commands.map((command) => command.save),
154
154
  sessionID: context.sessionID,
@@ -185,10 +185,10 @@ var Plugin22 = {
185
185
  yield* jobs.completeBackground(info.notificationID);
186
186
  }, Effect.forkIn(scope, { startImmediately: true }));
187
187
  yield* ctx.tool.transform((editor) => editor.add({
188
- name: name4,
188
+ name: name9,
189
189
  options: { codemode: false },
190
190
  description: description(),
191
- input: Input4,
191
+ input: Input9,
192
192
  output: Output,
193
193
  execute: (input, context) => Effect.gen(function* () {
194
194
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -211,7 +211,7 @@ var Plugin22 = {
211
211
  const run = Effect.gen(function* () {
212
212
  const result = yield* shell.result(info);
213
213
  if (!result.capture)
214
- return yield* new NotFoundError6({ id: info.id });
214
+ return yield* new NotFoundError8({ id: info.id });
215
215
  const output = output2(result);
216
216
  return {
217
217
  ...output,
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
225
225
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
226
226
  const job = yield* jobs.start({
227
227
  id: info.id,
228
- type: name4,
228
+ type: name9,
229
229
  title: info.command,
230
230
  metadata: { sessionID: context.sessionID, shellID: info.id },
231
231
  recovery: {
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
255
255
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
256
256
  })).pipe(Effect.orDie);
257
257
  const hook = (event) => Effect.gen(function* () {
258
- const tool = event.tools[name4];
258
+ const tool = event.tools[name9];
259
259
  if (!tool)
260
260
  return;
261
261
  tool.description = description(name15(yield* compatibleShell));
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
266
266
  })
267
267
  };
268
268
 
269
- export { name4, DEFAULT_TIMEOUT_MS2, Input4, Plugin22, exports_shell };
269
+ export { name9, DEFAULT_TIMEOUT_MS2, Input9, Plugin12, exports_shell };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./models-dev-9rqn6x4v.js";
3
+ } from "./app-9rqn6x4v.js";
4
4
 
5
5
  // src/session/subagent-completion.ts
6
6
  var exports_subagent_completion = {};
@@ -2,7 +2,7 @@ import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2,
4
4
  mapUpdateSet2
5
- } from "./models-dev-emrn6kk6.js";
5
+ } from "./app-emrn6kk6.js";
6
6
 
7
7
  // src/database/drizzle/sqlite-core/effect/insert.ts
8
8
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  __export
3
- } from "./models-dev-9rqn6x4v.js";
3
+ } from "./app-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/plugin.ts
6
6
  var exports_plugin3 = {};
7
7
  __export(exports_plugin3, {
8
8
  ConfigPluginV1: () => exports_plugin3,
9
- Options: () => Options8,
9
+ Options: () => Options9,
10
10
  Spec: () => Spec2
11
11
  });
12
12
  import { Schema } from "effect";
13
- var Options8 = Schema.Record(Schema.String, Schema.Unknown);
14
- var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options8]))]);
13
+ var Options9 = Schema.Record(Schema.String, Schema.Unknown);
14
+ var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options9]))]);
15
15
 
16
- export { Options8, Spec2, exports_plugin3 };
16
+ export { Options9, Spec2, exports_plugin3 };