@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,32 +1,32 @@
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
  create3
7
- } from "./persistent-pty-rdw6cm16.js";
7
+ } from "./location-rdw6cm16.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./persistent-pty-ngc2191d.js";
10
+ } from "./location-3jm0sq8a.js";
11
11
  import {
12
12
  __export
13
- } from "./persistent-pty-9rqn6x4v.js";
13
+ } from "./location-9rqn6x4v.js";
14
14
 
15
15
  // src/skill.ts
16
16
  var exports_skill5 = {};
17
17
  __export(exports_skill5, {
18
18
  DirectorySource: () => DirectorySource2,
19
19
  EmbeddedSource: () => EmbeddedSource2,
20
- Event: () => Event11,
21
- ID: () => ID6,
22
- Info: () => Info10,
20
+ Event: () => Event7,
21
+ ID: () => ID4,
22
+ Info: () => Info7,
23
23
  Name: () => Name2,
24
- Service: () => Service57,
24
+ Service: () => Service39,
25
25
  Skill: () => exports_skill5,
26
- Source: () => Source4,
26
+ Source: () => Source3,
27
27
  UrlSource: () => UrlSource2,
28
28
  available: () => available2,
29
- node: () => node60,
29
+ node: () => node42,
30
30
  prepare: () => prepare3,
31
31
  toModelOutput: () => toModelOutput3
32
32
  });
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import path from "path";
35
35
  import { Context, Effect, Layer } from "effect";
36
36
  import { Skill } from "@opencode/schema/skill";
37
- import { Event as Event11 } from "@opencode/schema/skill";
37
+ import { Event as Event7 } from "@opencode/schema/skill";
38
38
  var DirectorySource2 = Skill.DirectorySource;
39
39
  var UrlSource2 = Skill.UrlSource;
40
40
  var EmbeddedSource2 = Skill.EmbeddedSource;
41
- var Source4 = Skill.Source;
42
- var Info10 = Skill.Info;
43
- var ID6 = Skill.ID;
41
+ var Source3 = Skill.Source;
42
+ var Info7 = Skill.Info;
43
+ var ID4 = Skill.ID;
44
44
  var Name2 = Skill.Name;
45
45
  var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
46
46
  var toModelOutput3 = (skill, files) => {
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
71
71
  };
72
72
  });
73
73
 
