@opencode/core 0.0.0-dev-21146 → 0.0.0-dev-21163

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 (793) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{vcs-8rmdhntn.js → snapshot-03phhxcy.js} +13 -13
  8. package/dist/chunks/{vcs-5sfesdw0.js → snapshot-04ryjj00.js} +9 -9
  9. package/dist/chunks/{vcs-j3d5nbs4.js → snapshot-077jc6hy.js} +19 -19
  10. package/dist/chunks/{vcs-kwtqw3j5.js → snapshot-0ekyh4s7.js} +32 -32
  11. package/dist/chunks/{vcs-s6s28q4s.js → snapshot-0v80x1f6.js} +1 -1
  12. package/dist/chunks/{vcs-0vbcp93d.js → snapshot-0vbcp93d.js} +2 -2
  13. package/dist/chunks/{vcs-48kw51zw.js → snapshot-143qq2q9.js} +3 -3
  14. package/dist/chunks/{vcs-97z2hkt0.js → snapshot-16x4r2s1.js} +16 -16
  15. package/dist/chunks/{vcs-80dpjhve.js → snapshot-1b80kj0v.js} +17 -17
  16. package/dist/chunks/{vcs-8xns6cym.js → snapshot-210p74nv.js} +6 -6
  17. package/dist/chunks/{vcs-r68q3s4m.js → snapshot-26q7jvhr.js} +57 -57
  18. package/dist/chunks/{vcs-h83yk2y4.js → snapshot-2erqmtdk.js} +35 -35
  19. package/dist/chunks/{vcs-rhkez347.js → snapshot-2mxt17n5.js} +3 -3
  20. package/dist/chunks/{vcs-9zty5rse.js → snapshot-2n9dancj.js} +3 -3
  21. package/dist/chunks/{vcs-tt3gk2hg.js → snapshot-2nsmqgb6.js} +6 -6
  22. package/dist/chunks/{vcs-h9ee4ay8.js → snapshot-2ny3jh00.js} +10 -10
  23. package/dist/chunks/{vcs-jpjzdj5e.js → snapshot-2nykmre5.js} +9 -9
  24. package/dist/chunks/{vcs-q00c4awt.js → snapshot-347v34hz.js} +5 -5
  25. package/dist/chunks/{vcs-mp4qxw6g.js → snapshot-34f31van.js} +23 -23
  26. package/dist/chunks/{vcs-3wf7q6bz.js → snapshot-36e2pc4w.js} +5 -5
  27. package/dist/chunks/{vcs-7f7xarc5.js → snapshot-3a56ctkk.js} +14 -14
  28. package/dist/chunks/{vcs-hryxb5j9.js → snapshot-3b09jk82.js} +22 -22
  29. package/dist/chunks/{vcs-8vp8ms1f.js → snapshot-3b5z0erk.js} +11 -11
  30. package/dist/chunks/{vcs-ad7yv9ps.js → snapshot-3dp5zkcc.js} +18 -18
  31. package/dist/chunks/{vcs-3fc6dm20.js → snapshot-3fc6dm20.js} +1 -1
  32. package/dist/chunks/{vcs-q5e7cmwt.js → snapshot-3g8j9he4.js} +1 -1
  33. package/dist/chunks/{vcs-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
  34. package/dist/chunks/{vcs-3hwn7j4h.js → snapshot-3hwn7j4h.js} +2 -2
  35. package/dist/chunks/{vcs-81gy7124.js → snapshot-3raex6t0.js} +8 -8
  36. package/dist/chunks/{vcs-3smtnn6g.js → snapshot-3smtnn6g.js} +1 -1
  37. package/dist/chunks/{vcs-3r77nd71.js → snapshot-3sxvetjy.js} +22 -22
  38. package/dist/chunks/{vcs-3tvqynh2.js → snapshot-3tvqynh2.js} +1 -1
  39. package/dist/chunks/{vcs-b64vyrm8.js → snapshot-3wd8382n.js} +5 -5
  40. package/dist/chunks/{vcs-3zsf4n22.js → snapshot-3zsf4n22.js} +1 -1
  41. package/dist/chunks/{vcs-q480dng8.js → snapshot-40v9kngq.js} +9 -9
  42. package/dist/chunks/{vcs-jh5tayqa.js → snapshot-415az79b.js} +9 -9
  43. package/dist/chunks/{vcs-gdba7vhj.js → snapshot-435smvjz.js} +27 -27
  44. package/dist/chunks/snapshot-4k437ew3.js +257 -0
  45. package/dist/chunks/{vcs-x9393rm3.js → snapshot-4wwf6t92.js} +6 -6
  46. package/dist/chunks/{vcs-4wmtqrjk.js → snapshot-4y0vwgtn.js} +20 -20
  47. package/dist/chunks/{vcs-54ma36ye.js → snapshot-54ma36ye.js} +1 -1
  48. package/dist/chunks/{vcs-ehbypev1.js → snapshot-58s85cax.js} +11 -11
  49. package/dist/chunks/{vcs-1m2f403b.js → snapshot-5g4kkmpn.js} +13 -13
  50. package/dist/chunks/{vcs-ad9vfe7v.js → snapshot-5haf30hz.js} +39 -39
  51. package/dist/chunks/{vcs-5m9w47nd.js → snapshot-5m9w47nd.js} +1 -1
  52. package/dist/chunks/{vcs-xb1dd94r.js → snapshot-5vty9d1v.js} +5 -5
  53. package/dist/chunks/snapshot-619r8v3y.js +18 -0
  54. package/dist/chunks/{vcs-tfdh6zwb.js → snapshot-6283stes.js} +22 -22
  55. package/dist/chunks/{vcs-9dc26gag.js → snapshot-62b0hcmy.js} +11 -11
  56. package/dist/chunks/{vcs-abvqh95p.js → snapshot-63rftvt3.js} +16 -16
  57. package/dist/chunks/{vcs-6827pfxn.js → snapshot-6827pfxn.js} +1 -1
  58. package/dist/chunks/{vcs-2ptg3bmb.js → snapshot-6hqckrrx.js} +12 -12
  59. package/dist/chunks/{vcs-cehqmkb3.js → snapshot-6k8an2y9.js} +35 -35
  60. package/dist/chunks/{vcs-2nv43n21.js → snapshot-6panyeh0.js} +21 -21
  61. package/dist/chunks/{vcs-w92k2e0p.js → snapshot-6pc27hjz.js} +4 -4
  62. package/dist/chunks/{vcs-gnvdf0wp.js → snapshot-6wh7xaz2.js} +11 -11
  63. package/dist/chunks/{vcs-6xb47vfp.js → snapshot-6xb47vfp.js} +1 -1
  64. package/dist/chunks/{vcs-775gj3j1.js → snapshot-775gj3j1.js} +2 -2
  65. package/dist/chunks/{vcs-b89yz0b9.js → snapshot-78zkn3vy.js} +24 -24
  66. package/dist/chunks/{vcs-2qdx6azk.js → snapshot-79y18c4v.js} +28 -28
  67. package/dist/chunks/{vcs-dfe9hveg.js → snapshot-7azh8zbv.js} +30 -30
  68. package/dist/chunks/{vcs-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
  69. package/dist/chunks/{vcs-kgen349b.js → snapshot-7bxgp08m.js} +8 -8
  70. package/dist/chunks/{vcs-2k8khapm.js → snapshot-7dqw4kz8.js} +5 -5
  71. package/dist/chunks/{vcs-8brep9q6.js → snapshot-7j7jdcww.js} +44 -44
  72. package/dist/chunks/{vcs-k09kgf8n.js → snapshot-7q4bfbvn.js} +7 -7
  73. package/dist/chunks/{vcs-zw35eza6.js → snapshot-7qet95x0.js} +27 -27
  74. package/dist/chunks/{vcs-edrmdtr5.js → snapshot-7sbkp4xb.js} +7 -7
  75. package/dist/chunks/{vcs-7m5m5jke.js → snapshot-84htwe8c.js} +86 -86
  76. package/dist/chunks/{vcs-5qw1qf7f.js → snapshot-84jw3qpq.js} +29 -29
  77. package/dist/chunks/{vcs-cq8x2qcv.js → snapshot-85gwbv31.js} +21 -21
  78. package/dist/chunks/{vcs-n8d6b0h1.js → snapshot-8bqq47bs.js} +4 -4
  79. package/dist/chunks/{vcs-8m6m0r52.js → snapshot-8m6m0r52.js} +1 -1
  80. package/dist/chunks/{vcs-jafbawgm.js → snapshot-8n55hgev.js} +19 -19
  81. package/dist/chunks/{vcs-nd5sp1qb.js → snapshot-8pz94dzf.js} +23 -23
  82. package/dist/chunks/{vcs-pa8pe2x7.js → snapshot-8v6pyhej.js} +8 -8
  83. package/dist/chunks/{vcs-yt1wm0kv.js → snapshot-8xdzhf48.js} +29 -29
  84. package/dist/chunks/{vcs-j09zfasm.js → snapshot-91qna3x0.js} +3 -3
  85. package/dist/chunks/{vcs-z549t6rh.js → snapshot-94jw5d4f.js} +17 -17
  86. package/dist/chunks/{vcs-grvpncm1.js → snapshot-94qkbmw6.js} +8 -8
  87. package/dist/chunks/{vcs-rb76ar9w.js → snapshot-9esz1w1b.js} +15 -15
  88. package/dist/chunks/{vcs-8zjew81e.js → snapshot-9m2243zx.js} +11 -11
  89. package/dist/chunks/{vcs-65bcgfe5.js → snapshot-9msepacv.js} +12 -12
  90. package/dist/chunks/{vcs-rqa1jxse.js → snapshot-9pa8tak9.js} +2 -2
  91. package/dist/chunks/{vcs-kpg1m8t3.js → snapshot-a1njnwz6.js} +3 -3
  92. package/dist/chunks/{vcs-7ammp6jq.js → snapshot-a8aatv38.js} +9 -9
  93. package/dist/chunks/{vcs-a9463qhm.js → snapshot-adjewt1g.js} +17 -17
  94. package/dist/chunks/{vcs-hamnfq9w.js → snapshot-aeg5ttrh.js} +19 -19
  95. package/dist/chunks/{vcs-rtx8gp8q.js → snapshot-akmtzpb0.js} +8 -8
  96. package/dist/chunks/{vcs-ts0qsapt.js → snapshot-b03ryzq6.js} +1 -1
  97. package/dist/chunks/{vcs-4pnpkh9b.js → snapshot-b21nzxaa.js} +4 -4
  98. package/dist/chunks/{vcs-2xdh0w28.js → snapshot-b674v2dg.js} +5 -5
  99. package/dist/chunks/{vcs-azbp20h0.js → snapshot-bf7csrhb.js} +15 -15
  100. package/dist/chunks/{vcs-1bmjn0qh.js → snapshot-bfegkxfd.js} +8 -8
  101. package/dist/chunks/{vcs-hmx0v4sv.js → snapshot-bm6m2f01.js} +26 -26
  102. package/dist/chunks/{vcs-mv3hx7wz.js → snapshot-bmr56wjg.js} +4 -4
  103. package/dist/chunks/{vcs-ex7a9pd4.js → snapshot-bqk1xv54.js} +11 -11
  104. package/dist/chunks/{vcs-bzeyqsqd.js → snapshot-bzeyqsqd.js} +1 -1
  105. package/dist/chunks/{vcs-ceym1m06.js → snapshot-bzpwbrxf.js} +43 -43
  106. package/dist/chunks/{vcs-ejdah8af.js → snapshot-bzsrs4wb.js} +10 -10
  107. package/dist/chunks/{vcs-c1fqxshp.js → snapshot-c1fqxshp.js} +3 -3
  108. package/dist/chunks/{vcs-wk5ynb9y.js → snapshot-c5ed65gp.js} +10 -10
  109. package/dist/chunks/{vcs-he2nw4qg.js → snapshot-c6xh4c6j.js} +6 -6
  110. package/dist/chunks/{vcs-adcbecv9.js → snapshot-camn9k3d.js} +27 -27
  111. package/dist/chunks/{vcs-r3326x5w.js → snapshot-cd9wyv5p.js} +30 -30
  112. package/dist/chunks/{vcs-wcz4m97v.js → snapshot-chsa9tsb.js} +11 -11
  113. package/dist/chunks/{vcs-rhjkgpdp.js → snapshot-cm0xwavf.js} +18 -18
  114. package/dist/chunks/{vcs-s5w5sk8q.js → snapshot-cqjagng5.js} +24 -24
  115. package/dist/chunks/{vcs-2brbfv95.js → snapshot-d0btjp9b.js} +22 -22
  116. package/dist/chunks/{vcs-z50bbtke.js → snapshot-d3718gj5.js} +35 -35
  117. package/dist/chunks/{vcs-7a1x16pz.js → snapshot-d3twtd49.js} +13 -13
  118. package/dist/chunks/{vcs-4k37zksp.js → snapshot-d49pgqdb.js} +22 -15
  119. package/dist/chunks/{vcs-bvnpfp3z.js → snapshot-d4fh8taq.js} +5 -5
  120. package/dist/chunks/{vcs-30mhpgxs.js → snapshot-dec9hyae.js} +16 -16
  121. package/dist/chunks/{vcs-erzsj0mh.js → snapshot-dg21j1ns.js} +45 -45
  122. package/dist/chunks/{vcs-47d3hhcw.js → snapshot-djsc6asp.js} +50 -50
  123. package/dist/chunks/{vcs-57b9ws8p.js → snapshot-drwq78ky.js} +5 -5
  124. package/dist/chunks/{vcs-0996nyz8.js → snapshot-dxcm25gw.js} +9 -9
  125. package/dist/chunks/{vcs-xsehs0a5.js → snapshot-e3jt2v5b.js} +14 -14
  126. package/dist/chunks/{vcs-h0qq8ekr.js → snapshot-e6ekz585.js} +27 -27
  127. package/dist/chunks/{vcs-6za9as0y.js → snapshot-e9hx7ajy.js} +28 -28
  128. package/dist/chunks/{vcs-vpaq98fd.js → snapshot-ebm4wmmx.js} +6 -6
  129. package/dist/chunks/{vcs-r2z489rp.js → snapshot-ed1g29hy.js} +3 -3
  130. package/dist/chunks/{vcs-eej6y6fw.js → snapshot-eej6y6fw.js} +2 -2
  131. package/dist/chunks/{vcs-ef5x83kb.js → snapshot-ef5x83kb.js} +1 -1
  132. package/dist/chunks/{vcs-76rvckpe.js → snapshot-eh6ej367.js} +5 -5
  133. package/dist/chunks/{vcs-c7p7a7j5.js → snapshot-en2e8yfm.js} +20 -20
  134. package/dist/chunks/{vcs-ngzs6e41.js → snapshot-eqyse9qm.js} +7 -7
  135. package/dist/chunks/{vcs-f64fhgym.js → snapshot-erbqd3nv.js} +43 -43
  136. package/dist/chunks/{vcs-hsjvmpjh.js → snapshot-es4zr9pq.js} +5 -5
  137. package/dist/chunks/{vcs-e831pqd4.js → snapshot-f9693ket.js} +21 -21
  138. package/dist/chunks/{vcs-fcy631f0.js → snapshot-fcy631f0.js} +1 -1
  139. package/dist/chunks/{vcs-j6ktnsbj.js → snapshot-fj7gaszw.js} +12 -12
  140. package/dist/chunks/{vcs-d04ep358.js → snapshot-fj8d9ky6.js} +11 -11
  141. package/dist/chunks/{vcs-j155qw97.js → snapshot-fn366g0y.js} +25 -25
  142. package/dist/chunks/{vcs-djszqvmq.js → snapshot-ft3hqk2c.js} +9 -9
  143. package/dist/chunks/{vcs-xzr22cff.js → snapshot-g1b1wp2e.js} +10 -10
  144. package/dist/chunks/snapshot-g34gxbpj.js +26 -0
  145. package/dist/chunks/{vcs-x02v9a5q.js → snapshot-g4k7z9cy.js} +21 -21
  146. package/dist/chunks/{vcs-gd4qta3r.js → snapshot-gd4qta3r.js} +1 -1
  147. package/dist/chunks/{vcs-2kvxf011.js → snapshot-ggw6bs31.js} +17 -17
  148. package/dist/chunks/{vcs-ebm4tzgj.js → snapshot-gj8ct3zv.js} +61 -61
  149. package/dist/chunks/{vcs-d48vtfkp.js → snapshot-gpk600j1.js} +17 -17
  150. package/dist/chunks/{vcs-cjas8764.js → snapshot-gv3y5r8d.js} +9 -9
  151. package/dist/chunks/{vcs-jspyb5ws.js → snapshot-gxaq7zhw.js} +18 -18
  152. package/dist/chunks/{vcs-h6vf3j39.js → snapshot-h6vf3j39.js} +1 -1
  153. package/dist/chunks/{vcs-et2e1h9f.js → snapshot-h7abwd3r.js} +38 -38
  154. package/dist/chunks/{vcs-h7s7r6s9.js → snapshot-h7s7r6s9.js} +2 -2
  155. package/dist/chunks/{vcs-bzj29kaw.js → snapshot-hat53091.js} +30 -30
  156. package/dist/chunks/{vcs-jsxqsx0n.js → snapshot-hfqhg2b8.js} +17 -17
  157. package/dist/chunks/{vcs-v0es1rhs.js → snapshot-hg3614cy.js} +9 -9
  158. package/dist/chunks/{vcs-hgz4x7wa.js → snapshot-hgz4x7wa.js} +1 -1
  159. package/dist/chunks/{vcs-pb8dwz7w.js → snapshot-hkw38179.js} +16 -16
  160. package/dist/chunks/{vcs-hx8eac1e.js → snapshot-hmpj5xfy.js} +21 -21
  161. package/dist/chunks/{vcs-ftr1c4rp.js → snapshot-hsxaxx1c.js} +34 -34
  162. package/dist/chunks/{vcs-4wnvd88j.js → snapshot-hvq4weyw.js} +15 -15
  163. package/dist/chunks/{vcs-herv1ssr.js → snapshot-j0cf4nzm.js} +19 -19
  164. package/dist/chunks/{vcs-980tmrvd.js → snapshot-jf7ekgm9.js} +8 -8
  165. package/dist/chunks/{vcs-75njnrkn.js → snapshot-jm9njkm8.js} +5 -5
  166. package/dist/chunks/{vcs-y71avatq.js → snapshot-jwcy2c2z.js} +4 -4
  167. package/dist/chunks/{vcs-xgavnq5y.js → snapshot-k1gpp38j.js} +20 -20
  168. package/dist/chunks/{vcs-fxaymqdw.js → snapshot-khmqacep.js} +4 -4
  169. package/dist/chunks/{vcs-2k71kv7p.js → snapshot-kkp8zx71.js} +4 -4
  170. package/dist/chunks/{vcs-7rqfkqhf.js → snapshot-kqnkx5cp.js} +11 -11
  171. package/dist/chunks/{vcs-wg81ww38.js → snapshot-kqx1b4hy.js} +4 -4
  172. package/dist/chunks/{vcs-qpg6w652.js → snapshot-ktd4dqz2.js} +14 -14
  173. package/dist/chunks/{vcs-598793za.js → snapshot-kv4b22ns.js} +16 -16
  174. package/dist/chunks/{vcs-kwb1v3vj.js → snapshot-kwb1v3vj.js} +1 -1
  175. package/dist/chunks/{vcs-75s7wgst.js → snapshot-kyd66f1c.js} +36 -36
  176. package/dist/chunks/{vcs-e8a70fkn.js → snapshot-m0ke1azk.js} +28 -28
  177. package/dist/chunks/{vcs-9ygnwxdy.js → snapshot-m14r162y.js} +9 -9
  178. package/dist/chunks/{vcs-6qgxhkbs.js → snapshot-m1rtee8r.js} +37 -37
  179. package/dist/chunks/{vcs-e76kv9r4.js → snapshot-m2hjyvdx.js} +10 -10
  180. package/dist/chunks/{vcs-59vq7jwt.js → snapshot-m7dmhh8f.js} +13 -13
  181. package/dist/chunks/{vcs-k48z585g.js → snapshot-m8jd5x1y.js} +23 -23
  182. package/dist/chunks/{vcs-fmgfccbv.js → snapshot-m9gt5bdn.js} +16 -16
  183. package/dist/chunks/{vcs-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{vcs-maspj1v3.js → snapshot-maspj1v3.js} +1 -1
  185. package/dist/chunks/{vcs-2wqny664.js → snapshot-mc5t502r.js} +15 -15
  186. package/dist/chunks/{vcs-vhtct6e1.js → snapshot-mj4y2amk.js} +27 -27
  187. package/dist/chunks/{vcs-9xqqbe8y.js → snapshot-mk05kat5.js} +24 -24
  188. package/dist/chunks/{vcs-g06fws8c.js → snapshot-mwky8rtw.js} +326 -326
  189. package/dist/chunks/{vcs-f29mbr7f.js → snapshot-n1n192bv.js} +4 -4
  190. package/dist/chunks/{vcs-tknpztrq.js → snapshot-n1nekz5z.js} +29 -29
  191. package/dist/chunks/{vcs-5txqckpk.js → snapshot-n6s2wxqy.js} +8 -8
  192. package/dist/chunks/{vcs-rj76dryd.js → snapshot-n9h5d100.js} +11 -11
  193. package/dist/chunks/{vcs-dpgfepa2.js → snapshot-n9j93z9k.js} +46 -46
  194. package/dist/chunks/{vcs-q7zdm6cd.js → snapshot-nakxk70k.js} +14 -14
  195. package/dist/chunks/{vcs-gd2a0djy.js → snapshot-ndy2c9ss.js} +45 -45
  196. package/dist/chunks/{vcs-wvegr0zq.js → snapshot-nrt5px6v.js} +28 -28
  197. package/dist/chunks/{vcs-senh1ymy.js → snapshot-nxrgqcj9.js} +30 -30
  198. package/dist/chunks/{vcs-cc4sr3ev.js → snapshot-p32gghmn.js} +11 -11
  199. package/dist/chunks/{vcs-d7x0sh0y.js → snapshot-phz50fbd.js} +9 -9
  200. package/dist/chunks/{vcs-pjvnvgmy.js → snapshot-pjvnvgmy.js} +1 -1
  201. package/dist/chunks/{vcs-pknna89w.js → snapshot-pknna89w.js} +1 -1
  202. package/dist/chunks/{vcs-2ktf0ed2.js → snapshot-pnaxc6j9.js} +8 -8
  203. package/dist/chunks/{vcs-nrmy76bf.js → snapshot-pym14gm6.js} +58 -58
  204. package/dist/chunks/{vcs-1kv699hc.js → snapshot-q1a6xb3r.js} +5 -5
  205. package/dist/chunks/{vcs-wsgzkcd8.js → snapshot-q1szfc13.js} +4 -4
  206. package/dist/chunks/{vcs-xcmt9mrd.js → snapshot-q1wtg1gk.js} +11 -11
  207. package/dist/chunks/{vcs-w3dhkr7s.js → snapshot-q2w9h836.js} +40 -40
  208. package/dist/chunks/{vcs-3gw50k8p.js → snapshot-q6y0t2xd.js} +19 -19
  209. package/dist/chunks/{vcs-1n0nm9w2.js → snapshot-q9317srt.js} +18 -18
  210. package/dist/chunks/{vcs-e81cdst3.js → snapshot-qh0k1p1d.js} +33 -33
  211. package/dist/chunks/{vcs-emzsebxx.js → snapshot-qhphvxes.js} +8 -8
  212. package/dist/chunks/{vcs-7b694530.js → snapshot-qmh7t0e0.js} +17 -17
  213. package/dist/chunks/{vcs-qnc92qwc.js → snapshot-qnc92qwc.js} +1 -1
  214. package/dist/chunks/{vcs-7fktw67x.js → snapshot-qq5jvte1.js} +3 -3
  215. package/dist/chunks/{vcs-k044rnme.js → snapshot-qr1s19a1.js} +3 -3
  216. package/dist/chunks/{vcs-qsdy395h.js → snapshot-qsdy395h.js} +1 -1
  217. package/dist/chunks/{vcs-a34g06ew.js → snapshot-qtv1rbvp.js} +14 -14
  218. package/dist/chunks/{vcs-9c3np669.js → snapshot-qvb3nf84.js} +8 -8
  219. package/dist/chunks/{vcs-je441zhh.js → snapshot-qxwd849a.js} +18 -18
  220. package/dist/chunks/{vcs-p6kzsr9t.js → snapshot-r0rvp0ej.js} +42 -42
  221. package/dist/chunks/{vcs-ym9jpkzj.js → snapshot-r682d5ha.js} +3 -3
  222. package/dist/chunks/{vcs-yp2x3t23.js → snapshot-r8xr0va3.js} +4 -4
  223. package/dist/chunks/{vcs-rdw6cm16.js → snapshot-rdw6cm16.js} +1 -1
  224. package/dist/chunks/{vcs-rert0e01.js → snapshot-rert0e01.js} +2 -2
  225. package/dist/chunks/{vcs-eaj1djv9.js → snapshot-rhjbct0v.js} +8 -8
  226. package/dist/chunks/{vcs-5sb7v2bz.js → snapshot-rhzmt3es.js} +27 -27
  227. package/dist/chunks/{vcs-rj3eygr5.js → snapshot-rj3eygr5.js} +2 -2
  228. package/dist/chunks/{vcs-h9pnpq88.js → snapshot-rk7s9xkn.js} +4 -4
  229. package/dist/chunks/{vcs-wmgxscf8.js → snapshot-rntct4v8.js} +43 -43
  230. package/dist/chunks/{vcs-p3kgnf5t.js → snapshot-s2yckgzf.js} +5 -5
  231. package/dist/chunks/{vcs-z6cxpfvh.js → snapshot-s9d01kr9.js} +3 -3
  232. package/dist/chunks/{vcs-sa8ekw3f.js → snapshot-sa8ekw3f.js} +2 -2
  233. package/dist/chunks/{vcs-xhe73wxa.js → snapshot-scmhh9pc.js} +11 -11
  234. package/dist/chunks/{vcs-qw2emvzh.js → snapshot-sdwcvaj2.js} +1 -1
  235. package/dist/chunks/{vcs-ccz5nm0t.js → snapshot-snk2tj6r.js} +28 -28
  236. package/dist/chunks/{vcs-exgc4hav.js → snapshot-syp4sv4b.js} +4 -4
  237. package/dist/chunks/{vcs-syv4x271.js → snapshot-syv4x271.js} +1 -1
  238. package/dist/chunks/{vcs-6j8d4b1t.js → snapshot-t9kr6xs7.js} +17 -17
  239. package/dist/chunks/{vcs-tazgh4e4.js → snapshot-tazgh4e4.js} +1 -1
  240. package/dist/chunks/{vcs-tcezcvh9.js → snapshot-tcezcvh9.js} +1 -1
  241. package/dist/chunks/{vcs-tdstcens.js → snapshot-tdstcens.js} +1 -1
  242. package/dist/chunks/{vcs-tm0kqsz3.js → snapshot-tm0kqsz3.js} +1 -1
  243. package/dist/chunks/{vcs-5ysnvr2w.js → snapshot-tmf823cr.js} +4 -4
  244. package/dist/chunks/{vcs-b19gxw0d.js → snapshot-tn3z2tca.js} +24 -24
  245. package/dist/chunks/{vcs-g4xpbx56.js → snapshot-tyaq71bb.js} +30 -30
  246. package/dist/chunks/{vcs-tyytaxap.js → snapshot-tyytaxap.js} +1 -1
  247. package/dist/chunks/{vcs-c8bydgjz.js → snapshot-v6gb7zv2.js} +6 -6
  248. package/dist/chunks/{vcs-v7p4zvkq.js → snapshot-v7p4zvkq.js} +2 -2
  249. package/dist/chunks/{vcs-95mk99zn.js → snapshot-v8v7jg08.js} +82 -82
  250. package/dist/chunks/{vcs-1fa231af.js → snapshot-v8xncc8s.js} +23 -23
  251. package/dist/chunks/{vcs-j7g3a2jg.js → snapshot-vaxg751d.js} +7 -7
  252. package/dist/chunks/{vcs-veqvce7d.js → snapshot-veqvce7d.js} +1 -1
  253. package/dist/chunks/{vcs-vzs5sf6e.js → snapshot-vzs5sf6e.js} +1 -1
  254. package/dist/chunks/{vcs-w1eejvng.js → snapshot-w1eejvng.js} +1 -1
  255. package/dist/chunks/{vcs-a4kkw1ve.js → snapshot-w2q8zjmz.js} +27 -27
  256. package/dist/chunks/{vcs-5fykfdj7.js → snapshot-w39jehkq.js} +5 -5
  257. package/dist/chunks/{vcs-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{vcs-r43136zw.js → snapshot-w5na3y5v.js} +18 -18
  259. package/dist/chunks/{vcs-y7w40fc7.js → snapshot-wd0x6d30.js} +8 -8
  260. package/dist/chunks/{vcs-wd87259q.js → snapshot-wd87259q.js} +1 -1
  261. package/dist/chunks/{vcs-35ng7dkh.js → snapshot-wr7ps67x.js} +5 -5
  262. package/dist/chunks/{vcs-7tr2cnxk.js → snapshot-wygkcgsy.js} +46 -46
  263. package/dist/chunks/{vcs-3g2077ja.js → snapshot-wz6jmfs0.js} +9 -9
  264. package/dist/chunks/{vcs-gqtdsdt7.js → snapshot-x661k3y3.js} +4 -4
  265. package/dist/chunks/{vcs-tt8gc4fv.js → snapshot-xfktpdj6.js} +6 -6
  266. package/dist/chunks/{vcs-d6r4q70c.js → snapshot-xgz548nj.js} +39 -39
  267. package/dist/chunks/{vcs-61j35jca.js → snapshot-xhg5qrkn.js} +28 -28
  268. package/dist/chunks/{vcs-tegajz6t.js → snapshot-xrgc67sb.js} +2 -2
  269. package/dist/chunks/{vcs-wp94nyg3.js → snapshot-xshtvwne.js} +4 -4
  270. package/dist/chunks/{vcs-1dsct1s0.js → snapshot-xspp19dx.js} +28 -28
  271. package/dist/chunks/{vcs-b83pwr38.js → snapshot-xsredejr.js} +177 -177
  272. package/dist/chunks/{vcs-k9emm29s.js → snapshot-xtahemgj.js} +12 -12
  273. package/dist/chunks/{vcs-y1fvbwt7.js → snapshot-y1fvbwt7.js} +1 -1
  274. package/dist/chunks/{vcs-jh3nbz6s.js → snapshot-y3zkdgh7.js} +26 -26
  275. package/dist/chunks/{vcs-701thcs8.js → snapshot-y9jvxck8.js} +15 -15
  276. package/dist/chunks/{vcs-hftdtzqq.js → snapshot-yfa5tj4a.js} +17 -17
  277. package/dist/chunks/{vcs-g5maccdw.js → snapshot-yt82vp1a.js} +4 -4
  278. package/dist/chunks/{vcs-6cera4bt.js → snapshot-ytwc37vz.js} +35 -35
  279. package/dist/chunks/{vcs-bjx1sjef.js → snapshot-ywt8jp22.js} +9 -9
  280. package/dist/chunks/{vcs-z0bkrqjs.js → snapshot-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{vcs-8whnpkne.js → snapshot-z4qtxhqf.js} +15 -15
  282. package/dist/chunks/{vcs-hzedaa6h.js → snapshot-z8y4g21a.js} +12 -12
  283. package/dist/chunks/{vcs-dhmh7aw6.js → snapshot-zee1rnkq.js} +4 -4
  284. package/dist/chunks/{vcs-zr2ceqn5.js → snapshot-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{vcs-zxq2ej10.js → snapshot-zxq2ej10.js} +1 -1
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +9 -9
  288. package/dist/codemode/tool.js +3 -3
  289. package/dist/codemode/web.js +1 -1
  290. package/dist/command.js +87 -87
  291. package/dist/config/discovery.js +84 -84
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +101 -101
  294. package/dist/config/plugin/agent.js +118 -118
  295. package/dist/config/plugin/command.js +208 -208
  296. package/dist/config/plugin/compaction.js +155 -155
  297. package/dist/config/plugin/compatibility.js +135 -135
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +117 -117
  300. package/dist/config/plugin/image.js +116 -116
  301. package/dist/config/plugin/instruction.js +116 -116
  302. package/dist/config/plugin/location-watcher.js +118 -118
  303. package/dist/config/plugin/mcp.js +125 -125
  304. package/dist/config/plugin/policy.js +117 -117
  305. package/dist/config/plugin/provider.js +116 -116
  306. package/dist/config/plugin/reference.js +118 -118
  307. package/dist/config/plugin/shell.js +116 -116
  308. package/dist/config/plugin/skill-file.js +104 -104
  309. package/dist/config/plugin/skill-scan.js +1 -1
  310. package/dist/config/plugin/skill.js +138 -138
  311. package/dist/config/plugin/snapshot.js +116 -116
  312. package/dist/config/plugin/source.js +119 -119
  313. package/dist/config/plugin/tool-output.js +117 -117
  314. package/dist/config/plugin/websearch.js +115 -115
  315. package/dist/config/plugin/worktree.js +118 -118
  316. package/dist/config/variable.js +1 -1
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +121 -121
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +81 -81
  321. package/dist/database/database.js +68 -68
  322. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +13 -13
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +14 -14
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  385. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  386. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  387. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  388. package/dist/database/migration.gen.js +51 -51
  389. package/dist/database/migration.js +53 -53
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +78 -78
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +369 -369
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +3 -3
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +95 -95
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +95 -95
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +3 -3
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +76 -76
  413. package/dist/file-access.js +106 -106
  414. package/dist/file-mutation.js +92 -92
  415. package/dist/file-retention.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/location-watcher-policy.js +6 -6
  421. package/dist/filesystem/location-watcher.js +221 -221
  422. package/dist/filesystem/protected.js +1 -1
  423. package/dist/filesystem/search.js +105 -105
  424. package/dist/filesystem/watcher-binding.js +1 -1
  425. package/dist/filesystem/watcher.js +15 -15
  426. package/dist/filesystem.js +104 -104
  427. package/dist/form.js +88 -88
  428. package/dist/formatter/builtins.js +4 -4
  429. package/dist/formatter.js +89 -89
  430. package/dist/generate.js +106 -106
  431. package/dist/git.js +10 -10
  432. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  433. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  434. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  436. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  438. package/dist/github-copilot/copilot-provider.js +17 -17
  439. package/dist/github-copilot/models.js +101 -101
  440. package/dist/github-copilot/openai-compatible-error.js +1 -1
  441. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  442. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  443. package/dist/github-copilot/responses/openai-error.js +1 -1
  444. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  445. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  446. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  447. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  448. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  451. package/dist/image/photon.js +2 -2
  452. package/dist/image.js +4 -4
  453. package/dist/instance/service.js +5 -5
  454. package/dist/instance.js +360 -360
  455. package/dist/instruction-discovery.js +84 -84
  456. package/dist/instructions/builtins.js +89 -89
  457. package/dist/instructions/index.js +5 -5
  458. package/dist/integration/connection.js +3 -3
  459. package/dist/integration.js +89 -89
  460. package/dist/job.js +80 -80
  461. package/dist/kv/sql.js +2 -2
  462. package/dist/kv.js +75 -75
  463. package/dist/location-activity.js +136 -136
  464. package/dist/location-lifecycle.js +105 -105
  465. package/dist/location-service-map.js +88 -88
  466. package/dist/location-services.js +357 -357
  467. package/dist/location.js +89 -89
  468. package/dist/managed-policy.js +8 -8
  469. package/dist/mcp/client.js +93 -93
  470. package/dist/mcp/index.js +105 -105
  471. package/dist/mcp/instructions.js +131 -131
  472. package/dist/mcp/oauth.js +77 -77
  473. package/dist/mcp/stdio.js +92 -92
  474. package/dist/mime.js +1 -1
  475. package/dist/modal/models.js +101 -101
  476. package/dist/model-resolver.js +100 -100
  477. package/dist/model-retry.js +1 -1
  478. package/dist/model.js +102 -102
  479. package/dist/models-dev.js +109 -109
  480. package/dist/oauth/page.js +1 -1
  481. package/dist/permission/saved.js +82 -82
  482. package/dist/permission/sql.js +5 -5
  483. package/dist/permission.js +115 -115
  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 +78 -78
  487. package/dist/persistent-pty/pty-binding.js +1 -1
  488. package/dist/persistent-pty.js +77 -77
  489. package/dist/plugin/agent.js +78 -78
  490. package/dist/plugin/command.js +104 -104
  491. package/dist/plugin/hooks.js +5 -5
  492. package/dist/plugin/host.js +212 -212
  493. package/dist/plugin/identity.js +3 -3
  494. package/dist/plugin/instance.js +5 -5
  495. package/dist/plugin/internal.js +331 -331
  496. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  497. package/dist/plugin/models-dev.js +98 -98
  498. package/dist/plugin/module.js +117 -117
  499. package/dist/plugin/optimize.js +2 -2
  500. package/dist/plugin/plan.js +104 -104
  501. package/dist/plugin/promise.js +1 -1
  502. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  503. package/dist/plugin/provider/azure.js +116 -116
  504. package/dist/plugin/provider/cerebras.js +1 -1
  505. package/dist/plugin/provider/chatgpt.js +116 -116
  506. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  507. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  508. package/dist/plugin/provider/cohere.js +2 -2
  509. package/dist/plugin/provider/configured.js +112 -112
  510. package/dist/plugin/provider/databricks.js +1 -1
  511. package/dist/plugin/provider/digitalocean.js +95 -95
  512. package/dist/plugin/provider/dynamic.js +2 -2
  513. package/dist/plugin/provider/factory.js +1 -1
  514. package/dist/plugin/provider/github-copilot.js +97 -97
  515. package/dist/plugin/provider/gitlab.js +95 -95
  516. package/dist/plugin/provider/google-vertex.js +113 -113
  517. package/dist/plugin/provider/kilo.js +1 -1
  518. package/dist/plugin/provider/llmgateway.js +80 -80
  519. package/dist/plugin/provider/lmstudio.js +125 -125
  520. package/dist/plugin/provider/local.js +122 -122
  521. package/dist/plugin/provider/modal.js +94 -94
  522. package/dist/plugin/provider/neon.js +1 -1
  523. package/dist/plugin/provider/nvidia.js +1 -1
  524. package/dist/plugin/provider/ollama.js +123 -123
  525. package/dist/plugin/provider/openai.js +116 -116
  526. package/dist/plugin/provider/opencode.js +100 -100
  527. package/dist/plugin/provider/openrouter.js +93 -93
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +81 -81
  530. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  531. package/dist/plugin/provider/sap-ai-core.js +93 -93
  532. package/dist/plugin/provider/sdk-factory.js +1 -1
  533. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  534. package/dist/plugin/provider/vercel.js +92 -92
  535. package/dist/plugin/provider/vllm.js +125 -125
  536. package/dist/plugin/provider/xai.js +93 -93
  537. package/dist/plugin/provider/zenmux.js +1 -1
  538. package/dist/plugin/provider.js +168 -168
  539. package/dist/plugin/sdk.js +78 -78
  540. package/dist/plugin/service.js +3 -3
  541. package/dist/plugin/skill.js +134 -134
  542. package/dist/plugin/source-directory.js +1 -1
  543. package/dist/plugin/supervisor.js +348 -348
  544. package/dist/plugin/tool-input-repair.js +4 -4
  545. package/dist/plugin/update.js +6 -6
  546. package/dist/plugin/vcs/git.js +88 -88
  547. package/dist/plugin/vcs/hg.js +88 -88
  548. package/dist/plugin/verbosity.js +95 -95
  549. package/dist/plugin/warming.js +114 -114
  550. package/dist/plugin/websearch/exa.js +5 -5
  551. package/dist/plugin/websearch/firecrawl.js +8 -8
  552. package/dist/plugin/websearch/index.js +9 -9
  553. package/dist/plugin/websearch/mcp.js +6 -6
  554. package/dist/plugin/websearch/parallel.js +6 -6
  555. package/dist/plugin/websearch/tavily.js +6 -6
  556. package/dist/plugin/websearch/tinyfish.js +6 -6
  557. package/dist/plugin.js +217 -217
  558. package/dist/project/schema.js +8 -8
  559. package/dist/project/sql.js +4 -4
  560. package/dist/project.js +90 -90
  561. package/dist/provider.js +103 -103
  562. package/dist/pty/protocol.js +1 -1
  563. package/dist/pty/ticket.js +1 -1
  564. package/dist/pty.js +95 -95
  565. package/dist/reference/instructions.js +91 -91
  566. package/dist/reference.js +93 -93
  567. package/dist/repository-cache.js +83 -83
  568. package/dist/repository.js +1 -1
  569. package/dist/ripgrep/binary.js +2 -2
  570. package/dist/ripgrep.js +97 -97
  571. package/dist/rpc.js +88 -88
  572. package/dist/schema.js +1 -1
  573. package/dist/session/affinity.js +1 -1
  574. package/dist/session/command.js +76 -76
  575. package/dist/session/compaction.js +138 -138
  576. package/dist/session/context.js +155 -155
  577. package/dist/session/diff.js +90 -90
  578. package/dist/session/environment.js +5 -5
  579. package/dist/session/error.js +5 -5
  580. package/dist/session/event.js +1 -1
  581. package/dist/session/execution/restart.js +215 -215
  582. package/dist/session/execution.js +129 -129
  583. package/dist/session/generate.js +157 -157
  584. package/dist/session/history.js +13 -13
  585. package/dist/session/inbox.js +92 -92
  586. package/dist/session/info.js +3 -3
  587. package/dist/session/instruction-entry.js +81 -81
  588. package/dist/session/instruction-state.js +8 -8
  589. package/dist/session/instructions.js +99 -99
  590. package/dist/session/message-updater.js +2 -2
  591. package/dist/session/message.js +1 -1
  592. package/dist/session/model-request.js +122 -122
  593. package/dist/session/model-transport.js +9 -9
  594. package/dist/session/move.js +131 -131
  595. package/dist/session/projector.js +88 -88
  596. package/dist/session/prompt.js +107 -107
  597. package/dist/session/provider-context.js +3 -3
  598. package/dist/session/revert.js +92 -92
  599. package/dist/session/run-coordinator.js +3 -3
  600. package/dist/session/runner/index.js +3 -3
  601. package/dist/session/runner/llm.js +223 -223
  602. package/dist/session/runner/max-steps.js +1 -1
  603. package/dist/session/runner/model.js +100 -100
  604. package/dist/session/runner/publish-llm-event.js +115 -115
  605. package/dist/session/runner/retry.js +5 -5
  606. package/dist/session/runner/step.js +126 -126
  607. package/dist/session/runner/to-llm-message.js +2 -2
  608. package/dist/session/schema.js +5 -5
  609. package/dist/session/session.js +164 -164
  610. package/dist/session/shell.js +130 -130
  611. package/dist/session/skill.js +105 -105
  612. package/dist/session/sql.js +5 -5
  613. package/dist/session/stats.js +75 -75
  614. package/dist/session/store.js +87 -87
  615. package/dist/session/subagent-completion.js +1 -1
  616. package/dist/session/subagent-job.js +206 -206
  617. package/dist/session/system-prompt.js +3 -3
  618. package/dist/session/title.js +153 -153
  619. package/dist/session/to-session-error.js +113 -113
  620. package/dist/session/transfer.js +211 -211
  621. package/dist/session/usage.js +1 -1
  622. package/dist/session.js +208 -208
  623. package/dist/shell/parse.js +6 -6
  624. package/dist/shell/result.js +1 -1
  625. package/dist/shell/scan.js +1 -1
  626. package/dist/shell/select.js +13 -13
  627. package/dist/shell.js +130 -130
  628. package/dist/skill/discovery.js +6 -6
  629. package/dist/skill/instructions.js +107 -107
  630. package/dist/skill.js +114 -114
  631. package/dist/snapshot.js +95 -95
  632. package/dist/state.js +1 -1
  633. package/dist/tool/html-markdown.js +1 -1
  634. package/dist/tool/http-body.js +1 -1
  635. package/dist/tool/mcp.js +128 -128
  636. package/dist/tool/plugin/edit.js +122 -122
  637. package/dist/tool/plugin/file-diff.js +1 -1
  638. package/dist/tool/plugin/glob.js +126 -126
  639. package/dist/tool/plugin/grep.js +126 -126
  640. package/dist/tool/plugin/mcp-resource.js +119 -119
  641. package/dist/tool/plugin/opencode.js +111 -111
  642. package/dist/tool/plugin/patch.js +120 -120
  643. package/dist/tool/plugin/question.js +105 -105
  644. package/dist/tool/plugin/read.js +127 -127
  645. package/dist/tool/plugin/shell.js +209 -209
  646. package/dist/tool/plugin/skill.js +113 -113
  647. package/dist/tool/plugin/subagent.js +213 -213
  648. package/dist/tool/plugin/webfetch.js +114 -114
  649. package/dist/tool/plugin/websearch.js +114 -114
  650. package/dist/tool/plugin/write.js +124 -124
  651. package/dist/tool/read-filesystem.js +102 -102
  652. package/dist/tool/runtime.js +1 -1
  653. package/dist/tool-output.js +7 -7
  654. package/dist/tool.js +12 -12
  655. package/dist/util/error-summary.js +1 -1
  656. package/dist/util/error.js +1 -1
  657. package/dist/util/git-executable.js +2 -2
  658. package/dist/util/iife.js +1 -1
  659. package/dist/util/lazy.js +1 -1
  660. package/dist/util/slug.js +1 -1
  661. package/dist/util/token.js +1 -1
  662. package/dist/util/which.js +1 -1
  663. package/dist/util/wildcard.js +1 -1
  664. package/dist/v1/config/agent.js +5 -5
  665. package/dist/v1/config/command.js +5 -5
  666. package/dist/v1/config/error.js +2 -2
  667. package/dist/v1/config/mcp.js +4 -4
  668. package/dist/v1/config/migrate.js +94 -94
  669. package/dist/v1/config/permission.js +3 -3
  670. package/dist/v1/config/plugin.js +3 -3
  671. package/dist/v1/config/provider-options.js +1 -1
  672. package/dist/v1/config/provider.js +4 -4
  673. package/dist/variant.js +93 -93
  674. package/dist/vcs/patch.js +1 -1
  675. package/dist/vcs.js +91 -91
  676. package/dist/voice.js +86 -86
  677. package/dist/websearch.js +86 -86
  678. package/dist/wellknown/plugin.js +78 -78
  679. package/dist/wellknown.js +79 -79
  680. package/dist/workspace/driver.js +7 -7
  681. package/dist/workspace/sql.js +1 -1
  682. package/dist/workspace.js +84 -84
  683. package/dist/worktree/directory.js +2 -2
  684. package/dist/worktree/git.js +10 -10
  685. package/dist/worktree/sql.js +5 -5
  686. package/dist/worktree/strategies.js +91 -91
  687. package/dist/worktree.js +98 -98
  688. package/package.json +8 -8
  689. package/dist/chunks/vcs-bv44jw4t.js +0 -26
  690. package/dist/chunks/vcs-by5v678g.js +0 -18
  691. package/dist/chunks/vcs-c8hk0g2y.js +0 -257
  692. /package/dist/chunks/{vcs-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{vcs-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{vcs-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{vcs-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{vcs-1kg9ymc8.js → snapshot-1kg9ymc8.js} +0 -0
  697. /package/dist/chunks/{vcs-24dcb14g.js → snapshot-24dcb14g.js} +0 -0
  698. /package/dist/chunks/{vcs-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
  699. /package/dist/chunks/{vcs-2axfhc9x.js → snapshot-2axfhc9x.js} +0 -0
  700. /package/dist/chunks/{vcs-2bv980vf.js → snapshot-2bv980vf.js} +0 -0
  701. /package/dist/chunks/{vcs-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
  702. /package/dist/chunks/{vcs-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
  703. /package/dist/chunks/{vcs-3asan66x.js → snapshot-3asan66x.js} +0 -0
  704. /package/dist/chunks/{vcs-3t0ybcrp.js → snapshot-3t0ybcrp.js} +0 -0
  705. /package/dist/chunks/{vcs-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
  706. /package/dist/chunks/{vcs-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
  707. /package/dist/chunks/{vcs-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
  708. /package/dist/chunks/{vcs-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
  709. /package/dist/chunks/{vcs-4vcrnpx2.js → snapshot-4vcrnpx2.js} +0 -0
  710. /package/dist/chunks/{vcs-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
  711. /package/dist/chunks/{vcs-53557ph1.js → snapshot-53557ph1.js} +0 -0
  712. /package/dist/chunks/{vcs-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
  713. /package/dist/chunks/{vcs-5qd3pb7m.js → snapshot-5qd3pb7m.js} +0 -0
  714. /package/dist/chunks/{vcs-6prwharc.js → snapshot-6prwharc.js} +0 -0
  715. /package/dist/chunks/{vcs-6q2bdcd1.js → snapshot-6q2bdcd1.js} +0 -0
  716. /package/dist/chunks/{vcs-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
  717. /package/dist/chunks/{vcs-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
  718. /package/dist/chunks/{vcs-822emrt2.js → snapshot-822emrt2.js} +0 -0
  719. /package/dist/chunks/{vcs-84wd9syh.js → snapshot-84wd9syh.js} +0 -0
  720. /package/dist/chunks/{vcs-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
  721. /package/dist/chunks/{vcs-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
  722. /package/dist/chunks/{vcs-8wj87zfr.js → snapshot-8wj87zfr.js} +0 -0
  723. /package/dist/chunks/{vcs-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
  724. /package/dist/chunks/{vcs-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
  725. /package/dist/chunks/{vcs-a6k6eb26.js → snapshot-a6k6eb26.js} +0 -0
  726. /package/dist/chunks/{vcs-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
  727. /package/dist/chunks/{vcs-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
  728. /package/dist/chunks/{vcs-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
  729. /package/dist/chunks/{vcs-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
  730. /package/dist/chunks/{vcs-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
  731. /package/dist/chunks/{vcs-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
  732. /package/dist/chunks/{vcs-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
  733. /package/dist/chunks/{vcs-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
  734. /package/dist/chunks/{vcs-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
  735. /package/dist/chunks/{vcs-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
  736. /package/dist/chunks/{vcs-dajrwvna.js → snapshot-dajrwvna.js} +0 -0
  737. /package/dist/chunks/{vcs-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
  738. /package/dist/chunks/{vcs-df08tz66.js → snapshot-df08tz66.js} +0 -0
  739. /package/dist/chunks/{vcs-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
  740. /package/dist/chunks/{vcs-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
  741. /package/dist/chunks/{vcs-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
  742. /package/dist/chunks/{vcs-ec1grn59.js → snapshot-ec1grn59.js} +0 -0
  743. /package/dist/chunks/{vcs-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
  744. /package/dist/chunks/{vcs-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
  745. /package/dist/chunks/{vcs-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
  746. /package/dist/chunks/{vcs-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
  747. /package/dist/chunks/{vcs-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
  748. /package/dist/chunks/{vcs-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
  749. /package/dist/chunks/{vcs-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
  750. /package/dist/chunks/{vcs-g86h250q.js → snapshot-g86h250q.js} +0 -0
  751. /package/dist/chunks/{vcs-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
  752. /package/dist/chunks/{vcs-gftt206x.js → snapshot-gftt206x.js} +0 -0
  753. /package/dist/chunks/{vcs-hcxmzztb.js → snapshot-hcxmzztb.js} +0 -0
  754. /package/dist/chunks/{vcs-hk9envan.js → snapshot-hk9envan.js} +0 -0
  755. /package/dist/chunks/{vcs-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
  756. /package/dist/chunks/{vcs-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
  757. /package/dist/chunks/{vcs-jjkms2e6.js → snapshot-jjkms2e6.js} +0 -0
  758. /package/dist/chunks/{vcs-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
  759. /package/dist/chunks/{vcs-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
  760. /package/dist/chunks/{vcs-jze0r7bz.js → snapshot-jze0r7bz.js} +0 -0
  761. /package/dist/chunks/{vcs-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
  762. /package/dist/chunks/{vcs-m18g726c.js → snapshot-m18g726c.js} +0 -0
  763. /package/dist/chunks/{vcs-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
  764. /package/dist/chunks/{vcs-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
  765. /package/dist/chunks/{vcs-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
  766. /package/dist/chunks/{vcs-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
  767. /package/dist/chunks/{vcs-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
  768. /package/dist/chunks/{vcs-pkyv6v7h.js → snapshot-pkyv6v7h.js} +0 -0
  769. /package/dist/chunks/{vcs-pyv0edze.js → snapshot-pyv0edze.js} +0 -0
  770. /package/dist/chunks/{vcs-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
  771. /package/dist/chunks/{vcs-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
  772. /package/dist/chunks/{vcs-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
  773. /package/dist/chunks/{vcs-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
  774. /package/dist/chunks/{vcs-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
  775. /package/dist/chunks/{vcs-qg3g05ea.js → snapshot-qg3g05ea.js} +0 -0
  776. /package/dist/chunks/{vcs-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
  777. /package/dist/chunks/{vcs-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
  778. /package/dist/chunks/{vcs-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
  779. /package/dist/chunks/{vcs-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
  780. /package/dist/chunks/{vcs-ve7vex1e.js → snapshot-ve7vex1e.js} +0 -0
  781. /package/dist/chunks/{vcs-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
  782. /package/dist/chunks/{vcs-wc3fc9cn.js → snapshot-wc3fc9cn.js} +0 -0
  783. /package/dist/chunks/{vcs-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
  784. /package/dist/chunks/{vcs-wjj7prxr.js → snapshot-wjj7prxr.js} +0 -0
  785. /package/dist/chunks/{vcs-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
  786. /package/dist/chunks/{vcs-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
  787. /package/dist/chunks/{vcs-x61499pn.js → snapshot-x61499pn.js} +0 -0
  788. /package/dist/chunks/{vcs-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
  789. /package/dist/chunks/{vcs-y8f7s663.js → snapshot-y8f7s663.js} +0 -0
  790. /package/dist/chunks/{vcs-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
  791. /package/dist/chunks/{vcs-ym463w8f.js → snapshot-ym463w8f.js} +0 -0
  792. /package/dist/chunks/{vcs-z5v4ffb3.js → snapshot-z5v4ffb3.js} +0 -0
  793. /package/dist/chunks/{vcs-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./vcs-9zty5rse.js";
4
+ } from "./snapshot-2n9dancj.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./vcs-y71avatq.js";
7
+ } from "./snapshot-jwcy2c2z.js";
8
8
  import {
9
- Service85,
10
- node89
11
- } from "./vcs-65bcgfe5.js";
9
+ Service83,
10
+ node87
11
+ } from "./snapshot-9msepacv.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./vcs-ec1grn59.js";
14
+ } from "./snapshot-ec1grn59.js";
15
15
  import {
16
16
  SessionMessage2
17
- } from "./vcs-gftt206x.js";
17
+ } from "./snapshot-gftt206x.js";
18
18
  import {
19
19
  SessionSchema2
20
- } from "./vcs-48kw51zw.js";
20
+ } from "./snapshot-143qq2q9.js";
21
21
  import {
22
22
  SessionMessageTable2,
23
23
  SessionInboxTable2
24
- } from "./vcs-c1fqxshp.js";
24
+ } from "./snapshot-c1fqxshp.js";
25
25
  import {
26
26
  __export
27
- } from "./vcs-9rqn6x4v.js";
27
+ } from "./snapshot-9rqn6x4v.js";
28
28
 
29
29
  // src/session/inbox.ts
30
30
  var exports_inbox = {};
@@ -32,12 +32,12 @@ __export(exports_inbox, {
32
32
  Compaction: () => Compaction2,
33
33
  CompactionPayload: () => CompactionPayload2,
34
34
  Delivery: () => Delivery2,
35
- Info: () => Info11,
35
+ Info: () => Info16,
36
36
  Item: () => Item2,
37
37
  LifecycleConflict: () => LifecycleConflict2,
38
38
  Move: () => Move2,
39
39
  MovePayload: () => MovePayload2,
40
- Service: () => Service47,
40
+ Service: () => Service62,
41
41
  SessionInbox: () => exports_inbox,
42
42
  Synthetic: () => Synthetic2,
43
43
  SyntheticPayload: () => SyntheticPayload2,
@@ -45,12 +45,12 @@ __export(exports_inbox, {
45
45
  UserPayload: () => UserPayload2,
46
46
  find: () => find2,
47
47
  has: () => has2,
48
- layer: () => layer21,
49
- list: () => list3,
50
- make: () => make17,
48
+ layer: () => layer26,
49
+ list: () => list4,
50
+ make: () => make19,
51
51
  moveIDs: () => moveIDs2,
52
52
  nextPromotable: () => nextPromotable2,
53
- node: () => node49,
53
+ node: () => node66,
54
54
  projectAdmitted: () => projectAdmitted2,
55
55
  projectCancelled: () => projectCancelled2,
56
56
  projectDelivered: () => projectDelivered2,
@@ -65,7 +65,7 @@ import {
65
65
  Compaction as Compaction2,
66
66
  CompactionPayload as CompactionPayload2,
67
67
  Delivery as Delivery2,
68
- Info as Info11,
68
+ Info as Info16,
69
69
  Item as Item2,
70
70
  Move as Move2,
71
71
  MovePayload as MovePayload2,
@@ -151,12 +151,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
151
151
  return yield* new LifecycleConflict2({ id });
152
152
  });
153
153
 
154
- class Service47 extends Context.Service()("@opencode/SessionInbox") {
154
+ class Service62 extends Context.Service()("@opencode/SessionInbox") {
155
155
  }
156
- var make17 = Effect.fn("SessionInbox.make")(function* () {
156
+ var make19 = Effect.fn("SessionInbox.make")(function* () {
157
157
  const database = yield* Service86;
158
158
  const db = database.db;
159
- const bus = yield* Service85;
159
+ const bus = yield* Service83;
160
160
  const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
161
161
  const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
162
162
  if (existing === undefined)
@@ -173,7 +173,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
173
173
  inboxID: request.id,
174
174
  sessionID: request.sessionID,
175
175
  item: request.item
176
- }).pipe(Effect.map((event) => Info11.make({
176
+ }).pipe(Effect.map((event) => Info16.make({
177
177
  id: request.id,
178
178
  sessionID: request.sessionID,
179
179
  time: { created: DateTime.makeUnsafe(event.created) },
@@ -193,7 +193,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
193
193
  }
194
194
  if (yield* promotedFromMessage(db, input.sessionID, input.id, input.delivery))
195
195
  return yield* new LifecycleConflict2({ id: input.id });
196
- const pending = (yield* list3(db, input.sessionID)).find((item) => item.type === "compaction");
196
+ const pending = (yield* list4(db, input.sessionID)).find((item) => item.type === "compaction");
197
197
  if (pending)
198
198
  return pending;
199
199
  return yield* admit({
@@ -218,7 +218,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
218
218
  delivery: "queue"
219
219
  })));
220
220
  return {
221
- list: (sessionID) => list3(db, sessionID),
221
+ list: (sessionID) => list4(db, sessionID),
222
222
  reconcile,
223
223
  admit,
224
224
  admitCompaction,
@@ -227,8 +227,8 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
227
227
  queue
228
228
  };
229
229
  });
230
- var layer21 = Layer.effect(Service47, make17());
231
- var node49 = makeGlobalNode({ service: Service47, layer: layer21, deps: [node90, node89] });
230
+ var layer26 = Layer.effect(Service62, make19());
231
+ var node66 = makeGlobalNode({ service: Service62, layer: layer26, deps: [node90, node87] });
232
232
  var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
233
233
  const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
234
234
  if (message !== undefined)
@@ -266,7 +266,7 @@ var projectDeliveryChanged2 = Effect.fn("SessionInbox.projectDeliveryChanged")((
266
266
  from: input.delivery === "steer" ? "queue" : "steer",
267
267
  to: input.delivery
268
268
  }));
269
- var list3 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
269
+ var list4 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
270
270
  const rows = yield* db.select().from(SessionInboxTable2).where(eq(SessionInboxTable2.session_id, sessionID)).orderBy(asc(SessionInboxTable2.enqueued_seq)).all().pipe(Effect.orDie);
271
271
  return rows.map(fromRow);
272
272
  });
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
326
326
  return rows;
327
327
  }));
328
328
 
329
- export { Compaction2, CompactionPayload2, Delivery2, Info11, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service47, make17, layer21, node49, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
329
+ export { Compaction2, CompactionPayload2, Delivery2, Info16, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service62, make19, layer26, node66, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list4, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
@@ -1,46 +1,46 @@
1
1
  import {
2
- Service82
3
- } from "./vcs-30mhpgxs.js";
2
+ Service79
3
+ } from "./snapshot-dec9hyae.js";
4
4
  import {
5
- Service64
6
- } from "./vcs-9xqqbe8y.js";
5
+ Service51
6
+ } from "./snapshot-mk05kat5.js";
7
7
  import {
8
8
  Service21,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./vcs-ngzs6e41.js";
11
+ } from "./snapshot-eqyse9qm.js";
12
12
  import {
13
- Service14
14
- } from "./vcs-azbp20h0.js";
13
+ Service19
14
+ } from "./snapshot-bf7csrhb.js";
15
15
  import {
16
- Service77
17
- } from "./vcs-nrmy76bf.js";
16
+ Service66
17
+ } from "./snapshot-pym14gm6.js";
18
18
  import {
19
- Service76,
19
+ Service16,
20
20
  resolvePath2
21
- } from "./vcs-1n0nm9w2.js";
21
+ } from "./snapshot-q9317srt.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./vcs-6prwharc.js";
24
+ } from "./snapshot-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./vcs-9rqn6x4v.js";
27
+ } from "./snapshot-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input8,
34
- Output: () => Output5,
35
- Plugin: () => Plugin45,
36
- name: () => name8
33
+ Input: () => Input4,
34
+ Output: () => Output2,
35
+ Plugin: () => Plugin22,
36
+ name: () => name4
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name8 = "edit";
43
- var Input8 = Schema.Struct({
42
+ var name4 = "edit";
43
+ var Input4 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input8 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output5 = Schema.Struct({
53
+ var Output2 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -190,21 +190,21 @@ var countBefore = (positions, offset) => {
190
190
  }
191
191
  return low;
192
192
  };
193
- var Plugin45 = {
193
+ var Plugin22 = {
194
194
  id: "opencode.tool.edit",
195
195
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
196
- const access = yield* Service76;
196
+ const access = yield* Service16;
197
197
  const fileMutation = yield* Service21;
198
- const environment = yield* Service64;
199
- const formatter = yield* Service14;
200
- const location = yield* Service82;
201
- const permission = yield* Service77;
198
+ const environment = yield* Service51;
199
+ const formatter = yield* Service19;
200
+ const location = yield* Service79;
201
+ const permission = yield* Service66;
202
202
  yield* ctx.tool.transform((editor) => editor.add({
203
- name: name8,
203
+ name: name4,
204
204
  options: { codemode: false, permission: "edit" },
205
205
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
206
- input: Input8,
207
- output: Output5,
206
+ input: Input4,
207
+ output: Output2,
208
208
  execute: (input, context) => {
209
209
  return Effect.gen(function* () {
210
210
  const permissionSource = {
@@ -276,4 +276,4 @@ var Plugin45 = {
276
276
  })
277
277
  };
278
278
 
279
- export { name8, Input8, Output5, Plugin45, exports_edit };
279
+ export { name4, Input4, Output2, Plugin22, exports_edit };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service43
3
- } from "./vcs-8brep9q6.js";
2
+ Service47
3
+ } from "./snapshot-7j7jdcww.js";
4
4
  import {
5
- Service9
6
- } from "./vcs-gd2a0djy.js";
5
+ Service5
6
+ } from "./snapshot-ndy2c9ss.js";
7
7
  import {
8
8
  observe2
9
- } from "./vcs-qsdy395h.js";
9
+ } from "./snapshot-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./vcs-9rqn6x4v.js";
12
+ } from "./snapshot-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/compaction.ts
15
15
  var exports_compaction = {};
16
16
  __export(exports_compaction, {
17
17
  ConfigCompactionPlugin: () => exports_compaction,
18
- Plugin: () => Plugin31
18
+ Plugin: () => Plugin10
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin31 = define({
22
+ var Plugin10 = define({
23
23
  id: "opencode.config.compaction",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service43;
26
- const compaction = yield* Service9;
25
+ const config = yield* Service47;
26
+ const compaction = yield* Service5;
27
27
  const loaded = yield* observe2(config, ctx.event, compaction.reload());
28
28
  yield* compaction.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -39,4 +39,4 @@ var Plugin31 = define({
39
39
  })
40
40
  });
41
41
 
42
- export { Plugin31, exports_compaction };
42
+ export { Plugin10, exports_compaction };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  create3
3
- } from "./vcs-rdw6cm16.js";
3
+ } from "./snapshot-rdw6cm16.js";
4
4
  import {
5
5
  which2
6
- } from "./vcs-qaymkmh1.js";
6
+ } from "./snapshot-qaymkmh1.js";
7
7
  import {
8
8
  __export
9
- } from "./vcs-9rqn6x4v.js";
9
+ } from "./snapshot-9rqn6x4v.js";
10
10
 
11
11
  // src/shell/select.ts
12
12
  var exports_select = {};
13
13
  __export(exports_select, {
14
- Options: () => Options10,
15
- Service: () => Service54,
14
+ Options: () => Options6,
15
+ Service: () => Service43,
16
16
  ShellSelect: () => exports_select,
17
17
  args: () => args2,
18
- configured: () => configured9,
18
+ configured: () => configured6,
19
19
  environment: () => environment2,
20
20
  gitbash: () => gitbash2,
21
- list: () => list4,
21
+ list: () => list3,
22
22
  login: () => login2,
23
23
  name: () => name15,
24
- node: () => node56,
24
+ node: () => node46,
25
25
  ps: () => ps2,
26
26
  resolve: () => resolve3
27
27
  });
@@ -43,11 +43,11 @@ var META = {
43
43
  sh: { login: true },
44
44
  zsh: { login: true }
45
45
  };
46
- var Options10 = Schema.Struct({
46
+ var Options6 = Schema.Struct({
47
47
  gitbash: Schema.optional(Schema.String)
48
48
  });
49
49
 
50
- class Service54 extends Context.Service()("@opencode/ShellSelect") {
50
+ class Service43 extends Context.Service()("@opencode/ShellSelect") {
51
51
  }
52
52
  function stat(file) {
53
53
  return statSync(file, { throwIfNoEntry: false }) ?? undefined;
@@ -184,11 +184,11 @@ resolve3.reset = () => {
184
184
  defaultConfigured = undefined;
185
185
  defaultCompatible = undefined;
186
186
  };
187
- async function list4(options, bin) {
187
+ async function list3(options, bin) {
188
188
  const shells = process.platform === "win32" ? win(options, bin) : await unix();
189
189
  return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
190
190
  }
191
- var layer = (options) => Layer.effect(Service54, Effect.gen(function* () {
191
+ var layer = (options) => Layer.effect(Service43, Effect.gen(function* () {
192
192
  const global = yield* Global.Service;
193
193
  const state = create3({
194
194
  name: "shell-select",
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service54, Effect.gen(function* () {
199
199
  }
200
200
  })
201
201
  });
202
- return Service54.of({
202
+ return Service43.of({
203
203
  transform: state.transform,
204
204
  reload: state.reload,
205
205
  resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
206
- list: () => Effect.promise(() => list4(options, global.bin))
206
+ list: () => Effect.promise(() => list3(options, global.bin))
207
207
  });
208
208
  }));
209
- function configured9(options) {
210
- return makeLocationNode({ service: Service54, layer: layer(options), deps: [Global.node] });
209
+ function configured6(options) {
210
+ return makeLocationNode({ service: Service43, layer: layer(options), deps: [Global.node] });
211
211
  }
212
- var node56 = configured9();
212
+ var node46 = configured6();
213
213
 
214
- export { Options10, Service54, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured9, node56, exports_select };
214
+ export { Options6, Service43, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list3, configured6, node46, exports_select };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./vcs-9zty5rse.js";
4
+ } from "./snapshot-2n9dancj.js";
5
5
  import {
6
- Service85,
7
- node89
8
- } from "./vcs-65bcgfe5.js";
6
+ Service83,
7
+ node87
8
+ } from "./snapshot-9msepacv.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./vcs-pknna89w.js";
11
+ } from "./snapshot-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./vcs-3zsf4n22.js";
14
+ } from "./snapshot-3zsf4n22.js";
15
15
  import {
16
16
  __export
17
- } from "./vcs-9rqn6x4v.js";
17
+ } from "./snapshot-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event17,
23
+ Event: () => Event18,
24
24
  External: () => External2,
25
25
  ID: () => ID12,
26
- Info: () => Info21,
27
- Key: () => Key3,
26
+ Info: () => Info24,
27
+ Key: () => Key4,
28
28
  OAuth: () => OAuth3,
29
29
  Service: () => Service74,
30
30
  Value: () => Value2,
@@ -37,12 +37,12 @@ import { Integration } from "@opencode/schema/integration";
37
37
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
38
38
  var ID12 = Credential.ID;
39
39
  var OAuth3 = Credential.OAuth;
40
- var Key3 = Credential.Key;
40
+ var Key4 = Credential.Key;
41
41
  var External2 = Credential.External;
42
42
  var Value2 = Credential.Value;
43
- var Event17 = Credential.Event;
43
+ var Event18 = Credential.Event;
44
44
 
45
- class Info21 extends Schema.Class("Credential.Info")({
45
+ class Info24 extends Schema.Class("Credential.Info")({
46
46
  id: ID12,
47
47
  integrationID: Integration.ID,
48
48
  label: Schema.String,
@@ -54,12 +54,12 @@ class Service74 extends Context.Service()("@opencode/Credential") {
54
54
  }
55
55
  var layer = Layer.effect(Service74, Effect.gen(function* () {
56
56
  const db = (yield* Service86).db;
57
- const bus = yield* Service85;
57
+ const bus = yield* Service83;
58
58
  const decode = Schema.decodeUnknownSync(Value2);
59
59
  const stored = (row) => {
60
60
  if (!row.integration_id)
61
61
  return;
62
- return new Info21({
62
+ return new Info24({
63
63
  id: row.id,
64
64
  integrationID: row.integration_id,
65
65
  label: row.label,
@@ -78,7 +78,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
78
78
  return row ? stored(row) : undefined;
79
79
  }),
80
80
  create: Effect.fn("Credential.create")(function* (input) {
81
- const credential = new Info21({
81
+ const credential = new Info24({
82
82
  id: input.id ?? ID12.create(),
83
83
  integrationID: input.integrationID,
84
84
  label: input.label ?? "default",
@@ -110,9 +110,9 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
110
110
  type: credential.value.type,
111
111
  active: activated
112
112
  });
113
- yield* bus.publish(Event17.Updated, {}, { global: true });
113
+ yield* bus.publish(Event18.Updated, {}, { global: true });
114
114
  if (activated)
115
- yield* bus.publish(Event17.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
115
+ yield* bus.publish(Event18.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
116
116
  return credential;
117
117
  }),
118
118
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -132,7 +132,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
132
132
  })), Effect.orDie);
133
133
  if (integrationID) {
134
134
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
135
- yield* bus.publish(Event17.Switched, { integrationID, credentialID: id }, { global: true });
135
+ yield* bus.publish(Event18.Switched, { integrationID, credentialID: id }, { global: true });
136
136
  }
137
137
  }),
138
138
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -164,7 +164,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
164
164
  labelChanged: updates.label !== undefined && updates.label !== credential.label
165
165
  });
166
166
  if (updates.label !== undefined && updates.label !== credential.label)
167
- yield* bus.publish(Event17.Updated, {}, { global: true });
167
+ yield* bus.publish(Event18.Updated, {}, { global: true });
168
168
  }),
169
169
  remove: Effect.fn("Credential.remove")(function* (id) {
170
170
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -197,12 +197,12 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
197
197
  active: removed.switched,
198
198
  ...removed.switched ? { replacementID: removed.credentialID } : {}
199
199
  });
200
- yield* bus.publish(Event17.Updated, {}, { global: true });
200
+ yield* bus.publish(Event18.Updated, {}, { global: true });
201
201
  if (removed.switched)
202
- yield* bus.publish(Event17.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
202
+ yield* bus.publish(Event18.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
203
203
  })
204
204
  });
205
205
  }));
206
- var node78 = makeGlobalNode({ service: Service74, layer, deps: [node90, node89] });
206
+ var node78 = makeGlobalNode({ service: Service74, layer, deps: [node90, node87] });
207
207
 
208
- export { ID12, OAuth3, Key3, External2, Value2, Event17, Info21, Service74, node78, exports_credential };
208
+ export { ID12, OAuth3, Key4, External2, Value2, Event18, Info24, Service74, node78, exports_credential };
@@ -1,25 +1,25 @@
1
1
  import {
2
- ID9,
2
+ ID10,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./vcs-cehqmkb3.js";
5
+ } from "./snapshot-6k8an2y9.js";
6
6
  import {
7
- ID7,
7
+ ID8,
8
8
  VariantID2,
9
9
  Family2,
10
- Info14
11
- } from "./vcs-ftr1c4rp.js";
10
+ Info19
11
+ } from "./snapshot-hsxaxx1c.js";
12
12
  import {
13
13
  __export
14
- } from "./vcs-9rqn6x4v.js";
14
+ } from "./snapshot-9rqn6x4v.js";
15
15
 
16
16
  // src/github-copilot/models.ts
17
- var exports_models2 = {};
18
- __export(exports_models2, {
19
- CopilotModels: () => exports_models2,
20
- derive: () => derive3,
21
- get: () => get3,
22
- load: () => load3
17
+ var exports_models = {};
18
+ __export(exports_models, {
19
+ CopilotModels: () => exports_models,
20
+ derive: () => derive2,
21
+ get: () => get2,
22
+ load: () => load2
23
23
  });
24
24
  import { Money } from "@opencode/schema/money";
25
25
  import { Option, Schema } from "effect";
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
68
68
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
69
69
  var decodeResponse = Schema.decodeUnknownSync(Response);
70
70
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
71
- async function get3(baseURL, headers, existing) {
72
- return derive3(baseURL, await load3(baseURL, headers), existing);
71
+ async function get2(baseURL, headers, existing) {
72
+ return derive2(baseURL, await load2(baseURL, headers), existing);
73
73
  }
74
- async function load3(baseURL, headers) {
74
+ async function load2(baseURL, headers) {
75
75
  const response = await fetch(`${baseURL}/models`, {
76
76
  headers,
77
77
  signal: AbortSignal.timeout(5000)
@@ -83,7 +83,7 @@ async function load3(baseURL, headers) {
83
83
  return model && usable(model) ? [[model.id, model]] : [];
84
84
  }));
85
85
  }
86
- function derive3(baseURL, remote, existing) {
86
+ function derive2(baseURL, remote, existing) {
87
87
  const result = new Map(existing.map((model) => [model.id, model]));
88
88
  for (const [id, model] of result) {
89
89
  const current = remote.get(model.modelID);
@@ -94,7 +94,7 @@ function derive3(baseURL, remote, existing) {
94
94
  result.set(id, build(id, current, baseURL, model));
95
95
  }
96
96
  for (const [id, model] of remote) {
97
- const key = ID7.make(id);
97
+ const key = ID8.make(id);
98
98
  if (result.has(key))
99
99
  continue;
100
100
  result.set(key, build(key, model, baseURL));
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
118
118
  const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
119
119
  const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
120
120
  const released = previous?.time.released || Date.parse(version);
121
- return Info14.make({
122
- ...Info14.default(ID9.githubCopilot, id),
121
+ return Info19.make({
122
+ ...Info19.default(ID10.githubCopilot, id),
123
123
  id,
124
- modelID: ID7.make(remote.id),
125
- providerID: ID9.githubCopilot,
124
+ modelID: ID8.make(remote.id),
125
+ providerID: ID10.githubCopilot,
126
126
  family: previous?.family ?? Family2.make(remote.capabilities.family),
127
127
  name: previous?.name ?? remote.name,
128
128
  package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
@@ -197,4 +197,4 @@ function variants(remote, messages) {
197
197
  ];
198
198
  }
199
199
 
200
- export { get3, load3, derive3, exports_models2 };
200
+ export { get2, load2, derive2, exports_models };