@opencode/core 0.0.0-dev-20654 → 0.0.0-dev-20655

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 (473) hide show
  1. package/dist/agent.js +66 -66
  2. package/dist/aisdk-native.js +63 -63
  3. package/dist/aisdk.js +68 -68
  4. package/dist/app.js +9 -9
  5. package/dist/bus.js +52 -52
  6. package/dist/chunks/{app-4tp5hkr9.js → app-04e56h6g.js} +19 -19
  7. package/dist/chunks/{app-7ht5hy0j.js → app-04jg6nm3.js} +18 -18
  8. package/dist/chunks/{app-5p8ngbgk.js → app-0c8a6nan.js} +86 -86
  9. package/dist/chunks/{app-bha5yh8f.js → app-0ejp3s31.js} +13 -13
  10. package/dist/chunks/{app-q0xm7vwc.js → app-0j77ygfz.js} +4 -4
  11. package/dist/chunks/{app-sw35smzz.js → app-0p3t72g7.js} +11 -11
  12. package/dist/chunks/{app-vqmv0wny.js → app-0xymhvjv.js} +15 -15
  13. package/dist/chunks/{app-rm6wvaj8.js → app-16bxftmt.js} +16 -16
  14. package/dist/chunks/{app-r8xr0va3.js → app-1acjjqhc.js} +3 -3
  15. package/dist/chunks/{app-d2czbp48.js → app-1b4m0bzf.js} +3 -3
  16. package/dist/chunks/{app-jhdanssh.js → app-1fe3twba.js} +34 -34
  17. package/dist/chunks/{app-e1as76v8.js → app-1gh24mt2.js} +36 -36
  18. package/dist/chunks/{app-x1w9s84m.js → app-1h0m70r1.js} +22 -22
  19. package/dist/chunks/{app-h3d1wmv7.js → app-1jksvqp2.js} +23 -23
  20. package/dist/chunks/{app-5nvyfvs2.js → app-1m23n1zc.js} +10 -10
  21. package/dist/chunks/{app-qk10qjqd.js → app-1mkt64e2.js} +3 -3
  22. package/dist/chunks/{app-dzw83ac5.js → app-1rh4yqvv.js} +7 -7
  23. package/dist/chunks/{app-kgdwkpsf.js → app-20k6bs8s.js} +9 -9
  24. package/dist/chunks/{app-0zyqvhq9.js → app-20y2srhq.js} +7 -7
  25. package/dist/chunks/{app-5fnmkqwj.js → app-242d3xz3.js} +6 -6
  26. package/dist/chunks/{app-r2ens31f.js → app-29fgs7mf.js} +28 -28
  27. package/dist/chunks/{app-nx45m9pa.js → app-2awzhxm4.js} +9 -9
  28. package/dist/chunks/{app-4ts7tf6z.js → app-2ccvkpx1.js} +1 -1
  29. package/dist/chunks/{app-3jrsp1yh.js → app-2dcxqaf0.js} +20 -20
  30. package/dist/chunks/{app-6r04yh88.js → app-2h8kq5g8.js} +2 -2
  31. package/dist/chunks/{app-cavr175a.js → app-2pnhn36q.js} +20 -20
  32. package/dist/chunks/{app-qmqgtz8f.js → app-2sejkfem.js} +7 -7
  33. package/dist/chunks/{app-yxmqamfs.js → app-301dthfh.js} +21 -21
  34. package/dist/chunks/{app-a4ae1mqs.js → app-325sge2s.js} +1 -1
  35. package/dist/chunks/{app-5ntmp6zc.js → app-3322t3cd.js} +21 -21
  36. package/dist/chunks/{app-j6z9wjgn.js → app-35bmy1pq.js} +18 -18
  37. package/dist/chunks/{app-vd3r3z5p.js → app-3p3qdx74.js} +1 -1
  38. package/dist/chunks/{app-6cz210g8.js → app-3pshrbxs.js} +6 -6
  39. package/dist/chunks/{app-3fxa2vs0.js → app-45p1457d.js} +39 -39
  40. package/dist/chunks/{app-m500pqbj.js → app-4ayp82yx.js} +145 -145
  41. package/dist/chunks/{app-01b47qtp.js → app-4b3qsvz5.js} +10 -10
  42. package/dist/chunks/{app-b2ckxg46.js → app-4dhf6qr5.js} +14 -14
  43. package/dist/chunks/{app-a19614zv.js → app-4ghyx0ra.js} +13 -13
  44. package/dist/chunks/{app-pec8ewpc.js → app-4k4xw99j.js} +10 -10
  45. package/dist/chunks/{app-ht5y0zrb.js → app-4v7qdvcn.js} +4 -4
  46. package/dist/chunks/{app-bsprd9wx.js → app-4x7mprc7.js} +5 -5
  47. package/dist/chunks/{app-33w4ejhs.js → app-56gdpj1q.js} +4 -4
  48. package/dist/chunks/{app-8tt02aa5.js → app-57e9z27j.js} +7 -7
  49. package/dist/chunks/{app-r2751jnn.js → app-5bebnv6a.js} +63 -63
  50. package/dist/chunks/{app-jzz42hqp.js → app-5cwdzrbq.js} +7 -7
  51. package/dist/chunks/{app-c4ejyagw.js → app-5p8wf6j7.js} +21 -21
  52. package/dist/chunks/{app-qn9g45dx.js → app-5vgy46me.js} +1 -1
  53. package/dist/chunks/{app-bbqm5gby.js → app-5w6eg69j.js} +19 -19
  54. package/dist/chunks/{app-tx3h7197.js → app-5xnx6s0g.js} +4 -4
  55. package/dist/chunks/{app-x8esnxbb.js → app-67p37xz4.js} +1 -1
  56. package/dist/chunks/{app-p944wxep.js → app-68yqgpv3.js} +40 -40
  57. package/dist/chunks/{app-3zbwexce.js → app-6h1ernme.js} +9 -9
  58. package/dist/chunks/{app-5qjwke21.js → app-6myapkvy.js} +18 -18
  59. package/dist/chunks/{app-f59ep6tb.js → app-6qtegkg3.js} +8 -8
  60. package/dist/chunks/{app-10bgj2qs.js → app-6s2ddzje.js} +44 -44
  61. package/dist/chunks/{app-xc71fexb.js → app-6xrnn9ah.js} +15 -15
  62. package/dist/chunks/{app-y9rxzeem.js → app-76tyfscq.js} +12 -12
  63. package/dist/chunks/{app-vs90824y.js → app-791sstd7.js} +20 -20
  64. package/dist/chunks/{app-26sz20hb.js → app-7b0bmdfp.js} +6 -6
  65. package/dist/chunks/{app-wdy45rw8.js → app-7cjh5p1y.js} +7 -7
  66. package/dist/chunks/{app-yja0z1nt.js → app-7cxp1twe.js} +23 -23
  67. package/dist/chunks/{app-ywe4gqtj.js → app-7gganw90.js} +1 -1
  68. package/dist/chunks/{app-nxh69913.js → app-7jqg3t26.js} +7 -7
  69. package/dist/chunks/{app-cgmwwjnd.js → app-7v13wked.js} +8 -8
  70. package/dist/chunks/{app-nda7119r.js → app-7w42a7vr.js} +25 -25
  71. package/dist/chunks/{app-derpzkc9.js → app-7z20pvgb.js} +7 -7
  72. package/dist/chunks/{app-0rw9nv2q.js → app-8phv1wh2.js} +8 -8
  73. package/dist/chunks/{app-h7fgzsk1.js → app-9014prnx.js} +12 -12
  74. package/dist/chunks/{app-m6cy21rm.js → app-9706e9af.js} +15 -15
  75. package/dist/chunks/{app-yz1dgv86.js → app-9g2bkc9w.js} +4 -4
  76. package/dist/chunks/{app-vm93y64s.js → app-9h0hm6c7.js} +19 -19
  77. package/dist/chunks/{app-95tmncnd.js → app-9kdznkft.js} +153 -153
  78. package/dist/chunks/{app-1yb457c1.js → app-9w4vxw73.js} +18 -18
  79. package/dist/chunks/{app-h7v41q2b.js → app-9whkbvte.js} +2 -2
  80. package/dist/chunks/{app-z0rw1ncf.js → app-9z3aytcr.js} +21 -21
  81. package/dist/chunks/{app-gy3hfqwa.js → app-a89j2j3v.js} +9 -9
  82. package/dist/chunks/{app-x661k3y3.js → app-addxnjmp.js} +3 -3
  83. package/dist/chunks/{app-fgb4ey1w.js → app-af8m3dqx.js} +4 -4
  84. package/dist/chunks/{app-4fvakk57.js → app-ahket4sj.js} +1 -1
  85. package/dist/chunks/{app-38225d31.js → app-amtff23s.js} +19 -19
  86. package/dist/chunks/{app-kermnw9y.js → app-an481r60.js} +21 -21
  87. package/dist/chunks/{app-awezfaj7.js → app-apkykmcv.js} +35 -35
  88. package/dist/chunks/{app-x4dkc3v3.js → app-ar6cqpvd.js} +9 -9
  89. package/dist/chunks/{app-s8r1bxm7.js → app-aya0m2nn.js} +14 -14
  90. package/dist/chunks/{app-92pqdpde.js → app-b0cc5wa1.js} +15 -15
  91. package/dist/chunks/{app-qa3qhgw8.js → app-b27vhd2z.js} +3 -3
  92. package/dist/chunks/{app-xxa9zwx6.js → app-b63vc8wa.js} +14 -14
  93. package/dist/chunks/{app-yb20yvhc.js → app-b8rcbyp3.js} +12 -12
  94. package/dist/chunks/{app-354wsgxx.js → app-bae9fd7v.js} +32 -32
  95. package/dist/chunks/{app-0xfrdwvr.js → app-bgb55b52.js} +22 -22
  96. package/dist/chunks/{app-j9kaagt3.js → app-bj79fbq7.js} +23 -23
  97. package/dist/chunks/{app-bx2wmar1.js → app-bkcfv8em.js} +13 -13
  98. package/dist/chunks/{app-nj11v1kf.js → app-bzg3gwdp.js} +44 -44
  99. package/dist/chunks/{app-d4q7zemf.js → app-c74t9qz0.js} +21 -21
  100. package/dist/chunks/{app-9pkbw0h1.js → app-cx5qjy2q.js} +17 -17
  101. package/dist/chunks/{app-ye6d7t69.js → app-d08g2ggt.js} +30 -30
  102. package/dist/chunks/{app-rvxgx5k2.js → app-d5513v78.js} +10 -10
  103. package/dist/chunks/{app-6q6gqmwq.js → app-d7gsy00f.js} +1 -1
  104. package/dist/chunks/{app-m1ay94aq.js → app-dbkg7j5s.js} +15 -15
  105. package/dist/chunks/{app-bpdcdgy4.js → app-dhgz4p5g.js} +20 -20
  106. package/dist/chunks/{app-q5hzqnd5.js → app-dk3gfcvg.js} +312 -312
  107. package/dist/chunks/{app-6t3bxbt1.js → app-dr9djctk.js} +17 -17
  108. package/dist/chunks/{app-5qd3pb7m.js → app-e3qxr5gk.js} +2 -2
  109. package/dist/chunks/{app-bf8fwsb9.js → app-ebpd15x1.js} +4 -4
  110. package/dist/chunks/{app-m1mdr3t4.js → app-eff940as.js} +33 -33
  111. package/dist/chunks/{app-c4e8pskq.js → app-ep2tbpq0.js} +2 -2
  112. package/dist/chunks/{app-p3c1m468.js → app-f2ymgd1y.js} +9 -9
  113. package/dist/chunks/{app-awqkms3h.js → app-f597wsw6.js} +8 -8
  114. package/dist/chunks/{app-pn4m98w3.js → app-fbfqd6t5.js} +24 -24
  115. package/dist/chunks/{app-z6pt0vvw.js → app-fe1pry9k.js} +3 -3
  116. package/dist/chunks/{app-t9bwbksh.js → app-fh6mwhcg.js} +15 -15
  117. package/dist/chunks/{app-77svsnty.js → app-fyyxce3k.js} +9 -9
  118. package/dist/chunks/{app-tmkqb4m5.js → app-g945yz75.js} +30 -30
  119. package/dist/chunks/{app-pq2931dk.js → app-gfypdtgg.js} +9 -9
  120. package/dist/chunks/{app-jhs71wy2.js → app-gmyrpb2t.js} +16 -16
  121. package/dist/chunks/{app-gey4pgq5.js → app-gvra8byy.js} +5 -5
  122. package/dist/chunks/{app-wcy74va6.js → app-gz06afsr.js} +12 -12
  123. package/dist/chunks/app-h44meb81.js +26 -0
  124. package/dist/chunks/{app-1pxz8ven.js → app-h83xjv7f.js} +3 -3
  125. package/dist/chunks/{app-scgrse2b.js → app-hdkng2sj.js} +3 -3
  126. package/dist/chunks/{app-21fbcwms.js → app-hhjq2279.js} +6 -6
  127. package/dist/chunks/{app-yrzy80wg.js → app-hwwy1ym4.js} +10 -10
  128. package/dist/chunks/{app-5ktf0rcf.js → app-hxnmxwjb.js} +11 -11
  129. package/dist/chunks/{app-smzkt4h8.js → app-j4tsbt5k.js} +23 -23
  130. package/dist/chunks/{app-37eb9j4g.js → app-j9vjkm8n.js} +11 -11
  131. package/dist/chunks/{app-myrb3mwv.js → app-jat658e1.js} +13 -13
  132. package/dist/chunks/{app-89znh5jn.js → app-jc3azejp.js} +22 -22
  133. package/dist/chunks/{app-r71fb6ch.js → app-jcx1xx7s.js} +8 -8
  134. package/dist/chunks/{app-ctz7jbry.js → app-jhpaar4x.js} +7 -7
  135. package/dist/chunks/{app-6ydeeanc.js → app-jkv8g5mz.js} +7 -7
  136. package/dist/chunks/{app-qncy8rqx.js → app-jnvev7pc.js} +31 -31
  137. package/dist/chunks/{app-k0nnq3t9.js → app-k3kxt7h3.js} +5 -5
  138. package/dist/chunks/{app-w8v7x0t4.js → app-k5s0pr56.js} +24 -24
  139. package/dist/chunks/{app-8a6ws7jr.js → app-k70p9jzb.js} +7 -7
  140. package/dist/chunks/{app-k0j6xj92.js → app-k7y9nwy7.js} +78 -78
  141. package/dist/chunks/{app-4dnhnsrw.js → app-kdhmv3km.js} +10 -10
  142. package/dist/chunks/{app-vfjhn2wd.js → app-knevfgda.js} +3 -3
  143. package/dist/chunks/{app-5jrta31j.js → app-kt8356a3.js} +30 -30
  144. package/dist/chunks/{app-bz46fwta.js → app-m1mccnkp.js} +22 -22
  145. package/dist/chunks/{app-b7zw3vx0.js → app-m8n8f8f1.js} +22 -22
  146. package/dist/chunks/{app-2za1r32n.js → app-mgh0wzph.js} +13 -13
  147. package/dist/chunks/{app-a1gpj94z.js → app-mvfsc1pv.js} +2 -2
  148. package/dist/chunks/{app-qhyw2gmb.js → app-mwkrjy8y.js} +9 -9
  149. package/dist/chunks/{app-ws6r9wxd.js → app-mzkxtmwj.js} +48 -48
  150. package/dist/chunks/{app-6fnv26db.js → app-nd6gy5bw.js} +12 -12
  151. package/dist/chunks/{app-9a3kc0hm.js → app-nd6t1tpn.js} +12 -12
  152. package/dist/chunks/{app-qyp7nx31.js → app-ne07e3sg.js} +26 -26
  153. package/dist/chunks/{app-x5paqj6j.js → app-ngv8w6cp.js} +13 -13
  154. package/dist/chunks/{app-bkh2zg02.js → app-nwhb2xra.js} +3 -3
  155. package/dist/chunks/{app-m4y7kpay.js → app-nxdkhax1.js} +8 -8
  156. package/dist/chunks/{app-tcay1cqt.js → app-p7a39gy5.js} +5 -5
  157. package/dist/chunks/{app-r8bv4q06.js → app-pwzyebmy.js} +8 -8
  158. package/dist/chunks/{app-g35x6qc6.js → app-py8bz5dh.js} +16 -16
  159. package/dist/chunks/{app-fgawfjx8.js → app-pybq8189.js} +2 -2
  160. package/dist/chunks/{app-553hyqc1.js → app-q41gjxsv.js} +18 -18
  161. package/dist/chunks/{app-nj38n445.js → app-q5bs9ych.js} +8 -8
  162. package/dist/chunks/{app-a6rrmb2t.js → app-q66krdtm.js} +6 -6
  163. package/dist/chunks/{app-at1kfnmk.js → app-qby9dwvd.js} +7 -7
  164. package/dist/chunks/{app-m2dbveed.js → app-qpg4an21.js} +10 -10
  165. package/dist/chunks/{app-vx3jgdek.js → app-qsee9sfb.js} +3 -3
  166. package/dist/chunks/{app-09erbt4s.js → app-r7jxkywv.js} +16 -16
  167. package/dist/chunks/{app-vjmj34bj.js → app-rdh9syxk.js} +9 -9
  168. package/dist/chunks/{app-qcj1qarq.js → app-reymgymz.js} +32 -32
  169. package/dist/chunks/{app-2e853yyk.js → app-rftk81m0.js} +35 -35
  170. package/dist/chunks/{app-ccv5fkkn.js → app-rjq8wmvv.js} +10 -10
  171. package/dist/chunks/{app-nzxj697k.js → app-rq424w6d.js} +7 -7
  172. package/dist/chunks/{app-xwwz1fcf.js → app-rrfvxgdj.js} +21 -21
  173. package/dist/chunks/{app-r44petzp.js → app-rrpq0de9.js} +7 -7
  174. package/dist/chunks/{app-b5c9dynj.js → app-rszvgpa6.js} +13 -13
  175. package/dist/chunks/{app-ykt494b9.js → app-rx9ava5n.js} +1 -1
  176. package/dist/chunks/{app-np17306k.js → app-s0y0yn56.js} +6 -6
  177. package/dist/chunks/{app-7mnw5w78.js → app-s6fz7zhe.js} +2 -2
  178. package/dist/chunks/{app-9t7a50xb.js → app-s8d7rejh.js} +3 -3
  179. package/dist/chunks/{app-qadcnyv9.js → app-s9bkmqx5.js} +8 -8
  180. package/dist/chunks/{app-9h8mrsf7.js → app-s9rfegk5.js} +17 -17
  181. package/dist/chunks/{app-vhg3kvj9.js → app-sdzb5d81.js} +43 -43
  182. package/dist/chunks/{app-6e5ndhjv.js → app-sgy8ytrb.js} +2 -2
  183. package/dist/chunks/{app-f26q4c2q.js → app-srj2pvnr.js} +13 -13
  184. package/dist/chunks/{app-0s3chswr.js → app-sssj1js0.js} +24 -24
  185. package/dist/chunks/{app-39rxwxkd.js → app-t157y7h9.js} +15 -15
  186. package/dist/chunks/{app-gcabepm0.js → app-t6jtyfth.js} +7 -7
  187. package/dist/chunks/{app-80scg3y3.js → app-tbmac1c7.js} +3 -3
  188. package/dist/chunks/{app-k6pmx2m2.js → app-td2q8pwv.js} +30 -30
  189. package/dist/chunks/{app-2r6s1han.js → app-tdkczycq.js} +3 -3
  190. package/dist/chunks/{app-977n1gvn.js → app-tjd55h1j.js} +1 -1
  191. package/dist/chunks/{app-qzgv83g8.js → app-trfe10aq.js} +48 -48
  192. package/dist/chunks/{app-ye968f26.js → app-tv9y8cre.js} +28 -28
  193. package/dist/chunks/{app-dhmh7aw6.js → app-tz4n1mmd.js} +3 -3
  194. package/dist/chunks/{app-fpecnkgp.js → app-v0es1rhs.js} +7 -7
  195. package/dist/chunks/{app-5pyjqqve.js → app-v3691hzd.js} +1 -1
  196. package/dist/chunks/{app-0mekpjct.js → app-v8djm3tk.js} +32 -32
  197. package/dist/chunks/{app-yn6dgm22.js → app-va1aqcgj.js} +8 -8
  198. package/dist/chunks/{app-hrtswde4.js → app-vcx4y3fv.js} +14 -14
  199. package/dist/chunks/{app-xq7hn9w5.js → app-vpw5h8ff.js} +3 -3
  200. package/dist/chunks/{app-84txncab.js → app-w1eejvng.js} +4 -4
  201. package/dist/chunks/{app-mterk9bb.js → app-w22hqb2b.js} +13 -13
  202. package/dist/chunks/{app-e1bn0v82.js → app-w56bmt8q.js} +1 -1
  203. package/dist/chunks/{app-9hwaqfsw.js → app-wbgabvvj.js} +3 -3
  204. package/dist/chunks/{app-xbvv70jj.js → app-wbrpy97e.js} +7 -7
  205. package/dist/chunks/{app-ev618wrn.js → app-wkt2r7t8.js} +2 -2
  206. package/dist/chunks/{app-4qt3dk25.js → app-wp4df68x.js} +9 -9
  207. package/dist/chunks/{app-4xfpc9x8.js → app-wrdre0d4.js} +33 -33
  208. package/dist/chunks/{app-jb7afjsg.js → app-ws2cps2z.js} +6 -6
  209. package/dist/chunks/{app-qt4hgj4v.js → app-wxzwjz1v.js} +32 -32
  210. package/dist/chunks/{app-m6r7asx4.js → app-wygm2re9.js} +12 -12
  211. package/dist/chunks/{app-77237k3k.js → app-x1e01gbv.js} +15 -15
  212. package/dist/chunks/{app-r1vnz2ze.js → app-x9e148je.js} +14 -14
  213. package/dist/chunks/{app-rehtxfbe.js → app-xa67z4h8.js} +1 -1
  214. package/dist/chunks/{app-b1hb30m9.js → app-xccs5pvc.js} +7 -7
  215. package/dist/chunks/{app-jzzy94zk.js → app-xf8yqmad.js} +7 -7
  216. package/dist/chunks/{app-frtrentt.js → app-xj54bchx.js} +1 -1
  217. package/dist/chunks/{app-dmqcgk4z.js → app-xkntkrq7.js} +3 -3
  218. package/dist/chunks/{app-ex71f260.js → app-xp199s9v.js} +23 -23
  219. package/dist/chunks/{app-tx92n959.js → app-xs53z2pm.js} +3 -3
  220. package/dist/chunks/{app-1kr92pjq.js → app-y77syfze.js} +24 -24
  221. package/dist/chunks/{app-pengrcv5.js → app-yj324k3c.js} +5 -5
  222. package/dist/chunks/{app-3qaj82j9.js → app-yt3hy1g9.js} +3 -3
  223. package/dist/chunks/{app-xb3m1p56.js → app-yw1qgh4m.js} +12 -12
  224. package/dist/chunks/{app-eg4w172k.js → app-z0k8ktqm.js} +1 -1
  225. package/dist/chunks/{app-7zet489v.js → app-z52sz3cr.js} +28 -28
  226. package/dist/chunks/{app-77y1s1rs.js → app-z9w0t9mp.js} +9 -9
  227. package/dist/chunks/{app-0xw58msr.js → app-zqapp3sx.js} +8 -8
  228. package/dist/chunks/{app-5ms2rpmc.js → app-zy98sty6.js} +1 -1
  229. package/dist/codemode/instructions.js +6 -6
  230. package/dist/command.js +66 -66
  231. package/dist/config/discovery.js +57 -57
  232. package/dist/config/normalize.js +72 -72
  233. package/dist/config/plugin/agent.js +88 -88
  234. package/dist/config/plugin/command.js +162 -162
  235. package/dist/config/plugin/compaction.js +115 -115
  236. package/dist/config/plugin/compatibility.js +103 -103
  237. package/dist/config/plugin/formatter.js +87 -87
  238. package/dist/config/plugin/image.js +86 -86
  239. package/dist/config/plugin/instruction.js +64 -64
  240. package/dist/config/plugin/location-watcher.js +88 -88
  241. package/dist/config/plugin/mcp.js +94 -94
  242. package/dist/config/plugin/policy.js +87 -87
  243. package/dist/config/plugin/provider.js +86 -86
  244. package/dist/config/plugin/reference.js +88 -88
  245. package/dist/config/plugin/shell.js +86 -86
  246. package/dist/config/plugin/skill-file.js +72 -72
  247. package/dist/config/plugin/skill.js +106 -106
  248. package/dist/config/plugin/snapshot.js +86 -86
  249. package/dist/config/plugin/source.js +89 -89
  250. package/dist/config/plugin/tool-output.js +87 -87
  251. package/dist/config/plugin/websearch.js +85 -85
  252. package/dist/config/plugin/worktree.js +87 -87
  253. package/dist/config/variable.js +2 -2
  254. package/dist/config.js +92 -92
  255. package/dist/credential.js +62 -62
  256. package/dist/database/database.js +51 -51
  257. package/dist/database/drizzle/effect-sqlite/driver.js +8 -8
  258. package/dist/database/drizzle/effect-sqlite/index.js +4 -4
  259. package/dist/database/drizzle/effect-sqlite/session.js +7 -7
  260. package/dist/database/drizzle/index.js +9 -9
  261. package/dist/database/drizzle/sqlite-core/effect/db.js +5 -5
  262. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  263. package/dist/database/drizzle/sqlite-core/effect/session.js +6 -6
  264. package/dist/database/drizzle.js +9 -9
  265. package/dist/database/migration.gen.js +40 -40
  266. package/dist/database/migration.js +41 -41
  267. package/dist/database/v1-migration.bun.js +9 -9
  268. package/dist/effect/app-node-builder.js +234 -234
  269. package/dist/environment/environment.js +64 -64
  270. package/dist/environment/index.js +66 -66
  271. package/dist/event-logger.js +9 -9
  272. package/dist/file-access.js +75 -75
  273. package/dist/file-mutation.js +65 -65
  274. package/dist/filesystem/location-watcher-policy.js +5 -5
  275. package/dist/filesystem/location-watcher.js +175 -175
  276. package/dist/filesystem/search.js +66 -66
  277. package/dist/filesystem/watcher-binding.js +3 -3
  278. package/dist/filesystem/watcher.js +14 -14
  279. package/dist/filesystem.js +71 -71
  280. package/dist/form.js +61 -61
  281. package/dist/formatter/builtins.js +3 -3
  282. package/dist/formatter.js +62 -62
  283. package/dist/generate.js +77 -77
  284. package/dist/git.js +5 -5
  285. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +5 -5
  286. package/dist/github-copilot/copilot-provider.js +3 -3
  287. package/dist/github-copilot/models.js +65 -65
  288. package/dist/github-copilot/responses/openai-responses-language-model.js +6 -6
  289. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +3 -3
  290. package/dist/image/photon.js +1 -1
  291. package/dist/image.js +5 -5
  292. package/dist/instance/service.js +5 -5
  293. package/dist/instance.js +299 -299
  294. package/dist/instruction-discovery.js +65 -65
  295. package/dist/instructions/builtins.js +62 -62
  296. package/dist/instructions/index.js +3 -3
  297. package/dist/integration/connection.js +3 -3
  298. package/dist/integration.js +66 -66
  299. package/dist/job.js +61 -61
  300. package/dist/kv.js +56 -56
  301. package/dist/location-activity.js +53 -53
  302. package/dist/location-lifecycle.js +78 -78
  303. package/dist/location-service-map.js +61 -61
  304. package/dist/location-services.js +297 -297
  305. package/dist/location.js +62 -62
  306. package/dist/managed-policy.js +5 -5
  307. package/dist/mcp/client.js +17 -17
  308. package/dist/mcp/index.js +79 -79
  309. package/dist/mcp/instructions.js +90 -90
  310. package/dist/mcp/oauth.js +13 -13
  311. package/dist/mcp/stdio.js +61 -61
  312. package/dist/modal/models.js +65 -65
  313. package/dist/model-resolver.js +72 -72
  314. package/dist/model.js +76 -76
  315. package/dist/models-dev.js +80 -80
  316. package/dist/permission/saved.js +60 -60
  317. package/dist/permission.js +82 -82
  318. package/dist/persistent-pty/index.js +69 -69
  319. package/dist/persistent-pty.js +55 -55
  320. package/dist/plugin/agent.js +75 -75
  321. package/dist/plugin/command.js +72 -72
  322. package/dist/plugin/hooks.js +5 -5
  323. package/dist/plugin/host.js +166 -166
  324. package/dist/plugin/identity.js +3 -3
  325. package/dist/plugin/internal.js +272 -272
  326. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  327. package/dist/plugin/models-dev.js +69 -69
  328. package/dist/plugin/module.js +5 -5
  329. package/dist/plugin/plan.js +73 -73
  330. package/dist/plugin/provider/amazon-bedrock.js +64 -64
  331. package/dist/plugin/provider/azure.js +87 -87
  332. package/dist/plugin/provider/chatgpt.js +66 -66
  333. package/dist/plugin/provider/cloudflare-ai-gateway.js +84 -84
  334. package/dist/plugin/provider/cloudflare-workers-ai.js +84 -84
  335. package/dist/plugin/provider/configured.js +83 -83
  336. package/dist/plugin/provider/digitalocean.js +66 -66
  337. package/dist/plugin/provider/github-copilot.js +68 -68
  338. package/dist/plugin/provider/gitlab.js +66 -66
  339. package/dist/plugin/provider/google-vertex.js +64 -64
  340. package/dist/plugin/provider/llmgateway.js +59 -59
  341. package/dist/plugin/provider/lmstudio.js +87 -87
  342. package/dist/plugin/provider/local.js +84 -84
  343. package/dist/plugin/provider/modal.js +66 -66
  344. package/dist/plugin/provider/ollama.js +87 -87
  345. package/dist/plugin/provider/openai.js +65 -65
  346. package/dist/plugin/provider/opencode.js +69 -69
  347. package/dist/plugin/provider/openrouter.js +65 -65
  348. package/dist/plugin/provider/poe.js +59 -59
  349. package/dist/plugin/provider/prompt-cache-key.js +64 -64
  350. package/dist/plugin/provider/sap-ai-core.js +64 -64
  351. package/dist/plugin/provider/snowflake-cortex.js +85 -85
  352. package/dist/plugin/provider/vercel.js +64 -64
  353. package/dist/plugin/provider/vllm.js +87 -87
  354. package/dist/plugin/provider/xai.js +65 -65
  355. package/dist/plugin/provider.js +120 -120
  356. package/dist/plugin/sdk.js +59 -59
  357. package/dist/plugin/service.js +3 -3
  358. package/dist/plugin/skill.js +104 -104
  359. package/dist/plugin/supervisor.js +288 -288
  360. package/dist/plugin/tool-input-repair.js +3 -3
  361. package/dist/plugin/update.js +5 -5
  362. package/dist/plugin/vcs/git.js +61 -61
  363. package/dist/plugin/vcs/hg.js +61 -61
  364. package/dist/plugin/verbosity.js +67 -67
  365. package/dist/plugin/warming.js +85 -85
  366. package/dist/plugin/websearch/exa.js +6 -6
  367. package/dist/plugin/websearch/firecrawl.js +7 -7
  368. package/dist/plugin/websearch/index.js +8 -8
  369. package/dist/plugin/websearch/mcp.js +3 -3
  370. package/dist/plugin/websearch/parallel.js +7 -7
  371. package/dist/plugin/websearch/tavily.js +6 -6
  372. package/dist/plugin/websearch/tinyfish.js +7 -7
  373. package/dist/plugin.js +179 -179
  374. package/dist/project/schema.js +7 -7
  375. package/dist/project.js +63 -63
  376. package/dist/provider.js +71 -71
  377. package/dist/pty.js +73 -73
  378. package/dist/reference/instructions.js +66 -66
  379. package/dist/reference.js +66 -66
  380. package/dist/repository-cache.js +59 -59
  381. package/dist/repository.js +3 -3
  382. package/dist/ripgrep.js +67 -67
  383. package/dist/rpc.js +61 -61
  384. package/dist/session/command.js +57 -57
  385. package/dist/session/compaction.js +94 -94
  386. package/dist/session/context.js +111 -111
  387. package/dist/session/diff.js +61 -61
  388. package/dist/session/environment.js +5 -5
  389. package/dist/session/error.js +4 -4
  390. package/dist/session/execution/restart.js +113 -113
  391. package/dist/session/execution.js +97 -97
  392. package/dist/session/generate.js +112 -112
  393. package/dist/session/history.js +8 -8
  394. package/dist/session/inbox.js +64 -64
  395. package/dist/session/info.js +2 -2
  396. package/dist/session/instruction-entry.js +59 -59
  397. package/dist/session/instruction-state.js +2 -2
  398. package/dist/session/instructions.js +65 -65
  399. package/dist/session/message-updater.js +3 -3
  400. package/dist/session/model-request.js +84 -84
  401. package/dist/session/model-transport.js +7 -7
  402. package/dist/session/move.js +98 -98
  403. package/dist/session/projector.js +61 -61
  404. package/dist/session/prompt.js +76 -76
  405. package/dist/session/provider-context.js +3 -3
  406. package/dist/session/revert.js +62 -62
  407. package/dist/session/run-coordinator.js +3 -3
  408. package/dist/session/runner/index.js +3 -3
  409. package/dist/session/runner/llm.js +176 -176
  410. package/dist/session/runner/model.js +72 -72
  411. package/dist/session/runner/publish-llm-event.js +82 -82
  412. package/dist/session/runner/retry.js +3 -3
  413. package/dist/session/runner/step.js +89 -89
  414. package/dist/session/runner/to-llm-message.js +2 -2
  415. package/dist/session/schema.js +5 -5
  416. package/dist/session/session.js +127 -127
  417. package/dist/session/shell.js +98 -98
  418. package/dist/session/skill.js +74 -74
  419. package/dist/session/stats.js +8 -8
  420. package/dist/session/store.js +63 -63
  421. package/dist/session/subagent-job.js +158 -158
  422. package/dist/session/title.js +112 -112
  423. package/dist/session/to-session-error.js +81 -81
  424. package/dist/session/transfer.js +110 -110
  425. package/dist/session.js +166 -166
  426. package/dist/shell/parse.js +4 -4
  427. package/dist/shell/select.js +12 -12
  428. package/dist/shell.js +101 -101
  429. package/dist/skill/discovery.js +5 -5
  430. package/dist/skill/instructions.js +78 -78
  431. package/dist/skill.js +83 -83
  432. package/dist/snapshot.js +68 -68
  433. package/dist/tool/mcp.js +91 -91
  434. package/dist/tool/plugin/edit.js +86 -86
  435. package/dist/tool/plugin/glob.js +89 -89
  436. package/dist/tool/plugin/grep.js +89 -89
  437. package/dist/tool/plugin/mcp-resource.js +81 -81
  438. package/dist/tool/plugin/opencode.js +3 -3
  439. package/dist/tool/plugin/patch.js +80 -80
  440. package/dist/tool/plugin/question.js +74 -74
  441. package/dist/tool/plugin/read.js +90 -90
  442. package/dist/tool/plugin/shell.js +164 -164
  443. package/dist/tool/plugin/skill.js +80 -80
  444. package/dist/tool/plugin/subagent.js +167 -167
  445. package/dist/tool/plugin/webfetch.js +79 -79
  446. package/dist/tool/plugin/websearch.js +83 -83
  447. package/dist/tool/plugin/write.js +88 -88
  448. package/dist/tool/read-filesystem.js +69 -69
  449. package/dist/tool-output.js +5 -5
  450. package/dist/tool.js +9 -9
  451. package/dist/v1/config/agent.js +6 -6
  452. package/dist/v1/config/command.js +3 -3
  453. package/dist/v1/config/error.js +3 -3
  454. package/dist/v1/config/mcp.js +3 -3
  455. package/dist/v1/config/migrate.js +65 -65
  456. package/dist/v1/config/permission.js +7 -7
  457. package/dist/v1/config/provider.js +3 -3
  458. package/dist/variant.js +67 -67
  459. package/dist/vcs.js +64 -64
  460. package/dist/websearch.js +61 -61
  461. package/dist/wellknown/plugin.js +57 -57
  462. package/dist/wellknown.js +62 -62
  463. package/dist/workspace/driver.js +5 -5
  464. package/dist/workspace.js +63 -63
  465. package/dist/worktree/git.js +4 -4
  466. package/dist/worktree/strategies.js +63 -63
  467. package/dist/worktree.js +71 -71
  468. package/package.json +8 -8
  469. package/dist/chunks/app-x82s002v.js +0 -26
  470. /package/dist/chunks/{app-zw4pk1bw.js → app-b7v4cx43.js} +0 -0
  471. /package/dist/chunks/{app-85gpctef.js → app-d9yqcqn2.js} +0 -0
  472. /package/dist/chunks/{app-ynmespmv.js → app-jtgyfgpv.js} +0 -0
  473. /package/dist/chunks/{app-pkxfpd18.js → app-mypwhdkk.js} +0 -0
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./app-qn9g45dx.js";
4
+ } from "./app-5vgy46me.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
8
  } from "./app-rdw6cm16.js";
