@opencode/core 0.0.0-dev-19981 → 0.0.0-dev-19984

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 +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{persistent-pty-7aahv9qn.js → location-028pjh5f.js} +13 -13
  8. package/dist/chunks/{persistent-pty-dty6pce2.js → location-07ew9dmt.js} +28 -28
  9. package/dist/chunks/{persistent-pty-189jkc9d.js → location-0c1wpxb9.js} +1 -1
  10. package/dist/chunks/{persistent-pty-p1h117cf.js → location-0cjzkd0f.js} +45 -45
  11. package/dist/chunks/{persistent-pty-3kf9cyx9.js → location-0gjp373x.js} +14 -14
  12. package/dist/chunks/{persistent-pty-0paq2nw3.js → location-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{persistent-pty-0q0f95c6.js → location-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{persistent-pty-22keffh1.js → location-0vwkr0xv.js} +1 -1
  15. package/dist/chunks/{persistent-pty-b5re83s5.js → location-0yepr83e.js} +20 -20
  16. package/dist/chunks/{persistent-pty-xwfq1nez.js → location-0zt6fyp2.js} +14 -14
  17. package/dist/chunks/{persistent-pty-yqdpmpyv.js → location-13j8pn5k.js} +3 -3
  18. package/dist/chunks/{persistent-pty-pjv150s7.js → location-15zaq50v.js} +28 -28
  19. package/dist/chunks/{persistent-pty-nxer0yad.js → location-1acjjqhc.js} +4 -4
  20. package/dist/chunks/{persistent-pty-1z3fhpx8.js → location-1cx64p6y.js} +8 -8
  21. package/dist/chunks/{persistent-pty-1dazxqgg.js → location-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{persistent-pty-wjyv1427.js → location-1kpmcbq6.js} +18 -18
  23. package/dist/chunks/{persistent-pty-ktz5apky.js → location-1v29h1cg.js} +15 -15
  24. package/dist/chunks/{persistent-pty-3mhj610p.js → location-1yjvqg52.js} +6 -6
  25. package/dist/chunks/{persistent-pty-w22d05gm.js → location-1z6bcbwm.js} +45 -45
  26. package/dist/chunks/{persistent-pty-21r38tys.js → location-21r38tys.js} +1 -1
  27. package/dist/chunks/{persistent-pty-6h73sxmp.js → location-2402vzrj.js} +5 -5
  28. package/dist/chunks/{persistent-pty-jfqtm2ew.js → location-25m4ah6t.js} +7 -7
  29. package/dist/chunks/{persistent-pty-7eztrc44.js → location-26xy9jpk.js} +24 -24
  30. package/dist/chunks/{persistent-pty-29x78va6.js → location-29x78va6.js} +2 -2
  31. package/dist/chunks/{persistent-pty-2a5m3afh.js → location-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{persistent-pty-b0vbrmb4.js → location-2bybnw67.js} +20 -20
  33. package/dist/chunks/{persistent-pty-mrm42v82.js → location-2pnt8tzr.js} +12 -12
  34. package/dist/chunks/{persistent-pty-3vw9y35t.js → location-33sx5sqt.js} +16 -16
  35. package/dist/chunks/{persistent-pty-675cvrxf.js → location-3933gdcf.js} +11 -11
  36. package/dist/chunks/{persistent-pty-d87ppnb3.js → location-3cfzdc8e.js} +5 -5
  37. package/dist/chunks/{persistent-pty-3fc6dm20.js → location-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{persistent-pty-3hepkmqq.js → location-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{persistent-pty-ngc2191d.js → location-3jm0sq8a.js} +50 -50
  40. package/dist/chunks/{persistent-pty-a70ewb2f.js → location-3jyv51wp.js} +5 -5
  41. package/dist/chunks/{persistent-pty-81ygbb57.js → location-3kbv3m24.js} +21 -21
  42. package/dist/chunks/{persistent-pty-ys0rvgwx.js → location-3p3vm0ex.js} +27 -27
  43. package/dist/chunks/{persistent-pty-3smtnn6g.js → location-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{persistent-pty-3tvqynh2.js → location-3tvqynh2.js} +1 -1
  45. package/dist/chunks/{persistent-pty-00ax65t0.js → location-41b15ecq.js} +25 -25
  46. package/dist/chunks/{persistent-pty-hzssqh1d.js → location-42a57407.js} +34 -34
  47. package/dist/chunks/{persistent-pty-mmr7bq34.js → location-44ke2mar.js} +8 -8
  48. package/dist/chunks/{persistent-pty-8fyvcw1c.js → location-46aakvn5.js} +17 -17
  49. package/dist/chunks/{persistent-pty-xwfr1kp3.js → location-48am8h8r.js} +1 -1
  50. package/dist/chunks/{persistent-pty-0sk4n78x.js → location-48j1mtvh.js} +22 -22
  51. package/dist/chunks/{persistent-pty-1ygqh575.js → location-56gdpj1q.js} +9 -9
  52. package/dist/chunks/{persistent-pty-vbfgae2j.js → location-5cp6651z.js} +4 -4
  53. package/dist/chunks/{persistent-pty-5daktx2q.js → location-5daktx2q.js} +1 -1
  54. package/dist/chunks/{persistent-pty-wr7ps67x.js → location-5ebw3s4g.js} +5 -5
  55. package/dist/chunks/{persistent-pty-5t3nmthw.js → location-5t3nmthw.js} +2 -2
  56. package/dist/chunks/{persistent-pty-4xc2xt5t.js → location-5yt8bpsr.js} +2 -2
  57. package/dist/chunks/{persistent-pty-a1gwwkre.js → location-62kftm9s.js} +47 -47
  58. package/dist/chunks/{persistent-pty-669tq793.js → location-669tq793.js} +1 -1
  59. package/dist/chunks/{persistent-pty-s8j6jbjj.js → location-6m42r3np.js} +4 -4
  60. package/dist/chunks/{persistent-pty-6msgmcgs.js → location-6msgmcgs.js} +1 -1
  61. package/dist/chunks/{persistent-pty-w24sfk5b.js → location-6nqmg5rm.js} +7 -7
  62. package/dist/chunks/{persistent-pty-wn7f7h9x.js → location-6wz6s45a.js} +11 -11
  63. package/dist/chunks/{persistent-pty-2fgn2we9.js → location-6x0h2hvg.js} +9 -9
  64. package/dist/chunks/{persistent-pty-7bmhse3q.js → location-7bmhse3q.js} +1 -1
  65. package/dist/chunks/{persistent-pty-qasfmn61.js → location-7c0btcba.js} +15 -15
  66. package/dist/chunks/{persistent-pty-91p1v22t.js → location-7dbmnfn4.js} +8 -8
  67. package/dist/chunks/{persistent-pty-ead3g9p8.js → location-7gvwkz6m.js} +5 -5
  68. package/dist/chunks/{persistent-pty-mvm6yp9j.js → location-7p5wtjc3.js} +8 -8
  69. package/dist/chunks/{persistent-pty-7ewmpmc7.js → location-7raqvg34.js} +17 -17
  70. package/dist/chunks/{persistent-pty-2d57kztd.js → location-7yqjxrmz.js} +6 -6
  71. package/dist/chunks/{persistent-pty-7aqdbf5b.js → location-88vwfmcq.js} +6 -6
  72. package/dist/chunks/{persistent-pty-86eq1ywt.js → location-8c50kj87.js} +2 -2
  73. package/dist/chunks/{persistent-pty-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
  74. package/dist/chunks/{persistent-pty-7szz8ecw.js → location-8eg380mg.js} +4 -4
  75. package/dist/chunks/{persistent-pty-kc43h6j1.js → location-8krtnsn7.js} +3 -3
  76. package/dist/chunks/{persistent-pty-8p4f9s12.js → location-8p4f9s12.js} +2 -2
  77. package/dist/chunks/{persistent-pty-wd30r3h7.js → location-8pwapj34.js} +13 -13
  78. package/dist/chunks/{persistent-pty-tapvjybg.js → location-8x6t0zvv.js} +21 -21
  79. package/dist/chunks/{persistent-pty-g9tzs1c7.js → location-96q44xr9.js} +28 -28
  80. package/dist/chunks/{persistent-pty-740qj6em.js → location-9h91jpv9.js} +15 -15
  81. package/dist/chunks/{persistent-pty-g2yz86wh.js → location-9kmbd9mt.js} +2 -2
  82. package/dist/chunks/{persistent-pty-zpwvqkne.js → location-9p5s6s2z.js} +25 -25
  83. package/dist/chunks/{persistent-pty-yf57fzwh.js → location-9ywbvqrg.js} +35 -35
  84. package/dist/chunks/{persistent-pty-a1bz86dw.js → location-a1bz86dw.js} +3 -3
  85. package/dist/chunks/{persistent-pty-3xsfpvq0.js → location-a1j3s6td.js} +23 -23
  86. package/dist/chunks/{persistent-pty-5dcqe31d.js → location-a46hzbj5.js} +20 -20
  87. package/dist/chunks/{persistent-pty-tkcxk75v.js → location-a606p4kg.js} +22 -22
  88. package/dist/chunks/{persistent-pty-gjk270n1.js → location-a671bmw1.js} +12 -12
  89. package/dist/chunks/{persistent-pty-aaet6srn.js → location-aaet6srn.js} +2 -2
  90. package/dist/chunks/{persistent-pty-yff54yer.js → location-apgxa580.js} +13 -13
  91. package/dist/chunks/{persistent-pty-7cpynay4.js → location-awa55gyj.js} +8 -8
  92. package/dist/chunks/{persistent-pty-d7mmen8h.js → location-axenjc6b.js} +15 -15
  93. package/dist/chunks/{persistent-pty-wy6hpy23.js → location-b60s1em2.js} +13 -13
  94. package/dist/chunks/{persistent-pty-b6gygkdw.js → location-b6gygkdw.js} +2 -2
  95. package/dist/chunks/{persistent-pty-x1bw9y7f.js → location-b722n5s9.js} +12 -12
  96. package/dist/chunks/{persistent-pty-jmkpg1tv.js → location-b95a0s9k.js} +1 -1
  97. package/dist/chunks/{persistent-pty-ezpgfgdn.js → location-bgyxdgm5.js} +9 -9
  98. package/dist/chunks/{persistent-pty-rawmkaew.js → location-bkn818fb.js} +18 -18
  99. package/dist/chunks/{persistent-pty-mwzsbcbf.js → location-bm23hmy0.js} +12 -12
  100. package/dist/chunks/{persistent-pty-x9mtwtp0.js → location-bp02r99k.js} +4 -4
  101. package/dist/chunks/{persistent-pty-28qz5v8e.js → location-bsvwk272.js} +94 -94
  102. package/dist/chunks/{persistent-pty-39gs27gn.js → location-bthytya7.js} +42 -42
  103. package/dist/chunks/{persistent-pty-bt8eheyv.js → location-c52v1g84.js} +22 -22
  104. package/dist/chunks/{persistent-pty-d4he2qe1.js → location-c765mh8b.js} +9 -9
  105. package/dist/chunks/{persistent-pty-8hfr5z8m.js → location-c7r74d2e.js} +12 -12
  106. package/dist/chunks/{persistent-pty-nmzynm19.js → location-cb635m3g.js} +1 -1
  107. package/dist/chunks/{persistent-pty-8wgyvxqj.js → location-cbmr8phd.js} +8 -8
  108. package/dist/chunks/{persistent-pty-h2zrj56v.js → location-cd0z4qvb.js} +8 -8
  109. package/dist/chunks/{persistent-pty-cmbqfntm.js → location-cf3tj770.js} +5 -5
  110. package/dist/chunks/{persistent-pty-j8pax9gn.js → location-cf8xfs7e.js} +58 -58
  111. package/dist/chunks/{persistent-pty-cfpkc3c9.js → location-cfpkc3c9.js} +2 -2
  112. package/dist/chunks/{persistent-pty-byhr62qm.js → location-cgtezthe.js} +9 -9
  113. package/dist/chunks/{persistent-pty-mehmtrpt.js → location-cmna76py.js} +22 -22
  114. package/dist/chunks/{persistent-pty-p37cw4rj.js → location-cmwkp3r5.js} +8 -8
  115. package/dist/chunks/{persistent-pty-cq37gk0t.js → location-cq37gk0t.js} +4 -4
  116. package/dist/chunks/{persistent-pty-hd0qsb0v.js → location-crzmmhpe.js} +10 -10
  117. package/dist/chunks/{persistent-pty-64kphnzf.js → location-csf2jhsg.js} +4 -4
  118. package/dist/chunks/{persistent-pty-1tmvx3cs.js → location-cvmnpgad.js} +8 -8
  119. package/dist/chunks/{persistent-pty-qetnz3qf.js → location-cxr1pgpc.js} +7 -7
  120. package/dist/chunks/{persistent-pty-b33g5v9z.js → location-czw6ejq9.js} +12 -12
  121. package/dist/chunks/{persistent-pty-sqsf5w9p.js → location-d04xfmcf.js} +22 -22
  122. package/dist/chunks/{persistent-pty-ysckq8n5.js → location-d1728j9y.js} +9 -9
  123. package/dist/chunks/{persistent-pty-d8mytp2v.js → location-d72vtcx6.js} +9 -9
  124. package/dist/chunks/{persistent-pty-3j8sdtpz.js → location-dfe8djrf.js} +4 -4
  125. package/dist/chunks/{persistent-pty-kxn0m7ef.js → location-dh7atf4x.js} +24 -24
  126. package/dist/chunks/{persistent-pty-ag4rn41e.js → location-dhmh7aw6.js} +4 -4
  127. package/dist/chunks/{persistent-pty-85w0g9jn.js → location-djmnmanq.js} +16 -16
  128. package/dist/chunks/location-dpe5jjc5.js +252 -0
  129. package/dist/chunks/{persistent-pty-7935fwzs.js → location-dt191n27.js} +9 -9
  130. package/dist/chunks/{persistent-pty-mp87qz32.js → location-dvdzmdgd.js} +10 -10
  131. package/dist/chunks/{persistent-pty-x2a9gtha.js → location-dzebhhhh.js} +6 -6
  132. package/dist/chunks/{persistent-pty-mm7h7sr7.js → location-e3gkrkwa.js} +15 -15
  133. package/dist/chunks/{persistent-pty-m0gz42vg.js → location-e4b60ckc.js} +23 -23
  134. package/dist/chunks/{persistent-pty-f71akrxj.js → location-e4eg75r2.js} +8 -8
  135. package/dist/chunks/{persistent-pty-7z7az0f5.js → location-ec8389mk.js} +4 -4
  136. package/dist/chunks/{persistent-pty-xvjd5qxe.js → location-ee7jghms.js} +44 -44
  137. package/dist/chunks/{persistent-pty-ef5x83kb.js → location-ef5x83kb.js} +1 -1
  138. package/dist/chunks/{persistent-pty-erw5rpbs.js → location-erw5rpbs.js} +2 -2
  139. package/dist/chunks/{persistent-pty-etq0c3wd.js → location-etq0c3wd.js} +1 -1
  140. package/dist/chunks/{persistent-pty-nkgdvn7z.js → location-ex0ne5y8.js} +8 -8
  141. package/dist/chunks/{persistent-pty-1fd2gft5.js → location-f1s21ehs.js} +18 -18
  142. package/dist/chunks/{persistent-pty-a32n2gyw.js → location-f2k31yay.js} +14 -14
  143. package/dist/chunks/{persistent-pty-a6t3kjdk.js → location-f3dc04ja.js} +44 -44
  144. package/dist/chunks/{persistent-pty-99yv1vdm.js → location-f4v8yxfq.js} +12 -12
  145. package/dist/chunks/{persistent-pty-dekpyqan.js → location-f7bny14s.js} +48 -48
  146. package/dist/chunks/{persistent-pty-vx8qjqqy.js → location-f7dx5gxk.js} +7 -7
  147. package/dist/chunks/{persistent-pty-f828m53h.js → location-f828m53h.js} +2 -2
  148. package/dist/chunks/{persistent-pty-98krwt3q.js → location-ffjkv6j4.js} +11 -11
  149. package/dist/chunks/location-fpnkzx0a.js +26 -0
  150. package/dist/chunks/{persistent-pty-fxbjtjnd.js → location-fxbjtjnd.js} +1 -1
  151. package/dist/chunks/{persistent-pty-jn2czc9p.js → location-g98h6x07.js} +6 -6
  152. package/dist/chunks/{persistent-pty-r5wczv23.js → location-gbsk7s70.js} +33 -33
  153. package/dist/chunks/{persistent-pty-gd4qta3r.js → location-gd4qta3r.js} +1 -1
  154. package/dist/chunks/{persistent-pty-qc6v7e8r.js → location-ght7ghr8.js} +32 -32
  155. package/dist/chunks/{persistent-pty-v41623e8.js → location-gqkgf1w8.js} +25 -25
  156. package/dist/chunks/{persistent-pty-gv6a8nnw.js → location-gv6a8nnw.js} +2 -2
  157. package/dist/chunks/{persistent-pty-s0qgnfzw.js → location-h0t9nfwn.js} +3 -3
  158. package/dist/chunks/{persistent-pty-8qh6anns.js → location-h5b4kcx3.js} +4 -4
  159. package/dist/chunks/{persistent-pty-h6r3nrb9.js → location-h6r3nrb9.js} +1 -1
  160. package/dist/chunks/{persistent-pty-h6vf3j39.js → location-h6vf3j39.js} +1 -1
  161. package/dist/chunks/{persistent-pty-0jq9fyba.js → location-h71w788e.js} +9 -9
  162. package/dist/chunks/{persistent-pty-n9fty5ck.js → location-h78s014s.js} +9 -9
  163. package/dist/chunks/{persistent-pty-6js1jt2x.js → location-hbpxg73f.js} +29 -29
  164. package/dist/chunks/{persistent-pty-5nnytrr6.js → location-hj5q723k.js} +19 -19
  165. package/dist/chunks/{persistent-pty-xwt1kq35.js → location-hm1aj9am.js} +8 -8
  166. package/dist/chunks/{persistent-pty-nf01b4ny.js → location-hr3mej6q.js} +1 -1
  167. package/dist/chunks/{persistent-pty-fy2vv4qy.js → location-hrpmhk0j.js} +9 -9
  168. package/dist/chunks/{persistent-pty-8f6cy3pb.js → location-j081qpeq.js} +3 -3
  169. package/dist/chunks/{persistent-pty-j56e64zr.js → location-j56e64zr.js} +1 -1
  170. package/dist/chunks/{persistent-pty-8xnn2f25.js → location-j743xyx9.js} +14 -14
  171. package/dist/chunks/{persistent-pty-d7r387ef.js → location-jd00bmkr.js} +6 -6
  172. package/dist/chunks/{persistent-pty-th7zbfdx.js → location-jf5ejj3c.js} +30 -30
  173. package/dist/chunks/{persistent-pty-mrvjcs5x.js → location-jkp0d30b.js} +6 -6
  174. package/dist/chunks/{persistent-pty-k252d6tw.js → location-jkwh49qv.js} +34 -34
  175. package/dist/chunks/{persistent-pty-7zx1qa5e.js → location-jmh888fr.js} +16 -16
  176. package/dist/chunks/{persistent-pty-p1nm93x7.js → location-jv01nqvq.js} +5 -5
  177. package/dist/chunks/{persistent-pty-p3yqgy1f.js → location-jwnsrq47.js} +2 -2
  178. package/dist/chunks/{persistent-pty-nzks3jc8.js → location-k3c624dm.js} +3 -3
  179. package/dist/chunks/{persistent-pty-3ra5rr95.js → location-k46khmv0.js} +19 -19
  180. package/dist/chunks/{persistent-pty-pg06qq32.js → location-ka57rnyv.js} +31 -31
  181. package/dist/chunks/{persistent-pty-ghntyqza.js → location-kc692eep.js} +11 -11
  182. package/dist/chunks/{persistent-pty-t6q9b2zv.js → location-kfvaj52c.js} +26 -26
  183. package/dist/chunks/{persistent-pty-phcgjfvp.js → location-kmtbrx23.js} +18 -18
  184. package/dist/chunks/{persistent-pty-tkst0gkj.js → location-ktk7kaep.js} +15 -15
  185. package/dist/chunks/{persistent-pty-81ydyt9n.js → location-m2xnkqg2.js} +12 -12
  186. package/dist/chunks/{persistent-pty-m3fdjcah.js → location-m3fdjcah.js} +1 -1
  187. package/dist/chunks/{persistent-pty-5kntwy7m.js → location-m46z79h6.js} +11 -11
  188. package/dist/chunks/{persistent-pty-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
  189. package/dist/chunks/{persistent-pty-xkhfjrgz.js → location-mf9m2v67.js} +3 -3
  190. package/dist/chunks/{persistent-pty-5hj9waw1.js → location-mrpvsqys.js} +8 -8
  191. package/dist/chunks/{persistent-pty-kee9v82x.js → location-myd867zz.js} +11 -11
  192. package/dist/chunks/{persistent-pty-w6h4kwe3.js → location-mz24817y.js} +11 -11
  193. package/dist/chunks/{persistent-pty-xk77aqwy.js → location-n4t6mz1w.js} +8 -8
  194. package/dist/chunks/{persistent-pty-9gwgf8zn.js → location-n8rrq3rd.js} +34 -34
  195. package/dist/chunks/{persistent-pty-k1gkpfdk.js → location-ngts6ef0.js} +8 -8
  196. package/dist/chunks/{persistent-pty-w2xfqmzm.js → location-nh19gvd6.js} +11 -11
  197. package/dist/chunks/{persistent-pty-8cp1dt4b.js → location-p117p70m.js} +11 -11
  198. package/dist/chunks/{persistent-pty-0et7a6mm.js → location-p879wscf.js} +12 -12
  199. package/dist/chunks/{persistent-pty-h8sqqrf3.js → location-pghnxs44.js} +19 -19
  200. package/dist/chunks/{persistent-pty-scv7p57g.js → location-ph20cxtq.js} +9 -9
  201. package/dist/chunks/{persistent-pty-045s5zgt.js → location-ph3mq3wp.js} +17 -17
  202. package/dist/chunks/{persistent-pty-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
  203. package/dist/chunks/{persistent-pty-pknna89w.js → location-pknna89w.js} +1 -1
  204. package/dist/chunks/{persistent-pty-j67awtyy.js → location-ppzykpzz.js} +3 -3
  205. package/dist/chunks/{persistent-pty-ebpytsbd.js → location-pxxptb8y.js} +47 -47
  206. package/dist/chunks/{persistent-pty-c8gzcaps.js → location-q5dh2455.js} +8 -8
  207. package/dist/chunks/{persistent-pty-a379gdqz.js → location-q8tsaz2a.js} +13 -13
  208. package/dist/chunks/location-qapv375x.js +4 -0
  209. package/dist/chunks/location-qc068m1q.js +18 -0
  210. package/dist/chunks/{persistent-pty-nq7qbqzc.js → location-qg0jgkcp.js} +9 -9
  211. package/dist/chunks/{persistent-pty-jc3qcwgj.js → location-qg12vcbp.js} +25 -25
  212. package/dist/chunks/{persistent-pty-fcrkznn8.js → location-qgn6gcr1.js} +5 -5
  213. package/dist/chunks/{persistent-pty-9kt7wf3c.js → location-qn9b0sqe.js} +10 -10
  214. package/dist/chunks/{persistent-pty-qsdy395h.js → location-qsdy395h.js} +1 -1
  215. package/dist/chunks/{persistent-pty-j6e693f4.js → location-qth74v4j.js} +8 -8
  216. package/dist/chunks/{persistent-pty-47gj1eem.js → location-qtrjaqbk.js} +21 -21
  217. package/dist/chunks/{persistent-pty-rd4v8kr9.js → location-qvxdw1kp.js} +4 -4
  218. package/dist/chunks/{persistent-pty-peg4cznj.js → location-r3radns3.js} +30 -30
  219. package/dist/chunks/{persistent-pty-99a88f08.js → location-r574spjx.js} +13 -13
  220. package/dist/chunks/{persistent-pty-mhkvc446.js → location-r5x6zcsm.js} +3 -3
  221. package/dist/chunks/{persistent-pty-x2g3fynt.js → location-ranyqwt8.js} +35 -35
  222. package/dist/chunks/{persistent-pty-rdw6cm16.js → location-rdw6cm16.js} +1 -1
  223. package/dist/chunks/{persistent-pty-e7ff08ah.js → location-rh4cvgcy.js} +86 -86
  224. package/dist/chunks/{persistent-pty-rhjbct0v.js → location-rhjbct0v.js} +1 -1
  225. package/dist/chunks/{persistent-pty-4aztedzn.js → location-rnhgrd0m.js} +6 -6
  226. package/dist/chunks/{persistent-pty-s4enseaf.js → location-s4enseaf.js} +2 -2
  227. package/dist/chunks/{persistent-pty-gnkgm067.js → location-s5ythvf1.js} +41 -41
  228. package/dist/chunks/{persistent-pty-65tm5yk1.js → location-sap7mgk3.js} +10 -10
  229. package/dist/chunks/{persistent-pty-r5eg2mbx.js → location-sct26jh2.js} +3 -3
  230. package/dist/chunks/{persistent-pty-rjhv0x2x.js → location-sd6dzq7f.js} +12 -12
  231. package/dist/chunks/{persistent-pty-43zmxdyv.js → location-sgcf4b1d.js} +318 -318
  232. package/dist/chunks/{persistent-pty-5f90fjb2.js → location-sjf3tctt.js} +12 -12
  233. package/dist/chunks/{persistent-pty-h4h5c8th.js → location-smhjrczq.js} +41 -41
  234. package/dist/chunks/{persistent-pty-f22gk9j9.js → location-sp1dssyy.js} +287 -287
  235. package/dist/chunks/{persistent-pty-rmc194cy.js → location-spa1pw6v.js} +18 -18
  236. package/dist/chunks/{persistent-pty-5qdhd6wd.js → location-sqj1n1fy.js} +4 -4
  237. package/dist/chunks/{persistent-pty-9y73z4qs.js → location-sv18tyc1.js} +26 -26
  238. package/dist/chunks/{persistent-pty-qejk2hns.js → location-t7qv8der.js} +26 -26
  239. package/dist/chunks/{persistent-pty-tazgh4e4.js → location-tazgh4e4.js} +1 -1
  240. package/dist/chunks/{persistent-pty-p28j5sbe.js → location-tbz0fdvh.js} +5 -5
  241. package/dist/chunks/{persistent-pty-tcezcvh9.js → location-tcezcvh9.js} +1 -1
  242. package/dist/chunks/{persistent-pty-tdstcens.js → location-tdstcens.js} +1 -1
  243. package/dist/chunks/{persistent-pty-ja95a0kh.js → location-tkwa03qt.js} +23 -23
  244. package/dist/chunks/{persistent-pty-0gdmfj29.js → location-tp88aasm.js} +3 -3
  245. package/dist/chunks/{persistent-pty-wy8b5sm2.js → location-ts2x07a1.js} +1 -1
  246. package/dist/chunks/{persistent-pty-tvtrv512.js → location-tvtrv512.js} +1 -1
  247. package/dist/chunks/{persistent-pty-r2e87s7e.js → location-vb1hdz07.js} +8 -8
  248. package/dist/chunks/{persistent-pty-veqvce7d.js → location-veqvce7d.js} +1 -1
  249. package/dist/chunks/{persistent-pty-ygrvwp4d.js → location-vnek8hc4.js} +14 -14
  250. package/dist/chunks/{persistent-pty-m3n5d3yw.js → location-vp9pbkkd.js} +4 -4
  251. package/dist/chunks/{persistent-pty-bhnbjyag.js → location-vxmvkdwt.js} +26 -26
  252. package/dist/chunks/{persistent-pty-vzcthcp8.js → location-vzcthcp8.js} +1 -1
  253. package/dist/chunks/{persistent-pty-7pach1zh.js → location-w12wcbj8.js} +74 -74
  254. package/dist/chunks/{persistent-pty-584b7awg.js → location-w18ba54v.js} +16 -16
  255. package/dist/chunks/{persistent-pty-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{persistent-pty-7st6acyk.js → location-w5tmm7r1.js} +11 -11
  257. package/dist/chunks/{persistent-pty-7ga2fv62.js → location-w8qbt9vz.js} +3 -3
  258. package/dist/chunks/{persistent-pty-wd87259q.js → location-wd87259q.js} +1 -1
  259. package/dist/chunks/{persistent-pty-pq7b6aj3.js → location-wmpkysg0.js} +13 -13
  260. package/dist/chunks/{persistent-pty-9c6vz8r3.js → location-wvgnadq2.js} +6 -6
  261. package/dist/chunks/{persistent-pty-4v16j8nk.js → location-wvtxbd2s.js} +3 -3
  262. package/dist/chunks/{persistent-pty-p9rwa85v.js → location-wx5t2f9k.js} +28 -28
  263. package/dist/chunks/{persistent-pty-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
  264. package/dist/chunks/{persistent-pty-5mknq4wh.js → location-x4h44jes.js} +26 -26
  265. package/dist/chunks/{persistent-pty-c4qm6hzm.js → location-x8fjxshq.js} +15 -15
  266. package/dist/chunks/{persistent-pty-qqeeq2t9.js → location-xfkkasph.js} +7 -7
  267. package/dist/chunks/{persistent-pty-f62qkzqr.js → location-xjtsx636.js} +5 -5
  268. package/dist/chunks/{persistent-pty-hevvszjq.js → location-xt1m20s5.js} +4 -4
  269. package/dist/chunks/{persistent-pty-jar2n8ad.js → location-xwhbd8ep.js} +29 -29
  270. package/dist/chunks/{persistent-pty-h8bam43x.js → location-xwjjwx9d.js} +11 -11
  271. package/dist/chunks/{persistent-pty-m2px8ay3.js → location-xxkq93fp.js} +18 -18
  272. package/dist/chunks/{persistent-pty-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{persistent-pty-q8gd89mn.js → location-y6dfpya4.js} +11 -11
  274. package/dist/chunks/{persistent-pty-y71avatq.js → location-y71avatq.js} +1 -1
  275. package/dist/chunks/{persistent-pty-xefnkfpr.js → location-y8yf2k5g.js} +33 -33
  276. package/dist/chunks/{persistent-pty-26njax6j.js → location-ycjtg4p4.js} +15 -15
  277. package/dist/chunks/{persistent-pty-p7sz26rr.js → location-yk3trf7r.js} +143 -143
  278. package/dist/chunks/{persistent-pty-c7cwys1z.js → location-ykaqgp03.js} +32 -32
  279. package/dist/chunks/{persistent-pty-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
  280. package/dist/chunks/{persistent-pty-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{persistent-pty-nttf9wpn.js → location-z0ztzpp1.js} +25 -25
  282. package/dist/chunks/{persistent-pty-jv106vc1.js → location-z96p8pdm.js} +20 -20
  283. package/dist/chunks/{persistent-pty-zeh9ct20.js → location-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{persistent-pty-4xxxtaen.js → location-zex37ywk.js} +8 -8
  285. package/dist/chunks/{persistent-pty-sp0hs84w.js → location-zgn95ptr.js} +27 -27
  286. package/dist/chunks/{persistent-pty-r7dcqyc4.js → location-zgqvek19.js} +13 -13
  287. package/dist/chunks/{persistent-pty-cbdc55tj.js → location-znzpdstw.js} +24 -24
  288. package/dist/chunks/{persistent-pty-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{persistent-pty-6z3bcrm7.js → location-zt6fd653.js} +6 -6
  290. package/dist/chunks/{persistent-pty-zxq2ej10.js → location-zxq2ej10.js} +1 -1
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +11 -11
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +84 -84
  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 +124 -124
  300. package/dist/config/plugin/command.js +213 -213
  301. package/dist/config/plugin/compaction.js +161 -161
  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 +131 -131
  309. package/dist/config/plugin/policy.js +123 -123
  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 +143 -143
  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 +82 -82
  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 +369 -369
  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 +73 -73
  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 +102 -102
  427. package/dist/filesystem/watcher-binding.js +1 -1
  428. package/dist/filesystem/watcher.js +15 -15
  429. package/dist/filesystem.js +105 -105
  430. package/dist/form.js +81 -81
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +86 -86
  433. package/dist/generate.js +100 -100
  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 +98 -98
  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 +360 -360
  459. package/dist/instruction-discovery.js +84 -84
  460. package/dist/instructions/builtins.js +86 -86
  461. package/dist/instructions/index.js +1 -1
  462. package/dist/integration/connection.js +1 -1
  463. package/dist/integration.js +79 -79
  464. package/dist/job.js +78 -78
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +72 -72
  467. package/dist/location-activity.js +134 -134
  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 +357 -357
  472. package/dist/location.js +82 -82
  473. package/dist/managed-policy.js +5 -5
  474. package/dist/mcp/client.js +90 -90
  475. package/dist/mcp/index.js +107 -107
  476. package/dist/mcp/instructions.js +125 -125
  477. package/dist/mcp/oauth.js +77 -77
  478. package/dist/mcp/stdio.js +89 -89
  479. package/dist/mime.js +1 -1
  480. package/dist/modal/models.js +98 -98
  481. package/dist/model-resolver.js +97 -97
  482. package/dist/model.js +95 -95
  483. package/dist/models-dev.js +106 -106
  484. package/dist/oauth/page.js +1 -1
  485. package/dist/permission/saved.js +79 -79
  486. package/dist/permission/sql.js +5 -5
  487. package/dist/permission.js +108 -108
  488. package/dist/persistent-pty/binary.bun.js +1 -1
  489. package/dist/persistent-pty/daemon.js +1 -1
  490. package/dist/persistent-pty/index.js +85 -85
  491. package/dist/persistent-pty/pty-binding.js +1 -1
  492. package/dist/persistent-pty.js +74 -74
  493. package/dist/plugin/agent.js +103 -103
  494. package/dist/plugin/command.js +100 -100
  495. package/dist/plugin/compaction.js +132 -132
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +217 -217
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +331 -331
  501. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  502. package/dist/plugin/models-dev.js +95 -95
  503. package/dist/plugin/module.js +7 -7
  504. package/dist/plugin/optimize.js +4 -4
  505. package/dist/plugin/plan.js +101 -101
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  508. package/dist/plugin/provider/azure.js +121 -121
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +118 -118
  514. package/dist/plugin/provider/digitalocean.js +92 -92
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/gateway.js +2 -2
  518. package/dist/plugin/provider/github-copilot.js +92 -92
  519. package/dist/plugin/provider/gitlab.js +90 -90
  520. package/dist/plugin/provider/google-vertex.js +89 -89
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +76 -76
  523. package/dist/plugin/provider/lmstudio.js +121 -121
  524. package/dist/plugin/provider/modal.js +91 -91
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +121 -121
  527. package/dist/plugin/provider/openai.js +93 -93
  528. package/dist/plugin/provider/opencode.js +93 -93
  529. package/dist/plugin/provider/openrouter.js +90 -90
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +77 -77
  532. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  533. package/dist/plugin/provider/sap-ai-core.js +90 -90
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  536. package/dist/plugin/provider/venice.js +2 -2
  537. package/dist/plugin/provider/vercel.js +89 -89
  538. package/dist/plugin/provider/vllm.js +121 -121
  539. package/dist/plugin/provider/xai.js +90 -90
  540. package/dist/plugin/provider/zenmux.js +1 -1
  541. package/dist/plugin/provider.js +159 -159
  542. package/dist/plugin/sdk.js +75 -75
  543. package/dist/plugin/service.js +3 -3
  544. package/dist/plugin/skill.js +140 -140
  545. package/dist/plugin/source-directory.js +1 -1
  546. package/dist/plugin/supervisor.js +350 -350
  547. package/dist/plugin/tool-input-repair.js +4 -4
  548. package/dist/plugin/update.js +6 -6
  549. package/dist/plugin/vcs/git.js +85 -85
  550. package/dist/plugin/vcs/hg.js +85 -85
  551. package/dist/plugin/warming.js +120 -120
  552. package/dist/plugin/websearch/exa.js +7 -7
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +6 -6
  556. package/dist/plugin/websearch/parallel.js +6 -6
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +228 -228
  560. package/dist/project/schema.js +8 -8
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +89 -89
  563. package/dist/provider.js +92 -92
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/schema.js +3 -3
  566. package/dist/pty/ticket.js +1 -1
  567. package/dist/pty.js +97 -97
  568. package/dist/reference/instructions.js +88 -88
  569. package/dist/reference.js +88 -88
  570. package/dist/repository-cache.js +80 -80
  571. package/dist/repository.js +3 -3
  572. package/dist/ripgrep/binary.js +2 -2
  573. package/dist/ripgrep.js +96 -96
  574. package/dist/rpc.js +85 -85
  575. package/dist/schema.js +1 -1
  576. package/dist/session/command.js +73 -73
  577. package/dist/session/compaction.js +133 -133
  578. package/dist/session/context.js +151 -151
  579. package/dist/session/diff.js +87 -87
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +5 -5
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +223 -223
  584. package/dist/session/execution.js +127 -127
  585. package/dist/session/generate.js +150 -150
  586. package/dist/session/history.js +13 -13
  587. package/dist/session/inbox.js +87 -87
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +78 -78
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +96 -96
  592. package/dist/session/message-updater.js +4 -4
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +118 -118
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +129 -129
  597. package/dist/session/projector.js +85 -85
  598. package/dist/session/prompt.js +104 -104
  599. package/dist/session/provider-context.js +3 -3
  600. package/dist/session/revert.js +89 -89
  601. package/dist/session/run-coordinator.js +3 -3
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +230 -230
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +97 -97
  606. package/dist/session/runner/publish-llm-event.js +3 -3
  607. package/dist/session/runner/retry.js +113 -113
  608. package/dist/session/runner/step.js +125 -125
  609. package/dist/session/runner/to-llm-message.js +2 -2
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +171 -171
  612. package/dist/session/shell.js +137 -137
  613. package/dist/session/skill.js +102 -102
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +72 -72
  616. package/dist/session/store.js +84 -84
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +209 -209
  619. package/dist/session/system-prompt.js +5 -5
  620. package/dist/session/title.js +155 -155
  621. package/dist/session/to-session-error.js +110 -110
  622. package/dist/session/transfer.js +219 -219
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +219 -219
  625. package/dist/shell/parse.js +6 -6
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +11 -11
  629. package/dist/shell.js +139 -139
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +106 -106
  632. package/dist/skill.js +111 -111
  633. package/dist/snapshot.js +88 -88
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +124 -124
  638. package/dist/tool/plugin/edit.js +113 -113
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +123 -123
  641. package/dist/tool/plugin/grep.js +117 -117
  642. package/dist/tool/plugin/opencode.js +3 -3
  643. package/dist/tool/plugin/patch.js +121 -121
  644. package/dist/tool/plugin/question.js +102 -102
  645. package/dist/tool/plugin/read.js +124 -124
  646. package/dist/tool/plugin/shell.js +210 -210
  647. package/dist/tool/plugin/skill.js +104 -104
  648. package/dist/tool/plugin/subagent.js +218 -218
  649. package/dist/tool/plugin/webfetch.js +105 -105
  650. package/dist/tool/plugin/websearch.js +111 -111
  651. package/dist/tool/plugin/write.js +121 -121
  652. package/dist/tool/read-filesystem.js +99 -99
  653. package/dist/tool/runtime.js +1 -1
  654. package/dist/tool-output.js +8 -8
  655. package/dist/tool.js +16 -16
  656. package/dist/util/error-summary.js +1 -1
  657. package/dist/util/error.js +1 -1
  658. package/dist/util/git-executable.js +2 -2
  659. package/dist/util/iife.js +1 -1
  660. package/dist/util/lazy.js +1 -1
  661. package/dist/util/slug.js +1 -1
  662. package/dist/util/token.js +1 -1
  663. package/dist/util/which.js +1 -1
  664. package/dist/util/wildcard.js +1 -1
  665. package/dist/v1/config/agent.js +5 -5
  666. package/dist/v1/config/attachment.js +4 -4
  667. package/dist/v1/config/command.js +5 -5
  668. package/dist/v1/config/config.js +16 -16
  669. package/dist/v1/config/error.js +2 -2
  670. package/dist/v1/config/formatter.js +3 -3
  671. package/dist/v1/config/layout.js +1 -1
  672. package/dist/v1/config/lsp.js +5 -5
  673. package/dist/v1/config/mcp.js +4 -4
  674. package/dist/v1/config/migrate.js +91 -91
  675. package/dist/v1/config/permission.js +3 -3
  676. package/dist/v1/config/plugin.js +3 -3
  677. package/dist/v1/config/provider-options.js +1 -1
  678. package/dist/v1/config/provider.js +4 -4
  679. package/dist/v1/config/server.js +2 -2
  680. package/dist/v1/config/skills.js +3 -3
  681. package/dist/v1/permission.js +1 -1
  682. package/dist/variant.js +92 -92
  683. package/dist/vcs/patch.js +1 -1
  684. package/dist/vcs.js +88 -88
  685. package/dist/websearch.js +81 -81
  686. package/dist/wellknown/plugin.js +75 -75
  687. package/dist/wellknown.js +80 -80
  688. package/dist/workspace/driver.js +3 -3
  689. package/dist/workspace/sql.js +1 -1
  690. package/dist/workspace.js +77 -77
  691. package/dist/worktree/directory.js +2 -2
  692. package/dist/worktree/git.js +10 -10
  693. package/dist/worktree/sql.js +5 -5
  694. package/dist/worktree/strategies.js +88 -88
  695. package/dist/worktree.js +97 -97
  696. package/package.json +8 -8
  697. package/dist/chunks/persistent-pty-0mesazry.js +0 -4
  698. package/dist/chunks/persistent-pty-806pcn4t.js +0 -252
  699. package/dist/chunks/persistent-pty-qdyb70sk.js +0 -18
  700. package/dist/chunks/persistent-pty-z2s8v20b.js +0 -26
  701. /package/dist/chunks/{persistent-pty-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
  702. /package/dist/chunks/{persistent-pty-0zkw76rk.js → location-0zkw76rk.js} +0 -0
  703. /package/dist/chunks/{persistent-pty-17cy0kzp.js → location-17cy0kzp.js} +0 -0
  704. /package/dist/chunks/{persistent-pty-1cnp2v09.js → location-1cnp2v09.js} +0 -0
  705. /package/dist/chunks/{persistent-pty-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
  706. /package/dist/chunks/{persistent-pty-24dcb14g.js → location-24dcb14g.js} +0 -0
  707. /package/dist/chunks/{persistent-pty-2710q6r3.js → location-2710q6r3.js} +0 -0
  708. /package/dist/chunks/{persistent-pty-2axfhc9x.js → location-2axfhc9x.js} +0 -0
  709. /package/dist/chunks/{persistent-pty-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
  710. /package/dist/chunks/{persistent-pty-359p4xyc.js → location-359p4xyc.js} +0 -0
  711. /package/dist/chunks/{persistent-pty-3asan66x.js → location-3asan66x.js} +0 -0
  712. /package/dist/chunks/{persistent-pty-3v8g72cx.js → location-3v8g72cx.js} +0 -0
  713. /package/dist/chunks/{persistent-pty-3w5fmr99.js → location-3w5fmr99.js} +0 -0
  714. /package/dist/chunks/{persistent-pty-3wcehsnq.js → location-3wcehsnq.js} +0 -0
  715. /package/dist/chunks/{persistent-pty-43n2bw4t.js → location-43n2bw4t.js} +0 -0
  716. /package/dist/chunks/{persistent-pty-4knz6hnm.js → location-4knz6hnm.js} +0 -0
  717. /package/dist/chunks/{persistent-pty-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
  718. /package/dist/chunks/{persistent-pty-4y7fprxs.js → location-4y7fprxs.js} +0 -0
  719. /package/dist/chunks/{persistent-pty-53557ph1.js → location-53557ph1.js} +0 -0
  720. /package/dist/chunks/{persistent-pty-550bvhaj.js → location-550bvhaj.js} +0 -0
  721. /package/dist/chunks/{persistent-pty-6prwharc.js → location-6prwharc.js} +0 -0
  722. /package/dist/chunks/{persistent-pty-7akdwqpd.js → location-7akdwqpd.js} +0 -0
  723. /package/dist/chunks/{persistent-pty-7m9af43g.js → location-7m9af43g.js} +0 -0
  724. /package/dist/chunks/{persistent-pty-822emrt2.js → location-822emrt2.js} +0 -0
  725. /package/dist/chunks/{persistent-pty-88xbtdfr.js → location-88xbtdfr.js} +0 -0
  726. /package/dist/chunks/{persistent-pty-8n3pysct.js → location-8n3pysct.js} +0 -0
  727. /package/dist/chunks/{persistent-pty-922hggd3.js → location-922hggd3.js} +0 -0
  728. /package/dist/chunks/{persistent-pty-9a4afbnw.js → location-9a4afbnw.js} +0 -0
  729. /package/dist/chunks/{persistent-pty-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
  730. /package/dist/chunks/{persistent-pty-a6k6eb26.js → location-a6k6eb26.js} +0 -0
  731. /package/dist/chunks/{persistent-pty-af5trqkr.js → location-af5trqkr.js} +0 -0
  732. /package/dist/chunks/{persistent-pty-afrmfg78.js → location-afrmfg78.js} +0 -0
  733. /package/dist/chunks/{persistent-pty-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
  734. /package/dist/chunks/{persistent-pty-atq7p7m5.js → location-atq7p7m5.js} +0 -0
  735. /package/dist/chunks/{persistent-pty-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
  736. /package/dist/chunks/{persistent-pty-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
  737. /package/dist/chunks/{persistent-pty-cf4snx6d.js → location-cf4snx6d.js} +0 -0
  738. /package/dist/chunks/{persistent-pty-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
  739. /package/dist/chunks/{persistent-pty-d9fn303g.js → location-d9fn303g.js} +0 -0
  740. /package/dist/chunks/{persistent-pty-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
  741. /package/dist/chunks/{persistent-pty-dajrwvna.js → location-dajrwvna.js} +0 -0
  742. /package/dist/chunks/{persistent-pty-dap0rakb.js → location-dap0rakb.js} +0 -0
  743. /package/dist/chunks/{persistent-pty-df08tz66.js → location-df08tz66.js} +0 -0
  744. /package/dist/chunks/{persistent-pty-dy18nga0.js → location-dy18nga0.js} +0 -0
  745. /package/dist/chunks/{persistent-pty-e3qxr5gk.js → location-e3qxr5gk.js} +0 -0
  746. /package/dist/chunks/{persistent-pty-e5kj55wp.js → location-e5kj55wp.js} +0 -0
  747. /package/dist/chunks/{persistent-pty-e73j6tqm.js → location-e73j6tqm.js} +0 -0
  748. /package/dist/chunks/{persistent-pty-ec1grn59.js → location-ec1grn59.js} +0 -0
  749. /package/dist/chunks/{persistent-pty-eh3zwz77.js → location-eh3zwz77.js} +0 -0
  750. /package/dist/chunks/{persistent-pty-emrn6kk6.js → location-emrn6kk6.js} +0 -0
  751. /package/dist/chunks/{persistent-pty-f0mxakyp.js → location-f0mxakyp.js} +0 -0
  752. /package/dist/chunks/{persistent-pty-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
  753. /package/dist/chunks/{persistent-pty-faypxj3z.js → location-faypxj3z.js} +0 -0
  754. /package/dist/chunks/{persistent-pty-fd410y7t.js → location-fd410y7t.js} +0 -0
  755. /package/dist/chunks/{persistent-pty-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
  756. /package/dist/chunks/{persistent-pty-g4wezp1m.js → location-g4wezp1m.js} +0 -0
  757. /package/dist/chunks/{persistent-pty-g86h250q.js → location-g86h250q.js} +0 -0
  758. /package/dist/chunks/{persistent-pty-gebd4c9n.js → location-gebd4c9n.js} +0 -0
  759. /package/dist/chunks/{persistent-pty-gftt206x.js → location-gftt206x.js} +0 -0
  760. /package/dist/chunks/{persistent-pty-hjbc5kem.js → location-hjbc5kem.js} +0 -0
  761. /package/dist/chunks/{persistent-pty-hk9envan.js → location-hk9envan.js} +0 -0
  762. /package/dist/chunks/{persistent-pty-j2ntwpah.js → location-j2ntwpah.js} +0 -0
  763. /package/dist/chunks/{persistent-pty-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
  764. /package/dist/chunks/{persistent-pty-jjkms2e6.js → location-jjkms2e6.js} +0 -0
  765. /package/dist/chunks/{persistent-pty-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
  766. /package/dist/chunks/{persistent-pty-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
  767. /package/dist/chunks/{persistent-pty-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
  768. /package/dist/chunks/{persistent-pty-mp448xyj.js → location-mp448xyj.js} +0 -0
  769. /package/dist/chunks/{persistent-pty-msx8hqn2.js → location-msx8hqn2.js} +0 -0
  770. /package/dist/chunks/{persistent-pty-n05xt0ee.js → location-n05xt0ee.js} +0 -0
  771. /package/dist/chunks/{persistent-pty-n3j8tn72.js → location-n3j8tn72.js} +0 -0
  772. /package/dist/chunks/{persistent-pty-njntx4h6.js → location-njntx4h6.js} +0 -0
  773. /package/dist/chunks/{persistent-pty-q3sfg36h.js → location-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{persistent-pty-q74kybfr.js → location-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{persistent-pty-qaymkmh1.js → location-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{persistent-pty-qb87gjwd.js → location-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{persistent-pty-qfa1cgps.js → location-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{persistent-pty-qg3g05ea.js → location-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{persistent-pty-qrg20bc0.js → location-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{persistent-pty-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{persistent-pty-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{persistent-pty-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
  783. /package/dist/chunks/{persistent-pty-ssg3fenm.js → location-ssg3fenm.js} +0 -0
  784. /package/dist/chunks/{persistent-pty-twg0f83k.js → location-twg0f83k.js} +0 -0
  785. /package/dist/chunks/{persistent-pty-w803qqfp.js → location-w803qqfp.js} +0 -0
  786. /package/dist/chunks/{persistent-pty-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
  787. /package/dist/chunks/{persistent-pty-wer8tq1h.js → location-wer8tq1h.js} +0 -0
  788. /package/dist/chunks/{persistent-pty-wtztk69x.js → location-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{persistent-pty-x0ckcb58.js → location-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{persistent-pty-x61499pn.js → location-x61499pn.js} +0 -0
  791. /package/dist/chunks/{persistent-pty-y44na4kk.js → location-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{persistent-pty-y8cydn3q.js → location-y8cydn3q.js} +0 -0
  793. /package/dist/chunks/{persistent-pty-y8f7s663.js → location-y8f7s663.js} +0 -0
  794. /package/dist/chunks/{persistent-pty-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
  795. /package/dist/chunks/{persistent-pty-ym463w8f.js → location-ym463w8f.js} +0 -0
  796. /package/dist/chunks/{persistent-pty-z9919s4g.js → location-z9919s4g.js} +0 -0
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./persistent-pty-x1bw9y7f.js";
2
+ Service82,
3
+ node86
4
+ } from "./location-b722n5s9.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./persistent-pty-tazgh4e4.js";
9
+ } from "./location-tazgh4e4.js";
10
10
  import {
11
11
  Service77,
12
12
  node81
13
- } from "./persistent-pty-fy2vv4qy.js";
13
+ } from "./location-hrpmhk0j.js";
14
14
  import {
15
15
  reconcile2,
16
16
  create3
17
- } from "./persistent-pty-rdw6cm16.js";
17
+ } from "./location-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./persistent-pty-9rqn6x4v.js";
20
+ } from "./location-9rqn6x4v.js";
21
21
 
22
22
  // src/vcs.ts
23
23
  var exports_vcs = {};
@@ -26,17 +26,17 @@ __export(exports_vcs, {
26
26
  BranchList: () => BranchList2,
27
27
  DiffError: () => DiffError2,
28
28
  FileStatus: () => FileStatus2,
29
- Info: () => Info6,
29
+ Info: () => Info3,
30
30
  Mode: () => Mode2,
31
- Service: () => Service33,
31
+ Service: () => Service19,
32
32
  Vcs: () => exports_vcs,
33
- node: () => node35
33
+ node: () => node22
34
34
  });
35
35
  import path from "path";
36
36
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
37
37
  import { FileDiff } from "@opencode/schema/file-diff";
38
38
  import { FileSystem } from "@opencode/schema/filesystem";
39
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info6, Mode as Mode2 } from "@opencode/schema/vcs";
39
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info3, Mode as Mode2 } from "@opencode/schema/vcs";
40
40
  import { VcsEvent } from "@opencode/schema/vcs-event";
41
41
  import { makeLocationNode } from "@opencode/util/effect/app-node";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
@@ -45,12 +45,12 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
45
45
  }) {
46
46
  }
47
47
 
48
- class Service33 extends Context.Service()("@opencode/Vcs") {
48
+ class Service19 extends Context.Service()("@opencode/Vcs") {
49
49
  }
50
- var layer = Layer.effect(Service33, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service19, Effect.gen(function* () {
51
51
  const fs = yield* FSUtil.Service;
52
52
  const location = yield* Service77;
53
- const bus = yield* Service83;
53
+ const bus = yield* Service82;
54
54
  const root = yield* Effect.scope;
55
55
  const fork = yield* FiberSet.makeRuntime();
56
56
  const vcs = location.vcs;
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
62
62
  canonical: location.project.canonical,
63
63
  ...vcs ? { store: vcs.store } : {}
64
64
  };
65
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info6));
65
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info3));
66
66
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
67
67
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
68
68
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
118
118
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
119
119
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
120
120
  }
121
- return Service33.of({
121
+ return Service19.of({
122
122
  transform: state.transform,
123
123
  reload: state.reload,
124
124
  info: Effect.fn("Vcs.info")(function* () {
@@ -164,10 +164,10 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
164
164
  })
165
165
  });
166
166
  }));
167
- var node35 = makeLocationNode({
168
- service: Service33,
167
+ var node22 = makeLocationNode({
168
+ service: Service19,
169
169
  layer,
170
- deps: [FSUtil.node, node81, node87]
170
+ deps: [FSUtil.node, node81, node86]
171
171
  });
172
172
 
173
- export { Base2, BranchList2, FileStatus2, Info6, Mode2, DiffError2, Service33, node35, exports_vcs };
173
+ export { Base2, BranchList2, FileStatus2, Info3, Mode2, DiffError2, Service19, node22, exports_vcs };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./persistent-pty-922hggd3.js";
3
+ } from "./location-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./persistent-pty-9rqn6x4v.js";
6
+ } from "./location-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/server.ts
9
9
  var exports_server = {};
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  call2
3
- } from "./persistent-pty-1ygqh575.js";
3
+ } from "./location-56gdpj1q.js";
4
4
  import {
5
5
  __export
6
- } from "./persistent-pty-9rqn6x4v.js";
6
+ } from "./location-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/exa.ts
9
9
  var exports_exa = {};
10
10
  __export(exports_exa, {
11
- Plugin: () => Plugin12,
11
+ Plugin: () => Plugin35,
12
12
  WebSearchExa: () => exports_exa,
13
- endpoint: () => endpoint6
13
+ endpoint: () => endpoint4
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Effect, Schema } from "effect";
17
17
  import { HttpClient } from "effect/unstable/http";
18
- var endpoint6 = "https://mcp.exa.ai/mcp";
18
+ var endpoint4 = "https://mcp.exa.ai/mcp";
19
19
  var McpInput = Schema.Struct({
20
20
  query: Schema.String,
21
21
  numResults: Schema.Number.pipe(Schema.optional)
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
27
27
  _meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
28
28
  }))
29
29
  });
30
- var Plugin12 = define({
30
+ var Plugin35 = define({
31
31
  id: "opencode.websearch.exa",
32
32
  effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
33
33
  const http = yield* HttpClient.HttpClient;
@@ -49,7 +49,7 @@ var Plugin12 = define({
49
49
  execute: (input) => Effect.gen(function* () {
50
50
  const connection = yield* ctx.integration.connection.active("exa");
51
51
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
52
- const url = new URL(endpoint6);
52
+ const url = new URL(endpoint4);
53
53
  if (credential?.type === "key")
54
54
  url.searchParams.set("exaApiKey", credential.key);
55
55
  const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
@@ -80,4 +80,4 @@ function parseResults(text) {
80
80
  });
81
81
  }
82
82
 
83
- export { endpoint6, Plugin12, exports_exa };
83
+ export { endpoint4, Plugin35, exports_exa };
@@ -2,40 +2,40 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./persistent-pty-922hggd3.js";
5
+ } from "./location-922hggd3.js";
6
6
  import {
7
7
  Service77,
8
8
  node81
9
- } from "./persistent-pty-fy2vv4qy.js";
9
+ } from "./location-hrpmhk0j.js";
10
10
  import {
11
- Service54,
12
- node57
13
- } from "./persistent-pty-jc3qcwgj.js";
11
+ Service14,
12
+ node16
13
+ } from "./location-qg12vcbp.js";
14
14
  import {
15
15
  __export
16
- } from "./persistent-pty-9rqn6x4v.js";
16
+ } from "./location-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
20
20
  __export(exports_filesystem, {
21
- Content: () => Content3,
21
+ Content: () => Content2,
22
22
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
23
23
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
24
24
  Entry: () => Entry2,
25
- Event: () => Event10,
25
+ Event: () => Event2,
26
26
  FileSystem: () => exports_filesystem,
27
27
  FindInput: () => FindInput2,
28
28
  GlobInput: () => GlobInput2,
29
29
  GrepInput: () => GrepInput2,
30
- ListInput: () => ListInput3,
30
+ ListInput: () => ListInput2,
31
31
  Match: () => Match2,
32
- NotFoundError: () => NotFoundError5,
32
+ NotFoundError: () => NotFoundError2,
33
33
  ReadInput: () => ReadInput2,
34
- Service: () => Service53,
34
+ Service: () => Service13,
35
35
  Submatch: () => Submatch2,
36
36
  Write: () => Write2,
37
37
  WriteInput: () => WriteInput2,
38
- node: () => node56
38
+ node: () => node15
39
39
  });
40
40
  import { makeLocationNode } from "@opencode/util/effect/app-node";
41
41
  import path from "path";
@@ -51,18 +51,18 @@ var WriteInput2 = Schema.Struct({
51
51
  data: Schema.Uint8Array
52
52
  });
53
53
 
54
- class NotFoundError5 extends Schema.TaggedError()("FileSystem.NotFoundError", {
54
+ class NotFoundError2 extends Schema.TaggedError()("FileSystem.NotFoundError", {
55
55
  path: RelativePath2
56
56
  }) {
57
57
  }
58
- var Content3 = Schema.Struct({
58
+ var Content2 = Schema.Struct({
59
59
  uri: Schema.String,
60
60
  name: Schema.String.pipe(Schema.optional),
61
61
  content: Schema.String,
62
62
  encoding: Schema.Literals(["utf8", "base64"]),
63
63
  mime: Schema.String
64
64
  }).annotate({ identifier: "FileSystem.Content" });
65
- var ListInput3 = Schema.Struct({
65
+ var ListInput2 = Schema.Struct({
66
66
  path: Schema.String.pipe(Schema.optional)
67
67
  });
68
68
  var DEFAULT_SEARCH_LIMIT2 = 100;
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
85
85
  limit: Schema.optionalKey(PositiveInt2)
86
86
  }) {
87
87
  }
88
- var Event10 = FileSystem.Event;
88
+ var Event2 = FileSystem.Event;
89
89
 
90
- class Service53 extends Context.Service()("@opencode/FileSystem") {
90
+ class Service13 extends Context.Service()("@opencode/FileSystem") {
91
91
  }
92
- var baseLayer = Layer.effect(Service53, Effect.gen(function* () {
92
+ var baseLayer = Layer.effect(Service13, Effect.gen(function* () {
93
93
  const fs = yield* FSUtil.Service;
94
94
  const location = yield* Service77;
95
- const search = yield* Service54;
95
+ const search = yield* Service14;
96
96
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
97
97
  const resolve = Effect.fnUntraced(function* (input) {
98
98
  const absolute = path.resolve(location.directory, input ?? ".");
@@ -103,15 +103,15 @@ var baseLayer = Layer.effect(Service53, Effect.gen(function* () {
103
103
  return yield* Effect.die(new Error("Path escapes the location"));
104
104
  return { absolute, real, directory: location.directory };
105
105
  });
106
- return Service53.of({
106
+ return Service13.of({
107
107
  find: search.find,
108
108
  read: Effect.fn("FileSystem.read")(function* (input) {
109
- const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError5({ path: input.path })), (_, error) => Effect.die(error)));
110
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError5({ path: input.path })), (_, error) => Effect.die(error)));
109
+ const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
110
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
111
111
  if (info.type !== "File")
112
112
  return yield* Effect.die(new Error("Path is not a file"));
113
113
  return {
114
- content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError5({ path: input.path })), (_, error) => Effect.die(error))),
114
+ content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error))),
115
115
  mime: FSUtil.mimeType(target.real)
116
116
  };
117
117
  }),
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service53, Effect.gen(function* () {
140
140
  })
141
141
  });
142
142
  }));
143
- var node56 = makeLocationNode({
144
- service: Service53,
143
+ var node15 = makeLocationNode({
144
+ service: Service13,
145
145
  layer: baseLayer,
146
- deps: [FSUtil.node, node81, node57]
146
+ deps: [FSUtil.node, node81, node16]
147
147
  });
148
148
 
149
- export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError5, Content3, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event10, Service53, node56, exports_filesystem, Entry2, Match2, Submatch2 };
149
+ export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service13, node15, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service83,
4
- node87
5
- } from "./persistent-pty-x1bw9y7f.js";
3
+ Service82,
4
+ node86
5
+ } from "./location-b722n5s9.js";
6
6
  import {
7
7
  __export
8
- } from "./persistent-pty-9rqn6x4v.js";
8
+ } from "./location-9rqn6x4v.js";
9
9
 
10
10
  // src/plugin/sdk.ts
11
11
  var exports_sdk = {};
12
12
  __export(exports_sdk, {
13
13
  SdkPlugins: () => exports_sdk,
14
- Service: () => Service5,
14
+ Service: () => Service12,
15
15
  Updated: () => Updated2,
16
- layer: () => layer4,
17
- node: () => node6
16
+ layer: () => layer7,
17
+ node: () => node14
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
21
21
  var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
22
22
 
23
- class Service5 extends Context.Service()("@opencode/SdkPlugins") {
23
+ class Service12 extends Context.Service()("@opencode/SdkPlugins") {
24
24
  }
25
- var layer4 = Layer.effect(Service5, Effect.gen(function* () {
26
- const bus = yield* Service83;
25
+ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
26
+ const bus = yield* Service82;
27
27
  const plugins = new Map;
28
28
  let revision = 0;
29
- return Service5.of({
29
+ return Service12.of({
30
30
  register: (plugin) => Effect.sync(() => {
31
31
  plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
32
32
  }).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
33
33
  all: () => [...plugins.values()]
34
34
  });
35
35
  }));
36
- var node6 = makeGlobalNode({ service: Service5, layer: layer4, deps: [node87] });
36
+ var node14 = makeGlobalNode({ service: Service12, layer: layer7, deps: [node86] });
37
37
 
38
- export { Updated2, Service5, layer4, node6, exports_sdk };
38
+ export { Updated2, Service12, layer7, node14, exports_sdk };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service71,
3
- node75
4
- } from "./persistent-pty-sqsf5w9p.js";
2
+ Service61,
3
+ node64
4
+ } from "./location-d04xfmcf.js";
5
5
  import {
6
6
  Service77,
7
7
  node81
8
- } from "./persistent-pty-fy2vv4qy.js";
8
+ } from "./location-hrpmhk0j.js";
9
9
  import {
10
- Service70,
11
- node74
12
- } from "./persistent-pty-39gs27gn.js";
10
+ Service60,
11
+ node63
12
+ } from "./location-bthytya7.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
16
- } from "./persistent-pty-zxq2ej10.js";
16
+ } from "./location-zxq2ej10.js";
17
17
  import {
18
18
  __export
19
- } from "./persistent-pty-9rqn6x4v.js";
19
+ } from "./location-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/source.ts
22
22
  var exports_source = {};
23
23
  __export(exports_source, {
24
24
  ConfigPluginSource: () => exports_source,
25
- Service: () => Service7,
25
+ Service: () => Service4,
26
26
  empty: () => empty2,
27
- layer: () => layer6,
28
- node: () => node9
27
+ layer: () => layer5,
28
+ node: () => node6
29
29
  });
30
30
  import { FSUtil } from "@opencode/util/fs-util";
31
31
  import { Host } from "@opencode/plugin/host";
@@ -33,11 +33,11 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
34
34
  import path from "path";
35
35
  import { fileURLToPath, pathToFileURL } from "url";
36
- class Service7 extends Context.Service()("@opencode/ConfigPluginSource") {
36
+ class Service4 extends Context.Service()("@opencode/ConfigPluginSource") {
37
37
  }
38
- var layer6 = Layer.effect(Service7, Effect.gen(function* () {
39
- const config = yield* Service70;
40
- const watcher = yield* Service71;
38
+ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
39
+ const config = yield* Service60;
40
+ const watcher = yield* Service61;
41
41
  const fs = yield* FSUtil.Service;
42
42
  const location = yield* Service77;
43
43
  const configuredChanges = yield* PubSub.unbounded();
@@ -58,7 +58,7 @@ var layer6 = Layer.effect(Service7, Effect.gen(function* () {
58
58
  yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
59
59
  }
60
60
  });
61
- return Service7.of({
61
+ return Service4.of({
62
62
  operations: Effect.fn("ConfigPluginSource.operations")(function* () {
63
63
  const entries = yield* config.entries();
64
64
  const operations = yield* scan(fs, location, entries);
@@ -70,14 +70,14 @@ var layer6 = Layer.effect(Service7, Effect.gen(function* () {
70
70
  })), Stream.fromPubSub(configuredChanges))
71
71
  });
72
72
  }));
73
- var node9 = makeLocationNode({
74
- service: Service7,
75
- layer: layer6,
76
- deps: [node74, FSUtil.node, node75, node81]
73
+ var node6 = makeLocationNode({
74
+ service: Service4,
75
+ layer: layer5,
76
+ deps: [node63, FSUtil.node, node64, node81]
77
77
  });
78
78
  var empty2 = makeLocationNode({
79
- service: Service7,
80
- layer: Layer.succeed(Service7, Service7.of({
79
+ service: Service4,
80
+ layer: Layer.succeed(Service4, Service4.of({
81
81
  operations: () => Effect.succeed([]),
82
82
  changes: () => Stream.never
83
83
  })),
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
137
137
  return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
138
138
  }
139
139
 
140
- export { Service7, layer6, node9, empty2, exports_source };
140
+ export { Service4, layer5, node6, empty2, exports_source };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/promise.ts
6
6
  var exports_promise = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./persistent-pty-gftt206x.js";
3
+ } from "./location-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./persistent-pty-xkhfjrgz.js";
6
+ } from "./location-mf9m2v67.js";
7
7
  import {
8
8
  __export
9
- } from "./persistent-pty-9rqn6x4v.js";
9
+ } from "./location-9rqn6x4v.js";
10
10
 
11
11
  // src/session/error.ts
12
12
  var exports_error = {};
@@ -19,7 +19,7 @@ __export(exports_error, {
19
19
  InboxConflictError: () => InboxConflictError2,
20
20
  MessageDecodeError: () => MessageDecodeError2,
21
21
  MessageNotFoundError: () => MessageNotFoundError2,
22
- NotFoundError: () => NotFoundError7,
22
+ NotFoundError: () => NotFoundError6,
23
23
  PromptConflictError: () => PromptConflictError2,
24
24
  SessionErrors: () => exports_error,
25
25
  SkillNotFoundError: () => SkillNotFoundError2,
@@ -32,7 +32,7 @@ import { Agent } from "@opencode/schema/agent";
32
32
  import { Skill } from "@opencode/schema/skill";
33
33
  import { SessionError } from "@opencode/schema/session-error";
34
34
 
35
- class NotFoundError7 extends Schema.TaggedError()("Session.NotFoundError", {
35
+ class NotFoundError6 extends Schema.TaggedError()("Session.NotFoundError", {
36
36
  sessionID: SessionSchema2.ID
37
37
  }) {
38
38
  }
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
123
123
  }) {
124
124
  }
125
125
 
126
- export { NotFoundError7, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
126
+ export { NotFoundError6, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/source-directory.ts
6
6
  var exports_source_directory = {};
@@ -4,7 +4,7 @@ import {
4
4
  summarize2,
5
5
  namespaceLine2,
6
6
  exports_catalog
7
- } from "../chunks/persistent-pty-3fc6dm20.js";
7
+ } from "../chunks/location-3fc6dm20.js";
8
8
  export {
9
9
  exports_catalog as CodeModeCatalog,
10
10
  Summary2 as Summary,
@@ -1,14 +1,14 @@
1
1
  import {
2
- render3,
3
- update3,
4
- make16,
5
- exports_instructions5
6
- } from "../chunks/persistent-pty-7zx1qa5e.js";
7
- import"../chunks/persistent-pty-3fc6dm20.js";
8
- import"../chunks/persistent-pty-rhjbct0v.js";
2
+ render2,
3
+ update2,
4
+ make14,
5
+ exports_instructions3
6
+ } from "../chunks/location-jmh888fr.js";
7
+ import"../chunks/location-3fc6dm20.js";
8
+ import"../chunks/location-rhjbct0v.js";
9
9
  export {
10
- exports_instructions5 as CodeModeInstructions,
11
- make16 as make,
12
- render3 as render,
13
- update3 as update
10
+ exports_instructions3 as CodeModeInstructions,
11
+ make14 as make,
12
+ render2 as render,
13
+ update2 as update
14
14
  };
@@ -2,9 +2,9 @@ import {
2
2
  create2,
3
3
  catalog2,
4
4
  exports_tool2
5
- } from "../chunks/persistent-pty-nzks3jc8.js";
6
- import"../chunks/persistent-pty-3w5fmr99.js";
7
- import"../chunks/persistent-pty-m3fdjcah.js";
5
+ } from "../chunks/location-k3c624dm.js";
6
+ import"../chunks/location-m3fdjcah.js";
7
+ import"../chunks/location-3w5fmr99.js";
8
8
  export {
9
9
  exports_tool2 as CodeModeTool,
10
10
  catalog2 as catalog,
@@ -2,7 +2,7 @@ import {
2
2
  extension2,
3
3
  display2,
4
4
  exports_web
5
- } from "../chunks/persistent-pty-m3fdjcah.js";
5
+ } from "../chunks/location-m3fdjcah.js";
6
6
  export {
7
7
  exports_web as CodeModeWeb,
8
8
  display2 as display,