@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,9 +1,9 @@
1
1
  import {
2
2
  useragent2
3
- } from "./app-01b47qtp.js";
3
+ } from "./app-4b3qsvz5.js";
4
4
  import {
5
5
  call2
6
- } from "./app-33w4ejhs.js";
6
+ } from "./app-56gdpj1q.js";
7
7
  import {
8
8
  __export
9
9
  } from "./app-9rqn6x4v.js";
@@ -11,14 +11,14 @@ import {
11
11
  // src/plugin/websearch/tinyfish.ts
12
12
  var exports_tinyfish = {};
13
13
  __export(exports_tinyfish, {
14
- Plugin: () => Plugin20,
14
+ Plugin: () => Plugin37,
15
15
  WebSearchTinyFish: () => exports_tinyfish,
16
- endpoint: () => endpoint3
16
+ endpoint: () => endpoint4
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Option, Schema } from "effect";
20
20
  import { HttpClient } from "effect/unstable/http";
21
- var endpoint3 = "https://agent.tinyfish.ai/mcp";
21
+ var endpoint4 = "https://agent.tinyfish.ai/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  query: Schema.String
24
24
  });
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
33
33
  }))
34
34
  }));
35
35
  var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
36
- var Plugin20 = define({
36
+ var Plugin37 = define({
37
37
  id: "opencode.websearch.tinyfish",
38
38
  effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
39
39
  const http = yield* HttpClient.HttpClient;
@@ -55,7 +55,7 @@ var Plugin20 = define({
55
55
  execute: (input) => Effect.gen(function* () {
56
56
  const connection = yield* ctx.integration.connection.active("tinyfish");
57
57
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
58
- const result = yield* call2(http, endpoint3, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
58
+ const result = yield* call2(http, endpoint4, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
59
59
  "User-Agent": useragent2(ctx.app),
60
60
  ...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
61
61
  });
@@ -73,4 +73,4 @@ var Plugin20 = define({
73
73
  })
74
74
  });
75
75
 
76
- export { endpoint3, Plugin20, exports_tinyfish };
76
+ export { endpoint4, Plugin37, exports_tinyfish };
@@ -1,19 +1,19 @@
1
1
  import {
2
- ID18
3
- } from "./app-bz46fwta.js";
2
+ ID9
3
+ } from "./app-m1mccnkp.js";
4
4
  import {
5
5
  AbsolutePath2
6
6
  } from "./app-z5v4ffb3.js";
7
7
  import {
8
- Info12
9
- } from "./app-3zbwexce.js";
8
+ Info17
9
+ } from "./app-6h1ernme.js";
10
10
  import {
11
11
  migrateAgent2
12
- } from "./app-6r04yh88.js";
12
+ } from "./app-2h8kq5g8.js";
13
13
  import {
14
14
  latest2,
15
- Service58
16
- } from "./app-p944wxep.js";
15
+ Service68
16
+ } from "./app-68yqgpv3.js";
17
17
  import {
18
18
  parseOption2
19
19
  } from "./app-5daktx2q.js";
@@ -22,10 +22,10 @@ import {
22
22
  } from "./app-9rqn6x4v.js";
23
23
 
24
24
  // src/config/plugin/agent.ts
25
- var exports_agent2 = {};
26
- __export(exports_agent2, {
27
- ConfigAgentPlugin: () => exports_agent2,
28
- Plugin: () => Plugin44
25
+ var exports_agent = {};
26
+ __export(exports_agent, {
27
+ ConfigAgentPlugin: () => exports_agent,
28
+ Plugin: () => Plugin20
29
29
  });
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { Document, Info } from "@opencode/schema/config";
@@ -40,14 +40,14 @@ var legacySources = [
40
40
  ];
41
41
  var sourceDirectories = ["agent", "agents", "mode", "modes"];
42
42
  var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
43
- var decodeLegacyAgent = Schema.decodeUnknownOption(Info12);
43
+ var decodeLegacyAgent = Schema.decodeUnknownOption(Info17);
44
44
  var decodeConfig = Schema.decodeUnknownOption(Info);
45
45
  var pathActions = ["external_directory", "read", "edit"];
46
46
  var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
47
- var Plugin44 = define({
47
+ var Plugin20 = define({
48
48
  id: "opencode.config.agent",
49
49
  effect: Effect.fn(function* (ctx) {
50
- const config = yield* Service58;
50
+ const config = yield* Service68;
51
51
  const fs = yield* FSUtil.Service;
52
52
  const global = yield* Global.Service;
53
53
  const loadEntry = Effect.fnUntraced(function* (entry) {
@@ -76,13 +76,13 @@ var Plugin44 = define({
76
76
  const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
77
77
  const configuredDefault = latest2(loaded.documents, "default_agent");
78
78
  if (configuredDefault !== undefined)
79
- editor.default(ID18.make(configuredDefault));
79
+ editor.default(ID9.make(configuredDefault));
80
80
  for (const current of editor.list()) {
81
81
  editor.update(current.id, (agent) => agent.permissions.push(...permissions));
82
82
  }
83
83
  for (const document of loaded.documents) {
84
84
  for (const [id, item] of Object.entries(document.info.agents ?? {})) {
85
- const agentID = ID18.make(id);
85
+ const agentID = ID9.make(id);
86
86
  if (item.disabled) {
87
87
  editor.remove(agentID);
88
88
  continue;
@@ -161,4 +161,4 @@ function decode(file, content) {
161
161
  return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
162
162
  }
163
163
 
164
- export { Plugin44, exports_agent2 };
164
+ export { Plugin20, exports_agent };
@@ -1,34 +1,34 @@
1
1
  import {
2
- ID18,
3
- Service82
4
- } from "./app-bz46fwta.js";
2
+ ID9,
3
+ Service65
4
+ } from "./app-m1mccnkp.js";
5
5
  import {
6
6
  Ref2,
7
- Service63
8
- } from "./app-r2ens31f.js";
7
+ Service72
8
+ } from "./app-29fgs7mf.js";
9
9
  import {
10
10
  latest2,
11
- Service58
12
- } from "./app-p944wxep.js";
11
+ Service68
12
+ } from "./app-68yqgpv3.js";
13
13
  import {
14
14
  SessionSchema2
15
- } from "./app-vx3jgdek.js";
15
+ } from "./app-qsee9sfb.js";
16
16
  import {
17
- Service54
18
- } from "./app-hrtswde4.js";
17
+ Service40
18
+ } from "./app-vcx4y3fv.js";
19
19
  import {
20
20
  evaluate2,
21
- Service70
22
- } from "./app-ws6r9wxd.js";
21
+ Service62
22
+ } from "./app-mzkxtmwj.js";
23
23
  import {
24
- Service18
25
- } from "./app-k0j6xj92.js";
24
+ Service22
25
+ } from "./app-k7y9nwy7.js";
26
26
  import {
27
27
  NO_TEXT2
28
28
  } from "./app-6xb47vfp.js";
29
29
  import {
30
- make10
31
- } from "./app-x4dkc3v3.js";
30
+ make5
31
+ } from "./app-ar6cqpvd.js";
32
32
  import {
33
33
  __export
34
34
  } from "./app-9rqn6x4v.js";
@@ -36,16 +36,16 @@ import {
36
36
  // src/tool/plugin/subagent.ts
37
37
  var exports_subagent = {};
38
38
  __export(exports_subagent, {
39
- Input: () => Input9,
40
- Output: () => Output6,
41
- Plugin: () => Plugin10,
39
+ Input: () => Input5,
40
+ Output: () => Output5,
41
+ Plugin: () => Plugin6,
42
42
  SubagentTool: () => exports_subagent,
43
- description: () => description4,
44
- name: () => name9
43
+ description: () => description2,
44
+ name: () => name5
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai";
47
47
  import { Effect, Predicate, Schema } from "effect";
48
- var name9 = "subagent";
48
+ var name5 = "subagent";
49
49
  var backgroundResult = (sessionID) => ({
50
50
  sessionID,
51
51
  status: "running",
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
56
56
  ].join(`
57
57
  `)
58
58
  });
59
- var Input9 = Schema.Struct({
59
+ var Input5 = Schema.Struct({
60
60
  agent: Schema.String.annotate({
61
61
  description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
62
62
  }),
@@ -72,12 +72,12 @@ var Input9 = Schema.Struct({
72
72
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
73
73
  })
74
74
  });
75
- var Output6 = Schema.Struct({
75
+ var Output5 = Schema.Struct({
76
76
  sessionID: SessionSchema2.ID,
77
77
  status: Schema.Literals(["completed", "running"]),
78
78
  output: Schema.String
79
79
  });
80
- var description4 = [
80
+ var description2 = [
81
81
  "Spawns an agent in a child session to work on the specified task.",
82
82
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
83
83
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -86,16 +86,16 @@ var description4 = [
86
86
  "Use background only for independent work that can run while you continue elsewhere."
87
87
  ].join(`
88
88
  `);
89
- var Plugin10 = {
89
+ var Plugin6 = {
90
90
  id: "opencode.tool.subagent",
91
91
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
92
- const sessions = yield* Service18;
93
- const jobs = yield* Service54;
94
- const agents = yield* Service82;
95
- const config = yield* Service58;
96
- const permission = yield* Service70;
97
- const models = yield* Service63;
98
- const subagents = yield* make10;
92
+ const sessions = yield* Service22;
93
+ const jobs = yield* Service40;
94
+ const agents = yield* Service65;
95
+ const config = yield* Service68;
96
+ const permission = yield* Service62;
97
+ const models = yield* Service72;
98
+ const subagents = yield* make5;
99
99
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
100
100
  const ref = yield* Effect.try({
101
101
  try: () => Ref2.parse(input),
@@ -115,11 +115,11 @@ var Plugin10 = {
115
115
  return ref;
116
116
  });
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name9,
118
+ name: name5,
119
119
  options: { codemode: false },
120
- description: description4,
121
- input: Input9,
122
- output: Output6,
120
+ description: description2,
121
+ input: Input5,
122
+ output: Output5,
123
123
  execute: (input, context) => Effect.gen(function* () {
124
124
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
125
125
  let current = parent;
@@ -139,7 +139,7 @@ var Plugin10 = {
139
139
  if (agent.mode === "primary")
140
140
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
141
141
  yield* permission.assert({
142
- action: name9,
142
+ action: name5,
143
143
  resources: [agent.id],
144
144
  save: [agent.id],
145
145
  sessionID: context.sessionID,
@@ -168,7 +168,7 @@ var Plugin10 = {
168
168
  const child = existing ?? (yield* sessions.create({
169
169
  parentID: context.sessionID,
170
170
  title: input.description,
171
- agent: ID18.make(input.agent),
171
+ agent: ID9.make(input.agent),
172
172
  model
173
173
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
174
174
  const background = input.background === true;
@@ -218,7 +218,7 @@ ${output.output}
218
218
  })))
219
219
  })).pipe(Effect.orDie);
220
220
  yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
221
- if (event.tool !== name9 || !Predicate.isObject(event.input))
221
+ if (event.tool !== name5 || !Predicate.isObject(event.input))
222
222
  return;
223
223
  if (event.input.model !== "" && event.input.sessionID !== "")
224
224
  return;
@@ -230,13 +230,13 @@ ${output.output}
230
230
  event.input = input;
231
231
  }));
232
232
  const hook = (event) => Effect.gen(function* () {
233
- const tool = event.tools[name9];
233
+ const tool = event.tools[name5];
234
234
  if (!tool)
235
235
  return;
236
236
  const selected = yield* agents.resolve(event.agent);
237
237
  if (!selected)
238
238
  return;
239
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name9, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
239
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name5, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
240
240
  if (available.length === 0)
241
241
  return;
242
242
  tool.description = [
@@ -253,4 +253,4 @@ ${output.output}
253
253
  })
254
254
  };
255
255
 
256
- export { name9, Input9, Output6, description4, Plugin10, exports_subagent };
256
+ export { name5, Input5, Output5, description2, Plugin6, exports_subagent };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ID12
3
- } from "./app-1kr92pjq.js";
3
+ } from "./app-y77syfze.js";
4
4
  import {
5
5
  configuredSettings2
6
- } from "./app-jb7afjsg.js";
6
+ } from "./app-ws2cps2z.js";
7
7
 
8
8
  // src/plugin/provider/cloudflare-ai-gateway.ts
9
9
  import { Effect } from "effect";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./app-c4e8pskq.js";
4
+ } from "./app-ep2tbpq0.js";
5
5
  import {
6
6
  Key3,
7
7
  removed2,
8
- make22,
8
+ make21,
9
9
  combine2
10
- } from "./app-9t7a50xb.js";
10
+ } from "./app-s8d7rejh.js";
11
11
  import {
12
12
  InstructionEntryTable2
13
13
  } from "./app-kb9j3d72.js";
@@ -18,15 +18,15 @@ import {
18
18
  // src/session/instruction-entry.ts
19
19
  var exports_instruction_entry = {};
20
20
  __export(exports_instruction_entry, {
21
- Info: () => Info3,
21
+ Info: () => Info5,
22
22
  InstructionEntry: () => exports_instruction_entry,
23
23
  Key: () => Key2,
24
24
  MaxValueBytes: () => MaxValueBytes2,
25
- Service: () => Service26,
25
+ Service: () => Service27,
26
26
  Snapshot: () => Snapshot2,
27
27
  ValueTooLargeError: () => ValueTooLargeError2,
28
28
  initialize: () => initialize2,
29
- node: () => node30,
29
+ node: () => node31,
30
30
  snapshot: () => snapshot2
31
31
  });
32
32
  import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
34
34
  import { InstructionEntry } from "@opencode/schema/instruction-entry";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  var Key2 = InstructionEntry.Key;
37
- var Info3 = InstructionEntry.Info;
37
+ var Info5 = InstructionEntry.Info;
38
38
  var Snapshot2 = InstructionEntry.Snapshot;
39
39
  var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
40
40
  var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
56
56
  }))).run().pipe(Effect.orDie), { discard: true });
57
57
  });
58
58
 
59
- class Service26 extends Context.Service()("@opencode/InstructionEntry") {
59
+ class Service27 extends Context.Service()("@opencode/InstructionEntry") {
60
60
  }
61
61
  var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
62
62
  var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
63
63
  `);
64
- var source = (entry) => make22({
64
+ var source = (entry) => make21({
65
65
  key: Key3.make(`api/${entry.key}`),
66
66
  codec: Schema.toCodecJson(Schema.Json),
67
67
  read: Effect.succeed(entry.removed ? removed2 : entry.value),
@@ -75,7 +75,7 @@ var source = (entry) => make22({
75
75
  removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
76
76
  }
77
77
  });
78
- var layer = Layer.effect(Service26, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service27, Effect.gen(function* () {
79
79
  const { db } = yield* Service84;
80
80
  const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
81
81
  return yield* db.select({
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
108
108
  const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
109
109
  return combine2((yield* rows(sessionID, true)).map(source));
110
110
  });
111
- return Service26.of({ list, put, remove, load });
111
+ return Service27.of({ list, put, remove, load });
112
112
  }));
113
- var node30 = makeLocationNode({ service: Service26, layer, deps: [node88] });
113
+ var node31 = makeLocationNode({ service: Service27, layer, deps: [node88] });
114
114
 
115
- export { Key2, Info3, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service26, node30, exports_instruction_entry };
115
+ export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service27, node31, exports_instruction_entry };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  Service84
3
- } from "./app-c4e8pskq.js";
3
+ } from "./app-ep2tbpq0.js";
4
4
  import {
5
5
  Service83
6
- } from "./app-qn9g45dx.js";
6
+ } from "./app-5vgy46me.js";
7
7
  import {
8
- Service48
9
- } from "./app-tcay1cqt.js";
8
+ Service38
9
+ } from "./app-p7a39gy5.js";
10
10
  import {
11
11
  userNotification2
12
12
  } from "./app-vzs5sf6e.js";
@@ -20,35 +20,35 @@ import {
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./app-bsprd9wx.js";
23
+ } from "./app-4x7mprc7.js";
24
24
  import {
25
25
  SessionEvent2
26
26
  } from "./app-ec1grn59.js";
27
27
  import {
28
- Service72
29
- } from "./app-9a3kc0hm.js";
28
+ Service64
29
+ } from "./app-nd6t1tpn.js";
30
30
  import {
31
31
  Delivery2,
32
32
  SyntheticPayload2,
33
- Service47
34
- } from "./app-77237k3k.js";
33
+ Service36
34
+ } from "./app-x1e01gbv.js";
35
35
  import {
36
- Service45
37
- } from "./app-2e853yyk.js";
36
+ Service34
37
+ } from "./app-rftk81m0.js";
38
38
  import {
39
39
  prepare2
40
- } from "./app-b2ckxg46.js";
40
+ } from "./app-4dhf6qr5.js";
41
41
  import {
42
42
  stage2,
43
43
  clear2,
44
44
  commit2
45
- } from "./app-92pqdpde.js";
45
+ } from "./app-b0cc5wa1.js";
46
46
  import {
47
47
  start2
48
- } from "./app-gcabepm0.js";
48
+ } from "./app-t6jtyfth.js";
49
49
  import {
50
50
  get4
51
- } from "./app-0xw58msr.js";
51
+ } from "./app-zqapp3sx.js";
52
52
  import {
53
53
  __export
54
54
  } from "./app-9rqn6x4v.js";
@@ -65,10 +65,10 @@ import { FSUtil } from "@opencode/util/fs-util";
65
65
  var make13 = Effect.fn("Session.make")(function* () {
66
66
  const bus = yield* Service83;
67
67
  const database = yield* Service84;
68
- const store = yield* Service72;
69
- const instances = yield* Service48;
70
- const execution = yield* Service45;
71
- const admission = yield* Service47;
68
+ const store = yield* Service64;
69
+ const instances = yield* Service38;
70
+ const execution = yield* Service34;
71
+ const admission = yield* Service36;
72
72
  const fs = yield* FSUtil.Service;
73
73
  const scope = yield* Scope.Scope;
74
74
  const get = Effect.fn("Session.get")(function* (sessionID) {
@@ -135,7 +135,7 @@ var make13 = Effect.fn("Session.make")(function* () {
135
135
  });
136
136
  if (existing)
137
137
  return existing;
138
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service48, instances), Effect.provideService(FSUtil.Service, fs)));
138
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service38, instances), Effect.provideService(FSUtil.Service, fs)));
139
139
  if (session.revert)
140
140
  yield* commit2(bus, session);
141
141
  return yield* admission.admit({
@@ -151,7 +151,7 @@ var make13 = Effect.fn("Session.make")(function* () {
151
151
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
152
152
  const session = yield* get(sessionID);
153
153
  const running = yield* Effect.gen(function* () {
154
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service48, instances), Effect.tapError((error) => synthetic(sessionID, {
154
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service38, instances), Effect.tapError((error) => synthetic(sessionID, {
155
155
  text: `User shell command failed to start:
156
156
  ${input.command}
157
157
 
@@ -180,7 +180,7 @@ ${error.message}`,
180
180
  });
181
181
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
182
182
  const session = yield* get(sessionID);
183
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service48, instances));
183
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service38, instances));
184
184
  yield* bus.publish(SessionEvent2.Skill.Activated, {
185
185
  sessionID,
186
186
  id: skill.id,
@@ -237,13 +237,13 @@ ${error.message}`,
237
237
  const session = yield* get(sessionID);
238
238
  if (yield* execution.isActive(sessionID))
239
239
  return yield* new BusyError2({ sessionID });
240
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service48, instances), Effect.provideService(Service84, database), Effect.provideService(Service83, bus));
240
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service38, instances), Effect.provideService(Service84, database), Effect.provideService(Service83, bus));
241
241
  });
242
242
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
243
243
  const session = yield* get(sessionID);
244
244
  if (yield* execution.isActive(sessionID))
245
245
  return yield* new BusyError2({ sessionID });
246
- yield* clear2(session).pipe(Effect.provideService(Service48, instances), Effect.provideService(Service83, bus));
246
+ yield* clear2(session).pipe(Effect.provideService(Service38, instances), Effect.provideService(Service83, bus));
247
247
  return yield* execution.wake(sessionID);
248
248
  });
249
249
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -1,15 +1,15 @@
1
1
  import {
2
- Service79
3
- } from "./app-t9bwbksh.js";
2
+ Service80
3
+ } from "./app-fh6mwhcg.js";
4
4
  import {
5
- Service58
6
- } from "./app-p944wxep.js";
5
+ Service68
6
+ } from "./app-68yqgpv3.js";
7
7
  import {
8
- Service16
9
- } from "./app-mterk9bb.js";
8
+ Service18
9
+ } from "./app-w22hqb2b.js";
10
10
  import {
11
- make11
12
- } from "./app-a1gpj94z.js";
11
+ make4
12
+ } from "./app-mvfsc1pv.js";
13
13
  import {
14
14
  observe2
15
15
  } from "./app-qsdy395h.js";
