@opencode/core 0.0.0-dev-20409 → 0.0.0-dev-20410

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 (799) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{shell-zm3q7mex.js → wellknown-09e215wj.js} +20 -20
  8. package/dist/chunks/{shell-p18fzj7h.js → wellknown-0na27aqw.js} +22 -22
  9. package/dist/chunks/{shell-0paq2nw3.js → wellknown-0paq2nw3.js} +1 -1
  10. package/dist/chunks/{shell-5mfsnars.js → wellknown-0rpx8wc5.js} +20 -20
  11. package/dist/chunks/{shell-bct739vz.js → wellknown-0v53mg2y.js} +4 -4
  12. package/dist/chunks/{shell-59wg76sz.js → wellknown-0xgfr3a5.js} +3 -3
  13. package/dist/chunks/{shell-n9gk7fk1.js → wellknown-0zdym56s.js} +6 -6
  14. package/dist/chunks/{shell-qpe8tk8s.js → wellknown-12zc50tf.js} +27 -27
  15. package/dist/chunks/{shell-fn2vqynn.js → wellknown-14czrspb.js} +18 -18
  16. package/dist/chunks/{shell-bweaxm80.js → wellknown-14ty0bgn.js} +73 -73
  17. package/dist/chunks/{shell-gahyzsq3.js → wellknown-164an6e8.js} +23 -23
  18. package/dist/chunks/{shell-qwe53qqr.js → wellknown-16z2jb6t.js} +15 -15
  19. package/dist/chunks/{shell-1dazxqgg.js → wellknown-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{shell-dcfyjk12.js → wellknown-1fkkc2q4.js} +19 -19
  21. package/dist/chunks/{shell-6rpwy5mc.js → wellknown-1kkt2vva.js} +35 -35
  22. package/dist/chunks/{shell-bbt4s1em.js → wellknown-1mbawdqw.js} +28 -28
  23. package/dist/chunks/{shell-rb29dj05.js → wellknown-1n8pm4fs.js} +14 -14
  24. package/dist/chunks/{shell-rd8v1r6j.js → wellknown-1s1t9db3.js} +26 -26
  25. package/dist/chunks/{shell-56gdpj1q.js → wellknown-1ygqh575.js} +9 -9
  26. package/dist/chunks/{shell-21r38tys.js → wellknown-21r38tys.js} +1 -1
  27. package/dist/chunks/{shell-hz84tk5e.js → wellknown-2336b01z.js} +8 -8
  28. package/dist/chunks/{shell-bybgwcct.js → wellknown-290gn2nz.js} +30 -30
  29. package/dist/chunks/{shell-29x78va6.js → wellknown-29x78va6.js} +2 -2
  30. package/dist/chunks/{shell-2a5m3afh.js → wellknown-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{shell-wg0k9rvv.js → wellknown-2a9pehze.js} +8 -8
  32. package/dist/chunks/{shell-tmk4yz8x.js → wellknown-2fwvtqtm.js} +30 -30
  33. package/dist/chunks/{shell-k01n324r.js → wellknown-2p2ksper.js} +5 -5
  34. package/dist/chunks/{shell-xdk9p2qn.js → wellknown-2pnhn36q.js} +4 -4
  35. package/dist/chunks/{shell-3w0fmcng.js → wellknown-2qp6y8xf.js} +5 -5
  36. package/dist/chunks/{shell-cpbwv1ps.js → wellknown-2r2n6yth.js} +21 -21
  37. package/dist/chunks/{shell-2zbxyrg1.js → wellknown-32ndydhr.js} +11 -11
  38. package/dist/chunks/{shell-znsx74x0.js → wellknown-3556dn8t.js} +1 -1
  39. package/dist/chunks/{shell-tmcd77ag.js → wellknown-38qsazbb.js} +37 -37
  40. package/dist/chunks/{shell-4e8vs6eh.js → wellknown-3a83a0n4.js} +8 -8
  41. package/dist/chunks/{shell-3fc6dm20.js → wellknown-3fc6dm20.js} +1 -1
  42. package/dist/chunks/{shell-3hepkmqq.js → wellknown-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{shell-rba86r9a.js → wellknown-3hxdjh5w.js} +5 -5
  44. package/dist/chunks/{shell-3smtnn6g.js → wellknown-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{shell-3tvqynh2.js → wellknown-3tvqynh2.js} +1 -1
  46. package/dist/chunks/{shell-3zsf4n22.js → wellknown-3zsf4n22.js} +1 -1
  47. package/dist/chunks/{shell-knevfgda.js → wellknown-44ak30pa.js} +4 -4
  48. package/dist/chunks/{shell-6z7hmy4t.js → wellknown-44mgpfzg.js} +34 -34
  49. package/dist/chunks/{shell-y7eazgyz.js → wellknown-44w561qj.js} +5 -5
  50. package/dist/chunks/{shell-hfkmhm74.js → wellknown-4btpfq85.js} +29 -29
  51. package/dist/chunks/{shell-2etfsxvf.js → wellknown-4hqqpt46.js} +8 -8
  52. package/dist/chunks/{shell-dezcy0y7.js → wellknown-4rem7hjf.js} +18 -18
  53. package/dist/chunks/{shell-v12jv0w3.js → wellknown-4y3x9j2a.js} +24 -24
  54. package/dist/chunks/{shell-h9wp8z5w.js → wellknown-4z58m4b4.js} +4 -4
  55. package/dist/chunks/{shell-54ma36ye.js → wellknown-54ma36ye.js} +1 -1
  56. package/dist/chunks/{shell-ckecvw8r.js → wellknown-54tcyq79.js} +2 -2
  57. package/dist/chunks/{shell-0h1hke09.js → wellknown-55m9a17k.js} +22 -22
  58. package/dist/chunks/{shell-2fgn2we9.js → wellknown-57ez7d0k.js} +9 -9
  59. package/dist/chunks/wellknown-583665fb.js +26 -0
  60. package/dist/chunks/{shell-5daktx2q.js → wellknown-5daktx2q.js} +1 -1
  61. package/dist/chunks/{shell-6bsje7ws.js → wellknown-5epte933.js} +3 -3
  62. package/dist/chunks/{shell-ttwj0m8z.js → wellknown-5kcmdkc3.js} +32 -32
  63. package/dist/chunks/{shell-5t3nmthw.js → wellknown-5t3nmthw.js} +2 -2
  64. package/dist/chunks/{shell-p08d8mdw.js → wellknown-5yxxxe3w.js} +11 -11
  65. package/dist/chunks/{shell-jqhg1hxk.js → wellknown-614y8yz0.js} +18 -18
  66. package/dist/chunks/{shell-c13z7sy5.js → wellknown-632q0zdk.js} +29 -29
  67. package/dist/chunks/{shell-669tq793.js → wellknown-669tq793.js} +1 -1
  68. package/dist/chunks/{shell-2d57kztd.js → wellknown-6anwy9fs.js} +4 -4
  69. package/dist/chunks/{shell-fd636bra.js → wellknown-6b2zjn2e.js} +9 -9
  70. package/dist/chunks/{shell-a46v4e4v.js → wellknown-6cfd75hy.js} +7 -7
  71. package/dist/chunks/{shell-t58mb03q.js → wellknown-6crwcbc9.js} +28 -28
  72. package/dist/chunks/{shell-kc9hs6v2.js → wellknown-6hmwwa40.js} +14 -14
  73. package/dist/chunks/{shell-6msgmcgs.js → wellknown-6msgmcgs.js} +1 -1
  74. package/dist/chunks/{shell-zp34c0n6.js → wellknown-6qsyht78.js} +46 -46
  75. package/dist/chunks/{shell-dm6v0cnj.js → wellknown-6vqdytr6.js} +43 -43
  76. package/dist/chunks/{shell-w6yjv3f5.js → wellknown-72npc2f6.js} +21 -21
  77. package/dist/chunks/{shell-7bmhse3q.js → wellknown-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{shell-2k8khapm.js → wellknown-7dqw4kz8.js} +5 -5
  79. package/dist/chunks/{shell-kmhtm0eh.js → wellknown-7j4bmeyc.js} +40 -40
  80. package/dist/chunks/{shell-faan1wk1.js → wellknown-7xpt23fr.js} +4 -4
  81. package/dist/chunks/{shell-ahg1zghw.js → wellknown-8950yhm7.js} +9 -9
  82. package/dist/chunks/{shell-mej20m9j.js → wellknown-8ard0xnh.js} +3 -3
  83. package/dist/chunks/{shell-h5r4kkc1.js → wellknown-8c9nwzfv.js} +2 -2
  84. package/dist/chunks/{shell-8d7r5vzw.js → wellknown-8d7r5vzw.js} +1 -1
  85. package/dist/chunks/{shell-k0v2pnh2.js → wellknown-8zj1wa93.js} +27 -27
  86. package/dist/chunks/{shell-sd5f6jdk.js → wellknown-909p1r3q.js} +6 -6
  87. package/dist/chunks/{shell-pk5ddt9p.js → wellknown-92h9fms8.js} +19 -19
  88. package/dist/chunks/{shell-q47e89a1.js → wellknown-94cgg493.js} +23 -23
  89. package/dist/chunks/{shell-7jq0yyyf.js → wellknown-94sexpec.js} +32 -32
  90. package/dist/chunks/{shell-em9qgwr1.js → wellknown-94xk6992.js} +31 -31
  91. package/dist/chunks/{shell-5w2qze6g.js → wellknown-9b6f7ytq.js} +27 -27
  92. package/dist/chunks/{shell-jen49w49.js → wellknown-9zj2t9wy.js} +22 -22
  93. package/dist/chunks/{shell-mvfsc1pv.js → wellknown-a1gpj94z.js} +3 -3
  94. package/dist/chunks/{shell-80yzywcg.js → wellknown-a9w2502q.js} +1 -1
  95. package/dist/chunks/{shell-aaet6srn.js → wellknown-aaet6srn.js} +2 -2
  96. package/dist/chunks/{shell-46w5102t.js → wellknown-abjnfqr5.js} +12 -12
  97. package/dist/chunks/{shell-vc39bt20.js → wellknown-afdq2nq0.js} +32 -32
  98. package/dist/chunks/{shell-aqmh106j.js → wellknown-ap74y1kn.js} +16 -16
  99. package/dist/chunks/{shell-watjqnhq.js → wellknown-b3hxsf30.js} +9 -9
  100. package/dist/chunks/{shell-b6gygkdw.js → wellknown-b6gygkdw.js} +2 -2
  101. package/dist/chunks/{shell-461tr88a.js → wellknown-bbsyhe2f.js} +10 -10
  102. package/dist/chunks/{shell-57spbz54.js → wellknown-be434b93.js} +46 -46
  103. package/dist/chunks/{shell-mssx8eq3.js → wellknown-beebazzm.js} +8 -8
  104. package/dist/chunks/{shell-8dwbst7y.js → wellknown-bhs9pbkj.js} +19 -19
  105. package/dist/chunks/{shell-z07pqspn.js → wellknown-bjtzbw4r.js} +3 -3
  106. package/dist/chunks/{shell-5xpznt2d.js → wellknown-bk7jaeqh.js} +4 -4
  107. package/dist/chunks/{shell-py3kkmfq.js → wellknown-cfsekr6v.js} +2 -2
  108. package/dist/chunks/{shell-fe5bw3z3.js → wellknown-cke2b7t7.js} +12 -12
  109. package/dist/chunks/{shell-qstbhtjy.js → wellknown-cngh3wnk.js} +17 -17
  110. package/dist/chunks/{shell-g6q9qykm.js → wellknown-cwa6csj7.js} +9 -9
  111. package/dist/chunks/{shell-xkx2jhzt.js → wellknown-cwkg0kwh.js} +14 -14
  112. package/dist/chunks/{shell-bms65qjn.js → wellknown-cymsrqdn.js} +21 -21
  113. package/dist/chunks/{shell-ppkbx4yt.js → wellknown-d04jdsaz.js} +24 -24
  114. package/dist/chunks/{shell-p1nm93x7.js → wellknown-d1khqved.js} +5 -5
  115. package/dist/chunks/{shell-je2nd8qy.js → wellknown-d2q97jrn.js} +9 -9
  116. package/dist/chunks/{shell-kbww7b3v.js → wellknown-d6kf3zw4.js} +7 -7
  117. package/dist/chunks/{shell-sz0fczdy.js → wellknown-d7r387ef.js} +6 -6
  118. package/dist/chunks/{shell-afjydgk3.js → wellknown-dbv05mm3.js} +4 -4
  119. package/dist/chunks/{shell-zyrx8stx.js → wellknown-dckvf469.js} +3 -3
  120. package/dist/chunks/{shell-jt8t0ecz.js → wellknown-dp18k49k.js} +19 -19
  121. package/dist/chunks/{shell-h3j6n5en.js → wellknown-dw1xb9j8.js} +4 -4
  122. package/dist/chunks/{shell-thev1fqr.js → wellknown-dzbnv1y8.js} +21 -21
  123. package/dist/chunks/{shell-4238gvvk.js → wellknown-e7cyz2n2.js} +22 -22
  124. package/dist/chunks/{shell-ap9eas8m.js → wellknown-e7rr3zef.js} +12 -12
  125. package/dist/chunks/{shell-6hbwvpvg.js → wellknown-e8c7tdgy.js} +23 -23
  126. package/dist/chunks/{shell-ph6a0m52.js → wellknown-edfps4tk.js} +5 -5
  127. package/dist/chunks/{shell-ef5x83kb.js → wellknown-ef5x83kb.js} +1 -1
  128. package/dist/chunks/{shell-bcx2a56x.js → wellknown-eg0775ss.js} +12 -12
  129. package/dist/chunks/{shell-yxvshskh.js → wellknown-en2jb2v2.js} +35 -35
  130. package/dist/chunks/{shell-vaeza82m.js → wellknown-etk0206k.js} +9 -9
  131. package/dist/chunks/{shell-etq0c3wd.js → wellknown-etq0c3wd.js} +1 -1
  132. package/dist/chunks/{shell-mgpyxjx6.js → wellknown-ev0saa8z.js} +10 -10
  133. package/dist/chunks/{shell-chrxq3ex.js → wellknown-f1vyh6xp.js} +14 -14
  134. package/dist/chunks/{shell-77bqxzzx.js → wellknown-f3hqkxtk.js} +35 -35
  135. package/dist/chunks/{shell-fpkrmtmw.js → wellknown-f4f6dec5.js} +35 -35
  136. package/dist/chunks/{shell-r6127srf.js → wellknown-f65gvspq.js} +1 -1
  137. package/dist/chunks/{shell-dgt8mkj3.js → wellknown-fdqe7t98.js} +27 -27
  138. package/dist/chunks/{shell-7v930722.js → wellknown-ffhspk0h.js} +25 -25
  139. package/dist/chunks/{shell-dnszgtsj.js → wellknown-fhs97t90.js} +9 -9
  140. package/dist/chunks/{shell-hrxnr7fv.js → wellknown-fppza7yp.js} +15 -15
  141. package/dist/chunks/{shell-bpnn7hyv.js → wellknown-fwtnydp1.js} +11 -11
  142. package/dist/chunks/{shell-nrscgsz0.js → wellknown-g1096q0s.js} +26 -26
  143. package/dist/chunks/{shell-h6b02349.js → wellknown-g5agzp2h.js} +5 -5
  144. package/dist/chunks/{shell-xfkkasph.js → wellknown-g5w8qwbj.js} +4 -4
  145. package/dist/chunks/{shell-ff0svapt.js → wellknown-g97bb4fb.js} +2 -2
  146. package/dist/chunks/{shell-gd4qta3r.js → wellknown-gd4qta3r.js} +1 -1
  147. package/dist/chunks/{shell-94ek1h2f.js → wellknown-gfvb90ym.js} +2 -2
  148. package/dist/chunks/{shell-2ypncbw6.js → wellknown-ggh48w3t.js} +57 -57
  149. package/dist/chunks/{shell-242bp3ky.js → wellknown-gke7xfxw.js} +17 -17
  150. package/dist/chunks/{shell-sbm56x9k.js → wellknown-gmf6wyfv.js} +9 -9
  151. package/dist/chunks/{shell-fh0zj1e1.js → wellknown-gq3f4pq9.js} +31 -31
  152. package/dist/chunks/{shell-gv6a8nnw.js → wellknown-gv6a8nnw.js} +2 -2
  153. package/dist/chunks/{shell-h6vf3j39.js → wellknown-h6vf3j39.js} +1 -1
  154. package/dist/chunks/{shell-n56h5hy7.js → wellknown-h9k0myby.js} +37 -37
  155. package/dist/chunks/{shell-1310s4tm.js → wellknown-haahk2j0.js} +5 -5
  156. package/dist/chunks/{shell-ppsqsh87.js → wellknown-hbdbv0wt.js} +37 -37
  157. package/dist/chunks/{shell-axs6pdy0.js → wellknown-hbyhqfhs.js} +5 -5
  158. package/dist/chunks/{shell-ygcwaq5r.js → wellknown-hs5cnsfg.js} +43 -43
  159. package/dist/chunks/{shell-7wyjaxt5.js → wellknown-hy7bhjnd.js} +11 -11
  160. package/dist/chunks/{shell-09vtkvs2.js → wellknown-hzcr34ks.js} +8 -8
  161. package/dist/chunks/{shell-a68erk2e.js → wellknown-j2598mjc.js} +8 -8
  162. package/dist/chunks/{shell-j56e64zr.js → wellknown-j56e64zr.js} +1 -1
  163. package/dist/chunks/{shell-j81vay8t.js → wellknown-j5g32akq.js} +4 -4
  164. package/dist/chunks/{shell-kkg080jf.js → wellknown-j70evk53.js} +36 -36
  165. package/dist/chunks/{shell-296c8m1w.js → wellknown-jcrcn3k8.js} +5 -5
  166. package/dist/chunks/{shell-bbg4461y.js → wellknown-jjfwpmnh.js} +44 -44
  167. package/dist/chunks/{shell-m90ew7f1.js → wellknown-jkna1137.js} +6 -6
  168. package/dist/chunks/{shell-smcy5e0a.js → wellknown-jkxcgs8q.js} +28 -28
  169. package/dist/chunks/{shell-q5z6qrs5.js → wellknown-jz0ehkkx.js} +8 -8
  170. package/dist/chunks/{shell-k3c624dm.js → wellknown-k3c624dm.js} +3 -3
  171. package/dist/chunks/{shell-43y38rzh.js → wellknown-k88fwccj.js} +15 -15
  172. package/dist/chunks/{shell-55pt171s.js → wellknown-khn32n8z.js} +9 -9
  173. package/dist/chunks/{shell-0mfvdt8p.js → wellknown-kkj1mgts.js} +11 -11
  174. package/dist/chunks/{shell-hn5cnzw3.js → wellknown-ksgwj901.js} +16 -16
  175. package/dist/chunks/{shell-s24brvt1.js → wellknown-kxv0pnw6.js} +13 -13
  176. package/dist/chunks/{shell-pj97z4ma.js → wellknown-m2bk3f14.js} +15 -15
  177. package/dist/chunks/{shell-m3fdjcah.js → wellknown-m3fdjcah.js} +1 -1
  178. package/dist/chunks/{shell-m58kmhef.js → wellknown-m58kmhef.js} +2 -2
  179. package/dist/chunks/{shell-qrtps7c6.js → wellknown-m76ak856.js} +12 -12
  180. package/dist/chunks/{shell-vpxczwj3.js → wellknown-m8gd39et.js} +32 -32
  181. package/dist/chunks/{shell-m9w0rfyh.js → wellknown-m9w0rfyh.js} +1 -1
  182. package/dist/chunks/{shell-dnxkq42g.js → wellknown-mpk0rfs5.js} +4 -4
  183. package/dist/chunks/{shell-h7k6fa17.js → wellknown-mt2wpz7r.js} +20 -20
  184. package/dist/chunks/{shell-q3ersh05.js → wellknown-n57qrn3a.js} +4 -4
  185. package/dist/chunks/{shell-n3v0wvct.js → wellknown-nvk3p1p4.js} +28 -28
  186. package/dist/chunks/{shell-8558arf1.js → wellknown-nx4bp6rh.js} +17 -17
  187. package/dist/chunks/{shell-nxm207yx.js → wellknown-nxm207yx.js} +1 -1
  188. package/dist/chunks/{shell-nxdbpavb.js → wellknown-p320bp61.js} +18 -18
  189. package/dist/chunks/{shell-p42hj8p8.js → wellknown-p37cw4rj.js} +8 -8
  190. package/dist/chunks/{shell-yvpke61a.js → wellknown-p5hcw2cx.js} +14 -14
  191. package/dist/chunks/{shell-zz330w20.js → wellknown-p7vmt0vr.js} +27 -27
  192. package/dist/chunks/{shell-br5b6q5k.js → wellknown-p7yarm9w.js} +9 -9
  193. package/dist/chunks/{shell-zv4zpfd9.js → wellknown-pdzttwzv.js} +13 -13
  194. package/dist/chunks/{shell-pjvnvgmy.js → wellknown-pjvnvgmy.js} +1 -1
  195. package/dist/chunks/{shell-pknna89w.js → wellknown-pknna89w.js} +1 -1
  196. package/dist/chunks/{shell-xzjm34t0.js → wellknown-pn2bvya9.js} +19 -19
  197. package/dist/chunks/wellknown-pp8ac1gr.js +252 -0
  198. package/dist/chunks/{shell-h6wkafze.js → wellknown-ps96thee.js} +18 -18
  199. package/dist/chunks/{shell-wd3x2cqz.js → wellknown-psazpmmj.js} +2 -2
  200. package/dist/chunks/{shell-0w0ygeyh.js → wellknown-q615bh5j.js} +17 -17
  201. package/dist/chunks/{shell-gyz7ndzc.js → wellknown-qcaxezzb.js} +43 -43
  202. package/dist/chunks/{shell-2j558fvx.js → wellknown-qk9gfppg.js} +7 -7
  203. package/dist/chunks/{shell-qq8x5mwt.js → wellknown-qq8x5mwt.js} +1 -1
  204. package/dist/chunks/{shell-qsdy395h.js → wellknown-qsdy395h.js} +1 -1
  205. package/dist/chunks/{shell-r8xr0va3.js → wellknown-r8xr0va3.js} +1 -1
  206. package/dist/chunks/{shell-gyae47ky.js → wellknown-r9qax4y8.js} +25 -25
  207. package/dist/chunks/{shell-3czaqwkp.js → wellknown-r9tj242d.js} +11 -11
  208. package/dist/chunks/{shell-v5vpra1m.js → wellknown-radmxtwt.js} +9 -9
  209. package/dist/chunks/wellknown-rap9a73h.js +18 -0
  210. package/dist/chunks/{shell-xfn62cer.js → wellknown-rc5hc0js.js} +95 -95
  211. package/dist/chunks/{shell-rdw6cm16.js → wellknown-rdw6cm16.js} +1 -1
  212. package/dist/chunks/{shell-s8d7rejh.js → wellknown-rhjbct0v.js} +4 -4
  213. package/dist/chunks/{shell-6wsfawph.js → wellknown-rrxsaae4.js} +13 -13
  214. package/dist/chunks/{shell-tw3zdh9f.js → wellknown-rsbn0fcn.js} +21 -21
  215. package/dist/chunks/{shell-7vvv5wyx.js → wellknown-rxkspqj9.js} +7 -7
  216. package/dist/chunks/{shell-tsadq9bd.js → wellknown-rys8zzfc.js} +23 -23
  217. package/dist/chunks/{shell-7rwqf82v.js → wellknown-rzs3gq0x.js} +8 -8
  218. package/dist/chunks/{shell-b9x5zb31.js → wellknown-s2ew5zhm.js} +84 -84
  219. package/dist/chunks/{shell-2cfbypp4.js → wellknown-s2hc5wjj.js} +4 -4
  220. package/dist/chunks/{shell-s4enseaf.js → wellknown-s4enseaf.js} +2 -2
  221. package/dist/chunks/{shell-48m56tyw.js → wellknown-s7vss6zf.js} +15 -15
  222. package/dist/chunks/{shell-f6z1vvb1.js → wellknown-sjgknyar.js} +8 -8
  223. package/dist/chunks/{shell-bkwfsa8d.js → wellknown-spev15wm.js} +9 -9
  224. package/dist/chunks/{shell-avm8jn6n.js → wellknown-sra9araw.js} +5 -5
  225. package/dist/chunks/{shell-1w0b4a26.js → wellknown-ssdq1t99.js} +10 -10
  226. package/dist/chunks/{shell-gna9hx4h.js → wellknown-stk7aj9c.js} +18 -18
  227. package/dist/chunks/{shell-yb93st4g.js → wellknown-stmrx373.js} +8 -8
  228. package/dist/chunks/{shell-tec192gq.js → wellknown-sw4z7rqk.js} +16 -16
  229. package/dist/chunks/{shell-nfmhh18x.js → wellknown-szrbzcjd.js} +27 -27
  230. package/dist/chunks/{shell-hztfeys8.js → wellknown-t2j7eqzx.js} +35 -35
  231. package/dist/chunks/{shell-pqyb1j4v.js → wellknown-t2tmd77d.js} +26 -26
  232. package/dist/chunks/{shell-7s9404gx.js → wellknown-t5y73egm.js} +26 -26
  233. package/dist/chunks/{shell-a9fh1xd3.js → wellknown-t6e95mzg.js} +6 -6
  234. package/dist/chunks/{shell-tazgh4e4.js → wellknown-tazgh4e4.js} +1 -1
  235. package/dist/chunks/{shell-tcezcvh9.js → wellknown-tcezcvh9.js} +1 -1
  236. package/dist/chunks/{shell-tdstcens.js → wellknown-tdstcens.js} +1 -1
  237. package/dist/chunks/{shell-cr81t2vd.js → wellknown-tf4x7bac.js} +6 -6
  238. package/dist/chunks/{shell-qfkr4h51.js → wellknown-trdgkbgm.js} +20 -20
  239. package/dist/chunks/{shell-tvtrv512.js → wellknown-tvtrv512.js} +1 -1
  240. package/dist/chunks/{shell-9qeb1hh1.js → wellknown-v0pw3s3m.js} +48 -48
  241. package/dist/chunks/{shell-tyhjxzyj.js → wellknown-vakvjtqr.js} +3 -3
  242. package/dist/chunks/{shell-tbmac1c7.js → wellknown-vbfgae2j.js} +4 -4
  243. package/dist/chunks/{shell-veqvce7d.js → wellknown-veqvce7d.js} +1 -1
  244. package/dist/chunks/{shell-29yjt9fr.js → wellknown-vkfwmpk4.js} +325 -325
  245. package/dist/chunks/{shell-5h3x3awa.js → wellknown-vqmgxh08.js} +5 -5
  246. package/dist/chunks/{shell-jhtb5f97.js → wellknown-vrdgc38a.js} +30 -30
  247. package/dist/chunks/{shell-ffybh0wk.js → wellknown-vrf00v9y.js} +5 -5
  248. package/dist/chunks/{shell-fepbnb8j.js → wellknown-vykevjvn.js} +5 -5
  249. package/dist/chunks/{shell-vzcthcp8.js → wellknown-vzcthcp8.js} +1 -1
  250. package/dist/chunks/{shell-vzs5sf6e.js → wellknown-vzs5sf6e.js} +1 -1
  251. package/dist/chunks/{shell-pcwxzhdm.js → wellknown-w1d6802m.js} +3 -3
  252. package/dist/chunks/{shell-84txncab.js → wellknown-w1eejvng.js} +5 -5
  253. package/dist/chunks/{shell-w3wsvvr9.js → wellknown-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{shell-5785y2ep.js → wellknown-w552p3va.js} +42 -42
  255. package/dist/chunks/{shell-psa9hm71.js → wellknown-w718jc0k.js} +11 -11
  256. package/dist/chunks/{shell-dhdpfhyp.js → wellknown-w7bd8vdp.js} +8 -8
  257. package/dist/chunks/{shell-pstb62p2.js → wellknown-wasjttrh.js} +23 -23
  258. package/dist/chunks/{shell-wd87259q.js → wellknown-wd87259q.js} +1 -1
  259. package/dist/chunks/{shell-rs8qp985.js → wellknown-we2x3x45.js} +4 -4
  260. package/dist/chunks/{shell-s532705d.js → wellknown-wh8dp25y.js} +9 -9
  261. package/dist/chunks/{shell-f7jve23h.js → wellknown-wz6t5by9.js} +13 -13
  262. package/dist/chunks/{shell-x1ezjp6w.js → wellknown-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{shell-gs4tkc79.js → wellknown-x2qdxhwm.js} +8 -8
  264. package/dist/chunks/{shell-wg0dbssz.js → wellknown-x65pzh39.js} +10 -10
  265. package/dist/chunks/{shell-zsasz6gv.js → wellknown-xcqptzhp.js} +19 -19
  266. package/dist/chunks/{shell-dmqcgk4z.js → wellknown-xkntkrq7.js} +5 -5
  267. package/dist/chunks/{shell-nxhmsv4t.js → wellknown-xmgh8e8k.js} +177 -177
  268. package/dist/chunks/{shell-r19vg6ms.js → wellknown-xp89vksz.js} +11 -11
  269. package/dist/chunks/{shell-zbjyzcd7.js → wellknown-xq9mxwgm.js} +15 -15
  270. package/dist/chunks/{shell-6zck5j37.js → wellknown-xswzb4kc.js} +29 -29
  271. package/dist/chunks/{shell-y1fvbwt7.js → wellknown-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{shell-3b9qt4hj.js → wellknown-y54hr7f3.js} +9 -9
  273. package/dist/chunks/{shell-8805xwn4.js → wellknown-y6mz8vze.js} +1 -1
  274. package/dist/chunks/{shell-k93zhc7s.js → wellknown-y8xa2k4j.js} +11 -11
  275. package/dist/chunks/{shell-pjbr20qj.js → wellknown-ybzspq0s.js} +51 -51
  276. package/dist/chunks/{shell-k8csyqq2.js → wellknown-ydqn5d54.js} +22 -22
  277. package/dist/chunks/{shell-6pwzktg7.js → wellknown-yh1s390g.js} +11 -11
  278. package/dist/chunks/{shell-yrhqyw5v.js → wellknown-yrhqyw5v.js} +1 -1
  279. package/dist/chunks/{shell-qzwd4pkf.js → wellknown-yyk7gbmy.js} +13 -13
  280. package/dist/chunks/{shell-z0bkrqjs.js → wellknown-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{shell-tpxv5eqt.js → wellknown-z606hban.js} +3 -3
  282. package/dist/chunks/{shell-y07tpj3e.js → wellknown-z8qjm4kc.js} +48 -48
  283. package/dist/chunks/{shell-11040j7v.js → wellknown-zanch5yy.js} +23 -23
  284. package/dist/chunks/{shell-zeh9ct20.js → wellknown-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{shell-4j10ng35.js → wellknown-zhr2g1ae.js} +8 -8
  286. package/dist/chunks/{shell-2ccbzhav.js → wellknown-zn5188kg.js} +13 -13
  287. package/dist/chunks/{shell-zr2ceqn5.js → wellknown-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{shell-rpg9c19m.js → wellknown-zvt5dnpc.js} +4 -4
  289. package/dist/chunks/{shell-zxq2ej10.js → wellknown-zxq2ej10.js} +1 -1
  290. package/dist/chunks/{shell-3k0nn0ne.js → wellknown-zyr433b0.js} +8 -8
  291. package/dist/chunks/{shell-90nab8ev.js → wellknown-zz2gve7a.js} +12 -12
  292. package/dist/chunks/{shell-xp0mhm80.js → wellknown-zzn5c76v.js} +16 -16
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +9 -9
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +85 -85
  298. package/dist/config/discovery.js +82 -82
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +125 -125
  302. package/dist/config/plugin/command.js +215 -215
  303. package/dist/config/plugin/compaction.js +161 -161
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +125 -125
  310. package/dist/config/plugin/mcp.js +132 -132
  311. package/dist/config/plugin/policy.js +124 -124
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +125 -125
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +144 -144
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +126 -126
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +124 -124
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +128 -128
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +79 -79
  327. package/dist/database/database.js +66 -66
  328. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +13 -13
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +14 -14
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +76 -76
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +372 -372
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +1 -1
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +95 -95
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +74 -74
  417. package/dist/file-access.js +104 -104
  418. package/dist/file-mutation.js +94 -94
  419. package/dist/file-retention.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +6 -6
  426. package/dist/filesystem/location-watcher.js +228 -228
  427. package/dist/filesystem/protected.js +1 -1
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +15 -15
  431. package/dist/filesystem.js +106 -106
  432. package/dist/form.js +82 -82
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +87 -87
  435. package/dist/generate.js +101 -101
  436. package/dist/git.js +10 -10
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +99 -99
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +363 -363
  461. package/dist/instruction-discovery.js +85 -85
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +3 -3
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +85 -85
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +135 -135
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-service-map.js +86 -86
  472. package/dist/location-services.js +360 -360
  473. package/dist/location.js +87 -87
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +103 -103
  477. package/dist/mcp/instructions.js +127 -127
  478. package/dist/mcp/oauth.js +78 -78
  479. package/dist/mcp/stdio.js +90 -90
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +99 -99
  482. package/dist/model-resolver.js +98 -98
  483. package/dist/model.js +98 -98
  484. package/dist/models-dev.js +101 -101
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +80 -80
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +107 -107
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +88 -88
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +75 -75
  494. package/dist/plugin/agent.js +104 -104
  495. package/dist/plugin/command.js +102 -102
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +219 -219
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +335 -335
  501. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  502. package/dist/plugin/models-dev.js +96 -96
  503. package/dist/plugin/module.js +7 -7
  504. package/dist/plugin/optimize.js +2 -2
  505. package/dist/plugin/plan.js +102 -102
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  508. package/dist/plugin/provider/azure.js +124 -124
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/chatgpt.js +93 -93
  511. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  512. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  513. package/dist/plugin/provider/cohere.js +2 -2
  514. package/dist/plugin/provider/configured.js +119 -119
  515. package/dist/plugin/provider/digitalocean.js +93 -93
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/gateway.js +2 -2
  519. package/dist/plugin/provider/github-copilot.js +95 -95
  520. package/dist/plugin/provider/gitlab.js +93 -93
  521. package/dist/plugin/provider/google-vertex.js +90 -90
  522. package/dist/plugin/provider/kilo.js +1 -1
  523. package/dist/plugin/provider/llmgateway.js +78 -78
  524. package/dist/plugin/provider/lmstudio.js +122 -122
  525. package/dist/plugin/provider/modal.js +92 -92
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +122 -122
  528. package/dist/plugin/provider/openai.js +93 -93
  529. package/dist/plugin/provider/opencode.js +95 -95
  530. package/dist/plugin/provider/openrouter.js +91 -91
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +79 -79
  533. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  534. package/dist/plugin/provider/sap-ai-core.js +91 -91
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  537. package/dist/plugin/provider/venice.js +2 -2
  538. package/dist/plugin/provider/vercel.js +90 -90
  539. package/dist/plugin/provider/vllm.js +122 -122
  540. package/dist/plugin/provider/xai.js +91 -91
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +163 -163
  543. package/dist/plugin/sdk.js +76 -76
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +141 -141
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +354 -354
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +86 -86
  551. package/dist/plugin/vcs/hg.js +86 -86
  552. package/dist/plugin/verbosity.js +93 -93
  553. package/dist/plugin/warming.js +121 -121
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +8 -8
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +6 -6
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +226 -226
  562. package/dist/project/schema.js +8 -8
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +90 -90
  565. package/dist/provider.js +97 -97
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +97 -97
  569. package/dist/reference/instructions.js +87 -87
  570. package/dist/reference.js +89 -89
  571. package/dist/repository-cache.js +81 -81
  572. package/dist/repository.js +3 -3
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +97 -97
  575. package/dist/rpc.js +86 -86
  576. package/dist/schema.js +1 -1
  577. package/dist/session/affinity.js +1 -1
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +133 -133
  580. package/dist/session/context.js +153 -153
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +5 -5
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +225 -225
  586. package/dist/session/execution.js +126 -126
  587. package/dist/session/generate.js +152 -152
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +90 -90
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +79 -79
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +97 -97
  594. package/dist/session/message-updater.js +4 -4
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +118 -118
  597. package/dist/session/model-transport.js +7 -7
  598. package/dist/session/move.js +130 -130
  599. package/dist/session/projector.js +86 -86
  600. package/dist/session/prompt.js +105 -105
  601. package/dist/session/provider-context.js +3 -3
  602. package/dist/session/revert.js +90 -90
  603. package/dist/session/run-coordinator.js +1 -1
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +232 -232
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +98 -98
  608. package/dist/session/runner/publish-llm-event.js +3 -3
  609. package/dist/session/runner/retry.js +4 -4
  610. package/dist/session/runner/step.js +126 -126
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +172 -172
  614. package/dist/session/shell.js +138 -138
  615. package/dist/session/skill.js +103 -103
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +73 -73
  618. package/dist/session/store.js +87 -87
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +211 -211
  621. package/dist/session/system-prompt.js +3 -3
  622. package/dist/session/title.js +157 -157
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +221 -221
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +219 -219
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +15 -15
  631. package/dist/shell.js +140 -140
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +107 -107
  634. package/dist/skill.js +112 -112
  635. package/dist/snapshot.js +91 -91
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +124 -124
  640. package/dist/tool/plugin/edit.js +120 -120
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +124 -124
  643. package/dist/tool/plugin/grep.js +122 -122
  644. package/dist/tool/plugin/mcp-resource.js +117 -117
  645. package/dist/tool/plugin/opencode.js +3 -3
  646. package/dist/tool/plugin/patch.js +122 -122
  647. package/dist/tool/plugin/question.js +101 -101
  648. package/dist/tool/plugin/read.js +125 -125
  649. package/dist/tool/plugin/shell.js +218 -218
  650. package/dist/tool/plugin/skill.js +111 -111
  651. package/dist/tool/plugin/subagent.js +218 -218
  652. package/dist/tool/plugin/webfetch.js +112 -112
  653. package/dist/tool/plugin/websearch.js +108 -108
  654. package/dist/tool/plugin/write.js +114 -114
  655. package/dist/tool/read-filesystem.js +100 -100
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +8 -8
  658. package/dist/tool.js +16 -16
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/error.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/iife.js +1 -1
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +5 -5
  669. package/dist/v1/config/attachment.js +4 -4
  670. package/dist/v1/config/command.js +5 -5
  671. package/dist/v1/config/config.js +14 -14
  672. package/dist/v1/config/error.js +2 -2
  673. package/dist/v1/config/formatter.js +1 -1
  674. package/dist/v1/config/layout.js +1 -1
  675. package/dist/v1/config/lsp.js +3 -3
  676. package/dist/v1/config/mcp.js +4 -4
  677. package/dist/v1/config/migrate.js +92 -92
  678. package/dist/v1/config/permission.js +3 -3
  679. package/dist/v1/config/plugin.js +3 -3
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +4 -4
  682. package/dist/v1/config/server.js +2 -2
  683. package/dist/v1/config/skills.js +3 -3
  684. package/dist/v1/permission.js +1 -1
  685. package/dist/variant.js +93 -93
  686. package/dist/vcs/patch.js +1 -1
  687. package/dist/vcs.js +89 -89
  688. package/dist/websearch.js +82 -82
  689. package/dist/wellknown/plugin.js +74 -74
  690. package/dist/wellknown.js +79 -79
  691. package/dist/workspace/driver.js +3 -3
  692. package/dist/workspace/sql.js +1 -1
  693. package/dist/workspace.js +78 -78
  694. package/dist/worktree/directory.js +2 -2
  695. package/dist/worktree/git.js +10 -10
  696. package/dist/worktree/sql.js +5 -5
  697. package/dist/worktree/strategies.js +89 -89
  698. package/dist/worktree.js +96 -96
  699. package/package.json +8 -8
  700. package/dist/chunks/shell-619r8v3y.js +0 -18
  701. package/dist/chunks/shell-d1z9x6fa.js +0 -252
  702. package/dist/chunks/shell-z76f73v3.js +0 -26
  703. /package/dist/chunks/{shell-0qkdqm5v.js → wellknown-0qkdqm5v.js} +0 -0
  704. /package/dist/chunks/{shell-0zkw76rk.js → wellknown-0zkw76rk.js} +0 -0
  705. /package/dist/chunks/{shell-17cy0kzp.js → wellknown-17cy0kzp.js} +0 -0
  706. /package/dist/chunks/{shell-1cnp2v09.js → wellknown-1cnp2v09.js} +0 -0
  707. /package/dist/chunks/{shell-1kg9ymc8.js → wellknown-1kg9ymc8.js} +0 -0
  708. /package/dist/chunks/{shell-24dcb14g.js → wellknown-24dcb14g.js} +0 -0
  709. /package/dist/chunks/{shell-2710q6r3.js → wellknown-2710q6r3.js} +0 -0
  710. /package/dist/chunks/{shell-2axfhc9x.js → wellknown-2axfhc9x.js} +0 -0
  711. /package/dist/chunks/{shell-2c3vjs8z.js → wellknown-2c3vjs8z.js} +0 -0
  712. /package/dist/chunks/{shell-34c7v6d4.js → wellknown-34c7v6d4.js} +0 -0
  713. /package/dist/chunks/{shell-359p4xyc.js → wellknown-359p4xyc.js} +0 -0
  714. /package/dist/chunks/{shell-3asan66x.js → wellknown-3asan66x.js} +0 -0
  715. /package/dist/chunks/{shell-3v8g72cx.js → wellknown-3v8g72cx.js} +0 -0
  716. /package/dist/chunks/{shell-3w5fmr99.js → wellknown-3w5fmr99.js} +0 -0
  717. /package/dist/chunks/{shell-3wcehsnq.js → wellknown-3wcehsnq.js} +0 -0
  718. /package/dist/chunks/{shell-43n2bw4t.js → wellknown-43n2bw4t.js} +0 -0
  719. /package/dist/chunks/{shell-4knz6hnm.js → wellknown-4knz6hnm.js} +0 -0
  720. /package/dist/chunks/{shell-4vcrnpx2.js → wellknown-4vcrnpx2.js} +0 -0
  721. /package/dist/chunks/{shell-4y7fprxs.js → wellknown-4y7fprxs.js} +0 -0
  722. /package/dist/chunks/{shell-53557ph1.js → wellknown-53557ph1.js} +0 -0
  723. /package/dist/chunks/{shell-550bvhaj.js → wellknown-550bvhaj.js} +0 -0
  724. /package/dist/chunks/{shell-6prwharc.js → wellknown-6prwharc.js} +0 -0
  725. /package/dist/chunks/{shell-7akdwqpd.js → wellknown-7akdwqpd.js} +0 -0
  726. /package/dist/chunks/{shell-7m9af43g.js → wellknown-7m9af43g.js} +0 -0
  727. /package/dist/chunks/{shell-822emrt2.js → wellknown-822emrt2.js} +0 -0
  728. /package/dist/chunks/{shell-88xbtdfr.js → wellknown-88xbtdfr.js} +0 -0
  729. /package/dist/chunks/{shell-8n3pysct.js → wellknown-8n3pysct.js} +0 -0
  730. /package/dist/chunks/{shell-8wj87zfr.js → wellknown-8wj87zfr.js} +0 -0
  731. /package/dist/chunks/{shell-922hggd3.js → wellknown-922hggd3.js} +0 -0
  732. /package/dist/chunks/{shell-9a4afbnw.js → wellknown-9a4afbnw.js} +0 -0
  733. /package/dist/chunks/{shell-9rqn6x4v.js → wellknown-9rqn6x4v.js} +0 -0
  734. /package/dist/chunks/{shell-a6k6eb26.js → wellknown-a6k6eb26.js} +0 -0
  735. /package/dist/chunks/{shell-af5trqkr.js → wellknown-af5trqkr.js} +0 -0
  736. /package/dist/chunks/{shell-afrmfg78.js → wellknown-afrmfg78.js} +0 -0
  737. /package/dist/chunks/{shell-aqzs7mqg.js → wellknown-aqzs7mqg.js} +0 -0
  738. /package/dist/chunks/{shell-atq7p7m5.js → wellknown-atq7p7m5.js} +0 -0
  739. /package/dist/chunks/{shell-bkyjaxrp.js → wellknown-bkyjaxrp.js} +0 -0
  740. /package/dist/chunks/{shell-bmr6ed5q.js → wellknown-bmr6ed5q.js} +0 -0
  741. /package/dist/chunks/{shell-cf4snx6d.js → wellknown-cf4snx6d.js} +0 -0
  742. /package/dist/chunks/{shell-cvy3z8tj.js → wellknown-cvy3z8tj.js} +0 -0
  743. /package/dist/chunks/{shell-d9fn303g.js → wellknown-d9fn303g.js} +0 -0
  744. /package/dist/chunks/{shell-d9jj8t3e.js → wellknown-d9jj8t3e.js} +0 -0
  745. /package/dist/chunks/{shell-dajrwvna.js → wellknown-dajrwvna.js} +0 -0
  746. /package/dist/chunks/{shell-dap0rakb.js → wellknown-dap0rakb.js} +0 -0
  747. /package/dist/chunks/{shell-df08tz66.js → wellknown-df08tz66.js} +0 -0
  748. /package/dist/chunks/{shell-dy18nga0.js → wellknown-dy18nga0.js} +0 -0
  749. /package/dist/chunks/{shell-e3qxr5gk.js → wellknown-e3qxr5gk.js} +0 -0
  750. /package/dist/chunks/{shell-e5kj55wp.js → wellknown-e5kj55wp.js} +0 -0
  751. /package/dist/chunks/{shell-e73j6tqm.js → wellknown-e73j6tqm.js} +0 -0
  752. /package/dist/chunks/{shell-ec1grn59.js → wellknown-ec1grn59.js} +0 -0
  753. /package/dist/chunks/{shell-eh3zwz77.js → wellknown-eh3zwz77.js} +0 -0
  754. /package/dist/chunks/{shell-emrn6kk6.js → wellknown-emrn6kk6.js} +0 -0
  755. /package/dist/chunks/{shell-f0mxakyp.js → wellknown-f0mxakyp.js} +0 -0
  756. /package/dist/chunks/{shell-f6n9ztr4.js → wellknown-f6n9ztr4.js} +0 -0
  757. /package/dist/chunks/{shell-faypxj3z.js → wellknown-faypxj3z.js} +0 -0
  758. /package/dist/chunks/{shell-fd410y7t.js → wellknown-fd410y7t.js} +0 -0
  759. /package/dist/chunks/{shell-fxgpk5d8.js → wellknown-fxgpk5d8.js} +0 -0
  760. /package/dist/chunks/{shell-g4wezp1m.js → wellknown-g4wezp1m.js} +0 -0
  761. /package/dist/chunks/{shell-g86h250q.js → wellknown-g86h250q.js} +0 -0
  762. /package/dist/chunks/{shell-gebd4c9n.js → wellknown-gebd4c9n.js} +0 -0
  763. /package/dist/chunks/{shell-gftt206x.js → wellknown-gftt206x.js} +0 -0
  764. /package/dist/chunks/{shell-hjbc5kem.js → wellknown-hjbc5kem.js} +0 -0
  765. /package/dist/chunks/{shell-hk9envan.js → wellknown-hk9envan.js} +0 -0
  766. /package/dist/chunks/{shell-j2ntwpah.js → wellknown-j2ntwpah.js} +0 -0
  767. /package/dist/chunks/{shell-j5zkgpj8.js → wellknown-j5zkgpj8.js} +0 -0
  768. /package/dist/chunks/{shell-jjkms2e6.js → wellknown-jjkms2e6.js} +0 -0
  769. /package/dist/chunks/{shell-jr7sbwjy.js → wellknown-jr7sbwjy.js} +0 -0
  770. /package/dist/chunks/{shell-jwfs4k6c.js → wellknown-jwfs4k6c.js} +0 -0
  771. /package/dist/chunks/{shell-jzg6c2d5.js → wellknown-jzg6c2d5.js} +0 -0
  772. /package/dist/chunks/{shell-mp448xyj.js → wellknown-mp448xyj.js} +0 -0
  773. /package/dist/chunks/{shell-msx8hqn2.js → wellknown-msx8hqn2.js} +0 -0
  774. /package/dist/chunks/{shell-n05xt0ee.js → wellknown-n05xt0ee.js} +0 -0
  775. /package/dist/chunks/{shell-n3j8tn72.js → wellknown-n3j8tn72.js} +0 -0
  776. /package/dist/chunks/{shell-njntx4h6.js → wellknown-njntx4h6.js} +0 -0
  777. /package/dist/chunks/{shell-q3sfg36h.js → wellknown-q3sfg36h.js} +0 -0
  778. /package/dist/chunks/{shell-q74kybfr.js → wellknown-q74kybfr.js} +0 -0
  779. /package/dist/chunks/{shell-qaymkmh1.js → wellknown-qaymkmh1.js} +0 -0
  780. /package/dist/chunks/{shell-qb87gjwd.js → wellknown-qb87gjwd.js} +0 -0
  781. /package/dist/chunks/{shell-qfa1cgps.js → wellknown-qfa1cgps.js} +0 -0
  782. /package/dist/chunks/{shell-qg3g05ea.js → wellknown-qg3g05ea.js} +0 -0
  783. /package/dist/chunks/{shell-qrg20bc0.js → wellknown-qrg20bc0.js} +0 -0
  784. /package/dist/chunks/{shell-rcb2kzg1.js → wellknown-rcb2kzg1.js} +0 -0
  785. /package/dist/chunks/{shell-sdp7kfr6.js → wellknown-sdp7kfr6.js} +0 -0
  786. /package/dist/chunks/{shell-sk3qaz4a.js → wellknown-sk3qaz4a.js} +0 -0
  787. /package/dist/chunks/{shell-ssg3fenm.js → wellknown-ssg3fenm.js} +0 -0
  788. /package/dist/chunks/{shell-w803qqfp.js → wellknown-w803qqfp.js} +0 -0
  789. /package/dist/chunks/{shell-wc3fc9cn.js → wellknown-wc3fc9cn.js} +0 -0
  790. /package/dist/chunks/{shell-wer8tq1h.js → wellknown-wer8tq1h.js} +0 -0
  791. /package/dist/chunks/{shell-wtztk69x.js → wellknown-wtztk69x.js} +0 -0
  792. /package/dist/chunks/{shell-x0ckcb58.js → wellknown-x0ckcb58.js} +0 -0
  793. /package/dist/chunks/{shell-x61499pn.js → wellknown-x61499pn.js} +0 -0
  794. /package/dist/chunks/{shell-y44na4kk.js → wellknown-y44na4kk.js} +0 -0
  795. /package/dist/chunks/{shell-y8cydn3q.js → wellknown-y8cydn3q.js} +0 -0
  796. /package/dist/chunks/{shell-y8f7s663.js → wellknown-y8f7s663.js} +0 -0
  797. /package/dist/chunks/{shell-ygaqb7jw.js → wellknown-ygaqb7jw.js} +0 -0
  798. /package/dist/chunks/{shell-ym463w8f.js → wellknown-ym463w8f.js} +0 -0
  799. /package/dist/chunks/{shell-z9919s4g.js → wellknown-z9919s4g.js} +0 -0
@@ -1,37 +1,37 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./shell-ap9eas8m.js";
2
+ Service82,
3
+ node86
4
+ } from "./wellknown-e7rr3zef.js";
5
5
  import {
6
- Service79,
7
- node83
8
- } from "./shell-xp0mhm80.js";
6
+ Service80,
7
+ node84
8
+ } from "./wellknown-zzn5c76v.js";
9
9
  import {
10
10
  ID9,
11
- Service63,
12
- node66
13
- } from "./shell-h6wkafze.js";
11
+ Service58,
12
+ node61
13
+ } from "./wellknown-ps96thee.js";
14
14
  import {
15
- NotFoundError8
16
- } from "./shell-n9gk7fk1.js";
15
+ NotFoundError7
16
+ } from "./wellknown-0zdym56s.js";
17
17
  import {
18
- Service62,
19
- node65
20
- } from "./shell-xkx2jhzt.js";
18
+ Service57,
19
+ node60
20
+ } from "./wellknown-cwkg0kwh.js";
21
21
  import {
22
22
  match2
23
- } from "./shell-y1fvbwt7.js";
23
+ } from "./wellknown-y1fvbwt7.js";
24
24
  import {
25
- Service61,
26
- node64
27
- } from "./shell-rb29dj05.js";
25
+ Service56,
26
+ node59
27
+ } from "./wellknown-1n8pm4fs.js";
28
28
  import {
29
- Service73,
30
- node77
31
- } from "./shell-4e8vs6eh.js";
29
+ Service59,
30
+ node62
31
+ } from "./wellknown-3a83a0n4.js";
32
32
  import {
33
33
  __export
34
- } from "./shell-9rqn6x4v.js";
34
+ } from "./wellknown-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
37
  var exports_permission = {};
@@ -42,26 +42,26 @@ __export(exports_permission, {
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event12,
45
+ Event: () => Event10,
46
46
  ID: () => ID7,
47
- NotFoundError: () => NotFoundError7,
47
+ NotFoundError: () => NotFoundError6,
48
48
  Permission: () => exports_permission,
49
49
  Reply: () => Reply2,
50
50
  ReplyInput: () => ReplyInput2,
51
51
  Request: () => Request2,
52
52
  Rule: () => Rule2,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service60,
54
+ Service: () => Service55,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node63
58
+ node: () => node58
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
63
  import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event12 } from "@opencode/schema/permission";
64
+ import { Event as Event10 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
67
  var ID7 = Permission.ID;
@@ -110,7 +110,7 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
110
110
  }
111
111
  }
112
112
 
113
- class NotFoundError7 extends Schema.TaggedError()("Permission.NotFoundError", {
113
+ class NotFoundError6 extends Schema.TaggedError()("Permission.NotFoundError", {
114
114
  requestID: ID7
115
115
  }) {
116
116
  }
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service60 extends Context.Service()("@opencode/Permission") {
128
+ class Service55 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service60, Effect.gen(function* () {
131
- const bus = yield* Service83;
132
- const location = yield* Service79;
133
- const agents = yield* Service63;
134
- const sessions = yield* Service62;
135
- const saved = yield* Service61;
136
- const hooks = yield* Service73;
130
+ var layer = Layer.effect(Service55, Effect.gen(function* () {
131
+ const bus = yield* Service82;
132
+ const location = yield* Service80;
133
+ const agents = yield* Service58;
134
+ const sessions = yield* Service57;
135
+ const saved = yield* Service56;
136
+ const hooks = yield* Service59;
137
137
  const pending = new Map;
138
138
  let closed = false;
139
139
  const close = Effect.gen(function* () {
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
156
156
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
157
157
  const session = yield* sessions.get(sessionID);
158
158
  if (!session)
159
- return yield* new NotFoundError8({ sessionID });
159
+ return yield* new NotFoundError7({ sessionID });
160
160
  const agent = yield* agents.resolve(agentID ?? session.agent);
161
161
  return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
162
162
  });
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
242
242
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
243
243
  const existing = pending.get(input.requestID);
244
244
  if (!existing)
245
- return yield* new NotFoundError7({ requestID: input.requestID });
245
+ return yield* new NotFoundError6({ requestID: input.requestID });
246
246
  yield* bus.publish(Permission.Event.Replied, {
247
247
  sessionID: existing.request.sessionID,
248
248
  requestID: existing.request.id,
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
297
297
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
298
298
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
299
299
  });
300
- return Service60.of({ ask, assert, reply, get, forSession, list, close });
300
+ return Service55.of({ ask, assert, reply, get, forSession, list, close });
301
301
  }));
302
- var node63 = makeLocationNode({
303
- service: Service60,
302
+ var node58 = makeLocationNode({
303
+ service: Service55,
304
304
  layer,
305
- deps: [node87, node83, node66, node65, node64, node77]
305
+ deps: [node86, node84, node61, node60, node59, node62]
306
306
  });
307
307
 
308
- export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service60, node63, exports_permission, Rule2, Ruleset2, Event12 };
308
+ export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError6, evaluate2, merge2, Service55, node58, exports_permission, Rule2, Ruleset2, Event10 };
@@ -1,35 +1,35 @@
1
1
  import {
2
2
  useragent2
3
- } from "./shell-mgpyxjx6.js";
3
+ } from "./wellknown-ev0saa8z.js";
4
4
  import {
5
- Service83
6
- } from "./shell-ap9eas8m.js";
5
+ Service82
6
+ } from "./wellknown-e7rr3zef.js";
7
7
  import {
8
8
  ID15,
9
9
  OAuth3,
10
- Event19,
11
- Service78
12
- } from "./shell-q47e89a1.js";
10
+ Event20,
11
+ Service76
12
+ } from "./wellknown-94cgg493.js";
13
13
  import {
14
14
  key2
15
- } from "./shell-dnxkq42g.js";
15
+ } from "./wellknown-mpk0rfs5.js";
16
16
  import {
17
- ID14,
17
+ ID13,
18
18
  MethodID2
19
- } from "./shell-qpe8tk8s.js";
19
+ } from "./wellknown-12zc50tf.js";
20
20
  import {
21
- ID13,
21
+ ID12,
22
22
  mergeOverlay2
23
- } from "./shell-6zck5j37.js";
23
+ } from "./wellknown-xswzb4kc.js";
24
24
  import {
25
25
  ID11,
26
26
  VariantID2,
27
- Info25
28
- } from "./shell-bbt4s1em.js";
27
+ Info24
28
+ } from "./wellknown-1mbawdqw.js";
29
29
  import {
30
30
  success2,
31
31
  error2
32
- } from "./shell-pjvnvgmy.js";
32
+ } from "./wellknown-pjvnvgmy.js";
33
33
 