74
- class Service57 extends Context.Service()("@opencode/Skill") {
74
+ class Service39 extends Context.Service()("@opencode/Skill") {
75
75
  }
76
- var layer = Layer.effect(Service57, Effect.gen(function* () {
77
- const bus = yield* Service83;
76
+ var layer = Layer.effect(Service39, Effect.gen(function* () {
77
+ const bus = yield* Service82;
78
78
  const state = create3({
79
79
  name: "skill",
80
80
  initial: () => ({ skills: new Map }),
81
81
  editor: (editor) => ({
82
82
  list: () => Array.from(editor.skills.values()),
83
- get: (id) => editor.skills.get(ID6.make(id)),
83
+ get: (id) => editor.skills.get(ID4.make(id)),
84
84
  add: (skill) => {
85
85
  editor.skills.set(skill.id, { ...skill });
86
86
  },
87
87
  update: (id, update) => {
88
- const current = editor.skills.get(ID6.make(id));
88
+ const current = editor.skills.get(ID4.make(id));
89
89
  if (!current)
90
90
  return;
91
91
  update(current);
92
- current.id = ID6.make(id);
92
+ current.id = ID4.make(id);
93
93
  },
94
94
  remove: (id) => {
95
- editor.skills.delete(ID6.make(id));
95
+ editor.skills.delete(ID4.make(id));
96
96
  }
97
97
  }),
98
98
  notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
99
99
  });
100
- return Service57.of({
100
+ return Service39.of({
101
101
  transform: state.transform,
102
102
  reload: state.reload,
103
103
  get: Effect.fn("Skill.get")(function* (id) {
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
108
108
  })
109
109
  });
110
110
  }));
111
- var node60 = makeLocationNode({
112
- service: Service57,
111
+ var node42 = makeLocationNode({
112
+ service: Service39,
113
113
  layer,
114
- deps: [node87]
114
+ deps: [node86]
115
115
  });
116
116
 
117
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info10, ID6, Name2, available2, toModelOutput3, prepare3, Service57, node60, exports_skill5, Event11 };
117
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info7, ID4, Name2, available2, toModelOutput3, prepare3, Service39, node42, exports_skill5, Event7 };
@@ -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/session/subagent-completion.ts
6
6
  var exports_subagent_completion = {};
@@ -1,36 +1,36 @@
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
  Key3,
8
8
  unavailable3,
9
9
  removed2,
10
10
  make20,
11
11
  diffByKey2
12
- } from "./persistent-pty-rhjbct0v.js";
12
+ } from "./location-rhjbct0v.js";
13
13
  import {
14
14
  AbsolutePath2
15
- } from "./persistent-pty-922hggd3.js";
15
+ } from "./location-922hggd3.js";
16
16
  import {
17
17
  create3
18
- } from "./persistent-pty-rdw6cm16.js";
18
+ } from "./location-rdw6cm16.js";
19
19
  import {
20
20
  __export
21
- } from "./persistent-pty-9rqn6x4v.js";
21
+ } from "./location-9rqn6x4v.js";
22
22
 
23
23
  // src/instruction-discovery.ts
24
24
  var exports_instruction_discovery = {};
25
25
  __export(exports_instruction_discovery, {
26
- Event: () => Event5,
26
+ Event: () => Event11,
27
27
  File: () => File2,
28
28
  InstructionDiscovery: () => exports_instruction_discovery,
29
- Options: () => Options3,
30
- Service: () => Service36,
31
- configured: () => configured3,
32
- layer: () => layer15,
33
- node: () => node38
29
+ Options: () => Options5,
30
+ Service: () => Service56,
31
+ configured: () => configured6,
32
+ layer: () => layer18,
33
+ node: () => node59
34
34
  });
35
35
  import { Context, Effect, Layer, Schema } from "effect";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -42,18 +42,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
42
42
  }
43
43
  var Files = Schema.Array(File2);
44
44
  var key = Key3.make("core/instructions");
