@opencode/core 0.0.0-dev-19652 → 0.0.0-dev-19653

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 (786) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{schema-w9jmd2e2.js → snapshot-01thgb1n.js} +82 -82
  8. package/dist/chunks/{schema-4td6qmdq.js → snapshot-05qwv096.js} +18 -18
  9. package/dist/chunks/{schema-6dk543bq.js → snapshot-0h83wq1x.js} +8 -8
  10. package/dist/chunks/{schema-6hjx5zpb.js → snapshot-0jq9fyba.js} +9 -9
  11. package/dist/chunks/snapshot-0mesazry.js +4 -0
  12. package/dist/chunks/{schema-ppns27wk.js → snapshot-0msp93dq.js} +17 -17
  13. package/dist/chunks/{schema-0paq2nw3.js → snapshot-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{schema-0q0f95c6.js → snapshot-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{schema-fqtvmpfq.js → snapshot-0xezjjjn.js} +8 -8
  16. package/dist/chunks/{schema-7jstqpd5.js → snapshot-10x1vztd.js} +32 -32
  17. package/dist/chunks/{schema-42way606.js → snapshot-12t47v60.js} +10 -10
  18. package/dist/chunks/{schema-v5dkyp31.js → snapshot-19vf66h0.js} +4 -4
  19. package/dist/chunks/{schema-qenep300.js → snapshot-1apne1gy.js} +36 -36
  20. package/dist/chunks/{schema-1dazxqgg.js → snapshot-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{schema-jc26sbfk.js → snapshot-1ef5mg7v.js} +3 -3
  22. package/dist/chunks/{schema-xpbr7bcc.js → snapshot-1fh5hkmz.js} +8 -8
  23. package/dist/chunks/{schema-sjf3tctt.js → snapshot-1jfn0zqb.js} +12 -12
  24. package/dist/chunks/{schema-81aqn7eh.js → snapshot-1md7fgng.js} +17 -17
  25. package/dist/chunks/{schema-6w1d93z6.js → snapshot-1ny5n266.js} +9 -9
  26. package/dist/chunks/{schema-eevfkcnk.js → snapshot-1th92w80.js} +24 -24
  27. package/dist/chunks/{schema-mqzgvnq5.js → snapshot-1y3jj0rs.js} +21 -21
  28. package/dist/chunks/{schema-1ygqh575.js → snapshot-1ygqh575.js} +2 -2
  29. package/dist/chunks/{schema-p01rfyrx.js → snapshot-1yrbrdr0.js} +4 -4
  30. package/dist/chunks/{schema-y0pcwp9m.js → snapshot-1ysy6ptp.js} +46 -46
  31. package/dist/chunks/{schema-ty91eq5w.js → snapshot-218gy5ye.js} +5 -5
  32. package/dist/chunks/{schema-21r38tys.js → snapshot-21r38tys.js} +1 -1
  33. package/dist/chunks/{schema-w1ad28wa.js → snapshot-2336b01z.js} +8 -8
  34. package/dist/chunks/{schema-6h73sxmp.js → snapshot-2402vzrj.js} +5 -5
  35. package/dist/chunks/{schema-zz75d48d.js → snapshot-26wn6ybt.js} +304 -304
  36. package/dist/chunks/{schema-z63w68vq.js → snapshot-29x78va6.js} +6 -6
  37. package/dist/chunks/{schema-2a5m3afh.js → snapshot-2a5m3afh.js} +1 -1
  38. package/dist/chunks/{schema-x3656kx6.js → snapshot-2fvxk96d.js} +12 -12
  39. package/dist/chunks/{schema-49cpqk8x.js → snapshot-2gygnsh6.js} +8 -8
  40. package/dist/chunks/{schema-4xeagmdc.js → snapshot-2nymxq0b.js} +3 -3
  41. package/dist/chunks/{schema-3nsjfmzq.js → snapshot-2wr5drz2.js} +8 -8
  42. package/dist/chunks/{schema-nrc1qagd.js → snapshot-32mp9n9c.js} +10 -10
  43. package/dist/chunks/{schema-h0qctgs0.js → snapshot-3ap7mgrf.js} +11 -11
  44. package/dist/chunks/{schema-3fc6dm20.js → snapshot-3fc6dm20.js} +1 -1
  45. package/dist/chunks/{schema-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
  46. package/dist/chunks/{schema-zc3k5t70.js → snapshot-3pyz1as7.js} +13 -13
  47. package/dist/chunks/{schema-58bewgwg.js → snapshot-3qd7w4g0.js} +17 -17
  48. package/dist/chunks/{schema-3smtnn6g.js → snapshot-3smtnn6g.js} +1 -1
  49. package/dist/chunks/{schema-d4727nqf.js → snapshot-3trdb5vg.js} +14 -14
  50. package/dist/chunks/{schema-3tvqynh2.js → snapshot-3tvqynh2.js} +1 -1
  51. package/dist/chunks/{schema-hp0ybgxk.js → snapshot-3wbd4v1a.js} +10 -10
  52. package/dist/chunks/{schema-3ee1q45j.js → snapshot-3xm7255b.js} +7 -7
  53. package/dist/chunks/{schema-gps939mq.js → snapshot-49tdp8w1.js} +41 -41
  54. package/dist/chunks/{schema-smjnv1yt.js → snapshot-4da5jyfn.js} +20 -20
  55. package/dist/chunks/{schema-p7rq11dp.js → snapshot-5bvcz4p2.js} +23 -23
  56. package/dist/chunks/{schema-5daktx2q.js → snapshot-5daktx2q.js} +1 -1
  57. package/dist/chunks/{schema-957yf008.js → snapshot-5ddxzgrt.js} +21 -21
  58. package/dist/chunks/snapshot-5ms05kda.js +247 -0
  59. package/dist/chunks/{schema-5t3nmthw.js → snapshot-5t3nmthw.js} +2 -2
  60. package/dist/chunks/snapshot-619r8v3y.js +18 -0
  61. package/dist/chunks/{schema-669tq793.js → snapshot-669tq793.js} +1 -1
  62. package/dist/chunks/{schema-8aw2er08.js → snapshot-66dcbfb0.js} +22 -22
  63. package/dist/chunks/{schema-ztcmmyvq.js → snapshot-69dycrt6.js} +20 -20
  64. package/dist/chunks/{schema-rz9jtxyn.js → snapshot-69vedpkd.js} +6 -6
  65. package/dist/chunks/{schema-rd1twtdz.js → snapshot-6ad4ne84.js} +11 -11
  66. package/dist/chunks/{schema-1fg54p4f.js → snapshot-6kse8r33.js} +2 -2
  67. package/dist/chunks/{schema-6msgmcgs.js → snapshot-6msgmcgs.js} +1 -1
  68. package/dist/chunks/{schema-vtna6zda.js → snapshot-6rpmvfyt.js} +14 -14
  69. package/dist/chunks/{schema-1bbkgx8g.js → snapshot-73tb2d7t.js} +3 -3
  70. package/dist/chunks/{schema-xtb4zs1s.js → snapshot-7b52g2gd.js} +32 -32
  71. package/dist/chunks/{schema-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
  72. package/dist/chunks/{schema-607tc6va.js → snapshot-7dqw4kz8.js} +5 -5
  73. package/dist/chunks/{schema-ckspfy32.js → snapshot-7h87z3j8.js} +15 -15
  74. package/dist/chunks/{schema-t6kmr1tg.js → snapshot-7rch35r1.js} +15 -15
  75. package/dist/chunks/{schema-c7fs63yh.js → snapshot-87dr90gt.js} +6 -6
  76. package/dist/chunks/{schema-tgzhv03a.js → snapshot-89q4ger5.js} +11 -11
  77. package/dist/chunks/{schema-8d7r5vzw.js → snapshot-8d7r5vzw.js} +1 -1
  78. package/dist/chunks/{schema-0dz7dwft.js → snapshot-8e1mf62q.js} +3 -3
  79. package/dist/chunks/{schema-rcdaxd8f.js → snapshot-8jrg70p8.js} +25 -25
  80. package/dist/chunks/{schema-vtqhpasw.js → snapshot-8p3ra840.js} +13 -13
  81. package/dist/chunks/{schema-dj2t23y0.js → snapshot-8p4f9s12.js} +2 -2
  82. package/dist/chunks/{schema-b3yf6gst.js → snapshot-8vdf1faw.js} +20 -20
  83. package/dist/chunks/{schema-03ep55h0.js → snapshot-90fr4d2x.js} +17 -17
  84. package/dist/chunks/{schema-410w8yr6.js → snapshot-93kcsy4k.js} +24 -24
  85. package/dist/chunks/{schema-3ythc6yv.js → snapshot-9e3vcssh.js} +4 -4
  86. package/dist/chunks/{schema-scd6nj0g.js → snapshot-9e768ymn.js} +26 -26
  87. package/dist/chunks/{schema-2df3b3hs.js → snapshot-9mdncq0s.js} +17 -17
  88. package/dist/chunks/{schema-5c4hm403.js → snapshot-a1bz86dw.js} +3 -3
  89. package/dist/chunks/{schema-jca4demv.js → snapshot-a3r4dcrj.js} +2 -2
  90. package/dist/chunks/{schema-ddj5qfgg.js → snapshot-a74266j8.js} +26 -26
  91. package/dist/chunks/{schema-aaet6srn.js → snapshot-aaet6srn.js} +2 -2
  92. package/dist/chunks/{schema-2fgn2we9.js → snapshot-aamtrqep.js} +9 -9
  93. package/dist/chunks/{schema-wp67138w.js → snapshot-aceeg3cp.js} +27 -27
  94. package/dist/chunks/{schema-4rt0waxz.js → snapshot-af89ncq8.js} +16 -16
  95. package/dist/chunks/{schema-5htpha5v.js → snapshot-akp91e4k.js} +17 -17
  96. package/dist/chunks/{schema-cws54ygj.js → snapshot-ar8rz7nx.js} +10 -10
  97. package/dist/chunks/{schema-jyvkdnw5.js → snapshot-argg83d8.js} +13 -13
  98. package/dist/chunks/{schema-9j3p0a6z.js → snapshot-awftjxgk.js} +37 -37
  99. package/dist/chunks/{schema-mgbtsknw.js → snapshot-awgbw8fq.js} +33 -33
  100. package/dist/chunks/{schema-typ47xqv.js → snapshot-b128nfhh.js} +10 -10
  101. package/dist/chunks/{schema-8d4156c8.js → snapshot-b5816jtq.js} +22 -22
  102. package/dist/chunks/{schema-rpcw9abc.js → snapshot-b5h975ar.js} +16 -16
  103. package/dist/chunks/{schema-b6gygkdw.js → snapshot-b6gygkdw.js} +2 -2
  104. package/dist/chunks/{schema-m9wy7qrr.js → snapshot-bdqrk2vk.js} +6 -6
  105. package/dist/chunks/{schema-gjfy02nj.js → snapshot-bh94tj1g.js} +36 -36
  106. package/dist/chunks/{schema-egb509wj.js → snapshot-bn8ttp5v.js} +9 -9
  107. package/dist/chunks/{schema-bndc73cn.js → snapshot-bndc73cn.js} +2 -2
  108. package/dist/chunks/{schema-gnssr4kh.js → snapshot-bppjq47q.js} +11 -11
  109. package/dist/chunks/{schema-ctkq0avj.js → snapshot-bpwjc9wy.js} +19 -19
  110. package/dist/chunks/{schema-ycnmbzhj.js → snapshot-bq4csc8x.js} +6 -6
  111. package/dist/chunks/snapshot-c4g7evww.js +26 -0
  112. package/dist/chunks/{schema-p1aznbsd.js → snapshot-c877w3g9.js} +30 -30
  113. package/dist/chunks/{schema-m0jqrx5p.js → snapshot-cfpkc3c9.js} +2 -2
  114. package/dist/chunks/{schema-2tfmgkzg.js → snapshot-cq37gk0t.js} +4 -4
  115. package/dist/chunks/{schema-w1k39n5e.js → snapshot-csf2jhsg.js} +4 -4
  116. package/dist/chunks/{schema-sztsy51r.js → snapshot-ctvc05cr.js} +14 -14
  117. package/dist/chunks/{schema-0f9afca0.js → snapshot-d2aac7k2.js} +5 -5
  118. package/dist/chunks/{schema-fd75nkaf.js → snapshot-dcqsap79.js} +11 -11
  119. package/dist/chunks/{schema-k5wasz4q.js → snapshot-dpz4ks7y.js} +5 -5
  120. package/dist/chunks/{schema-1wzaq9wx.js → snapshot-drnp37zn.js} +3 -3
  121. package/dist/chunks/{schema-drwq78ky.js → snapshot-drwq78ky.js} +1 -1
  122. package/dist/chunks/{schema-5qd3pb7m.js → snapshot-e3qxr5gk.js} +2 -2
  123. package/dist/chunks/{schema-603btna3.js → snapshot-e80mc8w1.js} +20 -20
  124. package/dist/chunks/{schema-xr05v48s.js → snapshot-edb149hz.js} +6 -6
  125. package/dist/chunks/{schema-ef5x83kb.js → snapshot-ef5x83kb.js} +1 -1
  126. package/dist/chunks/{schema-nekzqhap.js → snapshot-eqmsh7pr.js} +9 -9
  127. package/dist/chunks/{schema-09m97qzh.js → snapshot-er24ykwd.js} +56 -56
  128. package/dist/chunks/{schema-mmwvyfxk.js → snapshot-erzjndax.js} +32 -32
  129. package/dist/chunks/{schema-etq0c3wd.js → snapshot-etq0c3wd.js} +1 -1
  130. package/dist/chunks/{schema-kyxd1ff3.js → snapshot-exh8aam3.js} +17 -17
  131. package/dist/chunks/{schema-k8m1efg7.js → snapshot-eygb68nf.js} +2 -2
  132. package/dist/chunks/{schema-f2n192rq.js → snapshot-f2n192rq.js} +1 -1
  133. package/dist/chunks/{schema-vy5pp12k.js → snapshot-f6h37ngn.js} +32 -32
  134. package/dist/chunks/{schema-hdnk95c8.js → snapshot-f828m53h.js} +2 -2
  135. package/dist/chunks/{schema-tjecye6p.js → snapshot-fcs2b5j4.js} +19 -19
  136. package/dist/chunks/{schema-fy8yekx1.js → snapshot-fdzrfqx5.js} +4 -4
  137. package/dist/chunks/{schema-57b0vs49.js → snapshot-fkwnxpt2.js} +3 -3
  138. package/dist/chunks/{schema-76mtmnx0.js → snapshot-fn0sks19.js} +6 -6
  139. package/dist/chunks/{schema-kwnfrnw8.js → snapshot-fq55hpy7.js} +44 -44
  140. package/dist/chunks/{schema-p6dqprnz.js → snapshot-fve3v9r5.js} +17 -17
  141. package/dist/chunks/{schema-n61j5yzm.js → snapshot-fwbhsxh7.js} +5 -5
  142. package/dist/chunks/{schema-fxbjtjnd.js → snapshot-fxbjtjnd.js} +1 -1
  143. package/dist/chunks/{schema-5yzzbxa7.js → snapshot-g0445xdp.js} +8 -8
  144. package/dist/chunks/{schema-hknczzph.js → snapshot-g290m0sn.js} +9 -9
  145. package/dist/chunks/{schema-kgxz2f7g.js → snapshot-g7jvb7c9.js} +12 -12
  146. package/dist/chunks/{schema-gd4qta3r.js → snapshot-gd4qta3r.js} +1 -1
  147. package/dist/chunks/{schema-r2m716tb.js → snapshot-gjwgx2c5.js} +9 -9
  148. package/dist/chunks/{schema-awaxm1q8.js → snapshot-gkkbyfpt.js} +32 -32
  149. package/dist/chunks/{schema-tgtkvqe9.js → snapshot-gp07xrgk.js} +5 -5
  150. package/dist/chunks/{schema-m5bv8msf.js → snapshot-grmpjd60.js} +17 -17
  151. package/dist/chunks/{schema-gv6a8nnw.js → snapshot-gv6a8nnw.js} +2 -2
  152. package/dist/chunks/{schema-3qq5da58.js → snapshot-gyg781zn.js} +89 -89
  153. package/dist/chunks/{schema-h03wrkyp.js → snapshot-h03wrkyp.js} +2 -2
  154. package/dist/chunks/{schema-6008d0qp.js → snapshot-h2ez88j0.js} +187 -187
  155. package/dist/chunks/{schema-cpj0znwe.js → snapshot-h6r3nrb9.js} +4 -4
  156. package/dist/chunks/{schema-h6vf3j39.js → snapshot-h6vf3j39.js} +1 -1
  157. package/dist/chunks/{schema-jd2srmve.js → snapshot-h8hzwc5x.js} +3 -3
  158. package/dist/chunks/{schema-pt08jtz7.js → snapshot-hb0he38b.js} +8 -8
  159. package/dist/chunks/{schema-6rf1xn29.js → snapshot-hfn0tva4.js} +12 -12
  160. package/dist/chunks/{schema-8gxqpgph.js → snapshot-hn57h045.js} +4 -4
  161. package/dist/chunks/{schema-zqw47kg9.js → snapshot-hn75ne8v.js} +15 -15
  162. package/dist/chunks/{schema-0r7yqxbf.js → snapshot-hnr5yq9h.js} +5 -5
  163. package/dist/chunks/{schema-knvfs6pc.js → snapshot-hpwzmg5q.js} +11 -11
  164. package/dist/chunks/{schema-69mekdnv.js → snapshot-hqymy954.js} +25 -25
  165. package/dist/chunks/{schema-r2e4tzq6.js → snapshot-hsj3aajr.js} +46 -46
  166. package/dist/chunks/{schema-z5wxwd7n.js → snapshot-hsp1havs.js} +15 -15
  167. package/dist/chunks/{schema-fg588aq2.js → snapshot-hst1fhzz.js} +14 -14
  168. package/dist/chunks/{schema-mp38ktsp.js → snapshot-hvq2e6yw.js} +24 -24
  169. package/dist/chunks/{schema-pzkc7njq.js → snapshot-hvxr6sb7.js} +17 -17
  170. package/dist/chunks/{schema-94fp10gk.js → snapshot-j0wffheb.js} +4 -4
  171. package/dist/chunks/{schema-tg92h923.js → snapshot-j1198zr5.js} +11 -11
  172. package/dist/chunks/{schema-hrbhtc9f.js → snapshot-j1cg1qz3.js} +30 -30
  173. package/dist/chunks/{schema-5377s7rv.js → snapshot-j4yjh87y.js} +34 -34
  174. package/dist/chunks/{schema-j56e64zr.js → snapshot-j56e64zr.js} +1 -1
  175. package/dist/chunks/{schema-x4bypsmn.js → snapshot-jbj8jg2f.js} +11 -11
  176. package/dist/chunks/{schema-q3t37ft6.js → snapshot-jexxy024.js} +3 -3
  177. package/dist/chunks/{schema-kj973gv5.js → snapshot-jkw5p48s.js} +4 -4
  178. package/dist/chunks/{schema-kg6516s3.js → snapshot-jmq43bvs.js} +7 -7
  179. package/dist/chunks/{schema-tac2mqbh.js → snapshot-jzcabyfg.js} +4 -4
  180. package/dist/chunks/{schema-2j9z72bx.js → snapshot-jzsegfhb.js} +4 -4
  181. package/dist/chunks/{schema-9esbgk1q.js → snapshot-k5721584.js} +4 -4
  182. package/dist/chunks/{schema-yqb6sz7a.js → snapshot-kbvc63j3.js} +9 -9
  183. package/dist/chunks/{schema-8nmhcqgw.js → snapshot-kebtznj1.js} +13 -13
  184. package/dist/chunks/{schema-mrs0jc6e.js → snapshot-kkzntj36.js} +22 -22
  185. package/dist/chunks/{schema-ngqd1g3c.js → snapshot-kmbfnqse.js} +4 -4
  186. package/dist/chunks/{schema-fkjmw100.js → snapshot-knb7evpn.js} +6 -6
  187. package/dist/chunks/{schema-5b21016n.js → snapshot-m0kv6xab.js} +8 -8
  188. package/dist/chunks/{schema-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
  189. package/dist/chunks/{schema-58np9qmz.js → snapshot-mft8z28a.js} +10 -10
  190. package/dist/chunks/{schema-t904akrn.js → snapshot-mqs2tvqp.js} +11 -11
  191. package/dist/chunks/{schema-nxf878eb.js → snapshot-mqxhjc40.js} +38 -38
  192. package/dist/chunks/{schema-kbch1f4b.js → snapshot-mrfv1e3e.js} +46 -46
  193. package/dist/chunks/{schema-jeck9fhr.js → snapshot-mwyy18e8.js} +15 -15
  194. package/dist/chunks/{schema-yyrnn2g5.js → snapshot-mxv3m5ng.js} +32 -32
  195. package/dist/chunks/{schema-f1t1f2q3.js → snapshot-n36b8xge.js} +25 -25
  196. package/dist/chunks/{schema-0fn2v7vk.js → snapshot-ne3jdqry.js} +6 -6
  197. package/dist/chunks/{schema-m31hrvtp.js → snapshot-njct8jvz.js} +7 -7
  198. package/dist/chunks/{schema-2072y70k.js → snapshot-nnq58889.js} +28 -28
  199. package/dist/chunks/{schema-4r0rs1wm.js → snapshot-ntxwhzte.js} +26 -26
  200. package/dist/chunks/{schema-bsywhvdw.js → snapshot-nwbtwnx3.js} +15 -15
  201. package/dist/chunks/{schema-qdw6nraz.js → snapshot-nwha1t5p.js} +23 -23
  202. package/dist/chunks/{schema-axb19299.js → snapshot-pcgbtdxm.js} +64 -64
  203. package/dist/chunks/{schema-rj5n40r1.js → snapshot-pddmdwmf.js} +30 -30
  204. package/dist/chunks/{schema-00a8st2d.js → snapshot-phbzgask.js} +20 -20
  205. package/dist/chunks/{schema-h7e5g0tn.js → snapshot-phjaars8.js} +6 -6
  206. package/dist/chunks/{schema-pjvnvgmy.js → snapshot-pjvnvgmy.js} +1 -1
  207. package/dist/chunks/{schema-pknna89w.js → snapshot-pknna89w.js} +1 -1
  208. package/dist/chunks/{schema-c3x1jprk.js → snapshot-pp9p7z27.js} +5 -5
  209. package/dist/chunks/{schema-7a89sew0.js → snapshot-pt64hy19.js} +23 -23
  210. package/dist/chunks/{schema-x31saxwp.js → snapshot-q1c6gfm2.js} +22 -22
  211. package/dist/chunks/{schema-820fwhp7.js → snapshot-q3gzdryb.js} +7 -7
  212. package/dist/chunks/{schema-hcnq7x11.js → snapshot-qhsabzhs.js} +9 -9
  213. package/dist/chunks/{schema-mecezrcf.js → snapshot-qqcmrm0p.js} +23 -23
  214. package/dist/chunks/{schema-ckfwh0ft.js → snapshot-qs001aqx.js} +11 -11
  215. package/dist/chunks/{schema-qsdy395h.js → snapshot-qsdy395h.js} +1 -1
  216. package/dist/chunks/{schema-35agz59w.js → snapshot-qz49fwgp.js} +6 -6
  217. package/dist/chunks/{schema-a578tmxk.js → snapshot-r86vms50.js} +22 -22
  218. package/dist/chunks/{schema-0v53mg2y.js → snapshot-r98e92ep.js} +4 -4
  219. package/dist/chunks/{schema-r9mregkx.js → snapshot-r9mregkx.js} +2 -2
  220. package/dist/chunks/{schema-kqvqnzwb.js → snapshot-rd783k6y.js} +18 -18
  221. package/dist/chunks/{schema-rdw6cm16.js → snapshot-rdw6cm16.js} +1 -1
  222. package/dist/chunks/{schema-ce5fknq2.js → snapshot-rf80fxgj.js} +5 -5
  223. package/dist/chunks/{schema-nq7qbqzc.js → snapshot-rhafb4aa.js} +9 -9
  224. package/dist/chunks/{schema-eaj1djv9.js → snapshot-rhjbct0v.js} +8 -8
  225. package/dist/chunks/{schema-hyjskg14.js → snapshot-rj4axa9p.js} +9 -9
  226. package/dist/chunks/{schema-vvvs0jwh.js → snapshot-rr2wt9g3.js} +4 -4
  227. package/dist/chunks/{schema-evg6vw2r.js → snapshot-rz3xxe6k.js} +57 -57
  228. package/dist/chunks/{schema-50qbb3mm.js → snapshot-s13g4vm4.js} +11 -11
  229. package/dist/chunks/{schema-4x3es53w.js → snapshot-s4emxj9z.js} +26 -26
  230. package/dist/chunks/{schema-yrznvahk.js → snapshot-s4enseaf.js} +2 -2
  231. package/dist/chunks/{schema-79qmf15m.js → snapshot-sa73gjsr.js} +46 -46
  232. package/dist/chunks/{schema-htmcw1qg.js → snapshot-sd061d7v.js} +13 -13
  233. package/dist/chunks/{schema-e7hkndy5.js → snapshot-sh4v7n8h.js} +22 -22
  234. package/dist/chunks/{schema-bdcpzjfh.js → snapshot-st1gh55s.js} +1 -1
  235. package/dist/chunks/{schema-wzw28g6j.js → snapshot-sv3gqcn4.js} +23 -23
  236. package/dist/chunks/{schema-6sydn1mq.js → snapshot-t594wqmv.js} +3 -3
  237. package/dist/chunks/{schema-3yr6111a.js → snapshot-t5emj2h2.js} +31 -31
  238. package/dist/chunks/{schema-ekdmd5z4.js → snapshot-ta2099j2.js} +47 -47
  239. package/dist/chunks/{schema-vm903892.js → snapshot-tar7az88.js} +1 -1
  240. package/dist/chunks/{schema-tazgh4e4.js → snapshot-tazgh4e4.js} +1 -1
  241. package/dist/chunks/{schema-89znhe33.js → snapshot-tcezcvh9.js} +4 -4
  242. package/dist/chunks/{schema-tdstcens.js → snapshot-tdstcens.js} +1 -1
  243. package/dist/chunks/{schema-tn0aqsam.js → snapshot-tn0aqsam.js} +2 -2
  244. package/dist/chunks/{schema-4jc5c4h4.js → snapshot-ts2x07a1.js} +1 -1
  245. package/dist/chunks/{schema-9qdsg55z.js → snapshot-tsm2qp81.js} +20 -20
  246. package/dist/chunks/{schema-tvtrv512.js → snapshot-tvtrv512.js} +1 -1
  247. package/dist/chunks/{schema-cd4vjczq.js → snapshot-tzv9gha2.js} +10 -10
  248. package/dist/chunks/{schema-veqvce7d.js → snapshot-veqvce7d.js} +1 -1
  249. package/dist/chunks/{schema-99pz0y8y.js → snapshot-vkgpxk0m.js} +32 -32
  250. package/dist/chunks/{schema-zw2p42d9.js → snapshot-vq4eqjm7.js} +5 -5
  251. package/dist/chunks/{schema-h896pcm5.js → snapshot-vqfzq50h.js} +6 -6
  252. package/dist/chunks/{schema-y7s0zapj.js → snapshot-vrvxb7z7.js} +17 -17
  253. package/dist/chunks/{schema-vzcthcp8.js → snapshot-vzcthcp8.js} +1 -1
  254. package/dist/chunks/{schema-06z447d2.js → snapshot-w2fs4da3.js} +11 -11
  255. package/dist/chunks/{schema-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{schema-r8vbt15x.js → snapshot-w435n5nj.js} +26 -26
  257. package/dist/chunks/{schema-wd87259q.js → snapshot-wd87259q.js} +1 -1
  258. package/dist/chunks/{schema-030jpyv0.js → snapshot-wdn2d5ek.js} +7 -7
  259. package/dist/chunks/{schema-rp39zwfx.js → snapshot-wfdf6d3v.js} +9 -9
  260. package/dist/chunks/{schema-gmjjhz4f.js → snapshot-wrhfnc47.js} +9 -9
  261. package/dist/chunks/{schema-xr485xf2.js → snapshot-wsepfvn3.js} +5 -5
  262. package/dist/chunks/{schema-x1ezjp6w.js → snapshot-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{schema-5sbtfkvy.js → snapshot-x8mrydwy.js} +11 -11
  264. package/dist/chunks/{schema-r2fyx2gr.js → snapshot-xac6wcsk.js} +32 -32
  265. package/dist/chunks/{schema-g190xswt.js → snapshot-xdk9p2qn.js} +21 -21
  266. package/dist/chunks/{schema-17xzmh3e.js → snapshot-xe6a6y7j.js} +40 -40
  267. package/dist/chunks/{schema-4sa93e2e.js → snapshot-y1ah066v.js} +38 -38
  268. package/dist/chunks/{schema-y1fvbwt7.js → snapshot-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{schema-9c3np669.js → snapshot-y1qqcj8h.js} +8 -8
  270. package/dist/chunks/{schema-3cemjer9.js → snapshot-y22m1gtg.js} +11 -11
  271. package/dist/chunks/{schema-y71avatq.js → snapshot-y71avatq.js} +1 -1
  272. package/dist/chunks/{schema-z0rhrb3j.js → snapshot-y742baad.js} +37 -37
  273. package/dist/chunks/{schema-r8r0p3p5.js → snapshot-y9y2zt4e.js} +25 -25
  274. package/dist/chunks/{schema-47vm6cas.js → snapshot-yehf1tbz.js} +9 -9
  275. package/dist/chunks/{schema-rv9hmyrv.js → snapshot-yntgc0th.js} +25 -25
  276. package/dist/chunks/{schema-yrhqyw5v.js → snapshot-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{schema-38s28pd0.js → snapshot-yzmrefmx.js} +36 -36
  278. package/dist/chunks/{schema-z0bkrqjs.js → snapshot-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{schema-eye44qas.js → snapshot-z3nay82g.js} +9 -9
  280. package/dist/chunks/{schema-y1f6k396.js → snapshot-z73n086k.js} +20 -20
  281. package/dist/chunks/{schema-bjgq97ey.js → snapshot-z896z5cb.js} +12 -12
  282. package/dist/chunks/{schema-5rzrtx0h.js → snapshot-z8kb0hdh.js} +24 -24
  283. package/dist/chunks/{schema-zeh9ct20.js → snapshot-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{schema-zr2ceqn5.js → snapshot-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{schema-4dv0c8br.js → snapshot-zt79f2av.js} +9 -9
  286. package/dist/chunks/{schema-zxq2ej10.js → snapshot-zxq2ej10.js} +1 -1
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +3 -3
  289. package/dist/codemode/tool.js +2 -2
  290. package/dist/command.js +82 -82
  291. package/dist/config/discovery.js +83 -83
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +105 -105
  294. package/dist/config/plugin/agent.js +122 -122
  295. package/dist/config/plugin/command.js +210 -210
  296. package/dist/config/plugin/compaction.js +158 -158
  297. package/dist/config/plugin/compatibility.js +140 -140
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +121 -121
  300. package/dist/config/plugin/image.js +122 -122
  301. package/dist/config/plugin/instruction.js +89 -89
  302. package/dist/config/plugin/location-watcher.js +124 -124
  303. package/dist/config/plugin/mcp.js +129 -129
  304. package/dist/config/plugin/policy.js +122 -122
  305. package/dist/config/plugin/provider.js +122 -122
  306. package/dist/config/plugin/reference.js +124 -124
  307. package/dist/config/plugin/shell.js +124 -124
  308. package/dist/config/plugin/skill-file.js +101 -101
  309. package/dist/config/plugin/skill.js +143 -143
  310. package/dist/config/plugin/snapshot.js +122 -122
  311. package/dist/config/plugin/source.js +123 -123
  312. package/dist/config/plugin/tool-output.js +124 -124
  313. package/dist/config/plugin/websearch.js +123 -123
  314. package/dist/config/plugin/worktree.js +124 -124
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +127 -127
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +84 -84
  320. package/dist/database/database.js +65 -65
  321. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +13 -13
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +14 -14
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  384. package/dist/database/migration.gen.js +48 -48
  385. package/dist/database/migration.js +50 -50
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +75 -75
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +364 -364
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +92 -92
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +94 -94
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +69 -69
  409. package/dist/file-access.js +103 -103
  410. package/dist/file-mutation.js +93 -93
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +225 -225
  420. package/dist/filesystem/protected.js +3 -3
  421. package/dist/filesystem/search.js +102 -102
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +107 -107
  425. package/dist/form.js +69 -69
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +86 -86
  428. package/dist/generate.js +100 -100
  429. package/dist/git.js +10 -10
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +90 -90
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +355 -355
  454. package/dist/instruction-discovery.js +84 -84
  455. package/dist/instructions/builtins.js +86 -86
  456. package/dist/instructions/index.js +5 -5
  457. package/dist/integration/connection.js +3 -3
  458. package/dist/integration.js +87 -87
  459. package/dist/job.js +78 -78
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +72 -72
  462. package/dist/location-activity.js +131 -131
  463. package/dist/location-mutation.js +103 -103
  464. package/dist/location-service-map.js +85 -85
  465. package/dist/location-services.js +352 -352
  466. package/dist/location.js +88 -88
  467. package/dist/mcp/client.js +90 -90
  468. package/dist/mcp/index.js +107 -107
  469. package/dist/mcp/instructions.js +126 -126
  470. package/dist/mcp/oauth.js +77 -77
  471. package/dist/mcp/stdio.js +89 -89
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +90 -90
  474. package/dist/model-resolver.js +97 -97
  475. package/dist/model.js +101 -101
  476. package/dist/models-dev.js +106 -106
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +79 -79
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +116 -116
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +85 -85
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +74 -74
  486. package/dist/plugin/agent.js +99 -99
  487. package/dist/plugin/command.js +98 -98
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +216 -216
  490. package/dist/plugin/identity.js +3 -3
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +327 -327
  493. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  494. package/dist/plugin/models-dev.js +95 -95
  495. package/dist/plugin/module.js +7 -7
  496. package/dist/plugin/optimize.js +4 -4
  497. package/dist/plugin/plan.js +101 -101
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  500. package/dist/plugin/provider/azure.js +121 -121
  501. package/dist/plugin/provider/cerebras.js +1 -1
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +118 -118
  506. package/dist/plugin/provider/digitalocean.js +92 -92
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/gateway.js +2 -2
  510. package/dist/plugin/provider/github-copilot.js +92 -92
  511. package/dist/plugin/provider/gitlab.js +90 -90
  512. package/dist/plugin/provider/google-vertex.js +89 -89
  513. package/dist/plugin/provider/kilo.js +1 -1
  514. package/dist/plugin/provider/llmgateway.js +76 -76
  515. package/dist/plugin/provider/lmstudio.js +121 -121
  516. package/dist/plugin/provider/modal.js +91 -91
  517. package/dist/plugin/provider/nvidia.js +1 -1
  518. package/dist/plugin/provider/ollama.js +119 -119
  519. package/dist/plugin/provider/openai.js +93 -93
  520. package/dist/plugin/provider/opencode.js +92 -92
  521. package/dist/plugin/provider/openrouter.js +90 -90
  522. package/dist/plugin/provider/perplexity.js +2 -2
  523. package/dist/plugin/provider/poe.js +77 -77
  524. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  525. package/dist/plugin/provider/sap-ai-core.js +90 -90
  526. package/dist/plugin/provider/sdk-factory.js +1 -1
  527. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  528. package/dist/plugin/provider/venice.js +2 -2
  529. package/dist/plugin/provider/vercel.js +89 -89
  530. package/dist/plugin/provider/vllm.js +119 -119
  531. package/dist/plugin/provider/xai.js +90 -90
  532. package/dist/plugin/provider/zenmux.js +1 -1
  533. package/dist/plugin/provider.js +158 -158
  534. package/dist/plugin/sdk.js +73 -73
  535. package/dist/plugin/service.js +3 -3
  536. package/dist/plugin/skill.js +138 -138
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +344 -344
  539. package/dist/plugin/update.js +6 -6
  540. package/dist/plugin/vcs/git.js +85 -85
  541. package/dist/plugin/vcs/hg.js +85 -85
  542. package/dist/plugin/warming.js +120 -120
  543. package/dist/plugin/websearch/exa.js +7 -7
  544. package/dist/plugin/websearch/firecrawl.js +8 -8
  545. package/dist/plugin/websearch/index.js +9 -9
  546. package/dist/plugin/websearch/mcp.js +2 -2
  547. package/dist/plugin/websearch/parallel.js +8 -8
  548. package/dist/plugin/websearch/tavily.js +6 -6
  549. package/dist/plugin/websearch/tinyfish.js +8 -8
  550. package/dist/plugin.js +227 -227
  551. package/dist/project/schema.js +8 -8
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +87 -87
  554. package/dist/provider.js +100 -100
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/schema.js +3 -3
  557. package/dist/pty/ticket.js +1 -1
  558. package/dist/pty.js +95 -95
  559. package/dist/reference/instructions.js +88 -88
  560. package/dist/reference.js +90 -90
  561. package/dist/repository-cache.js +80 -80
  562. package/dist/repository.js +3 -3
  563. package/dist/ripgrep/binary.js +2 -2
  564. package/dist/ripgrep.js +96 -96
  565. package/dist/rpc.js +85 -85
  566. package/dist/schema.js +1 -1
  567. package/dist/session/command.js +73 -73
  568. package/dist/session/compaction.js +132 -132
  569. package/dist/session/context.js +150 -150
  570. package/dist/session/diff.js +87 -87
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +7 -7
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +219 -219
  575. package/dist/session/execution.js +127 -127
  576. package/dist/session/generate.js +149 -149
  577. package/dist/session/history.js +15 -15
  578. package/dist/session/inbox.js +87 -87
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +78 -78
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +96 -96
  583. package/dist/session/message-updater.js +2 -2
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +117 -117
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +129 -129
  588. package/dist/session/projector.js +85 -85
  589. package/dist/session/prompt.js +104 -104
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +89 -89
  592. package/dist/session/run-coordinator.js +1 -1
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +228 -228
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +97 -97
  597. package/dist/session/runner/publish-llm-event.js +3 -3
  598. package/dist/session/runner/retry.js +113 -113
  599. package/dist/session/runner/step.js +124 -124
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +169 -169
  603. package/dist/session/shell.js +137 -137
  604. package/dist/session/skill.js +102 -102
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +72 -72
  607. package/dist/session/store.js +84 -84
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +206 -206
  610. package/dist/session/system-prompt.js +1 -1
  611. package/dist/session/title.js +154 -154
  612. package/dist/session/to-session-error.js +110 -110
  613. package/dist/session/transfer.js +215 -215
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +216 -216
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +15 -15
  620. package/dist/shell.js +139 -139
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +102 -102
  623. package/dist/skill.js +109 -109
  624. package/dist/snapshot.js +92 -92
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +123 -123
  629. package/dist/tool/plugin/edit.js +113 -113
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +123 -123
  632. package/dist/tool/plugin/grep.js +121 -121
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +121 -121
  635. package/dist/tool/plugin/question.js +102 -102
  636. package/dist/tool/plugin/read.js +122 -122
  637. package/dist/tool/plugin/shell.js +215 -215
  638. package/dist/tool/plugin/skill.js +110 -110
  639. package/dist/tool/plugin/subagent.js +215 -215
  640. package/dist/tool/plugin/webfetch.js +107 -107
  641. package/dist/tool/plugin/websearch.js +113 -113
  642. package/dist/tool/plugin/write.js +121 -121
  643. package/dist/tool/read-filesystem.js +99 -99
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +8 -8
  646. package/dist/tool.js +15 -15
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/git-executable.js +2 -2
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +7 -7
  657. package/dist/v1/config/attachment.js +2 -2
  658. package/dist/v1/config/command.js +3 -3
  659. package/dist/v1/config/config.js +16 -16
  660. package/dist/v1/config/error.js +4 -4
  661. package/dist/v1/config/formatter.js +5 -5
  662. package/dist/v1/config/layout.js +1 -1
  663. package/dist/v1/config/lsp.js +5 -5
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +91 -91
  666. package/dist/v1/config/permission.js +7 -7
  667. package/dist/v1/config/plugin.js +3 -3
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/v1/config/server.js +2 -2
  671. package/dist/v1/config/skills.js +3 -3
  672. package/dist/v1/permission.js +1 -1
  673. package/dist/variant.js +92 -92
  674. package/dist/vcs/patch.js +1 -1
  675. package/dist/vcs.js +88 -88
  676. package/dist/websearch.js +83 -83
  677. package/dist/wellknown/plugin.js +75 -75
  678. package/dist/wellknown.js +80 -80
  679. package/dist/workspace/driver.js +5 -5
  680. package/dist/workspace/sql.js +1 -1
  681. package/dist/workspace.js +79 -79
  682. package/dist/worktree/directory.js +2 -2
  683. package/dist/worktree/git.js +10 -10
  684. package/dist/worktree/sql.js +5 -5
  685. package/dist/worktree/strategies.js +88 -88
  686. package/dist/worktree.js +95 -95
  687. package/package.json +8 -8
  688. package/dist/chunks/schema-dmc6ybme.js +0 -26
  689. package/dist/chunks/schema-hgd4btym.js +0 -18
  690. package/dist/chunks/schema-hxa7m5za.js +0 -4
  691. package/dist/chunks/schema-srr10nqc.js +0 -247
  692. /package/dist/chunks/{schema-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{schema-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{schema-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{schema-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{schema-1kg9ymc8.js → snapshot-1kg9ymc8.js} +0 -0
  697. /package/dist/chunks/{schema-24dcb14g.js → snapshot-24dcb14g.js} +0 -0
  698. /package/dist/chunks/{schema-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
  699. /package/dist/chunks/{schema-2axfhc9x.js → snapshot-2axfhc9x.js} +0 -0
  700. /package/dist/chunks/{schema-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
  701. /package/dist/chunks/{schema-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
  702. /package/dist/chunks/{schema-3asan66x.js → snapshot-3asan66x.js} +0 -0
  703. /package/dist/chunks/{schema-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
  704. /package/dist/chunks/{schema-3w5fmr99.js → snapshot-3w5fmr99.js} +0 -0
  705. /package/dist/chunks/{schema-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
  706. /package/dist/chunks/{schema-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
  707. /package/dist/chunks/{schema-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
  708. /package/dist/chunks/{schema-4vcrnpx2.js → snapshot-4vcrnpx2.js} +0 -0
  709. /package/dist/chunks/{schema-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
  710. /package/dist/chunks/{schema-53557ph1.js → snapshot-53557ph1.js} +0 -0
  711. /package/dist/chunks/{schema-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
  712. /package/dist/chunks/{schema-6prwharc.js → snapshot-6prwharc.js} +0 -0
  713. /package/dist/chunks/{schema-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
  714. /package/dist/chunks/{schema-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
  715. /package/dist/chunks/{schema-822emrt2.js → snapshot-822emrt2.js} +0 -0
  716. /package/dist/chunks/{schema-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{schema-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{schema-922hggd3.js → snapshot-922hggd3.js} +0 -0
  719. /package/dist/chunks/{schema-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{schema-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{schema-a6k6eb26.js → snapshot-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{schema-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{schema-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{schema-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{schema-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{schema-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{schema-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{schema-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
  729. /package/dist/chunks/{schema-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
  730. /package/dist/chunks/{schema-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
  731. /package/dist/chunks/{schema-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
  732. /package/dist/chunks/{schema-dajrwvna.js → snapshot-dajrwvna.js} +0 -0
  733. /package/dist/chunks/{schema-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
  734. /package/dist/chunks/{schema-df08tz66.js → snapshot-df08tz66.js} +0 -0
  735. /package/dist/chunks/{schema-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
  736. /package/dist/chunks/{schema-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{schema-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{schema-ec1grn59.js → snapshot-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{schema-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{schema-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{schema-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{schema-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{schema-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{schema-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{schema-fxgpk5d8.js → snapshot-fxgpk5d8.js} +0 -0
  746. /package/dist/chunks/{schema-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
  747. /package/dist/chunks/{schema-g86h250q.js → snapshot-g86h250q.js} +0 -0
  748. /package/dist/chunks/{schema-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
  749. /package/dist/chunks/{schema-gftt206x.js → snapshot-gftt206x.js} +0 -0
  750. /package/dist/chunks/{schema-hjbc5kem.js → snapshot-hjbc5kem.js} +0 -0
  751. /package/dist/chunks/{schema-hk9envan.js → snapshot-hk9envan.js} +0 -0
  752. /package/dist/chunks/{schema-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{schema-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{schema-jjkms2e6.js → snapshot-jjkms2e6.js} +0 -0
  755. /package/dist/chunks/{schema-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
  756. /package/dist/chunks/{schema-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
  757. /package/dist/chunks/{schema-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{schema-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
  759. /package/dist/chunks/{schema-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
  760. /package/dist/chunks/{schema-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
  761. /package/dist/chunks/{schema-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
  762. /package/dist/chunks/{schema-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
  763. /package/dist/chunks/{schema-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
  764. /package/dist/chunks/{schema-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
  765. /package/dist/chunks/{schema-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
  766. /package/dist/chunks/{schema-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
  767. /package/dist/chunks/{schema-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
  768. /package/dist/chunks/{schema-qg3g05ea.js → snapshot-qg3g05ea.js} +0 -0
  769. /package/dist/chunks/{schema-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
  770. /package/dist/chunks/{schema-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
  771. /package/dist/chunks/{schema-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
  772. /package/dist/chunks/{schema-sk3qaz4a.js → snapshot-sk3qaz4a.js} +0 -0
  773. /package/dist/chunks/{schema-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
  774. /package/dist/chunks/{schema-twg0f83k.js → snapshot-twg0f83k.js} +0 -0
  775. /package/dist/chunks/{schema-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
  776. /package/dist/chunks/{schema-wc3fc9cn.js → snapshot-wc3fc9cn.js} +0 -0
  777. /package/dist/chunks/{schema-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
  778. /package/dist/chunks/{schema-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
  779. /package/dist/chunks/{schema-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
  780. /package/dist/chunks/{schema-x61499pn.js → snapshot-x61499pn.js} +0 -0
  781. /package/dist/chunks/{schema-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
  782. /package/dist/chunks/{schema-y8cydn3q.js → snapshot-y8cydn3q.js} +0 -0
  783. /package/dist/chunks/{schema-y8f7s663.js → snapshot-y8f7s663.js} +0 -0
  784. /package/dist/chunks/{schema-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
  785. /package/dist/chunks/{schema-ym463w8f.js → snapshot-ym463w8f.js} +0 -0
  786. /package/dist/chunks/{schema-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./schema-922hggd3.js";
3
+ } from "./snapshot-922hggd3.js";
4
4
  import {
5
5
  latest2,
6
- Service43
7
- } from "./schema-kbch1f4b.js";
6
+ Service65
7
+ } from "./snapshot-mrfv1e3e.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./schema-2a5m3afh.js";
10
+ } from "./snapshot-2a5m3afh.js";
11
11
  import {
12
- Service70
13
- } from "./schema-eevfkcnk.js";
12
+ Service67
13
+ } from "./snapshot-1th92w80.js";
14
14
  import {
15
- Service55
16
- } from "./schema-58bewgwg.js";
15
+ Service46
16
+ } from "./snapshot-3qd7w4g0.js";
17
17
  import {
18
- Service72
19
- } from "./schema-evg6vw2r.js";
18
+ Service50
19
+ } from "./snapshot-rz3xxe6k.js";
20
20
  import {
21
- Service14,
21
+ Service15,
22
22
  resolvePath2
23
- } from "./schema-4td6qmdq.js";
23
+ } from "./snapshot-05qwv096.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./schema-fxbjtjnd.js";
29
+ } from "./snapshot-fxbjtjnd.js";
30
30
  import {
31
- Service47,
31
+ Service71,
32
32
  name15
33
- } from "./schema-x31saxwp.js";
33
+ } from "./snapshot-q1c6gfm2.js";
34
34
  import {
35
- NotFoundError6,
36
- Service41
37
- } from "./schema-r2e4tzq6.js";
35
+ NotFoundError9,
36
+ Service62
37
+ } from "./snapshot-hsj3aajr.js";
38
38
  import {
39
- Service15
40
- } from "./schema-3qq5da58.js";
39
+ Service24
40
+ } from "./snapshot-gyg781zn.js";
41
41
  import {
42
42
  scan2
43
- } from "./schema-2j9z72bx.js";
43
+ } from "./snapshot-jzsegfhb.js";
44
44
  import {
45
45
  __export
46
- } from "./schema-9rqn6x4v.js";
46
+ } from "./snapshot-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
- var exports_shell2 = {};
50
- __export(exports_shell2, {
49
+ var exports_shell = {};
50
+ __export(exports_shell, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input3,
53
- Plugin: () => Plugin36,
54
- ShellTool: () => exports_shell2,
55
- name: () => name3
52
+ Input: () => Input8,
53
+ Plugin: () => Plugin23,
54
+ ShellTool: () => exports_shell,
55
+ name: () => name8
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name3 = "shell";
59
+ var name8 = "shell";
60
60
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
61
61
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
62
62
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -70,7 +70,7 @@ var description = (shell) => [
70
70
  "Commands accept an optional timeout, background commands have no timeout by default.",
71
71
  "Background commands return immediately, and you will be notified when they complete."
72
72
  ].join(" ");
73
- var Input3 = Schema.Struct({
73
+ var Input8 = Schema.Struct({
74
74
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
75
75
  workdir: Schema.optionalKey(Schema.String).annotate({
76
76
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
115
115
  truncated: false,
116
116
  status: "running"
117
117
  });
118
- var Plugin36 = {
118
+ var Plugin23 = {
119
119
  id: "opencode.tool.shell",
120
120
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
121
- const sessions = yield* Service15;
122
- const jobs = yield* Service55;
121
+ const sessions = yield* Service24;
122
+ const jobs = yield* Service46;
123
123
  const scope = yield* Scope.Scope;
124
- const environment = yield* Service70;
125
- const access = yield* Service14;
126
- const shell = yield* Service41;
127
- const shellSelect = yield* Service47;
124
+ const environment = yield* Service67;
125
+ const access = yield* Service15;
126
+ const shell = yield* Service62;
127
+ const shellSelect = yield* Service71;
128
128
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
129
- const permission = yield* Service72;
130
- const config = yield* Service43;
129
+ const permission = yield* Service50;
130
+ const config = yield* Service65;
131
131
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
132
132
  const source = {
133
133
  type: "tool",
@@ -146,7 +146,7 @@ var Plugin36 = {
146
146
  yield* access.authorizeExternal([target, ...directories], context);
147
147
  if (parsed.commands.length > 0)
148
148
  yield* permission.assert({
149
- action: name3,
149
+ action: name8,
150
150
  resources: parsed.commands.map((command) => command.resource),
151
151
  save: parsed.commands.map((command) => command.save),
152
152
  sessionID: context.sessionID,
@@ -183,10 +183,10 @@ var Plugin36 = {
183
183
  yield* jobs.completeBackground(info.notificationID);
184
184
  }, Effect.forkIn(scope, { startImmediately: true }));
185
185
  yield* ctx.tool.transform((editor) => editor.add({
186
- name: name3,
186
+ name: name8,
187
187
  options: { codemode: false },
188
188
  description: description(),
189
- input: Input3,
189
+ input: Input8,
190
190
  output: Output,
191
191
  execute: (input, context) => Effect.gen(function* () {
192
192
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -205,7 +205,7 @@ var Plugin36 = {
205
205
  const run = Effect.gen(function* () {
206
206
  const result = yield* shell.result(info);
207
207
  if (!result.capture)
208
- return yield* new NotFoundError6({ id: info.id });
208
+ return yield* new NotFoundError9({ id: info.id });
209
209
  const output = output2(result);
210
210
  return {
211
211
  ...output,
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
219
219
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
220
220
  const job = yield* jobs.start({
221
221
  id: info.id,
222
- type: name3,
222
+ type: name8,
223
223
  title: info.command,
224
224
  metadata: { sessionID: context.sessionID, shellID: info.id },
225
225
  recovery: {
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
249
249
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
250
250
  })).pipe(Effect.orDie);
251
251
  const hook = (event) => Effect.gen(function* () {
252
- const tool = event.tools[name3];
252
+ const tool = event.tools[name8];
253
253
  if (!tool)
254
254
  return;
255
255
  tool.description = description(name15(yield* compatibleShell));
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
260
260
  })
261
261
  };
262
262
 
263
- export { name3, DEFAULT_TIMEOUT_MS2, Input3, Plugin36, exports_shell2 };
263
+ export { name8, DEFAULT_TIMEOUT_MS2, Input8, Plugin23, exports_shell };
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./schema-922hggd3.js";
3
+ } from "./snapshot-922hggd3.js";
4
4
  import {
5
- Service77
6
- } from "./schema-p6dqprnz.js";
5
+ Service75
6
+ } from "./snapshot-fve3v9r5.js";
7
7
  import {
8
- Service43
9
- } from "./schema-kbch1f4b.js";
8
+ Service65
9
+ } from "./snapshot-mrfv1e3e.js";
10
10
  import {
11
11
  LocalSource2,
12
12
  GitSource2
13
- } from "./schema-2072y70k.js";
13
+ } from "./snapshot-nnq58889.js";
14
14
  import {
15
15
  observe2
16
- } from "./schema-qsdy395h.js";
16
+ } from "./snapshot-qsdy395h.js";
17
17
  import {
18
18
  __export
19
- } from "./schema-9rqn6x4v.js";
19
+ } from "./snapshot-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/reference.ts
22
22
  var exports_reference = {};
23
23
  __export(exports_reference, {
24
24
  ConfigReferencePlugin: () => exports_reference,
25
- Plugin: () => Plugin18
25
+ Plugin: () => Plugin39
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import path from "path";
29
29
  import { Effect } from "effect";
30
30
  import { Global } from "@opencode/util/global";
31
- var Plugin18 = define({
31
+ var Plugin39 = define({
32
32
  id: "opencode.config.reference",
33
33
  effect: Effect.fn(function* (ctx) {
34
- const config = yield* Service43;
35
- const location = yield* Service77;
34
+ const config = yield* Service65;
35
+ const location = yield* Service75;
36
36
  const global = yield* Global.Service;
37
37
  const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
38
38
  yield* ctx.reference.transform((editor) => {
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
72
72
  return path.isAbsolute(value) ? value : path.resolve(directory, value);
73
73
  }
74
74
 
75
- export { Plugin18, exports_reference };
75
+ export { Plugin39, exports_reference };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service81,
3
3
  node85
4
- } from "./schema-fy8yekx1.js";
4
+ } from "./snapshot-fdzrfqx5.js";
5
5
  import {
6
6
  environment2
7
- } from "./schema-x31saxwp.js";
7
+ } from "./snapshot-q1c6gfm2.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./schema-sk3qaz4a.js";
10
+ } from "./snapshot-sk3qaz4a.js";
11
11
  import {
12
12
  __export
13
- } from "./schema-9rqn6x4v.js";
13
+ } from "./snapshot-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError3,
20
- Options: () => Options3,
19
+ NotFoundError: () => NotFoundError8,
20
+ Options: () => Options6,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service32,
22
+ Service: () => Service59,
23
23
  UnavailableError: () => UnavailableError3,
24
- configured: () => configured3,
25
- layer: () => layer14,
26
- node: () => node35
24
+ configured: () => configured7,
25
+ layer: () => layer22,
26
+ node: () => node62
27
27
  });
28
28
  import os from "node:os";
29
29
  import path from "node:path";
@@ -35,21 +35,21 @@ import { Pty } from "@opencode/schema/pty";
35
35
  import { Global } from "@opencode/util/global";
36
36
  import { resolveBinary } from "#persistent-pty-binary";
37
37
  import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
38
- var Options3 = Schema.Struct({ handoff: Schema.optional(Handoff) });
38
+ var Options6 = Schema.Struct({ handoff: Schema.optional(Handoff) });
39
39
 
40
40
  class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
41
41
  message: Schema.String
42
42
  }) {
43
43
  }
44
44
 
45
- class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
45
+ class NotFoundError8 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
46
46
  ptyID: Pty.ID
47
47
  }) {
48
48
  }
49
49
 
50
- class Service32 extends Context.Service()("@opencode/PersistentPty") {
50
+ class Service59 extends Context.Service()("@opencode/PersistentPty") {
51
51
  }
52
- var makeLayer = (options = {}) => Layer.effect(Service32, Effect.gen(function* () {
52
+ var makeLayer = (options = {}) => Layer.effect(Service59, Effect.gen(function* () {
53
53
  const bus = yield* Service81;
54
54
  const global = yield* Global.Service;
55
55
  const context = yield* Effect.context();
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service32, Effect.gen(function* (
72
72
  const get = Effect.fn("PersistentPty.get")(function* (id) {
73
73
  const found = (yield* list()).find((terminal) => terminal.id === id);
74
74
  if (!found)
75
- return yield* new NotFoundError3({ ptyID: id });
75
+ return yield* new NotFoundError8({ ptyID: id });
76
76
  return found;
77
77
  });
78
78
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service32, Effect.gen(function* (
239
239
  detach: attachment.detach
240
240
  };
241
241
  });
242
- return Service32.of({
242
+ return Service59.of({
243
243
  list,
244
244
  get,
245
245
  create,
@@ -255,13 +255,13 @@ var makeLayer = (options = {}) => Layer.effect(Service32, Effect.gen(function* (
255
255
  attach
256
256
  });
257
257
  }));
258
- var layer14 = makeLayer();
259
- var configured3 = (options) => makeGlobalNode({
260
- service: Service32,
261
- layer: options === undefined ? layer14 : makeLayer(options),
258
+ var layer22 = makeLayer();
259
+ var configured7 = (options) => makeGlobalNode({
260
+ service: Service59,
261
+ layer: options === undefined ? layer22 : makeLayer(options),
262
262
  deps: [node85, Global.node]
263
263
  });
264
- var node35 = configured3();
264
+ var node62 = configured7();
265
265
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
266
266
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
267
267
  var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options3, UnavailableError3, NotFoundError3, Service32, layer14, configured3, node35, exports_persistent_pty, Handoff2 };
304
+ export { Options6, UnavailableError3, NotFoundError8, Service59, layer22, configured7, node62, exports_persistent_pty, Handoff2 };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./schema-r2fyx2gr.js";
4
+ } from "./snapshot-xac6wcsk.js";
5
5
 
6
6
  // src/plugin/provider/vercel.ts
7
7
  import { Effect } from "effect";
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./schema-922hggd3.js";
3
+ } from "./snapshot-922hggd3.js";
4
4
  import {
5
- Service79,
6
- node83
7
- } from "./schema-sjf3tctt.js";
5
+ Service77,
6
+ node81
7
+ } from "./snapshot-1jfn0zqb.js";
8
8
  import {
9
- parse5,
9
+ parse4,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./schema-6h73sxmp.js";
13
+ } from "./snapshot-2402vzrj.js";
14
14
  import {
15
- Service61,
16
- node64
17
- } from "./schema-cd4vjczq.js";
15
+ Service72,
16
+ node76
17
+ } from "./snapshot-tzv9gha2.js";
18
18
  import {
19
19
  __export
20
- } from "./schema-9rqn6x4v.js";
20
+ } from "./snapshot-9rqn6x4v.js";
21
21
 
22
22
  // src/repository-cache.ts
23
23
  var exports_repository_cache = {};
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service38,
33
+ Service: () => Service60,
34
34
  isError: () => isError2,
35
- node: () => node41,
35
+ node: () => node63,
36
36
  validateBranch: () => validateBranch2
37
37
  });
38
38
  import path from "path";
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service38 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service60 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  function isError2(error) {
96
96
  return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
101
101
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
102
102
  });
103
103
  });
104
- var layer = Layer.effect(Service38, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service60, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
- const git = yield* Service79;
106
+ const git = yield* Service77;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service61;
110
- return Service38.of({
109
+ const kv = yield* Service72;
110
+ return Service60.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
114
114
  const repository = input.reference.label;
115
115
  const localPath = cachePath2(global.repos, input.reference, input.branch);
116
116
  const key = `repository-cache:${localPath}`;
117
- const cloneTarget = parse5(input.reference.remote) ?? input.reference;
117
+ const cloneTarget = parse4(input.reference.remote) ?? input.reference;
118
118
  return yield* flock.withLock(Effect.gen(function* () {
119
119
  yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
120
120
  const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
121
121
  const origin = existing ? yield* git.remote.get(existing) : undefined;
122
- const originReference = origin ? parse5(origin) : undefined;
122
+ const originReference = origin ? parse4(origin) : undefined;
123
123
  const worktree = existing ? yield* fs.resolve(localPath) : undefined;
124
124
  const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
125
125
  if (!reuse && (yield* fs.existsSafe(localPath))) {
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
167
167
  })
168
168
  });
169
169
  }));
170
- var node41 = makeGlobalNode({
171
- service: Service38,
170
+ var node63 = makeGlobalNode({
171
+ service: Service60,
172
172
  layer,
173
- deps: [EffectFlock.node, FSUtil.node, node83, Global.node, node64]
173
+ deps: [EffectFlock.node, FSUtil.node, node81, Global.node, node76]
174
174
  });
175
175
  function errorMessage(error) {
176
176
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
179
179
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
180
180
  }
181
181
 
182
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service38, isError2, validateBranch2, node41, exports_repository_cache };
182
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service60, isError2, validateBranch2, node63, exports_repository_cache };
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./schema-vm903892.js";
5
+ } from "./snapshot-tar7az88.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
9
  make23,
10
10
  makeWithDefaults2
11
- } from "./schema-jc26sbfk.js";
11
+ } from "./snapshot-1ef5mg7v.js";
12
12
  import {
13
13
  __export
14
- } from "./schema-9rqn6x4v.js";
14
+ } from "./snapshot-9rqn6x4v.js";
15
15
 
16
16
  // src/database/drizzle/index.ts
17
17
  var exports_drizzle = {};
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  Service81,
3
3
  node85
4
- } from "./schema-fy8yekx1.js";
4
+ } from "./snapshot-fdzrfqx5.js";
5
5
  import {
6
- Key3,
7
- Service64,
8
- node67
9
- } from "./schema-p1aznbsd.js";
6
+ Key4,
7
+ Service79,
8
+ node83
9
+ } from "./snapshot-c877w3g9.js";
10
10
  import {
11
11
  create3
12
- } from "./schema-rdw6cm16.js";
12
+ } from "./snapshot-rdw6cm16.js";
13
13
  import {
14
14
  validateAnswer2,
15
15
  validateFields2
16
- } from "./schema-k8m1efg7.js";
16
+ } from "./snapshot-eygb68nf.js";
17
17
  import {
18
18
  __export
19
- } from "./schema-9rqn6x4v.js";
19
+ } from "./snapshot-9rqn6x4v.js";
20
20
 
21
21
  // src/integration.ts
22
22
  var exports_integration = {};
@@ -31,17 +31,17 @@ __export(exports_integration, {
31
31
  CommandAttemptStatus: () => CommandAttemptStatus2,
32
32
  CommandMethod: () => CommandMethod2,
33
33
  EnvMethod: () => EnvMethod2,
34
- Event: () => Event14,
35
- ID: () => ID9,
36
- Info: () => Info23,
34
+ Event: () => Event19,
35
+ ID: () => ID16,
36
+ Info: () => Info32,
37
37
  Integration: () => exports_integration,
38
38
  KeyMethod: () => KeyMethod2,
39
39
  Method: () => Method2,
40
40
  MethodID: () => MethodID2,
41
41
  OAuthMethod: () => OAuthMethod2,
42
- Ref: () => Ref3,
43
- Service: () => Service63,
44
- node: () => node66
42
+ Ref: () => Ref4,
43
+ Service: () => Service78,
44
+ node: () => node82
45
45
  });
46
46
  import { makeLocationNode } from "@opencode/util/effect/app-node";
47
47
  import {
@@ -62,8 +62,8 @@ import {
62
62
  import { Integration } from "@opencode/schema/integration";
63
63
  import { AppProcess } from "@opencode/util/process";
64
64
  import { ChildProcess } from "effect/unstable/process";
65
- import { Event as Event14 } from "@opencode/schema/integration";
66
- var ID9 = Integration.ID;
65
+ import { Event as Event19 } from "@opencode/schema/integration";
66
+ var ID16 = Integration.ID;
67
67
  var MethodID2 = Integration.MethodID;
68
68
  var AttemptID2 = Integration.AttemptID;
69
69
  var OAuthMethod2 = Integration.OAuthMethod;
@@ -71,7 +71,7 @@ var CommandMethod2 = Integration.CommandMethod;
71
71
  var KeyMethod2 = Integration.KeyMethod;
72
72
  var EnvMethod2 = Integration.EnvMethod;
73
73
  var Method2 = Integration.Method;
74
- var Info23 = Integration.Info;
74
+ var Info32 = Integration.Info;
75
75
  var Attempt2 = Integration.Attempt;
76
76
  var AttemptStatus2 = Integration.AttemptStatus;
77
77
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -94,19 +94,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
94
94
  }
95
95
 
96
96
  class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
97
- integrationID: ID9,
97
+ integrationID: ID16,
98
98
  attemptID: AttemptID2
99
99
  }) {
100
100
  }
101
- var Ref3 = Integration.Ref;
101
+ var Ref4 = Integration.Ref;
102
102
 
103
- class Service63 extends Context.Service()("@opencode/Integration") {
103
+ class Service78 extends Context.Service()("@opencode/Integration") {
104
104
  }
105
105
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
106
106
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
107
107
  var scrubInterval = Duration.seconds(30);
108
- var layer = Layer.effect(Service63, Effect.gen(function* () {
109
- const credentials = yield* Service64;
108
+ var layer = Layer.effect(Service78, Effect.gen(function* () {
109
+ const credentials = yield* Service79;
110
110
  const bus = yield* Service81;
111
111
  const processes = yield* AppProcess.Service;
112
112
  const scope = yield* Scope.Scope;
@@ -200,7 +200,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
200
200
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
201
201
  return [...credentials, ...env];
202
202
  };
203
- const project = (entry, connections) => Info23.make({
203
+ const project = (entry, connections) => Info32.make({
204
204
  id: entry.ref.id,
205
205
  name: entry.ref.name,
206
206
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -284,7 +284,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
284
284
  const persistence = yield* createCredential({
285
285
  integrationID: attempt.integrationID,
286
286
  label: attempt.label,
287
- value: Key3.make({ type: "key", key: exit.value })
287
+ value: Key4.make({ type: "key", key: exit.value })
288
288
  }).pipe(Effect.asVoid, Effect.exit);
289
289
  const settledAt = yield* Clock.currentTimeMillis;
290
290
  const terminal = Exit.isSuccess(persistence) ? {
@@ -430,7 +430,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
430
430
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
431
431
  return CommandAttempt2.make({ attemptID, time });
432
432
  });
433
- return Service63.of({
433
+ return Service78.of({
434
434
  transform: state.transform,
435
435
  reload: state.reload,
436
436
  revision: state.revision,
@@ -452,7 +452,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
452
452
  resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
453
453
  if (connection.type === "env") {
454
454
  const key = process.env[connection.name];
455
- return key ? Key3.make({ type: "key", key }) : undefined;
455
+ return key ? Key4.make({ type: "key", key }) : undefined;
456
456
  }
457
457
  const credential = yield* credentials.get(connection.id);
458
458
  if (!credential)
@@ -485,7 +485,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
485
485
  yield* createCredential({
486
486
  integrationID: input.integrationID,
487
487
  label: input.label,
488
- value: Key3.make({
488
+ value: Key4.make({
489
489
  type: "key",
490
490
  key: input.key,
491
491
  ...Object.keys(answer).length > 0 ? { configuration: answer } : {}
@@ -579,10 +579,10 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
579
579
  }
580
580
  });
581
581
  }));
582
- var node66 = makeLocationNode({
583
- service: Service63,
582
+ var node82 = makeLocationNode({
583
+ service: Service78,
584
584
  layer,
585
- deps: [node67, node85, AppProcess.node]
585
+ deps: [node83, node85, AppProcess.node]
586
586
  });
587
587
 
588
- export { ID9, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info23, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service63, node66, exports_integration, Event14 };
588
+ export { ID16, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info32, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref4, Service78, node82, exports_integration, Event19 };