34
34
  // src/plugin/provider/chatgpt.ts
35
35
  import { define } from "@opencode/plugin/effect/plugin";
@@ -41,8 +41,8 @@ var issuer = "https://auth.openai.com";
41
41
  var tokenURL = `${issuer}/api/accounts/oauth/token`;
42
42
  var resource = "https://api.openai.com/v1";
43
43
  var tokenSharingScope = "chatgpt.tokens.use.direct";
44
- var providerID = ID13.openai;
45
- var integrationID = ID14.make("openai");
44
+ var providerID = ID12.openai;
45
+ var integrationID = ID13.make("openai");
46
46
  var methodID = MethodID2.make("chatgpt-token-sharing");
47
47
  var modelCacheKey = (clientID) => `models:${clientID}`;
48
48
  var fallbackModels = new Set([
@@ -171,8 +171,8 @@ function listen(server) {
171
171
  var ChatGPTPlugin2 = define({
172
172
  id: "opencode.provider.chatgpt",
173
173
  effect: Effect.fn(function* (ctx) {
174
- const bus = yield* Service83;
175
- const credentials = yield* Service78;
174
+ const bus = yield* Service82;
175
+ const credentials = yield* Service76;
176
176
  const loading = Semaphore.makeUnsafe(1);
177
177
  let chatgpt;
178
178
  let available;
@@ -194,7 +194,7 @@ var ChatGPTPlugin2 = define({
194
194
  yield* ctx.integration.transform((editor) => {
195
195
  editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
196
196
  });
197
- yield* Effect.forEach(yield* credentials.list(ID14.make("openai")), (entry) => {
197
+ yield* Effect.forEach(yield* credentials.list(ID13.make("openai")), (entry) => {
198
198
  const value = entry.value;
199
199
  if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
200
200
  return Effect.void;
@@ -279,7 +279,7 @@ var ChatGPTPlugin2 = define({
279
279
  }));
280
280
  });
281
281
  const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload()))).pipe(Effect.andThen(refreshModels().pipe(Effect.forkScoped, Effect.asVoid)));
282
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
282
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
283
283
  yield* refreshModels().pipe(Effect.forkScoped);
284
284
  yield* Effect.sleep(Duration.minutes(15)).pipe(Effect.andThen(refreshModels), Effect.forever, Effect.forkScoped);
285
285
  })
@@ -338,7 +338,7 @@ function deriveModels2(remote, existing) {
338
338
  const found = byID.get(model.modelID);
339
339
  return found ? [deriveModel(found, model)] : [];
340
340
  }),
341
- ...remote.filter((model) => !known.has(ID11.make(model.slug))).map((model) => deriveModel(model, Info25.default(ID13.openai, ID11.make(model.slug))))
341
+ ...remote.filter((model) => !known.has(ID11.make(model.slug))).map((model) => deriveModel(model, Info24.default(ID12.openai, ID11.make(model.slug))))
342
342
  ];
343
343
  }
344
344
  function deriveModel(remote, previous) {
@@ -2,7 +2,7 @@ import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2,
4
4
  mapUpdateSet2
5
- } from "./shell-emrn6kk6.js";
5
+ } from "./wellknown-emrn6kk6.js";
6
6
 
7
7
  // src/database/drizzle/sqlite-core/effect/insert.ts
8
8
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  __export
3
- } from "./shell-9rqn6x4v.js";
3
+ } from "./wellknown-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/plugin.ts
6
6
  var exports_plugin3 = {};
