@opencode/core 0.0.0-dev-20528 → 0.0.0-dev-20529

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 (781) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +71 -71
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{bus-21rk0v2x.js → project-06qe0s6s.js} +33 -33
  8. package/dist/chunks/{bus-embw8kgh.js → project-06x8he3q.js} +4 -4
  9. package/dist/chunks/{bus-j8m1p4p1.js → project-0a1yp5ev.js} +4 -4
  10. package/dist/chunks/{bus-s8d7rejh.js → project-0gdmqesm.js} +4 -4
  11. package/dist/chunks/{bus-rar8z9yk.js → project-0h2b9fb8.js} +12 -12
  12. package/dist/chunks/{bus-0j77ygfz.js → project-0j77ygfz.js} +2 -2
  13. package/dist/chunks/{bus-4kyzs2qw.js → project-0kese7nx.js} +13 -13
  14. package/dist/chunks/{bus-m2dm6aaw.js → project-0ngk7849.js} +3 -3
  15. package/dist/chunks/{bus-0paq2nw3.js → project-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{bus-0vbcp93d.js → project-0vbcp93d.js} +2 -2
  17. package/dist/chunks/{bus-q8xdd368.js → project-0y3hcmh3.js} +18 -18
  18. package/dist/chunks/{bus-xaehw3v9.js → project-142rtv3p.js} +25 -25
  19. package/dist/chunks/{bus-1n5v9331.js → project-166t37eg.js} +11 -11
  20. package/dist/chunks/{bus-1dazxqgg.js → project-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{bus-84h8c373.js → project-1dvck2a7.js} +2 -2
  22. package/dist/chunks/{bus-kxy7nzzk.js → project-1ngj7yz3.js} +17 -17
  23. package/dist/chunks/{bus-vnnb4fd2.js → project-1p7n864c.js} +11 -11
  24. package/dist/chunks/{bus-cxg1v9xt.js → project-1pef14ah.js} +10 -10
  25. package/dist/chunks/{bus-8zp79j7j.js → project-1rn5pcm9.js} +4 -4
  26. package/dist/chunks/{bus-mp5qahyg.js → project-1s5gcqvv.js} +31 -31
  27. package/dist/chunks/{bus-avrevnxw.js → project-1t9yf01r.js} +11 -11
  28. package/dist/chunks/{bus-sk6yq7gh.js → project-1w9a9pv3.js} +2 -2
  29. package/dist/chunks/{bus-g97m3cx8.js → project-1x645704.js} +8 -8
  30. package/dist/chunks/{bus-2a5m3afh.js → project-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{bus-2ccvkpx1.js → project-2ccvkpx1.js} +2 -2
  32. package/dist/chunks/{bus-cqk9t7df.js → project-2dmxyjcc.js} +42 -42
  33. package/dist/chunks/{bus-nx817z3s.js → project-2p29ajn3.js} +10 -10
  34. package/dist/chunks/{bus-a0d5603r.js → project-2zg3fw59.js} +6 -6
  35. package/dist/chunks/{bus-56gdpj1q.js → project-33w4ejhs.js} +6 -6
  36. package/dist/chunks/{bus-dfya69s0.js → project-3a6ck5tr.js} +16 -16
  37. package/dist/chunks/{bus-gg4dpy88.js → project-3bc8czyk.js} +5 -5
  38. package/dist/chunks/{bus-t6msp11s.js → project-3eavv4sq.js} +6 -6
  39. package/dist/chunks/{bus-7q4asrqv.js → project-3f29nsc9.js} +11 -11
  40. package/dist/chunks/{bus-3fc6dm20.js → project-3fc6dm20.js} +1 -1
  41. package/dist/chunks/{bus-3hepkmqq.js → project-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{bus-4mgcp0pb.js → project-3k5ngkec.js} +26 -26
  43. package/dist/chunks/{bus-3smtnn6g.js → project-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{bus-3tvqynh2.js → project-3tvqynh2.js} +1 -1
  45. package/dist/chunks/{bus-qqx9qqxa.js → project-3vmrc2nb.js} +20 -20
  46. package/dist/chunks/{bus-0ew4w6t8.js → project-3xq0sfhy.js} +36 -36
  47. package/dist/chunks/{bus-3zsf4n22.js → project-3zsf4n22.js} +1 -1
  48. package/dist/chunks/{bus-jxbgt45t.js → project-42m6612h.js} +29 -29
  49. package/dist/chunks/{bus-n88t58eh.js → project-4dkc814d.js} +14 -14
  50. package/dist/chunks/{bus-5aps1zy9.js → project-4nj4bn9q.js} +9 -9
  51. package/dist/chunks/{bus-x94qb275.js → project-4qvwefdb.js} +20 -20
  52. package/dist/chunks/{bus-pw950zh1.js → project-4rpaxna5.js} +5 -5
  53. package/dist/chunks/{bus-av1badb0.js → project-4saarp1s.js} +18 -18
  54. package/dist/chunks/{bus-0dp46qqw.js → project-4zvgvp00.js} +8 -8
  55. package/dist/chunks/{bus-54ma36ye.js → project-54ma36ye.js} +1 -1
  56. package/dist/chunks/{bus-tbgq5war.js → project-56k7gmct.js} +4 -4
  57. package/dist/chunks/{bus-qsare228.js → project-5d4fyj9e.js} +5 -5
  58. package/dist/chunks/{bus-5daktx2q.js → project-5daktx2q.js} +1 -1
  59. package/dist/chunks/{bus-5t3nmthw.js → project-5t3nmthw.js} +2 -2
  60. package/dist/chunks/{bus-srq8z0b0.js → project-5tcm9639.js} +9 -9
  61. package/dist/chunks/{bus-kyccdhtf.js → project-61c20ghg.js} +11 -11
  62. package/dist/chunks/{bus-6g7tcwcb.js → project-65r7vfsq.js} +3 -3
  63. package/dist/chunks/{bus-669tq793.js → project-669tq793.js} +1 -1
  64. package/dist/chunks/{bus-8hpx4v08.js → project-6agexhvj.js} +23 -23
  65. package/dist/chunks/{bus-p5m43jmh.js → project-6e2q8wvg.js} +22 -22
  66. package/dist/chunks/{bus-7s3an50r.js → project-6ff1chsr.js} +7 -7
  67. package/dist/chunks/{bus-p4pkk9xt.js → project-6kky177d.js} +19 -19
  68. package/dist/chunks/{bus-2pnhn36q.js → project-6m42r3np.js} +4 -4
  69. package/dist/chunks/{bus-5m8z81sk.js → project-6myr9842.js} +15 -15
  70. package/dist/chunks/{bus-fz37x9gn.js → project-6psa4521.js} +27 -27
  71. package/dist/chunks/{bus-h575n3kc.js → project-6ysex1vt.js} +4 -4
  72. package/dist/chunks/{bus-57myy5jh.js → project-6yz0wx8n.js} +5 -5
  73. package/dist/chunks/{bus-f75zav2x.js → project-71az546q.js} +2 -2
  74. package/dist/chunks/{bus-xzhjfv9h.js → project-71e56rh2.js} +25 -25
  75. package/dist/chunks/{bus-0h47pg7m.js → project-75jaekcr.js} +11 -11
  76. package/dist/chunks/{bus-7bmhse3q.js → project-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{bus-ndkksb5f.js → project-7kd5xmch.js} +7 -7
  78. package/dist/chunks/{bus-rz03v147.js → project-7qsxr85g.js} +5 -5
  79. package/dist/chunks/{bus-sw9ya77t.js → project-7vfqg2m6.js} +9 -9
  80. package/dist/chunks/{bus-xj1ny1rv.js → project-7yw5ta2h.js} +11 -11
  81. package/dist/chunks/{bus-84txncab.js → project-84txncab.js} +1 -1
  82. package/dist/chunks/{bus-8btdadkw.js → project-87apjqaq.js} +5 -5
  83. package/dist/chunks/{bus-s4eg4czg.js → project-8csc1nsx.js} +37 -37
  84. package/dist/chunks/{bus-8d7r5vzw.js → project-8d7r5vzw.js} +1 -1
  85. package/dist/chunks/{bus-7mw37t8g.js → project-8n2r44zp.js} +18 -18
  86. package/dist/chunks/{bus-tcawe1f3.js → project-8qcy0htb.js} +20 -20
  87. package/dist/chunks/{bus-cfsekr6v.js → project-8sze2n9a.js} +6 -6
  88. package/dist/chunks/{bus-kbj2dgab.js → project-94s48bjb.js} +5 -5
  89. package/dist/chunks/{bus-kb9j3d72.js → project-9e5bzkjp.js} +3 -3
  90. package/dist/chunks/{bus-n04q887z.js → project-9fcs2y6e.js} +41 -41
  91. package/dist/chunks/{bus-jaah0z8w.js → project-9r8tfcvx.js} +25 -25
  92. package/dist/chunks/{bus-ckjey40x.js → project-9sdstft4.js} +14 -14
  93. package/dist/chunks/project-9sh4wc5j.js +18 -0
  94. package/dist/chunks/{bus-gh4cdc92.js → project-9y0h6zc5.js} +10 -10
  95. package/dist/chunks/{bus-agam93qz.js → project-9ztxycdn.js} +5 -5
  96. package/dist/chunks/{bus-aaet6srn.js → project-aaet6srn.js} +2 -2
  97. package/dist/chunks/{bus-rhtnc6e7.js → project-aaw70874.js} +21 -21
  98. package/dist/chunks/{bus-3abbgv3w.js → project-aax86smv.js} +42 -42
  99. package/dist/chunks/{bus-7zavcbms.js → project-abn7vjp9.js} +6 -6
  100. package/dist/chunks/{bus-4mk0yh5v.js → project-aerre7rt.js} +15 -15
  101. package/dist/chunks/{bus-14cna52h.js → project-aq5y8b9e.js} +8 -8
  102. package/dist/chunks/{bus-3x5m0wp2.js → project-aqyh79ye.js} +29 -29
  103. package/dist/chunks/{bus-xmgnb5pn.js → project-atqk1701.js} +74 -74
  104. package/dist/chunks/{bus-5zymz6xz.js → project-awwxpzys.js} +11 -11
  105. package/dist/chunks/{bus-zt3khfp6.js → project-ax7s5mjd.js} +30 -30
  106. package/dist/chunks/{bus-vefmky7z.js → project-b09f9w3r.js} +20 -20
  107. package/dist/chunks/{bus-wecqtg5s.js → project-b3f8fkhc.js} +5 -5
  108. package/dist/chunks/{bus-z6c3x22d.js → project-b674v2dg.js} +5 -5
  109. package/dist/chunks/{bus-b6gygkdw.js → project-b6gygkdw.js} +2 -2
  110. package/dist/chunks/{bus-mbca2hxa.js → project-bfp9ygd5.js} +12 -12
  111. package/dist/chunks/{bus-ths52tqb.js → project-bpdhdjrh.js} +9 -9
  112. package/dist/chunks/{bus-d8nj9df2.js → project-bxjtaqyz.js} +34 -34
  113. package/dist/chunks/{bus-qdbrb2ae.js → project-c1cxvgkt.js} +18 -18
  114. package/dist/chunks/project-c1tn7rx7.js +253 -0
  115. package/dist/chunks/{bus-9qcmtpsj.js → project-c4q4rq6b.js} +18 -18
  116. package/dist/chunks/{bus-4yg5qhvj.js → project-c8myjsvw.js} +13 -13
  117. package/dist/chunks/{bus-7ya4bwdq.js → project-cfe20eds.js} +34 -34
  118. package/dist/chunks/{bus-mqwmb34d.js → project-ckt5by18.js} +12 -12
  119. package/dist/chunks/{bus-s0rpadc8.js → project-ct2kgy10.js} +30 -30
  120. package/dist/chunks/{bus-p23dhdth.js → project-d0jkw2mw.js} +12 -12
  121. package/dist/chunks/{bus-m1ebtf8y.js → project-d1qd7wjw.js} +12 -12
  122. package/dist/chunks/{bus-t4vhf3zd.js → project-d363w4md.js} +44 -44
  123. package/dist/chunks/{bus-c8sdstdm.js → project-d7756bjt.js} +17 -17
  124. package/dist/chunks/{bus-m4me3t1z.js → project-dk8vvftc.js} +42 -42
  125. package/dist/chunks/{bus-3tcgjz9c.js → project-dn9p4qfh.js} +11 -11
  126. package/dist/chunks/{bus-nxm207yx.js → project-dpkg50ah.js} +4 -4
  127. package/dist/chunks/{bus-4ax44qck.js → project-dsp8qnq1.js} +25 -25
  128. package/dist/chunks/{bus-63kpjth9.js → project-dvep9rg9.js} +9 -9
  129. package/dist/chunks/{bus-tvc1vb6k.js → project-dwjzkwmt.js} +9 -9
  130. package/dist/chunks/{bus-88r1cn22.js → project-e36n7v1a.js} +6 -6
  131. package/dist/chunks/{bus-9h82ctm8.js → project-e4ecqbhd.js} +6 -6
  132. package/dist/chunks/{bus-63rqqvz6.js → project-e7t1aavy.js} +10 -10
  133. package/dist/chunks/{bus-psevvpfg.js → project-e8km54gz.js} +7 -7
  134. package/dist/chunks/{bus-ef5x83kb.js → project-ef5x83kb.js} +1 -1
  135. package/dist/chunks/{bus-a92xy198.js → project-ep8x3gsd.js} +315 -315
  136. package/dist/chunks/{bus-yh0kz87z.js → project-epec820a.js} +3 -3
  137. package/dist/chunks/{bus-7yh4e7ss.js → project-eq1pz5kg.js} +3 -3
  138. package/dist/chunks/{bus-5s4d2rwe.js → project-et3xghe9.js} +5 -5
  139. package/dist/chunks/{bus-etq0c3wd.js → project-etq0c3wd.js} +1 -1
  140. package/dist/chunks/{bus-a2tncpxa.js → project-exe2ydy9.js} +3 -3
  141. package/dist/chunks/{bus-v2zxy9vy.js → project-f8wgfp93.js} +1 -1
  142. package/dist/chunks/{bus-7dqw4kz8.js → project-fcrkznn8.js} +5 -5
  143. package/dist/chunks/{bus-jzjcb49d.js → project-febwrgts.js} +26 -26
  144. package/dist/chunks/{bus-evxzag28.js → project-ffgyggc9.js} +14 -14
  145. package/dist/chunks/{bus-kswjze58.js → project-fhyvd2gy.js} +10 -10
  146. package/dist/chunks/{bus-fpecnkgp.js → project-fpecnkgp.js} +2 -2
  147. package/dist/chunks/{bus-kn1wn28d.js → project-g32pa6cz.js} +20 -20
  148. package/dist/chunks/{bus-sksw2c3r.js → project-g3xvjae6.js} +11 -11
  149. package/dist/chunks/{bus-ky8sey70.js → project-g420gf6v.js} +12 -12
  150. package/dist/chunks/{bus-gd4qta3r.js → project-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{bus-xa8b9tvy.js → project-geme70nx.js} +23 -23
  152. package/dist/chunks/{bus-sft7r91c.js → project-gh8z36ey.js} +34 -34
  153. package/dist/chunks/{bus-d4he2qe1.js → project-gjwgx2c5.js} +8 -8
  154. package/dist/chunks/{bus-qcz3a2pj.js → project-gkyqt8nk.js} +3 -3
  155. package/dist/chunks/{bus-pc4a07xm.js → project-gm1vyzya.js} +8 -8
  156. package/dist/chunks/{bus-3cegwx68.js → project-h2b79v29.js} +2 -2
  157. package/dist/chunks/{bus-2zttkrbk.js → project-h4tn8bjr.js} +22 -22
  158. package/dist/chunks/{bus-h6vf3j39.js → project-h6vf3j39.js} +1 -1
  159. package/dist/chunks/{bus-r89hfgxs.js → project-harkft01.js} +38 -38
  160. package/dist/chunks/{bus-b12m1t8w.js → project-hgxtq660.js} +11 -11
  161. package/dist/chunks/{bus-bhb1nrwe.js → project-hn1j4dd1.js} +15 -15
  162. package/dist/chunks/{bus-33fymb46.js → project-hqtyt41h.js} +16 -16
  163. package/dist/chunks/{bus-j56e64zr.js → project-j56e64zr.js} +1 -1
  164. package/dist/chunks/{bus-kbgwbpaq.js → project-jrtd54vp.js} +26 -26
  165. package/dist/chunks/{bus-dzmh4f25.js → project-jwzdq6qe.js} +29 -29
  166. package/dist/chunks/{bus-hgmvgqm7.js → project-k3cfyzjf.js} +9 -9
  167. package/dist/chunks/{bus-epppjn0x.js → project-k8xqve87.js} +12 -12
  168. package/dist/chunks/{bus-bww70sgj.js → project-k9889ctd.js} +4 -4
  169. package/dist/chunks/{bus-ycgg54q6.js → project-m351shcz.js} +10 -10
  170. package/dist/chunks/{bus-m3fdjcah.js → project-m3fdjcah.js} +1 -1
  171. package/dist/chunks/{bus-thagpx6h.js → project-m6s6y6gq.js} +4 -4
  172. package/dist/chunks/{bus-0avwb0pz.js → project-m7bjcpvz.js} +5 -5
  173. package/dist/chunks/{bus-m9w0rfyh.js → project-m9w0rfyh.js} +1 -1
  174. package/dist/chunks/{bus-rf7wnnvv.js → project-mbyaj28y.js} +8 -8
  175. package/dist/chunks/{bus-b1t7hkt2.js → project-me9x40rz.js} +9 -9
  176. package/dist/chunks/{bus-wq5ry9pe.js → project-mgfryd85.js} +34 -34
  177. package/dist/chunks/{bus-6508c6yq.js → project-mgyamy9f.js} +11 -11
  178. package/dist/chunks/{bus-98q6njb0.js → project-mnsbkhqh.js} +23 -23
  179. package/dist/chunks/{bus-9ftsnmnn.js → project-mq617yme.js} +3 -3
  180. package/dist/chunks/{bus-32hqb9rg.js → project-mtq4knsz.js} +1 -1
  181. package/dist/chunks/project-mz9v6fn6.js +26 -0
  182. package/dist/chunks/{bus-hh9zdb1h.js → project-n779kegd.js} +48 -48
  183. package/dist/chunks/{bus-s5h4p73x.js → project-naj50rvz.js} +8 -8
  184. package/dist/chunks/{bus-r66xghd9.js → project-nb9p6b26.js} +4 -4
  185. package/dist/chunks/{bus-mpmd08n4.js → project-nba0d0r9.js} +18 -18
  186. package/dist/chunks/{bus-j6pqrj3v.js → project-ne0py0s3.js} +18 -18
  187. package/dist/chunks/{bus-dg7vv6km.js → project-nhd3karc.js} +24 -24
  188. package/dist/chunks/{bus-wmk7jyr0.js → project-nnhqsjjf.js} +11 -11
  189. package/dist/chunks/{bus-vrx5s5q9.js → project-nsf1s7g5.js} +25 -25
  190. package/dist/chunks/{bus-3q8rvzgr.js → project-nta5q4rv.js} +5 -5
  191. package/dist/chunks/{bus-dzyereph.js → project-nzwy63kk.js} +26 -26
  192. package/dist/chunks/{bus-br0tr5aq.js → project-p37cw4rj.js} +8 -8
  193. package/dist/chunks/{bus-26ye3vwj.js → project-p635cpcm.js} +6 -6
  194. package/dist/chunks/{bus-44nxam66.js → project-p9s7h7fz.js} +11 -11
  195. package/dist/chunks/{bus-d9h8yfv6.js → project-pb6zbza6.js} +20 -20
  196. package/dist/chunks/{bus-pgdf7f6z.js → project-pc1ceyb2.js} +18 -18
  197. package/dist/chunks/{bus-pjvnvgmy.js → project-pjvnvgmy.js} +1 -1
  198. package/dist/chunks/{bus-z7vdbf44.js → project-pkhz18nb.js} +18 -18
  199. package/dist/chunks/{bus-pknna89w.js → project-pknna89w.js} +1 -1
  200. package/dist/chunks/{bus-b7hk97w1.js → project-pmtp81qh.js} +6 -6
  201. package/dist/chunks/{bus-5cbjwyn2.js → project-ptdhb3y4.js} +46 -46
  202. package/dist/chunks/{bus-68v5rke7.js → project-px0b9yqh.js} +17 -17
  203. package/dist/chunks/{bus-tp2cn5ae.js → project-q4kjy4d8.js} +10 -10
  204. package/dist/chunks/{bus-rtpbxsk2.js → project-q4ywzs9a.js} +30 -30
  205. package/dist/chunks/{bus-b00fjsj8.js → project-q6tfvhth.js} +23 -23
  206. package/dist/chunks/{bus-fm2qvscf.js → project-qa3qhgw8.js} +4 -4
  207. package/dist/chunks/{bus-spzjt392.js → project-qea2dqvn.js} +82 -82
  208. package/dist/chunks/{bus-qnc92qwc.js → project-qnc92qwc.js} +1 -1
  209. package/dist/chunks/{bus-qsdy395h.js → project-qsdy395h.js} +1 -1
  210. package/dist/chunks/{bus-7v9pb5aa.js → project-qt4m8rnn.js} +13 -13
  211. package/dist/chunks/{bus-qxjc9qry.js → project-qxjc9qry.js} +3 -3
  212. package/dist/chunks/{bus-hafepx0m.js → project-r44petzp.js} +5 -5
  213. package/dist/chunks/{bus-rjaxefsm.js → project-r4ebvwy4.js} +13 -13
  214. package/dist/chunks/{bus-hmhp1yt2.js → project-r7n4y60x.js} +4 -4
  215. package/dist/chunks/{bus-7nk92rs9.js → project-r814q8p5.js} +21 -21
  216. package/dist/chunks/{bus-1npcx4x5.js → project-r8d2cy4x.js} +11 -11
  217. package/dist/chunks/{bus-rdw6cm16.js → project-rdw6cm16.js} +1 -1
  218. package/dist/chunks/{bus-y0s875v8.js → project-rhzk7vne.js} +2 -2
  219. package/dist/chunks/{bus-xcf5a4h9.js → project-ryjjnpsr.js} +3 -3
  220. package/dist/chunks/{bus-wvn6r189.js → project-ryyr4bac.js} +11 -11
  221. package/dist/chunks/{bus-15nepkqg.js → project-rzs3gq0x.js} +8 -8
  222. package/dist/chunks/{bus-ff5sg8nr.js → project-s0dwtmyb.js} +15 -15
  223. package/dist/chunks/{bus-ejcp9k6a.js → project-s69w3ynp.js} +11 -11
  224. package/dist/chunks/{bus-jygqzb3h.js → project-s942n1t7.js} +5 -5
  225. package/dist/chunks/{bus-p675gkya.js → project-sr3mnf59.js} +3 -3
  226. package/dist/chunks/{bus-0q1hsqvw.js → project-stzwavqr.js} +4 -4
  227. package/dist/chunks/{bus-fw7xxda2.js → project-t1j28ph2.js} +13 -13
  228. package/dist/chunks/{bus-tazgh4e4.js → project-tazgh4e4.js} +1 -1
  229. package/dist/chunks/{bus-97xtdwm1.js → project-tcc0r8za.js} +25 -25
  230. package/dist/chunks/{bus-tcezcvh9.js → project-tcezcvh9.js} +1 -1
  231. package/dist/chunks/{bus-d0xt6pb0.js → project-td738cjg.js} +50 -50
  232. package/dist/chunks/{bus-tdstcens.js → project-tdstcens.js} +1 -1
  233. package/dist/chunks/{bus-2k2k1e4d.js → project-tdxppe3p.js} +20 -20
  234. package/dist/chunks/{bus-mcqt9qjk.js → project-tscav28z.js} +13 -13
  235. package/dist/chunks/{bus-b9beb9jd.js → project-tsnsfvej.js} +11 -11
  236. package/dist/chunks/{bus-9x77fmbz.js → project-tx92n959.js} +4 -4
  237. package/dist/chunks/{bus-prnf2p7v.js → project-v7wrq9pj.js} +27 -27
  238. package/dist/chunks/{bus-a53cn5ne.js → project-v94fffga.js} +154 -154
  239. package/dist/chunks/{bus-59djkhay.js → project-vd0txp44.js} +6 -6
  240. package/dist/chunks/{bus-veqvce7d.js → project-veqvce7d.js} +1 -1
  241. package/dist/chunks/{bus-mx1qtak0.js → project-vj6pvrjx.js} +15 -15
  242. package/dist/chunks/{bus-n4d3d4w3.js → project-vjawha9d.js} +9 -9
  243. package/dist/chunks/{bus-2mb2wnf1.js → project-vkb80v61.js} +32 -32
  244. package/dist/chunks/{bus-mw4m8fya.js → project-vkrsgtnq.js} +22 -22
  245. package/dist/chunks/{bus-hq8zt1th.js → project-vqfzq50h.js} +6 -6
  246. package/dist/chunks/{bus-j7a3k319.js → project-vrwj9c6s.js} +21 -21
  247. package/dist/chunks/{bus-gwa2mc6d.js → project-vsrbj1dm.js} +16 -16
  248. package/dist/chunks/{bus-cytj1s2b.js → project-vyvzj8mn.js} +9 -9
  249. package/dist/chunks/{bus-vzcthcp8.js → project-vzcthcp8.js} +1 -1
  250. package/dist/chunks/{bus-vzs5sf6e.js → project-vzs5sf6e.js} +1 -1
  251. package/dist/chunks/{bus-hcwc3h8h.js → project-w2nrxxat.js} +18 -18
  252. package/dist/chunks/{bus-attbt6m1.js → project-w2pcbqkp.js} +18 -18
  253. package/dist/chunks/{bus-w3wsvvr9.js → project-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{bus-dmg6kksp.js → project-w5c7j25r.js} +16 -16
  255. package/dist/chunks/{bus-wd87259q.js → project-wd87259q.js} +1 -1
  256. package/dist/chunks/{bus-rx9ava5n.js → project-wqxhcm17.js} +4 -4
  257. package/dist/chunks/{bus-3a151g65.js → project-wv60phkr.js} +8 -8
  258. package/dist/chunks/{bus-x1ezjp6w.js → project-x1ezjp6w.js} +1 -1
  259. package/dist/chunks/{bus-gpffk3sd.js → project-x2qsw74m.js} +2 -2
  260. package/dist/chunks/{bus-mxvxcxwy.js → project-x661k3y3.js} +4 -4
  261. package/dist/chunks/{bus-tag6x3x4.js → project-x827mkbf.js} +8 -8
  262. package/dist/chunks/{bus-7pb5msvq.js → project-xa4jwm2d.js} +13 -13
  263. package/dist/chunks/{bus-6mvsw307.js → project-xax9cp80.js} +6 -6
  264. package/dist/chunks/{bus-jqxjpj4d.js → project-xdggt8z6.js} +8 -8
  265. package/dist/chunks/{bus-f1k63k1a.js → project-xf02r116.js} +2 -2
  266. package/dist/chunks/{bus-g5w8qwbj.js → project-xfkkasph.js} +4 -4
  267. package/dist/chunks/{bus-xkntkrq7.js → project-xkntkrq7.js} +2 -2
  268. package/dist/chunks/{bus-8whseyrk.js → project-xp3fh2h7.js} +1 -1
  269. package/dist/chunks/{bus-2qx1vwxr.js → project-xvynetsd.js} +31 -31
  270. package/dist/chunks/{bus-y1fvbwt7.js → project-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{bus-sesvvx24.js → project-yewzvha6.js} +6 -6
  272. package/dist/chunks/{bus-ebvq7s73.js → project-yfzy1pv6.js} +69 -69
  273. package/dist/chunks/{bus-062bw71t.js → project-ym7wpcjr.js} +8 -8
  274. package/dist/chunks/{bus-r8xr0va3.js → project-yp2x3t23.js} +4 -4
  275. package/dist/chunks/{bus-yrhqyw5v.js → project-yrhqyw5v.js} +1 -1
  276. package/dist/chunks/{bus-6nv0705h.js → project-ytrp3qsj.js} +13 -13
  277. package/dist/chunks/{bus-k1qrnqst.js → project-yts3es8x.js} +8 -8
  278. package/dist/chunks/{bus-5rp0d938.js → project-yvh8awre.js} +13 -13
  279. package/dist/chunks/{bus-3q3tbh2k.js → project-ywb7831f.js} +8 -8
  280. package/dist/chunks/{bus-z0bkrqjs.js → project-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{bus-zr2ceqn5.js → project-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{bus-vts12sgn.js → project-zr7tj41s.js} +12 -12
  283. package/dist/chunks/{bus-zxq2ej10.js → project-zxq2ej10.js} +1 -1
  284. package/dist/chunks/{bus-69r9gc94.js → project-zzg2eszv.js} +22 -22
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +5 -5
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +83 -83
  290. package/dist/config/discovery.js +82 -82
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +99 -99
  293. package/dist/config/plugin/agent.js +118 -118
  294. package/dist/config/plugin/command.js +207 -207
  295. package/dist/config/plugin/compaction.js +154 -154
  296. package/dist/config/plugin/compatibility.js +134 -134
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +117 -117
  299. package/dist/config/plugin/image.js +116 -116
  300. package/dist/config/plugin/instruction.js +90 -90
  301. package/dist/config/plugin/location-watcher.js +116 -116
  302. package/dist/config/plugin/mcp.js +125 -125
  303. package/dist/config/plugin/policy.js +117 -117
  304. package/dist/config/plugin/provider.js +116 -116
  305. package/dist/config/plugin/reference.js +118 -118
  306. package/dist/config/plugin/shell.js +118 -118
  307. package/dist/config/plugin/skill-file.js +102 -102
  308. package/dist/config/plugin/skill.js +137 -137
  309. package/dist/config/plugin/snapshot.js +116 -116
  310. package/dist/config/plugin/source.js +117 -117
  311. package/dist/config/plugin/tool-output.js +117 -117
  312. package/dist/config/plugin/websearch.js +117 -117
  313. package/dist/config/plugin/worktree.js +118 -118
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +117 -117
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +77 -77
  319. package/dist/database/database.js +66 -66
  320. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +15 -15
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +16 -16
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration.gen.js +49 -49
  385. package/dist/database/migration.js +51 -51
  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 +76 -76
  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 +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +93 -93
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +95 -95
  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 +70 -70
  409. package/dist/file-access.js +104 -104
  410. package/dist/file-mutation.js +94 -94
  411. package/dist/file-retention.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/location-watcher-policy.js +4 -4
  417. package/dist/filesystem/location-watcher.js +218 -218
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +103 -103
  420. package/dist/filesystem/watcher-binding.js +1 -1
  421. package/dist/filesystem/watcher.js +11 -11
  422. package/dist/filesystem.js +100 -100
  423. package/dist/form.js +82 -82
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +87 -87
  426. package/dist/generate.js +101 -101
  427. package/dist/git.js +6 -6
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +91 -91
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/image/photon.js +2 -2
  448. package/dist/image.js +6 -6
  449. package/dist/instance/service.js +5 -5
  450. package/dist/instance.js +355 -355
  451. package/dist/instruction-discovery.js +83 -83
  452. package/dist/instructions/builtins.js +83 -83
  453. package/dist/instructions/index.js +3 -3
  454. package/dist/integration/connection.js +3 -3
  455. package/dist/integration.js +87 -87
  456. package/dist/job.js +76 -76
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +73 -73
  459. package/dist/location-activity.js +131 -131
  460. package/dist/location-lifecycle.js +107 -107
  461. package/dist/location-service-map.js +86 -86
  462. package/dist/location-services.js +352 -352
  463. package/dist/location.js +81 -81
  464. package/dist/managed-policy.js +5 -5
  465. package/dist/mcp/client.js +91 -91
  466. package/dist/mcp/index.js +105 -105
  467. package/dist/mcp/instructions.js +129 -129
  468. package/dist/mcp/oauth.js +78 -78
  469. package/dist/mcp/stdio.js +90 -90
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +91 -91
  472. package/dist/model-resolver.js +98 -98
  473. package/dist/model.js +98 -98
  474. package/dist/models-dev.js +107 -107
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +78 -78
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +107 -107
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +80 -80
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +75 -75
  484. package/dist/plugin/agent.js +104 -104
  485. package/dist/plugin/command.js +102 -102
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +211 -211
  488. package/dist/plugin/identity.js +3 -3
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +327 -327
  491. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  492. package/dist/plugin/models-dev.js +96 -96
  493. package/dist/plugin/module.js +7 -7
  494. package/dist/plugin/optimize.js +4 -4
  495. package/dist/plugin/plan.js +102 -102
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  498. package/dist/plugin/provider/azure.js +117 -117
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/chatgpt.js +93 -93
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +112 -112
  505. package/dist/plugin/provider/digitalocean.js +93 -93
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/gateway.js +2 -2
  509. package/dist/plugin/provider/github-copilot.js +95 -95
  510. package/dist/plugin/provider/gitlab.js +93 -93
  511. package/dist/plugin/provider/google-vertex.js +90 -90
  512. package/dist/plugin/provider/kilo.js +1 -1
  513. package/dist/plugin/provider/llmgateway.js +78 -78
  514. package/dist/plugin/provider/lmstudio.js +115 -115
  515. package/dist/plugin/provider/modal.js +92 -92
  516. package/dist/plugin/provider/nvidia.js +1 -1
  517. package/dist/plugin/provider/ollama.js +115 -115
  518. package/dist/plugin/provider/openai.js +95 -95
  519. package/dist/plugin/provider/opencode.js +96 -96
  520. package/dist/plugin/provider/openrouter.js +91 -91
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +79 -79
  523. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  524. package/dist/plugin/provider/sap-ai-core.js +91 -91
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  527. package/dist/plugin/provider/venice.js +2 -2
  528. package/dist/plugin/provider/vercel.js +90 -90
  529. package/dist/plugin/provider/vllm.js +115 -115
  530. package/dist/plugin/provider/xai.js +91 -91
  531. package/dist/plugin/provider/zenmux.js +1 -1
  532. package/dist/plugin/provider.js +156 -156
  533. package/dist/plugin/sdk.js +76 -76
  534. package/dist/plugin/service.js +3 -3
  535. package/dist/plugin/skill.js +134 -134
  536. package/dist/plugin/source-directory.js +1 -1
  537. package/dist/plugin/supervisor.js +346 -346
  538. package/dist/plugin/tool-input-repair.js +4 -4
  539. package/dist/plugin/update.js +6 -6
  540. package/dist/plugin/vcs/git.js +86 -86
  541. package/dist/plugin/vcs/hg.js +86 -86
  542. package/dist/plugin/verbosity.js +93 -93
  543. package/dist/plugin/warming.js +114 -114
  544. package/dist/plugin/websearch/exa.js +5 -5
  545. package/dist/plugin/websearch/firecrawl.js +6 -6
  546. package/dist/plugin/websearch/index.js +9 -9
  547. package/dist/plugin/websearch/mcp.js +4 -4
  548. package/dist/plugin/websearch/parallel.js +8 -8
  549. package/dist/plugin/websearch/tavily.js +6 -6
  550. package/dist/plugin/websearch/tinyfish.js +8 -8
  551. package/dist/plugin.js +222 -222
  552. package/dist/project/schema.js +2 -2
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +80 -80
  555. package/dist/provider.js +99 -99
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/ticket.js +1 -1
  558. package/dist/pty.js +99 -99
  559. package/dist/reference/instructions.js +89 -89
  560. package/dist/reference.js +89 -89
  561. package/dist/repository-cache.js +81 -81
  562. package/dist/repository.js +1 -1
  563. package/dist/ripgrep/binary.js +2 -2
  564. package/dist/ripgrep.js +97 -97
  565. package/dist/rpc.js +86 -86
  566. package/dist/schema.js +1 -1
  567. package/dist/session/affinity.js +1 -1
  568. package/dist/session/command.js +74 -74
  569. package/dist/session/compaction.js +133 -133
  570. package/dist/session/context.js +153 -153
  571. package/dist/session/diff.js +88 -88
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +5 -5
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +214 -214
  576. package/dist/session/execution.js +125 -125
  577. package/dist/session/generate.js +152 -152
  578. package/dist/session/history.js +13 -13
  579. package/dist/session/inbox.js +88 -88
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +77 -77
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +97 -97
  584. package/dist/session/message-updater.js +2 -2
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +120 -120
  587. package/dist/session/model-transport.js +9 -9
  588. package/dist/session/move.js +129 -129
  589. package/dist/session/projector.js +86 -86
  590. package/dist/session/prompt.js +105 -105
  591. package/dist/session/provider-context.js +3 -3
  592. package/dist/session/revert.js +90 -90
  593. package/dist/session/run-coordinator.js +3 -3
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +224 -224
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +98 -98
  598. package/dist/session/runner/publish-llm-event.js +113 -113
  599. package/dist/session/runner/retry.js +4 -4
  600. package/dist/session/runner/step.js +125 -125
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +3 -3
  603. package/dist/session/session.js +164 -164
  604. package/dist/session/shell.js +130 -130
  605. package/dist/session/skill.js +103 -103
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +73 -73
  608. package/dist/session/store.js +85 -85
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +203 -203
  611. package/dist/session/system-prompt.js +3 -3
  612. package/dist/session/title.js +157 -157
  613. package/dist/session/to-session-error.js +111 -111
  614. package/dist/session/transfer.js +205 -205
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +209 -209
  617. package/dist/shell/parse.js +6 -6
  618. package/dist/shell/result.js +1 -1
  619. package/dist/shell/scan.js +1 -1
  620. package/dist/shell/select.js +13 -13
  621. package/dist/shell.js +132 -132
  622. package/dist/skill/discovery.js +6 -6
  623. package/dist/skill/instructions.js +107 -107
  624. package/dist/skill.js +108 -108
  625. package/dist/snapshot.js +91 -91
  626. package/dist/state.js +1 -1
  627. package/dist/tool/html-markdown.js +1 -1
  628. package/dist/tool/http-body.js +1 -1
  629. package/dist/tool/mcp.js +128 -128
  630. package/dist/tool/plugin/edit.js +120 -120
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +122 -122
  633. package/dist/tool/plugin/grep.js +122 -122
  634. package/dist/tool/plugin/mcp-resource.js +117 -117
  635. package/dist/tool/plugin/opencode.js +3 -3
  636. package/dist/tool/plugin/patch.js +116 -116
  637. package/dist/tool/plugin/question.js +103 -103
  638. package/dist/tool/plugin/read.js +125 -125
  639. package/dist/tool/plugin/shell.js +210 -210
  640. package/dist/tool/plugin/skill.js +111 -111
  641. package/dist/tool/plugin/subagent.js +210 -210
  642. package/dist/tool/plugin/webfetch.js +110 -110
  643. package/dist/tool/plugin/websearch.js +114 -114
  644. package/dist/tool/plugin/write.js +122 -122
  645. package/dist/tool/read-filesystem.js +100 -100
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +5 -5
  648. package/dist/tool.js +12 -12
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  651. package/dist/util/git-executable.js +2 -2
  652. package/dist/util/iife.js +1 -1
  653. package/dist/util/lazy.js +1 -1
  654. package/dist/util/slug.js +1 -1
  655. package/dist/util/token.js +1 -1
  656. package/dist/util/which.js +1 -1
  657. package/dist/util/wildcard.js +1 -1
  658. package/dist/v1/config/agent.js +5 -5
  659. package/dist/v1/config/command.js +3 -3
  660. package/dist/v1/config/error.js +2 -2
  661. package/dist/v1/config/mcp.js +4 -4
  662. package/dist/v1/config/migrate.js +92 -92
  663. package/dist/v1/config/permission.js +3 -3
  664. package/dist/v1/config/plugin.js +3 -3
  665. package/dist/v1/config/provider-options.js +1 -1
  666. package/dist/v1/config/provider.js +4 -4
  667. package/dist/variant.js +93 -93
  668. package/dist/vcs/patch.js +1 -1
  669. package/dist/vcs.js +87 -87
  670. package/dist/websearch.js +82 -82
  671. package/dist/wellknown/plugin.js +76 -76
  672. package/dist/wellknown.js +79 -79
  673. package/dist/workspace/driver.js +7 -7
  674. package/dist/workspace/sql.js +1 -1
  675. package/dist/workspace.js +80 -80
  676. package/dist/worktree/directory.js +2 -2
  677. package/dist/worktree/git.js +10 -10
  678. package/dist/worktree/sql.js +5 -5
  679. package/dist/worktree/strategies.js +89 -89
  680. package/dist/worktree.js +98 -98
  681. package/package.json +8 -8
  682. package/dist/chunks/bus-60msy0h1.js +0 -26
  683. package/dist/chunks/bus-by5v678g.js +0 -18
  684. package/dist/chunks/bus-pmem3b8z.js +0 -253
  685. /package/dist/chunks/{bus-0qkdqm5v.js → project-0qkdqm5v.js} +0 -0
  686. /package/dist/chunks/{bus-0zkw76rk.js → project-0zkw76rk.js} +0 -0
  687. /package/dist/chunks/{bus-17cy0kzp.js → project-17cy0kzp.js} +0 -0
  688. /package/dist/chunks/{bus-1cnp2v09.js → project-1cnp2v09.js} +0 -0
  689. /package/dist/chunks/{bus-1kg9ymc8.js → project-1kg9ymc8.js} +0 -0
  690. /package/dist/chunks/{bus-24dcb14g.js → project-24dcb14g.js} +0 -0
  691. /package/dist/chunks/{bus-2710q6r3.js → project-2710q6r3.js} +0 -0
  692. /package/dist/chunks/{bus-2axfhc9x.js → project-2axfhc9x.js} +0 -0
  693. /package/dist/chunks/{bus-2c3vjs8z.js → project-2c3vjs8z.js} +0 -0
  694. /package/dist/chunks/{bus-34c7v6d4.js → project-34c7v6d4.js} +0 -0
  695. /package/dist/chunks/{bus-359p4xyc.js → project-359p4xyc.js} +0 -0
  696. /package/dist/chunks/{bus-3asan66x.js → project-3asan66x.js} +0 -0
  697. /package/dist/chunks/{bus-3t0ybcrp.js → project-3t0ybcrp.js} +0 -0
  698. /package/dist/chunks/{bus-3v8g72cx.js → project-3v8g72cx.js} +0 -0
  699. /package/dist/chunks/{bus-3w5fmr99.js → project-3w5fmr99.js} +0 -0
  700. /package/dist/chunks/{bus-3wcehsnq.js → project-3wcehsnq.js} +0 -0
  701. /package/dist/chunks/{bus-43n2bw4t.js → project-43n2bw4t.js} +0 -0
  702. /package/dist/chunks/{bus-4knz6hnm.js → project-4knz6hnm.js} +0 -0
  703. /package/dist/chunks/{bus-4vcrnpx2.js → project-4vcrnpx2.js} +0 -0
  704. /package/dist/chunks/{bus-4y7fprxs.js → project-4y7fprxs.js} +0 -0
  705. /package/dist/chunks/{bus-53557ph1.js → project-53557ph1.js} +0 -0
  706. /package/dist/chunks/{bus-550bvhaj.js → project-550bvhaj.js} +0 -0
  707. /package/dist/chunks/{bus-6prwharc.js → project-6prwharc.js} +0 -0
  708. /package/dist/chunks/{bus-7akdwqpd.js → project-7akdwqpd.js} +0 -0
  709. /package/dist/chunks/{bus-7m9af43g.js → project-7m9af43g.js} +0 -0
  710. /package/dist/chunks/{bus-822emrt2.js → project-822emrt2.js} +0 -0
  711. /package/dist/chunks/{bus-88xbtdfr.js → project-88xbtdfr.js} +0 -0
  712. /package/dist/chunks/{bus-8n3pysct.js → project-8n3pysct.js} +0 -0
  713. /package/dist/chunks/{bus-8wj87zfr.js → project-8wj87zfr.js} +0 -0
  714. /package/dist/chunks/{bus-9a4afbnw.js → project-9a4afbnw.js} +0 -0
  715. /package/dist/chunks/{bus-9rqn6x4v.js → project-9rqn6x4v.js} +0 -0
  716. /package/dist/chunks/{bus-a6k6eb26.js → project-a6k6eb26.js} +0 -0
  717. /package/dist/chunks/{bus-af5trqkr.js → project-af5trqkr.js} +0 -0
  718. /package/dist/chunks/{bus-afrmfg78.js → project-afrmfg78.js} +0 -0
  719. /package/dist/chunks/{bus-aqzs7mqg.js → project-aqzs7mqg.js} +0 -0
  720. /package/dist/chunks/{bus-atq7p7m5.js → project-atq7p7m5.js} +0 -0
  721. /package/dist/chunks/{bus-bkyjaxrp.js → project-bkyjaxrp.js} +0 -0
  722. /package/dist/chunks/{bus-bmr6ed5q.js → project-bmr6ed5q.js} +0 -0
  723. /package/dist/chunks/{bus-cf4snx6d.js → project-cf4snx6d.js} +0 -0
  724. /package/dist/chunks/{bus-cvy3z8tj.js → project-cvy3z8tj.js} +0 -0
  725. /package/dist/chunks/{bus-d9fn303g.js → project-d9fn303g.js} +0 -0
  726. /package/dist/chunks/{bus-d9jj8t3e.js → project-d9jj8t3e.js} +0 -0
  727. /package/dist/chunks/{bus-dajrwvna.js → project-dajrwvna.js} +0 -0
  728. /package/dist/chunks/{bus-dap0rakb.js → project-dap0rakb.js} +0 -0
  729. /package/dist/chunks/{bus-df08tz66.js → project-df08tz66.js} +0 -0
  730. /package/dist/chunks/{bus-dy18nga0.js → project-dy18nga0.js} +0 -0
  731. /package/dist/chunks/{bus-e3qxr5gk.js → project-e3qxr5gk.js} +0 -0
  732. /package/dist/chunks/{bus-e5kj55wp.js → project-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{bus-e73j6tqm.js → project-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{bus-ec1grn59.js → project-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{bus-eh3zwz77.js → project-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{bus-emrn6kk6.js → project-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{bus-f0mxakyp.js → project-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{bus-f6n9ztr4.js → project-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{bus-faypxj3z.js → project-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{bus-fd410y7t.js → project-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{bus-fxgpk5d8.js → project-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{bus-g4wezp1m.js → project-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{bus-g86h250q.js → project-g86h250q.js} +0 -0
  744. /package/dist/chunks/{bus-gebd4c9n.js → project-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{bus-gftt206x.js → project-gftt206x.js} +0 -0
  746. /package/dist/chunks/{bus-hjbc5kem.js → project-hjbc5kem.js} +0 -0
  747. /package/dist/chunks/{bus-hk9envan.js → project-hk9envan.js} +0 -0
  748. /package/dist/chunks/{bus-j2ntwpah.js → project-j2ntwpah.js} +0 -0
  749. /package/dist/chunks/{bus-j5zkgpj8.js → project-j5zkgpj8.js} +0 -0
  750. /package/dist/chunks/{bus-jjkms2e6.js → project-jjkms2e6.js} +0 -0
  751. /package/dist/chunks/{bus-jr7sbwjy.js → project-jr7sbwjy.js} +0 -0
  752. /package/dist/chunks/{bus-jwfs4k6c.js → project-jwfs4k6c.js} +0 -0
  753. /package/dist/chunks/{bus-jzg6c2d5.js → project-jzg6c2d5.js} +0 -0
  754. /package/dist/chunks/{bus-mp448xyj.js → project-mp448xyj.js} +0 -0
  755. /package/dist/chunks/{bus-msx8hqn2.js → project-msx8hqn2.js} +0 -0
  756. /package/dist/chunks/{bus-n05xt0ee.js → project-n05xt0ee.js} +0 -0
  757. /package/dist/chunks/{bus-n3j8tn72.js → project-n3j8tn72.js} +0 -0
  758. /package/dist/chunks/{bus-njntx4h6.js → project-njntx4h6.js} +0 -0
  759. /package/dist/chunks/{bus-q3sfg36h.js → project-q3sfg36h.js} +0 -0
  760. /package/dist/chunks/{bus-q74kybfr.js → project-q74kybfr.js} +0 -0
  761. /package/dist/chunks/{bus-qaymkmh1.js → project-qaymkmh1.js} +0 -0
  762. /package/dist/chunks/{bus-qb87gjwd.js → project-qb87gjwd.js} +0 -0
  763. /package/dist/chunks/{bus-qfa1cgps.js → project-qfa1cgps.js} +0 -0
  764. /package/dist/chunks/{bus-qg3g05ea.js → project-qg3g05ea.js} +0 -0
  765. /package/dist/chunks/{bus-qrg20bc0.js → project-qrg20bc0.js} +0 -0
  766. /package/dist/chunks/{bus-rcb2kzg1.js → project-rcb2kzg1.js} +0 -0
  767. /package/dist/chunks/{bus-sdp7kfr6.js → project-sdp7kfr6.js} +0 -0
  768. /package/dist/chunks/{bus-ssg3fenm.js → project-ssg3fenm.js} +0 -0
  769. /package/dist/chunks/{bus-w803qqfp.js → project-w803qqfp.js} +0 -0
  770. /package/dist/chunks/{bus-wc3fc9cn.js → project-wc3fc9cn.js} +0 -0
  771. /package/dist/chunks/{bus-wer8tq1h.js → project-wer8tq1h.js} +0 -0
  772. /package/dist/chunks/{bus-wtztk69x.js → project-wtztk69x.js} +0 -0
  773. /package/dist/chunks/{bus-x0ckcb58.js → project-x0ckcb58.js} +0 -0
  774. /package/dist/chunks/{bus-x61499pn.js → project-x61499pn.js} +0 -0
  775. /package/dist/chunks/{bus-y44na4kk.js → project-y44na4kk.js} +0 -0
  776. /package/dist/chunks/{bus-y8cydn3q.js → project-y8cydn3q.js} +0 -0
  777. /package/dist/chunks/{bus-y8f7s663.js → project-y8f7s663.js} +0 -0
  778. /package/dist/chunks/{bus-ygaqb7jw.js → project-ygaqb7jw.js} +0 -0
  779. /package/dist/chunks/{bus-ym463w8f.js → project-ym463w8f.js} +0 -0
  780. /package/dist/chunks/{bus-z5v4ffb3.js → project-z5v4ffb3.js} +0 -0
  781. /package/dist/chunks/{bus-z9919s4g.js → project-z9919s4g.js} +0 -0
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./bus-9rqn6x4v.js";
3
+ } from "./project-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/instance.ts
6
6
  var exports_instance2 = {};
7
7
  __export(exports_instance2, {
8
8
  InstancePlugins: () => exports_instance2,
9
- Service: () => Service12,
9
+ Service: () => Service4,
10
10
  bound: () => bound2,
11
- node: () => node14
11
+ node: () => node5
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
- class Service12 extends Context.Service()("@opencode/InstancePlugins") {
16
+ class Service4 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node14 = makeLocationNode({
19
- service: Service12,
18
+ var node5 = makeLocationNode({
19
+ service: Service4,
20
20
  layer: bound2([]),
21
21
  deps: []
22
22
  });
@@ -26,7 +26,7 @@ function bound2(plugins) {
26
26
  throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
27
27
  }
28
28
  const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
29
- return Layer.succeed(Service12, Service12.of({ all: () => stamped }));
29
+ return Layer.succeed(Service4, Service4.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service12, node14, bound2, exports_instance2 };
32
+ export { Service4, node5, bound2, exports_instance2 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  Service81
3
- } from "./bus-hafepx0m.js";
3
+ } from "./project-r44petzp.js";
4
4
  import {
5
5
  DirectoryUnavailableError2,
6
6
  canonical2
7
- } from "./bus-0vbcp93d.js";
7
+ } from "./project-0vbcp93d.js";
8
8
  import {
9
9
  __export
10
- } from "./bus-9rqn6x4v.js";
10
+ } from "./project-9rqn6x4v.js";
11
11
 
12
12
  // src/worktree/git.ts
13
13
  var exports_git2 = {};
14
14
  __export(exports_git2, {
15
15
  WorktreeGit: () => exports_git2,
16
- make: () => make13
16
+ make: () => make22
17
17
  });
18
18
  import { Effect } from "effect";
19
19
  import { Worktree } from "@opencode/schema/worktree";
20
20
  import { FSUtil } from "@opencode/util/fs-util";
21
- var make13 = Effect.gen(function* () {
21
+ var make22 = Effect.gen(function* () {
22
22
  const fs = yield* FSUtil.Service;
23
23
  const git = yield* Service81;
24
24
  return {
@@ -46,4 +46,4 @@ var make13 = Effect.gen(function* () {
46
46
  };
47
47
  });
48
48
 
49
- export { make13, exports_git2 };
49
+ export { make22, exports_git2 };
@@ -1,17 +1,17 @@
1
1
  import {
2
- ID11,
2
+ ID12,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./bus-prnf2p7v.js";
5
+ } from "./project-v7wrq9pj.js";
6
6
  import {
7
- ID10,
7
+ ID9,
8
8
  VariantID2,
9
9
  Family2,
10
- Info19
11
- } from "./bus-jaah0z8w.js";
10
+ Info18
11
+ } from "./project-9r8tfcvx.js";
12
12
  import {
13
13
  __export
14
- } from "./bus-9rqn6x4v.js";
14
+ } from "./project-9rqn6x4v.js";
15
15
 
16
16
  // src/github-copilot/models.ts
17
17
  var exports_models = {};
@@ -94,7 +94,7 @@ function derive2(baseURL, remote, existing) {
94
94
  result.set(id, build(id, current, baseURL, model));
95
95
  }
96
96
  for (const [id, model] of remote) {
97
- const key = ID10.make(id);
97
+ const key = ID9.make(id);
98
98
  if (result.has(key))
99
99
  continue;
100
100
  result.set(key, build(key, model, baseURL));
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
118
118
  const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
119
119
  const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
120
120
  const released = previous?.time.released || Date.parse(version);
121
- return Info19.make({
122
- ...Info19.default(ID11.githubCopilot, id),
121
+ return Info18.make({
122
+ ...Info18.default(ID12.githubCopilot, id),
123
123
  id,
124
- modelID: ID10.make(remote.id),
125
- providerID: ID11.githubCopilot,
124
+ modelID: ID9.make(remote.id),
125
+ providerID: ID12.githubCopilot,
126
126
  family: previous?.family ?? Family2.make(remote.capabilities.family),
127
127
  name: previous?.name ?? remote.name,
128
128
  package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  Key3,
3
3
  removed2,
4
- make21,
4
+ make18,
5
5
  diffByKey2
6
- } from "./bus-s8d7rejh.js";
6
+ } from "./project-0gdmqesm.js";
7
7
  import {
8
- ID3,
8
+ ID4,
9
9
  Name2,
10
10
  available3,
11
- Service37,
12
- node40
13
- } from "./bus-kn1wn28d.js";
11
+ Service44,
12
+ node46
13
+ } from "./project-g32pa6cz.js";
14
14
  import {
15
15
  __export
16
- } from "./bus-9rqn6x4v.js";
16
+ } from "./project-9rqn6x4v.js";
17
17
 
18
18
  // src/skill/instructions.ts
19
- var exports_instructions3 = {};
20
- __export(exports_instructions3, {
21
- Service: () => Service33,
22
- SkillInstructions: () => exports_instructions3,
23
- node: () => node37
19
+ var exports_instructions5 = {};
20
+ __export(exports_instructions5, {
21
+ Service: () => Service30,
22
+ SkillInstructions: () => exports_instructions5,
23
+ node: () => node34
24
24
  });
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
27
  var Summary = Schema.Struct({
28
- id: ID3,
28
+ id: ID4,
29
29
  name: Name2,
30
30
  description: Schema.String
31
31
  });
@@ -60,14 +60,14 @@ var update = (previous, current) => {
60
60
  `);
61
61
  };
62
62
 
63
- class Service33 extends Context.Service()("@opencode/SkillInstructions") {
63
+ class Service30 extends Context.Service()("@opencode/SkillInstructions") {
64
64
  }
65
- var layer = Layer.effect(Service33, Effect.gen(function* () {
66
- const skills = yield* Service37;
67
- return Service33.of({
65
+ var layer = Layer.effect(Service30, Effect.gen(function* () {
66
+ const skills = yield* Service44;
67
+ return Service30.of({
68
68
  load: Effect.fn("SkillInstructions.load")(function* (permissions) {
69
69
  const available = available3(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
70
- return make21({
70
+ return make18({
71
71
  key: Key3.make("core/skill-guidance"),
72
72
  codec: Schema.toCodecJson(Schema.Array(Summary)),
73
73
  read: Effect.succeed(available.length === 0 ? removed2 : available),
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
80
80
  })
81
81
  });
82
82
  }));
83
- var node37 = makeLocationNode({ service: Service33, layer, deps: [node40] });
83
+ var node34 = makeLocationNode({ service: Service30, layer, deps: [node46] });
84
84
 
85
- export { Service33, node37, exports_instructions3 };
85
+ export { Service30, node34, exports_instructions5 };
@@ -2,26 +2,26 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./bus-z5v4ffb3.js";
5
+ } from "./project-z5v4ffb3.js";
6
6
  import {
7
- Service66,
8
- node69
9
- } from "./bus-j7a3k319.js";
7
+ Service69,
8
+ node72
9
+ } from "./project-vrwj9c6s.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./bus-8d7r5vzw.js";
12
+ } from "./project-8d7r5vzw.js";
13
13
  import {
14
14
  __export
15
- } from "./bus-9rqn6x4v.js";
15
+ } from "./project-9rqn6x4v.js";
16
16
 
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
19
19
  __export(exports_ripgrep, {
20
- Error: () => Error4,
20
+ Error: () => Error3,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service65,
24
- node: () => node68
23
+ Service: () => Service68,
24
+ node: () => node71
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/unstable/process";
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
46
46
  });
47
47
  var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
48
48
 
49
- class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
49
+ class Error3 extends Schema.TaggedError()("Ripgrep.Error", {
50
50
  message: Schema.String,
51
51
  cause: Schema.optional(Schema.Defect())
52
52
  }) {
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
58
58
  }) {
59
59
  }
60
60
 
61
- class Service65 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service68 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
- var failure = (message, cause) => new Error4({ message, cause });
63
+ var failure = (message, cause) => new Error3({ message, cause });
64
64
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
65
65
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
66
- var layer = Layer.effect(Service65, Effect.gen(function* () {
67
- const environment = yield* Service66;
66
+ var layer = Layer.effect(Service68, Effect.gen(function* () {
67
+ const environment = yield* Service69;
68
68
  const binary = yield* RipgrepBinary2.Service;
69
69
  const run = (input) => {
70
70
  const program = Effect.scoped(Effect.gen(function* () {
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
90
90
  return code === 1 ? [] : rows;
91
91
  }));
92
92
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
93
- return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
93
+ return abortable.pipe(Effect.mapError((cause) => cause instanceof Error3 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service65.of({
95
+ return Service68.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
175
175
  }))))
176
176
  });
177
177
  }));
178
- var node68 = makeLocationNode({ service: Service65, layer, deps: [node69, RipgrepBinary2.node] });
178
+ var node71 = makeLocationNode({ service: Service68, layer, deps: [node72, RipgrepBinary2.node] });
179
179
 
180
- export { Error4, InvalidPatternError2, Service65, node68, exports_ripgrep };
180
+ export { Error3, InvalidPatternError2, Service68, node71, exports_ripgrep };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./bus-9rqn6x4v.js";
3
+ } from "./project-9rqn6x4v.js";
4
4
 
5
5
  // src/oauth/page.ts
6
6
  var exports_page = {};
@@ -1,43 +1,43 @@
1
1
  import {
2
2
  Service83
3
- } from "./bus-tbgq5war.js";
3
+ } from "./project-56k7gmct.js";
4
4
  import {
5
- Service60
6
- } from "./bus-97xtdwm1.js";
5
+ Service71
6
+ } from "./project-tcc0r8za.js";
7
7
  import {
8
8
  Error2
9
- } from "./bus-2zttkrbk.js";
9
+ } from "./project-h4tn8bjr.js";
10
10
  import {
11
- Service41
12
- } from "./bus-n4d3d4w3.js";
11
+ Service43
12
+ } from "./project-vjawha9d.js";
13
13
  import {
14
14
  StepFailedError2
15
- } from "./bus-sesvvx24.js";
15
+ } from "./project-yewzvha6.js";
16
16
  import {
17
17
  SessionEvent2
18
- } from "./bus-ec1grn59.js";
18
+ } from "./project-ec1grn59.js";
19
19
  import {
20
20
  toSessionError2
21
- } from "./bus-0avwb0pz.js";
21
+ } from "./project-m7bjcpvz.js";
22
22
  import {
23
23
  calculateCost2
24
- } from "./bus-tdstcens.js";
24
+ } from "./project-tdstcens.js";
25
25
  import {
26
26
  createLLMEventPublisher2
27
- } from "./bus-qcz3a2pj.js";
27
+ } from "./project-gkyqt8nk.js";
28
28
  import {
29
29
  isRetryable2
30
- } from "./bus-wecqtg5s.js";
30
+ } from "./project-b3f8fkhc.js";
31
31
  import {
32
32
  __export
33
- } from "./bus-9rqn6x4v.js";
33
+ } from "./project-9rqn6x4v.js";
34
34
 
35
35
  // src/session/runner/step.ts
36
36
  var exports_step = {};
37
37
  __export(exports_step, {
38
38
  Outcome: () => Outcome2,
39
39
  SessionStep: () => exports_step,
40
- make: () => make3
40
+ make: () => make9
41
41
  });
42
42
  import {
43
43
  AIError,
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
51
51
  var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
52
52
  var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
53
53
  var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
54
- var make3 = Effect.gen(function* () {
54
+ var make9 = Effect.gen(function* () {
55
55
  const bus = yield* Service83;
56
56
  const llm = yield* LLMClient.Service;
57
- const snapshots = yield* Service60;
58
- const toolOutput = yield* Service41;
57
+ const snapshots = yield* Service71;
58
+ const toolOutput = yield* Service43;
59
59
  const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
60
60
  const startSnapshot = yield* snapshots.capture();
61
61
  const publisher = createLLMEventPublisher2(bus, {
@@ -216,4 +216,4 @@ var classifyToolExits = (settled, runs) => {
216
216
  return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
217
217
  };
218
218
 
219
- export { Outcome2, make3, exports_step };
219
+ export { Outcome2, make9, exports_step };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./bus-qfa1cgps.js";
3
+ } from "./project-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  mergeOverlay2,
3
- Service72
4
- } from "./bus-prnf2p7v.js";
3
+ Service75
4
+ } from "./project-v7wrq9pj.js";
5
5
  import {
6
- Service68
7
- } from "./bus-7ya4bwdq.js";
6
+ Service59
7
+ } from "./project-cfe20eds.js";
8
8
 
9
9
  // src/plugin/provider/configured.ts
10
10
  import { Effect, Option } from "effect";
11
11
  var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
12
- const providers = yield* Service72;
12
+ const providers = yield* Service75;
13
13
  const current = (yield* providers.get(id))?.settings;
14
- const service = yield* Effect.serviceOption(Service68);
14
+ const service = yield* Effect.serviceOption(Service59);
15
15
  const entries = Option.isSome(service) ? yield* service.value.entries() : [];
16
16
  return foldSettings2(entries, id, current);
17
17
  });
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./bus-z5v4ffb3.js";
3
+ } from "./project-z5v4ffb3.js";
4
4
  import {
5
5
  latest2,
6
- Service68
7
- } from "./bus-7ya4bwdq.js";
6
+ Service59
7
+ } from "./project-cfe20eds.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./bus-2a5m3afh.js";
10
+ } from "./project-2a5m3afh.js";
11
11
  import {
12
- Service66
13
- } from "./bus-j7a3k319.js";
12
+ Service69
13
+ } from "./project-vrwj9c6s.js";
14
14
  import {
15
- Service51
16
- } from "./bus-evxzag28.js";
15
+ Service55
16
+ } from "./project-ffgyggc9.js";
17
17
  import {
18
- Service53
19
- } from "./bus-sft7r91c.js";
18
+ Service49
19
+ } from "./project-gh8z36ey.js";
20
20
  import {
21
- Service43,
21
+ Service14,
22
22
  resolvePath2
23
- } from "./bus-bhb1nrwe.js";
23
+ } from "./project-hn1j4dd1.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./bus-vzs5sf6e.js";
29
+ } from "./project-vzs5sf6e.js";
30
30
  import {
31
- Service78,
31
+ Service48,
32
32
  name15
33
- } from "./bus-p4pkk9xt.js";
33
+ } from "./project-6kky177d.js";
34
34
  import {
35
- NotFoundError5,
36
- Service38
37
- } from "./bus-cqk9t7df.js";
35
+ NotFoundError6,
36
+ Service36
37
+ } from "./project-2dmxyjcc.js";
38
38
  import {
39
- Service24
40
- } from "./bus-spzjt392.js";
39
+ Service23
40
+ } from "./project-qea2dqvn.js";
41
41
  import {
42
42
  scan2
43
- } from "./bus-bww70sgj.js";
43
+ } from "./project-k9889ctd.js";
44
44
  import {
45
45
  __export
46
- } from "./bus-9rqn6x4v.js";
46
+ } from "./project-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: () => Input4,
53
- Plugin: () => Plugin22,
54
- ShellTool: () => exports_shell2,
55
- name: () => name4
52
+ Input: () => Input3,
53
+ Plugin: () => Plugin3,
54
+ ShellTool: () => exports_shell,
55
+ name: () => name3
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name4 = "shell";
59
+ var name3 = "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 Input4 = Schema.Struct({
73
+ var Input3 = 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."
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
116
116
  truncated: false,
117
117
  status: "running"
118
118
  });
119
- var Plugin22 = {
119
+ var Plugin3 = {
120
120
  id: "opencode.tool.shell",
121
121
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
122
- const sessions = yield* Service24;
123
- const jobs = yield* Service51;
122
+ const sessions = yield* Service23;
123
+ const jobs = yield* Service55;
124
124
  const scope = yield* Scope.Scope;
125
- const environment = yield* Service66;
126
- const access = yield* Service43;
127
- const shell = yield* Service38;
128
- const shellSelect = yield* Service78;
125
+ const environment = yield* Service69;
126
+ const access = yield* Service14;
127
+ const shell = yield* Service36;
128
+ const shellSelect = yield* Service48;
129
129
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
130
- const permission = yield* Service53;
131
- const config = yield* Service68;
130
+ const permission = yield* Service49;
131
+ const config = yield* Service59;
132
132
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
133
133
  const source = {
134
134
  type: "tool",
@@ -147,7 +147,7 @@ var Plugin22 = {
147
147
  yield* access.authorizeExternal([target, ...directories], context);
148
148
  if (parsed.commands.length > 0)
149
149
  yield* permission.assert({
150
- action: name4,
150
+ action: name3,
151
151
  resources: parsed.commands.map((command) => command.resource),
152
152
  save: parsed.commands.map((command) => command.save),
153
153
  sessionID: context.sessionID,
@@ -184,10 +184,10 @@ var Plugin22 = {
184
184
  yield* jobs.completeBackground(info.notificationID);
185
185
  }, Effect.forkIn(scope, { startImmediately: true }));
186
186
  yield* ctx.tool.transform((editor) => editor.add({
187
- name: name4,
187
+ name: name3,
188
188
  options: { codemode: false },
189
189
  description: description(),
190
- input: Input4,
190
+ input: Input3,
191
191
  output: Output,
192
192
  execute: (input, context) => Effect.gen(function* () {
193
193
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -210,7 +210,7 @@ var Plugin22 = {
210
210
  const run = Effect.gen(function* () {
211
211
  const result = yield* shell.result(info);
212
212
  if (!result.capture)
213
- return yield* new NotFoundError5({ id: info.id });
213
+ return yield* new NotFoundError6({ id: info.id });
214
214
  const output = output2(result);
215
215
  return {
216
216
  ...output,
@@ -224,7 +224,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
224
224
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
225
225
  const job = yield* jobs.start({
226
226
  id: info.id,
227
- type: name4,
227
+ type: name3,
228
228
  title: info.command,
229
229
  metadata: { sessionID: context.sessionID, shellID: info.id },
230
230
  recovery: {
@@ -254,7 +254,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
254
254
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
255
255
  })).pipe(Effect.orDie);
256
256
  const hook = (event) => Effect.gen(function* () {
257
- const tool = event.tools[name4];
257
+ const tool = event.tools[name3];
258
258
  if (!tool)
259
259
  return;
260
260
  tool.description = description(name15(yield* compatibleShell));
@@ -265,4 +265,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
265
265
  })
266
266
  };
267
267
 
268
- export { name4, DEFAULT_TIMEOUT_MS2, Input4, Plugin22, exports_shell2 };
268
+ export { name3, DEFAULT_TIMEOUT_MS2, Input3, Plugin3, exports_shell };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./bus-5t3nmthw.js";
3
+ } from "./project-5t3nmthw.js";
4
4
  import {
5
- Service58,
6
- node61
7
- } from "./bus-t4vhf3zd.js";
5
+ Service53,
6
+ node55
7
+ } from "./project-d363w4md.js";
8
8
  import {
9
9
  __export
10
- } from "./bus-9rqn6x4v.js";
10
+ } from "./project-9rqn6x4v.js";
11
11
 
12
12
  // src/generate.ts
13
13
  var exports_generate2 = {};
14
14
  __export(exports_generate2, {
15
15
  Generate: () => exports_generate2,
16
16
  ModelSelectionError: () => ModelSelectionError2,
17
- Service: () => Service57,
17
+ Service: () => Service52,
18
18
  UnavailableError: () => UnavailableError3,
19
- layer: () => layer19,
20
- node: () => node60
19
+ layer: () => layer20,
20
+ node: () => node54
21
21
  });
22
22
  import { LLM, LLMClient } from "@opencode/ai";
23
23
  import { SessionID } from "@opencode/schema/session-id";
@@ -34,11 +34,11 @@ class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError"
34
34
  }) {
35
35
  }
36
36
 
37
- class Service57 extends Context.Service()("@opencode/Generate") {
37
+ class Service52 extends Context.Service()("@opencode/Generate") {
38
38
  }
39
- var layer19 = Layer.effect(Service57, Effect.gen(function* () {
39
+ var layer20 = Layer.effect(Service52, Effect.gen(function* () {
40
40
  const llm = yield* LLMClient.Service;
41
- const resolver = yield* Service58;
41
+ const resolver = yield* Service53;
42
42
  const runText = Effect.fn("Generate.text")(function* (input) {
43
43
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
44
44
  "SessionRunnerModel.VariantUnavailableError",
@@ -68,12 +68,12 @@ var layer19 = Layer.effect(Service57, Effect.gen(function* () {
68
68
  const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
69
69
  message: "Generation credentials are unavailable"
70
70
  })));
71
- return Service57.of({ text });
71
+ return Service52.of({ text });
72
72
  }));
73
- var node60 = makeLocationNode({
74
- service: Service57,
75
- layer: layer19,
76
- deps: [node61, llmClient2]
73
+ var node54 = makeLocationNode({
74
+ service: Service52,
75
+ layer: layer20,
76
+ deps: [node55, llmClient2]
77
77
  });
78
78
 
79
- export { ModelSelectionError2, UnavailableError3, Service57, layer19, node60, exports_generate2 };
79
+ export { ModelSelectionError2, UnavailableError3, Service52, layer20, node54, exports_generate2 };