@opencode/core 0.0.0-dev-19358 → 0.0.0-dev-19362

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 (782) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{command-zg7s7pjs.js → snapshot-00d8bk2c.js} +15 -15
  9. package/dist/chunks/{command-r98e92ep.js → snapshot-00z3vp5f.js} +4 -4
  10. package/dist/chunks/{command-s8d7rejh.js → snapshot-02nrjc1r.js} +8 -8
  11. package/dist/chunks/{command-snt4nv2a.js → snapshot-02x4p606.js} +13 -13
  12. package/dist/chunks/{command-w2q9x1k3.js → snapshot-08z5qwsn.js} +8 -8
  13. package/dist/chunks/{command-tknkg6rx.js → snapshot-09pt2xwc.js} +26 -26
  14. package/dist/chunks/{command-jva4mgym.js → snapshot-0gr7cw0d.js} +4 -4
  15. package/dist/chunks/{command-qxnh841b.js → snapshot-0kx8fr81.js} +12 -12
  16. package/dist/chunks/{command-0paq2nw3.js → snapshot-0paq2nw3.js} +1 -1
  17. package/dist/chunks/{command-0q0f95c6.js → snapshot-0q0f95c6.js} +1 -1
  18. package/dist/chunks/{command-pt50yj7n.js → snapshot-101mmrps.js} +15 -15
  19. package/dist/chunks/{command-jm23p7wd.js → snapshot-115zm06g.js} +21 -21
  20. package/dist/chunks/{command-s8adj76m.js → snapshot-11krw4sv.js} +6 -6
  21. package/dist/chunks/{command-f2n192rq.js → snapshot-1acjjqhc.js} +4 -4
  22. package/dist/chunks/{command-1dazxqgg.js → snapshot-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{command-1dfhrqqs.js → snapshot-1dfhrqqs.js} +2 -2
  24. package/dist/chunks/{command-de8rrxbc.js → snapshot-1hmd9bvy.js} +7 -7
  25. package/dist/chunks/{command-s8x2ny25.js → snapshot-1n5w6kky.js} +33 -33
  26. package/dist/chunks/snapshot-1tm0r3ht.js +4 -0
  27. package/dist/chunks/{command-56gdpj1q.js → snapshot-1ygqh575.js} +9 -9
  28. package/dist/chunks/{command-z9g6acw9.js → snapshot-1yy0zkw2.js} +6 -6
  29. package/dist/chunks/{command-21r38tys.js → snapshot-21r38tys.js} +1 -1
  30. package/dist/chunks/{command-2402vzrj.js → snapshot-2402vzrj.js} +1 -1
  31. package/dist/chunks/{command-2a5m3afh.js → snapshot-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{command-gsx0ryk4.js → snapshot-2bt6bea8.js} +9 -9
  33. package/dist/chunks/{command-0btf9jkj.js → snapshot-2ghe8nap.js} +4 -4
  34. package/dist/chunks/{command-nfhmz961.js → snapshot-2hmhrvhr.js} +9 -9
  35. package/dist/chunks/{command-4a54se45.js → snapshot-2k2547xr.js} +46 -46
  36. package/dist/chunks/{command-nmxjcnz2.js → snapshot-2nr6jjjb.js} +4 -4
  37. package/dist/chunks/{command-hdt6myfc.js → snapshot-2pe4ka75.js} +16 -16
  38. package/dist/chunks/{command-19av3p62.js → snapshot-2pmqj7wm.js} +5 -5
  39. package/dist/chunks/{command-sqbb0ctm.js → snapshot-2xwkyk0m.js} +5 -5
  40. package/dist/chunks/{command-cpj6a2aa.js → snapshot-2zy5fz4d.js} +43 -43
  41. package/dist/chunks/{command-pbtsv70y.js → snapshot-34463xm6.js} +9 -9
  42. package/dist/chunks/{command-9td3nvch.js → snapshot-349ds58m.js} +3 -3
  43. package/dist/chunks/{command-se0tgtr4.js → snapshot-37kxf6gx.js} +18 -18
  44. package/dist/chunks/{command-2qp6y8xf.js → snapshot-37s12vcn.js} +5 -5
  45. package/dist/chunks/{command-nsk5ybg9.js → snapshot-38gny86z.js} +13 -13
  46. package/dist/chunks/{command-3kpvh92z.js → snapshot-3dzx0bmr.js} +24 -24
  47. package/dist/chunks/{command-gdvy8fx6.js → snapshot-3fc6dm20.js} +4 -4
  48. package/dist/chunks/{command-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
  49. package/dist/chunks/{command-azw47gg7.js → snapshot-3k48j7jk.js} +49 -49
  50. package/dist/chunks/{command-3smtnn6g.js → snapshot-3smtnn6g.js} +1 -1
  51. package/dist/chunks/{command-gt0cxfk7.js → snapshot-3trbxeqx.js} +1 -1
  52. package/dist/chunks/{command-3tvqynh2.js → snapshot-3tvqynh2.js} +1 -1
  53. package/dist/chunks/{command-anbsab5w.js → snapshot-4bdqb0ph.js} +32 -32
  54. package/dist/chunks/{command-3m9dzf4r.js → snapshot-4bvp8d2x.js} +1 -1
  55. package/dist/chunks/{command-bjy2htfa.js → snapshot-4y3r3zty.js} +30 -30
  56. package/dist/chunks/{command-vcxc4q3p.js → snapshot-519xp98s.js} +4 -4
  57. package/dist/chunks/{command-w6a1w976.js → snapshot-529nsjat.js} +18 -18
  58. package/dist/chunks/{command-gfc9zyvq.js → snapshot-5b9tbt2k.js} +20 -20
  59. package/dist/chunks/{command-5daktx2q.js → snapshot-5daktx2q.js} +1 -1
  60. package/dist/chunks/{command-dcf26w67.js → snapshot-5eb8yymx.js} +18 -18
  61. package/dist/chunks/{command-39q35cms.js → snapshot-5q82yaq7.js} +17 -17
  62. package/dist/chunks/{command-qm7jrdpz.js → snapshot-5r1zsdx9.js} +8 -8
  63. package/dist/chunks/{command-5t3nmthw.js → snapshot-5t3nmthw.js} +2 -2
  64. package/dist/chunks/{command-vd8e5h8f.js → snapshot-63zpyxq9.js} +24 -24
  65. package/dist/chunks/{command-669tq793.js → snapshot-669tq793.js} +1 -1
  66. package/dist/chunks/{command-qn2q96g0.js → snapshot-6d1mrjjf.js} +26 -26
  67. package/dist/chunks/{command-4da4ndpv.js → snapshot-6fdj6kdr.js} +4 -4
  68. package/dist/chunks/{command-7qse0qpb.js → snapshot-6g6jts1x.js} +26 -26
  69. package/dist/chunks/{command-xnk8ss56.js → snapshot-6hk5x7ez.js} +36 -36
  70. package/dist/chunks/{command-6msgmcgs.js → snapshot-6msgmcgs.js} +1 -1
  71. package/dist/chunks/{command-vragf7xq.js → snapshot-6tbdecdx.js} +11 -11
  72. package/dist/chunks/{command-71q4at8m.js → snapshot-71q4at8m.js} +1 -1
  73. package/dist/chunks/{command-d6gjw5d8.js → snapshot-75nqwj0x.js} +24 -24
  74. package/dist/chunks/{command-jxpa08fn.js → snapshot-78ajecy8.js} +20 -20
  75. package/dist/chunks/{command-kbmmzrfa.js → snapshot-7b15y959.js} +8 -8
  76. package/dist/chunks/{command-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{command-7dqw4kz8.js → snapshot-7dqw4kz8.js} +1 -1
  78. package/dist/chunks/{command-kd4mv8p1.js → snapshot-7svvcbaf.js} +22 -22
  79. package/dist/chunks/{command-xzja1t39.js → snapshot-7tv8t8mr.js} +5 -5
  80. package/dist/chunks/{command-68xpwqwy.js → snapshot-81swgkk7.js} +9 -9
  81. package/dist/chunks/{command-fer3tpfm.js → snapshot-82zcy4t3.js} +8 -8
  82. package/dist/chunks/{command-c7ecgrk6.js → snapshot-84tssp1s.js} +6 -6
  83. package/dist/chunks/{command-45d0vtt8.js → snapshot-86gs4b4n.js} +6 -6
  84. package/dist/chunks/{command-kqvbfj3r.js → snapshot-89qa4cte.js} +8 -8
  85. package/dist/chunks/{command-dt88errb.js → snapshot-8ccwdb76.js} +9 -9
  86. package/dist/chunks/{command-8d7r5vzw.js → snapshot-8d7r5vzw.js} +1 -1
  87. package/dist/chunks/{command-axfg0z4e.js → snapshot-8jag5tmq.js} +15 -15
  88. package/dist/chunks/{command-8p4f9s12.js → snapshot-8p4f9s12.js} +2 -2
  89. package/dist/chunks/{command-mzfawknz.js → snapshot-8rm1ec1q.js} +20 -20
  90. package/dist/chunks/{command-04rtynqt.js → snapshot-92fwv7vx.js} +17 -17
  91. package/dist/chunks/{command-s1hyvedr.js → snapshot-93h9an80.js} +20 -20
  92. package/dist/chunks/{command-5epte933.js → snapshot-93hpb89x.js} +3 -3
  93. package/dist/chunks/{command-13mzqdtz.js → snapshot-9agj1zkk.js} +14 -14
  94. package/dist/chunks/{command-ehzj4vhg.js → snapshot-9brmd523.js} +15 -15
  95. package/dist/chunks/{command-wfbxv8er.js → snapshot-9cjzrre0.js} +3 -3
  96. package/dist/chunks/{command-15n42rft.js → snapshot-9hedhqmq.js} +34 -34
  97. package/dist/chunks/{command-5nsrms9d.js → snapshot-9k2v62xn.js} +1 -1
  98. package/dist/chunks/{command-qq9xggvz.js → snapshot-9red0dmk.js} +6 -6
  99. package/dist/chunks/{command-43t6csf6.js → snapshot-9vzdkta2.js} +15 -15
  100. package/dist/chunks/snapshot-9zdhvgqs.js +18 -0
  101. package/dist/chunks/{command-454ap3be.js → snapshot-9zp8dvnp.js} +9 -9
  102. package/dist/chunks/{command-a1bz86dw.js → snapshot-a1bz86dw.js} +3 -3
  103. package/dist/chunks/{command-msjfgnq6.js → snapshot-a9v6c2ed.js} +9 -9
  104. package/dist/chunks/{command-d5ze1g7q.js → snapshot-a9y4ktr3.js} +22 -22
  105. package/dist/chunks/{command-aaet6srn.js → snapshot-aaet6srn.js} +2 -2
  106. package/dist/chunks/{command-gepnxnka.js → snapshot-ajfz2a8b.js} +11 -11
  107. package/dist/chunks/{command-s6c8tzhk.js → snapshot-ar6rxhny.js} +30 -30
  108. package/dist/chunks/{command-j5208yae.js → snapshot-awaee7qt.js} +6 -6
  109. package/dist/chunks/{command-b6gygkdw.js → snapshot-b6gygkdw.js} +2 -2
  110. package/dist/chunks/{command-hm0hsyzs.js → snapshot-bcz0sv4a.js} +42 -42
  111. package/dist/chunks/{command-8n2avc0p.js → snapshot-bjshqm23.js} +6 -6
  112. package/dist/chunks/{command-farf7nq9.js → snapshot-bmagwj8n.js} +11 -11
  113. package/dist/chunks/{command-8ezz0qpe.js → snapshot-bsg2q6fa.js} +13 -13
  114. package/dist/chunks/{command-z1f4gy9p.js → snapshot-bv56xrks.js} +8 -8
  115. package/dist/chunks/{command-3eg94j8w.js → snapshot-c3k1sbgz.js} +41 -41
  116. package/dist/chunks/{command-kh9gj6fg.js → snapshot-c6g5rpt9.js} +2 -2
  117. package/dist/chunks/{command-a70vfxwz.js → snapshot-c8p1gka0.js} +27 -27
  118. package/dist/chunks/{command-kzxpw37x.js → snapshot-c96c98e8.js} +25 -25
  119. package/dist/chunks/{command-xe22fbq9.js → snapshot-ca0yk38n.js} +12 -12
  120. package/dist/chunks/{command-2pnhn36q.js → snapshot-cavr175a.js} +21 -21
  121. package/dist/chunks/{command-rryqg9dq.js → snapshot-ce521gfx.js} +11 -11
  122. package/dist/chunks/{command-cfpkc3c9.js → snapshot-cfpkc3c9.js} +2 -2
  123. package/dist/chunks/{command-a72wxtdj.js → snapshot-cmwscdkx.js} +27 -27
  124. package/dist/chunks/{command-ygtg2ex0.js → snapshot-csf08ar7.js} +24 -24
  125. package/dist/chunks/{command-6tqsccrn.js → snapshot-cvevtrj6.js} +74 -74
  126. package/dist/chunks/{command-spwgk4wz.js → snapshot-cy3qn85b.js} +16 -16
  127. package/dist/chunks/{command-az9ecw0v.js → snapshot-cyypf3cn.js} +11 -11
  128. package/dist/chunks/{command-zc36c13q.js → snapshot-d6ftfa8w.js} +32 -32
  129. package/dist/chunks/{command-f4pamck6.js → snapshot-dkg4b3ak.js} +15 -15
  130. package/dist/chunks/{command-jz5y6dvz.js → snapshot-dqswtwmf.js} +22 -22
  131. package/dist/chunks/{command-7nwrad04.js → snapshot-dy9e6qbk.js} +25 -25
  132. package/dist/chunks/{command-9t5zm95t.js → snapshot-e073scxd.js} +6 -6
  133. package/dist/chunks/{command-vpt86awd.js → snapshot-e379cr0y.js} +12 -12
  134. package/dist/chunks/{command-7ebn0nc0.js → snapshot-e6hd9jay.js} +6 -6
  135. package/dist/chunks/{command-hxvm7zmc.js → snapshot-e93m34en.js} +4 -4
  136. package/dist/chunks/{command-9hkkgm6z.js → snapshot-e9x29tk8.js} +8 -8
  137. package/dist/chunks/{command-59zahvaa.js → snapshot-eb98qtgn.js} +18 -18
  138. package/dist/chunks/{command-j052dg5b.js → snapshot-en16xh3q.js} +19 -19
  139. package/dist/chunks/{command-1wxb385z.js → snapshot-esdnemd6.js} +1 -1
  140. package/dist/chunks/{command-etq0c3wd.js → snapshot-etq0c3wd.js} +1 -1
  141. package/dist/chunks/{command-f828m53h.js → snapshot-f828m53h.js} +2 -2
  142. package/dist/chunks/{command-z7vtm5t9.js → snapshot-f8zyszaj.js} +81 -81
  143. package/dist/chunks/{command-qx4eckdq.js → snapshot-feh7twvr.js} +26 -26
  144. package/dist/chunks/{command-jh9frvw6.js → snapshot-fj9bg4at.js} +10 -10
  145. package/dist/chunks/{command-jhetwysa.js → snapshot-fq1h1v14.js} +3 -3
  146. package/dist/chunks/{command-fxbjtjnd.js → snapshot-fxbjtjnd.js} +1 -1
  147. package/dist/chunks/{command-hfdr1yjj.js → snapshot-fxqygnfa.js} +4 -4
  148. package/dist/chunks/{command-zx4qqgq6.js → snapshot-fyjrpq2n.js} +11 -11
  149. package/dist/chunks/{command-r5zgsrw8.js → snapshot-g0cp98zm.js} +44 -44
  150. package/dist/chunks/{command-yrwypdbr.js → snapshot-g5vjq8fe.js} +22 -22
  151. package/dist/chunks/{command-19vf66h0.js → snapshot-g8d3gcyj.js} +7 -7
  152. package/dist/chunks/{command-2femdq6k.js → snapshot-g8jasmdt.js} +8 -8
  153. package/dist/chunks/{command-ygakqxjr.js → snapshot-g9mzfft5.js} +20 -20
  154. package/dist/chunks/{command-v07j1kge.js → snapshot-gb21ff2a.js} +55 -55
  155. package/dist/chunks/{command-gd4qta3r.js → snapshot-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{command-4bj5xf3m.js → snapshot-gsp6qkg9.js} +22 -22
  157. package/dist/chunks/{command-th5km1p3.js → snapshot-gv6a8nnw.js} +5 -5
  158. package/dist/chunks/{command-h03wrkyp.js → snapshot-h03wrkyp.js} +2 -2
  159. package/dist/chunks/{command-t8mcaem5.js → snapshot-h2gyv3sg.js} +1 -1
  160. package/dist/chunks/{command-h6vf3j39.js → snapshot-h6vf3j39.js} +1 -1
  161. package/dist/chunks/{command-kyrc5g5p.js → snapshot-hcm8p4tp.js} +3 -3
  162. package/dist/chunks/{command-33xc6zn2.js → snapshot-hgrrqy5m.js} +7 -7
  163. package/dist/chunks/{command-e82z9tr0.js → snapshot-hjt4xg1x.js} +7 -7
  164. package/dist/chunks/{command-vmq7ehpy.js → snapshot-hnr5yq9h.js} +5 -5
  165. package/dist/chunks/{command-4pre3909.js → snapshot-hv0ksaq5.js} +13 -13
  166. package/dist/chunks/{command-be4a9pdg.js → snapshot-hwr0a3rr.js} +20 -20
  167. package/dist/chunks/{command-j56e64zr.js → snapshot-j56e64zr.js} +1 -1
  168. package/dist/chunks/{command-89t020sf.js → snapshot-jba4ne0c.js} +36 -36
  169. package/dist/chunks/{command-hgdt9556.js → snapshot-jcg763h6.js} +17 -17
  170. package/dist/chunks/{command-48q4dgm3.js → snapshot-jefma2gq.js} +10 -10
  171. package/dist/chunks/{command-31wrjn3h.js → snapshot-jfqe7dk4.js} +12 -12
  172. package/dist/chunks/{command-06wjbj88.js → snapshot-jg2rwpv8.js} +16 -16
  173. package/dist/chunks/{command-y22f4a62.js → snapshot-jgqv5ygv.js} +19 -19
  174. package/dist/chunks/{command-ebc7h8jh.js → snapshot-jrrn2k62.js} +4 -4
  175. package/dist/chunks/{command-w17k3rsr.js → snapshot-kfa05030.js} +17 -17
  176. package/dist/chunks/{command-kg06axw8.js → snapshot-kg06axw8.js} +1 -1
  177. package/dist/chunks/{command-4e7426jc.js → snapshot-kk8h1mek.js} +8 -8
  178. package/dist/chunks/{command-afvn2d8y.js → snapshot-kv2xqjs7.js} +22 -22
  179. package/dist/chunks/snapshot-kxcfzgnc.js +22 -0
  180. package/dist/chunks/{command-qkwnakvm.js → snapshot-m31nzfwy.js} +15 -15
  181. package/dist/chunks/{command-dx63s7w1.js → snapshot-m5y0j72z.js} +8 -8
  182. package/dist/chunks/{command-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
  183. package/dist/chunks/{command-rwatm0mm.js → snapshot-mdb0jx6b.js} +10 -10
  184. package/dist/chunks/{command-r5x6zcsm.js → snapshot-mhkvc446.js} +3 -3
  185. package/dist/chunks/{command-mkcjrzeh.js → snapshot-mkcjrzeh.js} +1 -1
  186. package/dist/chunks/{command-2xe896hw.js → snapshot-mmhgfdrw.js} +290 -290
  187. package/dist/chunks/{command-j9vx3v9v.js → snapshot-mn7ptjg0.js} +24 -24
  188. package/dist/chunks/{command-yg5c8d2j.js → snapshot-mpbnhf35.js} +30 -30
  189. package/dist/chunks/{command-en74w496.js → snapshot-mrw4weg4.js} +5 -5
  190. package/dist/chunks/{command-j7nbk787.js → snapshot-n0ex7z4z.js} +32 -32
  191. package/dist/chunks/{command-138p5ddt.js → snapshot-n7cwy4ts.js} +17 -17
  192. package/dist/chunks/{command-h113rvhb.js → snapshot-n7xd9v9r.js} +46 -46
  193. package/dist/chunks/{command-hh0vmts5.js → snapshot-nct4q8hy.js} +11 -11
  194. package/dist/chunks/{command-v8k1872w.js → snapshot-nf72sq40.js} +8 -8
  195. package/dist/chunks/{command-jjc29zvc.js → snapshot-ng30yqt0.js} +24 -24
  196. package/dist/chunks/{command-070a9e04.js → snapshot-nnxwq6q8.js} +36 -36
  197. package/dist/chunks/{command-keyg98zt.js → snapshot-nx4935gj.js} +9 -9
  198. package/dist/chunks/{command-tqnq6q5q.js → snapshot-ny6m7teq.js} +20 -20
  199. package/dist/chunks/{command-cmfpwhr1.js → snapshot-p1nm2f90.js} +10 -10
  200. package/dist/chunks/{command-8w9tvb25.js → snapshot-p1wf2k30.js} +9 -9
  201. package/dist/chunks/{command-86g4d0kj.js → snapshot-p6wfwqgr.js} +57 -57
  202. package/dist/chunks/{command-j935v87r.js → snapshot-paphc93g.js} +2 -2
  203. package/dist/chunks/{command-pjvnvgmy.js → snapshot-pjvnvgmy.js} +1 -1
  204. package/dist/chunks/{command-pknna89w.js → snapshot-pknna89w.js} +1 -1
  205. package/dist/chunks/{command-0w6bwpjx.js → snapshot-pqpy3q1r.js} +36 -36
  206. package/dist/chunks/{command-tc265fkx.js → snapshot-psjz8x58.js} +5 -5
  207. package/dist/chunks/{command-2a7hagjp.js → snapshot-pxhak851.js} +6 -6
  208. package/dist/chunks/{command-ztzqvfjg.js → snapshot-q9vsnyvc.js} +24 -24
  209. package/dist/chunks/{command-4e5nbqbj.js → snapshot-qcg7q1qx.js} +60 -60
  210. package/dist/chunks/{command-2rfrcgce.js → snapshot-qm2cqxj6.js} +24 -24
  211. package/dist/chunks/{command-dvqsfc3k.js → snapshot-qmp86zrc.js} +9 -9
  212. package/dist/chunks/{command-rf1gapgg.js → snapshot-qpftxpy6.js} +35 -35
  213. package/dist/chunks/{command-qsdy395h.js → snapshot-qsdy395h.js} +1 -1
  214. package/dist/chunks/{command-49grzd0n.js → snapshot-r05jw633.js} +9 -9
  215. package/dist/chunks/{command-zfsxp10c.js → snapshot-r0bce1hn.js} +5 -5
  216. package/dist/chunks/{command-sxyb6qad.js → snapshot-rbxck1h9.js} +4 -4
  217. package/dist/chunks/{command-hzcxg4q9.js → snapshot-rmxhmhg8.js} +12 -12
  218. package/dist/chunks/{command-dzcz3c2s.js → snapshot-rs0gvcfd.js} +36 -36
  219. package/dist/chunks/{command-4mkcvr19.js → snapshot-rs226bz6.js} +5 -5
  220. package/dist/chunks/{command-88sz8qcd.js → snapshot-rsdf2nvv.js} +4 -4
  221. package/dist/chunks/{command-e7sdhxas.js → snapshot-rvcnra5q.js} +23 -23
  222. package/dist/chunks/{command-st4t0jjg.js → snapshot-s7731dqm.js} +2 -2
  223. package/dist/chunks/{command-q3e3pxrn.js → snapshot-s7bdwsnr.js} +2 -2
  224. package/dist/chunks/{command-jym9kedx.js → snapshot-s7x6vrr8.js} +13 -13
  225. package/dist/chunks/{command-cwj87dc4.js → snapshot-s94m8at0.js} +20 -20
  226. package/dist/chunks/{command-3nc90kmd.js → snapshot-sf2ypkf0.js} +3 -3
  227. package/dist/chunks/{command-v48pvb4n.js → snapshot-sf39fd8a.js} +11 -11
  228. package/dist/chunks/{command-9rqme4wv.js → snapshot-shjsn7xn.js} +22 -22
  229. package/dist/chunks/{command-naqvy1vc.js → snapshot-sj9fhhwe.js} +15 -15
  230. package/dist/chunks/snapshot-stc4xhje.js +247 -0
  231. package/dist/chunks/{command-4wn6b914.js → snapshot-t5azzxfh.js} +33 -33
  232. package/dist/chunks/{command-qx3fns1j.js → snapshot-t6dcge0a.js} +32 -32
  233. package/dist/chunks/{command-tazgh4e4.js → snapshot-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{command-9maaan9b.js → snapshot-tbb2sw7y.js} +14 -14
  235. package/dist/chunks/{command-tcezcvh9.js → snapshot-tcezcvh9.js} +1 -1
  236. package/dist/chunks/{command-tdstcens.js → snapshot-tdstcens.js} +1 -1
  237. package/dist/chunks/{command-dmmjs2b8.js → snapshot-thfmt3bs.js} +8 -8
  238. package/dist/chunks/{command-bhgdfcz0.js → snapshot-tmd72s4c.js} +11 -11
  239. package/dist/chunks/{command-493vsnxm.js → snapshot-tn9v33n2.js} +17 -17
  240. package/dist/chunks/{command-rz527k5r.js → snapshot-ttqfmzkf.js} +2 -2
  241. package/dist/chunks/{command-tvtrv512.js → snapshot-tvtrv512.js} +1 -1
  242. package/dist/chunks/{command-6c1g49x3.js → snapshot-tzajjpqe.js} +9 -9
  243. package/dist/chunks/{command-h9nzt5cp.js → snapshot-v3g5t2je.js} +17 -17
  244. package/dist/chunks/{command-zxwpk2nb.js → snapshot-vabb23s0.js} +1 -1
  245. package/dist/chunks/{command-hwe7x4em.js → snapshot-ve6nm2s5.js} +6 -6
  246. package/dist/chunks/{command-veqvce7d.js → snapshot-veqvce7d.js} +1 -1
  247. package/dist/chunks/{command-zy3h4kss.js → snapshot-vgcbppkc.js} +11 -11
  248. package/dist/chunks/{command-nedyw519.js → snapshot-vphahk7x.js} +14 -14
  249. package/dist/chunks/{command-83x6p9kd.js → snapshot-vypqtakx.js} +1 -1
  250. package/dist/chunks/{command-vzcthcp8.js → snapshot-vzcthcp8.js} +1 -1
  251. package/dist/chunks/{command-tkzgmprh.js → snapshot-vzf6z18d.js} +21 -21
  252. package/dist/chunks/{command-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{command-24w00f77.js → snapshot-w7svezrn.js} +29 -29
  254. package/dist/chunks/{command-fgxdmbj2.js → snapshot-w8zj78b6.js} +159 -159
  255. package/dist/chunks/{command-sp31zz3t.js → snapshot-wcbtnmq4.js} +29 -29
  256. package/dist/chunks/{command-wd87259q.js → snapshot-wd87259q.js} +1 -1
  257. package/dist/chunks/{command-hcxgcq81.js → snapshot-wgz0ckwp.js} +7 -7
  258. package/dist/chunks/{command-k0nnq3t9.js → snapshot-wpm2rk0p.js} +6 -6
  259. package/dist/chunks/{command-ksdnvjw1.js → snapshot-ws1bd0dv.js} +16 -16
  260. package/dist/chunks/{command-vmysjhj7.js → snapshot-wwv5xkyh.js} +8 -8
  261. package/dist/chunks/{command-b3wkxfg9.js → snapshot-wx9wy1qm.js} +1 -1
  262. package/dist/chunks/{command-x1ezjp6w.js → snapshot-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{command-x43y2vfs.js → snapshot-x43y2vfs.js} +2 -2
  264. package/dist/chunks/{command-tjsj89dc.js → snapshot-xhmq8qgk.js} +9 -9
  265. package/dist/chunks/{command-5xp4z8zk.js → snapshot-xj2v2q7r.js} +9 -9
  266. package/dist/chunks/{command-xj439p2s.js → snapshot-xj584aw0.js} +11 -11
  267. package/dist/chunks/{command-pbe99m00.js → snapshot-xmqpyxma.js} +43 -43
  268. package/dist/chunks/{command-8jdy407s.js → snapshot-xppyyh5j.js} +34 -34
  269. package/dist/chunks/{command-9139jgcd.js → snapshot-xvxaergc.js} +14 -14
  270. package/dist/chunks/{command-fwcwebn7.js → snapshot-xy89vkcb.js} +6 -6
  271. package/dist/chunks/{command-y1fvbwt7.js → snapshot-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{command-vxwzppst.js → snapshot-y2rgym3m.js} +9 -9
  273. package/dist/chunks/{command-y71avatq.js → snapshot-y71avatq.js} +1 -1
  274. package/dist/chunks/{command-n4fdf33j.js → snapshot-yafnhyz9.js} +9 -9
  275. package/dist/chunks/{command-m3wyk9nc.js → snapshot-yd7mnj1e.js} +5 -5
  276. package/dist/chunks/{command-8r7f04jj.js → snapshot-ye17gee8.js} +15 -15
  277. package/dist/chunks/{command-yrhqyw5v.js → snapshot-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{command-s4enseaf.js → snapshot-yrznvahk.js} +2 -2
  279. package/dist/chunks/{command-avm8jn6n.js → snapshot-yt0fqk68.js} +5 -5
  280. package/dist/chunks/{command-b11rdt3w.js → snapshot-ywaf962r.js} +11 -11
  281. package/dist/chunks/{command-z0bkrqjs.js → snapshot-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{command-a02rj634.js → snapshot-z0zjnsxh.js} +16 -16
  283. package/dist/chunks/{command-29x78va6.js → snapshot-z63w68vq.js} +6 -6
  284. package/dist/chunks/{command-jvf3yq6v.js → snapshot-zcrspsvn.js} +4 -4
  285. package/dist/chunks/{command-zeh9ct20.js → snapshot-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{command-zr2ceqn5.js → snapshot-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{command-zxq2ej10.js → snapshot-zxq2ej10.js} +1 -1
  288. package/dist/chunks/{command-qpt82rvw.js → snapshot-zxtrmm35.js} +4 -4
  289. package/dist/chunks/{command-m9tpa25m.js → snapshot-zy2hbrj4.js} +24 -24
  290. package/dist/codemode/catalog.js +3 -3
  291. package/dist/codemode/instructions.js +7 -7
  292. package/dist/codemode/tool.js +2 -2
  293. package/dist/command.js +81 -81
  294. package/dist/config/discovery.js +77 -77
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +19 -19
  297. package/dist/config/plugin/agent.js +117 -117
  298. package/dist/config/plugin/command.js +209 -209
  299. package/dist/config/plugin/compaction.js +155 -155
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +115 -115
  303. package/dist/config/plugin/instruction.js +85 -85
  304. package/dist/config/plugin/location-watcher.js +115 -115
  305. package/dist/config/plugin/mcp.js +126 -126
  306. package/dist/config/plugin/policy.js +114 -114
  307. package/dist/config/plugin/provider.js +113 -113
  308. package/dist/config/plugin/reference.js +117 -117
  309. package/dist/config/plugin/shell.js +118 -118
  310. package/dist/config/plugin/skill-file.js +97 -97
  311. package/dist/config/plugin/skill.js +136 -136
  312. package/dist/config/plugin/snapshot.js +115 -115
  313. package/dist/config/plugin/source.js +117 -117
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +115 -115
  316. package/dist/config/plugin/worktree.js +118 -118
  317. package/dist/config/variable.js +3 -3
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +119 -119
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +83 -83
  322. package/dist/database/database.js +64 -64
  323. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +13 -13
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +14 -14
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration.gen.js +47 -47
  386. package/dist/database/migration.js +49 -49
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +74 -74
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +362 -362
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +1 -1
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +88 -88
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +90 -90
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +68 -68
  410. package/dist/file-access.js +99 -99
  411. package/dist/file-mutation.js +89 -89
  412. package/dist/file-retention.js +1 -1
  413. package/dist/file.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/ignore.js +1 -1
  419. package/dist/filesystem/location-watcher-policy.js +6 -6
  420. package/dist/filesystem/location-watcher.js +220 -220
  421. package/dist/filesystem/protected.js +1 -1
  422. package/dist/filesystem/search.js +93 -93
  423. package/dist/filesystem/watcher-binding.js +3 -3
  424. package/dist/filesystem/watcher.js +15 -15
  425. package/dist/filesystem.js +96 -96
  426. package/dist/form.js +84 -84
  427. package/dist/formatter/builtins.js +4 -4
  428. package/dist/formatter.js +82 -82
  429. package/dist/generate.js +89 -89
  430. package/dist/git.js +7 -7
  431. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  432. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  433. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  435. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  437. package/dist/github-copilot/copilot-provider.js +17 -17
  438. package/dist/github-copilot/models.js +3 -3
  439. package/dist/github-copilot/openai-compatible-error.js +1 -1
  440. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  441. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  442. package/dist/github-copilot/responses/openai-error.js +1 -1
  443. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  444. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  445. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  446. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  447. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  450. package/dist/id/id.js +1 -1
  451. package/dist/image/photon.js +2 -2
  452. package/dist/image.js +6 -6
  453. package/dist/instance/service.js +5 -5
  454. package/dist/instance.js +353 -353
  455. package/dist/instruction-discovery.js +83 -83
  456. package/dist/instructions/builtins.js +82 -82
  457. package/dist/instructions/index.js +5 -5
  458. package/dist/integration/connection.js +1 -1
  459. package/dist/integration.js +86 -86
  460. package/dist/job.js +77 -77
  461. package/dist/kv/sql.js +2 -2
  462. package/dist/kv.js +71 -71
  463. package/dist/location-activity.js +130 -130
  464. package/dist/location-mutation.js +99 -99
  465. package/dist/location-service-map.js +83 -83
  466. package/dist/location-services.js +350 -350
  467. package/dist/location.js +84 -84
  468. package/dist/mcp/client.js +86 -86
  469. package/dist/mcp/index.js +101 -101
  470. package/dist/mcp/instructions.js +120 -120
  471. package/dist/mcp/oauth.js +3 -3
  472. package/dist/mcp/stdio.js +85 -85
  473. package/dist/mime.js +1 -1
  474. package/dist/modal/models.js +3 -3
  475. package/dist/model-resolver.js +86 -86
  476. package/dist/model.js +6 -6
  477. package/dist/models-dev.js +86 -86
  478. package/dist/oauth/page.js +1 -1
  479. package/dist/permission/saved.js +78 -78
  480. package/dist/permission/sql.js +5 -5
  481. package/dist/permission.js +110 -110
  482. package/dist/persistent-pty/binary.bun.js +1 -1
  483. package/dist/persistent-pty/daemon.js +1 -1
  484. package/dist/persistent-pty/index.js +84 -84
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +73 -73
  487. package/dist/plugin/agent.js +99 -99
  488. package/dist/plugin/command.js +96 -96
  489. package/dist/plugin/hooks.js +5 -5
  490. package/dist/plugin/host.js +213 -213
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +324 -324
  493. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  494. package/dist/plugin/models-dev.js +75 -75
  495. package/dist/plugin/module.js +7 -7
  496. package/dist/plugin/optimize.js +4 -4
  497. package/dist/plugin/plan.js +97 -97
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/alibaba.js +2 -2
  500. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  501. package/dist/plugin/provider/anthropic.js +2 -2
  502. package/dist/plugin/provider/azure.js +118 -118
  503. package/dist/plugin/provider/cerebras.js +2 -2
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +114 -114
  508. package/dist/plugin/provider/digitalocean.js +79 -79
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/gateway.js +2 -2
  512. package/dist/plugin/provider/github-copilot.js +80 -80
  513. package/dist/plugin/provider/gitlab.js +3 -3
  514. package/dist/plugin/provider/google-vertex.js +2 -2
  515. package/dist/plugin/provider/kilo.js +2 -2
  516. package/dist/plugin/provider/llmgateway.js +76 -76
  517. package/dist/plugin/provider/lmstudio.js +117 -117
  518. package/dist/plugin/provider/mistral.js +2 -2
  519. package/dist/plugin/provider/modal.js +79 -79
  520. package/dist/plugin/provider/nvidia.js +2 -2
  521. package/dist/plugin/provider/ollama.js +117 -117
  522. package/dist/plugin/provider/openai-compatible.js +1 -1
  523. package/dist/plugin/provider/openai.js +80 -80
  524. package/dist/plugin/provider/opencode.js +79 -79
  525. package/dist/plugin/provider/openrouter.js +3 -3
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +76 -76
  528. package/dist/plugin/provider/sap-ai-core.js +3 -3
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  531. package/dist/plugin/provider/venice.js +2 -2
  532. package/dist/plugin/provider/vercel.js +2 -2
  533. package/dist/plugin/provider/vllm.js +117 -117
  534. package/dist/plugin/provider/xai.js +77 -77
  535. package/dist/plugin/provider/zenmux.js +2 -2
  536. package/dist/plugin/provider.js +158 -158
  537. package/dist/plugin/sdk.js +74 -74
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +133 -133
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +339 -339
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/variant.js +4 -4
  544. package/dist/plugin/vcs/git.js +82 -82
  545. package/dist/plugin/vcs/hg.js +82 -82
  546. package/dist/plugin/warming.js +112 -112
  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 +8 -8
  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 +4 -4
  553. package/dist/plugin.js +220 -220
  554. package/dist/project/schema.js +8 -8
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +85 -85
  557. package/dist/provider.js +5 -5
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/schema.js +3 -3
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +94 -94
  562. package/dist/reference/instructions.js +84 -84
  563. package/dist/reference.js +82 -82
  564. package/dist/repository-cache.js +76 -76
  565. package/dist/repository.js +1 -1
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +93 -93
  568. package/dist/rpc.js +81 -81
  569. package/dist/schema.js +1 -1
  570. package/dist/session/command.js +72 -72
  571. package/dist/session/compaction.js +127 -127
  572. package/dist/session/context.js +147 -147
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +7 -7
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +213 -213
  577. package/dist/session/execution.js +122 -122
  578. package/dist/session/generate.js +146 -146
  579. package/dist/session/history.js +15 -15
  580. package/dist/session/inbox.js +82 -82
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +75 -75
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +88 -88
  585. package/dist/session/message-updater.js +2 -2
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +113 -113
  588. package/dist/session/model-transport.js +9 -9
  589. package/dist/session/move.js +126 -126
  590. package/dist/session/projector.js +84 -84
  591. package/dist/session/prompt.js +100 -100
  592. package/dist/session/provider-context.js +3 -3
  593. package/dist/session/revert.js +85 -85
  594. package/dist/session/run-coordinator.js +3 -3
  595. package/dist/session/runner/index.js +3 -3
  596. package/dist/session/runner/llm.js +223 -223
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +86 -86
  599. package/dist/session/runner/publish-llm-event.js +3 -3
  600. package/dist/session/runner/retry.js +110 -110
  601. package/dist/session/runner/step.js +119 -119
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +5 -5
  604. package/dist/session/session.js +169 -169
  605. package/dist/session/shell.js +131 -131
  606. package/dist/session/skill.js +98 -98
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +71 -71
  609. package/dist/session/store.js +83 -83
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +205 -205
  612. package/dist/session/system-prompt.js +5 -5
  613. package/dist/session/title.js +149 -149
  614. package/dist/session/to-session-error.js +107 -107
  615. package/dist/session/transfer.js +209 -209
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +207 -207
  618. package/dist/shell/parse.js +6 -6
  619. package/dist/shell/result.js +1 -1
  620. package/dist/shell/scan.js +1 -1
  621. package/dist/shell/select.js +13 -13
  622. package/dist/shell.js +133 -133
  623. package/dist/skill/discovery.js +6 -6
  624. package/dist/skill/instructions.js +102 -102
  625. package/dist/skill.js +105 -105
  626. package/dist/snapshot.js +88 -88
  627. package/dist/state.js +1 -1
  628. package/dist/tool/html-markdown.js +1 -1
  629. package/dist/tool/http-body.js +1 -1
  630. package/dist/tool/mcp.js +121 -121
  631. package/dist/tool/plugin/edit.js +115 -115
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +118 -118
  634. package/dist/tool/plugin/grep.js +120 -120
  635. package/dist/tool/plugin/opencode.js +3 -3
  636. package/dist/tool/plugin/patch.js +117 -117
  637. package/dist/tool/plugin/question.js +98 -98
  638. package/dist/tool/plugin/read.js +119 -119
  639. package/dist/tool/plugin/shell.js +212 -212
  640. package/dist/tool/plugin/skill.js +106 -106
  641. package/dist/tool/plugin/subagent.js +212 -212
  642. package/dist/tool/plugin/webfetch.js +107 -107
  643. package/dist/tool/plugin/websearch.js +109 -109
  644. package/dist/tool/plugin/write.js +117 -117
  645. package/dist/tool/read-filesystem.js +96 -96
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +8 -8
  648. package/dist/tool.js +13 -13
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +5 -5
  658. package/dist/v1/config/attachment.js +4 -4
  659. package/dist/v1/config/command.js +5 -5
  660. package/dist/v1/config/config.js +16 -16
  661. package/dist/v1/config/error.js +4 -4
  662. package/dist/v1/config/formatter.js +5 -5
  663. package/dist/v1/config/layout.js +1 -1
  664. package/dist/v1/config/lsp.js +5 -5
  665. package/dist/v1/config/mcp.js +4 -4
  666. package/dist/v1/config/migrate.js +4 -4
  667. package/dist/v1/config/permission.js +7 -7
  668. package/dist/v1/config/plugin.js +1 -1
  669. package/dist/v1/config/provider-options.js +1 -1
  670. package/dist/v1/config/provider.js +4 -4
  671. package/dist/v1/config/server.js +2 -2
  672. package/dist/v1/config/skills.js +3 -3
  673. package/dist/v1/permission.js +1 -1
  674. package/dist/vcs/patch.js +1 -1
  675. package/dist/vcs.js +85 -85
  676. package/dist/websearch.js +76 -76
  677. package/dist/wellknown/plugin.js +74 -74
  678. package/dist/wellknown.js +79 -79
  679. package/dist/workspace/driver.js +5 -5
  680. package/dist/workspace/sql.js +1 -1
  681. package/dist/workspace.js +78 -78
  682. package/dist/worktree/directory.js +4 -4
  683. package/dist/worktree/git.js +7 -7
  684. package/dist/worktree/refresh.js +340 -340
  685. package/dist/worktree/sql.js +5 -5
  686. package/dist/worktree.js +91 -91
  687. package/package.json +8 -8
  688. package/dist/chunks/command-619r8v3y.js +0 -18
  689. package/dist/chunks/command-6kdq0pjd.js +0 -4
  690. package/dist/chunks/command-d3ggx689.js +0 -247
  691. package/dist/chunks/command-rq3zbgk8.js +0 -22
  692. /package/dist/chunks/{command-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{command-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{command-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{command-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{command-1kg9ymc8.js → snapshot-1kg9ymc8.js} +0 -0
  697. /package/dist/chunks/{command-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
  698. /package/dist/chunks/{command-2axfhc9x.js → snapshot-2axfhc9x.js} +0 -0
  699. /package/dist/chunks/{command-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{command-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{command-3asan66x.js → snapshot-3asan66x.js} +0 -0
  702. /package/dist/chunks/{command-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{command-3w5fmr99.js → snapshot-3w5fmr99.js} +0 -0
  704. /package/dist/chunks/{command-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{command-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{command-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{command-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{command-53557ph1.js → snapshot-53557ph1.js} +0 -0
  709. /package/dist/chunks/{command-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{command-6prwharc.js → snapshot-6prwharc.js} +0 -0
  711. /package/dist/chunks/{command-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{command-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{command-822emrt2.js → snapshot-822emrt2.js} +0 -0
  714. /package/dist/chunks/{command-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
  715. /package/dist/chunks/{command-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
  716. /package/dist/chunks/{command-922hggd3.js → snapshot-922hggd3.js} +0 -0
  717. /package/dist/chunks/{command-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
  718. /package/dist/chunks/{command-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
  719. /package/dist/chunks/{command-a1tpkmh4.js → snapshot-a1tpkmh4.js} +0 -0
  720. /package/dist/chunks/{command-a6k6eb26.js → snapshot-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{command-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{command-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{command-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{command-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{command-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{command-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{command-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{command-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{command-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{command-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{command-dajrwvna.js → snapshot-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{command-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{command-df08tz66.js → snapshot-df08tz66.js} +0 -0
  734. /package/dist/chunks/{command-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{command-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{command-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{command-ec1grn59.js → snapshot-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{command-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{command-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{command-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{command-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{command-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{command-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{command-fxgpk5d8.js → snapshot-fxgpk5d8.js} +0 -0
  745. /package/dist/chunks/{command-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{command-g86h250q.js → snapshot-g86h250q.js} +0 -0
  747. /package/dist/chunks/{command-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{command-gftt206x.js → snapshot-gftt206x.js} +0 -0
  749. /package/dist/chunks/{command-hjbc5kem.js → snapshot-hjbc5kem.js} +0 -0
  750. /package/dist/chunks/{command-hk9envan.js → snapshot-hk9envan.js} +0 -0
  751. /package/dist/chunks/{command-hrnqkpcd.js → snapshot-hrnqkpcd.js} +0 -0
  752. /package/dist/chunks/{command-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{command-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{command-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{command-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{command-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{command-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{command-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{command-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{command-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{command-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{command-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
  763. /package/dist/chunks/{command-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
  764. /package/dist/chunks/{command-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
  765. /package/dist/chunks/{command-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
  766. /package/dist/chunks/{command-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
  767. /package/dist/chunks/{command-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
  768. /package/dist/chunks/{command-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
  769. /package/dist/chunks/{command-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
  770. /package/dist/chunks/{command-sk3qaz4a.js → snapshot-sk3qaz4a.js} +0 -0
  771. /package/dist/chunks/{command-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
  772. /package/dist/chunks/{command-twg0f83k.js → snapshot-twg0f83k.js} +0 -0
  773. /package/dist/chunks/{command-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
  774. /package/dist/chunks/{command-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
  775. /package/dist/chunks/{command-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
  776. /package/dist/chunks/{command-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
  777. /package/dist/chunks/{command-x61499pn.js → snapshot-x61499pn.js} +0 -0
  778. /package/dist/chunks/{command-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
  779. /package/dist/chunks/{command-y8cydn3q.js → snapshot-y8cydn3q.js} +0 -0
  780. /package/dist/chunks/{command-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
  781. /package/dist/chunks/{command-ym463w8f.js → snapshot-ym463w8f.js} +0 -0
  782. /package/dist/chunks/{command-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
@@ -1,31 +1,31 @@
1
1
  import {
2
- ID18
3
- } from "./command-jm23p7wd.js";
2
+ ID12
3
+ } from "./snapshot-115zm06g.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./command-922hggd3.js";
6
+ } from "./snapshot-922hggd3.js";
7
7
  import {
8
- Info17
9
- } from "./command-2femdq6k.js";
8
+ Info12
9
+ } from "./snapshot-g8jasmdt.js";
10
10
  import {
11
11
  migrateAgent2
12
- } from "./command-4da4ndpv.js";
12
+ } from "./snapshot-6fdj6kdr.js";
13
13
  import {
14
14
  latest2,
15
- Service65
16
- } from "./command-cpj6a2aa.js";
15
+ Service54
16
+ } from "./snapshot-2zy5fz4d.js";
17
17
  import {
18
18
  parseOption2
19
- } from "./command-5daktx2q.js";
19
+ } from "./snapshot-5daktx2q.js";
20
20
  import {
21
21
  __export
22
- } from "./command-9rqn6x4v.js";
22
+ } from "./snapshot-9rqn6x4v.js";
23
23
 
24
24
  // src/config/plugin/agent.ts
25
- var exports_agent = {};
26
- __export(exports_agent, {
27
- ConfigAgentPlugin: () => exports_agent,
28
- Plugin: () => Plugin18
25
+ var exports_agent2 = {};
26
+ __export(exports_agent2, {
27
+ ConfigAgentPlugin: () => exports_agent2,
28
+ Plugin: () => Plugin29
29
29
  });
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { Document, Info } from "@opencode/schema/config";
@@ -40,14 +40,14 @@ var legacySources = [
40
40
  ];
41
41
  var sourceDirectories = ["agent", "agents", "mode", "modes"];
42
42
  var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
43
- var decodeLegacyAgent = Schema.decodeUnknownOption(Info17);
43
+ var decodeLegacyAgent = Schema.decodeUnknownOption(Info12);
44
44
  var decodeConfig = Schema.decodeUnknownOption(Info);
45
45
  var pathActions = ["external_directory", "read", "edit"];
46
46
  var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
47
- var Plugin18 = define({
47
+ var Plugin29 = define({
48
48
  id: "opencode.config.agent",
49
49
  effect: Effect.fn(function* (ctx) {
50
- const config = yield* Service65;
50
+ const config = yield* Service54;
51
51
  const fs = yield* FSUtil.Service;
52
52
  const global = yield* Global.Service;
53
53
  const loadEntry = Effect.fnUntraced(function* (entry) {
@@ -76,13 +76,13 @@ var Plugin18 = define({
76
76
  const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
77
77
  const configuredDefault = latest2(loaded.documents, "default_agent");
78
78
  if (configuredDefault !== undefined)
79
- editor.default(ID18.make(configuredDefault));
79
+ editor.default(ID12.make(configuredDefault));
80
80
  for (const current of editor.list()) {
81
81
  editor.update(current.id, (agent) => agent.permissions.push(...permissions));
82
82
  }
83
83
  for (const document of loaded.documents) {
84
84
  for (const [id, item] of Object.entries(document.info.agents ?? {})) {
85
- const agentID = ID18.make(id);
85
+ const agentID = ID12.make(id);
86
86
  if (item.disabled) {
87
87
  editor.remove(agentID);
88
88
  continue;
@@ -160,4 +160,4 @@ function decode(file, content) {
160
160
  return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
161
161
  }
162
162
 
163
- export { Plugin18, exports_agent };
163
+ export { Plugin29, exports_agent2 };
@@ -2,37 +2,37 @@ import {
2
2
  ephemeral2,
3
3
  Service79,
4
4
  node84
5
- } from "./command-hxvm7zmc.js";
5
+ } from "./snapshot-e93m34en.js";
6
6
  import {
7
7
  __export
8
- } from "./command-9rqn6x4v.js";
8
+ } from "./snapshot-9rqn6x4v.js";
9
9
 
10
10
  // src/plugin/sdk.ts
11
11
  var exports_sdk = {};
12
12
  __export(exports_sdk, {
13
13
  SdkPlugins: () => exports_sdk,
14
- Service: () => Service10,
14
+ Service: () => Service4,
15
15
  Updated: () => Updated2,
16
- layer: () => layer7,
17
- node: () => node13
16
+ layer: () => layer5,
17
+ node: () => node7
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
21
21
  var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
22
22
 
23
- class Service10 extends Context.Service()("@opencode/SdkPlugins") {
23
+ class Service4 extends Context.Service()("@opencode/SdkPlugins") {
24
24
  }
25
- var layer7 = Layer.effect(Service10, Effect.gen(function* () {
25
+ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
26
26
  const bus = yield* Service79;
27
27
  const plugins = new Map;
28
28
  let revision = 0;
29
- return Service10.of({
29
+ return Service4.of({
30
30
  register: (plugin) => Effect.sync(() => {
31
31
  plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
32
32
  }).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
33
33
  all: () => [...plugins.values()]
34
34
  });
35
35
  }));
36
- var node13 = makeGlobalNode({ service: Service10, layer: layer7, deps: [node84] });
36
+ var node7 = makeGlobalNode({ service: Service4, layer: layer5, deps: [node84] });
37
37
 
38
- export { Updated2, Service10, layer7, node13, exports_sdk };
38
+ export { Updated2, Service4, layer5, node7, exports_sdk };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  create3
3
- } from "./command-kg06axw8.js";
3
+ } from "./snapshot-kg06axw8.js";
4
4
  import {
5
5
  __export
6
- } from "./command-9rqn6x4v.js";
6
+ } from "./snapshot-9rqn6x4v.js";
7
7
 
8
8
  // src/filesystem/location-watcher-policy.ts
9
9
  var exports_location_watcher_policy = {};
10
10
  __export(exports_location_watcher_policy, {
11
11
  LocationWatcherPolicy: () => exports_location_watcher_policy,
12
- Service: () => Service5,
13
- node: () => node8
12
+ Service: () => Service9,
13
+ node: () => node12
14
14
  });
15
15
  import { makeLocationNode } from "@opencode/util/effect/app-node";
16
16
  import { Context, Effect, Layer, Scope } from "effect";
17
- class Service5 extends Context.Service()("@opencode/LocationWatcherPolicy") {
17
+ class Service9 extends Context.Service()("@opencode/LocationWatcherPolicy") {
18
18
  }
19
- var layer = Layer.effect(Service5, Effect.gen(function* () {
19
+ var layer = Layer.effect(Service9, Effect.gen(function* () {
20
20
  const listeners = new Set;
21
21
  const state = create3({
22
22
  name: "location-watcher-policy",
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service5, Effect.gen(function* () {
41
41
  yield* Scope.addFinalizer(scope, dispose);
42
42
  return { dispose };
43
43
  });
44
- return Service5.of({
44
+ return Service9.of({
45
45
  transform: state.transform,
46
46
  reload: state.reload,
47
47
  current,
48
48
  observe
49
49
  });
50
50
  }));
51
- var node8 = makeLocationNode({ service: Service5, layer, deps: [] });
51
+ var node12 = makeLocationNode({ service: Service9, layer, deps: [] });
52
52
 
53
- export { Service5, node8, exports_location_watcher_policy };
53
+ export { Service9, node12, exports_location_watcher_policy };
@@ -1,70 +1,70 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./command-hxvm7zmc.js";
4
+ } from "./snapshot-e93m34en.js";
5
5
  import {
6
- Service67,
7
- node72
8
- } from "./command-hgdt9556.js";
6
+ Service76,
7
+ node81
8
+ } from "./snapshot-jcg763h6.js";
9
9
  import {
10
- ID18,
11
- Service78,
12
- node83
13
- } from "./command-jm23p7wd.js";
10
+ ID12,
11
+ Service73,
12
+ node77
13
+ } from "./snapshot-115zm06g.js";
14
14
  import {
15
- NotFoundError6
16
- } from "./command-5xp4z8zk.js";
15
+ NotFoundError9
16
+ } from "./snapshot-xj2v2q7r.js";
17
17
  import {
18
- Service54,
19
- node58
20
- } from "./command-9maaan9b.js";
18
+ Service71,
19
+ node75
20
+ } from "./snapshot-tbb2sw7y.js";
21
21
  import {
22
22
  match2
23
- } from "./command-y1fvbwt7.js";
23
+ } from "./snapshot-y1fvbwt7.js";
24
24
  import {
25
- Service55,
26
- node59
27
- } from "./command-ehzj4vhg.js";
25
+ Service72,
26
+ node76
27
+ } from "./snapshot-9brmd523.js";
28
28
  import {
29
- Service62,
30
- node67
31
- } from "./command-w2q9x1k3.js";
29
+ Service74,
30
+ node78
31
+ } from "./snapshot-08z5qwsn.js";
32
32
  import {
33
33
  __export
34
- } from "./command-9rqn6x4v.js";
34
+ } from "./snapshot-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
- var exports_permission = {};
38
- __export(exports_permission, {
37
+ var exports_permission2 = {};
38
+ __export(exports_permission2, {
39
39
  AskResult: () => AskResult2,
40
40
  AssertInput: () => AssertInput2,
41
41
  BlockedError: () => BlockedError2,
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event10,
46
- ID: () => ID7,
47
- NotFoundError: () => NotFoundError5,
48
- Permission: () => exports_permission,
49
- Reply: () => Reply2,
45
+ Event: () => Event18,
46
+ ID: () => ID10,
47
+ NotFoundError: () => NotFoundError8,
48
+ Permission: () => exports_permission2,
49
+ Reply: () => Reply3,
50
50
  ReplyInput: () => ReplyInput2,
51
51
  Request: () => Request2,
52
- Rule: () => Rule2,
52
+ Rule: () => Rule3,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service53,
54
+ Service: () => Service70,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node57
58
+ node: () => node74
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
- import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event10 } from "@opencode/schema/permission";
63
+ import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
+ import { Event as Event18 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID7 = Permission.ID;
67
+ var ID10 = Permission.ID;
68
68
  var Source5 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
@@ -75,19 +75,19 @@ var RequestFields = {
75
75
  source: Permission.Request.fields.source
76
76
  };
77
77
  var Request2 = Permission.Request;
78
- var Reply2 = Permission.Reply;
78
+ var Reply3 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID7.pipe(Schema.optional),
80
+ id: ID10.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID18.pipe(Schema.optional)
82
+ agent: ID12.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID7,
86
- reply: Reply2,
85
+ requestID: ID10,
86
+ reply: Reply3,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID7,
90
+ id: ID10,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
110
110
  }
111
111
  }
112
112
 
113
- class NotFoundError5 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID7
113
+ class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
114
+ requestID: ID10
115
115
  }) {
116
116
  }
117
117
  function evaluate2(action, resource, ...rulesets) {
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service53 extends Context.Service()("@opencode/Permission") {
128
+ class Service70 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service53, Effect.gen(function* () {
130
+ var layer = Layer.effect(Service70, Effect.gen(function* () {
131
131
  const bus = yield* Service79;
132
- const location = yield* Service67;
133
- const agents = yield* Service78;
134
- const sessions = yield* Service54;
135
- const saved = yield* Service55;
136
- const hooks = yield* Service62;
132
+ const location = yield* Service76;
133
+ const agents = yield* Service73;
134
+ const sessions = yield* Service71;
135
+ const saved = yield* Service72;
136
+ const hooks = yield* Service74;
137
137
  const pending = new Map;
138
138
  yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
139
139
  discard: true
@@ -150,7 +150,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
150
150
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
151
151
  const session = yield* sessions.get(sessionID);
152
152
  if (!session)
153
- return yield* new NotFoundError6({ sessionID });
153
+ return yield* new NotFoundError9({ sessionID });
154
154
  const agent = yield* agents.resolve(agentID ?? session.agent);
155
155
  return agent?.permissions ?? missingAgentPermissions;
156
156
  });
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
180
180
  });
181
181
  function request(input, message) {
182
182
  return {
183
- id: input.id ?? ID7.create(),
183
+ id: input.id ?? ID10.create(),
184
184
  sessionID: input.sessionID,
185
185
  action: input.action,
186
186
  resources: input.resources,
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
228
228
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
229
229
  const existing = pending.get(input.requestID);
230
230
  if (!existing)
231
- return yield* new NotFoundError5({ requestID: input.requestID });
231
+ return yield* new NotFoundError8({ requestID: input.requestID });
232
232
  yield* bus.publish(Permission.Event.Replied, {
233
233
  sessionID: existing.request.sessionID,
234
234
  requestID: existing.request.id,
@@ -283,12 +283,12 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
283
283
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
284
284
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
285
285
  });
286
- return Service53.of({ ask, assert, reply, get, forSession, list });
286
+ return Service70.of({ ask, assert, reply, get, forSession, list });
287
287
  }));
288
- var node57 = makeLocationNode({
289
- service: Service53,
288
+ var node74 = makeLocationNode({
289
+ service: Service70,
290
290
  layer,
291
- deps: [node84, node72, node83, node58, node59, node67]
291
+ deps: [node84, node81, node77, node75, node76, node78]
292
292
  });
293
293
 
294
- export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError5, evaluate2, merge2, Service53, node57, exports_permission, Rule2, Ruleset2, Event10 };
294
+ export { PermissionEffect, ID10, Source5, Request2, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service70, node74, exports_permission2, Rule3, Ruleset2, Event18 };
@@ -1,9 +1,9 @@
1
1
  // src/filesystem/watcher-binding.ts
2
2
  import { createRequire } from "node:module";
3
- function load3() {
3
+ function load2() {
4
4
  const require2 = createRequire(import.meta.url);
5
5
  const libc = typeof OPENCODE_LIBC === "undefined" ? undefined : OPENCODE_LIBC;
6
6
  return require2(process.env.OPENCODE_PARCEL_WATCHER_PATH ?? `@parcel/watcher-${process.platform}-${process.arch}${process.platform === "linux" ? `-${libc || "glibc"}` : ""}`);
7
7
  }
8
8
 
9
- export { load3 };
9
+ export { load2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./snapshot-9rqn6x4v.js";
4
4
 
5
5
  // src/oauth/page.ts
6
6
  var exports_page = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./command-qfa1cgps.js";
3
+ } from "./snapshot-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -2,45 +2,45 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./command-2a5m3afh.js";
5
+ } from "./snapshot-2a5m3afh.js";
6
6
  import {
7
- Service67
8
- } from "./command-hgdt9556.js";
7
+ Service76
8
+ } from "./snapshot-jcg763h6.js";
9
9
  import {
10
- Service59
11
- } from "./command-m9tpa25m.js";
10
+ Service62
11
+ } from "./snapshot-zy2hbrj4.js";
12
12
  import {
13
- Service13
14
- } from "./command-zg7s7pjs.js";
13
+ Service24
14
+ } from "./snapshot-00d8bk2c.js";
15
15
  import {
16
- Service22,
16
+ Service19,
17
17
  readText2,
18
18
  syncTextBom2
19
- } from "./command-snt4nv2a.js";
19
+ } from "./snapshot-02x4p606.js";
20
20
  import {
21
- Service53
22
- } from "./command-86g4d0kj.js";
21
+ Service70
22
+ } from "./snapshot-p6wfwqgr.js";
23
23
  import {
24
- Service52,
24
+ Service13,
25
25
  resolvePath2
26
- } from "./command-59zahvaa.js";
26
+ } from "./snapshot-eb98qtgn.js";
27
27
  import {
28
28
  fileDiff2
29
- } from "./command-6prwharc.js";
29
+ } from "./snapshot-6prwharc.js";
30
30
  import {
31
31
  __export
32
- } from "./command-9rqn6x4v.js";
32
+ } from "./snapshot-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/patch.ts
35
35
  var exports_patch = {};
36
36
  __export(exports_patch, {
37
37
  Applied: () => Applied2,
38
- Input: () => Input2,
39
- Output: () => Output2,
38
+ Input: () => Input12,
39
+ Output: () => Output8,
40
40
  PatchTool: () => exports_patch,
41
- Plugin: () => Plugin20,
42
- name: () => name2,
43
- toModelContent: () => toModelContent2
41
+ Plugin: () => Plugin27,
42
+ name: () => name12,
43
+ toModelContent: () => toModelContent6
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai";
46
46
  import { FileDiff } from "@opencode/schema/file-diff";
@@ -85,8 +85,8 @@ It is important to remember:
85
85
  `;
86
86
 
87
87
  // src/tool/plugin/patch.ts
88
- var name2 = "patch";
89
- var Input2 = Schema.Struct({
88
+ var name12 = "patch";
89
+ var Input12 = Schema.Struct({
90
90
  patchText: Schema.String.annotate({
91
91
  description: "The full patch text describing add, update, and delete operations"
92
92
  })
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
96
96
  resource: Schema.String,
97
97
  target: Schema.String
98
98
  });
99
- var Output2 = Schema.Struct({
99
+ var Output8 = Schema.Struct({
100
100
  applied: Schema.Array(Applied2),
101
101
  files: Schema.Array(FileDiff.Info)
102
102
  });
103
- var toModelContent2 = (output) => [
103
+ var toModelContent6 = (output) => [
104
104
  "Success. Updated the following files:",
105
105
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
106
106
  ].join(`
107
107
  `);
108
- var Plugin20 = {
108
+ var Plugin27 = {
109
109
  id: "opencode.tool.patch",
110
110
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
111
- const environment = yield* Service59;
112
- const access = yield* Service52;
113
- const fileMutation = yield* Service22;
114
- const formatter = yield* Service13;
115
- const location = yield* Service67;
116
- const permission = yield* Service53;
111
+ const environment = yield* Service62;
112
+ const access = yield* Service13;
113
+ const fileMutation = yield* Service19;
114
+ const formatter = yield* Service24;
115
+ const location = yield* Service76;
116
+ const permission = yield* Service70;
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name2,
118
+ name: name12,
119
119
  options: { codemode: false, permission: "edit" },
120
120
  description: patch_default,
121
- input: Input2,
122
- output: Output2,
121
+ input: Input12,
122
+ output: Output8,
123
123
  execute: (input, context) => {
124
124
  const applied = [];
125
125
  const parsed = Patch.parse(input.patchText);
@@ -266,7 +266,7 @@ var Plugin20 = {
266
266
  return { applied, files };
267
267
  }).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
268
268
  output,
269
- content: toModelContent2(output),
269
+ content: toModelContent6(output),
270
270
  metadata: { files: output.files }
271
271
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
272
272
  }
@@ -323,4 +323,4 @@ function trimDiff(diff) {
323
323
  `);
324
324
  }
325
325
 
326
- export { name2, Input2, Applied2, Output2, toModelContent2, Plugin20, exports_patch };
326
+ export { name12, Input12, Applied2, Output8, toModelContent6, Plugin27, exports_patch };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  BlockedError2
3
- } from "./command-86g4d0kj.js";
3
+ } from "./snapshot-p6wfwqgr.js";
4
4
  import {
5
5
  __export
6
- } from "./command-9rqn6x4v.js";
6
+ } from "./snapshot-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/plan.ts
9
9
  var exports_plan = {};
10
10
  __export(exports_plan, {
11
11
  PlanPlugin: () => exports_plan,
12
- Plugin: () => Plugin38
12
+ Plugin: () => Plugin11
13
13
  });
14
14
  import { Message, ToolFailure } from "@opencode/ai";
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
29
29
  var leave = `<system-reminder>
30
30
  You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
31
31
  </system-reminder>`;
32
- var Plugin38 = define({
32
+ var Plugin11 = define({
33
33
  id: "opencode.plan",
34
34
  effect: Effect.fn(function* (ctx) {
35
35
  const global = yield* Global.Service;
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
106
106
  }, undefined);
107
107
  }
108
108
 
109
- export { Plugin38, exports_plan };
109
+ export { Plugin11, exports_plan };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  convertToOpenAICompatibleChatMessages2
3
- } from "./command-fxgpk5d8.js";
3
+ } from "./snapshot-fxgpk5d8.js";
4
4
  import {
5
5
  getResponseMetadata2
6
- } from "./command-g4wezp1m.js";
6
+ } from "./snapshot-g4wezp1m.js";
7
7
  import {
8
8
  mapOpenAICompatibleFinishReason2
9
- } from "./command-x61499pn.js";
9
+ } from "./snapshot-x61499pn.js";
10
10
  import {
11
11
  openaiCompatibleProviderOptions2
12
- } from "./command-af5trqkr.js";
12
+ } from "./snapshot-af5trqkr.js";
13
13
  import {
14
14
  defaultOpenAICompatibleErrorStructure2
15
- } from "./command-afrmfg78.js";
15
+ } from "./snapshot-afrmfg78.js";
16
16
  import {
17
17
  prepareTools2
18
- } from "./command-x0ckcb58.js";
18
+ } from "./snapshot-x0ckcb58.js";
19
19
 
20
20
  // src/github-copilot/chat/openai-compatible-chat-language-model.ts
21
21
  import {