7
7
  __export(exports_plugin3, {
8
8
  ConfigPluginV1: () => exports_plugin3,
9
- Options: () => Options8,
9
+ Options: () => Options9,
10
10
  Spec: () => Spec2
11
11
  });
12
12
  import { Schema } from "effect";
13
- var Options8 = Schema.Record(Schema.String, Schema.Unknown);
14
- var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options8]))]);
13
+ var Options9 = Schema.Record(Schema.String, Schema.Unknown);
14
+ var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options9]))]);
15
15
 
16
- export { Options8, Spec2, exports_plugin3 };
16
+ export { Options9, Spec2, exports_plugin3 };
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  ID9,
3
- Service63
4
- } from "./shell-h6wkafze.js";
3
+ Service58
4
+ } from "./wellknown-ps96thee.js";
5
5
  import {
6
6
  Ref2,
7
- Service72
8
- } from "./shell-bbt4s1em.js";
7
+ Service69
8
+ } from "./wellknown-1mbawdqw.js";
9
9
  import {
10
10
  latest2,
11
- Service66
12
- } from "./shell-zp34c0n6.js";
11
+ Service63
12
+ } from "./wellknown-6qsyht78.js";
13
13
  import {
14
14
  SessionSchema2
15
- } from "./shell-6bsje7ws.js";
15
+ } from "./wellknown-5epte933.js";
16
16
  import {
17
- Service58
18
- } from "./shell-8558arf1.js";
17
+ Service60
18
+ } from "./wellknown-nx4bp6rh.js";
19
19
  import {
20
20
  evaluate2,
21
- Service60
22
- } from "./shell-dm6v0cnj.js";
21
+ Service55
22
+ } from "./wellknown-6vqdytr6.js";
23
23
  import {
24
- Service25
25
- } from "./shell-xfn62cer.js";
24
+ Service26
25
+ } from "./wellknown-rc5hc0js.js";
26
26
  import {
27
27
  NO_TEXT2
28
- } from "./shell-x1ezjp6w.js";
28
+ } from "./wellknown-x1ezjp6w.js";
29
29
  import {
30
- make5
31
- } from "./shell-r19vg6ms.js";
30
+ make10
31
+ } from "./wellknown-xp89vksz.js";
32
32
  import {
33
33
  __export
34
- } from "./shell-9rqn6x4v.js";
34
+ } from "./wellknown-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/subagent.ts
37
37
  var exports_subagent = {};
