@opencode/core 0.0.0-dev-19774 → 0.0.0-dev-19777

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 (792) 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/{file-mutation-y5b0ehek.js → shell-03vvt530.js} +41 -41
  8. package/dist/chunks/{file-mutation-xpr3mqf5.js → shell-04tgm3f1.js} +11 -11
  9. package/dist/chunks/{file-mutation-h03rnsfd.js → shell-07dpaenw.js} +40 -40
  10. package/dist/chunks/shell-0mesazry.js +4 -0
  11. package/dist/chunks/{file-mutation-thyqgksr.js → shell-0ms7z6s1.js} +10 -10
  12. package/dist/chunks/{file-mutation-0paq2nw3.js → shell-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{file-mutation-0q0f95c6.js → shell-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{file-mutation-267zfkt7.js → shell-0t2v7nrt.js} +23 -23
  15. package/dist/chunks/{file-mutation-p2e22hpe.js → shell-109t7kd4.js} +9 -9
  16. package/dist/chunks/{file-mutation-gdsttb99.js → shell-15jxckgc.js} +4 -4
  17. package/dist/chunks/{file-mutation-1dazxqgg.js → shell-1dazxqgg.js} +2 -2
  18. package/dist/chunks/{file-mutation-x66hh719.js → shell-1p4gqph4.js} +13 -13
  19. package/dist/chunks/{file-mutation-jkk2smcb.js → shell-1t08zx4j.js} +22 -22
  20. package/dist/chunks/{file-mutation-73k5nevg.js → shell-1w8tyy54.js} +35 -35
  21. package/dist/chunks/{file-mutation-56gdpj1q.js → shell-1ygqh575.js} +9 -9
  22. package/dist/chunks/{file-mutation-paqyj2en.js → shell-1zhs7cbk.js} +17 -17
  23. package/dist/chunks/{file-mutation-21r38tys.js → shell-21r38tys.js} +1 -1
  24. package/dist/chunks/{file-mutation-0kpaqnhp.js → shell-23w317nk.js} +11 -11
  25. package/dist/chunks/{file-mutation-6h73sxmp.js → shell-2402vzrj.js} +5 -5
  26. package/dist/chunks/{file-mutation-2a5m3afh.js → shell-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{file-mutation-yw8t9dwe.js → shell-2eegacq4.js} +8 -8
  28. package/dist/chunks/{file-mutation-ec8389mk.js → shell-2evyaa68.js} +4 -4
  29. package/dist/chunks/{file-mutation-920tyraz.js → shell-2ka7npbv.js} +20 -20
  30. package/dist/chunks/shell-2qt599cr.js +65 -0
  31. package/dist/chunks/{file-mutation-0a8rb6zk.js → shell-2v7da5f0.js} +8 -8
  32. package/dist/chunks/{file-mutation-f6kbfvjt.js → shell-3ekgth3a.js} +10 -10
  33. package/dist/chunks/{file-mutation-3fc6dm20.js → shell-3fc6dm20.js} +1 -1
  34. package/dist/chunks/{file-mutation-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{file-mutation-jh7y3ak4.js → shell-3ktbe3hf.js} +9 -9
  36. package/dist/chunks/{file-mutation-3smtnn6g.js → shell-3smtnn6g.js} +1 -1
  37. package/dist/chunks/{file-mutation-pw3xx31k.js → shell-3t9k22p6.js} +5 -5
  38. package/dist/chunks/{file-mutation-rkdvqggb.js → shell-3tt1qkhr.js} +5 -5
  39. package/dist/chunks/{file-mutation-3tvqynh2.js → shell-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{file-mutation-998pkbc5.js → shell-40g5vgkd.js} +26 -26
  41. package/dist/chunks/{file-mutation-jeybges7.js → shell-45nz77a5.js} +4 -4
  42. package/dist/chunks/{file-mutation-6mn82bpr.js → shell-470r2ntf.js} +8 -8
  43. package/dist/chunks/{file-mutation-18xb591f.js → shell-47b5fvew.js} +7 -7
  44. package/dist/chunks/{file-mutation-ebqbjk3w.js → shell-47txtcvt.js} +32 -32
  45. package/dist/chunks/{file-mutation-ysw9y8px.js → shell-48yxe442.js} +33 -33
  46. package/dist/chunks/{file-mutation-gb26m6rq.js → shell-4910pwsm.js} +28 -28
  47. package/dist/chunks/{file-mutation-e0y5jvpm.js → shell-491531f5.js} +27 -27
  48. package/dist/chunks/{file-mutation-waay8jvx.js → shell-4bwczsq4.js} +24 -24
  49. package/dist/chunks/{file-mutation-xwv6rqmk.js → shell-4c7rbc8y.js} +3 -3
  50. package/dist/chunks/{file-mutation-be80trnb.js → shell-4deap7ac.js} +13 -13
  51. package/dist/chunks/{file-mutation-672tdqna.js → shell-4eqskv5x.js} +30 -30
  52. package/dist/chunks/{file-mutation-qpgdq3j5.js → shell-4evf23qd.js} +22 -22
  53. package/dist/chunks/{file-mutation-5xv3dz3w.js → shell-4g0a6x89.js} +87 -87
  54. package/dist/chunks/{file-mutation-wdpm5xyv.js → shell-4j5wzjj5.js} +24 -24
  55. package/dist/chunks/{file-mutation-wy8b5sm2.js → shell-4jc5c4h4.js} +1 -1
  56. package/dist/chunks/{file-mutation-rg5hq0wm.js → shell-4jq8p7em.js} +23 -23
  57. package/dist/chunks/{file-mutation-x12g5k71.js → shell-4xqkkkb3.js} +2 -2
  58. package/dist/chunks/{file-mutation-4en4kvr5.js → shell-4xs1pjsx.js} +5 -5
  59. package/dist/chunks/{file-mutation-2xn06zhq.js → shell-4xtxd1vd.js} +20 -20
  60. package/dist/chunks/{file-mutation-bcbe7qcx.js → shell-52z29kxa.js} +9 -9
  61. package/dist/chunks/{file-mutation-aamtrqep.js → shell-57ez7d0k.js} +9 -9
  62. package/dist/chunks/{file-mutation-5daktx2q.js → shell-5daktx2q.js} +1 -1
  63. package/dist/chunks/{file-mutation-a0whw9jd.js → shell-5gn0efa0.js} +11 -11
  64. package/dist/chunks/{file-mutation-e3qxr5gk.js → shell-5qd3pb7m.js} +2 -2
  65. package/dist/chunks/{file-mutation-5t3nmthw.js → shell-5t3nmthw.js} +2 -2
  66. package/dist/chunks/{file-mutation-xkredtp8.js → shell-601x61hw.js} +17 -17
  67. package/dist/chunks/{file-mutation-669tq793.js → shell-669tq793.js} +1 -1
  68. package/dist/chunks/{file-mutation-zfvm8rtc.js → shell-6ca2f2mk.js} +3 -3
  69. package/dist/chunks/{file-mutation-b0dgvpy7.js → shell-6hjx5zpb.js} +9 -9
  70. package/dist/chunks/{file-mutation-6reav88k.js → shell-6k4mb8p8.js} +32 -32
  71. package/dist/chunks/{file-mutation-7bx1sn78.js → shell-6ka4kn86.js} +16 -16
  72. package/dist/chunks/{file-mutation-6msgmcgs.js → shell-6msgmcgs.js} +1 -1
  73. package/dist/chunks/{file-mutation-metngcsb.js → shell-6ps1wf70.js} +23 -23
  74. package/dist/chunks/{file-mutation-he62sb3p.js → shell-6rsdkm0q.js} +18 -18
  75. package/dist/chunks/{file-mutation-rg9jxnrj.js → shell-6t8d5s38.js} +4 -4
  76. package/dist/chunks/{file-mutation-x8tgrdy7.js → shell-6tn3yh5c.js} +15 -15
  77. package/dist/chunks/{file-mutation-0ehxtnnz.js → shell-6zk5k8gk.js} +18 -18
  78. package/dist/chunks/{file-mutation-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
  79. package/dist/chunks/{file-mutation-8aaqm6qj.js → shell-7dbmnfn4.js} +8 -8
  80. package/dist/chunks/{file-mutation-hrhrsrxp.js → shell-7dghwch0.js} +30 -30
  81. package/dist/chunks/{file-mutation-kjyymkn6.js → shell-7m4yxrk1.js} +11 -11
  82. package/dist/chunks/{file-mutation-evz86p9p.js → shell-7qqb5aj4.js} +14 -14
  83. package/dist/chunks/{file-mutation-vynmvp9h.js → shell-7v81x33d.js} +9 -9
  84. package/dist/chunks/{file-mutation-fxfyjszp.js → shell-7vxz9e56.js} +13 -13
  85. package/dist/chunks/{file-mutation-cf3tj770.js → shell-7w3s9kd0.js} +4 -4
  86. package/dist/chunks/{file-mutation-pn0bg5pg.js → shell-82jjvh86.js} +88 -88
  87. package/dist/chunks/{file-mutation-jewzahs7.js → shell-86qzxe6p.js} +4 -4
  88. package/dist/chunks/{file-mutation-thp2m506.js → shell-898hkngb.js} +9 -9
  89. package/dist/chunks/{file-mutation-8d7r5vzw.js → shell-8d7r5vzw.js} +1 -1
  90. package/dist/chunks/{file-mutation-a58czpns.js → shell-8kpc6pdt.js} +17 -17
  91. package/dist/chunks/{file-mutation-8p4f9s12.js → shell-8p4f9s12.js} +2 -2
  92. package/dist/chunks/{file-mutation-59bsrgj4.js → shell-8vfsjsk5.js} +27 -27
  93. package/dist/chunks/{file-mutation-d0gb447e.js → shell-902z4n12.js} +26 -26
  94. package/dist/chunks/{file-mutation-y8m9m17y.js → shell-90dg4enk.js} +20 -20
  95. package/dist/chunks/{file-mutation-x90w03rt.js → shell-96939sxw.js} +30 -30
  96. package/dist/chunks/{file-mutation-vtggy08e.js → shell-99q6wywc.js} +32 -32
  97. package/dist/chunks/{file-mutation-7000hrfc.js → shell-9cpbaep3.js} +6 -6
  98. package/dist/chunks/{file-mutation-fwrss4ad.js → shell-9fc3v4re.js} +4 -4
  99. package/dist/chunks/{file-mutation-br0tr5aq.js → shell-9hn6k4tm.js} +8 -8
  100. package/dist/chunks/{file-mutation-z59eg471.js → shell-9kghbwpc.js} +9 -9
  101. package/dist/chunks/{file-mutation-8tjk8105.js → shell-9pbz1hdq.js} +1 -1
  102. package/dist/chunks/{file-mutation-txr16vfg.js → shell-9sddvxcq.js} +26 -26
  103. package/dist/chunks/shell-9wnswpj2.js +26 -0
  104. package/dist/chunks/{file-mutation-bh6093r6.js → shell-9wvkvc1q.js} +60 -60
  105. package/dist/chunks/{file-mutation-daq2e3zz.js → shell-9z34yp3t.js} +4 -4
  106. package/dist/chunks/{file-mutation-a1bz86dw.js → shell-a1bz86dw.js} +3 -3
  107. package/dist/chunks/{file-mutation-p9qdtawc.js → shell-a5vww0b3.js} +24 -24
  108. package/dist/chunks/{file-mutation-aaet6srn.js → shell-aaet6srn.js} +2 -2
  109. package/dist/chunks/{file-mutation-y9vy3w1f.js → shell-abf421gb.js} +41 -41
  110. package/dist/chunks/{file-mutation-82wb5vjr.js → shell-aw5nfhtx.js} +12 -12
  111. package/dist/chunks/{file-mutation-b6gygkdw.js → shell-b6gygkdw.js} +2 -2
  112. package/dist/chunks/{file-mutation-vb222jev.js → shell-b89grqm6.js} +69 -69
  113. package/dist/chunks/{file-mutation-32h20yfr.js → shell-bagmkwbw.js} +3 -3
  114. package/dist/chunks/{file-mutation-sxhyyss9.js → shell-bbsv54dc.js} +47 -47
  115. package/dist/chunks/{file-mutation-a0wtmgep.js → shell-bdevdzfn.js} +15 -15
  116. package/dist/chunks/{file-mutation-vkxpz7g2.js → shell-bha4atvq.js} +4 -4
  117. package/dist/chunks/{file-mutation-0svbgh5c.js → shell-bjj905gy.js} +39 -39
  118. package/dist/chunks/{file-mutation-b8rp9x54.js → shell-bqh2sd97.js} +4 -4
  119. package/dist/chunks/{file-mutation-qpbktacs.js → shell-by3yt8c1.js} +3 -3
  120. package/dist/chunks/{file-mutation-9yrzyr7j.js → shell-byr7frw1.js} +18 -18
  121. package/dist/chunks/{file-mutation-h53tpazp.js → shell-c488s98d.js} +12 -12
  122. package/dist/chunks/{file-mutation-6y0m54vs.js → shell-c6639vss.js} +13 -13
  123. package/dist/chunks/{file-mutation-fwr1nb5p.js → shell-cae5tg5t.js} +18 -18
  124. package/dist/chunks/{file-mutation-cfpkc3c9.js → shell-cfpkc3c9.js} +2 -2
  125. package/dist/chunks/{file-mutation-rs8v52yx.js → shell-cz5cm7h7.js} +3 -3
  126. package/dist/chunks/{file-mutation-y7gfa8qa.js → shell-czq3e1zb.js} +13 -13
  127. package/dist/chunks/{file-mutation-b1paggmv.js → shell-d07c07ww.js} +44 -44
  128. package/dist/chunks/{file-mutation-9vw038cm.js → shell-d0c4rcdd.js} +24 -24
  129. package/dist/chunks/{file-mutation-ckvaaqnr.js → shell-d4hz6pfm.js} +15 -15
  130. package/dist/chunks/{file-mutation-36ysvq8r.js → shell-dcx9ytfh.js} +16 -16
  131. package/dist/chunks/{file-mutation-h2mtz7rf.js → shell-df76fvss.js} +13 -13
  132. package/dist/chunks/{file-mutation-jrq0rrs9.js → shell-dwmvj21z.js} +3 -3
  133. package/dist/chunks/{file-mutation-2qfmjqcy.js → shell-dxbh06rw.js} +11 -11
  134. package/dist/chunks/{file-mutation-bszv4pr1.js → shell-dz7g6c4d.js} +24 -24
  135. package/dist/chunks/{file-mutation-sy5npsvs.js → shell-e0htajja.js} +25 -25
  136. package/dist/chunks/{file-mutation-0gdmqesm.js → shell-eaj1djv9.js} +8 -8
  137. package/dist/chunks/{file-mutation-3cdqy5gs.js → shell-eb46bezg.js} +4 -4
  138. package/dist/chunks/{file-mutation-ef5x83kb.js → shell-ef5x83kb.js} +1 -1
  139. package/dist/chunks/{file-mutation-xj4hsedh.js → shell-ej9nsrfw.js} +7 -7
  140. package/dist/chunks/{file-mutation-kne8f3cn.js → shell-embw8kgh.js} +4 -4
  141. package/dist/chunks/{file-mutation-4hsrte5k.js → shell-epkvt2y6.js} +23 -23
  142. package/dist/chunks/{file-mutation-mvfsc1pv.js → shell-eq1pz5kg.js} +3 -3
  143. package/dist/chunks/{file-mutation-m32fe6rj.js → shell-eq26c9e0.js} +9 -9
  144. package/dist/chunks/{file-mutation-prbe7swn.js → shell-erh6shke.js} +5 -5
  145. package/dist/chunks/{file-mutation-erw5rpbs.js → shell-erw5rpbs.js} +2 -2
  146. package/dist/chunks/{file-mutation-1b5j2nkr.js → shell-escjqfgg.js} +5 -5
  147. package/dist/chunks/{file-mutation-x2gr69vr.js → shell-etfwcrdj.js} +9 -9
  148. package/dist/chunks/{file-mutation-etq0c3wd.js → shell-etq0c3wd.js} +1 -1
  149. package/dist/chunks/{file-mutation-2qp6y8xf.js → shell-evbgk2k8.js} +5 -5
  150. package/dist/chunks/{file-mutation-f828m53h.js → shell-f828m53h.js} +2 -2
  151. package/dist/chunks/{file-mutation-7dqw4kz8.js → shell-fcrkznn8.js} +5 -5
  152. package/dist/chunks/{file-mutation-n53jc5f0.js → shell-fk72hcm3.js} +5 -5
  153. package/dist/chunks/{file-mutation-fxbjtjnd.js → shell-fxbjtjnd.js} +1 -1
  154. package/dist/chunks/{file-mutation-8cx2cchs.js → shell-fxnhd30a.js} +31 -31
  155. package/dist/chunks/{file-mutation-bs0e8e65.js → shell-fz50j58q.js} +3 -3
  156. package/dist/chunks/{file-mutation-gd4qta3r.js → shell-gd4qta3r.js} +1 -1
  157. package/dist/chunks/{file-mutation-7bhykvjv.js → shell-gjnc9qzc.js} +29 -29
  158. package/dist/chunks/{file-mutation-sqmfwgs3.js → shell-gqn0yf43.js} +20 -20
  159. package/dist/chunks/{file-mutation-b8kkksp1.js → shell-gtt1eksx.js} +16 -16
  160. package/dist/chunks/{file-mutation-gv6a8nnw.js → shell-gv6a8nnw.js} +2 -2
  161. package/dist/chunks/{file-mutation-h78m9h9q.js → shell-gzmddf54.js} +6 -6
  162. package/dist/chunks/{file-mutation-sc7wv7tt.js → shell-h2dht7j6.js} +13 -13
  163. package/dist/chunks/{file-mutation-zyr433b0.js → shell-h2r7bbkd.js} +11 -11
  164. package/dist/chunks/{file-mutation-h6vf3j39.js → shell-h6vf3j39.js} +1 -1
  165. package/dist/chunks/{file-mutation-fe107s36.js → shell-hex08eaa.js} +25 -25
  166. package/dist/chunks/{file-mutation-89zh9079.js → shell-hj65t7v3.js} +34 -34
  167. package/dist/chunks/{file-mutation-mzrbxmyd.js → shell-hs41a4tz.js} +11 -11
  168. package/dist/chunks/{file-mutation-j56e64zr.js → shell-j56e64zr.js} +1 -1
  169. package/dist/chunks/{file-mutation-ftfm72kd.js → shell-j7ygsfe1.js} +6 -6
  170. package/dist/chunks/{file-mutation-3j8sdtpz.js → shell-j83byb14.js} +4 -4
  171. package/dist/chunks/{file-mutation-337ej1cd.js → shell-j96nbzpq.js} +5 -5
  172. package/dist/chunks/{file-mutation-nng2ktcm.js → shell-jca4demv.js} +2 -2
  173. package/dist/chunks/{file-mutation-cmq3w01w.js → shell-jf901kab.js} +18 -18
  174. package/dist/chunks/{file-mutation-jfqtm2ew.js → shell-jfqtm2ew.js} +1 -1
  175. package/dist/chunks/{file-mutation-hnr5yq9h.js → shell-jv01nqvq.js} +5 -5
  176. package/dist/chunks/{file-mutation-2pnhn36q.js → shell-jw80jp6b.js} +21 -21
  177. package/dist/chunks/{file-mutation-87z6e93s.js → shell-jyjzw1ga.js} +44 -44
  178. package/dist/chunks/{file-mutation-3rqkssp8.js → shell-k0nnq3t9.js} +6 -6
  179. package/dist/chunks/{file-mutation-e4gqq6ma.js → shell-k1k8px0g.js} +15 -15
  180. package/dist/chunks/{file-mutation-9ybrs273.js → shell-k1w610xy.js} +11 -11
  181. package/dist/chunks/{file-mutation-44ke2mar.js → shell-k9kj6xed.js} +6 -6
  182. package/dist/chunks/{file-mutation-ksnwa2zv.js → shell-kgqtb08c.js} +9 -9
  183. package/dist/chunks/{file-mutation-kn475exs.js → shell-kpg8spgh.js} +3 -3
  184. package/dist/chunks/{file-mutation-av0n72pr.js → shell-kzb2n3ry.js} +35 -35
  185. package/dist/chunks/{file-mutation-m3fdjcah.js → shell-m3fdjcah.js} +1 -1
  186. package/dist/chunks/{file-mutation-x6f9vzrq.js → shell-m3k3skyh.js} +11 -11
  187. package/dist/chunks/{file-mutation-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{file-mutation-8qspac1s.js → shell-mh9k1zxz.js} +26 -26
  189. package/dist/chunks/{file-mutation-gsp24vdq.js → shell-mm2e63sp.js} +20 -20
  190. package/dist/chunks/{file-mutation-ppd28z9t.js → shell-mqq3d8t2.js} +9 -9
  191. package/dist/chunks/{file-mutation-9q2n6mg9.js → shell-msdpvvtr.js} +18 -18
  192. package/dist/chunks/{file-mutation-6tegjpz6.js → shell-msjkcb2c.js} +7 -7
  193. package/dist/chunks/{file-mutation-21s87zpc.js → shell-mxbx1btj.js} +19 -19
  194. package/dist/chunks/{file-mutation-2tnvdx3z.js → shell-n6hr9sd6.js} +187 -187
  195. package/dist/chunks/{file-mutation-2hgjwxzn.js → shell-n6qxy5sm.js} +17 -17
  196. package/dist/chunks/{file-mutation-vmctfggj.js → shell-ncgz71ps.js} +11 -11
  197. package/dist/chunks/{file-mutation-0md6znfh.js → shell-nchmh3xc.js} +6 -6
  198. package/dist/chunks/{file-mutation-n436hdn0.js → shell-nhw0hen6.js} +19 -19
  199. package/dist/chunks/{file-mutation-26zn0zdd.js → shell-nm19pb1r.js} +23 -23
  200. package/dist/chunks/{file-mutation-gxzpt4bf.js → shell-nnz2m9wf.js} +8 -8
  201. package/dist/chunks/{file-mutation-pnv527nz.js → shell-nq7qbqzc.js} +9 -9
  202. package/dist/chunks/{file-mutation-nxhqveyz.js → shell-nxhqveyz.js} +2 -2
  203. package/dist/chunks/{file-mutation-k3c624dm.js → shell-nzks3jc8.js} +3 -3
  204. package/dist/chunks/{file-mutation-h6r3nrb9.js → shell-nzyhnfxz.js} +4 -4
  205. package/dist/chunks/{file-mutation-v1r8ymca.js → shell-p31t3pd0.js} +9 -9
  206. package/dist/chunks/{file-mutation-b52awwxw.js → shell-p37hw4de.js} +9 -9
  207. package/dist/chunks/{file-mutation-v9s3adxq.js → shell-p4f9hcv5.js} +5 -5
  208. package/dist/chunks/{file-mutation-g0p5jsxc.js → shell-p9dx6m3r.js} +32 -32
  209. package/dist/chunks/{file-mutation-96tqna7g.js → shell-ph3y9dt3.js} +10 -10
  210. package/dist/chunks/{file-mutation-dq0f4b6t.js → shell-pjmrnj4k.js} +11 -11
  211. package/dist/chunks/{file-mutation-pjvnvgmy.js → shell-pjvnvgmy.js} +1 -1
  212. package/dist/chunks/{file-mutation-pknna89w.js → shell-pknna89w.js} +1 -1
  213. package/dist/chunks/{file-mutation-kf7mt0f8.js → shell-pp4xxq9a.js} +20 -20
  214. package/dist/chunks/{file-mutation-3zbb0e4x.js → shell-pqw62kwh.js} +14 -14
  215. package/dist/chunks/{file-mutation-qfv53cem.js → shell-pqybgrxs.js} +12 -12
  216. package/dist/chunks/{file-mutation-v5a2m05x.js → shell-q3csemeg.js} +9 -9
  217. package/dist/chunks/{file-mutation-7w99qc9d.js → shell-q3t37ft6.js} +3 -3
  218. package/dist/chunks/{file-mutation-zy95xavh.js → shell-q6xswt0f.js} +20 -20
  219. package/dist/chunks/{file-mutation-d4he2qe1.js → shell-qmqgtz8f.js} +9 -9
  220. package/dist/chunks/{file-mutation-rtathh62.js → shell-qp3v07n2.js} +8 -8
  221. package/dist/chunks/{file-mutation-qsdy395h.js → shell-qsdy395h.js} +1 -1
  222. package/dist/chunks/{file-mutation-9ejexxwn.js → shell-qv98w6tv.js} +25 -25
  223. package/dist/chunks/{file-mutation-yp2x3t23.js → shell-r8xr0va3.js} +4 -4
  224. package/dist/chunks/shell-rap9a73h.js +18 -0
  225. package/dist/chunks/{file-mutation-rdw6cm16.js → shell-rdw6cm16.js} +1 -1
  226. package/dist/chunks/{file-mutation-cfwkp8ke.js → shell-rps88wy8.js} +6 -6
  227. package/dist/chunks/{file-mutation-7sqbmk8k.js → shell-rymghcbg.js} +30 -30
  228. package/dist/chunks/{file-mutation-s4q94gyy.js → shell-s2s60008.js} +11 -11
  229. package/dist/chunks/{file-mutation-cgegp93j.js → shell-s6azf4c4.js} +18 -18
  230. package/dist/chunks/{file-mutation-pex2dkp7.js → shell-s9fwamzp.js} +26 -26
  231. package/dist/chunks/shell-sbdeyn5w.js +252 -0
  232. package/dist/chunks/{file-mutation-7yqjxrmz.js → shell-ss0awb04.js} +4 -4
  233. package/dist/chunks/{file-mutation-k16pevg1.js → shell-sv380ctb.js} +8 -8
  234. package/dist/chunks/{file-mutation-aw4er02a.js → shell-sw8vzzw8.js} +23 -23
  235. package/dist/chunks/{file-mutation-tgkhkf8q.js → shell-t44e5ekz.js} +5 -5
  236. package/dist/chunks/{file-mutation-tpwrm9yt.js → shell-t5jrxwkq.js} +41 -41
  237. package/dist/chunks/{file-mutation-tazgh4e4.js → shell-tazgh4e4.js} +1 -1
  238. package/dist/chunks/{file-mutation-p28j5sbe.js → shell-tbz0fdvh.js} +5 -5
  239. package/dist/chunks/{file-mutation-tcezcvh9.js → shell-tcezcvh9.js} +1 -1
  240. package/dist/chunks/{file-mutation-tdstcens.js → shell-tdstcens.js} +1 -1
  241. package/dist/chunks/{file-mutation-y0jwsk5r.js → shell-tf2g47yf.js} +14 -14
  242. package/dist/chunks/{file-mutation-kfnrrrna.js → shell-tfc91kag.js} +5 -5
  243. package/dist/chunks/{file-mutation-dct99a2c.js → shell-tfv73esw.js} +1 -1
  244. package/dist/chunks/{file-mutation-tvtrv512.js → shell-tvtrv512.js} +1 -1
  245. package/dist/chunks/shell-v3ez8wwd.js +478 -0
  246. package/dist/chunks/{file-mutation-mx9vqzsb.js → shell-v8jfbz3g.js} +6 -6
  247. package/dist/chunks/{file-mutation-q8qgrk48.js → shell-v90naytm.js} +34 -34
  248. package/dist/chunks/{file-mutation-c8mrj3kp.js → shell-vd5v5qk0.js} +56 -56
  249. package/dist/chunks/{file-mutation-veqvce7d.js → shell-veqvce7d.js} +1 -1
  250. package/dist/chunks/{file-mutation-g2kefdbs.js → shell-vjbs195a.js} +25 -25
  251. package/dist/chunks/{file-mutation-gmrkgfhq.js → shell-vsatvqh0.js} +17 -17
  252. package/dist/chunks/{file-mutation-4vtzzjzy.js → shell-vszvf9m8.js} +30 -30
  253. package/dist/chunks/{file-mutation-6qdm2rsa.js → shell-vw7qqfe6.js} +14 -14
  254. package/dist/chunks/{file-mutation-vzcthcp8.js → shell-vzcthcp8.js} +1 -1
  255. package/dist/chunks/{file-mutation-64kphnzf.js → shell-w1k39n5e.js} +4 -4
  256. package/dist/chunks/{file-mutation-8ae46srb.js → shell-w3dn7vsw.js} +26 -26
  257. package/dist/chunks/{file-mutation-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{file-mutation-cekd2vsf.js → shell-w6q8arpf.js} +24 -24
  259. package/dist/chunks/{file-mutation-sr3kag3a.js → shell-w7afr362.js} +20 -20
  260. package/dist/chunks/{file-mutation-16ykham6.js → shell-w7y6znma.js} +9 -9
  261. package/dist/chunks/{file-mutation-wd87259q.js → shell-wd87259q.js} +1 -1
  262. package/dist/chunks/{file-mutation-xnahtpae.js → shell-wejvtsvc.js} +8 -8
  263. package/dist/chunks/{file-mutation-9s4fnnwx.js → shell-wf93z251.js} +16 -16
  264. package/dist/chunks/{file-mutation-9d52tmdm.js → shell-x0ea1d7t.js} +10 -10
  265. package/dist/chunks/{file-mutation-b5a5chs4.js → shell-x0pm48gx.js} +11 -11
  266. package/dist/chunks/{file-mutation-x1ezjp6w.js → shell-x1ezjp6w.js} +1 -1
  267. package/dist/chunks/{file-mutation-fpz52p8q.js → shell-x7zeatxc.js} +5 -5
  268. package/dist/chunks/{file-mutation-9zsbca5k.js → shell-xb1zhhk4.js} +51 -51
  269. package/dist/chunks/{file-mutation-5x4r9t6b.js → shell-xc4h54g0.js} +8 -8
  270. package/dist/chunks/{file-mutation-ypp9m475.js → shell-xd6cwxj6.js} +38 -38
  271. package/dist/chunks/{file-mutation-xfkkasph.js → shell-xfkkasph.js} +1 -1
  272. package/dist/chunks/{file-mutation-tegzbpn0.js → shell-xmer0dbq.js} +4 -4
  273. package/dist/chunks/{file-mutation-744d2y49.js → shell-xz9j7v2t.js} +13 -13
  274. package/dist/chunks/{file-mutation-y1fvbwt7.js → shell-y1fvbwt7.js} +1 -1
  275. package/dist/chunks/{file-mutation-y71avatq.js → shell-y71avatq.js} +1 -1
  276. package/dist/chunks/{file-mutation-9t5hjfj5.js → shell-y8zkxr9j.js} +15 -15
  277. package/dist/chunks/{file-mutation-pdb8ga4w.js → shell-y9j63q94.js} +12 -12
  278. package/dist/chunks/{file-mutation-1btxqys4.js → shell-ygek0628.js} +4 -4
  279. package/dist/chunks/{file-mutation-81tbvkms.js → shell-yh8kp56w.js} +7 -7
  280. package/dist/chunks/{file-mutation-yrhqyw5v.js → shell-yrhqyw5v.js} +1 -1
  281. package/dist/chunks/{file-mutation-s4enseaf.js → shell-yrznvahk.js} +2 -2
  282. package/dist/chunks/{file-mutation-n0pywpq4.js → shell-yzyc98yn.js} +6 -6
  283. package/dist/chunks/{file-mutation-z0bkrqjs.js → shell-z0bkrqjs.js} +1 -1
  284. package/dist/chunks/{file-mutation-608s2005.js → shell-z1djt9rd.js} +26 -26
  285. package/dist/chunks/{file-mutation-29x78va6.js → shell-z63w68vq.js} +6 -6
  286. package/dist/chunks/{file-mutation-zeh9ct20.js → shell-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{file-mutation-zr2ceqn5.js → shell-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{file-mutation-zxq2ej10.js → shell-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +7 -7
  291. package/dist/codemode/tool.js +3 -3
  292. package/dist/codemode/web.js +1 -1
  293. package/dist/command.js +80 -80
  294. package/dist/config/discovery.js +81 -81
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +105 -105
  297. package/dist/config/plugin/agent.js +124 -124
  298. package/dist/config/plugin/command.js +213 -213
  299. package/dist/config/plugin/compaction.js +159 -159
  300. package/dist/config/plugin/compatibility.js +140 -140
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +123 -123
  303. package/dist/config/plugin/image.js +122 -122
  304. package/dist/config/plugin/instruction.js +89 -89
  305. package/dist/config/plugin/location-watcher.js +122 -122
  306. package/dist/config/plugin/mcp.js +131 -131
  307. package/dist/config/plugin/policy.js +122 -122
  308. package/dist/config/plugin/provider.js +122 -122
  309. package/dist/config/plugin/reference.js +124 -124
  310. package/dist/config/plugin/shell.js +122 -122
  311. package/dist/config/plugin/skill-file.js +101 -101
  312. package/dist/config/plugin/skill.js +143 -143
  313. package/dist/config/plugin/snapshot.js +122 -122
  314. package/dist/config/plugin/source.js +125 -125
  315. package/dist/config/plugin/tool-output.js +124 -124
  316. package/dist/config/plugin/websearch.js +121 -121
  317. package/dist/config/plugin/worktree.js +124 -124
  318. package/dist/config/variable.js +3 -3
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +123 -123
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +84 -84
  323. package/dist/database/database.js +65 -65
  324. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +14 -14
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration.gen.js +48 -48
  388. package/dist/database/migration.js +50 -50
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +75 -75
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +366 -366
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +1 -1
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +92 -92
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +94 -94
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +1 -1
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +69 -69
  412. package/dist/file-access.js +103 -103
  413. package/dist/file-mutation.js +93 -93
  414. package/dist/file-retention.js +1 -1
  415. package/dist/file.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/ignore.js +1 -1
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +224 -224
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +96 -96
  425. package/dist/filesystem/watcher-binding.js +3 -3
  426. package/dist/filesystem/watcher.js +13 -13
  427. package/dist/filesystem.js +101 -101
  428. package/dist/form.js +83 -83
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +82 -82
  431. package/dist/generate.js +102 -102
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +90 -90
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/id/id.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +357 -357
  457. package/dist/instruction-discovery.js +82 -82
  458. package/dist/instructions/builtins.js +86 -86
  459. package/dist/instructions/index.js +5 -5
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +87 -87
  462. package/dist/job.js +76 -76
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +72 -72
  465. package/dist/location-activity.js +131 -131
  466. package/dist/location-lifecycle.js +105 -105
  467. package/dist/location-mutation.js +103 -103
  468. package/dist/location-service-map.js +85 -85
  469. package/dist/location-services.js +354 -354
  470. package/dist/location.js +88 -88
  471. package/dist/mcp/client.js +90 -90
  472. package/dist/mcp/index.js +107 -107
  473. package/dist/mcp/instructions.js +127 -127
  474. package/dist/mcp/oauth.js +77 -77
  475. package/dist/mcp/stdio.js +89 -89
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +90 -90
  478. package/dist/model-resolver.js +97 -97
  479. package/dist/model.js +101 -101
  480. package/dist/models-dev.js +106 -106
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +81 -81
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +116 -116
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +85 -85
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +74 -74
  490. package/dist/plugin/agent.js +103 -103
  491. package/dist/plugin/command.js +100 -100
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +217 -217
  494. package/dist/plugin/identity.js +3 -3
  495. package/dist/plugin/instance.js +5 -5
  496. package/dist/plugin/internal.js +328 -328
  497. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  498. package/dist/plugin/models-dev.js +95 -95
  499. package/dist/plugin/module.js +7 -7
  500. package/dist/plugin/optimize.js +4 -4
  501. package/dist/plugin/plan.js +101 -101
  502. package/dist/plugin/promise.js +1 -1
  503. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  504. package/dist/plugin/provider/azure.js +121 -121
  505. package/dist/plugin/provider/cerebras.js +1 -1
  506. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  507. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  508. package/dist/plugin/provider/cohere.js +2 -2
  509. package/dist/plugin/provider/configured.js +118 -118
  510. package/dist/plugin/provider/digitalocean.js +92 -92
  511. package/dist/plugin/provider/dynamic.js +2 -2
  512. package/dist/plugin/provider/factory.js +1 -1
  513. package/dist/plugin/provider/gateway.js +2 -2
  514. package/dist/plugin/provider/github-copilot.js +92 -92
  515. package/dist/plugin/provider/gitlab.js +90 -90
  516. package/dist/plugin/provider/google-vertex.js +89 -89
  517. package/dist/plugin/provider/kilo.js +1 -1
  518. package/dist/plugin/provider/llmgateway.js +76 -76
  519. package/dist/plugin/provider/lmstudio.js +121 -121
  520. package/dist/plugin/provider/modal.js +91 -91
  521. package/dist/plugin/provider/nvidia.js +1 -1
  522. package/dist/plugin/provider/ollama.js +121 -121
  523. package/dist/plugin/provider/openai.js +93 -93
  524. package/dist/plugin/provider/opencode.js +92 -92
  525. package/dist/plugin/provider/openrouter.js +90 -90
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +77 -77
  528. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  529. package/dist/plugin/provider/sap-ai-core.js +90 -90
  530. package/dist/plugin/provider/sdk-factory.js +1 -1
  531. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  532. package/dist/plugin/provider/venice.js +2 -2
  533. package/dist/plugin/provider/vercel.js +89 -89
  534. package/dist/plugin/provider/vllm.js +121 -121
  535. package/dist/plugin/provider/xai.js +90 -90
  536. package/dist/plugin/provider/zenmux.js +1 -1
  537. package/dist/plugin/provider.js +158 -158
  538. package/dist/plugin/sdk.js +75 -75
  539. package/dist/plugin/service.js +3 -3
  540. package/dist/plugin/skill.js +140 -140
  541. package/dist/plugin/source-directory.js +1 -1
  542. package/dist/plugin/supervisor.js +347 -347
  543. package/dist/plugin/update.js +6 -6
  544. package/dist/plugin/vcs/git.js +85 -85
  545. package/dist/plugin/vcs/hg.js +85 -85
  546. package/dist/plugin/warming.js +120 -120
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +8 -8
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +6 -6
  551. package/dist/plugin/websearch/parallel.js +8 -8
  552. package/dist/plugin/websearch/tavily.js +6 -6
  553. package/dist/plugin/websearch/tinyfish.js +8 -8
  554. package/dist/plugin.js +228 -228
  555. package/dist/project/schema.js +8 -8
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +89 -89
  558. package/dist/provider.js +100 -100
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/schema.js +3 -3
  561. package/dist/pty/ticket.js +1 -1
  562. package/dist/pty.js +95 -95
  563. package/dist/reference/instructions.js +88 -88
  564. package/dist/reference.js +90 -90
  565. package/dist/repository-cache.js +80 -80
  566. package/dist/repository.js +3 -3
  567. package/dist/ripgrep/binary.js +2 -2
  568. package/dist/ripgrep.js +94 -94
  569. package/dist/rpc.js +85 -85
  570. package/dist/schema.js +1 -1
  571. package/dist/session/command.js +73 -73
  572. package/dist/session/compaction.js +133 -133
  573. package/dist/session/context.js +151 -151
  574. package/dist/session/diff.js +87 -87
  575. package/dist/session/environment.js +5 -5
  576. package/dist/session/error.js +7 -7
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +220 -220
  579. package/dist/session/execution.js +127 -127
  580. package/dist/session/generate.js +152 -152
  581. package/dist/session/history.js +15 -15
  582. package/dist/session/inbox.js +85 -85
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +76 -76
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +92 -92
  587. package/dist/session/message-updater.js +4 -4
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +118 -118
  590. package/dist/session/model-transport.js +9 -9
  591. package/dist/session/move.js +129 -129
  592. package/dist/session/projector.js +85 -85
  593. package/dist/session/prompt.js +104 -104
  594. package/dist/session/provider-context.js +3 -3
  595. package/dist/session/revert.js +89 -89
  596. package/dist/session/run-coordinator.js +3 -3
  597. package/dist/session/runner/index.js +3 -3
  598. package/dist/session/runner/llm.js +230 -230
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +97 -97
  601. package/dist/session/runner/publish-llm-event.js +3 -3
  602. package/dist/session/runner/retry.js +113 -113
  603. package/dist/session/runner/step.js +125 -125
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +5 -5
  606. package/dist/session/session.js +169 -169
  607. package/dist/session/shell.js +137 -137
  608. package/dist/session/skill.js +102 -102
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +72 -72
  611. package/dist/session/store.js +86 -86
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +209 -209
  614. package/dist/session/system-prompt.js +1 -1
  615. package/dist/session/title.js +155 -155
  616. package/dist/session/to-session-error.js +110 -110
  617. package/dist/session/transfer.js +216 -216
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +217 -217
  620. package/dist/shell/parse.js +6 -6
  621. package/dist/shell/result.js +1 -1
  622. package/dist/shell/scan.js +1 -1
  623. package/dist/shell/select.js +9 -9
  624. package/dist/shell.js +139 -139
  625. package/dist/skill/discovery.js +6 -6
  626. package/dist/skill/instructions.js +106 -106
  627. package/dist/skill.js +111 -111
  628. package/dist/snapshot.js +92 -92
  629. package/dist/state.js +1 -1
  630. package/dist/tool/html-markdown.js +1 -1
  631. package/dist/tool/http-body.js +1 -1
  632. package/dist/tool/mcp.js +126 -126
  633. package/dist/tool/plugin/edit.js +119 -119
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +123 -123
  636. package/dist/tool/plugin/grep.js +117 -117
  637. package/dist/tool/plugin/opencode.js +3 -3
  638. package/dist/tool/plugin/patch.js +121 -121
  639. package/dist/tool/plugin/question.js +104 -104
  640. package/dist/tool/plugin/read.js +124 -124
  641. package/dist/tool/plugin/shell.js +214 -214
  642. package/dist/tool/plugin/skill.js +104 -104
  643. package/dist/tool/plugin/subagent.js +210 -210
  644. package/dist/tool/plugin/webfetch.js +111 -111
  645. package/dist/tool/plugin/websearch.js +111 -111
  646. package/dist/tool/plugin/write.js +121 -121
  647. package/dist/tool/read-filesystem.js +97 -97
  648. package/dist/tool/runtime.js +1 -1
  649. package/dist/tool-output.js +8 -8
  650. package/dist/tool.js +14 -14
  651. package/dist/util/error-summary.js +1 -1
  652. package/dist/util/error.js +1 -1
  653. package/dist/util/git-executable.js +2 -2
  654. package/dist/util/iife.js +1 -1
  655. package/dist/util/lazy.js +1 -1
  656. package/dist/util/slug.js +1 -1
  657. package/dist/util/token.js +1 -1
  658. package/dist/util/which.js +1 -1
  659. package/dist/util/wildcard.js +1 -1
  660. package/dist/v1/config/agent.js +7 -7
  661. package/dist/v1/config/attachment.js +4 -4
  662. package/dist/v1/config/command.js +1 -1
  663. package/dist/v1/config/config.js +16 -16
  664. package/dist/v1/config/error.js +4 -4
  665. package/dist/v1/config/formatter.js +3 -3
  666. package/dist/v1/config/layout.js +1 -1
  667. package/dist/v1/config/lsp.js +3 -3
  668. package/dist/v1/config/mcp.js +2 -2
  669. package/dist/v1/config/migrate.js +91 -91
  670. package/dist/v1/config/permission.js +7 -7
  671. package/dist/v1/config/plugin.js +3 -3
  672. package/dist/v1/config/provider-options.js +1 -1
  673. package/dist/v1/config/provider.js +4 -4
  674. package/dist/v1/config/server.js +2 -2
  675. package/dist/v1/config/skills.js +3 -3
  676. package/dist/v1/permission.js +1 -1
  677. package/dist/variant.js +90 -90
  678. package/dist/vcs/patch.js +1 -1
  679. package/dist/vcs.js +88 -88
  680. package/dist/websearch.js +83 -83
  681. package/dist/wellknown/plugin.js +75 -75
  682. package/dist/wellknown.js +78 -78
  683. package/dist/workspace/driver.js +5 -5
  684. package/dist/workspace/sql.js +1 -1
  685. package/dist/workspace.js +79 -79
  686. package/dist/worktree/directory.js +2 -2
  687. package/dist/worktree/git.js +8 -8
  688. package/dist/worktree/sql.js +5 -5
  689. package/dist/worktree/strategies.js +88 -88
  690. package/dist/worktree.js +95 -95
  691. package/package.json +8 -8
  692. package/dist/chunks/file-mutation-0dr17sfc.js +0 -252
  693. package/dist/chunks/file-mutation-3n20nwgf.js +0 -478
  694. package/dist/chunks/file-mutation-6kdq0pjd.js +0 -4
  695. package/dist/chunks/file-mutation-75z37rd0.js +0 -65
  696. package/dist/chunks/file-mutation-ctefx7dc.js +0 -18
  697. package/dist/chunks/file-mutation-k14es7wq.js +0 -26
  698. /package/dist/chunks/{file-mutation-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
  699. /package/dist/chunks/{file-mutation-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
  700. /package/dist/chunks/{file-mutation-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
  701. /package/dist/chunks/{file-mutation-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
  702. /package/dist/chunks/{file-mutation-1kg9ymc8.js → shell-1kg9ymc8.js} +0 -0
  703. /package/dist/chunks/{file-mutation-24dcb14g.js → shell-24dcb14g.js} +0 -0
  704. /package/dist/chunks/{file-mutation-2710q6r3.js → shell-2710q6r3.js} +0 -0
  705. /package/dist/chunks/{file-mutation-2axfhc9x.js → shell-2axfhc9x.js} +0 -0
  706. /package/dist/chunks/{file-mutation-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
  707. /package/dist/chunks/{file-mutation-359p4xyc.js → shell-359p4xyc.js} +0 -0
  708. /package/dist/chunks/{file-mutation-3asan66x.js → shell-3asan66x.js} +0 -0
  709. /package/dist/chunks/{file-mutation-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
  710. /package/dist/chunks/{file-mutation-3w5fmr99.js → shell-3w5fmr99.js} +0 -0
  711. /package/dist/chunks/{file-mutation-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
  712. /package/dist/chunks/{file-mutation-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
  713. /package/dist/chunks/{file-mutation-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
  714. /package/dist/chunks/{file-mutation-4vcrnpx2.js → shell-4vcrnpx2.js} +0 -0
  715. /package/dist/chunks/{file-mutation-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
  716. /package/dist/chunks/{file-mutation-53557ph1.js → shell-53557ph1.js} +0 -0
  717. /package/dist/chunks/{file-mutation-550bvhaj.js → shell-550bvhaj.js} +0 -0
  718. /package/dist/chunks/{file-mutation-6prwharc.js → shell-6prwharc.js} +0 -0
  719. /package/dist/chunks/{file-mutation-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
  720. /package/dist/chunks/{file-mutation-7m9af43g.js → shell-7m9af43g.js} +0 -0
  721. /package/dist/chunks/{file-mutation-822emrt2.js → shell-822emrt2.js} +0 -0
  722. /package/dist/chunks/{file-mutation-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
  723. /package/dist/chunks/{file-mutation-8n3pysct.js → shell-8n3pysct.js} +0 -0
  724. /package/dist/chunks/{file-mutation-922hggd3.js → shell-922hggd3.js} +0 -0
  725. /package/dist/chunks/{file-mutation-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
  726. /package/dist/chunks/{file-mutation-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
  727. /package/dist/chunks/{file-mutation-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
  728. /package/dist/chunks/{file-mutation-af5trqkr.js → shell-af5trqkr.js} +0 -0
  729. /package/dist/chunks/{file-mutation-afrmfg78.js → shell-afrmfg78.js} +0 -0
  730. /package/dist/chunks/{file-mutation-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
  731. /package/dist/chunks/{file-mutation-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
  732. /package/dist/chunks/{file-mutation-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
  733. /package/dist/chunks/{file-mutation-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
  734. /package/dist/chunks/{file-mutation-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
  735. /package/dist/chunks/{file-mutation-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
  736. /package/dist/chunks/{file-mutation-d9fn303g.js → shell-d9fn303g.js} +0 -0
  737. /package/dist/chunks/{file-mutation-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
  738. /package/dist/chunks/{file-mutation-dajrwvna.js → shell-dajrwvna.js} +0 -0
  739. /package/dist/chunks/{file-mutation-dap0rakb.js → shell-dap0rakb.js} +0 -0
  740. /package/dist/chunks/{file-mutation-df08tz66.js → shell-df08tz66.js} +0 -0
  741. /package/dist/chunks/{file-mutation-dy18nga0.js → shell-dy18nga0.js} +0 -0
  742. /package/dist/chunks/{file-mutation-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
  743. /package/dist/chunks/{file-mutation-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
  744. /package/dist/chunks/{file-mutation-ec1grn59.js → shell-ec1grn59.js} +0 -0
  745. /package/dist/chunks/{file-mutation-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
  746. /package/dist/chunks/{file-mutation-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
  747. /package/dist/chunks/{file-mutation-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
  748. /package/dist/chunks/{file-mutation-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
  749. /package/dist/chunks/{file-mutation-faypxj3z.js → shell-faypxj3z.js} +0 -0
  750. /package/dist/chunks/{file-mutation-fd410y7t.js → shell-fd410y7t.js} +0 -0
  751. /package/dist/chunks/{file-mutation-fxgpk5d8.js → shell-fxgpk5d8.js} +0 -0
  752. /package/dist/chunks/{file-mutation-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
  753. /package/dist/chunks/{file-mutation-g86h250q.js → shell-g86h250q.js} +0 -0
  754. /package/dist/chunks/{file-mutation-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
  755. /package/dist/chunks/{file-mutation-gftt206x.js → shell-gftt206x.js} +0 -0
  756. /package/dist/chunks/{file-mutation-hjbc5kem.js → shell-hjbc5kem.js} +0 -0
  757. /package/dist/chunks/{file-mutation-hk9envan.js → shell-hk9envan.js} +0 -0
  758. /package/dist/chunks/{file-mutation-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
  759. /package/dist/chunks/{file-mutation-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
  760. /package/dist/chunks/{file-mutation-jjkms2e6.js → shell-jjkms2e6.js} +0 -0
  761. /package/dist/chunks/{file-mutation-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
  762. /package/dist/chunks/{file-mutation-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
  763. /package/dist/chunks/{file-mutation-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
  764. /package/dist/chunks/{file-mutation-mp448xyj.js → shell-mp448xyj.js} +0 -0
  765. /package/dist/chunks/{file-mutation-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
  766. /package/dist/chunks/{file-mutation-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
  767. /package/dist/chunks/{file-mutation-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
  768. /package/dist/chunks/{file-mutation-njntx4h6.js → shell-njntx4h6.js} +0 -0
  769. /package/dist/chunks/{file-mutation-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
  770. /package/dist/chunks/{file-mutation-q74kybfr.js → shell-q74kybfr.js} +0 -0
  771. /package/dist/chunks/{file-mutation-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
  772. /package/dist/chunks/{file-mutation-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
  773. /package/dist/chunks/{file-mutation-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
  774. /package/dist/chunks/{file-mutation-qg3g05ea.js → shell-qg3g05ea.js} +0 -0
  775. /package/dist/chunks/{file-mutation-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
  776. /package/dist/chunks/{file-mutation-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
  777. /package/dist/chunks/{file-mutation-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
  778. /package/dist/chunks/{file-mutation-sk3qaz4a.js → shell-sk3qaz4a.js} +0 -0
  779. /package/dist/chunks/{file-mutation-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
  780. /package/dist/chunks/{file-mutation-twg0f83k.js → shell-twg0f83k.js} +0 -0
  781. /package/dist/chunks/{file-mutation-w803qqfp.js → shell-w803qqfp.js} +0 -0
  782. /package/dist/chunks/{file-mutation-wc3fc9cn.js → shell-wc3fc9cn.js} +0 -0
  783. /package/dist/chunks/{file-mutation-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
  784. /package/dist/chunks/{file-mutation-wtztk69x.js → shell-wtztk69x.js} +0 -0
  785. /package/dist/chunks/{file-mutation-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
  786. /package/dist/chunks/{file-mutation-x61499pn.js → shell-x61499pn.js} +0 -0
  787. /package/dist/chunks/{file-mutation-y44na4kk.js → shell-y44na4kk.js} +0 -0
  788. /package/dist/chunks/{file-mutation-y8cydn3q.js → shell-y8cydn3q.js} +0 -0
  789. /package/dist/chunks/{file-mutation-y8f7s663.js → shell-y8f7s663.js} +0 -0
  790. /package/dist/chunks/{file-mutation-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
  791. /package/dist/chunks/{file-mutation-ym463w8f.js → shell-ym463w8f.js} +0 -0
  792. /package/dist/chunks/{file-mutation-z9919s4g.js → shell-z9919s4g.js} +0 -0
@@ -2,45 +2,45 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./file-mutation-2a5m3afh.js";
5
+ } from "./shell-2a5m3afh.js";
6
6
  import {
7
- Service76
8
- } from "./file-mutation-a58czpns.js";
7
+ Service78
8
+ } from "./shell-8kpc6pdt.js";
9
9
  import {
10
- Service68
11
- } from "./file-mutation-9vw038cm.js";
10
+ Service60
11
+ } from "./shell-d0c4rcdd.js";
12
12
  import {
13
13
  Service13
14
- } from "./file-mutation-81tbvkms.js";
14
+ } from "./shell-yh8kp56w.js";
15
15
  import {
16
- Service27,
16
+ Service17,
17
17
  readText2,
18
18
  syncTextBom2
19
- } from "./file-mutation-sc7wv7tt.js";
19
+ } from "./shell-h2dht7j6.js";
20
20
  import {
21
- Service55
22
- } from "./file-mutation-bh6093r6.js";
21
+ Service74
22
+ } from "./shell-9wvkvc1q.js";
23
23
  import {
24
- Service21,
24
+ Service73,
25
25
  resolvePath2
26
- } from "./file-mutation-9yrzyr7j.js";
26
+ } from "./shell-byr7frw1.js";
27
27
  import {
28
28
  fileDiff2
29
- } from "./file-mutation-6prwharc.js";
29
+ } from "./shell-6prwharc.js";
30
30
  import {
31
31
  __export
32
- } from "./file-mutation-9rqn6x4v.js";
32
+ } from "./shell-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/patch.ts
35
35
  var exports_patch = {};
36
36
  __export(exports_patch, {
37
37
  Applied: () => Applied2,
38
- Input: () => Input10,
39
- Output: () => Output6,
38
+ Input: () => Input5,
39
+ Output: () => Output5,
40
40
  PatchTool: () => exports_patch,
41
- Plugin: () => Plugin12,
42
- name: () => name10,
43
- toModelContent: () => toModelContent6
41
+ Plugin: () => Plugin19,
42
+ name: () => name5,
43
+ toModelContent: () => toModelContent3
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai";
46
46
  import { FileDiff } from "@opencode/schema/file-diff";
@@ -85,8 +85,8 @@ It is important to remember:
85
85
  `;
86
86
 
87
87
  // src/tool/plugin/patch.ts
88
- var name10 = "patch";
89
- var Input10 = Schema.Struct({
88
+ var name5 = "patch";
89
+ var Input5 = Schema.Struct({
90
90
  patchText: Schema.String.annotate({
91
91
  description: "The full patch text describing add, update, and delete operations"
92
92
  })
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
96
96
  resource: Schema.String,
97
97
  target: Schema.String
98
98
  });
99
- var Output6 = Schema.Struct({
99
+ var Output5 = Schema.Struct({
100
100
  applied: Schema.Array(Applied2),
101
101
  files: Schema.Array(FileDiff.Info)
102
102
  });
103
- var toModelContent6 = (output) => [
103
+ var toModelContent3 = (output) => [
104
104
  "Success. Updated the following files:",
105
105
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
106
106
  ].join(`
107
107
  `);
108
- var Plugin12 = {
108
+ var Plugin19 = {
109
109
  id: "opencode.tool.patch",
110
110
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
111
- const environment = yield* Service68;
112
- const access = yield* Service21;
113
- const fileMutation = yield* Service27;
111
+ const environment = yield* Service60;
112
+ const access = yield* Service73;
113
+ const fileMutation = yield* Service17;
114
114
  const formatter = yield* Service13;
115
- const location = yield* Service76;
116
- const permission = yield* Service55;
115
+ const location = yield* Service78;
116
+ const permission = yield* Service74;
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name10,
118
+ name: name5,
119
119
  options: { codemode: false, permission: "edit" },
120
120
  description: patch_default,
121
- input: Input10,
122
- output: Output6,
121
+ input: Input5,
122
+ output: Output5,
123
123
  execute: (input, context) => {
124
124
  const applied = [];
125
125
  const parsed = Patch.parse(input.patchText);
@@ -266,7 +266,7 @@ var Plugin12 = {
266
266
  return { applied, files };
267
267
  }).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
268
268
  output,
269
- content: toModelContent6(output),
269
+ content: toModelContent3(output),
270
270
  metadata: { files: output.files }
271
271
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
272
272
  }
@@ -326,4 +326,4 @@ function trimDiff(diff) {
326
326
  `);
327
327
  }
328
328
 
329
- export { name10, Input10, Applied2, Output6, toModelContent6, Plugin12, exports_patch };
329
+ export { name5, Input5, Applied2, Output5, toModelContent3, Plugin19, exports_patch };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./file-mutation-kn475exs.js";
4
+ } from "./shell-kpg8spgh.js";
5
5
  import {
6
6
  Service82,
7
7
  node86
8
- } from "./file-mutation-b8rp9x54.js";
8
+ } from "./shell-bqh2sd97.js";
9
9
  import {
10
- Service45,
11
- node47
12
- } from "./file-mutation-mx9vqzsb.js";
10
+ Service49,
11
+ node52
12
+ } from "./shell-v8jfbz3g.js";
13
13
  import {
14
14
  AbsolutePath2,
15
15
  RelativePath2
16
- } from "./file-mutation-922hggd3.js";
16
+ } from "./shell-922hggd3.js";
17
17
  import {
18
- Service77,
19
- node81
20
- } from "./file-mutation-tpwrm9yt.js";
18
+ Service80,
19
+ node84
20
+ } from "./shell-t5jrxwkq.js";
21
21
  import {
22
- Ref3
23
- } from "./file-mutation-a58czpns.js";
22
+ Ref4
23
+ } from "./shell-8kpc6pdt.js";
24
24
  import {
25
- Service59,
26
- node61
27
- } from "./file-mutation-kjyymkn6.js";
25
+ Service53,
26
+ node56
27
+ } from "./shell-7m4yxrk1.js";
28
28
  import {
29
29
  SessionMessage2
30
- } from "./file-mutation-gftt206x.js";
30
+ } from "./shell-gftt206x.js";
31
31
  import {
32
- NotFoundError9
33
- } from "./file-mutation-jh7y3ak4.js";
32
+ NotFoundError10
33
+ } from "./shell-3ktbe3hf.js";
34
34
  import {
35
35
  SessionEvent2
36
- } from "./file-mutation-ec1grn59.js";
36
+ } from "./shell-ec1grn59.js";
37
37
  import {
38
- Service43
39
- } from "./file-mutation-kne8f3cn.js";
38
+ Service47
39
+ } from "./shell-embw8kgh.js";
40
40
  import {
41
- Service57,
42
- node59
43
- } from "./file-mutation-36ysvq8r.js";
41
+ Service75,
42
+ node79
43
+ } from "./shell-dcx9ytfh.js";
44
44
  import {
45
45
  Item2,
46
46
  serialized2,
47
- Service44,
48
- node46,
47
+ Service48,
48
+ node51,
49
49
  moveIDs2
50
- } from "./file-mutation-0ehxtnnz.js";
50
+ } from "./shell-6zk5k8gk.js";
51
51
  import {
52
- Service42,
53
- node45
54
- } from "./file-mutation-ypp9m475.js";
52
+ Service46,
53
+ node50
54
+ } from "./shell-xd6cwxj6.js";
55
55
  import {
56
- node34
57
- } from "./file-mutation-fwr1nb5p.js";
56
+ node35
57
+ } from "./shell-cae5tg5t.js";
58
58
  import {
59
59
  __export
60
- } from "./file-mutation-9rqn6x4v.js";
60
+ } from "./shell-9rqn6x4v.js";
61
61
 
62
62
  // src/session/move.ts
63
63
  var exports_move = {};
@@ -65,9 +65,9 @@ __export(exports_move, {
65
65
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
66
66
  DestinationNotFoundError: () => DestinationNotFoundError2,
67
67
  DestinationUnavailableError: () => DestinationUnavailableError2,
68
- Service: () => Service30,
68
+ Service: () => Service31,
69
69
  SessionMove: () => exports_move,
70
- node: () => node33
70
+ node: () => node34
71
71
  });
72
72
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
73
73
  import { FSUtil } from "@opencode/util/fs-util";
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
83
83
  class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
84
84
  }
85
85
 
86
- class Service30 extends Context.Service()("@opencode/SessionMove") {
86
+ class Service31 extends Context.Service()("@opencode/SessionMove") {
87
87
  }
88
- var layer = Layer.effect(Service30, Effect.gen(function* () {
88
+ var layer = Layer.effect(Service31, Effect.gen(function* () {
89
89
  const fs = yield* FSUtil.Service;
90
90
  const global = yield* Global.Service;
91
- const projects = yield* Service77;
92
- const locations = yield* Service59;
93
- const store = yield* Service57;
94
- const execution = yield* Service42;
95
- const instances = yield* Service45;
96
- const admission = yield* Service44;
91
+ const projects = yield* Service80;
92
+ const locations = yield* Service53;
93
+ const store = yield* Service75;
94
+ const execution = yield* Service46;
95
+ const instances = yield* Service49;
96
+ const admission = yield* Service48;
97
97
  const database = yield* Service83;
98
98
  const bus = yield* Service82;
99
99
  const get = Effect.fn("SessionMove.get")(function* (sessionID) {
100
100
  const session = yield* store.get(sessionID);
101
101
  if (!session)
102
- return yield* new NotFoundError9({ sessionID });
102
+ return yield* new NotFoundError10({ sessionID });
103
103
  return session;
104
104
  });
105
105
  const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
115
115
  return yield* new DestinationNotDirectoryError2({ directory });
116
116
  const project = yield* projects.resolve(directory);
117
117
  const destination = {
118
- location: Ref3.make({ directory, workspaceID: input.workspaceID }),
118
+ location: Ref4.make({ directory, workspaceID: input.workspaceID }),
119
119
  projectID: project.id,
120
120
  subpath: RelativePath2.make(path.relative(project.directory, directory).replaceAll("\\", "/"))
121
121
  };
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
131
131
  return false;
132
132
  if (!(yield* fs.isDir(session.location.directory)))
133
133
  return true;
134
- return yield* Service43.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
134
+ return yield* Service47.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
135
135
  });
136
- return Service30.of({
136
+ return Service31.of({
137
137
  move: Effect.fn("SessionMove.move")(function* (input) {
138
138
  const session = yield* get(input.sessionID);
139
139
  const destination = yield* resolveDestination(session, input);
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
163
163
  })
164
164
  });
165
165
  }));
166
- var node33 = makeGlobalNode({
167
- service: Service30,
166
+ var node34 = makeGlobalNode({
167
+ service: Service31,
168
168
  layer,
169
169
  deps: [
170
170
  FSUtil.node,
171
171
  Global.node,
172
- node81,
173
- node61,
174
- node59,
175
- node45,
176
- node47,
177
- node46,
172
+ node84,
173
+ node56,
174
+ node79,
175
+ node50,
176
+ node52,
177
+ node51,
178
178
  node87,
179
179
  node86,
180
- node34
180
+ node35
181
181
  ]
182
182
  });
183
183
 
184
- export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service30, node33, exports_move };
184
+ export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service31, node34, exports_move };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./file-mutation-ym463w8f.js";
3
+ } from "./shell-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/perplexity.ts
6
6
  var PerplexityPlugin2 = createProviderPlugin2({
@@ -1,43 +1,43 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./file-mutation-2a5m3afh.js";
3
+ } from "./shell-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./file-mutation-922hggd3.js";
6
+ } from "./shell-922hggd3.js";
7
7
  import {
8
- Service76
9
- } from "./file-mutation-a58czpns.js";
8
+ Service78
9
+ } from "./shell-8kpc6pdt.js";
10
10
  import {
11
- Service68
12
- } from "./file-mutation-9vw038cm.js";
11
+ Service60
12
+ } from "./shell-d0c4rcdd.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service24
16
- } from "./file-mutation-y0jwsk5r.js";
15
+ Service20
16
+ } from "./shell-tf2g47yf.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
21
  Entry2,
22
22
  Match2
23
- } from "./file-mutation-d0gb447e.js";
23
+ } from "./shell-902z4n12.js";
24
24
  import {
25
- Service55
26
- } from "./file-mutation-bh6093r6.js";
25
+ Service74
26
+ } from "./shell-9wvkvc1q.js";
27
27
  import {
28
- Service21
29
- } from "./file-mutation-9yrzyr7j.js";
28
+ Service73
29
+ } from "./shell-byr7frw1.js";
30
30
  import {
31
31
  __export
32
- } from "./file-mutation-9rqn6x4v.js";
32
+ } from "./shell-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/grep.ts
35
35
  var exports_grep = {};
36
36
  __export(exports_grep, {
37
37
  GrepTool: () => exports_grep,
38
38
  Input: () => Input7,
39
- Output: () => Output5,
40
- Plugin: () => Plugin9,
39
+ Output: () => Output6,
40
+ Plugin: () => Plugin21,
41
41
  name: () => name7,
42
42
  toModelContent: () => toModelContent4
43
43
  });
@@ -65,7 +65,7 @@ var Input7 = Schema.Struct({
65
65
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
66
66
  })
67
67
  });
68
- var Output5 = Schema.Array(Match2);
68
+ var Output6 = Schema.Array(Match2);
69
69
  var toModelContent4 = (matches, truncated = false) => {
70
70
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
71
71
  let current = "";
@@ -83,20 +83,20 @@ var toModelContent4 = (matches, truncated = false) => {
83
83
  return lines.join(`
84
84
  `);
85
85
  };
86
- var Plugin9 = {
86
+ var Plugin21 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
- const environment = yield* Service68;
90
- const ripgrep = yield* Service24;
91
- const location = yield* Service76;
92
- const access = yield* Service21;
93
- const permission = yield* Service55;
89
+ const environment = yield* Service60;
90
+ const ripgrep = yield* Service20;
91
+ const location = yield* Service78;
92
+ const access = yield* Service73;
93
+ const permission = yield* Service74;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
95
  name: name7,
96
96
  options: { codemode: false },
97
97
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
98
98
  input: Input7,
99
- output: Output5,
99
+ output: Output6,
100
100
  execute: (input, context) => Effect.gen(function* () {
101
101
  const source = { type: "tool", messageID: context.messageID, id: context.id };
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
@@ -154,4 +154,4 @@ var Plugin9 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name7, Input7, Output5, toModelContent4, Plugin9, exports_grep };
157
+ export { name7, Input7, Output6, toModelContent4, Plugin21, exports_grep };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  Service82
3
- } from "./file-mutation-b8rp9x54.js";
3
+ } from "./shell-bqh2sd97.js";
4
4
  import {
5
5
  OAuth3,
6
- Event21
7
- } from "./file-mutation-672tdqna.js";
6
+ Event16
7
+ } from "./shell-4eqskv5x.js";
8
8
  import {
9
- ID16,
9
+ ID9,
10
10
  MethodID2
11
- } from "./file-mutation-8cx2cchs.js";
11
+ } from "./shell-fxnhd30a.js";
12
12
  import {
13
- ID13,
13
+ ID8,
14
14
  mergeOverlay2,
15
15
  mergeHeaders2
16
- } from "./file-mutation-vtggy08e.js";
16
+ } from "./shell-99q6wywc.js";
17
17
  import {
18
- ID3,
19
- Input13,
18
+ ID4,
19
+ Input14,
20
20
  Response2
21
- } from "./file-mutation-fe107s36.js";
21
+ } from "./shell-hex08eaa.js";
22
22
 
23
23
  // src/plugin/provider/opencode.ts
24
24
  import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
32
32
  var RemoteResponse = Schema.Struct({
33
33
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
34
34
  websearch: Schema.Struct({
35
- providerID: ID3
35
+ providerID: ID4
36
36
  }).pipe(Schema.optional)
37
37
  });
38
38
  var Device = Schema.Struct({
@@ -54,7 +54,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
54
54
  var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
55
55
  function oauth(http) {
56
56
  return {
57
- integrationID: ID16.make("opencode"),
57
+ integrationID: ID9.make("opencode"),
58
58
  method: {
59
59
  id: methodID,
60
60
  type: "oauth",
@@ -134,7 +134,7 @@ var OpencodePlugin2 = define({
134
134
  providers.update(providerID, (provider) => {
135
135
  if (source && source.provider !== provider)
136
136
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
137
- provider.integrationID = ID16.make("opencode");
137
+ provider.integrationID = ID9.make("opencode");
138
138
  if (item.canonical !== undefined)
139
139
  provider.canonical = item.canonical;
140
140
  if (item.name !== undefined)
@@ -204,7 +204,7 @@ var OpencodePlugin2 = define({
204
204
  sourceConnection: snapshot.connection
205
205
  });
206
206
  }
207
- const item = providers.get(ID13.opencode);
207
+ const item = providers.get(ID8.opencode);
208
208
  if (!item)
209
209
  return;
210
210
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -216,7 +216,7 @@ var OpencodePlugin2 = define({
216
216
  });
217
217
  });
218
218
  yield* ctx.model.transform((models) => {
219
- const item = models.provider.get(ID13.opencode);
219
+ const item = models.provider.get(ID8.opencode);
220
220
  if (!item)
221
221
  return;
222
222
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -250,7 +250,7 @@ var OpencodePlugin2 = define({
250
250
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
251
251
  const token = credential.type === "oauth" ? credential.access : credential.key;
252
252
  const server = yield* normalizeServer(serverUrl(credential));
253
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
253
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
254
254
  query: input.query,
255
255
  providerID: descriptor.providerID
256
256
  }));
@@ -271,7 +271,7 @@ var OpencodePlugin2 = define({
271
271
  yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
272
272
  });
273
273
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
274
- yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
274
+ yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
275
275
  yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
276
276
  })
277
277
  });