@opencode/core 0.0.0-dev-19825 → 0.0.0-dev-19829

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 (796) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{model-resolver-5qt1pv7d.js → shell-00c69978.js} +9 -9
  8. package/dist/chunks/{model-resolver-z1j8fwgr.js → shell-04cmhvk1.js} +11 -11
  9. package/dist/chunks/{model-resolver-c2fpeh16.js → shell-04tsrbgn.js} +11 -11
  10. package/dist/chunks/{model-resolver-02nrjc1r.js → shell-0gdmqesm.js} +8 -8
  11. package/dist/chunks/{model-resolver-x9ajzjwe.js → shell-0gr9k9jq.js} +23 -23
  12. package/dist/chunks/{model-resolver-vr2vg3zy.js → shell-0m0tvs7x.js} +4 -4
  13. package/dist/chunks/shell-0mesazry.js +4 -0
  14. package/dist/chunks/{model-resolver-0paq2nw3.js → shell-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{model-resolver-0q0f95c6.js → shell-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{model-resolver-1whgvkhb.js → shell-0sz44tra.js} +31 -31
  17. package/dist/chunks/{model-resolver-at58p27x.js → shell-0wy5r46e.js} +24 -24
  18. package/dist/chunks/{model-resolver-tders91x.js → shell-0z6w7vfv.js} +12 -12
  19. package/dist/chunks/{model-resolver-z36d3h7g.js → shell-10786k6d.js} +10 -10
  20. package/dist/chunks/{model-resolver-6nxs6bmb.js → shell-14bt54yq.js} +6 -6
  21. package/dist/chunks/{model-resolver-p7nsp59h.js → shell-18e56dsp.js} +4 -4
  22. package/dist/chunks/{model-resolver-deajav4h.js → shell-193xwtyj.js} +3 -3
  23. package/dist/chunks/{model-resolver-1dazxqgg.js → shell-1dazxqgg.js} +2 -2
  24. package/dist/chunks/{model-resolver-had4kgfk.js → shell-1fmrbde1.js} +6 -6
  25. package/dist/chunks/{model-resolver-va2p3qdk.js → shell-1md1qdpw.js} +24 -24
  26. package/dist/chunks/{model-resolver-a2j8gyzs.js → shell-1mzv1c38.js} +19 -19
  27. package/dist/chunks/{model-resolver-21r38tys.js → shell-21r38tys.js} +1 -1
  28. package/dist/chunks/{model-resolver-qewhjxtc.js → shell-232mp01t.js} +10 -10
  29. package/dist/chunks/{model-resolver-6h73sxmp.js → shell-2402vzrj.js} +5 -5
  30. package/dist/chunks/{model-resolver-2sv6c61x.js → shell-2596hts6.js} +9 -9
  31. package/dist/chunks/{model-resolver-z63w68vq.js → shell-29x78va6.js} +6 -6
  32. package/dist/chunks/{model-resolver-2a5m3afh.js → shell-2a5m3afh.js} +1 -1
  33. package/dist/chunks/{model-resolver-qayd3wzs.js → shell-2mfnnxhz.js} +8 -8
  34. package/dist/chunks/{model-resolver-wrmrmykr.js → shell-2qq7qy34.js} +9 -9
  35. package/dist/chunks/{model-resolver-mwt452g0.js → shell-2yw9x73f.js} +6 -6
  36. package/dist/chunks/{model-resolver-t0fxg8b9.js → shell-3cfzdc8e.js} +5 -5
  37. package/dist/chunks/{model-resolver-3fc6dm20.js → shell-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{model-resolver-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{model-resolver-bdrygk5x.js → shell-3jztwn8f.js} +15 -15
  40. package/dist/chunks/{model-resolver-3smtnn6g.js → shell-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{model-resolver-zhxq7wpj.js → shell-3sqvqkfr.js} +15 -15
  42. package/dist/chunks/{model-resolver-3tvqynh2.js → shell-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{model-resolver-020nhycz.js → shell-4179h1gg.js} +5 -5
  44. package/dist/chunks/{model-resolver-hzjt009y.js → shell-4734c8z8.js} +11 -11
  45. package/dist/chunks/shell-47chsc3m.js +492 -0
  46. package/dist/chunks/{model-resolver-5d7aan1t.js → shell-47y5x0ww.js} +30 -30
  47. package/dist/chunks/{model-resolver-pp5arfp9.js → shell-4a2gq99j.js} +36 -36
  48. package/dist/chunks/{model-resolver-1hav7hz4.js → shell-4kh1nwqr.js} +23 -23
  49. package/dist/chunks/{model-resolver-mfqp6xfm.js → shell-56gdpj1q.js} +6 -6
  50. package/dist/chunks/{model-resolver-5daktx2q.js → shell-5daktx2q.js} +1 -1
  51. package/dist/chunks/{model-resolver-45anmqk8.js → shell-5gr2bydf.js} +12 -12
  52. package/dist/chunks/{model-resolver-fbmcmy2w.js → shell-5mqe3xfr.js} +4 -4
  53. package/dist/chunks/{model-resolver-5t3nmthw.js → shell-5t3nmthw.js} +2 -2
  54. package/dist/chunks/{model-resolver-tm5ahrk2.js → shell-5y2vywwx.js} +5 -5
  55. package/dist/chunks/{model-resolver-8gb3p5gx.js → shell-60wapyds.js} +21 -21
  56. package/dist/chunks/{model-resolver-gtc37187.js → shell-62mx6wrr.js} +33 -33
  57. package/dist/chunks/{model-resolver-paegk39x.js → shell-64kphnzf.js} +4 -4
  58. package/dist/chunks/{model-resolver-669tq793.js → shell-669tq793.js} +1 -1
  59. package/dist/chunks/{model-resolver-m9r6vjpz.js → shell-67qfhfqw.js} +4 -4
  60. package/dist/chunks/{model-resolver-x2fva0gh.js → shell-69vves8j.js} +13 -13
  61. package/dist/chunks/{model-resolver-3f2adkq6.js → shell-6c7e9ex4.js} +27 -27
  62. package/dist/chunks/{model-resolver-93d5c3p8.js → shell-6khtd4yg.js} +3 -3
  63. package/dist/chunks/{model-resolver-sw7ectjd.js → shell-6m0y8wpe.js} +11 -11
  64. package/dist/chunks/{model-resolver-6msgmcgs.js → shell-6msgmcgs.js} +1 -1
  65. package/dist/chunks/{model-resolver-xk5qfe87.js → shell-6pbjhcd6.js} +17 -17
  66. package/dist/chunks/{model-resolver-f3ngv102.js → shell-6sr3ve8g.js} +21 -21
  67. package/dist/chunks/{model-resolver-61fj4v2j.js → shell-6tpd68sk.js} +18 -18
  68. package/dist/chunks/{model-resolver-v1h3kxjj.js → shell-70nkn1qr.js} +26 -26
  69. package/dist/chunks/{model-resolver-s3hdfs1j.js → shell-71s7e542.js} +27 -27
  70. package/dist/chunks/{model-resolver-4a8jsfjg.js → shell-77pfjge1.js} +20 -20
  71. package/dist/chunks/{model-resolver-se2qvfz1.js → shell-78khjh1c.js} +3 -3
  72. package/dist/chunks/{model-resolver-c4v1e0kz.js → shell-7a8mk1f1.js} +19 -19
  73. package/dist/chunks/{model-resolver-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{model-resolver-zxbqrrvg.js → shell-7mf9d7ct.js} +66 -66
  75. package/dist/chunks/{model-resolver-388eqbaa.js → shell-7nzcq6wz.js} +32 -32
  76. package/dist/chunks/{model-resolver-td0y98rs.js → shell-7pnvrq9t.js} +43 -43
  77. package/dist/chunks/{model-resolver-n0tq777j.js → shell-7s451enq.js} +8 -8
  78. package/dist/chunks/{model-resolver-yr8whrpt.js → shell-84h0jzwt.js} +9 -9
  79. package/dist/chunks/{model-resolver-dg4f34fa.js → shell-88gqwsb4.js} +47 -47
  80. package/dist/chunks/{model-resolver-8d7r5vzw.js → shell-8d7r5vzw.js} +1 -1
  81. package/dist/chunks/{model-resolver-ye0sgdwz.js → shell-8dhvaqy8.js} +10 -10
  82. package/dist/chunks/{model-resolver-x2abejx6.js → shell-8evg2433.js} +8 -8
  83. package/dist/chunks/{model-resolver-cn090jyv.js → shell-8fcb94yc.js} +15 -15
  84. package/dist/chunks/{model-resolver-dqtg3793.js → shell-8fwt1t4b.js} +15 -15
  85. package/dist/chunks/{model-resolver-5gjvpwac.js → shell-8h15ta6z.js} +4 -4
  86. package/dist/chunks/{model-resolver-8p4f9s12.js → shell-8p4f9s12.js} +2 -2
  87. package/dist/chunks/{model-resolver-hhq4mbvj.js → shell-8x97acre.js} +13 -13
  88. package/dist/chunks/{model-resolver-azbfhwfn.js → shell-90jcfcfk.js} +10 -10
  89. package/dist/chunks/{model-resolver-3axdyzka.js → shell-9adc2k8r.js} +17 -17
  90. package/dist/chunks/{model-resolver-q6nw98mh.js → shell-9p5441cr.js} +20 -19
  91. package/dist/chunks/{model-resolver-ar4d9jpk.js → shell-9ppe4kxp.js} +55 -55
  92. package/dist/chunks/shell-9sh4wc5j.js +18 -0
  93. package/dist/chunks/{model-resolver-a1bz86dw.js → shell-a1bz86dw.js} +3 -3
  94. package/dist/chunks/{model-resolver-hkagk5ex.js → shell-a3r4dcrj.js} +2 -2
  95. package/dist/chunks/{model-resolver-cp0393ap.js → shell-a5357yyf.js} +11 -11
  96. package/dist/chunks/{model-resolver-pt292bv7.js → shell-a8gkj1nm.js} +14 -14
  97. package/dist/chunks/{model-resolver-aaet6srn.js → shell-aaet6srn.js} +2 -2
  98. package/dist/chunks/{model-resolver-ajmg8w9c.js → shell-aamtrqep.js} +9 -9
  99. package/dist/chunks/{model-resolver-67wvcnxv.js → shell-abwdezg1.js} +24 -24
  100. package/dist/chunks/{model-resolver-pdv94s4z.js → shell-ac8tb6gc.js} +5 -5
  101. package/dist/chunks/{model-resolver-y85jehk6.js → shell-ae8xrtf0.js} +25 -25
  102. package/dist/chunks/shell-ahrspnxt.js +65 -0
  103. package/dist/chunks/{model-resolver-r8fpbd5t.js → shell-ar3g8qf7.js} +44 -44
  104. package/dist/chunks/{model-resolver-52fpbh6z.js → shell-aryyw1nk.js} +8 -8
  105. package/dist/chunks/{model-resolver-b7359s7r.js → shell-b0mpvq4g.js} +39 -39
  106. package/dist/chunks/{model-resolver-xgvz8aqb.js → shell-b2xgp1w7.js} +9 -9
  107. package/dist/chunks/{model-resolver-s172k70m.js → shell-b4zhfjcm.js} +28 -28
  108. package/dist/chunks/{model-resolver-b6gygkdw.js → shell-b6gygkdw.js} +2 -2
  109. package/dist/chunks/{model-resolver-f4e894nd.js → shell-bawq69mj.js} +13 -13
  110. package/dist/chunks/{model-resolver-hzz7dkwv.js → shell-bhch6x5n.js} +9 -9
  111. package/dist/chunks/{model-resolver-5rnnm2b5.js → shell-bkxyw0dr.js} +9 -9
  112. package/dist/chunks/{model-resolver-spq00ka2.js → shell-bwckxjxx.js} +11 -11
  113. package/dist/chunks/{model-resolver-g5epyhxx.js → shell-cd1rqchx.js} +18 -18
  114. package/dist/chunks/{model-resolver-cfpkc3c9.js → shell-cfpkc3c9.js} +2 -2
  115. package/dist/chunks/{model-resolver-61m3qh6y.js → shell-chzskk9w.js} +33 -33
  116. package/dist/chunks/{model-resolver-j8zzr2am.js → shell-cmbqfntm.js} +4 -4
  117. package/dist/chunks/{model-resolver-pngaa6th.js → shell-cnkp4rx2.js} +5 -5
  118. package/dist/chunks/{model-resolver-prxamd8a.js → shell-css7wnya.js} +10 -10
  119. package/dist/chunks/{model-resolver-djszqvmq.js → shell-cwa6csj7.js} +9 -9
  120. package/dist/chunks/{model-resolver-5xtgfte3.js → shell-czfptnv9.js} +8 -8
  121. package/dist/chunks/{model-resolver-9gea571p.js → shell-d1mtykxg.js} +6 -6
  122. package/dist/chunks/{model-resolver-3rd3t3my.js → shell-d2fbw6yp.js} +14 -14
  123. package/dist/chunks/{model-resolver-n8nareh9.js → shell-d89q28en.js} +25 -25
  124. package/dist/chunks/{model-resolver-8r2zwmfy.js → shell-d945k8bv.js} +4 -4
  125. package/dist/chunks/{model-resolver-xgrb3kvx.js → shell-db1bz1g0.js} +26 -26
  126. package/dist/chunks/{model-resolver-bae6x12q.js → shell-dd6hp5pa.js} +23 -23
  127. package/dist/chunks/{model-resolver-tsyf12nv.js → shell-dd7y7kbq.js} +1 -1
  128. package/dist/chunks/{model-resolver-k4839s1d.js → shell-dgmx48zd.js} +18 -18
  129. package/dist/chunks/{model-resolver-9j3dqq3x.js → shell-djvy60dx.js} +11 -11
  130. package/dist/chunks/{model-resolver-zcdrxs46.js → shell-dpsf0pjj.js} +4 -4
  131. package/dist/chunks/{model-resolver-662vgtgv.js → shell-dq4yh11c.js} +5 -5
  132. package/dist/chunks/{model-resolver-d8ewt5hf.js → shell-dzr8y7x4.js} +18 -18
  133. package/dist/chunks/{model-resolver-afzhdx1e.js → shell-e2z6jaes.js} +24 -24
  134. package/dist/chunks/{model-resolver-c78c395z.js → shell-e3267ac7.js} +19 -19
  135. package/dist/chunks/{model-resolver-5qd3pb7m.js → shell-e3qxr5gk.js} +2 -2
  136. package/dist/chunks/{model-resolver-s8zy8myc.js → shell-ead3g9p8.js} +5 -5
  137. package/dist/chunks/{model-resolver-ef5x83kb.js → shell-ef5x83kb.js} +1 -1
  138. package/dist/chunks/{model-resolver-fn7gfzjh.js → shell-ejwfgtm7.js} +11 -11
  139. package/dist/chunks/{model-resolver-fxqygnfa.js → shell-epd1fg1b.js} +4 -4
  140. package/dist/chunks/{model-resolver-erw5rpbs.js → shell-erw5rpbs.js} +2 -2
  141. package/dist/chunks/{model-resolver-etq0c3wd.js → shell-etq0c3wd.js} +1 -1
  142. package/dist/chunks/{model-resolver-302vsmhn.js → shell-f1y4gyy3.js} +30 -30
  143. package/dist/chunks/{model-resolver-f828m53h.js → shell-f828m53h.js} +2 -2
  144. package/dist/chunks/{model-resolver-ydd32yv2.js → shell-ftjytw8f.js} +21 -21
  145. package/dist/chunks/{model-resolver-fxbjtjnd.js → shell-fxbjtjnd.js} +1 -1
  146. package/dist/chunks/{model-resolver-599cv9mn.js → shell-g13xtdf8.js} +20 -20
  147. package/dist/chunks/{model-resolver-3m5m9qrs.js → shell-gb7a9z7y.js} +19 -19
  148. package/dist/chunks/{model-resolver-gd4qta3r.js → shell-gd4qta3r.js} +1 -1
  149. package/dist/chunks/{model-resolver-0xv915x5.js → shell-gdjz0eq8.js} +3 -3
  150. package/dist/chunks/{model-resolver-84zt2byv.js → shell-gnfpqv4r.js} +9 -9
  151. package/dist/chunks/{model-resolver-gv6a8nnw.js → shell-gv6a8nnw.js} +2 -2
  152. package/dist/chunks/{model-resolver-cpj0znwe.js → shell-h6r3nrb9.js} +4 -4
  153. package/dist/chunks/{model-resolver-h6vf3j39.js → shell-h6vf3j39.js} +1 -1
  154. package/dist/chunks/{model-resolver-psz8a7r0.js → shell-hccg5b77.js} +7 -7
  155. package/dist/chunks/{model-resolver-xv7845dj.js → shell-hjp6q1sv.js} +12 -12
  156. package/dist/chunks/{model-resolver-t0vv8359.js → shell-hkhrhfk6.js} +181 -181
  157. package/dist/chunks/{model-resolver-e2hjzebn.js → shell-hn57h045.js} +4 -4
  158. package/dist/chunks/{model-resolver-gqkxh60r.js → shell-ht329kqa.js} +24 -24
  159. package/dist/chunks/{model-resolver-gfdjmmb6.js → shell-hx4e8k2p.js} +16 -16
  160. package/dist/chunks/{model-resolver-9eq5kwq7.js → shell-hz84tk5e.js} +5 -5
  161. package/dist/chunks/{model-resolver-j56e64zr.js → shell-j56e64zr.js} +1 -1
  162. package/dist/chunks/{model-resolver-afrtgck4.js → shell-jewzahs7.js} +4 -4
  163. package/dist/chunks/{model-resolver-ndmv45hp.js → shell-jexxy024.js} +3 -3
  164. package/dist/chunks/{model-resolver-jdfvscg1.js → shell-jfde95p5.js} +5 -5
  165. package/dist/chunks/{model-resolver-vstb6x8b.js → shell-jxhw35st.js} +17 -17
  166. package/dist/chunks/{model-resolver-eqfyccyr.js → shell-k21736m5.js} +20 -20
  167. package/dist/chunks/{model-resolver-k3c624dm.js → shell-k3c624dm.js} +3 -3
  168. package/dist/chunks/{model-resolver-vggvkcjb.js → shell-k5hkvprj.js} +8 -8
  169. package/dist/chunks/{model-resolver-0mj02m0m.js → shell-k6gr57ez.js} +11 -11
  170. package/dist/chunks/{model-resolver-xfdrc2qg.js → shell-k9kj6xed.js} +8 -8
  171. package/dist/chunks/{model-resolver-wv3gb8g4.js → shell-ka7sz6we.js} +21 -21
  172. package/dist/chunks/{model-resolver-g4tydmkk.js → shell-kg1ftbm8.js} +11 -11
  173. package/dist/chunks/{model-resolver-7ahjg70a.js → shell-km6psw9z.js} +16 -16
  174. package/dist/chunks/{model-resolver-3pbjq009.js → shell-kmyx2sbj.js} +9 -9
  175. package/dist/chunks/{model-resolver-xxzhzqzk.js → shell-kws74awx.js} +2 -2
  176. package/dist/chunks/{model-resolver-m3fdjcah.js → shell-m3fdjcah.js} +1 -1
  177. package/dist/chunks/{model-resolver-e1hrzsan.js → shell-m549exyf.js} +12 -12
  178. package/dist/chunks/{model-resolver-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
  179. package/dist/chunks/{model-resolver-qq8y32fb.js → shell-mbefvd2h.js} +5 -5
  180. package/dist/chunks/{model-resolver-d0yqsex8.js → shell-md6p9qq0.js} +23 -23
  181. package/dist/chunks/{model-resolver-j0aemhh7.js → shell-mkg78xt7.js} +47 -47
  182. package/dist/chunks/{model-resolver-sdaja34n.js → shell-mnhev4jw.js} +32 -32
  183. package/dist/chunks/{model-resolver-mvfsc1pv.js → shell-mvfsc1pv.js} +1 -1
  184. package/dist/chunks/{model-resolver-da534a5t.js → shell-n333v114.js} +24 -24
  185. package/dist/chunks/{model-resolver-hr6wd4xv.js → shell-n6s06knt.js} +28 -28
  186. package/dist/chunks/shell-n8dhm2n4.js +252 -0
  187. package/dist/chunks/{model-resolver-ass6jfzc.js → shell-n91sfy53.js} +20 -20
  188. package/dist/chunks/{model-resolver-phx6da97.js → shell-ne15jcy8.js} +11 -11
  189. package/dist/chunks/{model-resolver-0vtgharz.js → shell-ng0yjpwq.js} +15 -15
  190. package/dist/chunks/{model-resolver-h71w788e.js → shell-njhqdk9p.js} +9 -9
  191. package/dist/chunks/{model-resolver-z5p64esd.js → shell-njpvr8gz.js} +15 -15
  192. package/dist/chunks/{model-resolver-m6dz94as.js → shell-njw6fdmp.js} +43 -43
  193. package/dist/chunks/{model-resolver-d8q14kxf.js → shell-nr2vdfax.js} +9 -9
  194. package/dist/chunks/{model-resolver-qwbyjwn2.js → shell-nvan94z6.js} +22 -22
  195. package/dist/chunks/{model-resolver-afx6jjxh.js → shell-nyk4ge42.js} +26 -26
  196. package/dist/chunks/{model-resolver-hnr5yq9h.js → shell-p1nm93x7.js} +5 -5
  197. package/dist/chunks/{model-resolver-mxf3pqwm.js → shell-p4fpyqnd.js} +6 -6
  198. package/dist/chunks/{model-resolver-tzrwg04y.js → shell-p7met2a1.js} +7 -7
  199. package/dist/chunks/{model-resolver-94vh82pz.js → shell-pchc4tkx.js} +37 -37
  200. package/dist/chunks/{model-resolver-pjvnvgmy.js → shell-pjvnvgmy.js} +1 -1
  201. package/dist/chunks/{model-resolver-pknna89w.js → shell-pknna89w.js} +1 -1
  202. package/dist/chunks/{model-resolver-mk35kvz7.js → shell-ppwk445r.js} +18 -18
  203. package/dist/chunks/{model-resolver-yy7y4tn3.js → shell-pqnn72nj.js} +7 -7
  204. package/dist/chunks/{model-resolver-70c6s51t.js → shell-psyx3g25.js} +8 -8
  205. package/dist/chunks/{model-resolver-7dqw4kz8.js → shell-qgn6gcr1.js} +5 -5
  206. package/dist/chunks/{model-resolver-nhgg4y17.js → shell-qh1ex6mp.js} +19 -16
  207. package/dist/chunks/{model-resolver-wc548a52.js → shell-qj6dnhcz.js} +11 -11
  208. package/dist/chunks/{model-resolver-e80cp3zm.js → shell-qnjwqrg7.js} +22 -22
  209. package/dist/chunks/{model-resolver-mktnxe3b.js → shell-qrka3egj.js} +41 -41
  210. package/dist/chunks/{model-resolver-qsdy395h.js → shell-qsdy395h.js} +1 -1
  211. package/dist/chunks/{model-resolver-rctnpmcd.js → shell-qv03q5s7.js} +30 -30
  212. package/dist/chunks/{model-resolver-vzv9kxzp.js → shell-qxxm4vqn.js} +10 -10
  213. package/dist/chunks/{model-resolver-fytsnjje.js → shell-r3v8y99x.js} +1 -1
  214. package/dist/chunks/{model-resolver-gcavn3wx.js → shell-r4yqrmdq.js} +5 -5
  215. package/dist/chunks/{model-resolver-vz2xtr04.js → shell-r501ef8d.js} +5 -5
  216. package/dist/chunks/{model-resolver-j1bvcdkg.js → shell-rcwrsj14.js} +12 -12
  217. package/dist/chunks/{model-resolver-rdw6cm16.js → shell-rdw6cm16.js} +1 -1
  218. package/dist/chunks/{model-resolver-hxtxrrh5.js → shell-reyvdt5n.js} +86 -86
  219. package/dist/chunks/{model-resolver-645hz6vd.js → shell-rfmz5n69.js} +16 -16
  220. package/dist/chunks/{model-resolver-99rt69fd.js → shell-rjzyvn6d.js} +24 -24
  221. package/dist/chunks/{model-resolver-rfgcsz1j.js → shell-rm0ma2mx.js} +32 -32
  222. package/dist/chunks/{model-resolver-0ft9cg2j.js → shell-rph3zd4r.js} +4 -4
  223. package/dist/chunks/{model-resolver-714t0x07.js → shell-ryqp1849.js} +17 -17
  224. package/dist/chunks/{model-resolver-6yjhzckp.js → shell-rzzpe0pe.js} +9 -9
  225. package/dist/chunks/{model-resolver-yrznvahk.js → shell-s4enseaf.js} +2 -2
  226. package/dist/chunks/{model-resolver-jye6n1dv.js → shell-s8hmp7ng.js} +24 -24
  227. package/dist/chunks/{model-resolver-k5kzksx8.js → shell-sm332n37.js} +16 -16
  228. package/dist/chunks/shell-spb593b0.js +26 -0
  229. package/dist/chunks/{model-resolver-q4s6dcxk.js → shell-swbnbadx.js} +44 -44
  230. package/dist/chunks/{model-resolver-2brc3x9h.js → shell-t5kmb9e5.js} +11 -11
  231. package/dist/chunks/{model-resolver-gtybr0rh.js → shell-t7d1t835.js} +28 -28
  232. package/dist/chunks/{model-resolver-hynyds1q.js → shell-t7rmvvmw.js} +4 -4
  233. package/dist/chunks/{model-resolver-tazgh4e4.js → shell-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{model-resolver-p28j5sbe.js → shell-tbz0fdvh.js} +5 -5
  235. package/dist/chunks/{model-resolver-tcezcvh9.js → shell-tcezcvh9.js} +1 -1
  236. package/dist/chunks/{model-resolver-jp646bv9.js → shell-td5vtqzv.js} +4 -4
  237. package/dist/chunks/{model-resolver-tdstcens.js → shell-tdstcens.js} +1 -1
  238. package/dist/chunks/{model-resolver-5gb78qtd.js → shell-tgwryred.js} +19 -19
  239. package/dist/chunks/{model-resolver-epads6cz.js → shell-tn64gdye.js} +17 -17
  240. package/dist/chunks/{model-resolver-t9tmexac.js → shell-tq07f6ng.js} +22 -22
  241. package/dist/chunks/{model-resolver-tvtrv512.js → shell-tvtrv512.js} +1 -1
  242. package/dist/chunks/{model-resolver-vncycja5.js → shell-ve4pfa0n.js} +4 -4
  243. package/dist/chunks/{model-resolver-1xydzxfg.js → shell-vepy3mba.js} +6 -6
  244. package/dist/chunks/{model-resolver-veqvce7d.js → shell-veqvce7d.js} +1 -1
  245. package/dist/chunks/{model-resolver-bgv3s5qc.js → shell-vng3t00x.js} +36 -36
  246. package/dist/chunks/{model-resolver-7macgssb.js → shell-vtbq8t73.js} +11 -11
  247. package/dist/chunks/{model-resolver-d8byxyk8.js → shell-vyywk581.js} +7 -7
  248. package/dist/chunks/{model-resolver-vzcthcp8.js → shell-vzcthcp8.js} +1 -1
  249. package/dist/chunks/{model-resolver-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{model-resolver-20abag2s.js → shell-w7tar5ey.js} +12 -12
  251. package/dist/chunks/{model-resolver-25bty98p.js → shell-wc4rd7t6.js} +5 -5
  252. package/dist/chunks/{model-resolver-wd87259q.js → shell-wd87259q.js} +1 -1
  253. package/dist/chunks/{model-resolver-zgenf5ev.js → shell-wfdt4npz.js} +32 -32
  254. package/dist/chunks/{model-resolver-aqczg285.js → shell-wh971x00.js} +60 -60
  255. package/dist/chunks/{model-resolver-wrgxtjh4.js → shell-wk2cwt06.js} +20 -20
  256. package/dist/chunks/{model-resolver-69ck6qnd.js → shell-wmcxp5hn.js} +9 -9
  257. package/dist/chunks/{model-resolver-tcg29b4q.js → shell-wy8b5sm2.js} +1 -1
  258. package/dist/chunks/{model-resolver-x1ezjp6w.js → shell-x1ezjp6w.js} +1 -1
  259. package/dist/chunks/{model-resolver-5kkq0gjf.js → shell-x86cf5xt.js} +13 -13
  260. package/dist/chunks/{model-resolver-6hh8tjw2.js → shell-xb02k0wq.js} +4 -4
  261. package/dist/chunks/{model-resolver-s3zk8xvh.js → shell-xc0xf9na.js} +86 -86
  262. package/dist/chunks/{model-resolver-dvgz3dt4.js → shell-xccbzny3.js} +25 -25
  263. package/dist/chunks/{model-resolver-yxht4gzb.js → shell-xe0jn6g3.js} +5 -5
  264. package/dist/chunks/{model-resolver-xd87acyy.js → shell-xf79w3v8.js} +25 -25
  265. package/dist/chunks/{model-resolver-57b9ws8p.js → shell-xfkkasph.js} +7 -7
  266. package/dist/chunks/{model-resolver-d61582ny.js → shell-xkhv0wvg.js} +51 -51
  267. package/dist/chunks/{model-resolver-0pvezn32.js → shell-xp3dbh4a.js} +3 -3
  268. package/dist/chunks/{model-resolver-wngr9w9n.js → shell-xqdjg29d.js} +15 -15
  269. package/dist/chunks/{model-resolver-peyz0p0p.js → shell-xw8gwj9z.js} +7 -7
  270. package/dist/chunks/{model-resolver-y1fvbwt7.js → shell-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{model-resolver-y4cxnkp6.js → shell-y5k1zq1c.js} +23 -23
  272. package/dist/chunks/{model-resolver-y71avatq.js → shell-y71avatq.js} +1 -1
  273. package/dist/chunks/{model-resolver-whd5ad1s.js → shell-yp2r4xmd.js} +26 -26
  274. package/dist/chunks/{model-resolver-r8xr0va3.js → shell-yp2x3t23.js} +4 -4
  275. package/dist/chunks/{model-resolver-6vybgjkk.js → shell-yr8szs0n.js} +40 -40
  276. package/dist/chunks/{model-resolver-yrhqyw5v.js → shell-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{model-resolver-qvreyy9g.js → shell-yt3hy1g9.js} +5 -5
  278. package/dist/chunks/{model-resolver-2db12876.js → shell-yy6d0qfs.js} +11 -11
  279. package/dist/chunks/{model-resolver-z0bkrqjs.js → shell-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{model-resolver-swg14gxk.js → shell-z14b3j31.js} +3 -3
  281. package/dist/chunks/{model-resolver-j4206d7h.js → shell-z3mdkpet.js} +3 -3
  282. package/dist/chunks/{model-resolver-2g8vnf3k.js → shell-z6fnk1e0.js} +18 -18
  283. package/dist/chunks/{model-resolver-vss6mrqc.js → shell-z8a4aepc.js} +32 -32
  284. package/dist/chunks/{model-resolver-n272ptga.js → shell-zampddaz.js} +6 -6
  285. package/dist/chunks/{model-resolver-zeh9ct20.js → shell-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{model-resolver-30wd4m73.js → shell-zh1xv5zk.js} +13 -13
  287. package/dist/chunks/{model-resolver-zr2ceqn5.js → shell-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{model-resolver-5qbvy54r.js → shell-zw03yv4t.js} +6 -6
  289. package/dist/chunks/{model-resolver-2gskzpsx.js → shell-zxgv261n.js} +9 -9
  290. package/dist/chunks/{model-resolver-zxq2ej10.js → shell-zxq2ej10.js} +1 -1
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +9 -9
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +82 -82
  296. package/dist/config/discovery.js +81 -81
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +105 -105
  299. package/dist/config/plugin/agent.js +122 -122
  300. package/dist/config/plugin/command.js +211 -211
  301. package/dist/config/plugin/compaction.js +159 -159
  302. package/dist/config/plugin/compatibility.js +140 -140
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +123 -123
  305. package/dist/config/plugin/image.js +122 -122
  306. package/dist/config/plugin/instruction.js +89 -89
  307. package/dist/config/plugin/location-watcher.js +122 -122
  308. package/dist/config/plugin/mcp.js +129 -129
  309. package/dist/config/plugin/policy.js +122 -122
  310. package/dist/config/plugin/provider.js +122 -122
  311. package/dist/config/plugin/reference.js +124 -124
  312. package/dist/config/plugin/shell.js +122 -122
  313. package/dist/config/plugin/skill-file.js +101 -101
  314. package/dist/config/plugin/skill.js +141 -141
  315. package/dist/config/plugin/snapshot.js +122 -122
  316. package/dist/config/plugin/source.js +125 -125
  317. package/dist/config/plugin/tool-output.js +124 -124
  318. package/dist/config/plugin/websearch.js +121 -121
  319. package/dist/config/plugin/worktree.js +124 -124
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +127 -127
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +84 -84
  325. package/dist/database/database.js +65 -65
  326. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +13 -13
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +14 -14
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration.gen.js +48 -48
  390. package/dist/database/migration.js +50 -50
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +75 -75
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +368 -368
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +1 -1
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +92 -92
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +94 -94
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +1 -1
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +69 -69
  414. package/dist/file-access.js +103 -103
  415. package/dist/file-mutation.js +93 -93
  416. package/dist/file-retention.js +1 -1
  417. package/dist/file.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/ignore.js +1 -1
  423. package/dist/filesystem/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +224 -224
  425. package/dist/filesystem/protected.js +1 -1
  426. package/dist/filesystem/search.js +96 -96
  427. package/dist/filesystem/watcher-binding.js +3 -3
  428. package/dist/filesystem/watcher.js +15 -15
  429. package/dist/filesystem.js +101 -101
  430. package/dist/form.js +83 -83
  431. package/dist/formatter/builtins.js +2 -2
  432. package/dist/formatter.js +86 -86
  433. package/dist/generate.js +104 -104
  434. package/dist/git.js +10 -10
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +90 -90
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/id/id.js +1 -1
  455. package/dist/image/photon.js +2 -2
  456. package/dist/image.js +6 -6
  457. package/dist/instance/service.js +5 -5
  458. package/dist/instance.js +359 -359
  459. package/dist/instruction-discovery.js +82 -82
  460. package/dist/instructions/builtins.js +86 -86
  461. package/dist/instructions/index.js +5 -5
  462. package/dist/integration/connection.js +3 -3
  463. package/dist/integration.js +87 -87
  464. package/dist/job.js +74 -74
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +72 -72
  467. package/dist/location-activity.js +131 -131
  468. package/dist/location-lifecycle.js +105 -105
  469. package/dist/location-mutation.js +103 -103
  470. package/dist/location-service-map.js +85 -85
  471. package/dist/location-services.js +356 -356
  472. package/dist/location.js +88 -88
  473. package/dist/mcp/client.js +90 -90
  474. package/dist/mcp/index.js +107 -107
  475. package/dist/mcp/instructions.js +127 -127
  476. package/dist/mcp/oauth.js +77 -77
  477. package/dist/mcp/stdio.js +89 -89
  478. package/dist/mime.js +1 -1
  479. package/dist/modal/models.js +90 -90
  480. package/dist/model-resolver.js +97 -97
  481. package/dist/model.js +101 -101
  482. package/dist/models-dev.js +106 -106
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +81 -81
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +116 -116
  487. package/dist/persistent-pty/binary.bun.js +1 -1
  488. package/dist/persistent-pty/daemon.js +1 -1
  489. package/dist/persistent-pty/index.js +87 -87
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +74 -74
  492. package/dist/plugin/agent.js +101 -101
  493. package/dist/plugin/command.js +98 -98
  494. package/dist/plugin/compaction.js +130 -130
  495. package/dist/plugin/hooks.js +5 -5
  496. package/dist/plugin/host.js +217 -217
  497. package/dist/plugin/identity.js +3 -3
  498. package/dist/plugin/instance.js +5 -5
  499. package/dist/plugin/internal.js +330 -330
  500. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  501. package/dist/plugin/models-dev.js +95 -95
  502. package/dist/plugin/module.js +7 -7
  503. package/dist/plugin/optimize.js +4 -4
  504. package/dist/plugin/plan.js +101 -101
  505. package/dist/plugin/promise.js +1 -1
  506. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  507. package/dist/plugin/provider/azure.js +121 -121
  508. package/dist/plugin/provider/cerebras.js +1 -1
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +118 -118
  513. package/dist/plugin/provider/digitalocean.js +92 -92
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/gateway.js +2 -2
  517. package/dist/plugin/provider/github-copilot.js +92 -92
  518. package/dist/plugin/provider/gitlab.js +90 -90
  519. package/dist/plugin/provider/google-vertex.js +89 -89
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +76 -76
  522. package/dist/plugin/provider/lmstudio.js +121 -121
  523. package/dist/plugin/provider/modal.js +91 -91
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +121 -121
  526. package/dist/plugin/provider/openai.js +93 -93
  527. package/dist/plugin/provider/opencode.js +92 -92
  528. package/dist/plugin/provider/openrouter.js +90 -90
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +77 -77
  531. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  532. package/dist/plugin/provider/sap-ai-core.js +90 -90
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  535. package/dist/plugin/provider/venice.js +2 -2
  536. package/dist/plugin/provider/vercel.js +89 -89
  537. package/dist/plugin/provider/vllm.js +119 -119
  538. package/dist/plugin/provider/xai.js +90 -90
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +158 -158
  541. package/dist/plugin/sdk.js +73 -73
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +140 -140
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +349 -349
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +85 -85
  549. package/dist/plugin/vcs/hg.js +85 -85
  550. package/dist/plugin/warming.js +120 -120
  551. package/dist/plugin/websearch/exa.js +5 -5
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +4 -4
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +226 -226
  559. package/dist/project/schema.js +8 -8
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +89 -89
  562. package/dist/provider.js +100 -100
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/schema.js +3 -3
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +95 -95
  567. package/dist/reference/instructions.js +86 -86
  568. package/dist/reference.js +90 -90
  569. package/dist/repository-cache.js +80 -80
  570. package/dist/repository.js +3 -3
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +94 -94
  573. package/dist/rpc.js +85 -85
  574. package/dist/schema.js +1 -1
  575. package/dist/session/command.js +73 -73
  576. package/dist/session/compaction.js +129 -129
  577. package/dist/session/context.js +151 -151
  578. package/dist/session/diff.js +87 -87
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +7 -7
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +219 -219
  583. package/dist/session/execution.js +125 -125
  584. package/dist/session/generate.js +152 -152
  585. package/dist/session/history.js +15 -15
  586. package/dist/session/inbox.js +87 -87
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +76 -76
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +96 -96
  591. package/dist/session/message-updater.js +4 -4
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +116 -116
  594. package/dist/session/model-transport.js +7 -7
  595. package/dist/session/move.js +129 -129
  596. package/dist/session/projector.js +85 -85
  597. package/dist/session/prompt.js +104 -104
  598. package/dist/session/provider-context.js +3 -3
  599. package/dist/session/revert.js +89 -89
  600. package/dist/session/run-coordinator.js +3 -3
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +230 -230
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +97 -97
  605. package/dist/session/runner/publish-llm-event.js +3 -3
  606. package/dist/session/runner/retry.js +113 -113
  607. package/dist/session/runner/step.js +125 -125
  608. package/dist/session/runner/to-llm-message.js +2 -2
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +169 -169
  611. package/dist/session/shell.js +137 -137
  612. package/dist/session/skill.js +102 -102
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +72 -72
  615. package/dist/session/store.js +86 -86
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +209 -209
  618. package/dist/session/system-prompt.js +5 -5
  619. package/dist/session/title.js +155 -155
  620. package/dist/session/to-session-error.js +110 -110
  621. package/dist/session/transfer.js +216 -216
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +217 -217
  624. package/dist/shell/parse.js +6 -6
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +13 -13
  628. package/dist/shell.js +139 -139
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +104 -104
  631. package/dist/skill.js +111 -111
  632. package/dist/snapshot.js +88 -88
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +124 -124
  637. package/dist/tool/plugin/edit.js +113 -113
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +115 -115
  640. package/dist/tool/plugin/grep.js +121 -121
  641. package/dist/tool/plugin/opencode.js +3 -3
  642. package/dist/tool/plugin/patch.js +121 -121
  643. package/dist/tool/plugin/question.js +100 -100
  644. package/dist/tool/plugin/read.js +118 -118
  645. package/dist/tool/plugin/shell.js +214 -214
  646. package/dist/tool/plugin/skill.js +112 -112
  647. package/dist/tool/plugin/subagent.js +218 -218
  648. package/dist/tool/plugin/webfetch.js +105 -105
  649. package/dist/tool/plugin/websearch.js +109 -109
  650. package/dist/tool/plugin/write.js +121 -121
  651. package/dist/tool/read-filesystem.js +99 -99
  652. package/dist/tool/runtime.js +1 -1
  653. package/dist/tool-output.js +8 -8
  654. package/dist/tool.js +12 -12
  655. package/dist/util/error-summary.js +1 -1
  656. package/dist/util/error.js +1 -1
  657. package/dist/util/git-executable.js +2 -2
  658. package/dist/util/iife.js +1 -1
  659. package/dist/util/lazy.js +1 -1
  660. package/dist/util/slug.js +1 -1
  661. package/dist/util/token.js +1 -1
  662. package/dist/util/which.js +1 -1
  663. package/dist/util/wildcard.js +1 -1
  664. package/dist/v1/config/agent.js +5 -5
  665. package/dist/v1/config/attachment.js +4 -4
  666. package/dist/v1/config/command.js +3 -3
  667. package/dist/v1/config/config.js +16 -16
  668. package/dist/v1/config/error.js +4 -4
  669. package/dist/v1/config/formatter.js +3 -3
  670. package/dist/v1/config/layout.js +1 -1
  671. package/dist/v1/config/lsp.js +3 -3
  672. package/dist/v1/config/mcp.js +4 -4
  673. package/dist/v1/config/migrate.js +91 -91
  674. package/dist/v1/config/permission.js +7 -7
  675. package/dist/v1/config/plugin.js +3 -3
  676. package/dist/v1/config/provider-options.js +1 -1
  677. package/dist/v1/config/provider.js +4 -4
  678. package/dist/v1/config/server.js +2 -2
  679. package/dist/v1/config/skills.js +3 -3
  680. package/dist/v1/permission.js +1 -1
  681. package/dist/variant.js +92 -92
  682. package/dist/vcs/patch.js +1 -1
  683. package/dist/vcs.js +88 -88
  684. package/dist/websearch.js +79 -79
  685. package/dist/wellknown/plugin.js +75 -75
  686. package/dist/wellknown.js +80 -80
  687. package/dist/workspace/driver.js +5 -5
  688. package/dist/workspace/sql.js +1 -1
  689. package/dist/workspace.js +79 -79
  690. package/dist/worktree/directory.js +2 -2
  691. package/dist/worktree/git.js +8 -8
  692. package/dist/worktree/sql.js +5 -5
  693. package/dist/worktree/strategies.js +88 -88
  694. package/dist/worktree.js +95 -95
  695. package/package.json +8 -8
  696. package/dist/chunks/model-resolver-1zvmacfw.js +0 -492
  697. package/dist/chunks/model-resolver-6kdq0pjd.js +0 -4
  698. package/dist/chunks/model-resolver-e0zpv5qc.js +0 -65
  699. package/dist/chunks/model-resolver-jqh9b0xq.js +0 -18
  700. package/dist/chunks/model-resolver-qb6tpq85.js +0 -252
  701. package/dist/chunks/model-resolver-w53v25xj.js +0 -26
  702. /package/dist/chunks/{model-resolver-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
  703. /package/dist/chunks/{model-resolver-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
  704. /package/dist/chunks/{model-resolver-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
  705. /package/dist/chunks/{model-resolver-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
  706. /package/dist/chunks/{model-resolver-1kg9ymc8.js → shell-1kg9ymc8.js} +0 -0
  707. /package/dist/chunks/{model-resolver-24dcb14g.js → shell-24dcb14g.js} +0 -0
  708. /package/dist/chunks/{model-resolver-2710q6r3.js → shell-2710q6r3.js} +0 -0
  709. /package/dist/chunks/{model-resolver-2axfhc9x.js → shell-2axfhc9x.js} +0 -0
  710. /package/dist/chunks/{model-resolver-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
  711. /package/dist/chunks/{model-resolver-359p4xyc.js → shell-359p4xyc.js} +0 -0
  712. /package/dist/chunks/{model-resolver-3asan66x.js → shell-3asan66x.js} +0 -0
  713. /package/dist/chunks/{model-resolver-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
  714. /package/dist/chunks/{model-resolver-3w5fmr99.js → shell-3w5fmr99.js} +0 -0
  715. /package/dist/chunks/{model-resolver-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
  716. /package/dist/chunks/{model-resolver-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
  717. /package/dist/chunks/{model-resolver-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
  718. /package/dist/chunks/{model-resolver-4vcrnpx2.js → shell-4vcrnpx2.js} +0 -0
  719. /package/dist/chunks/{model-resolver-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
  720. /package/dist/chunks/{model-resolver-53557ph1.js → shell-53557ph1.js} +0 -0
  721. /package/dist/chunks/{model-resolver-550bvhaj.js → shell-550bvhaj.js} +0 -0
  722. /package/dist/chunks/{model-resolver-6prwharc.js → shell-6prwharc.js} +0 -0
  723. /package/dist/chunks/{model-resolver-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
  724. /package/dist/chunks/{model-resolver-7m9af43g.js → shell-7m9af43g.js} +0 -0
  725. /package/dist/chunks/{model-resolver-822emrt2.js → shell-822emrt2.js} +0 -0
  726. /package/dist/chunks/{model-resolver-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
  727. /package/dist/chunks/{model-resolver-8n3pysct.js → shell-8n3pysct.js} +0 -0
  728. /package/dist/chunks/{model-resolver-922hggd3.js → shell-922hggd3.js} +0 -0
  729. /package/dist/chunks/{model-resolver-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
  730. /package/dist/chunks/{model-resolver-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
  731. /package/dist/chunks/{model-resolver-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
  732. /package/dist/chunks/{model-resolver-af5trqkr.js → shell-af5trqkr.js} +0 -0
  733. /package/dist/chunks/{model-resolver-afrmfg78.js → shell-afrmfg78.js} +0 -0
  734. /package/dist/chunks/{model-resolver-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
  735. /package/dist/chunks/{model-resolver-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
  736. /package/dist/chunks/{model-resolver-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
  737. /package/dist/chunks/{model-resolver-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
  738. /package/dist/chunks/{model-resolver-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
  739. /package/dist/chunks/{model-resolver-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
  740. /package/dist/chunks/{model-resolver-d9fn303g.js → shell-d9fn303g.js} +0 -0
  741. /package/dist/chunks/{model-resolver-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
  742. /package/dist/chunks/{model-resolver-dajrwvna.js → shell-dajrwvna.js} +0 -0
  743. /package/dist/chunks/{model-resolver-dap0rakb.js → shell-dap0rakb.js} +0 -0
  744. /package/dist/chunks/{model-resolver-df08tz66.js → shell-df08tz66.js} +0 -0
  745. /package/dist/chunks/{model-resolver-dy18nga0.js → shell-dy18nga0.js} +0 -0
  746. /package/dist/chunks/{model-resolver-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
  747. /package/dist/chunks/{model-resolver-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
  748. /package/dist/chunks/{model-resolver-ec1grn59.js → shell-ec1grn59.js} +0 -0
  749. /package/dist/chunks/{model-resolver-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
  750. /package/dist/chunks/{model-resolver-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
  751. /package/dist/chunks/{model-resolver-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
  752. /package/dist/chunks/{model-resolver-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
  753. /package/dist/chunks/{model-resolver-faypxj3z.js → shell-faypxj3z.js} +0 -0
  754. /package/dist/chunks/{model-resolver-fd410y7t.js → shell-fd410y7t.js} +0 -0
  755. /package/dist/chunks/{model-resolver-fxgpk5d8.js → shell-fxgpk5d8.js} +0 -0
  756. /package/dist/chunks/{model-resolver-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
  757. /package/dist/chunks/{model-resolver-g86h250q.js → shell-g86h250q.js} +0 -0
  758. /package/dist/chunks/{model-resolver-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
  759. /package/dist/chunks/{model-resolver-gftt206x.js → shell-gftt206x.js} +0 -0
  760. /package/dist/chunks/{model-resolver-hjbc5kem.js → shell-hjbc5kem.js} +0 -0
  761. /package/dist/chunks/{model-resolver-hk9envan.js → shell-hk9envan.js} +0 -0
  762. /package/dist/chunks/{model-resolver-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
  763. /package/dist/chunks/{model-resolver-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
  764. /package/dist/chunks/{model-resolver-jjkms2e6.js → shell-jjkms2e6.js} +0 -0
  765. /package/dist/chunks/{model-resolver-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
  766. /package/dist/chunks/{model-resolver-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
  767. /package/dist/chunks/{model-resolver-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
  768. /package/dist/chunks/{model-resolver-mp448xyj.js → shell-mp448xyj.js} +0 -0
  769. /package/dist/chunks/{model-resolver-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
  770. /package/dist/chunks/{model-resolver-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
  771. /package/dist/chunks/{model-resolver-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
  772. /package/dist/chunks/{model-resolver-njntx4h6.js → shell-njntx4h6.js} +0 -0
  773. /package/dist/chunks/{model-resolver-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{model-resolver-q74kybfr.js → shell-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{model-resolver-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{model-resolver-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{model-resolver-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{model-resolver-qg3g05ea.js → shell-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{model-resolver-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{model-resolver-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{model-resolver-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{model-resolver-sk3qaz4a.js → shell-sk3qaz4a.js} +0 -0
  783. /package/dist/chunks/{model-resolver-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
  784. /package/dist/chunks/{model-resolver-twg0f83k.js → shell-twg0f83k.js} +0 -0
  785. /package/dist/chunks/{model-resolver-w803qqfp.js → shell-w803qqfp.js} +0 -0
  786. /package/dist/chunks/{model-resolver-wc3fc9cn.js → shell-wc3fc9cn.js} +0 -0
  787. /package/dist/chunks/{model-resolver-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
  788. /package/dist/chunks/{model-resolver-wtztk69x.js → shell-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{model-resolver-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{model-resolver-x61499pn.js → shell-x61499pn.js} +0 -0
  791. /package/dist/chunks/{model-resolver-y44na4kk.js → shell-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{model-resolver-y8cydn3q.js → shell-y8cydn3q.js} +0 -0
  793. /package/dist/chunks/{model-resolver-y8f7s663.js → shell-y8f7s663.js} +0 -0
  794. /package/dist/chunks/{model-resolver-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
  795. /package/dist/chunks/{model-resolver-ym463w8f.js → shell-ym463w8f.js} +0 -0
  796. /package/dist/chunks/{model-resolver-z9919s4g.js → shell-z9919s4g.js} +0 -0
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  key2
3
- } from "./model-resolver-cpj0znwe.js";
3
+ } from "./shell-h6r3nrb9.js";
4
4
  import {
5
5
  Service82
6
- } from "./model-resolver-jp646bv9.js";
6
+ } from "./shell-td5vtqzv.js";
7
7
  import {
8
8
  OAuth3,
9
- Event16
10
- } from "./model-resolver-5d7aan1t.js";
9
+ Event20
10
+ } from "./shell-47y5x0ww.js";
11
11
  import {
12
- ID8,
12
+ ID16,
13
13
  MethodID2
14
- } from "./model-resolver-1whgvkhb.js";
14
+ } from "./shell-0sz44tra.js";
15
15
  import {
16
- ID7,
16
+ ID13,
17
17
  aisdk2,
18
18
  mergeOverlay2,
19
- Service68
20
- } from "./model-resolver-rfgcsz1j.js";
19
+ Service74
20
+ } from "./shell-rm0ma2mx.js";
21
21
  import {
22
- ID6
23
- } from "./model-resolver-vss6mrqc.js";
22
+ ID12
23
+ } from "./shell-z8a4aepc.js";
24
24
  import {
25
25
  load3,
26
26
  derive3
27
- } from "./model-resolver-g4tydmkk.js";
27
+ } from "./shell-kg1ftbm8.js";
28
28
  import {
29
29
  useragent2
30
- } from "./model-resolver-spq00ka2.js";
30
+ } from "./shell-bwckxjxx.js";
31
31
 
32
32
  // src/plugin/provider/github-copilot.ts
33
33
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -59,7 +59,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
59
59
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
60
60
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
61
61
  var oauth = (app) => ({
62
- integrationID: ID8.make("github-copilot"),
62
+ integrationID: ID16.make("github-copilot"),
63
63
  method: {
64
64
  id: methodID,
65
65
  type: "oauth",
@@ -157,7 +157,7 @@ var oauth = (app) => ({
157
157
  var GithubCopilotPlugin2 = define({
158
158
  id: "opencode.provider.github.copilot",
159
159
  effect: Effect.fn(function* (ctx) {
160
- const providers = yield* Service68;
160
+ const providers = yield* Service74;
161
161
  const bus = yield* Service82;
162
162
  const loading = Semaphore.makeUnsafe(1);
163
163
  const loaded = {};
@@ -173,7 +173,7 @@ var GithubCopilotPlugin2 = define({
173
173
  return;
174
174
  }
175
175
  const url = copilotBaseURL2(credential.metadata) ?? baseURL();
176
- const provider = yield* providers.get(ID7.githubCopilot);
176
+ const provider = yield* providers.get(ID13.githubCopilot);
177
177
  const remote = yield* Effect.tryPromise({
178
178
  try: () => load3(url, {
179
179
  ...provider?.headers,
@@ -194,7 +194,7 @@ var GithubCopilotPlugin2 = define({
194
194
  editor.method.update(oauth(ctx.app));
195
195
  });
196
196
  yield* ctx.provider.transform((evt) => {
197
- const item = evt.get(ID7.githubCopilot);
197
+ const item = evt.get(ID13.githubCopilot);
198
198
  if (!item)
199
199
  return;
200
200
  if (loaded.models) {
@@ -214,17 +214,17 @@ var GithubCopilotPlugin2 = define({
214
214
  }
215
215
  });
216
216
  yield* ctx.model.transform((models) => {
217
- if (models.get(ID7.githubCopilot, ID6.make("gpt-5-chat-latest"))) {
218
- models.update(ID7.githubCopilot, ID6.make("gpt-5-chat-latest"), (model) => {
217
+ if (models.get(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"))) {
218
+ models.update(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"), (model) => {
219
219
  model.enabled = false;
220
220
  });
221
221
  }
222
222
  });
223
223
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
224
- yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
224
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
225
225
  yield* refresh().pipe(Effect.forkScoped);
226
226
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
227
- if (evt.model.providerID !== ID7.githubCopilot)
227
+ if (evt.model.providerID !== ID13.githubCopilot)
228
228
  return;
229
229
  if (evt.package !== "@ai-sdk/github-copilot")
230
230
  return;
@@ -233,7 +233,7 @@ var GithubCopilotPlugin2 = define({
233
233
  evt.sdk = mod.createOpenaiCompatible(evt.options);
234
234
  }));
235
235
  yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
236
- if (evt.model.providerID !== ID7.githubCopilot)
236
+ if (evt.model.providerID !== ID13.githubCopilot)
237
237
  return;
238
238
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
239
239
  return;
@@ -243,9 +243,9 @@ var GithubCopilotPlugin2 = define({
243
243
  evt.headers["X-Interaction-Id"] = evt.sessionID;
244
244
  if (interaction !== "conversation-agent")
245
245
  evt.headers["x-initiator"] = "agent";
246
- }), { providerID: ID7.githubCopilot });
246
+ }), { providerID: ID13.githubCopilot });
247
247
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
248
- if (evt.model.providerID !== ID7.githubCopilot)
248
+ if (evt.model.providerID !== ID13.githubCopilot)
249
249
  return;
250
250
  const token = evt.request.headers.get("x-api-key");
251
251
  if (!token)
@@ -253,9 +253,9 @@ var GithubCopilotPlugin2 = define({
253
253
  const text = yield* Effect.promise(() => evt.request.clone().text());
254
254
  const body = Option.getOrUndefined(decodeBody(text));
255
255
  applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
256
- }), { providerID: ID7.githubCopilot });
256
+ }), { providerID: ID13.githubCopilot });
257
257
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
258
- if (evt.model.providerID !== ID7.githubCopilot)
258
+ if (evt.model.providerID !== ID13.githubCopilot)
259
259
  return;
260
260
  if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
261
261
  evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./model-resolver-922hggd3.js";
3
+ } from "./shell-922hggd3.js";
4
4
  import {
5
- Service79,
6
- node82
7
- } from "./model-resolver-tders91x.js";
5
+ Service77,
6
+ node81
7
+ } from "./shell-0z6w7vfv.js";
8
8
  import {
9
- parse5,
9
+ parse4,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./model-resolver-6h73sxmp.js";
13
+ } from "./shell-2402vzrj.js";
14
14
  import {
15
- Service62,
16
- node65
17
- } from "./model-resolver-azbfhwfn.js";
15
+ Service78,
16
+ node82
17
+ } from "./shell-90jcfcfk.js";
18
18
  import {
19
19
  __export
20
- } from "./model-resolver-9rqn6x4v.js";
20
+ } from "./shell-9rqn6x4v.js";
21
21
 
22
22
  // src/repository-cache.ts
23
23
  var exports_repository_cache = {};
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service45,
33
+ Service: () => Service44,
34
34
  isError: () => isError2,
35
- node: () => node48,
35
+ node: () => node46,
36
36
  validateBranch: () => validateBranch2
37
37
  });
38
38
  import path from "path";
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service45 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service44 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  function isError2(error) {
96
96
  return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
101
101
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
102
102
  });
103
103
  });
104
- var layer = Layer.effect(Service45, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service44, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
- const git = yield* Service79;
106
+ const git = yield* Service77;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service62;
110
- return Service45.of({
109
+ const kv = yield* Service78;
110
+ return Service44.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
114
114
  const repository = input.reference.label;
115
115
  const localPath = cachePath2(global.repos, input.reference, input.branch);
116
116
  const key = `repository-cache:${localPath}`;
117
- const cloneTarget = parse5(input.reference.remote) ?? input.reference;
117
+ const cloneTarget = parse4(input.reference.remote) ?? input.reference;
118
118
  return yield* flock.withLock(Effect.gen(function* () {
119
119
  yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
120
120
  const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
121
121
  const origin = existing ? yield* git.remote.get(existing) : undefined;
122
- const originReference = origin ? parse5(origin) : undefined;
122
+ const originReference = origin ? parse4(origin) : undefined;
123
123
  const worktree = existing ? yield* fs.resolve(localPath) : undefined;
124
124
  const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
125
125
  if (!reuse && (yield* fs.existsSafe(localPath))) {
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
167
167
  })
168
168
  });
169
169
  }));
170
- var node48 = makeGlobalNode({
171
- service: Service45,
170
+ var node46 = makeGlobalNode({
171
+ service: Service44,
172
172
  layer,
173
- deps: [EffectFlock.node, FSUtil.node, node82, Global.node, node65]
173
+ deps: [EffectFlock.node, FSUtil.node, node81, Global.node, node82]
174
174
  });
175
175
  function errorMessage(error) {
176
176
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
179
179
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
180
180
  }
181
181
 
182
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service45, isError2, validateBranch2, node48, exports_repository_cache };
182
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service44, isError2, validateBranch2, node46, exports_repository_cache };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./model-resolver-rfgcsz1j.js";
4
+ } from "./shell-rm0ma2mx.js";
5
5
 
6
6
  // src/plugin/provider/vercel.ts
7
7
  import { Effect } from "effect";
@@ -1,43 +1,43 @@
1
1
  import {
2
2
  Service82
3
- } from "./model-resolver-jp646bv9.js";
3
+ } from "./shell-td5vtqzv.js";
4
4
  import {
5
- Service42
6
- } from "./model-resolver-da534a5t.js";
5
+ Service36
6
+ } from "./shell-n333v114.js";
7
7
  import {
8
8
  Error4
9
- } from "./model-resolver-qwbyjwn2.js";
9
+ } from "./shell-nvan94z6.js";
10
10
  import {
11
- Service48
12
- } from "./model-resolver-e1hrzsan.js";
11
+ Service68
12
+ } from "./shell-m549exyf.js";
13
13
  import {
14
14
  StepFailedError2
15
- } from "./model-resolver-wrmrmykr.js";
15
+ } from "./shell-2qq7qy34.js";
16
16
  import {
17
17
  SessionEvent2
18
- } from "./model-resolver-ec1grn59.js";
18
+ } from "./shell-ec1grn59.js";
19
19
  import {
20
20
  toSessionError2
21
- } from "./model-resolver-zcdrxs46.js";
21
+ } from "./shell-dpsf0pjj.js";
22
22
  import {
23
23
  calculateCost2
24
- } from "./model-resolver-tdstcens.js";
24
+ } from "./shell-tdstcens.js";
25
25
  import {
26
26
  createLLMEventPublisher2
27
- } from "./model-resolver-erw5rpbs.js";
27
+ } from "./shell-erw5rpbs.js";
28
28
  import {
29
29
  isRetryable2
30
- } from "./model-resolver-n272ptga.js";
30
+ } from "./shell-zampddaz.js";
31
31
  import {
32
32
  __export
33
- } from "./model-resolver-9rqn6x4v.js";
33
+ } from "./shell-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: () => make8
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 make8 = Effect.gen(function* () {
55
55
  const bus = yield* Service82;
56
56
  const llm = yield* LLMClient.Service;
57
- const snapshots = yield* Service42;
58
- const toolOutput = yield* Service48;
57
+ const snapshots = yield* Service36;
58
+ const toolOutput = yield* Service68;
59
59
  const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
60
60
  const startSnapshot = yield* snapshots.capture();
61
61
  const publisher = createLLMEventPublisher2(bus, {
@@ -209,4 +209,4 @@ var classifyToolExits = (settled, runs) => {
209
209
  return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
210
210
  };
211
211
 
212
- export { Outcome2, make3, exports_step };
212
+ export { Outcome2, make8, exports_step };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  Service82
3
- } from "./model-resolver-jp646bv9.js";
3
+ } from "./shell-td5vtqzv.js";
4
4
  import {
5
- Service77
6
- } from "./model-resolver-714t0x07.js";
5
+ Service75
6
+ } from "./shell-ryqp1849.js";
7
7
  import {
8
8
  PromptsChanged2,
9
- Service41
10
- } from "./model-resolver-d61582ny.js";
9
+ Service29
10
+ } from "./shell-xkhv0wvg.js";
11
11
  import {
12
12
  __export
13
- } from "./model-resolver-9rqn6x4v.js";
13
+ } from "./shell-9rqn6x4v.js";
14
14
 
15
15
  // src/plugin/command.ts
16
16
  var exports_command2 = {};
17
17
  __export(exports_command2, {
18
18
  CommandPlugin: () => exports_command2,
19
- Plugin: () => Plugin28
19
+ Plugin: () => Plugin48
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect, Stream } from "effect";
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
193
193
  `;
194
194
 
195
195
  // src/plugin/command.ts
196
- var Plugin28 = define({
196
+ var Plugin48 = define({
197
197
  id: "opencode.command",
198
198
  effect: Effect.fn(function* (ctx) {
199
- const location = yield* Service77;
200
- const mcp = yield* Service41;
199
+ const location = yield* Service75;
200
+ const mcp = yield* Service29;
201
201
  const bus = yield* Service82;
202
202
  const loaded = { prompts: [] };
203
203
  yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
@@ -280,4 +280,4 @@ function sanitize(value) {
280
280
  var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
281
281
  var quoteTrimRegex = /^["']|["']$/g;
282
282
 
283
- export { Plugin28, exports_command2 };
283
+ export { Plugin48, exports_command2 };
@@ -2,13 +2,13 @@ import {
2
2
  AgentNotFoundError2,
3
3
  StepFailedError2,
4
4
  UserInterruptedError2
5
- } from "./model-resolver-wrmrmykr.js";
5
+ } from "./shell-2qq7qy34.js";
6
6
  import {
7
7
  BlockedError2
8
- } from "./model-resolver-aqczg285.js";
8
+ } from "./shell-wh971x00.js";
9
9
  import {
10
10
  AuthorizationError2
11
- } from "./model-resolver-1whgvkhb.js";
11
+ } from "./shell-0sz44tra.js";
12
12
  import {
13
13
  ModelNotSelectedError2,
14
14
  ModelUnavailableError2,
@@ -18,7 +18,7 @@ import {
18
18
  ModelInitializationError2,
19
19
  UnresolvedProviderVariablesError2,
20
20
  UnsupportedCompactionError2
21
- } from "./model-resolver-5kkq0gjf.js";
21
+ } from "./shell-x86cf5xt.js";
22
22
 
23
23
  // src/session/to-session-error.ts
24
24
  import { AIError, ToolFailure } from "@opencode/ai";
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  OAuth3
3
- } from "./model-resolver-5d7aan1t.js";
3
+ } from "./shell-47y5x0ww.js";
4
4
  import {
5
- ID8,
5
+ ID16,
6
6
  MethodID2
7
- } from "./model-resolver-1whgvkhb.js";
7
+ } from "./shell-0sz44tra.js";
8
8
  import {
9
9
  success2,
10
10
  error2
11
- } from "./model-resolver-pjvnvgmy.js";
11
+ } from "./shell-pjvnvgmy.js";
12
12
 
13
13
  // src/plugin/provider/poe.ts
14
14
  import { define } from "@opencode/plugin/effect/plugin";
15
15
  import { Clock, Deferred, Effect, Option, Schema } from "effect";
16
16
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
17
- var integrationID = ID8.make("poe");
17
+ var integrationID = ID16.make("poe");
18
18
  var methodID = MethodID2.make("browser");
19
19
  var clientID = "client_728290227fc048cc9262091a1ea197ea";
20
20
  var issuer = "https://poe.com";
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./model-resolver-922hggd3.js";
3
+ } from "./shell-922hggd3.js";
4
4
  import {
5
- Info26,
6
- ID11,
5
+ Info6,
6
+ ID5,
7
7
  Name2
8
- } from "./model-resolver-va2p3qdk.js";
8
+ } from "./shell-1md1qdpw.js";
9
9
  import {
10
- Service53
11
- } from "./model-resolver-m6dz94as.js";
10
+ Service64
11
+ } from "./shell-njw6fdmp.js";
12
12
  import {
13
13
  __export
14
- } from "./model-resolver-9rqn6x4v.js";
14
+ } from "./shell-9rqn6x4v.js";
15
15
 
16
16
  // src/plugin/skill.ts
17
- var exports_skill2 = {};
18
- __export(exports_skill2, {
17
+ var exports_skill3 = {};
18
+ __export(exports_skill3, {
19
19
  OpencodeContent: () => OpencodeContent2,
20
20
  OpencodeDescription: () => OpencodeDescription2,
21
- Plugin: () => Plugin31,
21
+ Plugin: () => Plugin41,
22
22
  ReportContent: () => ReportContent2,
23
- SkillPlugin: () => exports_skill2
23
+ SkillPlugin: () => exports_skill3
24
24
  });
25
25
  import { define } from "@opencode/plugin/effect/plugin";
26
26
  import { Effect } from "effect";
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
425
425
  var ReportContent2 = report_default;
426
426
  var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
427
427
  var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
428
- var Plugin31 = define({
428
+ var Plugin41 = define({
429
429
  id: "opencode.skill",
430
430
  effect: Effect.fn(function* (ctx) {
431
431
  const reportContent = yield* reportContentWithDiagnostics(ctx.app);
432
432
  yield* ctx.skill.transform((editor) => {
433
- editor.add(Info26.make({
434
- id: ID11.make("opencode"),
433
+ editor.add(Info6.make({
434
+ id: ID5.make("opencode"),
435
435
  name: Name2.make("OpenCode"),
436
436
  description: OpencodeDescription2,
437
437
  path: AbsolutePath2.make("/builtin/opencode.md"),
438
438
  content: OpencodeContent2
439
439
  }));
440
- editor.add(Info26.make({
441
- id: ID11.make("report"),
440
+ editor.add(Info6.make({
441
+ id: ID5.make("report"),
442
442
  name: Name2.make("Report"),
443
443
  description: REPORT_DESCRIPTION,
444
444
  path: AbsolutePath2.make("/builtin/report.md"),
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
466
466
  `);
467
467
  });
468
468
  var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
469
- const config = yield* Service53;
469
+ const config = yield* Service64;
470
470
  return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
471
471
  });
472
472
  function terminal() {
@@ -480,4 +480,4 @@ function shell() {
480
480
  return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
481
481
  }
482
482
 
483
- export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin31, exports_skill2 };
483
+ export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin41, exports_skill3 };
@@ -3,34 +3,34 @@ import {
3
3
  WrongKind2,
4
4
  Failed2,
5
5
  typeFollowing2
6
- } from "./model-resolver-2a5m3afh.js";
6
+ } from "./shell-2a5m3afh.js";
7
7
  import {
8
8
  execDefaults2
9
- } from "./model-resolver-1dazxqgg.js";
9
+ } from "./shell-1dazxqgg.js";
10
10
  import {
11
11
  makeLocalDriver2
12
- } from "./model-resolver-b6gygkdw.js";
12
+ } from "./shell-b6gygkdw.js";
13
13
  import {
14
14
  makeMemoryDriver2
15
- } from "./model-resolver-aaet6srn.js";
15
+ } from "./shell-aaet6srn.js";
16
16
  import {
17
- Service77,
18
- node80
19
- } from "./model-resolver-714t0x07.js";
17
+ Service75,
18
+ node79
19
+ } from "./shell-ryqp1849.js";
20
20
  import {
21
- Service80,
22
- node83
23
- } from "./model-resolver-afx6jjxh.js";
21
+ Service67,
22
+ node69
23
+ } from "./shell-nyk4ge42.js";
24
24
  import {
25
25
  __export
26
- } from "./model-resolver-9rqn6x4v.js";
26
+ } from "./shell-9rqn6x4v.js";
27
27
 
28
28
  // src/environment/environment.ts
29
29
  var exports_environment2 = {};
30
30
  __export(exports_environment2, {
31
31
  EnvironmentService: () => exports_environment2,
32
- Service: () => Service64,
33
- node: () => node67
32
+ Service: () => Service66,
33
+ node: () => node68
34
34
  });
35
35
  import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -43,13 +43,13 @@ __export(exports_environment3, {
43
43
  Environment: () => exports_environment3,
44
44
  Failed: () => Failed2,
45
45
  NotFound: () => NotFound2,
46
- Service: () => Service64,
46
+ Service: () => Service66,
47
47
  WrongKind: () => WrongKind2,
48
48
  execDefaults: () => execDefaults2,
49
49
  makeFiles: () => makeFiles2,
50
50
  makeLocalDriver: () => makeLocalDriver2,
51
51
  makeMemoryDriver: () => makeMemoryDriver2,
52
- node: () => node67,
52
+ node: () => node68,
53
53
  typeFollowing: () => typeFollowing2
54
54
  });
55
55
  var makeFiles2 = (driver) => ({
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
58
58
  });
59
59
 
60
60
  // src/environment/environment.ts
61
- class Service64 extends Context.Service()("@opencode/Environment") {
61
+ class Service66 extends Context.Service()("@opencode/Environment") {
62
62
  }
63
- var layer = Layer.effect(Service64, Effect.gen(function* () {
63
+ var layer = Layer.effect(Service66, Effect.gen(function* () {
64
64
  const spawner = yield* ChildProcessSpawner;
65
- const location = yield* Service77;
66
- const workspace = yield* Service80;
65
+ const location = yield* Service75;
66
+ const workspace = yield* Service67;
67
67
  const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
68
- return Service64.of({ files: makeFiles2(driver), spawner: driver.spawner });
68
+ return Service66.of({ files: makeFiles2(driver), spawner: driver.spawner });
69
69
  }));
70
- var node67 = makeLocationNode({
71
- service: Service64,
70
+ var node68 = makeLocationNode({
71
+ service: Service66,
72
72
  layer,
73
- deps: [CrossSpawnSpawner.node, node80, node83]
73
+ deps: [CrossSpawnSpawner.node, node79, node69]
74
74
  });
75
75
 
76
- export { Service64, node67, exports_environment2, makeFiles2, exports_environment3 };
76
+ export { Service66, node68, exports_environment2, makeFiles2, exports_environment3 };