38
38
  __export(exports_subagent, {
39
- Input: () => Input11,
40
- Output: () => Output7,
41
- Plugin: () => Plugin31,
39
+ Input: () => Input10,
40
+ Output: () => Output6,
41
+ Plugin: () => Plugin27,
42
42
  SubagentTool: () => exports_subagent,
43
43
  description: () => description5,
44
- name: () => name11
44
+ name: () => name10
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai";
47
47
  import { Effect, Predicate, Schema } from "effect";
48
- var name11 = "subagent";
48
+ var name10 = "subagent";
49
49
  var backgroundResult = (sessionID) => ({
50
50
  sessionID,
51
51
  status: "running",
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
56
56
  ].join(`
57
57
  `)
58
58
  });
59
- var Input11 = Schema.Struct({
59
+ var Input10 = Schema.Struct({
60
60
  agent: Schema.String.annotate({
61
61
  description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
62
62
  }),
@@ -72,7 +72,7 @@ var Input11 = Schema.Struct({
72
72
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
73
73
  })
74
74
  });
75
- var Output7 = Schema.Struct({
75
+ var Output6 = Schema.Struct({
76
76
  sessionID: SessionSchema2.ID,
77
77
  status: Schema.Literals(["completed", "running"]),
78
78
  output: Schema.String
@@ -86,16 +86,16 @@ var description5 = [
86
86
  "Use background only for independent work that can run while you continue elsewhere."
87
87
  ].join(`
88
88
  `);
89
- var Plugin31 = {
89
+ var Plugin27 = {
90
90
  id: "opencode.tool.subagent",
91
91
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
92
- const sessions = yield* Service25;
93
- const jobs = yield* Service58;
94
- const agents = yield* Service63;
95
- const config = yield* Service66;
96
- const permission = yield* Service60;
97
- const models = yield* Service72;
98
- const subagents = yield* make5;
92
+ const sessions = yield* Service26;
93
+ const jobs = yield* Service60;
94
+ const agents = yield* Service58;
95
+ const config = yield* Service63;
96
+ const permission = yield* Service55;
97
+ const models = yield* Service69;
98
+ const subagents = yield* make10;
99
99
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
100
100
  const ref = yield* Effect.try({
101
101
  try: () => Ref2.parse(input),
@@ -115,11 +115,11 @@ var Plugin31 = {
115
115
  return ref;
116
116
  });
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name11,
118
+ name: name10,
119
119
  options: { codemode: false },
120
120
  description: description5,
121
- input: Input11,
122
- output: Output7,
121
+ input: Input10,
122
+ output: Output6,
123
123
  execute: (input, context) => Effect.gen(function* () {
124
124
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
125
125
  let current = parent;
@@ -139,7 +139,7 @@ var Plugin31 = {
139
139
  if (agent.mode === "primary")
140
140
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
141
141
  yield* permission.assert({
142
- action: name11,
142
+ action: name10,
143
143
  resources: [agent.id],
144
144
  save: [agent.id],
145
145
  sessionID: context.sessionID,
@@ -218,7 +218,7 @@ ${output.output}
218
218
  })))
219
219
  })).pipe(Effect.orDie);
220
220
  yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
221
- if (event.tool !== name11 || !Predicate.isObject(event.input))
221
+ if (event.tool !== name10 || !Predicate.isObject(event.input))
222
222
  return;
223
223
  if (event.input.model !== "" && event.input.sessionID !== "")
224
224
  return;
@@ -230,13 +230,13 @@ ${output.output}
230
230
  event.input = input;
231
231
  }));
232
232
  const hook = (event) => Effect.gen(function* () {
233
- const tool = event.tools[name11];
233
+ const tool = event.tools[name10];
234
234
  if (!tool)
235
235
  return;
236
236
  const selected = yield* agents.resolve(event.agent);
237
237
  if (!selected)
238
238
  return;
239
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name11, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
239
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name10, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
240
240
  if (available.length === 0)
241
241
  return;
242
242
  tool.description = [
@@ -253,4 +253,4 @@ ${output.output}
253
253
  })
254
254
  };
255
255
 
256
- export { name11, Input11, Output7, description5, Plugin31, exports_subagent };
256
+ export { name10, Input10, Output6, description5, Plugin27, exports_subagent };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  openaiFailedResponseHandler2
3
- } from "./shell-550bvhaj.js";
3
+ } from "./wellknown-550bvhaj.js";
4
4
  import {
5
5
  convertToOpenAIResponsesInput2
6
- } from "./shell-j5zkgpj8.js";
6
+ } from "./wellknown-j5zkgpj8.js";
7
7
  import {
8
8
  mapOpenAIResponseFinishReason2
9
- } from "./shell-3asan66x.js";
9
+ } from "./wellknown-3asan66x.js";
10
10
  import {
11
11
  prepareResponsesTools2
12
- } from "./shell-fepbnb8j.js";
12
+ } from "./wellknown-vykevjvn.js";
13
13
 