@@ -21,7 +21,7 @@ import {
21
21
  var exports_formatter = {};
22
22
  __export(exports_formatter, {
23
23
  ConfigFormatterPlugin: () => exports_formatter,
24
- Plugin: () => Plugin31
24
+ Plugin: () => Plugin19
25
25
  });
26
26
  import { define } from "@opencode/plugin/effect/plugin";
27
27
  import { FSUtil } from "@opencode/util/fs-util";
@@ -29,14 +29,14 @@ import { Global } from "@opencode/util/global";
29
29
  import { Npm } from "@opencode/util/npm";
30
30
  import { AppProcess } from "@opencode/util/process";
31
31
  import { Effect } from "effect";
32
- var Plugin31 = define({
32
+ var Plugin19 = define({
33
33
  id: "opencode.config.formatter",
34
34
  effect: Effect.fn(function* (ctx) {
35
- const config = yield* Service58;
36
- const formatter = yield* Service16;
35
+ const config = yield* Service68;
36
+ const formatter = yield* Service18;
37
37
  const fs = yield* FSUtil.Service;
38
38
  const global = yield* Global.Service;
39
- const location = yield* Service79;
39
+ const location = yield* Service80;
40
40
  const npm = yield* Npm.Service;
41
41
  const processes = yield* AppProcess.Service;
42
42
  const loaded = yield* observe2(config, ctx.event, formatter.reload());
@@ -44,7 +44,7 @@ var Plugin31 = define({
44
44
  const configured = resolve(loaded.entries);
45
45
  if (!configured)
46
46
  return;
47
- const builtIns = make11({
47
+ const builtIns = make4({
48
48
  directory: location.directory,
49
49
  worktree: location.project.directory,
50
50
  fs,
@@ -85,4 +85,4 @@ function resolve(entries) {
85
85
  }, undefined);
86
86
  }
87
87
 
88
- export { Plugin31, exports_formatter };
88
+ export { Plugin19, exports_formatter };
@@ -1,12 +1,12 @@
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
- Service55
9
- } from "./app-nj11v1kf.js";
8
+ Service54
9
+ } from "./app-bzg3gwdp.js";
10
10
  import {
11
11
  unavailable2
12
12
  } from "./app-vzs5sf6e.js";
@@ -22,8 +22,8 @@ __export(exports_shell3, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var start2 = Effect.fn("SessionShell.start")(function* (input) {
25
- const instances = yield* Service48;
26
- const shell = yield* awaitActivation2.pipe(Effect.andThen(Service55), instances.provide(input.session));
25
+ const instances = yield* Service38;
26
+ const shell = yield* awaitActivation2.pipe(Effect.andThen(Service54), instances.provide(input.session));
27
27
  const info = yield* shell.create({
28
28
  command: input.command,
29
29
  cwd: input.session.location.directory,
@@ -6,7 +6,7 @@ import {
6
6
  var exports_identity = {};
7
7
  __export(exports_identity, {
8
8
  IdentityPlugin: () => exports_identity,
9
- Plugin: () => Plugin29,
9
+ Plugin: () => Plugin42,
10
10
  identity: () => identity2
11
11
  });
12
12
  import { SystemPart } from "@opencode/ai";
@@ -22,7 +22,7 @@ function identity2(model) {
22
22
  ].join(`
23
23
  `);
24
24
  }
25
- var Plugin29 = define({
25
+ var Plugin42 = define({
26
26
  id: "opencode.prompt.identity",
27
27
  effect: Effect.fn("IdentityPlugin")(function* (ctx) {
28
28
  const hook = (event) => Effect.gen(function* () {
@@ -35,4 +35,4 @@ var Plugin29 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { identity2, Plugin29, exports_identity };
38
+ export { identity2, Plugin42, exports_identity };