9
9
  import {
10
10
  key2
11
- } from "./app-x661k3y3.js";
11
+ } from "./app-addxnjmp.js";
12
12
  import {
13
13
  ID13,
14
- Service76,
15
- node80,
16
- Event17
17
- } from "./app-5ntmp6zc.js";
14
+ Service74,
15
+ node78,
16
+ Event18
17
+ } from "./app-3322t3cd.js";
18
18
  import {
19
- Service79,
20
- node83
21
- } from "./app-t9bwbksh.js";
19
+ Service80,
20
+ node84
21
+ } from "./app-fh6mwhcg.js";
22
22
  import {
23
23
  __export
24
24
  } from "./app-9rqn6x4v.js";
@@ -38,13 +38,13 @@ __export(exports_provider3, {
38
38
  AISDK_PREFIX: () => AISDK_PREFIX2,
39
39
  Compaction: () => Compaction3,
40
40
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
41
- Event: () => Event16,
41
+ Event: () => Event17,
42
42
  ID: () => ID12,
43
- Info: () => Info21,
43
+ Info: () => Info22,
44
44
  LoadError: () => LoadError3,
45
45
  Provider: () => exports_provider3,
46
46
  Request: () => Request3,
47
- Service: () => Service75,
47
+ Service: () => Service73,
48
48
  Settings: () => Settings2,
49
49
  Transport: () => Transport2,
50
50
  aisdk: () => aisdk2,
@@ -54,7 +54,7 @@ __export(exports_provider3, {
54
54
  mergeOverlay: () => mergeOverlay2,
55
55
  modelSettings: () => modelSettings2,
56
56
  nativeSettings: () => nativeSettings2,
57
- node: () => node79,
57
+ node: () => node77,
58
58
  packageName: () => packageName2,
59
59
  timeout: () => timeout2,
60
60
  timeouts: () => timeouts2
@@ -68,7 +68,7 @@ import { isRecord } from "@opencode/ai/utils/record";
68
68
  import { importModule, resolveModule } from "@opencode/util/runtime-import";
69
69
  import { Credential } from "@opencode/schema/credential";
70
70
  import { freeze } from "immer";
71
- import { Event as Event16 } from "@opencode/schema/provider";
71
+ import { Event as Event17 } from "@opencode/schema/provider";
72
72
  var ID12 = Provider.ID;
73
73
  var AISDK_PREFIX2 = "aisdk:";
74
74
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
@@ -232,9 +232,9 @@ var Request3 = Provider.Request;
232
232
  var Compaction3 = Provider.Compaction;
233
233
  var Transport2 = Provider.Transport;
234
234
  var Settings2 = Provider.Settings;
235
- var Info21 = Provider.Info;
235
+ var Info22 = Provider.Info;
236
236
 
237
- class Service75 extends Context.Service()("@opencode/Provider") {
237
+ class Service73 extends Context.Service()("@opencode/Provider") {
238
238
  }
239
239
  var definitions = new WeakMap;
240
240
  function index(providerID, models) {
@@ -247,10 +247,10 @@ function index(providerID, models) {
247
247
  definitions.set(models, indexes);
248
248
  return result;
249
249
  }
250
- var layer = Layer.effect(Service75, Effect.gen(function* () {
250
+ var layer = Layer.effect(Service73, Effect.gen(function* () {
251
251
  const bus = yield* Service83;
252
- const integrations = yield* Service76;
253
- const location = yield* Service79;
252
+ const integrations = yield* Service74;
253
+ const location = yield* Service80;
254
254
  const state = create3({
255
255
  name: "provider",
256
256
  initial: () => new Map,
@@ -261,7 +261,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
261
261
  const current = records.get(id);
262
262
  if (current)
263
263
  return current;
264
- const added = { provider: Info21.empty(id), models: new Map };
264
+ const added = { provider: Info22.empty(id), models: new Map };
265
265
  records.set(id, added);
266
266
  maps.add(added.models);
267
267
  return added;
@@ -368,8 +368,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
368
368
  location: { directory: location.directory, workspaceID: location.workspaceID }
369
369
  });
370
370
  });
371
- yield* bus.subscribe([Event17.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
372
- return Service75.of({
371
+ yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
372
+ return Service73.of({
373
373
  transform: state.transform,
374
374
  reload: state.reload,
375
375
  get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -378,7 +378,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
378
378
  snapshot
379
379
  });
380
380
  }));
381
- var node79 = makeLocationNode({ service: Service75, layer, deps: [node87, node80, node83] });
381
+ var node77 = makeLocationNode({ service: Service73, layer, deps: [node87, node78, node84] });
382
382
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
383
383
  const module = yield* Effect.tryPromise({
384
384
  try: () => {
@@ -653,4 +653,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
653
653
  }), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
654
654
  var decode = Schema2.decodeUnknownSync(Legacy);
655
655
 
656
- export { rewrite2, native2, exports_aisdk_native, ID12, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, timeout2, timeouts2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info21, Service75, node79, exports_provider3, Event16 };
656
+ export { rewrite2, native2, exports_aisdk_native, ID12, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, timeout2, timeouts2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info22, Service73, node77, exports_provider3, Event17 };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  AgentNotFoundError2,
3
3
  StepFailedError2
4
- } from "./app-bsprd9wx.js";
4
+ } from "./app-4x7mprc7.js";
5
5
  import {
6
6
  CorrectedError2,
7
7
  BlockedError2
8
- } from "./app-ws6r9wxd.js";
8
+ } from "./app-mzkxtmwj.js";
9
9
  import {
10
10
  AuthorizationError2
11
- } from "./app-5ntmp6zc.js";
11
+ } from "./app-3322t3cd.js";
12
12
  import {
13
13
  VariantUnavailableError2,
14
14
  UnsupportedPackageError2,
@@ -16,11 +16,11 @@ import {
16
16
  ModelInitializationError2,
17
17
  UnresolvedProviderVariablesError2,
18
18
  UnsupportedCompactionError2
19
- } from "./app-jhdanssh.js";
19
+ } from "./app-1fe3twba.js";
20
20
  import {
21
21
  ModelNotSelectedError2,
22
22
  ModelUnavailableError2
23
- } from "./app-h7fgzsk1.js";
23
+ } from "./app-9014prnx.js";
24
24
 
25
25
  // src/session/to-session-error.ts
26
26
  import { AIError, ToolFailure } from "@opencode/ai";
@@ -8,14 +8,14 @@ import {
8
8
  // src/plugin/tool-input-repair.ts
9
9
  var exports_tool_input_repair = {};
10
10
  __export(exports_tool_input_repair, {
11
- Plugin: () => Plugin28,
11
+ Plugin: () => Plugin45,
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 Plugin28 = define({
18
+ var Plugin45 = 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 { Plugin28, exports_tool_input_repair };
123
+ export { Plugin45, exports_tool_input_repair };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./app-qn9g45dx.js";
4
+ } from "./app-5vgy46me.js";
5
5
  import {
6
6
  __export
7
7
  } from "./app-9rqn6x4v.js";
@@ -12,31 +12,31 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event19,
15
+ Event: () => Event20,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
19
  ID: () => ID15,
20
- Info: () => Info25,
20
+ Info: () => Info26,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
23
  NotFoundError: () => NotFoundError10,
24
24
  Reply: () => Reply3,
25
- Service: () => Service78,
25
+ Service: () => Service76,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
28
  layer: () => layer25,
29
- node: () => node82,
29
+ node: () => node80,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event19 } from "@opencode/schema/form";
36
+ import { Event as Event20 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
38
  var ID15 = Form.ID;
39
- var Info25 = Form.Info;
39
+ var Info26 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
@@ -79,9 +79,9 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service78 extends Context.Service()("@opencode/Form") {
82
+ class Service76 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer25 = Layer.effect(Service78, Effect.gen(function* () {
84
+ var layer25 = Layer.effect(Service76, Effect.gen(function* () {
85
85
  const bus = yield* Service83;
86
86
  let closed = false;
87
87
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
@@ -162,9 +162,9 @@ var layer25 = Layer.effect(Service78, Effect.gen(function* () {
162
162
  closed = true;
163
163
  }).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
164
164
  yield* Effect.addFinalizer(() => close);
165
- return Service78.of({ create, ask, get, list, state, reply, cancel, close });
165
+ return Service76.of({ create, ask, get, list, state, reply, cancel, close });
166
166
  }));
167
- var node82 = makeLocationNode({ service: Service78, layer: layer25, deps: [node87] });
167
+ var node80 = makeLocationNode({ service: Service76, layer: layer25, deps: [node87] });
168
168
  function validateAnswer2(form, answer) {
169
169
  const fields = new Map(form.map((field) => [field.key, field]));
170
170
  for (const key of Object.keys(answer)) {
@@ -316,4 +316,4 @@ function isDateTime(value) {
316
316
  return !Number.isNaN(new Date(value).getTime());
317
317
  }
318
318
 
319
- export { ID15, Info25, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service78, layer25, node82, validateAnswer2, validateFields2, exports_form, Event19 };
319
+ export { ID15, Info26, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service76, layer25, node80, validateAnswer2, validateFields2, exports_form, Event20 };
@@ -9,7 +9,7 @@ import {
9
9
  } from "./app-3asan66x.js";
10
10
  import {
11
11
  prepareResponsesTools2
12
- } from "./app-zw4pk1bw.js";
12
+ } from "./app-b7v4cx43.js";
13
13
 
14
14
  // src/github-copilot/responses/openai-responses-language-model.ts
15
15
  import {
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./app-qn9g45dx.js";
4
+ } from "./app-5vgy46me.js";
5
5
  import {
6
- Service27,
7
- node31
8
- } from "./app-10bgj2qs.js";
6
+ Service33,
7
+ node36
8
+ } from "./app-6s2ddzje.js";
9
9
  import {
10
- Service70,
11
- node74
12
- } from "./app-ws6r9wxd.js";
10
+ Service62,
11
+ node65
12
+ } from "./app-mzkxtmwj.js";
13
13
  import {
14
- Service31,
15
- node34
16
- } from "./app-c4ejyagw.js";
14
+ Service41,
15
+ node43
16
+ } from "./app-5p8wf6j7.js";
17
17
  import {
18
18
  __export
19
19
  } from "./app-9rqn6x4v.js";
@@ -22,26 +22,26 @@ import {
22
22
  var exports_mcp3 = {};
23
23
  __export(exports_mcp3, {
24
24
  McpTool: () => exports_mcp3,
25
- Service: () => Service24,
26
- layer: () => layer11,
27
- name: () => name13,
25
+ Service: () => Service32,
26
+ layer: () => layer13,
27
+ name: () => name14,
28
28
  namespace: () => namespace2,
29
- node: () => node27
29
+ node: () => node35
30
30
  });
31
31
  import { ToolFailure } from "@opencode/ai";
32
32
  import { McpEvent } from "@opencode/schema/mcp-event";
33
33
  import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
34
34
  import { makeLocationNode } from "@opencode/util/effect/app-node";
35
35
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
36
- var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
36
+ var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
37
37
 
38
- class Service24 extends Context.Service()("@opencode/McpTool") {
38
+ class Service32 extends Context.Service()("@opencode/McpTool") {
39
39
  }
40
- var layer11 = Layer.effect(Service24, Effect.gen(function* () {
41
- const mcp = yield* Service27;
42
- const tools = yield* Service31;
40
+ var layer13 = Layer.effect(Service32, Effect.gen(function* () {
41
+ const mcp = yield* Service33;
42
+ const tools = yield* Service41;
43
43
  const bus = yield* Service83;
44
- const permission = yield* Service70;
44
+ const permission = yield* Service62;
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  let discovered = [];
47
47
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -56,7 +56,7 @@ var layer11 = Layer.effect(Service24, Effect.gen(function* () {
56
56
  output: tool.outputSchema ?? {},
57
57
  execute: (input, context) => Effect.gen(function* () {
58
58
  yield* permission.assert({
59
- action: name13(tool.server, tool.name),
59
+ action: name14(tool.server, tool.name),
60
60
  resources: ["*"],
61
61
  save: ["*"],
62
62
  metadata: {},
@@ -105,7 +105,7 @@ var layer11 = Layer.effect(Service24, Effect.gen(function* () {
105
105
  output: output(),
106
106
  ...content.length === 0 ? {} : { content }
107
107
  };
108
- }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
108
+ }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
109
109
  });
110
110
  }
111
111
  });
@@ -118,12 +118,12 @@ var layer11 = Layer.effect(Service24, Effect.gen(function* () {
118
118
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
119
119
  const updates = yield* PubSub.subscribe(changes);
120
120
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
121
- return Service24.of({ flush: Effect.asVoid(Fiber.await(initial)) });
121
+ return Service32.of({ flush: Effect.asVoid(Fiber.await(initial)) });
122
122
  }));
123
- var node27 = makeLocationNode({
124
- service: Service24,
125
- layer: layer11,
126
- deps: [node34, node31, node87, node74]
123
+ var node35 = makeLocationNode({
124
+ service: Service32,
125
+ layer: layer13,
126
+ deps: [node43, node36, node87, node65]
127
127
  });
128
128
 
129
- export { namespace2, name13, Service24, layer11, node27, exports_mcp3 };
129
+ export { namespace2, name14, Service32, layer13, node35, exports_mcp3 };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  latest2,
3
- Service58
4
- } from "./app-p944wxep.js";
3
+ Service68
4
+ } from "./app-68yqgpv3.js";
5
5
  import {
6
- Service57
7
- } from "./app-f59ep6tb.js";
6
+ Service79
7
+ } from "./app-6qtegkg3.js";
8
8
  import {
9
9
  observe2
10
10
  } from "./app-qsdy395h.js";
@@ -16,15 +16,15 @@ import {
16
16
  var exports_tool_output = {};
17
17
  __export(exports_tool_output, {
18
18
  ConfigToolOutputPlugin: () => exports_tool_output,
19
- Plugin: () => Plugin43
19
+ Plugin: () => Plugin22
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin43 = define({
23
+ var Plugin22 = define({
24
24
  id: "opencode.config.tool-output",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service58;
27
- const output = yield* Service57;
26
+ const config = yield* Service68;
27
+ const output = yield* Service79;
28
28
  const loaded = yield* observe2(config, ctx.event, output.reload());
29
29
  yield* output.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "tool_output");
@@ -38,4 +38,4 @@ var Plugin43 = define({
38
38
  })
39
39
  });
40
40
 
41
- export { Plugin43, exports_tool_output };
41
+ export { Plugin22, exports_tool_output };
@@ -1,15 +1,15 @@
1
1
  import {
2
- Service48
3
- } from "./app-tcay1cqt.js";
2
+ Service38
3
+ } from "./app-p7a39gy5.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./app-ht5y0zrb.js";
6
+ } from "./app-4v7qdvcn.js";
7
7
  import {
8
8
  SkillNotFoundError2
9
- } from "./app-bsprd9wx.js";
9
+ } from "./app-4x7mprc7.js";
10
10
  import {
11
- Service34
12
- } from "./app-b7zw3vx0.js";
11
+ Service61
12
+ } from "./app-m8n8f8f1.js";
13
13
  import {
14
14
  __export
15
15
  } from "./app-9rqn6x4v.js";
@@ -22,8 +22,8 @@ __export(exports_skill4, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var get4 = Effect.fn("SessionSkill.get")(function* (input) {
25
- const instances = yield* Service48;
26
- const skills = yield* awaitActivation2.pipe(Effect.andThen(Service34), instances.provide(input.session));
25
+ const instances = yield* Service38;
26
+ const skills = yield* awaitActivation2.pipe(Effect.andThen(Service61), instances.provide(input.session));
27
27
  const skill = yield* skills.get(input.skill);
28
28
  if (!skill)
29
29
  return yield* new SkillNotFoundError2({ skill: input.skill });
@@ -4,7 +4,7 @@ import {
4
4
  } from "./app-emrn6kk6.js";
5
5
  import {
6
6
  SQLiteEffectDatabase2
7
- } from "./app-85gpctef.js";
7
+ } from "./app-d9yqcqn2.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/session.ts
10
10
  import * as Cause from "effect/Cause";
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  render2,
3
- update2,
3
+ update3,
4
4
  make14,
5
- exports_instructions5
6
- } from "../chunks/app-ccv5fkkn.js";
5
+ exports_instructions2
6
+ } from "../chunks/app-rjq8wmvv.js";
7
7
  import"../chunks/app-3fc6dm20.js";
8
- import"../chunks/app-9t7a50xb.js";
8
+ import"../chunks/app-s8d7rejh.js";
9
9
  export {
10
- exports_instructions5 as CodeModeInstructions,
10
+ exports_instructions2 as CodeModeInstructions,
11
11
  make14 as make,
12
12
  render2 as render,
13
- update2 as update
13
+ update3 as update
14
14
  };
package/dist/command.js CHANGED
@@ -1,90 +1,90 @@
1
1
  import {
2
- Info7,
3
- NotFoundError5,
2
+ Info8,
3
+ NotFoundError6,
4
4
  ExecutionError2,
5
- Service37,
6
- layer17,
7
- node40,
5
+ Service48,
6
+ layer20,
7
+ node50,
8
8
  exports_command4,
9
- Event7
10
- } from "./chunks/app-4tp5hkr9.js";
11
- import"./chunks/app-qn9g45dx.js";
9
+ Event8
10
+ } from "./chunks/app-04e56h6g.js";
11
+ import"./chunks/app-rdw6cm16.js";
12
+ import"./chunks/app-5vgy46me.js";
12
13
  import"./chunks/app-2710q6r3.js";
13
14
  import"./chunks/app-dpkg50ah.js";
14
- import"./chunks/app-rdw6cm16.js";
15
- import"./chunks/app-c4e8pskq.js";
16
- import"./chunks/app-vd3r3z5p.js";
15
+ import"./chunks/app-ep2tbpq0.js";
16
+ import"./chunks/app-3p3qdx74.js";
17
17
  import"./chunks/app-34c7v6d4.js";
18
- import"./chunks/app-ynmespmv.js";
19
- import"./chunks/app-ygaqb7jw.js";
18
+ import"./chunks/app-jtgyfgpv.js";
19
+ import"./chunks/app-1cnp2v09.js";
20
+ import"./chunks/app-9a4afbnw.js";
21
+ import"./chunks/app-njntx4h6.js";
22
+ import"./chunks/app-17cy0kzp.js";
23
+ import"./chunks/app-jwfs4k6c.js";
24
+ import"./chunks/app-sdp7kfr6.js";
25
+ import"./chunks/app-8wj87zfr.js";
26
+ import"./chunks/app-wer8tq1h.js";
27
+ import"./chunks/app-359p4xyc.js";
28
+ import"./chunks/app-e5kj55wp.js";
29
+ import"./chunks/app-w803qqfp.js";
30
+ import"./chunks/app-g86h250q.js";
20
31
  import"./chunks/app-z9919s4g.js";
21
- import"./chunks/app-msx8hqn2.js";
32
+ import"./chunks/app-hk9envan.js";
33
+ import"./chunks/app-aqzs7mqg.js";
34
+ import"./chunks/app-wtztk69x.js";
35
+ import"./chunks/app-d9jj8t3e.js";
36
+ import"./chunks/app-y8f7s663.js";
37
+ import"./chunks/app-53557ph1.js";
22
38
  import"./chunks/app-n3j8tn72.js";
39
+ import"./chunks/app-rcb2kzg1.js";
40
+ import"./chunks/app-qrg20bc0.js";
41
+ import"./chunks/app-ssg3fenm.js";
42
+ import"./chunks/app-mp448xyj.js";
43
+ import"./chunks/app-jr7sbwjy.js";
44
+ import"./chunks/app-n05xt0ee.js";
23
45
  import"./chunks/app-7m9af43g.js";
46
+ import"./chunks/app-f6n9ztr4.js";
24
47
  import"./chunks/app-jzg6c2d5.js";
25
- import"./chunks/app-rcb2kzg1.js";
26
- import"./chunks/app-d9fn303g.js";
27
- import"./chunks/app-g86h250q.js";
28
- import"./chunks/app-q3sfg36h.js";
29
- import"./chunks/app-y8f7s663.js";
30
- import"./chunks/app-qb87gjwd.js";
31
- import"./chunks/app-4knz6hnm.js";
32
- import"./chunks/app-8n3pysct.js";
33
- import"./chunks/app-j2ntwpah.js";
34
- import"./chunks/app-wer8tq1h.js";
35
- import"./chunks/app-1cnp2v09.js";
36
- import"./chunks/app-bmr6ed5q.js";
37
48
  import"./chunks/app-df08tz66.js";
38
- import"./chunks/app-bkyjaxrp.js";
39
- import"./chunks/app-53557ph1.js";
40
- import"./chunks/app-e5kj55wp.js";
41
- import"./chunks/app-2c3vjs8z.js";
42
- import"./chunks/app-jwfs4k6c.js";
43
- import"./chunks/app-9a4afbnw.js";
44
- import"./chunks/app-43n2bw4t.js";
45
- import"./chunks/app-wtztk69x.js";
46
49
  import"./chunks/app-atq7p7m5.js";
47
- import"./chunks/app-f6n9ztr4.js";
50
+ import"./chunks/app-8n3pysct.js";
51
+ import"./chunks/app-bkyjaxrp.js";
52
+ import"./chunks/app-msx8hqn2.js";
48
53
  import"./chunks/app-q74kybfr.js";
49
- import"./chunks/app-qrg20bc0.js";
50
- import"./chunks/app-17cy0kzp.js";
51
- import"./chunks/app-359p4xyc.js";
52
- import"./chunks/app-7akdwqpd.js";
53
- import"./chunks/app-cvy3z8tj.js";
54
+ import"./chunks/app-qb87gjwd.js";
54
55
  import"./chunks/app-a6k6eb26.js";
55
- import"./chunks/app-8wj87zfr.js";
56
- import"./chunks/app-jr7sbwjy.js";
57
- import"./chunks/app-mp448xyj.js";
58
- import"./chunks/app-hk9envan.js";
59
- import"./chunks/app-ssg3fenm.js";
60
- import"./chunks/app-n05xt0ee.js";
61
- import"./chunks/app-sdp7kfr6.js";
62
- import"./chunks/app-d9jj8t3e.js";
63
- import"./chunks/app-w803qqfp.js";
56
+ import"./chunks/app-43n2bw4t.js";
57
+ import"./chunks/app-d9fn303g.js";
58
+ import"./chunks/app-cvy3z8tj.js";
59
+ import"./chunks/app-2c3vjs8z.js";
60
+ import"./chunks/app-bmr6ed5q.js";
64
61
  import"./chunks/app-fd410y7t.js";
65
- import"./chunks/app-aqzs7mqg.js";
66
- import"./chunks/app-njntx4h6.js";
62
+ import"./chunks/app-j2ntwpah.js";
63
+ import"./chunks/app-4knz6hnm.js";
64
+ import"./chunks/app-7akdwqpd.js";
65
+ import"./chunks/app-ygaqb7jw.js";
66
+ import"./chunks/app-q3sfg36h.js";
67
67
  import"./chunks/app-0zkw76rk.js";
68
- import"./chunks/app-h7v41q2b.js";
69
- import"./chunks/app-fgawfjx8.js";
70
- import"./chunks/app-rehtxfbe.js";
71
- import"./chunks/app-5ms2rpmc.js";
72
- import"./chunks/app-85gpctef.js";
68
+ import"./chunks/app-9whkbvte.js";
69
+ import"./chunks/app-pybq8189.js";
70
+ import"./chunks/app-xa67z4h8.js";
71
+ import"./chunks/app-zy98sty6.js";
72
+ import"./chunks/app-d9yqcqn2.js";
73
73
  import"./chunks/app-w3wsvvr9.js";
74
- import"./chunks/app-m9w0rfyh.js";
75
- import"./chunks/app-822emrt2.js";
76
- import"./chunks/app-cf4snx6d.js";
77
- import"./chunks/app-7bmhse3q.js";
78
74
  import"./chunks/app-f0mxakyp.js";
75
+ import"./chunks/app-7bmhse3q.js";
76
+ import"./chunks/app-cf4snx6d.js";
77
+ import"./chunks/app-m9w0rfyh.js";
79
78
  import"./chunks/app-wd87259q.js";
80
79
  import"./chunks/app-emrn6kk6.js";
80
+ import"./chunks/app-822emrt2.js";
81
81
  export {
82
82
  exports_command4 as Command,
83
- Event7 as Event,
83
+ Event8 as Event,
84
84
  ExecutionError2 as ExecutionError,
85
- Info7 as Info,
86
- NotFoundError5 as NotFoundError,
87
- Service37 as Service,
88
- layer17 as layer,
89
- node40 as node
85
+ Info8 as Info,
86
+ NotFoundError6 as NotFoundError,
87
+ Service48 as Service,
88
+ layer20 as layer,
89
+ node50 as node
90
90
  };