14
14
  // src/github-copilot/responses/openai-responses-language-model.ts
15
15
  import {
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./shell-mgpyxjx6.js";
3
+ } from "./wellknown-ev0saa8z.js";
4
4
  import {
5
5
  call2
6
- } from "./shell-56gdpj1q.js";
6
+ } from "./wellknown-1ygqh575.js";
7
7
  import {
8
8
  __export
9
- } from "./shell-9rqn6x4v.js";
9
+ } from "./wellknown-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/parallel.ts
12
12
  var exports_parallel = {};
13
13
  __export(exports_parallel, {
14
- Plugin: () => Plugin39,
14
+ Plugin: () => Plugin7,
15
15
  WebSearchParallel: () => exports_parallel,
16
- endpoint: () => endpoint6
16
+ endpoint: () => endpoint5
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Schema } from "effect";
20
20
  import { HttpClient } from "effect/unstable/http";
21
- var endpoint6 = "https://search.parallel.ai/mcp";
21
+ var endpoint5 = "https://search.parallel.ai/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  objective: Schema.String,
24
24
  search_queries: Schema.Array(Schema.String),
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
47
47
  content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
48
48
  structuredContent: SearchResponse
49
49
  });
50
- var Plugin39 = define({
50
+ var Plugin7 = define({
51
51
  id: "opencode.websearch.parallel",
52
52
  effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
53
53
  const http = yield* HttpClient.HttpClient;
@@ -69,7 +69,7 @@ var Plugin39 = define({
69
69
  execute: (input) => Effect.gen(function* () {
70
70
  const connection = yield* ctx.integration.connection.active("parallel");
71
71
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
72
- const result = yield* call2(http, endpoint6, "web_search", { input: McpInput, output: McpOutput }, {
72
+ const result = yield* call2(http, endpoint5, "web_search", { input: McpInput, output: McpOutput }, {
73
73
  objective: input.query,
74
74
  search_queries: [input.query]
75
75
  }, {
@@ -93,4 +93,4 @@ var Plugin39 = define({
93
93
  })
94
94
  });
95
95
 
96
- export { endpoint6, Plugin39, exports_parallel };
96
+ export { endpoint5, Plugin7, exports_parallel };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID13
3
- } from "./shell-6zck5j37.js";
2
+ ID12
3
+ } from "./wellknown-xswzb4kc.js";
4
4
 
5
5
  // src/plugin/provider/amazon-bedrock.ts
6
6
  import { Effect } from "effect";
@@ -18,7 +18,7 @@ var AmazonBedrockPlugin2 = define({
18
18
  effect: Effect.fn(function* (ctx) {
19
19
  yield* ctx.integration.transform((editor) => {
20
20
  editor.method.update({
21
- integrationID: ID13.amazonBedrock,
21
+ integrationID: ID12.amazonBedrock,
22
22
  method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
23
23
  });
24
24
  });
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  resolveNullableObjectPaths2,
3
3
  mapResultRow2
4
- } from "./shell-emrn6kk6.js";
4
+ } from "./wellknown-emrn6kk6.js";
5
5
  import {
6
6
  SQLiteEffectDatabase2
7
- } from "./shell-kbww7b3v.js";
7
+ } from "./wellknown-d6kf3zw4.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/session.ts
10
10
  import * as Cause from "effect/Cause";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./shell-qaymkmh1.js";
3
+ } from "./wellknown-qaymkmh1.js";
4
4
 
5
5
  // src/ripgrep/binary.ts
6
6
  import path from "path";