45
- var Event5 = {
45
+ var Event11 = {
46
46
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
47
47
  };
48
- var Options3 = Schema.Struct({
48
+ var Options5 = Schema.Struct({
49
49
  project: Schema.optional(Schema.Boolean),
50
50
  global: Schema.optional(Schema.Boolean)
51
51
  });
52
52
 
53
- class Service36 extends Context.Service()("@opencode/InstructionDiscovery") {
53
+ class Service56 extends Context.Service()("@opencode/InstructionDiscovery") {
54
54
  }
55
- var layer15 = (options) => Layer.effect(Service36, Effect.gen(function* () {
56
- const bus = yield* Service83;
55
+ var layer18 = (options) => Layer.effect(Service56, Effect.gen(function* () {
56
+ const bus = yield* Service82;
57
57
  const state = create3({
58
58
  name: "instruction-discovery",
59
59
  initial: () => ({ files: new Map, available: true }),
@@ -72,7 +72,7 @@ var layer15 = (options) => Layer.effect(Service36, Effect.gen(function* () {
72
72
  editor.available = false;
73
73
  }
74
74
  }),
75
- notify: () => bus.publish(Event5.Updated, {}).pipe(Effect.asVoid)
75
+ notify: () => bus.publish(Event11.Updated, {}).pipe(Effect.asVoid)
76
76
  });
77
77
  const source = (value) => make20({
78
78
  key,
@@ -90,7 +90,7 @@ var layer15 = (options) => Layer.effect(Service36, Effect.gen(function* () {
90
90
  return unavailable3;
91
91
  return Array.from(current.files.values());
92
92
  });
93
- return Service36.of({
93
+ return Service56.of({
94
94
  project: options?.project !== false,
95
95
  global: options?.global !== false,
96
96
  transform: state.transform,
@@ -104,14 +104,14 @@ var layer15 = (options) => Layer.effect(Service36, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  }));
107
- function configured3(options) {
107
+ function configured6(options) {
108
108
  return makeLocationNode({
109
- service: Service36,
110
- layer: layer15(options),
111
- deps: [node87]
109
+ service: Service56,
110
+ layer: layer18(options),
111
+ deps: [node86]
112
112
  });
113
113
  }
114
- var node38 = configured3();
114
+ var node59 = configured6();
115
115
  function render(files) {
116
116
  return files.map((file) => `Instructions from: ${file.path}
117
117
  ${file.content}`).join(`
@@ -142,4 +142,4 @@ ${render([after])}`;
142
142
  `);
143
143
  }
144
144
 
145
- export { File2, Event5, Options3, Service36, layer15, configured3, node38, exports_instruction_discovery };
145
+ export { File2, Event11, Options5, Service56, layer18, configured6, node59, exports_instruction_discovery };
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service83
3
- } from "./persistent-pty-x1bw9y7f.js";
2
+ Service82
3
+ } from "./location-b722n5s9.js";
4
4
  import {
5
5
  OAuth3,
6
- Event21
7
- } from "./persistent-pty-pg06qq32.js";
6
+ Event20
7
+ } from "./location-ka57rnyv.js";
8
8
  import {
9
9
  ID14,
10
10
  MethodID2
11
- } from "./persistent-pty-b5re83s5.js";
11
+ } from "./location-0yepr83e.js";
12
12
  import {
13
13
  key2
14
- } from "./persistent-pty-h6r3nrb9.js";
14
+ } from "./location-h6r3nrb9.js";
15
15
  import {
16
- Service52
17
- } from "./persistent-pty-h2zrj56v.js";
16
+ Service73
17
+ } from "./location-cd0z4qvb.js";
18
18
  import {
19
19
  ID13,
20
20
  mergeOverlay2,
21
21
  mergeHeaders2
22
- } from "./persistent-pty-f22gk9j9.js";
22
+ } from "./location-sp1dssyy.js";
23
23
  import {
24
- ID4,
24
+ ID11,
25
25
  Input14,
26
26
  Response2
27
- } from "./persistent-pty-zpwvqkne.js";
27
+ } from "./location-9p5s6s2z.js";
28
28
 
29
29
  // src/plugin/provider/opencode.ts
30
30
  import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
@@ -39,7 +39,7 @@ var methodID = MethodID2.make("device");
39
39
  var RemoteResponse = Schema.Struct({
40
40
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
41
41
  websearch: Schema.Struct({
42
- providerID: ID4
42
+ providerID: ID11
43
43
  }).pipe(Schema.optional),
44
44
  experimental: Schema.Struct({
45
45
  policies: Schema.Array(ConfigPolicy.Info).pipe(Schema.optional)
@@ -118,9 +118,9 @@ function oauth(http) {
118
118
  var OpencodePlugin2 = define({
119
119
  id: "opencode.provider.opencode",
120
120
  effect: Effect.fn(function* (ctx) {
121
- const bus = yield* Service83;
121
+ const bus = yield* Service82;
122
122
  const http = yield* HttpClient.HttpClient;
123
- const managed = yield* Service52;
123
+ const managed = yield* Service73;
124
124
  const loading = Semaphore.makeUnsafe(1);
125
125
  let snapshot = { config: undefined, connection: undefined, organization: undefined };
126
126
  const load = Effect.fn("OpencodePlugin.load")(function* () {
@@ -291,7 +291,7 @@ var OpencodePlugin2 = define({
291
291
  yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
292
292
  });
293
293
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
294
- yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
294
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
295
295
  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);
296
296
  })
297
297
  });
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/session/system-prompt.ts
6
6
  var exports_system_prompt = {};
7
7
  __export(exports_system_prompt, {
8
8
  SessionSystemPrompt: () => exports_system_prompt,
9
- make: () => make13,
10
- render: () => render2
9
+ make: () => make15,
10
+ render: () => render3
11
11
  });
12
12
 
13
13
  // src/session/runner/prompt/system.txt
@@ -29,10 +29,10 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
29
29
  `;
30
30
 
31
31
  // src/session/system-prompt.ts
32
- function make13(tools) {
33
- return render2(system_default, tools);
32
+ function make15(tools) {
33
+ return render3(system_default, tools);
34
34
  }
35
- function render2(prompt, tools) {
35
+ function render3(prompt, tools) {
36
36
  const instructions = [];
37
37
  if (tools.includes("shell")) {
38
38
  instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
@@ -47,4 +47,4 @@ function render2(prompt, tools) {
47
47
  `));
48
48
  }
49
49
 
50
- export { make13, render2, exports_system_prompt };
50
+ export { make15, render3, exports_system_prompt };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  definition2
3
- } from "./persistent-pty-3w5fmr99.js";
3
+ } from "./location-3w5fmr99.js";
4
4
  import {
5
5
  __export
6
- } from "./persistent-pty-9rqn6x4v.js";
6
+ } from "./location-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/tool-input-repair.ts
9
9
  var exports_tool_input_repair = {};
10
10
  __export(exports_tool_input_repair, {
11
- Plugin: () => Plugin16,
11
+ Plugin: () => Plugin39,
12
12
  ToolInputRepairPlugin: () => exports_tool_input_repair
13
13
  });
14
14
  import { define } from "@opencode/plugin/effect/plugin";
15
15
  import { Effect, Option, Predicate, Schema } from "effect";
16
16
  var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
17
17
  var maxDepth = 6;
18
- var Plugin16 = define({
18
+ var Plugin39 = define({
19
19
  id: "opencode.tool.input.repair",
20
20
  effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
21
21
  if (event.tool === "execute")
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
120
120
  return compatible ? [repaired] : value;
121
121
  }
122
122
 
123
- export { Plugin16, exports_tool_input_repair };
123
+ export { Plugin39, exports_tool_input_repair };
@@ -2,13 +2,13 @@ import {
2
2
  AgentNotFoundError2,
3
3
  StepFailedError2,
4
4
  UserInterruptedError2
5
- } from "./persistent-pty-6z3bcrm7.js";
5
+ } from "./location-zt6fd653.js";
6
6
  import {
7
7
  BlockedError2
8
- } from "./persistent-pty-ngc2191d.js";
8
+ } from "./location-3jm0sq8a.js";
9
9
  import {
10
10
  AuthorizationError2
11
- } from "./persistent-pty-b5re83s5.js";
11
+ } from "./location-0yepr83e.js";
12
12
  import {
13
13
  ModelNotSelectedError2,
14
14
  ModelUnavailableError2,
@@ -18,7 +18,7 @@ import {
18
18
  ModelInitializationError2,
19
19
  UnresolvedProviderVariablesError2,
20
20
  UnsupportedCompactionError2
21
- } from "./persistent-pty-wy6hpy23.js";
21
+ } from "./location-b60s1em2.js";
22
22
 
23
23
  // src/session/to-session-error.ts
24
24
  import { AIError, ToolFailure } from "@opencode/ai";
@@ -1,39 +1,39 @@
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
- parse5,
6
+ parse4,
7
7
  parseRemote2,
8
8
  validateBranch3,
9
9
  isRemote2,
10
10
  cachePath2
11
- } from "./persistent-pty-6h73sxmp.js";
11
+ } from "./location-2402vzrj.js";
12
12
  import {
13
13
  AbsolutePath2
14
- } from "./persistent-pty-922hggd3.js";
14
+ } from "./location-922hggd3.js";
15
15
  import {
16
- Service78,
17
- node82
18
- } from "./persistent-pty-3xsfpvq0.js";
16
+ Service41,
17
+ node45
18
+ } from "./location-a1j3s6td.js";
19
19
  import {
20
20
  create3
21
- } from "./persistent-pty-rdw6cm16.js";
21
+ } from "./location-rdw6cm16.js";
22
22
  import {
23
23
  __export
24
- } from "./persistent-pty-9rqn6x4v.js";
24
+ } from "./location-9rqn6x4v.js";
25
25
 
26
26
  // src/reference.ts
27
27
  var exports_reference2 = {};
28
28
  __export(exports_reference2, {
29
29
  Event: () => Event8,
30
30
  GitSource: () => GitSource2,
31
- Info: () => Info9,
31
+ Info: () => Info8,
32
32
  LocalSource: () => LocalSource2,
33
33
  Reference: () => exports_reference2,
34
- Service: () => Service47,
35
- Source: () => Source3,
36
- node: () => node49
34
+ Service: () => Service40,
35
+ Source: () => Source4,
36
+ node: () => node44
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Context, Effect, Layer, Scope } from "effect";
@@ -42,15 +42,15 @@ import { Global } from "@opencode/util/global";
42
42
  import { Event as Event8 } from "@opencode/schema/reference";
43
43
  var LocalSource2 = Reference.LocalSource;
44
44
  var GitSource2 = Reference.GitSource;
45
- var Source3 = Reference.Source;
46
- var Info9 = Reference.Info;
45
+ var Source4 = Reference.Source;
46
+ var Info8 = Reference.Info;
47
47
 
48
- class Service47 extends Context.Service()("@opencode/Reference") {
48
+ class Service40 extends Context.Service()("@opencode/Reference") {
49
49
  }
50
- var layer = Layer.effect(Service47, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service40, Effect.gen(function* () {
51
51
  const global = yield* Global.Service;
52
- const bus = yield* Service83;
53
- const cache = yield* Service78;
52
+ const bus = yield* Service82;
53
+ const cache = yield* Service41;
54
54
  const scope = yield* Scope.Scope;
55
55
  const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
56
56
  const info = {
@@ -60,8 +60,8 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
60
60
  ...source.hidden === undefined ? {} : { hidden: source.hidden }
61
61
  };
62
62
  if (source.type === "local")
63
- return [Info9.make({ ...info, path: source.path })];
64
- const repository = parse5(source.repository);
63
+ return [Info8.make({ ...info, path: source.path })];
64
+ const repository = parse4(source.repository);
65
65
  if (!repository || !isRemote2(repository))
66
66
  return [];
67
67
  if (source.branch) {
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
72
72
  }
73
73
  }
74
74
  return [
75
- Info9.make({
75
+ Info8.make({
76
76
  ...info,
77
77
  path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
78
78
  })
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
107
- return Service47.of({
107
+ return Service40.of({
108
108
  transform: state.transform,
109
109
  reload: state.reload,
110
110
  list: Effect.fn("Reference.list")(function* () {
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
112
112
  })
113
113
  });
114
114
  }));
115
- var node49 = makeLocationNode({
116
- service: Service47,
115
+ var node44 = makeLocationNode({
116
+ service: Service40,
117
117
  layer,
118
- deps: [Global.node, node87, node82]
118
+ deps: [Global.node, node86, node45]
119
119
  });
120
120
 
121
- export { LocalSource2, GitSource2, Source3, Info9, Service47, node49, exports_reference2, Event8 };
121
+ export { LocalSource2, GitSource2, Source4, Info8, Service40, node44, exports_reference2, Event8 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  webSocketConstructor2
3
- } from "./persistent-pty-5t3nmthw.js";
3
+ } from "./location-5t3nmthw.js";
4
4
  import {
5
5
  __export
6
- } from "./persistent-pty-9rqn6x4v.js";
6
+ } from "./location-9rqn6x4v.js";
7
7
 
8
8
  // src/session/model-transport.ts
9
9
  var exports_model_transport = {};
10
10
  __export(exports_model_transport, {
11
- Service: () => Service22,
11
+ Service: () => Service35,
12
12
  SessionModelTransport: () => exports_model_transport,
13
- layer: () => layer10,
13
+ layer: () => layer13,
14
14
  makeLayer: () => makeLayer2,
15
- node: () => node25
15
+ node: () => node39
16
16
  });
17
17
  import {
18
18
  WebSocketTransport
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
33
33
  });
34
34
  var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
35
35
 
36
- class Service22 extends Context.Service()("@opencode/SessionModelTransport") {
36
+ class Service35 extends Context.Service()("@opencode/SessionModelTransport") {
37
37
  }
38
38
  var transportError = (message, input) => new AIError({
39
39
  reason: new TransportError({ message, transport: "websocket", ...input })
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
57
57
  return Effect.fail(observation.error);
58
58
  };
59
59
  var observationTerminal = (observation) => observation.type !== "frame";
60
- var makeLayer2 = (connector) => Layer.effect(Service22, Effect.gen(function* () {
60
+ var makeLayer2 = (connector) => Layer.effect(Service35, Effect.gen(function* () {
61
61
  const scope = yield* Scope.Scope;
62
62
  const states = new Map;
63
63
  const state = (sessionID) => {
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service22, Effect.gen(function* ()
367
367
  }, { discard: true });
368
368
  });
369
369
  yield* Effect.addFinalizer(() => closeAll);
370
- return Service22.of({ bind, close, closeAll });
370
+ return Service35.of({ bind, close, closeAll });
371
371
  }));
372
- var layer10 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
372
+ var layer13 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
373
373
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
374
374
  })));
375
- var node25 = makeGlobalNode({ service: Service22, layer: layer10, deps: [webSocketConstructor2] });
375
+ var node39 = makeGlobalNode({ service: Service35, layer: layer13, deps: [webSocketConstructor2] });
376
376
 
377
- export { Service22, makeLayer2, layer10, node25, exports_model_transport };
377
+ export { Service35, makeLayer2, layer13, node39, exports_model_transport };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./persistent-pty-922hggd3.js";
3
+ } from "./location-922hggd3.js";
4
4
  import {
5
- node85
6
- } from "./persistent-pty-5f90fjb2.js";
5
+ node83
6
+ } from "./location-sjf3tctt.js";
7
7
  import {
8
8
  Service77,
9
9
  node81
10
- } from "./persistent-pty-fy2vv4qy.js";
10
+ } from "./location-hrpmhk0j.js";
11
11
  import {
12
12
  create3
13
- } from "./persistent-pty-rdw6cm16.js";
13
+ } from "./location-rdw6cm16.js";
14
14
  import {
15
- make18
16
- } from "./persistent-pty-nkgdvn7z.js";
15
+ make12
16
+ } from "./location-ex0ne5y8.js";
17
17
  import {
18
18
  __export
19
- } from "./persistent-pty-9rqn6x4v.js";
19
+ } from "./location-9rqn6x4v.js";
20
20
 
21
21
  // src/worktree/strategies.ts
22
22
  var exports_strategies = {};
23
23
  __export(exports_strategies, {
24
- Service: () => Service39,
24
+ Service: () => Service21,
25
25
  WorktreeStrategies: () => exports_strategies,
26
- node: () => node41
26
+ node: () => node24
27
27
  });
28
28
  import { Context, Effect, Layer } from "effect";
29
29
  import path from "path";
@@ -31,12 +31,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Global } from "@opencode/util/global";
32
32
  import { FSUtil } from "@opencode/util/fs-util";
33
33
 
34
- class Service39 extends Context.Service()("@opencode/WorktreeStrategies") {
34
+ class Service21 extends Context.Service()("@opencode/WorktreeStrategies") {
35
35
  }
36
- var layer = Layer.effect(Service39, Effect.gen(function* () {
36
+ var layer = Layer.effect(Service21, Effect.gen(function* () {
37
37
  const location = yield* Service77;
38
38
  const global = yield* Global.Service;
39
- const git = yield* make18;
39
+ const git = yield* make12;
40
40
  const state = create3({
41
41
  name: "worktree",
42
42
  initial: () => ({
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
55
55
  }
56
56
  })
57
57
  });
58
- return Service39.of({ ...state, directory: location.directory });
58
+ return Service21.of({ ...state, directory: location.directory });
59
59
  }));
60
- var node41 = makeLocationNode({
61
- service: Service39,
60
+ var node24 = makeLocationNode({
61
+ service: Service21,
62
62
  layer,
63
- deps: [node81, Global.node, node85, FSUtil.node]
63
+ deps: [node81, Global.node, node83, FSUtil.node]
64
64
  });
65
65
 
66
- export { Service39, node41, exports_strategies };
66
+ export { Service21, node24, exports_strategies };